]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
I just noticed that createLyXTmpDir wouldn't compile under OS/2.
[lyx.git] / src / ChangeLog
1 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * converter.[Ch] (convert): take a new parameter try_default. Use
4         a default converter (imagemagick) if try_default is true.
5
6 2005-01-13  Angus Leeming  <leeming@lyx.org>
7
8         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
9         os::cygwin_path_fix.
10         (write): output LyXRC::cygwin_path_fix as necessary.
11
12 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
13
14         * lyxrc.h:
15         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
16
17 2005-01-12  Angus Leeming  <leeming@lyx.org>
18
19         * lyx_main.C (init): set the PATH variable to include the
20         directory containing the LyX binary when running on Mac or Windows.
21
22 2005-01-12  Angus Leeming  <leeming@lyx.org>
23
24         * lyx_main.C (init): remove cruft that purports to set the locale
25         dir. It doesn't and is not needed anyway.
26
27 2005-01-10  Angus Leeming  <leeming@lyx.org>
28
29         * Makefile.am: remove the lyx_main.C special casing.
30
31         * BufferView_pimpl.C:
32         * bufferlist.C:
33         * exporter.C:
34         * lyx_cb.C:
35         * lyx_main.C:
36         * lyxfunc.C:
37         * messages.C: use support/package.h to provide the paths to the
38         various directories used by LyX.
39
40 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
41
42         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
43         layout if pasting into an empty paragraph)
44
45 2005-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
46
47         * tex-accent.C: add <string>
48
49 2005-01-06  José Matos  <jamatos@lyx.org>
50
51         * ParagraphParameters.C (write): put every parameter in its own line.
52         * paragraph.C (write): reduce number of consecutive empty lines exported.
53         * buffer.C (LYX_FORMAT): increase file format to 239.
54
55 2005-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
56
57         * everywhere: change support/tostr.h -> support/convert.h
58
59         * tabular.C: make all write_attributes templates, tostr -> convert
60
61         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
62         (emptyTag): and -> &&, and fix type for ret from getChar
63         (getFirstWord): fix type for ret from getChar
64         (onlyText): and -> &&
65         (simpleDocBookOnePar): and not -> && !, fix type for ret from
66         getChar
67
68         * toc.C (goTo, action):
69         * text3.C (dispatch):
70         * text.C (currentState):
71         * tex-accent.C (DoAccent):
72         * sgml.C:
73         * lyxrc.C:
74         * lyxfunc.C (menuNew):
75         * lyxfinc.C (replace):
76         * counters.C (laberItem):
77         * bufferview_funcs.C (font2string):
78         * bufferparams.C (writeFile):
79         * buffer.C (readFile):
80         * Spacing.C (set):
81         * MenuBackend.C: tostr -> convert
82
83         * LaTeX.C (runMessage): fix format
84         (scanAuxFiles): tostr -> convert
85
86         * BufferView_pimpl.C (savePosition): fix format
87         (restorePosition): ditto
88         (dispatch): ditto
89
90 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
91
92         * Spacing.[Ch]: New method getValueAsString().
93
94         * Spacing.[Ch]:
95         * bufferparams.C:
96         * ParagraphParameters.C:
97         * lyxlayout.C:
98         * text.C:
99         * text3.C: store/read spacing value as string.
100
101         * rowpainter.C: change float value (spacing_val) to double.
102
103         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
104         broken custom document spacing).
105
106 2005-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
107
108         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
109         namespace, also more use of temp references and const
110
111         * cursor.[Ch] (getStatus): move to lyxfunc.C
112
113         * bufferparams.C: reformat slightly
114
115         * bufferview_funcs.C (font2string): constify arg
116
117         * changes.C:
118         * converter.C:
119         * counters.C:
120         * bufferlist.C:
121         * buffer_funcs.C: (many funcs): constify arg on function
122         definitions, also make more local vars const, also add ASSERTS on
123         pointer args.
124
125         * buffer.C (LYX_FORMAT): put const in correct place
126         (many funcs): constify arg on function definitions, also make
127         more local vars const
128
129         * aspell_local.h: remove "struct" from typdef setup
130
131         * aspell.C (check): make word_ok const
132         (nextMiss): simplify slightly
133         (error): ditto
134
135 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
136
137         * lyxrc.[Ch]: store all float values as strings.
138         use int (not float) for lyxrc.dpi.
139
140 2005-01-04  Angus Leeming  <leeming@lyx.org>
141
142         * lyx_cb.C (Reconfigure):
143         * lyx_main.C (queryUserLyXDir):
144         to run the <system_lyxdir>/configure correctly on Windows, prefix
145         the path to the script with "sh " when generating the string that
146         is passed to system().
147
148 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
149
150         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
151
152 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * lyxlength.C (asLatexString): get rid of setprecision
155
156 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
157
158         * text2.C (setLayout): remove unused variable endpit.
159         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
160
161         * paragraph.C (onlyText): remove unused variable style.
162
163         * cursor.C (bruteFind): remove unused variables beg and end.
164
165         * Makefile.am (dist_noinset_DATA): not needed anymore
166
167         * cheaders/*: remove.
168
169 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
170
171         * text3.C: fix LFUN_MATH_MODE.
172
173 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
174
175         * buffer_funcs.C (countWords): new function. Counts words between
176         two iterators.
177
178         * BufferView_pimpl.C (getStatus, dispatch): handle
179         LFUN_WORDS_COUNT.
180
181         * LyXAction.C (init):
182         * lfuns.h: add LFUN_WORDS_COUNT.
183
184 2004-12-19  Angus Leeming  <leeming@lyx.org>
185
186         * buffer.C (save): s/slashify_path/internal_path/.
187
188 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
189
190         * lyxfind.C (findChange): do not search for end of pars, because
191         the change tracker cannot handle this (fixes bug 1719).
192
193 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
194
195         * paragraph.[Ch] (autoBreakRows): remove
196
197         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
198
199         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
200         avoid using the paragraph one
201
202         * text2.C (LyXText, insertStringAsLines): adjust
203
204 2004-12-16  Angus Leeming  <leeming@lyx.org>
205
206         * bufferlist.C:
207         * lyx_main.C:
208         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
209
210 2004-12-14  Angus Leeming  <leeming@lyx.org>
211
212         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
213
214         * bufferlist.C (emergencyWrite):
215         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
216         GetEnvPath("HOME").
217
218 2004-12-14  Angus Leeming  <leeming@lyx.org>
219
220         * main.C: (main): no longer pass pointers to os::init.
221
222 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
223
224         * undo.C (textUndoOrRedo): simplify logic, fix a crash
225         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
226
227 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
228
229         * lyxfunc.C:
230         * text3.C: remove selection_possible global flag
231
232 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
233
234         * text2.C (getSelectionSpan): remove
235         (changeDepth, changeDepthAllowed): adjust
236
237 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
238
239         * Makefile.am (BOOST_LIBS): use boost variables
240
241 2004-12-03  José Matos  <jamatos@lyx.org>
242
243         * buffer.C: format up to 238.
244
245 2004-12-03  José Matos  <jamatos@lyx.org>
246
247         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
248
249 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
250
251         * cursor.C (goUpDown): remove call to idxUpDown2
252
253 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
254
255         * tabular.[Ch]: use size_t-like types for cell, row and column
256         indices
257
258 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
259
260         * lyxfunc.C (getStatus): do not lose previous information when
261         calling BufferView::getStatus; do not set a default "Command
262         disabled" message at the beginning, but just before returning.
263
264 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
265
266         * cursor.h (getStatus): add better comment from src/cursor.C
267
268 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
269
270         * text3.C (getStatus): return false when the lfun is not handled
271
272 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * broken_headers.h: remove
275
276         * Makefile.am (lyx_SOURCES): remove broken_headers.h
277
278 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
279
280         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
281         offset_ref accessors
282
283         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
284         top_y_, merge fitcursor with update
285         (updateScrollbar, scrollDocView, fitCursor, center, update): new
286         coord scheme
287         (metrics): introduce
288         (workAreaDispatch): adapt to new coord scheme
289         (redoCurrentBuffer): remove
290
291         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
292
293         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
294         CurStatus enum.
295
296         * coordcache.[Ch]: add paragraph cache and helpers
297
298         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
299         adjust everywhere
300
301         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
302         (targetX, setTargetX): introduce
303
304         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
305         baseline -> ascent, as the rest of lyx
306
307         * lyxtext.h: remove redoParagraphs, updateParPositions,
308         fullRebreak, redoParagraphInternal. move dist to anon namespace in
309         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
310         have ascent/descent (ascent is ascent of first par)
311
312         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
313         step of BufferView
314
315         * paragraph.[Ch]: unify dimension handling with the rest of lyx
316
317         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
318
319         * pariterator.C: fix infinite loop introduced in par->pit renaming
320
321         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
322         in insets and LyXText, draw two off-screen paragraphs using
323         NullPainter, and adapt to new coord scheme
324
325         * text.C:
326         * text2.C:
327         * text3.C: adapt lfun handlers to the new coord scheme, which
328         means: there's only guaranteed coord information for onscreen pars
329         plus one above and one below. This implies that one can do search
330         from y coordinates in the range [-1,workHeight]
331
332 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
333
334         * rename a lot of InsetOld to InsetBase
335
336 2004-11-25  Angus Leeming  <leeming@lyx.org>
337
338         * BufferView_pimpl.C:
339         * lyx_cb.C:
340         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
341
342 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
343
344         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
345         call BufferView::getStatus if LCursor::getStatus did nothing
346         (setStatusMessage, getStatusMessage): removed.
347
348         * FuncStatus.C (message): new methods. Used to provide an error
349         message indicating why a command is disabled.
350         (clear, |=, FuncStatus): update for message.
351
352 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
353
354         * lyxfunc.C (dispatch): always call sendDispatchMessage
355
356 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
357
358         * BufferView.C:
359         * BufferView_pimpl.C:
360         * CutAndPaste.C:
361         * FontIterator.C:
362         * buffer.C:
363         * cursor.C:
364         * cursor_slice.[Ch]:
365         * dociterator.[Ch]:
366         * lyxfind.C:
367         * paragraph_funcs.C:
368         * pariterator.C:
369         * rowpainter.C:
370         * text.C:
371         * text2.C:
372         * text3.C:
373         * undo.C: par->pit renaming
374
375 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
376
377         * tabular.C (cellstruct): use initialization, store a shared_ptr
378         to insettext instead of the insettext directly, adjust to fit.
379         (operator=):  new function
380         (swap): new function
381         (rowstruct): use initialization
382         (columnstruct): use initialization
383         (ltType): use initialization
384
385
386         * lyxlength.h (swap): new function
387
388         * LColor.[Ch] (operator=): use the common semantics
389
390 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
391
392         * lyxfind.C (findNextChange): update the bufferview after setting
393         the selection.
394
395 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
396
397         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
398         number of InsetOptArgs has already been inserted.
399
400         * output_latex.C (latexOptArgInsets): new method. This outputs all
401         the optarg insets, up to the limit defined in the layout file.
402         (optArgInset): removed
403         (TeXOnePar): call latexOptArgInsets; correctly update texrow
404
405 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
406
407         * paragraph.C (isLetter): remove special spellchecker-related
408         code; return true also for digits
409         (isWord, isKomma): remove
410
411         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
412         * lyxfind.C (MatchString()): use isLetter instead of isWord
413
414 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
415
416         * pariterator.h (operatir=): comment out un-implemented member
417         function.
418
419         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
420         static cast.
421
422 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
423
424         * lyxfont.h: include LColor.h to satisfy concept checks.
425
426 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
427
428         * pariterator.h: add typdefs for value_type, difference_type,
429         pointer and reference to satisfy concept checks. Also add default
430         constructor for same reason.
431
432         * pariterator.C (operator++): add post-increment operator to
433         satisfy concept checks.
434
435         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
436         checks.
437
438         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
439
440         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
441         checks. Also rename base_type to BaseType to follow naming
442         standard better.
443
444         * FloatList.h: include Floating.h to satisfy concept checks.
445
446 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
447
448         * lyxfunc.C (getStatus): when the origin of the request is menu or
449         toolbar, and the LyXView does not have focus, do as if there was
450         no buffer (bug 1720)
451
452         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
453         FuncRequest to individual entries of LFUN_SEQUENCE
454
455 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
456
457         * output_latex.C (TeXOnePar): override runparams.moving_arg
458         according to the needprotect value of the current paragraph (bug
459         1739)
460
461         * paragraph.C (simpleTeXOnePar): no need to override
462         runparams.moving_args here
463
464 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
465
466         * vspace.C: fix off-by-one-error, related to fix #1682
467
468 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
469
470         * lengthcommon.C: a more general fix for bug 1682
471
472 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
473
474         * text.C (backspace): fix crash
475
476 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
477
478         * format.[Ch] (getFormatFromFile): new method
479         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
480
481 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
482
483         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
484
485 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
486
487         * lyxfunc.C (dispatch): remove the verbose argument
488         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
489         instead
490
491         * kbmap.C (defkey): set the origin of func to KEYBOARD
492
493         * MenuBackend.C (MenuItem):
494         * ToolbarBackend.C (add): set the origin of func to UI
495
496         * funcrequest.[Ch]: add origin member, which indicates which part
497         of LyX requests an action
498
499 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
500
501         * converter.C (move): don't lie in the error message
502         * converter.h (isReachable, move): document
503
504 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
505
506         * buffer.C: remove unused using lyx::support::atoi
507         * paragraph_funcs.C: ditto
508
509 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
510
511         * bufferlist.C (exists): use bind and equal_to instead of
512         compare_memfun
513         (getBuffer): ditto
514         * lyxtextclasslist.C (NumberOfClass): ditto
515
516         * cursor.C (insert): use for_each instead of explicit for loop
517
518         * bufferlist.C (getFileNames): use std::transform and
519         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
520
521         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
522         for loop
523
524         * buffer.C (changeLanguage): use for_each instead of explicit for
525         loop
526         (hasParWithID): implement using getParFromID
527
528         * LaTeXFeatures.C: ws change only
529
530         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
531         to cleanup a bit.
532
533         * BufferView_pimpl.C (trackChanges): use for_each instead of
534         expilicit for loop
535
536 2004-11-04  André Pönitz  <poenitz@gmx.net>
537
538         * undo.h:
539         * undo.C (textUndoOrRedo): fix crash when creating undo information.
540
541         * dociterator.C (asDocIterator): use hard assert again.
542
543 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
544
545         * lyxlength.C (asLatexString): rewrite so that it does not use
546         snprintf anymore
547
548 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
549
550         * text3.C (specialChar, dispatch): make sure cursor moves to the
551         right after inserting an inset
552
553 2004-11-02  José Matos  <jamatos@lyx.org>
554
555         * output_docbook.C (docbook):
556         * paragraph.C (getID):
557         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
558         garantee that the output is always legal.
559
560         * tabular.C (docbook):
561         * outputprams.[Ch]: remove mixed contents.
562
563 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
564
565         * text2.C (setCounter): prevent endless loop
566
567 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
568
569         * exporter.C (copyFile): use the mover instead of support::copy()
570         * exporter.C (Export): pass format and latex name to copyFile()
571         * exporter.h (addExternalFile): document
572         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
573
574 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
575
576         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
577
578 2004-10-30  José Matos  <jamatos@lyx.org>
579
580         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
581         text and no inset or font change. This allows to use CDATA
582         sections just for the whole paragraph.
583
584 2004-10-30  José Matos  <jamatos@lyx.org>
585
586         * paragraph.C (getFirstWord): remove unused variable.
587
588 2004-10-30  José Matos  <jamatos@lyx.org>
589
590         * paragraph.C (getFirstWord): the content should always be escaped
591         there.
592         (simpleDocBookOnePar):
593         * output_docbook.C (makeEnvironment): replace reference to CDATA
594         to style pass_thru.
595
596 2004-10-30  José Matos  <jamatos@lyx.org>
597
598         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
599
600 2004-10-30  José Matos  <jamatos@lyx.org>
601
602         * output_docbook.C (makeParagraphs):
603         * paragraph.[Ch] (emptyTag): for docbook and company, if the
604         standard paragraph has only a given type of content drop the wrapper.
605
606 2004-10-29  José Matos  <jamatos@lyx.org>
607
608         * output_docbook.C (makeEnvironment):
609         * sgml.C (openTag):
610         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
611
612 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
613
614         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
615         (cleanID): sanitize any id.
616
617 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
618
619         * buffer.C, lyxlex_pimpl.C:
620         * lyxlex_pimpl.C (setFile):
621         s/getExtFromContents/getFormatFromContents/
622
623 2004-10-28  José Matos  <jamatos@lyx.org>
624
625         * output_docbook.C (makeEnvironment): move id to broadest possible
626         scope.
627
628         * sgml.C (openTag): apply substitution of <> for all attributes.
629
630 2004-10-28  José Matos  <jamatos@lyx.org>
631
632         * buffer.C (makeLinuxDocFile, makeDocBookFile):
633         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
634         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
635
636         * sgml.[Ch]: new version for open and closeTag for paragraph and
637         for strings. Now they handle the ids of paragraphs.
638
639 2004-10-26  Angus Leeming  <leeming@lyx.org>
640
641         * Makefile.am: add mover.[Ch].
642
643         * converter.C (convert, move): use the new Movers to move external
644         files to the temp directory.
645
646         * lyx_main.C (init): ensure that the global system_movers data
647         is initialised.
648
649         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
650         preferences file.
651
652         * mover.[Ch]: new files, defining a Mover as a utility to move an
653         external file between directories and, if necessary, manipulate this
654         file using a helper script.
655
656 2004-10-25  José Matos  <jamatos@lyx.org>
657
658         * output_docbook.C (makeCommand): merge two if's that tested the
659         same condition.
660
661 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
662
663         * sgml.C (escapeString): fix warning in a better way
664
665 2004-10-25  José Matos  <jamatos@lyx.org>
666
667         * sgml.C (escapeString): import the require boosts header file for
668         tie, and avoid a signed unsigned comparison.
669
670 2004-10-25  José Matos  <jamatos@lyx.org>
671
672         * sgml.h: add #include <string>
673
674 2004-10-25  José Matos  <jamatos@lyx.org>
675
676         * sgml.[Ch] (escapeString): new function to escape all the string.
677
678 2004-10-24  José Matos  <jamatos@lyx.org>
679
680         * paragraph.[Ch] (getFirstWord): new function to get the first
681         word. Useful for description.
682         (simpleDocBookOnePar): remove depth argument, add another that
683         says where to start the paragraph.
684
685         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
686         use the new functions to fix cleanly the support for descriptions.
687
688 2004-10-24  José Matos  <jamatos@lyx.org>
689
690         * buffer.C (makeLinuxDocFile, makeDocBookFile):
691         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
692         * output_linuxdoc.C (linuxdocParagraphs):
693         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
694         add buffer as argument.
695
696 2004-10-24  José Matos  <jamatos@lyx.org>
697
698         * output_docbook.C (makeEnvironment, searchEnvironment): place
699         CDATA inside paragraphs and fix scope for listitems.
700
701 2004-10-24  José Matos  <jamatos@lyx.org>
702
703         * output_docbook.C: remove using statement for stack.
704
705 2004-10-23  José Matos  <jamatos@lyx.org>
706
707         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
708         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
709         docbook. The new scheme is recursive and makes use of iterators, the
710         same as latex export works.
711         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
712         directly with the paragraph contents. This code was moved up to
713         output_docbook.C (docbookParagraphs).
714         * sgml.C (openTag, closeTag): removed unneeded newlines.
715         (closeEnvTags) removed.
716
717 2004-10-23  André Pönitz  <poenitz@gmx.net>
718
719         * undo.C (textUndoOrRedo):
720         * dociterator.C (asDocIterator): work around crash
721
722         * cursor.C (getStatus): replace ASSERT by more verbose error message
723           and manual correction of the problem. Should increase stability
724           while providing more sensible information.
725
726 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
727
728         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
729
730         * bufferlist.C (previous, next): new methods
731
732         * lfuns.h:
733         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
734
735 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
736
737         * buffer.C (makeDocBookFile): add dsssl stylesheet control
738         entities to preamble.
739
740 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
741
742         * messages.C (Pimpl): strip off translation context information
743
744 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
745
746         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
747         the cursor is correct (bug 1694)
748
749 2004-10-13  José Matos  <jamatos@lyx.org>
750
751         * output_docbook.C (docbookParagraphs): fix closing tags in the
752         end of the document.
753
754 2004-10-09  José Matos  <jamatos@lyx.org>
755
756         * buffer.C: format up to 237.
757         * bufferparams.C (write): use tostr to convert booleans to strings.
758
759 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
760
761         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
762
763 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
764
765         * LaTeX.C: implement use of babel language in xindy.
766
767 2004-10-05  José Matos  <jamatos@lyx.org>
768
769         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
770         Add new translators to help reading and writing the lyx file.
771
772 2004-10-05  José Matos  <jamatos@lyx.org>
773
774         * ParagraphParameters.C (read):
775         * text.C (readParToken): replace nexToken by more appropriate lex
776         methods.
777
778 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
779
780         * LaTeX.C (runMakeIndex):
781         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
782         (usually 'makeindex') configurable.
783
784         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
785         with a variable rather than with a number.
786
787 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
788
789         * output_latex.C (TeXOnePar): make sure font setting is the first
790         thing that gets output (and the last at the end). Should fix bug
791         1404.
792
793 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
794
795         * pch.h: use proper signal include
796
797         * LaTeX.h: Use preferred calling of Boost.Signal
798         * buffer.h: ditto
799
800 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
801
802         * pch.h: dont include <boost/function/function0.hpp>
803
804         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
805
806         * paragraph_pimpl.h: remove usage of ShareContainer
807
808         * paragraph_pimpl.C: remove initialization of ShareContainer.
809
810 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
811
812         Fix bug #1666
813
814         * BufferView.C (putSelectionAt): change the semantics when
815         backwards == true: now, this just swaps cursor and anchor wrt the
816         forward case
817
818         * BufferView.h (putSelectionAt): add some documentation
819
820         * lyxfind.C (findBackwards): rewrite using while(). In particular,
821         make sure backwardChar is done at least once (to avoid getting
822         stuck)
823         (findNextChange): use putSelectionAt in the forward direction
824         (operator()): use Paragraph::isWord
825
826 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
827
828         * Spacing.C (set): c_str fix
829
830 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
831
832         * lyx_cb.C (Reconfigure): quote the name of configure script in
833         case it contains spaces
834
835 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
836
837         * client: new dir
838
839         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
840         (BOOST_LIBS): use top_buildir when looking for the file
841
842 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
843
844         * pch.h: do not use include boost/format.hpp, multiple symbols
845                 will result (gcc bug)
846
847
848 2004-08-23  José Matos  <jamatos@lyx.org>
849
850         * bufferparams.C (readToken): fix reading of the author field.
851
852 2004-08-20  José Matos  <jamatos@lyx.org>
853
854         * lyxrc.C: remove support/translator.h inclusion since it is not used.
855
856 2004-08-20  José Matos  <jamatos@lyx.org>
857
858         * lyxlex.[Ch] (findToken): remove function.
859
860         * ParagraphParameters.C (findToken):
861         * bufferparams.C (findToken): replace call for previous function
862         with local copy. This local function has one more argument, the
863         read string argument.
864
865 2004-08-16  José Matos  <jamatos@lyx.org>
866
867         * ParagraphParameters.C (write):
868         * Spacing.C (writeFile):
869         * bufferparams.C (writeLaTeX):
870         * lyx_cb.C (Reconfigure):
871         * paragraph.C (write):
872         * tabular.C (write): remove unnecessary space at end of line.
873
874
875 2004-08-16  José Matos  <jamatos@lyx.org>
876
877         * text.C (readParagraph): remove debug message.
878
879 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
880
881         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
882         crash
883
884         * output_plaintext.C (asciiParagraph): set depth correctly
885
886         * outputparams.h: add member depth
887
888         * paragraph_funcs.C (ownerPar): remove.
889
890         * text2.C (setCounter): remove first_pit; comment out some
891         non-working code that uses ownerPar
892
893         * BufferView.C (getParentLanguage): remove. Not used anymore, and
894         uses ownerPar
895
896 2004-08-16  José Matos  <jamatos@lyx.org>
897
898         * text.C (readParToken, readParagraph, read): report all unknown tokens.
899         For the same level of importance use the same chanel to report problems.
900         (read): add code to deal with \begin_body and \end_body.
901
902
903 2004-08-15  José Matos  <jamatos@lyx.org>
904
905         * lyxlex.C (getString): fix comment, buffer::readBody is now
906         buffer:readDocument.
907
908         * tex-strings.C (string_papersize): Default -> default,
909         Custom -> custom, for consistency with other options.
910
911 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
912
913         * pch.h: new file
914
915         * Makefile.am: support pch
916
917 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
918
919         * text.C (readParToken): remove the static LyXFont variable and
920         pass it as a parameter instead. This fixes a nasty bug where an
921         inset will be inserted with a bad font in some situations
922         (readParagraph): adapt
923
924         * text2.C (setCounter): reduce number of calls to pars_[pit]
925
926         * text.C (singleWidth): add an assert, fix a test
927
928         * rowpainter.C (paintText): reduce number of calls to singleWidth
929
930         * paragraph.C (isHfill):
931         (isNewline): ws only
932
933 2004-08-14  André Pönitz  <poenitz@gmx.net>
934
935         * text.C:
936         * text2.C:
937         * rowpainter.C:
938         * lyxtext.h (several functions): use a Paragraph & argument
939         instead of par_type
940
941 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
942
943         * metricsinfo.h: add a new field ltr_pos to PainterInfo
944
945         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
946
947         * text.C (singleWidth): remove useless test
948
949 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
950
951         * tabular.h: remove bogus comments
952
953         * tabular.C (getDescentOfRow):
954         (isPartOfMultiColumn): add assertions
955
956         * lyxlength.C (inPixels): remove #warning
957
958 2004-08-14  André Pönitz  <poenitz@gmx.net>
959
960         * paragraph.h: inline getChar()
961
962         * BufferView.h: remove unused declarations
963
964 2004-08-14  José Matos  <jamatos@lyx.org>
965
966         * Buffer.[Ch] (readDocument): new name for old readBody.
967         * Buffer.C: new file format, new keywords: \begin_document,
968         \begin_header, \begin_body, \end_body.
969
970         * bufferparams.C (readToken): replace all calls to lex.nextToken
971         by lex.next(). Do the same to eatLine except where really needed.
972
973         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
974         line when writing to the lyx file.
975
976         * output_plaintext.C (asciiParagraph): fix Bibliography style
977         handling.
978
979         * text.C (read): fix end of file handling.
980
981 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
982
983         * MenuBackend.C (Menu::operator[]): new method to access
984         individual menu items
985         (Menu::hasFunc): new method. search for an item that corresponds
986         to a given func
987         (MenuBackend::specialMenu): new method
988         (MenuBackend::expand): if a special menu has been set, skip
989         entries whose func() appears in this menu
990
991 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
992
993         * text3.C: use Debug::DEBUG a bit more
994
995         * text.C (leftMargin): try to simplify a tiny bit change var x to
996         l_margin. Dont output the wide margins always.
997         (rightMargin): no margin in inner texts
998
999         * rowpainter.h (nestMargin): new func
1000         (changebarMargin): new func
1001         (rightMargin): new func
1002
1003         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
1004         now functions.
1005         (paintLast): ditto
1006
1007         * factory.C (createInset): modify setDrawFrame
1008
1009         * cursor.C: use Debug::DEBUG a bit more
1010
1011 2004-08-14  André Pönitz  <poenitz@gmx.net>
1012
1013         * coordcache.[Ch]:
1014         * Makefile.am: new files to accomodate an 'external' (x,y)-position
1015         cache for all insets in (at least partially) visible (top-level)
1016         paragraphs.
1017
1018         * BufferView_pimpl.C: reset external coord cache before every update.
1019         This means the coord cache only contains valid entries.
1020
1021 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
1022
1023         bug 1096
1024         * BufferView_pimpl.C (getInsetByCode): move function out of class
1025         and change in to a template in anon namespace. Also fix to do what
1026         suits us better.
1027
1028 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
1029
1030         bug 1305
1031         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
1032         of char
1033         (breakParagraph): rename par to par_offset and use a local
1034         reference. Add code to keep the language over a rebreak.
1035         (breakParagraphConservative): rename par to par_offset, use a
1036         local reference
1037         (mergeParagraph): ditto
1038         (outerHook): ditto
1039         (isFirstInSequence): ditto
1040         (outerFont): rename pit to par_offset
1041
1042         * paragraph.C: ws change
1043         * paragraph.h: ditto
1044         * text3.C: ditto
1045         * text.C: ditto
1046
1047 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1048
1049         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
1050         treatment for ']'
1051
1052         * paragraph.C (simpleTeXOnePar): when we have a \item with
1053         optional argument, enclose the argument with curly brackets (in
1054         case it contains a closing square bracket)
1055
1056         * text2.C (editXY):
1057         * text2.C (editXY):
1058         * text3.C (checkInsetHit): constify
1059
1060 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1061
1062         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
1063         documents (bug 1629)
1064
1065 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1066
1067         Fix toggling of collapsable insets with the mouse (bug 1558)
1068
1069         * lyxfunc.C (dispatch): adapt to LCursor changes
1070
1071         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
1072         make sure that dispatch is not invoked twice
1073
1074         * cursor.C (needsUpdate): new method
1075         (dispatch): return void
1076         (result): new method, to access the DispatchResult of the cursor.
1077
1078 2004-08-13  José Matos  <jamatos@lyx.org>
1079
1080         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
1081
1082 2004-08-13  André Pönitz  <poenitz@gmx.net>
1083
1084         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
1085
1086         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
1087           multiple cells
1088
1089 2004-08-12  André Pönitz  <poenitz@gmx.net>
1090
1091         * text3.C: take out the 'cursor right' form insertInset and only
1092         do it in those places when it is really needed. Fixes crash on
1093         C-m...
1094
1095 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1096
1097         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
1098
1099         * BufferView_pimpl.C (setBuffer): initialize the current font of
1100         the underlying LyXText
1101
1102 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1103
1104         * kbsequence.C (print): use UI native formatting for menu
1105         shortcuts
1106
1107         * text.C (insertChar): call Paragraph::insertChar with a font
1108         argument (cosmetic)
1109
1110         * paragraph.C (insertInset, insertChar): the version that takes a
1111         LyXFont argument is now a wrapper around the other one (the
1112         opposite used to be true).
1113
1114         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
1115         argument. Font setting is done in Paragraph now.
1116
1117 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1118
1119         * outputparams.h: add new members intitle and lang.
1120
1121         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
1122         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
1123
1124 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1125
1126         * text3.C (dispatch): remove special handling of button 4 and 5,
1127         it is now taken care of in the frontend code.
1128
1129 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1130
1131         * Spacing.h: add <string> (STLPort compile fix)
1132
1133 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1134
1135         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
1136
1137 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
1138
1139         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
1140         to bool.
1141
1142         * converter.C (showMessage): inherit from unary_function, make
1143         operator() const.
1144
1145         * buffer.C (writeFile): initialize retval
1146
1147         * InsetList.h: rename private variable list to list_
1148         * InsetList.[Ch]: adjust accordingly.
1149
1150 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
1151
1152         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
1153         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
1154         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
1155         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
1156         * ParagraphParameters.C, LaTeXFeatures.C: replace
1157         "support/std_sstream.h" with <sstream>
1158
1159 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
1160
1161         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
1162         * lyxsocket.C (LyXServerSocket): ditto
1163         (serverCallback): ditto
1164
1165 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1166
1167         * LaTeXFeatures.C: check release date when loading jurabib.
1168
1169 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
1170
1171         * lyxserver.C (startPipe): call register_socket_callback
1172         (endPipe): call unregister_socket_callback
1173
1174 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1175
1176         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1177         (LyXServerSocket): register the callback
1178         (LyXServerSocket): unregister the callback
1179         (fd): delete function
1180         (serverCallback): improve error checking and setup the callbacks.
1181         (dataCallback): change arg to fd.
1182         (writeln): new func (copied fro the client socket) used for server
1183         write to client.
1184         (LyXDataSocket): simplify
1185         (~LyXDataSocket): close ann unregiser callback
1186         (server): delete function
1187         (fd): delete function
1188         (readln): small changes, improve some std::string usage
1189         (writeln): constify a bit
1190
1191 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1192
1193         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1194         Qt frontend
1195
1196 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1197
1198         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1199         after it has been populated
1200
1201 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1202
1203         * text2.C (insertInset): move cursor when inserting inset.
1204
1205 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1206
1207         * kbmap.C (findbindings): a couple of new methods. returns a
1208         container of kb_sequence objects. The real work is done by the
1209         private recursive version
1210         (printbindings): uses findbindings to print out a bracketed list
1211         of bindings (renamed from findbinding).
1212
1213         * MenuBackend.C (binding): use kb_keymap::findbindings
1214
1215         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1216
1217 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1218
1219         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1220
1221 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * paragraph.C (isWord): return true on insets that report
1224         isLetter().
1225
1226         * text.C (getWord): use Paragraph::isWord to decide what is in a
1227         word and what is not; fix bug 1609.
1228
1229 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1230
1231         * tex-strings.C: add "none" to string_paperpackages[], fixes
1232         off-by-one-error in the paperpackage selection.
1233
1234         * lyxlex.[Ch]:
1235         * tex-strings.[Ch]: char const * string[n]
1236         -> char const * const string[]
1237
1238 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1239
1240         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1241         command, return early.
1242
1243 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1244
1245         * debug.h: add DEBUG to enum and fix size of ANY.
1246
1247         * debug.C: add support for Debug::DEBUG
1248         (showTags): cast errorTags.level to unsigned int
1249
1250         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1251         (redoCurrentBuffer): ditto
1252         (updateScrollbar): ditto
1253         * cursor.C (dispatch): ditto
1254         * text2.C (setLayout): ditto
1255         (setFont): ditto
1256         (updateCounters): ditto
1257         (editXY): ditto
1258         (deleteEmptyParagraphMechanism): ditto
1259
1260 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1261
1262         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1263         annotations to cleanup the Makefile slightly.
1264
1265 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1266
1267         * lyxrc.C: do not set user_email to a default value but use empty
1268         instead. The entry used to be translated, which does not work
1269         since at the point where lyxrc is constructed there is no
1270         translation service available
1271
1272         * messages.C (getLocaleDir): remove and use directly
1273         lyx_localedir() instead
1274
1275 2004-06-02  Angus Leeming  <leeming@lyx.org>
1276
1277         Fix crash caused by dereferencing null pointer 'exportdata' in
1278         OutputParams by creating a new ExportData variable on the heap,
1279         storing it in a boost::shared_ptr.
1280         The crash was triggered when generating an Instant Preview
1281         of an external inset.
1282
1283         * Makefile.am: add outputparams.C
1284
1285         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1286         (c-tor): allocate memory to it.
1287
1288         * exporter.C (c-tor): associated changes.
1289
1290 2004-06-01  Angus Leeming  <leeming@lyx.org>
1291
1292         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1293         contains data before calling isInset(0). (Bug 1513.)
1294
1295 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1296
1297         * exporter.C (checkOverwrite): new method
1298         * exporter.C (copyFile): new method
1299         * exporter.C (Export): copy referenced files to the document dir
1300         * exporter.[Ch]: new class ExportedFile
1301         * exporter.[Ch]: new class ExportData. Contains currently the
1302         names of referenced external files
1303         * outputparams.h: add exportdata member.
1304
1305 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1306
1307         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1308         version.C-tmp
1309
1310 2004-05-19  Angus Leeming  <leeming@lyx.org>
1311
1312         * LaTeXFeatures.C:
1313         * ToolbarBackend.C:
1314         * bufferparams.C:
1315         * lyxfunc.C: small changes due to the introduction of namespace
1316         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1317
1318 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1319
1320         * text3.C (dispatch): supress update when only moving the cursor
1321         * cursor.C (selHandle): remove commented code
1322
1323 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1324
1325         * paragraph.C (startTeXParParams): correct column count
1326         * CutAndPaste.C (pasteSelection): remove const_cast
1327         * output_docbook.C (docbookParagraphs): remove const_cast
1328         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1329         const_cast and return ParagraphList::const_iterator
1330         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1331         * output_plaintext.C (writeFileAscii): remove const_cast
1332         * paragraph.[Ch] (simpleTeXOnePar): make const
1333         * paragraph_funcs.C (outerPar): use const iterators
1334         * paragraph_pimpl.C (validate): use const iterators
1335         * text.C (setHeightOfRow): use const iterators
1336
1337 2004-05-17  Angus Leeming  <leeming@lyx.org>
1338
1339         * lfuns.h:
1340         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1341
1342         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1343         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1344         if the citation engine has changed.
1345
1346 2004-05-14  José Matos  <jamatos@lyx.org>
1347
1348         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1349         if the textclass does not provide it. Have it different for sgml and
1350         xml.
1351         support the language of document.
1352         * output_docbook.C (docbookParagraphs):
1353         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1354         first anchor as the id of the paragraph, remove special case code.
1355         * sgml.C (escapeChar): escape only < & >.
1356
1357 2004-05-14  Angus Leeming  <leeming@lyx.org>
1358
1359         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1360         dependencies on src/frontends/controllers/biblio.h. Define a
1361         CiteEngine_enum wrapper class to enable the enum to be forward
1362         declared.
1363
1364 2004-05-12  Angus Leeming  <leeming@lyx.org>
1365
1366         * buffer.C: up LYX_FORMAT to 234.
1367         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1368         use_numerical_citations with a single biblio::CiteEngine cite_engine
1369         variable.
1370         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1371
1372 2004-05-13  José Matos  <jamatos@lyx.org>
1373
1374         * converter.h:
1375         * converter.C (Converter, readFlags): add xml member.
1376         * outputparams.h: add XML flavor.
1377         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1378
1379 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1380
1381         * lyxfunc.C (dispatch):
1382         (getStatus): fix handling of LFUN_SEQUENCE
1383
1384 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1385
1386         * debug.C (showLevel): do not forget the end-of-line marker
1387
1388 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1389
1390         * kbmap.C (read): do not stop parsing a bind file when an error
1391         occurs (bug 1575)
1392
1393 2004-04-29  Angus Leeming  <leeming@lyx.org>
1394
1395         * cursor.C:
1396         * factory.C:
1397         * pariterator.C:
1398         * text2.C: wrap a bunch of #warning statements
1399         inside #ifdef WITH_WARNINGS blocks.
1400
1401 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1402
1403         * buffer.C: increment format to 233.
1404
1405 2004-04-28  Angus Leeming  <leeming@lyx.org>
1406
1407         * BufferView_pimpl.C:
1408         * lyxfunc.C:
1409         * text3.C:
1410         s/updateToolbar()/updateToolbars()/
1411         s/Toolbar.h/Toolbars.h/
1412
1413 2004-04-28  Angus Leeming  <leeming@lyx.org>
1414
1415         * BufferView.[Ch] (c-tor):
1416         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1417         No longer passes these data to the WorkArea generator.
1418
1419 2004-04-28  Angus Leeming  <leeming@lyx.org>
1420
1421         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1422
1423 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1424
1425         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1426
1427 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1428
1429         * output_latex.C (TeXEnvironment): make sure that there is a line
1430         break before \end{foo} for the last paragraph of a document
1431         (TeXOnePar): if the paragraph is at the end of the document (or
1432         inset) and the language has to be reset, then make sure that the
1433         line break is _before_ the language command, not after (fixes bug
1434         1225); also make sure that the language reset command is the first
1435         thing after the paragraph (to ensure proper nesting of
1436         environments and thus fix bug 1404)
1437
1438 2004-04-21  John Levon  <levon@movementarian.org>
1439
1440         * ToolbarBackend.h:
1441         * ToolbarBackend.C: make "name" be a programmatic name
1442         and a gui_name field.
1443
1444         * lyxfunc.C: display the minibuffer on M-x
1445
1446 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1447
1448         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1449         (bug 1526)
1450
1451 2004-04-19  Angus Leeming  <leeming@lyx.org>
1452
1453         * BufferView_pimpl.C (setBuffer): changed preview interface.
1454
1455         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1456         possible values.
1457
1458 2004-04-19  John Levon  <levon@movementarian.org>
1459
1460         * BufferView_pimpl.C:
1461         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1462
1463 2004-04-05  Angus Leeming  <leeming@lyx.org>
1464
1465         * text.C (redoParagraphs): add call to updateCounters(), thereby
1466         fixing the missing "Figure #:" label from the caption of a
1467         figure float.
1468
1469 2004-04-13  Angus Leeming  <leeming@lyx.org>
1470
1471         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1472         cursor is clicked out of an inset.
1473
1474 2004-04-13  Angus Leeming  <leeming@lyx.org>
1475
1476         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1477         than an InsetOld one.
1478
1479 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1480
1481         * format.[Ch]: add editor to Format
1482         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1483         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1484
1485 2004-04-08  André Pönitz  <poenitz@gmx.net>
1486
1487         * metricsinfo.h: remove PainterInfo::width member
1488
1489 2004-04-08  Angus Leeming  <leeming@lyx.org>
1490
1491         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1492         "\providecommand" rather than "\newcommand", thereby preventing
1493         clashes with packages that define "\boldsymbol" themselves.
1494         Eg, beamer.
1495
1496 2004-04-08  Angus Leeming  <leeming@lyx.org>
1497
1498         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1499         thereby squashing an unnecessary warning.
1500
1501 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1502
1503         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1504         setBuffer()
1505
1506 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1507
1508         * BufferView.C (setCursor): call redoParagraph (some insets could
1509         have been opened)
1510         (putSelectionAt): remove the 'double update' trick
1511
1512         * BufferView_pimpl.C (fitCursor): call refreshPar
1513         (workAreaDispatch): remove an uneeded update call
1514         (dispatch): remove some manual update calls
1515
1516         * cursor.[Ch]: remove cached_y_, updatePos
1517         (selHandle): set noUpdate when appropriate
1518
1519         * lyxfunc.C (dispatch): track if we need an update
1520
1521         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1522
1523         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1524         (paintSelection): cheap optimization, do not call cursorX when not
1525         needed
1526         (paintPars): change signature
1527         (refreshPar): add
1528         (paintText): adjust
1529         (paintTextInset): adjust
1530
1531         * text.C: adjust
1532
1533 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1534
1535         * lengthcommon.C: compilation fix: remove explicit array size from
1536         unit_name[] and friends
1537
1538 2004-04-05  Angus Leeming  <leeming@lyx.org>
1539
1540         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1541
1542         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1543         present only for the preferences dialog.
1544         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1545
1546 2004-04-05  Angus Leeming  <leeming@lyx.org>
1547
1548         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1549         to enable the frontends to export changes to lyxrc correctly.
1550
1551         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1552
1553 2004-04-07  André Pönitz  <poenitz@gmx.net>
1554
1555         * cursor.[Ch] (selClear, adjust): remove math
1556
1557         * cursor_slice.C: more agressive assert
1558
1559         * lyxfunc.C:
1560         * BufferView_pimpl.C: rework mouse event dispatch
1561
1562         * dociterator.C:
1563         * paragraph.C:
1564         * text2.C:
1565         * text3.C: adjust
1566
1567 2004-04-05  André Pönitz  <poenitz@gmx.net>
1568
1569         * cursor.[Ch] (valign, halign...): remove unneeded functions
1570
1571 2004-04-05  Angus Leeming  <leeming@lyx.org>
1572
1573         * lyxlength.[Ch] (unit_name et al.): const-correct.
1574
1575 2004-04-05  Angus Leeming  <leeming@lyx.org>
1576
1577         * BufferView_pimpl.C:
1578         * buffer.C:
1579         * counters.C:
1580         * cursor.C:
1581         * lyxfunc.C
1582         * paragraph.C:
1583         * pariterator.C:
1584         * text.C:
1585         * text2.C:
1586         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1587
1588 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1589
1590         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1591
1592 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1593
1594         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1595         * BufferView_pimpl.[Ch] (getStatus)
1596         * BufferView.[Ch] (getStatus): add
1597         * lyxfunc.C (getStatus): move lfuns handled in
1598         BufferView::dispatch to te function above
1599         * Cursor.C (setSelection): set selection() = true
1600
1601 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1602
1603         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1604
1605 2004-03-31  Angus Leeming  <leeming@lyx.org>
1606
1607         * lyxfunc.C (dispatch): Fall through to the generic
1608         Dialogs::show("preamble").
1609
1610 2004-03-31  Angus Leeming  <leeming@lyx.org>
1611
1612         * lyxfunc.C (dispatch): Fall through to the generic
1613         Dialogs::show("spellchecker").
1614
1615 2004-03-31  Angus Leeming  <leeming@lyx.org>
1616
1617         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1618         preferences dialog.
1619
1620 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1621
1622         * BufferView.C
1623         * cursor.[Ch]
1624         * dociterator.[Ch]:
1625         * insetiterator.[Ch]:
1626         * lyxfind.C:
1627         * lyxfunc.C:
1628         * pariterator.[Ch]:
1629         * text2.C:
1630         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1631
1632 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1633
1634         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1635         insets where we are putting the cursor.
1636
1637 2004-03-31  Angus Leeming  <leeming@lyx.org>
1638
1639         * lfuns.h:
1640         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1641
1642         * lyxrc.[Ch] (read, write): overloaded member functions taking
1643         a std::[io]stream arguments.
1644
1645         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1646
1647 2004-03-31  Angus Leeming  <leeming@lyx.org>
1648
1649         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1650         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1651
1652         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1653         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1654
1655 2004-03-31  Angus Leeming  <leeming@lyx.org>
1656
1657         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1658         the LFUN_ALL_INSETS_TOGGLE code.
1659
1660 2004-03-30  Angus Leeming  <leeming@lyx.org>
1661
1662         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1663         has died. Fall through to the generic Dialogs::show("document").
1664
1665 2004-03-30  Angus Leeming  <leeming@lyx.org>
1666
1667         * lfuns.h:
1668         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1669         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1670
1671         * lyxfunc.C (getStatus, dispatch): define the actions for these
1672         lfuns. Little more than a cut and pste job from ControlDocument.C
1673
1674         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1675
1676 2004-03-30  Angus Leeming  <leeming@lyx.org>
1677
1678         * lfuns.h:
1679         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1680         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1681
1682         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1683         open/closed state of ollapsable insets. Usage:
1684
1685         all-inset-toggle <state> <name>, where
1686         <state> == "open" || "closed" || "toggle" and
1687         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1688
1689         * lyxtext.h, text2.C (toggleInset): removed.
1690
1691         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1692         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1693         now passes LFUN_INSET_TOGGLE to the found inset.
1694
1695         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1696         is now invoked as "all-insets-toggle toggle branch".
1697
1698 2004-03-30  Angus Leeming  <leeming@lyx.org>
1699
1700         * dociterator.C:
1701         * insetiterator.C:
1702         * pariterator.[Ch]: added/corrected header blurb.
1703
1704 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1705
1706         * dociterator.[Ch]: add an inset_ member
1707         (backwardPos): implemented
1708         (backwardPos, forwardPos): use inset_ when the stack is empty.
1709         (doc_iterator_begin, doc_iterator_end): implemented
1710         * pariterator.[Ch]: adjust, add begin, end
1711         * insetiterator.[Ch]: adjust, add begin, end
1712         * cursor.C:
1713         * document.C:
1714         * BufferView.C:
1715         * BufferView_pimpl.C:
1716         * CutAndPaste.C: adjust
1717
1718 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1719
1720         * buffer.C: increment file format to 232.
1721         * LaTeXFeatures.C: add bibtopic package.
1722         * bufferparams.[Ch]: param \use_bibtopic.
1723
1724         * lyxrc.[Ch]: add lyxrc bibtex_command
1725         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1726
1727         * buffer.C: increment file format to 231.
1728
1729 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1730
1731         * dociterator.C: implement forwardPar
1732         * iterators.[Ch]: remove, replaced by
1733         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1734         * BufferView.C:
1735         * BufferView_pimpl.C:
1736         * CutAndPaste.C:
1737         * buffer.C:
1738         * bufferview_funcs.C:
1739         * cursor.C:
1740         * lyxfind.C
1741         * lyxfunc.C
1742         * paragraph_funcs.C
1743         * toc.C:
1744         * Makefile.am: adjust
1745
1746 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1747
1748         * CutAndPaste.C (pasteSelection): fix 2 crashes
1749         (eraseSelection): fix a crash
1750         * paragraph_funcs.C: remove a warning
1751
1752 2004-03-28  Angus Leeming  <leeming@lyx.org>
1753
1754         * lfuns.h:
1755         * LyXAction.C (init): new LFUN_PRINT.
1756
1757         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1758
1759 2004-03-27  Angus Leeming  <leeming@lyx.org>
1760
1761         * lfuns.h:
1762         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1763
1764         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1765
1766 2004-03-27  Angus Leeming  <leeming@lyx.org>
1767
1768         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1769         insetlist always contains non-null pointers to insets.
1770
1771 2004-03-26  Angus Leeming  <leeming@lyx.org>
1772
1773         * src/BufferView_pimpl.C:
1774         * src/CutAndPaste.C:
1775         * src/buffer.C:
1776         * src/iterators.C:
1777         * src/output_plaintext.C:
1778         * src/outputparams.h:
1779         * src/paragraph_funcs.C:
1780         * src/rowpainter.C:
1781         * src/text.C:
1782         * src/text2.C:
1783         * src/frontends/controllers/ControlErrorList.C:
1784         * src/frontends/gtk/FileDialogPrivate.C:
1785         * src/frontends/gtk/GPainter.C:
1786         * src/frontends/gtk/GToolbar.C:
1787         * src/frontends/qt2/QRef.C:
1788         * src/mathed/math_scriptinset.C: squash compiler warnings.
1789
1790 2004-03-26  Angus Leeming  <leeming@lyx.org>
1791
1792         * ispell.C (LaunchIspell::start):
1793         * lyx_cb.C (AutoSaveBuffer::start):
1794         invoke run(DontWait) rather than runNonBlocking().
1795
1796 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1797
1798         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1799
1800 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1801
1802         * kbsequence.C (print): adjust
1803
1804         * kbmap.C (printKeySym): rename and change signature
1805         (printKey): use LyXKeySym::print()
1806
1807 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1808
1809         * undo.C: add using std::advance to compile for stlport
1810
1811 2004-03-24  Angus Leeming  <leeming@lyx.org>
1812
1813         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1814         it leads to a crash when no buffer is present.
1815
1816 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1817             Martin Vermeer  <martin.vermeer@hut.fi>
1818
1819         * lyxfunc.C (dispatch):
1820         * bufferparams.C (readToken): use the new LColor::setColor
1821
1822         * LColor.[Ch] (setColor): new version that takes two strings as
1823         argument and creates a new color entry if necessary
1824
1825 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1826
1827         * buffer.C (makeLaTeXFile): if the main latex file that is
1828         processed is usually a subdocument of some master, then pretend
1829         for a while that it is actually the master
1830
1831 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1832
1833         * buffer.C (getLabelList):
1834         (getBibkeyList): use getMasterBuffer()
1835         (getMasterBuffer): new method. Returns the main document in the
1836         case where one is using included documents.
1837
1838 2004-03-25  André Pönitz  <poenitz@gmx.net>
1839
1840         * Makefile.am:
1841         * iterators.[Ch]:
1842         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1843
1844         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1845
1846         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1847         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1848
1849         * ParameterStruct.h: merge with ParagraphParameters
1850
1851         * lyxtext.h: remove LyXText::parOffset() and getPar()
1852
1853         * text3.C: Remove all 'manual' update calls. We do now one per user
1854         interaction which is completely sufficient.
1855
1856         * Bidi.C:
1857         * BufferView.[Ch]:
1858         * BufferView_pimpl.C:
1859         * FontIterator.[Ch]:
1860         * MenuBackend.C:
1861         * ParagraphParameters.[Ch]:
1862         * buffer.C:
1863         * buffer.h:
1864         * bufferlist.C:
1865         * cursor.[Ch]:
1866         * cursor_slice.[Ch]:
1867         * dociterator.[Ch]:
1868         * errorlist.[Ch]:
1869         * factory.C:
1870         * lfuns.h:
1871         * lyxfind.C:
1872         * lyxfunc.C:
1873         * output_docbook.[Ch]:
1874         * output_latex.[Ch]:
1875         * output_linuxdoc.[Ch]:
1876         * output_plaintext.[Ch]:
1877         * paragraph.[Ch]:
1878         * paragraph_funcs.[Ch]:
1879         * paragraph_pimpl.[Ch]:
1880         * rowpainter.C:
1881         * tabular.[Ch]:
1882         * text.C:
1883         * text2.C:
1884         * toc.C:
1885         * undo.[Ch]: adjust
1886
1887         * frontends/controllers/ControlDocument.C:
1888         * frontends/controllers/ControlErrorList.C:
1889         * frontends/controllers/ControlSpellchecker.C:
1890         * insets/inset.C:
1891         * insets/inset.h:
1892         * insets/insetbase.h:
1893         * insets/insetbibitem.C:
1894         * insets/insetbox.C:
1895         * insets/insetbranch.C:
1896         * insets/insetcaption.C:
1897         * insets/insetcharstyle.C:
1898         * insets/insetcharstyle.h:
1899         * insets/insetcollapsable.C:
1900         * insets/insetcollapsable.h:
1901         * insets/insetert.C:
1902         * insets/insetfloat.C:
1903         * insets/insetfoot.C:
1904         * insets/insetmarginal.C:
1905         * insets/insetnote.C:
1906         * insets/insetoptarg.C:
1907         * insets/insettabular.C:
1908         * insets/insettext.C:
1909         * insets/insettext.h:
1910         * insets/insetwrap.C:
1911         * mathed/math_mboxinset.C:
1912         * mathed/math_nestinset.C:
1913         * mathed/math_scriptinset.C:
1914         * mathed/math_scriptinset.h:
1915         * support/types.h:
1916
1917 2004-03-24  Angus Leeming  <leeming@lyx.org>
1918
1919         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1920         deal with any child processes that have finished but are waiting to
1921         communicate this fact to the rest of LyX.
1922
1923 2004-03-24  Angus Leeming  <leeming@lyx.org>
1924
1925         64-bit compile fixes.
1926
1927         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1928         (c-tor): pass lyx::pos_types rather than ints.
1929
1930         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1931         lyx::pos_type.
1932
1933         * text.C (Delete): compile fix.
1934         (getPar): ensure that function declaration is the same as that in
1935         the header file.
1936
1937 2004-03-23  Angus Leeming  <leeming@lyx.org>
1938
1939         * ispell.C (LaunchIspell):
1940         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1941         a boost::shred_ptr rather than a std::auto_ptr.
1942
1943 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1944
1945         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1946         handle LFUN_FILE_INSERT_*
1947
1948         * lyxrc.C (setDefaults, getDescription, output, read):
1949         * lyxrc.h: remove ps_command
1950
1951 2004-03-22  Angus Leeming  <leeming@lyx.org>
1952
1953         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1954         Ensure that error_handler is processed once only and that all data
1955         is saved before attempting to output any warning messages.
1956
1957         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1958
1959 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1960
1961         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1962
1963 2004-03-19  André Pönitz  <poenitz@gmx.net>
1964
1965         * cursor.[Ch] (reset): take main text inset as argument
1966
1967         * BufferView: adjust
1968         * BufferView_pimpl.C: adjust
1969
1970         * paragraph.[Ch]: fix completely broken operator=()
1971
1972 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1973
1974         * LColor.C (getFromLyXName): make sure that the color name is used
1975         as lowercase.
1976
1977 2004-03-17  Angus Leeming  <leeming@lyx.org>
1978
1979         * lfuns.h:
1980         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1981
1982         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1983         dialog and to kill a forked process.
1984
1985 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1986
1987         * text2.C (setCursorFromCoordinates): fix font problem
1988
1989 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1990
1991         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1992         bogus "rebuild cursor" code
1993
1994 2004-03-11  André Pönitz  <poenitz@gmx.net>
1995
1996         * buffer.[Ch]: use InsetText instead of LyXText as container for
1997         the main lyx text.
1998
1999         * dociterator.[Ch]: drop the BufferView * member which is not needed
2000         anymore after the change to buffer.C
2001
2002         * paragraph_funcs.C:
2003         * text.C:
2004         * text2.C:
2005         * BufferView.[Ch]:
2006         * BufferView_pimpl.[Ch]:
2007         * cursor.[Ch]:
2008         * cursor_slice.[Ch]: adjust
2009
2010         * text3.C: fix bug in mathDispatch
2011
2012 2004-03-08  André Pönitz  <poenitz@gmx.net>
2013
2014         * undo.[Ch]: use 'StableDocumentIterator' as base for
2015         the Undo struct.
2016
2017 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2018
2019         * LaTeXFeatures.C:
2020         * bufferparams.[Ch]: add jurabib support and param.
2021
2022         * LaTeX.C: add FIXME/comment.
2023
2024 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2025
2026         * buffer.C: increment file format to 230.
2027
2028 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
2029
2030         * cursor.C (dispatch): avoid infinite loops
2031
2032 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2033
2034         * rowpainter.C (paintSelection): fix x coordinates
2035
2036 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2037
2038         * text.C (rowBreakPoint): fix breaking before displayed insets
2039
2040 2004-03-01  André Pönitz  <poenitz@gmx.net>
2041
2042         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
2043
2044         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
2045
2046         * Makefile.am:
2047         * BufferView.C:
2048         * BufferView_pimpl.C:
2049         * buffer.C:
2050         * lyxfind.C:
2051         * lyxfunc.C:
2052         * text.C:
2053         * text2.C:
2054         * text3.C: adjust
2055
2056 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2057
2058         * lyxtext.h:
2059         * text.C:
2060         * text2.C:
2061         * rowpainter.C:
2062         * BufferView_pimpl.C: rename textwidth -> maxwidth,
2063         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
2064
2065 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2066
2067         * Bidi.[Ch] (computeTables): const correctness
2068         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
2069         fill_hfill, fill_label_hfill and x from Row
2070         * lyxtext.h: prepareToPrint returns a RowMetrics
2071         * rowPainter.C: adjust
2072         * text.C (prepareToPrint): use width, not textWidth. adjust
2073         (redoParagraphInternal, cursorX): adjust
2074         * text2.C (getColumnNearX): adjust
2075         (init): put a default value to the top LyXText::width
2076
2077 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2078
2079         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
2080
2081 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
2082
2083         * lyxtext.h: add FontIterator class
2084
2085         * text.C (FontIterator, operator*, operator->, operator++): add
2086         (rowBreakPoint, setRowWidth): adjust (fixing a
2087         rebreaking bug)
2088
2089 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2090
2091         * BufferView_pimpl.C (workAreaDispatch): allow also
2092         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
2093
2094 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
2095
2096         * text.C (rowBreakPoint): fix a bug showing with very large insets
2097
2098 2004-02-25  André Pönitz  <poenitz@gmx.net>
2099
2100         * text3.C:
2101         * cursor.[Ch]: move some mathed specific code to mathed
2102
2103 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2104
2105         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
2106         use_tempdir in preferences
2107         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
2108         tempfile creation
2109         * lyx_main.C: ensure that tempdir is valid
2110         * lyxlex.h: correct typo
2111         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
2112         * paragraph.[Ch] (isMultiLingual): make const
2113         * cursor.[Ch] (openable): make const
2114
2115 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2116
2117         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
2118
2119 2004-02-20  André Pönitz  <poenitz@gmx.net>
2120
2121         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
2122
2123         * cursor.[Ch]: prepare for localized getStatus()
2124
2125         * lyxtext.h:
2126         * tabular.C:
2127         * text.C:
2128         * text2.C:
2129         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
2130
2131 2004-02-20  André Pönitz  <poenitz@gmx.net>
2132
2133         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
2134
2135 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2136
2137         * text2.C (setCursorFromCoordinates): switch to absolute coords
2138         (cursorUp): adjust
2139         (cursorDown): adjust
2140         * text3.C (dispatch): adjust
2141
2142 2004-02-16  André Pönitz  <poenitz@gmx.net>
2143
2144         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
2145           insets/ChangeLog)
2146
2147         * cursor_slice.[Ch]: remove unneeded acessor function
2148
2149         * lyxtext.h: rename rtl() to isRTL()
2150
2151         * rowpainter.C:
2152         * tabular.C:
2153         * text.C:
2154         * text2.C:
2155         * text3.C: adjust
2156
2157 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
2158
2159         * rowpainter.C (paintSelection): coord fix
2160
2161 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
2162
2163         * Spacing.C: compile fix
2164
2165 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2166
2167         * cursor.C (dispatch): restore current_ before returning
2168
2169 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
2170
2171         * text2.C (cursorUp, cursorDown): fix coords
2172         (moveUp): fix crash
2173
2174 2004-02-12  André Pönitz  <poenitz@gmx.net>
2175
2176         * lyxtext.h:
2177         * text.C:
2178         * text2.C:
2179         * text3.C: add LCursor & parameter to most cursor movement functions
2180           remove usage of LyXText::cursorRow() and cursorPar()
2181
2182         * cursor.[Ch]: add textRow() needed members
2183
2184         * BufferView.C:
2185         * BufferView_pimpl.C:
2186         * paragraph.[Ch]:
2187         * BufferView.C:
2188         * BufferView_pimpl.C: adjust
2189
2190 2004-02-11  André Pönitz  <poenitz@gmx.net>
2191
2192         * lyxfunc.C:
2193         * BufferView.[Ch]:
2194         * BufferView_pimpl.C: shift undo/redo handling
2195
2196         * cursor.[Ch]: fix mathed crash
2197
2198         * lyxfind.C:
2199         * lyxtext.h: move selectionAsText to LCursor
2200
2201         * output_latex.C:
2202         * paragraph.C:
2203         * text.C:
2204         * text2.C:
2205         * text3.C: adjust
2206
2207         * rowpainter.C: fix excessive drawing
2208
2209 2004-02-06  André Pönitz  <poenitz@gmx.net>
2210
2211         * BufferView.[Ch]:
2212         * BufferView_pimpl.[Ch]:
2213         * text3.C: move some text specific LFUN handling
2214
2215 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2216
2217         * text3.C (checkInsetHit): adjust coords
2218         * text2.C (getColumnNearX): adjust coords
2219         (edit): adjust coords
2220         * text.C (getRowNearY): add two asserts
2221
2222 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2223
2224         * converter.C:
2225         * format.C: add using std::distance to compile on gcc 2.95/stlport
2226
2227 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2228
2229         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2230
2231 2004-02-04  André Pönitz  <poenitz@gmx.net>
2232
2233         * BufferView.[Ch] (insertInset):
2234         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2235
2236         * text2.C:
2237         * text3.C: adjust
2238
2239 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2240
2241         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2242         on the default clause of the switch
2243         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2244         wasn't catched by LCursor::dispatch
2245
2246 2004-02-03  André Pönitz  <poenitz@gmx.net>
2247
2248         * BufferView.C:
2249         * cursor.[Ch]: some additional asserts
2250
2251         * undo.[Ch]: remove LyXText dependency in interface
2252
2253         * lyxfunc.C: adjust
2254
2255         * lyxtext.h (firstPar, lastPar): remove dead functions
2256
2257         * text.C:
2258         * text2.C:
2259         * text3.C:
2260         * paragraph.[Ch]: adjust
2261
2262 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2263
2264         * lyxfind.C (find): fix argument order in call to ::find
2265
2266 2004-02-02  André Pönitz  <poenitz@gmx.net>
2267
2268         * cursor.[Ch]: remove direct access to anchor
2269
2270         * text.C: remove findText() hack
2271
2272 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2273
2274         * iterators.[Ch] (lockPath): remove in favour of...
2275         * BufferView.[Ch] (setCursor): this addition
2276         * BufferView.C (putSelectionAt): adjust
2277         * undo.C (performUndoOrRedo): adjust
2278         * lyxfunc.C (dispatch): adjust
2279
2280 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2281
2282         * iterators.C (lockPath): add a missing slice
2283         * undo.C (performUndoOrRedo): remove redundant positioning code
2284
2285 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2286
2287         * vc-backend.C (scanMaster): ";" -> ';'
2288
2289 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2290
2291         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2292         std::binary_function
2293
2294         * lyxtextclass.C (compare_name): rename to...
2295         (LayoutNamesEqual): ...this
2296
2297         * lyxlex_pimpl.C (compare_tags): inherit from
2298         std::binary_function, put back into anon namespace
2299
2300         * lyxfind.C (MatchString): inherig from std::binary_function
2301         (findChange): use empty() istead of !size()
2302
2303         * format.C (FormatNamesEqual): new functor
2304         (getFormat): use it
2305         (getNumber): use it
2306         (add): use it
2307         (erase): use it
2308         (setViewer): use it
2309
2310         * converter.C (compare_Converter): rename to...
2311         (ConverterEqual): ...this, and fixup a bit.
2312         (getConverter): use it, and make function const
2313         (getNumber): use it, and make function const
2314         (add): use it
2315         (erase): use it:
2316
2317         * bufferlist.C: add using boost::bind
2318
2319         * MenuBackend.C (MenuNamesEqual): new functor
2320         (hasMenu): use it, and make function const
2321         (hasSubmenu): use nested bind to get rid of compare_memfun.
2322
2323 2004-01-30  André Pönitz  <poenitz@gmx.net>
2324
2325         * BufferView_pimpl.C:
2326         * cursor.C:
2327         * cursor.h:
2328         * cursor_slice.[Ch]:
2329         * lyxfunc.C:
2330         * lyxtext.h:
2331         * paragraph_funcs.C:
2332         * paragraph_funcs.h:
2333         * rowpainter.C:
2334         * text.C:
2335         * text2.C:
2336         * text3.C: move some of the edit(x,y) handling to the insets
2337         some coordinate changes.
2338
2339 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2340
2341         * text.C: add using statements for std::advance and std::distance
2342
2343         * paragraph.C: add using statement for std::distance
2344
2345         * lyxfind.C: add using statement for std::advance
2346
2347         * cursor.C (region): remove std:: from swap
2348         (openable): use nucleus in stead of operator->
2349
2350         * BufferView.C: add using statements for std::distance and std::swap
2351
2352 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2353
2354         * iterators.C: Remove the pimple, move the needed structures to
2355         the header file. Create accessor for the positions stack.
2356         (asPosIterator): remove function
2357
2358         * PosIterator.C (PosIterator): move constructors to top of file
2359         (PosIterator): reimplement the constructor taking a ParIterator in
2360         terms of setFrom.
2361         (setFrom): new function
2362         (operator!=): inline it
2363
2364 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2365
2366         * lyxfind.C (replaceAll): use std::advance
2367
2368         * iterators.h: inherit from std::iterator.
2369
2370         * PosIterator.C (advance, distance): remove
2371         * PosIterator.h: interit from std::iterator.
2372
2373 2004-01-26  André Pönitz  <poenitz@gmx.net>
2374
2375         * BufferView.[Ch]:
2376         * BufferView_pimpl.[Ch]:
2377         * InsetList.[Ch]:
2378         * PosIterator.[Ch]:
2379         * buffer.h:
2380         * bufferview_funcs.C:
2381         * cursor.[Ch]:
2382         * cursor_slice.h:
2383         * factory.[Ch]:
2384         * iterators.[Ch]:
2385         * lyxfind.C:
2386         * lyxfunc.C:
2387         * lyxtext.h:
2388         * output_docbook.C:
2389         * output_latex.C:
2390         * output_linuxdoc.C:
2391         * output_plaintext.C:
2392         * paragraph.[Ch]:
2393         * paragraph_funcs.[Ch]:
2394         * paragraph_pimpl.[Ch]:
2395         * rowpainter.C:
2396         * tabular.C:
2397         * tabular.h:
2398         * text.C:
2399         * text2.C:
2400         * text3.C: more IU:  dumps most of the rest of the mathcursor
2401     implementation into cursor.[Ch]; "globalize" a bit of it.
2402
2403 2004-01-25  Angus Leeming  <leeming@lyx.org>
2404
2405         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2406
2407 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2408
2409         * LaTeXFeatures.h: add nice_ and nice() const
2410         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2411
2412 2004-01-20  André Pönitz  <poenitz@gmx.net>
2413
2414         * BufferView.[Ch]:
2415         * BufferView_pimpl.C:
2416         * PosIterator.C:
2417         * bufferview_funcs.C:
2418         * cursor.[Ch]:
2419         * cursor_slice.[Ch]:
2420         * factory.C:
2421         * iterators.C:
2422         * lyx_cb.C:
2423         * lyxfind.C:
2424         * lyxfunc.C:
2425         * lyxtext.h:
2426         * rowpainter.C:
2427         * text.C:
2428         * text2.C:
2429         * text3.C:
2430         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2431           LCursor and mathcursor parts to LCursor and InsetBase.
2432
2433 2004-01-15  André Pönitz  <poenitz@gmx.net>
2434
2435         * cursor_slice.[Ch]: add a few covienience functions
2436
2437         * funcrequest.[Ch]: remove BufferView * member
2438
2439         * BufferView_pimpl.C:
2440         * cursor.C:
2441         * factory.[Ch]:
2442         * lyxfind.[Ch]:
2443         * lyxfunc.C:
2444         * lyxtext.h:
2445         * text3.C:
2446         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2447
2448 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2449
2450         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2451         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2452
2453 2004-01-13  André Pönitz  <poenitz@gmx.net>
2454
2455         * textcursor.[Ch]:
2456         * lyxtext.h: hide cursor and selection anchor behind accessor function
2457
2458         * BufferView.C:
2459         * BufferView_pimpl.[Ch]:
2460         * PosIterator.C:
2461         * bufferview_funcs.C:
2462         * cursor.h:
2463         * lyxfind.C:
2464         * lyxfunc.C:
2465         * text.C:
2466         * text2.C:
2467         * text3.C:
2468         * undo.C: adjust
2469
2470         * cursor.h:
2471         * cursor_slice.[Ch]: some integer type changes for inset unification
2472
2473         * lyxcursor.[hC]: remove, it's CursorSlice now.
2474
2475         * Makefile.am:
2476         * BufferView_pimpl.[Ch]:
2477         * bufferview_funcs.C:
2478         * cursor_slice.C:
2479         * lyxtext.h:
2480         * text.C:
2481         * text2.C:
2482         * text3.C:
2483         * textcursor.[Ch]: adjust
2484
2485 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2486
2487         * text2.C (undoSpan): add and use
2488         * text.C (breakParagraph): use undoSpan (fix bug 578)
2489         * lyxtext.h: adjust
2490
2491 2004-01-08  Angus Leeming  <leeming@lyx.org>
2492
2493         * BufferView_pimpl.C (MenuInsertLyXFile):
2494         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2495         * lyxfunc.C (menuNew, open, doImport):
2496         FileFilterList change to the FileDialog open and save functions.
2497
2498 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2499
2500         * ShareContainer.h: make isEqual and isUnique adaptable
2501
2502         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2503
2504 2004-01-07  Angus Leeming  <leeming@lyx.org>
2505
2506         * LyXAction.C:
2507         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2508
2509         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2510
2511         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2512         functions replacing find, replace and replaceAll.
2513
2514         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2515         LFUN_WORDFIND(FORWARD|BACKWARD).
2516
2517 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2518
2519         * text.C (breakParagraph): remove an outdated #warning
2520
2521 2004-01-07  André Pönitz  <poenitz@gmx.net>
2522
2523         * lyxfind.C: somewhat clearer logic
2524
2525         * text.C: prevent crash in cursorX on unitialized row cache
2526
2527 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2528
2529         * lyxcursor.[Ch] (operator>): add
2530         * textcursor.C (selStart, selEnd): use std::min and std::max
2531
2532 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2533
2534         * Chktex.C: include boost/format.hpp
2535
2536 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2537
2538         * InsetList.C: replace functor MathcIt with adaptable functor
2539         InsetTablePosLess
2540         (insetIterator): modify accordingly
2541
2542         * BranchList.h: move the BranchNamesEqual functor here from...
2543         * BranchList.C: ... to here
2544
2545         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2546         SameName and match.
2547         (add): replace a finding loop with std::find_if.
2548
2549 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2550
2551         * output_docbook.C: moving LatexParam functionality into
2552         .layout files
2553
2554 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2555
2556         * buffer.C: increment format to 229.
2557
2558 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2559
2560         * LaTeXFeatures.C:
2561         * lyx_sty.[Ch]: remove minipageindent_def
2562
2563         * LyXAction.C:
2564         * factory.C:
2565         * lfuns.h:
2566         * lyxfunc.C:
2567         * text3.C: remove LFUN_INSET_MINIPAGE
2568
2569 2003-12-28  Angus Leeming  <leeming@lyx.org>
2570
2571         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2572
2573 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2574
2575         * text2.C (setParagraph): fix off-by-one crash
2576
2577 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2578
2579         * output_docbook.C: header stuff for AGU
2580
2581 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2582
2583         * text2.C (redoCursor): remove
2584         * text.C:
2585         * text3.C:
2586         * BufferView_pimpl.C: remove calls to redoCursor and
2587         setCursor(cursor.par(), cursor.pos()) all around
2588
2589 2003-12-15  Angus Leeming  <leeming@lyx.org>
2590
2591         * buffer.C: up the format to 228.
2592
2593 2003-12-15  André Pönitz  <poenitz@gmx.net>
2594
2595         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2596         slices
2597
2598         * Makefile.am:
2599
2600         * BufferView_pimpl.C:
2601         * cursor.[Ch]:
2602         * lyxcursor.[Ch]:
2603         * rowpainter.[Ch]:
2604         * lyxtext.h:
2605         * text.C:
2606         * text2.C:
2607         * text3.C: adjust
2608
2609 2003-12-15  Angus Leeming  <leeming@lyx.org>
2610
2611         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2612         than getFromGUIName to manipulate the color.
2613
2614 2003-12-14  Angus Leeming  <leeming@lyx.org>
2615
2616         * BranchList.[Ch]: minimize the API.
2617         (Branch::getBranch, getColor): now return a 'const &'.
2618         (Branch::setSelected) now returns a bool set to true if the
2619         selection status changes.
2620         (BranchList::clear, size, getColor, setColor, setSelected,
2621         allBranches, allSelected, separator): removed.
2622         (BranchList::find): new functions, returning the Branch with
2623         the given name.
2624         (BranchList::add, remove): return a bool indicating that
2625         the operation was successful.
2626
2627         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2628         new InsetBranch::isBranchSlected member function.
2629
2630         * LColor.[Ch]: mimimize the API.
2631         (fill): renamed as addColor and made private.
2632         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2633         versions of these functions taking a string arg have been removed.
2634
2635         * bufferparams.C (readToken):
2636         * lyxfunc.C (dispatch):
2637         * lyxrc.C (read): changes due to the altered BranchList and
2638         LColor APIs.
2639
2640         * factory.C (createInset, readInset): changes due to altered
2641         InsetBranch c-tor.
2642
2643 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2644
2645         * factory.C:
2646         * lyxfunc.C: remove insetminipage. "minipage-insert"
2647         now produces a frameless minipage box inset.
2648
2649 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2650
2651         * textcursor.[Ch] (selStart,selEnd): add new methods
2652         remove selection::start, end, use LyXCursor::operator<
2653         * lyxcursor.[Ch] (operator<): add
2654         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2655         * BufferView.[Ch] (unsetXSel): add
2656         * text2.C (clearSelection): use unsetXSel,adjust
2657         * text.C: adjust
2658         * text3.C: adjust
2659         * rowpainter.C: adjust
2660         * bufferview_funcs.C (put_selection_at): adjust
2661
2662 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2663
2664         * BufferView_pimpl.C: small coord. correction
2665
2666 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2667
2668         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2669         dragging over the splash screen.
2670
2671 2003-12-11  Angus Leeming  <leeming@lyx.org>
2672
2673         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2674         as it is now handled in LyXText::dispatch.
2675
2676         * text3.C (doInsertInset): remove a level of nesting.
2677
2678 2003-12-11  Angus Leeming  <leeming@lyx.org>
2679
2680         * factory.C (createInset): changes due to the changed interface to
2681         InsetCommandMailer::string2params.
2682
2683 2003-12-10  Angus Leeming  <leeming@lyx.org>
2684
2685         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2686         'dialog-show-new-inset <inset name>'
2687
2688 2003-12-10  Angus Leeming  <leeming@lyx.org>
2689
2690         * buffer.C: up the format to 227.
2691
2692         * factory.C: the box inset is now identified simply by 'Box'.
2693
2694 2003-12-10  Angus Leeming  <leeming@lyx.org>
2695
2696         * buffer.C: up the format to 226.
2697
2698         * factory.C: the note inset is now identified simply by 'Note'.
2699
2700 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2701
2702         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2703         when a pit is enough. Standarize a couple of loops.
2704
2705 2003-12-05  Angus Leeming  <leeming@lyx.org>
2706
2707         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2708         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2709         data to the re-worked "log" dialog.
2710
2711 2003-12-03  André Pönitz  <poenitz@gmx.net>
2712
2713         * PosIterator.C:
2714         * iterators.C:
2715         * lyxtext.h:
2716         * output_latex.C:
2717         * paragraph_funcs.C:
2718         * text.C:
2719         * text2.C: use Inset::getText instead of Inset::getParagraph
2720
2721 2003-12-03  André Pönitz  <poenitz@gmx.net>
2722
2723         * buffer.[Ch]:
2724         * lyxtext.h:
2725         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2726         InsetText::read() as LyXText::read()
2727
2728 2003-12-02  Angus Leeming  <leeming@lyx.org>
2729
2730         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2731         type. Add a comment in the implementation that the function uses
2732         the stream's bad() function rather than fail() as the std::streams
2733         would do.
2734
2735 2003-12-02  André Pönitz  <poenitz@gmx.net>
2736
2737         * lyxlex.[Ch]: make interface more similar to std::stream
2738
2739         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2740
2741 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2742
2743         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2744
2745 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2746
2747         * vspace.[Ch]: remove VSpace::NONE
2748
2749 2003-12-01  André Pönitz  <poenitz@gmx.net>
2750
2751         * buffer.[Ch]:
2752         * lyxtext.h: move ParagraphList member to LyXText
2753         rename LyXText::ownerParagraphs to LyXText::paragraph
2754
2755         * CutAndPaste.C:
2756         * bufferview_funcs.C:
2757         * iterators.[Ch]:
2758         * lyx_cb.C:
2759         * paragraph.C:
2760         * rowpainter.C:
2761         * tabular.C:
2762         * text.C:
2763         * text2.C:
2764         * text3.C: adjust
2765
2766         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2767
2768         * undo.C: fix cursor positioning
2769
2770 2003-12-01  John Levon  <levon@movementarian.org>
2771
2772         * BufferView_pimpl.C: fix a crash on exit with
2773         a buffer open
2774
2775 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2776
2777         * BranchList.C: fix setSelected() method.
2778
2779 2003-11-28  André Pönitz  <poenitz@gmx.net>
2780
2781         * ParagraphParameters.[Ch]:
2782         * ParameterStruct.h: remove space above/below from Paragraph to
2783          InsetVSpace
2784
2785         * BufferView_pimpl.C:
2786         * factory.C:
2787         * lyxfunc.C:
2788         * lyxtext.h:
2789         * output_latex.C:
2790         * paragraph.C:
2791         * paragraph_funcs.C:
2792         * rowpainter.[Ch]:
2793         * text.C:
2794         * text2.C:
2795         * text3.C: adjust
2796
2797 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2798
2799         * factory.C: Syntax change for CharStyles
2800
2801 2003-11-28  André Pönitz  <poenitz@gmx.net>
2802
2803         * BufferView.[Ch]:
2804         * BufferView.[Ch]:
2805         * buffer.[Ch]:
2806         * buffer.[Ch]: move LyXText member
2807
2808 2003-11-28  André Pönitz  <poenitz@gmx.net>
2809
2810         * BufferView.[Ch]: make LyXText * text a private member
2811
2812         * BufferView_pimpl.C:
2813         * cursor.C:
2814         * iterators.C:
2815         * lyx_cb.C:
2816         * lyxfind.C:
2817         * lyxtext.h:
2818         * rowpainter.[Ch]:
2819         * text.C:
2820         * text2.C:
2821         * undo.C: adjust
2822
2823         * output_plaintext.C: cleanup
2824
2825 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2826
2827         * buffer.C:
2828         * lyxtextclass.[Ch]: parametrize SGML document header
2829
2830 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2831
2832         * converter.[Ch]:
2833         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2834         getFlavor().
2835
2836 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2837
2838         * text2.C (setFont): rework using PosIterator (no more recursive)
2839         (setCharFont): no more needed
2840         (setLayout): no more selection cursors fiddling (done by redoCursor)
2841         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2842         destroy remaining ones)
2843
2844 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2845
2846         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2847         * lyxtext.h: ditto
2848         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2849         selection cursors
2850         * lyxfunc.C: adjust
2851         * text3.C: adjust + re-allow multi par depth changes
2852         * textcursor.C: simplify a bit
2853
2854 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2855
2856         * src/buffer.C:
2857         * src/lyxlayout.C:
2858         * src/lyxlayout.h:
2859         * src/lyxtext.h:
2860         * src/output_docbook.C:
2861         * src/output_latex.C:
2862         * src/paragraph.C:
2863         * src/paragraph.h:
2864         * src/sgml.C:
2865         * src/sgml.h:
2866         * src/text2.C: Introducing a number of tags parametrizing various
2867         XML formats that we may want to support
2868
2869 2003-11-25  André Pönitz  <poenitz@gmx.net>
2870
2871         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2872
2873         * lyxtext.h (leftMargin/rightMargin): simplify interface
2874
2875         * rowpainter.C:
2876         * text.C:
2877         * text2.C:
2878         * text3.C: adjust
2879
2880 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2881
2882         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2883         master file to any child files. Fixes bug 546.
2884
2885 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2886
2887         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2888
2889 2003-11-24  André Pönitz  <poenitz@gmx.net>
2890
2891         * rowpainter.C: simplification
2892
2893         * text2.C (updateCounters): remove call to redoParagraph on
2894         changed labels as this is far too expensive.
2895
2896 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2897
2898         * converter.C (convert): fix a crash: this function gets
2899         called with buffer == 0 from importer code.
2900
2901 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2902
2903         * text3.C (cursorPrevious): make sure that we do not compare
2904         iterators form different containers.
2905         (cursorNext): ditto
2906
2907         * rowpainter.C (paintSelection): make sure that we do not compare
2908         iterators from different containers.
2909
2910         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2911         iterators from different ParagraphList containers.
2912         [NEXT] ditto
2913
2914         * text2.C (LyXText): change order of initialization slightly
2915         (operator=): new function. copy all variables except cache_par_
2916         (moveUp): make sure that we do not compare iterators from
2917         different ParagraphList constainers.
2918         (moveDown): ditto
2919
2920         * text.C (firstPar): new function
2921         (lastPar): new function
2922         (endPar): new function
2923
2924         * lyxtext.h: move things around and group public functions, public
2925         variables, private functions, private variables
2926
2927 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2928
2929         * factory.C: change call to InsetERT constructor to avoid
2930         additional invocation of method status
2931         * text2.C (toggleInset): remove redundant update() call
2932         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2933         instead of a Bufferview pointer
2934
2935 2003-11-21  André Pönitz  <poenitz@gmx.net>
2936
2937         * rowpainter.C: simplification
2938
2939 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2940
2941         * text3.C (dispatch): make possible to extend a word/row selection
2942         with the mouse
2943
2944 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2945
2946         * lyxtext.h: x0_,y0_ -> xo_,yo_
2947         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2948         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2949         * rowpainter.C (paintRows): paint full paragraphs
2950
2951 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2952
2953         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2954         screen coordinates)
2955
2956 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2957
2958         * lyxtext.h: add x0_, y0_
2959         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2960         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2961
2962 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2963
2964         * text2.C (setCursorIntern): move the x_target update here *
2965         * text3.C: change some bv() to true/false in calls to
2966         cursorUp/Down/Right/Left
2967         * cursor.C: use helper function.
2968
2969 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2970
2971         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2972         * paragraph_funcs.[Ch]: correct comment
2973         * rowpainter.C: do not paint selections away from bv->cursor()
2974         Fix a long standing selection painting bug.
2975         * text3.C: generalize mouse-selection code to LyXTexts other that
2976         top one
2977         * textcursor.C: do not use y coords if we can use par offsets
2978
2979 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2980
2981         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2982         cursor position after e.g. inset insert)
2983
2984 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2985
2986         * lyxfind.C (replace): adjust to locking removal + some
2987         code simplification
2988
2989 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2990
2991         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2992         of the path
2993
2994 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2995
2996         * lyxlayout.[Ch]:
2997         * output_docbook.C: XML sanitation: new layout
2998         parameters InnerTag and CommandDepth
2999
3000 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
3001
3002         * BufferView_pimpl.C:
3003         * factory.C:
3004         * text3.C: Fix the insertion and modification of button-style
3005         insets
3006
3007 2003-11-13  André Pönitz  <poenitz@gmx.net>
3008
3009         * InsetList.[Ch]: remove deleteLyXText
3010
3011         * paragraph.[Ch]: cache beginOfBody position
3012
3013         * Bidi.C:
3014         * text.C:
3015         * text2.C:
3016         * text3.C: remove superfluous update() calls
3017
3018         * vspace.C: cleanup
3019
3020 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
3021
3022         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
3023         * BufferView.C (fitLockedInsetCursor): remove
3024         * cursor.[Ch] (getDim): add
3025         * text.C (getRowNearY): add faster version
3026         * text3.C: remove some update calls
3027
3028 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
3029
3030         * LaTeXFeatures.C:
3031         * LyXAction.C:
3032         * MenuBackend.C:
3033         * MenuBackend.h:
3034         * dispatchresult.h:
3035         * factory.C:
3036         * lfuns.h:
3037         * lyxfunc.C:
3038         * lyxtextclass.C:
3039         * lyxtextclass.h:
3040         * text3.C: The Character Style /XML short element patch.
3041
3042 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
3043
3044         * text3.C:
3045         * factory.C: Small step to solving 'unable to insert some insets'
3046         problem
3047
3048 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
3049
3050         * cursor.[Ch] (updatePos): new function for updating the y
3051         position of the tip inset
3052         * bufferview_funcs.C (put_selection_at):
3053         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
3054
3055 2003-11-11  André Pönitz  <poenitz@gmx.net>
3056
3057         * text.C: remove big comment on invalid Paragraph pointers as it is
3058         not valid anymore
3059
3060 2003-11-11  André Pönitz  <poenitz@gmx.net>
3061
3062         * text_funcs.[Ch]: merge with ...
3063
3064         * text.C: ... this
3065
3066         * lyxtext.h:
3067         * text2.C:
3068         * text3.C: adjust
3069
3070         * Makefile.am: remove text_funcs.[Ch]
3071
3072 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
3073
3074         * cursor.C (getPos): return absolute cached y coord
3075
3076         * BufferView_pimpl.C (fitCursor): new simplistic code
3077         (workAreaDispatch): add a fitCursor call
3078
3079 2003-11-10  André Pönitz  <poenitz@gmx.net>
3080
3081         * BufferView.[Ch]:
3082         * BufferView_pimpl.[Ch]: merge update() and updateInset()
3083
3084 2003-11-10  André Pönitz  <poenitz@gmx.net>
3085
3086         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
3087         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
3088         indicate that the cursor needs to leave an inset
3089
3090         * lyxtext.h: remove inset locking
3091
3092         * cursor.[Ch]: re-implement functionality provided by inset locking
3093
3094         * BufferView.[Ch]:
3095         * BufferView_pimpl.[Ch]:
3096         * LyXAction.C:
3097         * bufferview_funcs.[Ch]:
3098         * factory.C:
3099         * funcrequest.[Ch]:
3100         * iterators.C:
3101         * lyx_cb.C:
3102         * lyxfind.C:
3103         * lyxfunc.C:
3104         * text.C:
3105         * text2.C:
3106         * text3.C:
3107         * undo.C: adjust
3108
3109 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
3110
3111         * PosIterator.[Ch]: replace the stack with a vector, add inset
3112         accesor
3113         * iterators.[C]: adjust
3114
3115 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3116
3117         * lyxfind.C (replaceAll): mark the buffer dirty if something was
3118         replaced
3119         * paragraph_funcs.C (readParToken): put the correct id in the
3120         error item, not the id of the top paragraph
3121
3122 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
3123
3124         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
3125         * bufferview_funcs.C (put_selection_at): use the above
3126
3127 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3128
3129         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
3130
3131 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3132
3133         * output_linuxdoc.h:
3134         * output_plaintext.h:
3135         * output.h:
3136         * output_docbook.h: add #include statements
3137
3138 2003-11-05  José Matos  <jamatos@lyx.org>
3139
3140         * output_docbook.[Ch]:
3141         * output_latex.[Ch]:
3142         * output_linuxdoc.[Ch]:
3143         * output_plaintext.[Ch]: New files for output formats.
3144         * output.[Ch]: New file for helper functions.
3145
3146         * buffer.[Ch]:
3147         * paragraph_funcs.[Ch]: output functions moved to new files.
3148
3149         * outputparams.h: rename of latexrunparams.h
3150
3151         * LaTeX.[Ch]:
3152         * buffer.[Ch]:
3153         * bufferlist.[Ch]:
3154         * converter.[Ch]:
3155         * exporter.C:
3156         * paragraph.[Ch]:
3157         * paragraph_funcs.[Ch]:
3158         * paragraph_pimpl.[Ch]:
3159         * tabular.[Ch]: rename ascii to plaintext
3160         and LatexRunParams to OutputParams.
3161
3162 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3163
3164         * iterators.[Ch] (text): require bv argument
3165         * undo.C (recordUndo):
3166         * lyxfunc.C (dispatch):
3167         * bufferview_funcs.C (put_selection_at): adjust
3168
3169 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
3170
3171         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3172
3173 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3174
3175         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3176         nestings
3177
3178 2003-11-04  André Pönitz  <poenitz@gmx.net>
3179
3180         * cursor.[Ch]: restructure
3181
3182         * BufferView.[Ch]:
3183         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3184
3185         * iterators.[Ch] (asCursor): remove
3186
3187         * lfuns.h: remove LFUN_INSET_EDIT
3188
3189         * lyxfunc.C:
3190         * tabular.C:
3191         * text.C:
3192         * text2.C:
3193         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3194
3195 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3196
3197         * lyxfind.[Ch]: complete overhaul
3198         * BufferView_pimpl.C:
3199         * lyxfunc.C: adjust
3200         * paragraph.[Ch] (insert): add
3201
3202 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3203
3204         * BufferView.[Ch]:
3205         * lyxtext.h:
3206         * text.C: remove dead spellcheck code
3207
3208 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3209
3210         * dispatchresult.h: add a val setter
3211
3212         * cursor.C (dispatch): use a tempvar for data_[i]
3213
3214 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3215
3216         * PosIterator.[Ch]: compile fix
3217
3218 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3219
3220         * text.C (cursorPar): deactivate the cursor cache
3221
3222 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3223
3224         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3225
3226 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3227
3228         * text3.C (dispatch): adjust for new DisptchResult semantics.
3229
3230         * lyxfunc.C (dispatch): handle update when return from
3231         Cursor::dispatch, adjust for new DispatchResult semantics.
3232
3233         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3234         DispatchResult(true) mean to not update. Add class functions for
3235         setting dispatched and update, as well as reading.
3236
3237         * cursor.C (dispatch): don't handle update here
3238
3239 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3240
3241         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3242         * trans_mgr.C: adjust
3243
3244         * paragraph_funcs.C (readParToken): exception safety
3245
3246         * lyxvc.h: store the vcs pointer in a scoped_ptr
3247         * lyxvc.C: adjust
3248
3249         * lyxsocket.C (serverCallback): exception safety
3250
3251         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3252
3253         * ispell.C (clone): make it return a auto_ptr
3254
3255         * factory.C (createInset): exception safety
3256         (readInset): exception safety
3257
3258         * bufferlist.C (newBuffer): exception safety
3259
3260         * Thesaurus.C (Thesaurus): use initialization for aik_
3261
3262         * MenuBackend.C (expandToc): exception safety.
3263
3264 2003-11-03  André Pönitz  <poenitz@gmx.net>
3265
3266         * buffer.C:
3267         * buffer.h:
3268         * bufferview_funcs.C: remove getInsetFromId()
3269
3270         * lyxcursor.[Ch]:
3271         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3272
3273         * lyxfunc.C:
3274         * text2.C:
3275         * text3.C: adjust
3276
3277 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3278
3279         * PosIterator.C (distance, advance): new
3280         * bufferview_funcs.[Ch] (put_selection_at): new
3281         * iterators.[Ch] (lockPath): new
3282
3283 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3284
3285         * iterators.[Ch] (asPosIterator): added
3286         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3287         * PosIterator.[Ch]: added
3288
3289 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3290
3291         * text3.C:
3292         * lyxfunc.C:
3293         * cursor.C (dispatch):
3294         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3295
3296         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3297         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3298         contructor, add a class function dispatched. Remove operator>=
3299
3300 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3301
3302         * debug.C: only use the default constructor for debugstream
3303         (lyxerr) here.
3304
3305         * main.C (main): include debug.h and setup the lyxerr streambuf
3306         here.
3307
3308 2003-10-31  José Matos  <jamatos@lyx.org>
3309
3310         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3311
3312         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3313         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3314         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3315         * paragraph_pimpl.C (simpleTeXSpecialC):
3316         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3317         add LatexRunParams argument.
3318
3319         * exporter.C (Export): change call accordingly.
3320
3321         * latexrunparams.h: add new member to take care of the other backends.
3322 2003-10-30  José Matos  <jamatos@lyx.org>
3323
3324         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3325         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3326         factorise code for paragraph output.
3327         * buffer.[Ch]:
3328         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3329         move functions.
3330
3331 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3332
3333         * text3.C (dispatch):
3334         * lyxfunc.C (dispatch):
3335         * cursor.C (dispatch):
3336         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3337
3338         * dispatchresult.h: make the dispatch_result_t ctor explicit
3339
3340 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3341
3342         * sgml.[Ch]:
3343         * buffer.C: small refactoring of docbook stuff
3344
3345 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3348         meaning.
3349
3350 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3351
3352         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3353         operator dispatch_result_t, and operators for == != and >=
3354
3355         * cursor.C (dispatch): adjust for operator dispatch_result_t
3356         removal. comment out call to update
3357
3358         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3359
3360 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3361
3362         * text3.C:
3363         * text2.C:
3364         * text.C:
3365         * lyxtext.h:
3366         * lyxfunc.C:
3367         * cursor.C:
3368         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3369         (dispatch):
3370
3371         * dispatchresult.h: new file, DispatchResult broken out of
3372         insets/insetbase.h
3373
3374         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3375
3376 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3377
3378         * text.C (rowBreakPoint): put a hack inside #if 0
3379
3380 2003-10-28  André Pönitz  <poenitz@gmx.net>
3381
3382         * lyxtext.h:
3383         * metricsinfo.C:
3384         * paragraph_funcs.C:
3385         * rowpainter.C:
3386         * text.C:
3387         * text2.C: general cleanup (lots of small stuff)
3388
3389 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3390
3391         * text2.C (cursorEnd): simple fix to the "end key goes to one
3392         before the end on last row" bug
3393
3394 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3395
3396         * text.C (backspace): fix the "zombie characters"
3397
3398 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3399
3400         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3401
3402 2003-10-27  André Pönitz  <poenitz@gmx.net>
3403
3404         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3405
3406         * factory.C: handle new InsetPagebreak, InsetLine
3407
3408         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3409         and move handling into new InsetPagebreak, InsetLine
3410
3411         * BufferView_pimpl.C:
3412         * LyXAction.C:
3413         * ParagraphParameters.C:
3414         * ParameterStruct.h:
3415         * lyxfunc.C:
3416         * lyxtext.h:
3417         * paragraph.C:
3418         * paragraph.h:
3419         * paragraph_funcs.C:
3420         * paragraph_pimpl.C:
3421         * rowpainter.C:
3422         * text.C:
3423         * text2.C:
3424         * text3.C: adjust
3425
3426 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3427
3428         * text.C:
3429         * lyxrow_funcs.[Ch]:
3430         * Bidi.C:
3431         * paragraph.C:
3432         * lyxtext.h:
3433         * rowpainter.C:
3434         * text2.C:
3435         * text3.C: remove lastPos uses in favour of Row::endpos
3436
3437 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3438
3439         * undo.C (performUndoOrRedo): fix two crashes by setting a
3440         cursor by hand and reordering some calls. Use bv->lockInset instead
3441         of inset->edit because the latter loses cursor information
3442
3443 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3444
3445         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3446         by Martin
3447         (rowBreakPoint): fix width. change point to point + 1.
3448         Add a missing check.
3449
3450 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3451
3452         * MenuBackend.C:
3453         * lyxfunc.C: fix (at least partly) the problems
3454         with the Nav menu and headers inside branch insets
3455         reported by Kayvan
3456
3457 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3458
3459         * paragraph.C (getChar): add strong asserts
3460
3461         * lyxrow_funcs.C (lastPos): remove hideous hack
3462
3463         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3464         (fill): adjust to that (avoid an infinite loop)
3465
3466 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3467
3468         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3469
3470 2003-10-23  André Pönitz  <poenitz@gmx.net>
3471
3472         * RowList_fwd.h: change list<> to vector<> to gain speed
3473         after suggestion from Alfredo
3474
3475 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3476
3477         * lyxtext.h: move the bidi stuff from here...
3478         * text.C: and here
3479         * text2.C: and here
3480         * Bidi.[Ch]: ... to here
3481
3482 2003-10-23  André Pönitz  <poenitz@gmx.net>
3483
3484         * lyxtext.h:
3485         * text.C (isLastRow, isFirstRow): new functions
3486
3487         * paragraph.h: new width cache member
3488
3489         * rowpainter.C: replace RowList::iterator with Row & where possible
3490
3491         * lyxfunc.C: replace several view()->text with a single call
3492
3493         * toc.C: fix 'unused' warning
3494
3495 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3496
3497         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3498         when woring with stream::pos_type
3499         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3500
3501 2003-10-22  André Pönitz  <poenitz@gmx.net>
3502
3503         * lyxtext.h:
3504         * text.C: use Row & instead of RowList::iterator
3505
3506         * lyxrow.h: rename end() to endpos()
3507
3508         * rowpainter.C:
3509         * text.C:
3510         * text2.C: adjust
3511
3512 2003-10-22  Angus Leeming  <leeming@lyx.org>
3513
3514         * buffer.[Ch] (fully_loaded): new member function, returning true
3515         only when the file has been loaded fully.
3516         Used to prevent the premature generation of previews and by the
3517         citation inset to prevent computation of the natbib-style label.
3518
3519         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3520         templates are all set up.
3521
3522         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3523
3524 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3525
3526         * text.C: fixed an "oops" in the "is a bit silly"
3527         bug fix
3528
3529 2003-10-21  André Pönitz  <poenitz@gmx.net>
3530
3531         * FuncStatus.[Ch]: small stuff, whitespace
3532
3533         * lyxfont.[Ch]: operator<<() for debug reasons
3534
3535         * lyxfunc.C:
3536         * lyxrow_funcs.C:
3537         * lyxtext.h: whitespace, spelling
3538
3539         * paragraph.C: naming of variables
3540
3541         * text.C:
3542         * text2.C: small stuff
3543
3544
3545 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3546
3547         * text.C: (1) finish off the inset display() work;
3548         (2) fix the "is a bit silly" bug (accessing char
3549         past end of par).
3550
3551 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3552
3553         * text.C: re-introduce display() for insets, fixing the
3554         various bugs (stretch of line above, math inset
3555         positioning, ...)
3556
3557 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3558
3559         * text.C (rightMargin): remove spurious semicolon
3560
3561         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3562         1415)
3563
3564 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3565
3566         * text3.C: fix one crash due to wrong cursor def
3567
3568 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * vc-backend.C (scanMaster): make the regex static
3571
3572         * LaTeX.C (scanAuxFile): make the regexs static
3573
3574         * text3.C (doInsertInset, dispatch, dispatch):
3575         * text2.C (cursorUp, cursorDown):
3576         * text.C (selectNextWordToSpellcheck):
3577         * BufferView_pimpl.C (dispatch):
3578         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3579
3580 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3581
3582         * lyxsocket.C: include <cerrno>
3583
3584 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3585
3586         * lyxfunc.C (dispatch): remove textcache stuff
3587
3588         * bufferlist.C (release): remove textcache stuff
3589         (closeAll): ditto
3590
3591         * TextCache.C: delete file
3592         * TextCache.h: delete file
3593
3594         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3595
3596         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3597         delete of the bv_->text.
3598         (resizeCurrentBuffer): remove texcache stuff
3599         (workAreaResize): ditto
3600
3601 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3602
3603         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3604         action.
3605
3606 2003-10-16  André Pönitz  <poenitz@gmx.net>
3607
3608         * lyxrow.[Ch]:
3609         * paragraph.h:
3610         * rowpainter.C:
3611         * text.C:
3612         * text2.C:
3613         * text3.C: speed up by storing y positions per paragraph plus per-row
3614         offset instead of having a 'full' y position in the row.
3615
3616 2003-10-15  André Pönitz  <poenitz@gmx.net>
3617
3618         * iterators.[Ch]:
3619         * iterators.[Ch]:
3620         * undo.[Ch]: make undo aware of inner insets
3621
3622 2003-10-14  Angus Leeming  <leeming@lyx.org>
3623
3624         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3625         static member functions LyX::ref() and LyX::cref.
3626         (lastfiles): new accessor functions for the new lastfiles_ member var.
3627         (addLyXView, views_): add a new LyXView to the list of views_.
3628         (updateInset): loop over all LyXViews to call their own updateInset
3629         member function, returning a pointer to the Buffer owning the inset.
3630
3631         * BufferView_pimpl.C (loadLyXFile):
3632         * MenuBackend.C (expandLastfiles):
3633         * bufferlist.C (MenuWrite, QuitLyX):
3634         lastfiles is no longer a global variable.
3635         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3636
3637         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3638         static function. Access through LyX::cref().emergencyCleanup().
3639
3640 2003-10-14  André Pönitz  <poenitz@gmx.net>
3641
3642         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3643
3644         * undo.[Ch]: restoring part of 'undo in insets'
3645
3646         * Makefile.am:
3647         * undo_funcs.[Ch]: merge with undo.[Ch]
3648
3649         * tabular.C: small cleansing stuff
3650
3651 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3652
3653         * paragraph_funcs.C (readParToken): report unknown insets as error
3654         boxes. Use the outer paragraph as location (also for unknown
3655         tokens).
3656
3657         * factory.C (readInset): do not abort on reading an unknown inset.
3658         Eat it and return 0.
3659
3660 2003-10-13  Angus Leeming  <leeming@lyx.org>
3661
3662         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3663
3664         * lyxrc.C: displayTranslator is now a function,
3665         declared in GraphicsTypes.h.
3666
3667 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3668
3669         * format.C: new placeholder $$a to pass the socket address.
3670
3671         * bufferlist.[Ch]: new function getBufferFromTmp.
3672
3673         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3674           files in the temporary dir.
3675
3676 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3677
3678         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3679
3680         * Makefile.am: add lyxsocket.[Ch].
3681
3682         * lyx_main.C (error_handler): handle SIGPIPE.
3683
3684 2003-10-13  André Pönitz  <poenitz@gmx.net>
3685
3686         * BufferView_pimpl.C:
3687         * lyxtext.h:
3688         * text.C:
3689         * text2.C:
3690         * text3.C:
3691         * undo_funcs.[Ch]: use paroffset_type instead of
3692           ParagraphList::iterators to prevent multiple conversion
3693           (and get a more robust interface)
3694
3695 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3696
3697         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3698         * lyxtext.h: ditto
3699         * text3.C (dispatch): ditto
3700
3701 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3702
3703         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3704         move the onlyfile, use onlyfile instead of foundfile in a couple
3705         of places.
3706
3707         * DepTable.C (update): flush the error stream a bit more
3708
3709 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3710
3711         * lyxserver.C (callback): adjust
3712
3713         * lyxfunc.C (getStatus): add a missing brace in commented code
3714         (ensureBufferClean): reindent
3715         (dispatch): delete version taking a string
3716
3717 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3718
3719         * LaTeX.C (deplog): move found file handlig from here...
3720         (handleFoundFile): .. to new function here.
3721         (deplog): make sure to discover several files mentioned on the
3722         same log line.
3723
3724 2003-10-10  André Pönitz  <poenitz@gmx.net>
3725
3726         * lyxfunc.C:
3727         * lyxtext.h:
3728         * tabular.C:
3729         * text.C:
3730         * text2.C:
3731         * text3.C: fix some of the tabular crashes
3732
3733 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3734
3735         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3736
3737         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3738
3739 2003-10-09  André Pönitz  <poenitz@gmx.net>
3740
3741         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3742
3743         * BufferView.C:
3744         * BufferView_pimpl.C:
3745         * bufferview_funcs.C:
3746         * lyx_cb.C:
3747         * lyxcursor.C:
3748         * lyxfind.C:
3749         * lyxfunc.C:
3750         * lyxtext.h:
3751         * text.C:
3752         * text2.C:
3753         * text3.C:
3754         * text_funcs.[Ch]:
3755         * textcursor.[Ch]:
3756         * undo_funcs.C: adjust
3757
3758 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3759
3760         * text2.C (incrementItemDepth): new function, use a backtracking
3761         algorithm to discover the correct item depth.
3762         (resetEnumCounterIfNeeded): new function, use a backtracking
3763         algorithm to discover if counter reset is needed.
3764         (setCounter): use them. Simplify a bit. Add different labels for
3765         different item depths for itemize.
3766
3767         * paragraph.C (Paragraph): remove initialization of enumdepth
3768         (operator=): ditto
3769
3770         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3771         enumerate and itemize. Change the type of itemdepth to signed char.
3772
3773 2003-10-08  André Pönitz  <poenitz@gmx.net>
3774
3775         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3776           thing assignable.
3777         * text.C:
3778         * text2.C: adjust
3779
3780         * tabular.[Ch]: fix crash after 'row-insert'
3781
3782 2003-10-08  Angus Leeming  <leeming@lyx.org>
3783
3784         Fix doxygen warnings.
3785
3786         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3787         Remove CutAndPaste:: prefix from header file declaration.
3788
3789         * LColor.h (fill): remove LColor:: prefix from declaration.
3790
3791         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3792         use lyx::depth_type rather than Paragraph::depth_type so that
3793         header file and .C file match.
3794
3795         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3796
3797         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3798         * aspell.C: \file aspell_local.C -> \file aspell.C
3799         * gettext.C: \file gettext.C -> \file src/gettext.C
3800         * gettext.h: \file gettext.h -> \file src/gettext.h
3801         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3802         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3803         * text.C: \file text.C -> \file src/text.C
3804
3805         * toc.C: move comment so that doxygen is not confused.
3806
3807 2003-10-07  Angus Leeming  <leeming@lyx.org>
3808
3809         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3810
3811 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3812
3813         * aspell.C:
3814         * aspell_local.h: add forgotten std::string's.
3815
3816 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3817
3818         * LaTeXFeatures.C:
3819         * LyXAction.C:
3820         * factory.C:
3821         * lfuns.h:
3822         * lyxfunc.C:
3823         * text3.C: The Box patch. Fancybox support, minipage, parbox
3824
3825 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3826
3827         * CutAndPaste.h:
3828         * DepTable.h:
3829         * FloatList.h:
3830         * LaTeXFeatures.h:
3831         * ParagraphParameters.h:
3832         * TextCache.h:
3833         * Thesaurus.h:
3834         * bufferlist.h:
3835         * exporter.h:
3836         * importer.h:
3837         * lastfiles.h:
3838         * lyxfind.h:
3839         * lyxfont.h:
3840         * lyxlex.h:
3841         * lyxtextclasslist.h:
3842         * messages.h:
3843         * paragraph.h:
3844         * paragraph_pimpl.C:
3845         * textcursor.h: add <string> and other small fixes to make Lars'
3846         std::string patch compile with STLport.
3847
3848 2003-10-06  Angus Leeming  <leeming@lyx.org>
3849
3850         * LColor.h: Add missing #include <string>.
3851
3852 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3853
3854         * All most all file in all subdirs: Make <string> be the prefered
3855         way of getting to std::string, add using declarations.
3856
3857 2003-10-06  André Pönitz  <poenitz@gmx.net>
3858
3859         * metricsinfo.C: initialize LyXFont before changing attribute.
3860         (fixes the 'math in \emph is upright' bug)
3861
3862 2003-10-06  André Pönitz  <poenitz@gmx.net>
3863
3864         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3865
3866 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3867
3868         * graph.C:
3869         * paragraph_pimpl.C: Small fixes to build using STLport
3870
3871 2003-10-02  André Pönitz  <poenitz@gmx.net>
3872
3873         * lyxfunc.C:
3874         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3875
3876 2003-10-01  André Pönitz  <poenitz@gmx.net>
3877
3878         * factory.C: assert early
3879
3880 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3881
3882         * lyx_main.C: remove the global debug object
3883
3884         * debug.h: adjust for new debugstream
3885
3886         * debug.C: adjust for new debugstream and keep the global debug
3887         object here.
3888
3889 2003-09-22  Angus Leeming  <leeming@lyx.org>
3890
3891         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3892         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3893         an incomplete class LyXFont.
3894
3895 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3896
3897         * factory.C: bug fix in branches
3898
3899 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3900
3901         * lyxfunc.C (processKeySym): adjust
3902         (dispatch): adjust
3903         (dispatch): change arg name from ev to func, adjust
3904         (sendDispatchMessage): ditto
3905
3906         * lyx_main.C (defaultKeyBindings): adjust keybindings
3907         (deadKeyBindings): ditto
3908
3909         * kbsequence.C (addkey): return a FuncRequest
3910
3911         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3912
3913         * kbmap.C (bind): take a FuncRequest as arg, adjust
3914         (read): adjust
3915         (lookup): adjust
3916         (defkey): change to take a FuncRequest as arg, adjust
3917         (findbinding): take a FuncRequest as arg, adjust.
3918
3919         * funcrequest.h (operator=): added
3920
3921         * funcrequest.C (FuncRequest): default kb_action changed from
3922         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3923
3924         * buffer.C (dispatch): simplify
3925         (dispatch): adjust to take a FuncRequest as arg, adjust
3926
3927         * boost.C (assertion_failed): change assertion message slightly
3928
3929         * ToolbarBackend.C (read): simplify
3930
3931         * MenuBackend.C (binding): adjust call to findbinding, add a
3932         message if no binding is found.
3933         (read): simplify
3934         (expandToc): correct by adding a empty FuncRequest
3935
3936         * LyXAction.C: include <boost/assert.hpp>
3937         (isPseudoAction): delete function
3938         (LookupFunc): change name to...
3939         (lookupFunc): this. change return type to FuncRequest.
3940         (getActionName): take kb_action as arg, simplify
3941         (funcHasFlag): add an assert, simplify.
3942
3943 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3944
3945         * toc.C (action): return a FuncRequest, simplify
3946
3947         * lyxfunc.C (processKeySym): adjust
3948         (getStatus): delete version that takes an int.
3949         (getStatus): adjust
3950         (dispatch): delete version that takes action as int
3951         (dispatch): adjust
3952         (sendDispatchMessage): simplify and adjust
3953
3954         * funcrequest.C (getArg): take unsigned int as arg
3955
3956         * ToolbarBackend.C (read): adjust
3957         (add): delete version that takes func as a string.
3958         (getIton): take a FuncRequest as arg
3959
3960         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3961         action.
3962
3963         * MenuBackend.C (MenuItem): add a new construct that only takes a
3964         Kind, simplify the constructor use for submenus.
3965         (add): adjust
3966         (expandLastfiles): adjust
3967         (expandDocuments): adjust
3968         (expandFormats): adjust
3969         (expandFloatListInsert): adjust
3970         (expandFloatInsert): adjust
3971         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3972
3973         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3974         Remove class variables lyx_pseudo_map and lyx_arg_map
3975
3976         * LyXAction.C (searchActionArg): delete function
3977         (getPseudoAction): delete function
3978         (retrieveActionArg): delete function
3979         (LookupFunc): make it return kb_action, simplify.
3980         (getActionName): simplify
3981
3982         * factory.C (createInset): fix new bug
3983
3984 2003-09-19  Angus Leeming  <leeming@lyx.org>
3985
3986         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3987         masterFilename_ parameter in the include inset.
3988
3989         * factory.C (createInset): changes due to the changes to InsetInclude.
3990
3991 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3992
3993         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3994
3995 2003-09-18  Angus Leeming  <leeming@lyx.org>
3996
3997         * buffer.C:
3998         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3999         Inset::fillWithBibKeys.
4000         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
4001
4002 2003-09-18  Angus Leeming  <leeming@lyx.org>
4003
4004         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
4005         variables.
4006         (ctor): pass and store a 'Buffer const &'
4007         (buffer): new member function.
4008
4009         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
4010         '*this' to the LaTeXFeatures ctor.
4011
4012 2003-09-18  Angus Leeming  <leeming@lyx.org>
4013
4014         * LColor.h:
4015         * lyxfont.C:
4016         * lyxfont.h:
4017         * lyxtext.h:
4018         * text.C: rename EnumLColor as LColor_color.
4019
4020 2003-09-18  Angus Leeming  <leeming@lyx.org>
4021
4022         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
4023         remove #include "insets/insetbase.h" from cursor.h.
4024
4025 2003-09-18  Angus Leeming  <leeming@lyx.org>
4026
4027         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4028         InsetOld_code to remove #include "inset.h".
4029
4030         * iterators.C: add #include "insets/inset.h"
4031
4032 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
4033
4034         * BufferView.C: remove more locking stuff that apparently doesn't
4035         do anything sensible.
4036
4037 2003-09-16  André Pönitz  <poenitz@gmx.net>
4038
4039         * paragraph.[Ch]:
4040         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
4041           performance boost.
4042
4043 2003-09-16  Angus Leeming  <leeming@lyx.org>
4044
4045         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
4046
4047         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
4048         arg/return type.
4049
4050         * paragraph.h: remove #include "lyxfont.h". Forward declare
4051         LyXFont_size.
4052
4053 2003-09-16  Angus Leeming  <leeming@lyx.org>
4054
4055         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
4056         of support/textutils.h.
4057         (isWord): move the contents of support/textutils.h's IsWordChar here.
4058
4059         * buffer.C:
4060         * lyxfind.C:
4061         * rowpainter.C:
4062         * text.C:
4063         * text2.C: add #include "paragraph.h".
4064
4065         * rowpainter.C:
4066         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
4067
4068 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4069
4070         * main.C:
4071         * lyx_main.C:
4072         * lyx_cb.C:
4073         * buffer.C:
4074         * LaTeX.C: use namespace alias for lyx::support::os
4075
4076 2003-09-16  Angus Leeming  <leeming@lyx.org>
4077
4078         * bufferparams.C:
4079         * bufferview_funcs.C:
4080         * factory.C:
4081         * lyxfunc.C:
4082         * paragraph_pimpl.C:
4083         * rowpainter.C:
4084         * text.C: add #include "LColor.h".
4085
4086 2003-09-16  Angus Leeming  <leeming@lyx.org>
4087
4088         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
4089         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
4090         return LyXFont &.
4091         Store the FontBits::color variable as an int rather than as an
4092         LColor::colorso that we can move LColor.h out of the lyxfont.h header
4093         file.
4094
4095         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
4096         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
4097         string calls together.
4098
4099         * lyxrc.C: add #include "LColor.h".
4100
4101 2003-09-15  Angus Leeming  <leeming@lyx.org>
4102
4103         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
4104         a cow_ptr.
4105
4106 2003-09-15  Angus Leeming  <leeming@lyx.org>
4107
4108         * LColor.h: add an EnumLColor wrapper for LColor::color.
4109
4110         * lyxfont.[Ch] (color, setColor, realColor):
4111         * lyxtext.h, text.C (backgroundColor):
4112         pass EnumLColor args to/from the functions, rather than LColor::color
4113         ones.
4114
4115         * lyxfont.h:
4116         * lyxtext.h: forward declare EnumLColor.
4117
4118         * lyx_main.C: add #include "LColor.h".
4119
4120 2003-09-15  Angus Leeming  <leeming@lyx.org>
4121
4122         * .cvsignore: add lyx-gtk.
4123
4124 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4125
4126         * Chktex.C
4127         * LaTeX.C
4128         * LaTeXFeatures.C
4129         * ParagraphParameters.C
4130         * Spacing.C
4131         * buffer.C
4132         * bufferparams.C
4133         * bufferview_funcs.C
4134         * chset.C
4135         * counters.C
4136         * funcrequest.C
4137         * lyxfont.C
4138         * lyxgluelength.C
4139         * lyxlength.C
4140         * paragraph.C
4141         * paragraph_funcs.C
4142         * text3.C
4143         * vc-backend.C: remove usage of STRCONV
4144
4145 2003-09-15  Angus Leeming  <leeming@lyx.org>
4146
4147         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
4148         explicitly define the color passed to the painter.
4149
4150 2003-09-15  Angus Leeming  <leeming@lyx.org>
4151
4152         * bufferparams.C (BufferParams): reorder member initializers to avoid
4153         compiler warning.
4154
4155 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
4156
4157         * CutAndPaste.C (pasteSelection): remove an outdated #warning
4158         * text.C (updateRowPositions): remove an unusual nop
4159
4160 2003-09-12  André Pönitz  <poenitz@gmx.net>
4161
4162         * BufferView_pimpl.C:
4163         * Bullet.C:
4164         * layout.h:
4165         * lyxfunc.C:
4166         * lyxlayout.[Ch]:
4167         * lyxtextclass.C:
4168         * rowpainter.C:
4169         * text.C:
4170         * text2.C:
4171         * Counters.[Ch]: finish the 'automatic counters' job
4172
4173 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4174
4175         * aspell.C: include <boost/assert.cpp> (compile fix)
4176
4177 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4178
4179         * boost.C (assertion_failed): use lyx::support::abort instead of
4180         assert.
4181
4182 2003-09-10  Angus Leeming  <leeming@lyx.org>
4183
4184         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4185         with their _fwd progeny.
4186
4187 2003-09-09  Angus Leeming  <leeming@lyx.org>
4188
4189         134 files throughtout the source tree: replace 'using namespace abc;'
4190         directives with the appropriate 'using abc::xyz;' declarations.
4191
4192 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4193
4194         * boost.C (emergencyCleanup): moved here from LAssert.c
4195         (assertion_failed): new function, called by BOOST_ASSERT
4196
4197         * several files: change Assert to BOOST_ASSERT
4198
4199 2003-09-09  Angus Leeming  <leeming@lyx.org>
4200
4201         * buffer.[Ch]: Add an Impl class and move Buffer's member
4202         variables into it. As a result move several header files out of
4203         buffer.h.
4204
4205         Add header files to lots of .C files all over the tree as a result.
4206
4207 2003-09-09  Angus Leeming  <leeming@lyx.org>
4208
4209         * buffer.[Ch]: make Buffer's member variables private. Add
4210         accessor functions.
4211
4212         Lots of changes all over the tree as a result.
4213
4214 2003-09-08  Angus Leeming  <leeming@lyx.org>
4215
4216         * graph.C: #include <config.h>.
4217
4218 2003-09-08  Angus Leeming  <leeming@lyx.org>
4219
4220         * BranchList.C:
4221         * BufferView.C:
4222         * BufferView_pimpl.C:
4223         * CutAndPaste.C:
4224         * DepTable.C:
4225         * LaTeX.C:
4226         * LaTeXFeatures.C:
4227         * LyXAction.C:
4228         * MenuBackend.C:
4229         * TextCache.C:
4230         * aspell.C:
4231         * buffer.C:
4232         * bufferlist.C:
4233         * changes.C:
4234         * chset.C:
4235         * converter.C:
4236         * counters.C:
4237         * debug.C:
4238         * graph.C:
4239         * ispell.C:
4240         * lyx_cb.C:
4241         * lyxfind.C:
4242         * lyxfunc.C:
4243         * lyxlex_pimpl.C:
4244         * lyxrc.C:
4245         * lyxrow.C:
4246         * paragraph.C:
4247         * rowpainter.C:
4248         * texrow.C:
4249         * text.C:
4250         * text2.C:
4251         * toc.C: remove redundant using directives.
4252
4253 2003-09-07  Angus Leeming  <leeming@lyx.org>
4254
4255         * LaTeXFeatures.h: remove #include "support/types.h".
4256         * ToolbarBackend.h: remove #include <algorithm>.
4257         * changes.h: remove #include <ctime>.
4258         * debug.h: remove #include <iosfwd>.
4259         * graph.h: remove #include "support/std_string.h".
4260         * lyx_main.h: remove #include <csignal>.
4261         * lyxlex_pimpl.h: remove #include <fstream>.
4262         * sgml.h: remove #include <algorithm>, <utility>.
4263         * toc.h: remove #include "support/std_ostream.h".
4264         Add #include <iosfwd>.
4265
4266 2003-09-07  Angus Leeming  <leeming@lyx.org>
4267
4268         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4269
4270         * converter.h: forward declare LatexRunParams.
4271         * encoding.h: remove #include "lyxrc.h".
4272         * lyxtext.h: remove #include "LColor.h".
4273         * lyxtextclass.h: remove #include "support/types.h".
4274         * trans.h: remove #include "tex-accent.h".
4275         * trans_mgr.h: remove #include "tex-accent.h".
4276         * insets/inset.h: remove #include "support/types.h", <vector>.
4277         * insets/insetcollapsable.h: remove #include "LColor.h".
4278         * insets/insetinclude.h: remove #include "dimension.h".
4279         * insets/insetlatexaccent.h: remove #include "dimension.h".
4280         * insets/insetoptarg.h:: remove #include "insettext.h".
4281         * insets/insettext.h: remove #include "dimension.h",
4282         <boost/shared_ptr.hpp>
4283
4284         * insets/renderers.h: add #include "dimension.h".
4285         * insets/updatableinset.h: add #include "support/types.h".
4286
4287         * many .C files: Associated changes.
4288
4289 2003-09-06  Angus Leeming  <leeming@lyx.org>
4290
4291         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4292         one, inside testInvariant.
4293
4294         * PrinterParams.C: new file.
4295         * PrinterParams.[Ch]: move the function bodies out of line.
4296
4297 2003-09-06  Angus Leeming  <leeming@lyx.org>
4298
4299         * ParagraphParameters.h: forward declare ParameterStruct rather than
4300         including its header file.
4301         (depth): moved out-of-line.
4302
4303 2003-09-06  Angus Leeming  <leeming@lyx.org>
4304
4305         * BufferView_pimpl.h:
4306         * kbmap.h:
4307         * kbsequence.h:
4308         * lyxfunc.h: forward declare LyXKeySym rather than
4309         #include "frontends/LyXKeySym.h".
4310
4311         * BufferView_pimpl.C:
4312         * kbmap.C:
4313         * kbsequence.C:
4314         * lyxfunc.C: associated changes.
4315
4316 2003-09-06  Angus Leeming  <leeming@lyx.org>
4317
4318         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4319         As a result, can remove the #include "insets/inset.h" from BufferView.h
4320
4321 2003-09-06  Angus Leeming  <leeming@lyx.org>
4322
4323         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4324         As a result, can remove the #include "insets/inset.h" from BufferView.h
4325
4326 2003-09-06  Angus Leeming  <leeming@lyx.org>
4327
4328         * buffer_funcs.C:
4329         * buffer.h:
4330         * bufferlist.C:
4331         * BufferView.C:
4332         * bufferview_funcs.C:
4333         * BufferView_pimpl.C:
4334         * CutAndPaste.C:
4335         * lyx_cb.C:
4336         * lyxfunc.C:
4337         * paragraph.h:
4338         * ParagraphParameters.C:
4339         * tabular.C:
4340         * text3.C:
4341         * toc.C:
4342         * undo_funcs.C:
4343         * frontends/controllers/ControlDocument.C:
4344         * insets/insetcaption.C: rearrange the #includes into some sort of
4345         coherent order.
4346
4347         * buffer.h: remove #includes ErrorList.h, undo.h
4348
4349 2003-09-06  Angus Leeming  <leeming@lyx.org>
4350
4351         * support/types.h: add a 'depth_type' typedef, used to store the
4352         nesting depth of a paragraph.
4353
4354         * paragraph.h:
4355         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4356         defining explicitly.
4357
4358         * buffer.h:
4359         * paragraph_funcs.h:
4360         * ParagraphParameters.h:
4361         * sgml.h: use lyx::depth_type rather than Paragraph or
4362         ParameterStruct's depth_type.
4363
4364         * buffer.h
4365         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4366
4367         * BufferView.C:
4368         * BufferView_pimpl.C:
4369         * CutAndPaste.C:
4370         * ParagraphParameters.C:
4371         * buffer_funcs.C:
4372         * bufferlist.C:
4373         * bufferview_funcs.C:
4374         * lyx_cb.C:
4375         * lyxfunc.C:
4376         * tabular.C:
4377         * text3.C:
4378         * toc.C:
4379         * undo_funcs.C:
4380         * frontends/LyXView.C:
4381         * frontends/controllers/ControlDocument.C:
4382         * frontends/controllers/ControlErrorList.C:
4383         * insets/insetbibitem.C:
4384         * insets/insetbranch.C:
4385         * insets/insetcaption.C:
4386         * insets/insetcollapsable.C:
4387         * insets/insetenv.C:
4388         * insets/insetert.C:
4389         * insets/insetfloat.C:
4390         * insets/insetfoot.C:
4391         * insets/insetfootlike.C:
4392         * insets/insetnewline.C:
4393         * insets/insetquotes.C:
4394         * insets/insettabular.C:
4395         * insets/insettext.C:
4396         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4397
4398         * frontends/controllers/ControlChanges.C: #include "changes.h".
4399
4400 2003-09-06  Angus Leeming  <leeming@lyx.org>
4401
4402         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4403         than #including paragraph.h.
4404
4405         * ParagraphList.h:
4406         * RowList.h: deleted. Superfluous.
4407
4408         * CutAndPaste.h:
4409         * iterators.h:
4410         * lyxcursor.h:
4411         * lyxtext.h:
4412         * text_funcs.h:
4413         * undo.h:
4414         * undo_funcs.h:
4415         * insets/inset.h:
4416         * insets/insettext.h: use ParagraphList_fwd.h rather than
4417         ParagraphList.h.
4418
4419         * paragraph.h: don't forward declare ParagraphList.
4420
4421         * buffer.h:
4422         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4423         rather than ParagraphList.h. paragraph.h is still needed for the
4424         Paragraph::depth_type parameters.
4425
4426         * textcursor.h: enable it to compile stand-alone in light of the
4427         above changes.
4428
4429         * bufferview_funcs.C:
4430         * iterators.C:
4431         * lyxfunc.C:
4432         * lyxrow_funcs.C:
4433         * paragraph.C:
4434         * rowpainter.C:
4435         * text.C:
4436         * text2.C:
4437         * text3.C:
4438         * text_funcs.C:
4439         * textcursor.C:
4440         * undo.C:
4441         * frontends/controllers/ControlParagraph.C:
4442         * frontends/controllers/ControlTabular.C:
4443         * insets/insetmarginal.C:
4444         * insets/insetminipage.C:
4445         * insets/insetnote.C:
4446         * insets/insetoptarg.C: add header files needed to compile again.
4447
4448 2003-09-06  Angus Leeming  <leeming@lyx.org>
4449
4450         * RowList_fwd.h: new file, forward-declaring Row rather than
4451         #including lyxrow.h.
4452
4453         * lyxrow_funcs.h:
4454         * lyxtext.h:
4455         * paragraph.h:
4456         * insets/insettext.h: use it instead of RowList.h
4457
4458         * bufferview_funcs.C:
4459         * lyxfunc.C:
4460         * lyxrow_funcs.C:
4461         * paragraph.C:
4462         * rowpainter.C:
4463         * text.C:
4464         * text2.C:
4465         * text3.C: #include "RowList.h".
4466
4467 2003-09-05  Angus Leeming  <leeming@lyx.org>
4468
4469         * factory.C (createInset):
4470         * vspace.C (c-tor): replace sscanf call with an istringstream.
4471         * ispell.C: re-add missing HP/UX headers.
4472         * lyxserver.C: re-add missing  os2 headers.
4473
4474 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4475
4476         * BranchList.C:
4477         * graph.C:
4478         * ispell.C:
4479         * lastfiles.C:
4480         * lyx_cb.C:
4481         * lyxserver.C:
4482         * texrow.C:
4483         * text3.C: re-add missing system headers, needed for 2.95.2.
4484
4485 2003-09-05  Angus Leeming  <leeming@lyx.org>
4486
4487         Changes most place everywhere due to the removal of using directives
4488         from support/std_sstream.h.
4489
4490 2003-09-05  Angus Leeming  <leeming@lyx.org>
4491
4492         Replace LString.h with support/std_string.h,
4493         Lsstream.h with support/std_sstream.h,
4494         support/LIstream.h with support/std_istream.h,
4495         support/LOstream.h with support/std_ostream.h.
4496
4497         Changes resulting throughout the tree.
4498
4499 2003-09-05  Angus Leeming  <leeming@lyx.org>
4500
4501         * sgml.h: ensure that the header file can be compiled stand-alone.
4502         * *.C: strip out redundant #includes. (320 in total.)
4503
4504 2003-09-04  Angus Leeming  <leeming@lyx.org>
4505
4506         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4507         here (from getPackages).
4508
4509         * debug.[Ch]: add a new EXTERNAL tag.
4510
4511 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4512
4513         * text2.C (cursorEnd): simplify
4514         (setCursor): adjust
4515         (getColumnNearX): adjust
4516
4517         * text.C (computeBidiTables): adjust
4518         (fill): adjust
4519
4520         * rowpainter.C (paintChars): adjust
4521         (paintSelection): adjust
4522         (paintChangeBar): adjust
4523         (paintText): adjust
4524
4525         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4526         lastPos instead.
4527         (numberOfSeparators): adjust
4528
4529 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4530
4531         * LyXAction.C:
4532         * box.[Ch]:
4533         * lfuns.h:
4534         * lyxfunc.C:
4535         * text3.C: Restricts the mouse click functionality
4536         of insets like bibtex, include, toc and floatlist to the visible
4537         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4538         up the dialogs. Cursor has to be in front of the inset (i.e.
4539         start of row) for this to function.
4540
4541 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4542
4543         * bufferview_funcs.C (currentState): output row information
4544
4545 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4546
4547         * bufferview_funcs.C (currentState): output paragraph position
4548
4549 2003-09-04  Angus Leeming  <leeming@lyx.org>
4550
4551         * FloatList.h: move out #include "Floating.h".
4552         * LaTeX.h: move out #include "DepTable.h".
4553         * LyXAction.h: move out #include "funcrequest.h".
4554         * buffer.h: move out #include "author.h", "iterators.h".
4555         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4556         * lyx_main.h: move out #include "errorlist.h".
4557         * lyxfunc.h: move out #include "FuncStatus.h".
4558         * lyxtext: move out #include "lyxcursor.h".
4559         * paragraph_pimpl.h: move out #include "counters.h".
4560
4561 2003-09-03  Angus Leeming  <leeming@lyx.org>
4562
4563         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4564         preamble_snippets list, enabling us to add snippets to the preamble
4565         only if the snippet was not there already.
4566
4567 2003-09-04  Angus Leeming  <leeming@lyx.org>
4568
4569         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4570
4571 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4572
4573         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4574         update
4575
4576 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4577
4578         * BranchList.C: point fix, earlier forgotten
4579
4580 2003-09-02  Angus Leeming  <leeming@lyx.org>
4581
4582         * box.C (contains): renamed from 'contained' after a fantastic
4583         amount of hot air.
4584
4585 2003-09-02  John Levon  <levon@movementarian.org>
4586
4587         * BufferView.C:
4588         * lyxcursor.h:
4589         * lyxcursor.C:
4590         * lyxfunc.C:
4591         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4592
4593 2003-09-02  John Levon  <levon@movementarian.org>
4594
4595         * text2.C: simplification of cursorEnd(), including partial
4596         fix for bug 1376
4597
4598 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4599
4600         * buffer.C (readFile): add a space
4601
4602 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4603
4604         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4605
4606 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4607
4608         * buffer.C (readFile): new function, take a filename and a
4609         ParagraphList::iterator
4610         (readFile): adjust
4611         (readFile): adjust, make it private. don't use setStream, make
4612         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4613         always contain the filename.
4614
4615         * BufferView.C (insertLyXFile): simplify and make it work for
4616         gzipped files.
4617
4618 2003-08-30  John Levon  <levon@movementarian.org>
4619
4620         * Makefile.am: fix dist (from Kayvan)
4621
4622 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4623
4624         * most files: change to use const Buffer refs
4625
4626 2003-08-27  André Pönitz  <poenitz@gmx.net>
4627
4628         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4629         on top of ownerPar().
4630
4631 2003-08-27  John Levon  <levon@movementarian.org>
4632
4633         * funcrequest.C: properly initialise POD members
4634
4635 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4636
4637         * lyxtext.h (top_y): move top_y from here
4638         * text.C:
4639         * text2.C:
4640         * text3.C:
4641         * BufferView.[Ch]:
4642         * BufferView_pimpl.[Ch]: to here
4643         * frontends/screen.C:
4644         * insets/insettabular.C:
4645         * insets/insettext.C: adjust
4646         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4647
4648 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4649
4650         * BufferView.[Ch]:
4651         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4652
4653 2003-08-26  André Pönitz  <poenitz@gmx.net>
4654
4655         * paragraph_func.[Ch] (outerPar): new function
4656
4657         * paragraph.C:
4658         * paragraph_funcs.C:
4659         * paragraph_funcs.h:
4660         * paragraph_pimpl.C:
4661         * text2.C: remove Inset::par_owner
4662
4663 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4664
4665         * lyxrow_funcs.C:
4666         * lyxtext.h:
4667         * text.C:
4668         * text2.C: eliminates the needFullRow/display() stuff
4669         altogether, putting the logic in metrics/draw in the insets.
4670
4671 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4672
4673         * text2.C (redoParagraphInternal, redoParagraphs):
4674         * text.C (redoParagraph): add a call to updateRowPositions at the
4675         end of each 'metrics-like' call. Remove all others.
4676         (getRow): remove the 'y-computing' version.
4677         (getRowNearY): do not compute nor return the real y. Solve the
4678         'y < 0' problem and simplify.
4679
4680 2003-08-22  Angus Leeming  <leeming@lyx.org>
4681
4682         * *.[Ch]: clean-up of licence and author blurbs.
4683         Also move config.h out of a few .h files and into a few .C files.
4684
4685 2003-08-22  André Pönitz  <poenitz@gmx.net>
4686
4687         * lyxrow.[Ch]: add x_ and *fill_ members
4688
4689         * lyxtext.h:
4690         * text.C:
4691         * rowpainter.C:
4692         * text2.C: adjust/remove prepareToPrint() calls
4693
4694 2003-08-22  André Pönitz  <poenitz@gmx.net>
4695
4696         * lyxrow.[Ch]: add  end_ member
4697
4698         * lyxrow_funcs.C: use LyXRow::end_
4699
4700         * lyxtext.h (singleWidth): add LyXFont parameter
4701
4702         * rowpainter.C:
4703         * text2.C: adjust LyXText::singleWidth() calls
4704
4705         * text.C (redoParagraph): simplify row breaking logic
4706
4707
4708 2003-08-19  André Pönitz  <poenitz@gmx.net>
4709
4710         * funcrequest.C: initialize button_ member
4711
4712         * text3.C:
4713         * rowpainter.[Ch]: interface consolidation
4714
4715 2003-08-18  André Pönitz  <poenitz@gmx.net>
4716
4717         * BufferView.C:
4718         * BufferView_pimpl.C:
4719         * lyxfind.C:
4720         * paragraph_funcs.C:
4721         * rowpainter.C:
4722         * text3.C: remove LyXScreen::draw() and fitCursor calls
4723
4724         * BranchList.h: remove spurious semicolons
4725
4726         * MenuBackend.C: fix branchlist related crash
4727
4728 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4729
4730         * BranchList.[Ch]:
4731         * InsetList.[Ch]:
4732         * LColor.[Ch]:
4733         * LyXAction.C:
4734         * Makefile.am:
4735         * MenuBackend.[Ch]:
4736         * bufferparams.[Ch]:
4737         * factory.C:
4738         * lfuns.h:
4739         * lyxfunc.C:
4740         * text3.C: implements the 'branch inset'
4741         idea. This allows the output of various versions of a document
4742         from a single source version, selectively outputing or suppressing
4743         output of parts of the text.
4744         This implementation contains a 'branch list editor' in a separate
4745         tab of the document settings dialog. Branches are user definable
4746         and have a "display colour" to distinguish them on-screen.
4747
4748         ColorHandler was somewhat cleaned up.
4749         (1) make possible a dynamically growing LColor list by allowing
4750         the graphic context cache to grow along (vector);
4751         (2) eliminate an IMHO unnecessary step in colour allocation.
4752
4753 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4754
4755         * BufferView_pimpl.C: compile fix
4756
4757 2003-08-15  André Pönitz  <poenitz@gmx.net>
4758
4759         * rowpainter.C: remove extra metrics calls
4760
4761         * lyxtext.h: merge the two constructors into a single one,
4762           pass reference to owner's par list
4763
4764         * BufferView_pimpl.C:
4765         * text.C:
4766         * text2.C: adjust
4767
4768 2003-08-15  André Pönitz  <poenitz@gmx.net>
4769
4770         * lyxrow_funcs.[Ch]:
4771         * lyxtext.h:
4772         * paragraph.h:
4773         * paragraph_funcs.C:
4774         * rowpainter.C:
4775         * text.C:
4776         * text2.C:
4777         * text3.C:
4778         * text_funcs.C: split LyXText::rowlist_ into individual
4779         Paragraph::rows_ chunks
4780
4781         * BufferView.[Ch]:
4782         * BufferView_pimpl.[Ch]:
4783         * lyxfind.C:
4784         * lyxtext.h:
4785         * text3.C: remove toggleSelection()
4786
4787 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4788
4789         * bufferlist.C: beautify two alerts (shorter text of buttons)
4790         * buffer.C: Remove redundant ' ' from message
4791         * tabular.h:
4792         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4793         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4794         rename VALIGN_CENTER to VALIGN_MIDDLE
4795
4796 2003-08-11  André Pönitz  <poenitz@gmx.net>
4797
4798         * lyxtext.h (getPar):
4799         * text.C: new function
4800
4801 2003-08-11  André Pönitz  <poenitz@gmx.net>
4802
4803         * Makefile.am:
4804         * tracer.[Ch]: remove unneeded files
4805
4806         * InsetList.[Ch]: remove resizeInsetsLyXText()
4807
4808         * lyxtext.h:
4809         * text.C:
4810         * text2.C:
4811         * text3.C: merge insertParagraphs() and appendParagraph()
4812         remove breakAgain(), update()
4813
4814         * BufferView_pimpl.[Ch]:
4815         * bufferview_funcs.[Ch]:
4816         * lyxfunc.C:
4817         * paragraph.[Ch]:
4818         * rowpainter.C:
4819         * tabular.C: adjust after text & InsetList changes.
4820
4821 2003-08-08  André Pönitz  <poenitz@gmx.net>
4822
4823         * text.C (insertChar, backspace): replace rowlist fiddling
4824         with rebreak of full par
4825
4826         * lyxtext.h:
4827         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4828         checkParagraph, updateInset): removed
4829
4830 2003-08-07  André Pönitz  <poenitz@gmx.net>
4831
4832         * paragraph.C:
4833         * text3.C: merge some LFUN handlers, remove dead code
4834
4835 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4836
4837         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4838
4839 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4840
4841         * text2.C (DEPM): fix part of bug 1255 and 1256
4842
4843 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4844
4845         * BufferView_pimpl.C (workAreaDispatch): change to use
4846         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4847         that are no mouse related.
4848
4849 2003-08-05  André Pönitz  <poenitz@gmx.net>
4850
4851         * BufferView.[Ch]:
4852         * BufferView_pimpl.[Ch]:
4853         * bufferview_funcs.C:
4854         * text2.C:
4855         * text3.C: rip out "deep update"
4856
4857         * textcursor.[Ch] (last_sel_cursor): remove unused member
4858
4859 2003-08-04  André Pönitz  <poenitz@gmx.net>
4860
4861         * BufferView.[Ch]:
4862         * BufferView_pimpl.[Ch]:
4863         * ParagraphParameters.C:
4864         * bufferview_funcs.C:
4865         * lyx_cb.C:
4866         * lyxfind.C:
4867         * lyxfunc.C:
4868         * text.C:
4869         * text2.C:
4870         * text3.C: replace "complicated" BufferView::update(...) calls with
4871         simpler ones.
4872
4873         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4874
4875 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4876
4877         * Makefile.am (lyx_SOURCES): add paper.h
4878
4879 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4880
4881         * Makefile.am: move things around so that both lyx-qt and
4882         lyx-xforms can be built (according to --with-frontend). Then lyx
4883         is a symbolic link to lyx-[firstfrontend]
4884
4885 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4886
4887         * Always use std::endl with lyxerr
4888
4889 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4890
4891         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4892
4893 2003-08-01  André Pönitz  <poenitz@gmx.net>
4894
4895         * BufferView.[Ch]:
4896         * BufferView_pimpl.[Ch]:
4897         * lyxfunc.C:
4898         * text3.C: merge BufferView::repaint() and BufferView::update()
4899
4900 2003-08-01  José Matos  <jamatos@lyx.org>
4901
4902         * buffer.[Ch]: file_format is no longer a buffer data element.
4903
4904 2003-08-01  André Pönitz  <poenitz@gmx.net>
4905
4906         * BufferView.C:
4907         * lyxtext.h:
4908         * text.C:
4909         * text2.C: make redoParagraph more independent of current cursor
4910
4911         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4912         * text.C:
4913         * text2.C: remove unneeded members
4914
4915 2003-07-30  André Pönitz  <poenitz@gmx.net>
4916
4917         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4918
4919         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4920           create a single function...
4921
4922         * paragraph_funcs.C (moveItem): ... here.
4923
4924         * text.C:
4925           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4926
4927 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4928
4929         * LColor.[Ch]: Add comment and greyedout logical colors.
4930
4931 2003-07-30  André Pönitz  <poenitz@gmx.net>
4932
4933         * tabular.C: don't use Assert too heavily. This crashes where it
4934           shouldn't
4935
4936 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4937
4938         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4939         is disabled (bug 1232)
4940
4941 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4942
4943         * factory.C: limited 'arg' scope
4944
4945 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4946
4947         * factory.C: fixed Note submenu issues
4948
4949 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4950
4951         * factory.C: submenu for Note/Comment/Greyedout
4952
4953 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4954
4955         * lyx_main.C (LyX):
4956         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4957
4958 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4959
4960         * LaTeXFeatures.C:
4961         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4962         greyedout. Patch provided by Jürgen Spitzmüller.
4963
4964 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4965
4966         * kbmap.C (read): fix error message when reading bind files
4967
4968 2003-07-29  Angus Leeming  <leeming@lyx.org>
4969
4970         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4971         certainly does not do what it purports to do. I am doing it, and
4972         us, a favour by killing it.
4973
4974 2003-07-28  José Matos  <jamatos@lyx.org>
4975
4976         * buffer.C (readBody, do_writeFile):
4977         * paragraph.C(readParagraph): \end_document replaces \the_end.
4978
4979 2003-07-29  André Pönitz  <poenitz@gmx.net>
4980
4981         * BufferView.[Ch]:
4982         * BufferView_pimpl.[Ch]:
4983         * lyxfunc.C:
4984         * text2.C:
4985         * text3.C:
4986         * textcursor.[Ch]: remove toggleToggle & Co
4987
4988 2003-07-28  José Matos  <jamatos@fep.up.pt>
4989
4990         * buffer.C (readParagraph):
4991         * params_func (readParToken, readParagraph):
4992         * paragraph.C (write): \layout -> \begin_layout.
4993
4994 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4995
4996         * lyxlex_pimpl.C (setFile): clean up slightly.
4997
4998         * bufferparams.h: add compressed var
4999
5000         * buffer_funcs.C (readFile): adjust for LyXLex change
5001         (newFile): ditto + simplify
5002
5003         * buffer.C (writeFile): handle writing of compressed files
5004
5005         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
5006         Check if the file is compressed and set a bufferparm if so.
5007
5008         * Makefile.am (lyx_LDADD): remove explicit -lz
5009
5010 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5011
5012         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
5013         makeDocBookFile): put the real LyX version in the first line of
5014         the file
5015
5016         * version.h:
5017         * version.C.in: remove lyx_docversion
5018
5019         * tabular.C (write_attribute): add a template-based version to
5020         write enums properly
5021
5022 2003-07-28  André Pönitz  <poenitz@gmx.net>
5023
5024         * lyxtext.h:
5025         * text.C:
5026         * text2.C:
5027         * text3.C: use doubles again for x-coordinates. They are needed.
5028
5029 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5030
5031         * messages.C (getLocaleDir): use lyx_localedir()
5032
5033         * lyxlex_pimpl.C (setFile): compress stuff
5034
5035         * buffer.C (writeFile): add some compression stuff
5036         (do_writeFile): new func, dont call expliti close... will this
5037         breake anything?
5038
5039         * Makefile.am (lyx_LDADD): add -lz
5040
5041 2003-07-28  José Matos  <jamatos@fep.up.pt>
5042
5043         * buffer.C: increment file format.
5044         * paragraph_funcs (readParagraph, readParToken):
5045         * paragraph.C (readParagraph): add \end_layout.
5046
5047 2003-07-27  Angus Leeming  <leeming@lyx.org>
5048
5049         * Makefile.am: remove special casing for configure-time setting of
5050         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
5051
5052         * lyx_main.C (init): remove all Jean-Marc's magic setting of
5053         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
5054
5055 2003-07-26  André Pönitz  <poenitz@gmx.net>
5056
5057         * paragraph_func.[Ch]:
5058         * paragraph.C (realizeFont): inline it whereever it is used
5059
5060         * rowpainter.C:
5061         * text.C:
5062         * text2.C:
5063         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
5064
5065
5066 2003-07-26  André Pönitz  <poenitz@gmx.net>
5067
5068         *       lyxtext.h:
5069         * text.C:
5070         * text2.C: get rid of LyXText::need_break_row
5071
5072 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5073
5074         * toc.[Ch]: put namespace toc inside namespace lyx
5075
5076         * MenuBackend.C (expandToc2): adjust for lyx::toc
5077         (expandToc): ditto
5078
5079         * lyxfunc.C (dispatch): adjust for lyx::find
5080
5081         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
5082         lyx::find instead. Reorganize a bit.
5083         (LyXReplace): rename to replace
5084         (LyXFind): rename to find
5085
5086         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
5087         (dispatch): ditto
5088
5089 2003-07-26  André Pönitz  <poenitz@gmx.net>
5090
5091         * text.C (setHeightOfRow): restrict scope of temporary variable
5092
5093         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
5094           code (never has been used?)
5095
5096 2003-07-27  Asger Alstrup  <alstrup@local>
5097
5098         * text.C (fill): Optimise algorithm to exploit that we can reuse
5099         the LyXFont for many characters.
5100         (setHeightOfRow): Same thing.
5101         (rowBreakPoint): Same thing.
5102
5103 2003-07-26  Asger Alstrup  <alstrup@local>
5104
5105         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
5106
5107         * text.C (singleWidth): Spurious font copying in hot-spot
5108         singleWidth avoided. Reorder tests for arabic for efficiency.
5109
5110         * text.C (fill): handle empty paragraphs better.
5111
5112 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5113
5114         * ispell.C:
5115         * encoding.h: add includes
5116
5117         * lyxrc.C: remove reading of bind files
5118
5119         * lyx_main.C (init): setup bindings and menus only if we have a
5120         gui.
5121
5122         * kbmap.C (read): new method. Do the actual reading of bind
5123         files.
5124
5125         * converter.C (dvipdfm_options):
5126         * bufferparams.C:
5127         * lyxrc.C (read):
5128         (output): adapt PAPER_* enums.
5129
5130         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
5131
5132         * bufferparams.h: remove paper-related enums from there
5133
5134         * paper.h: New file. A trivial header file to hold paper-related
5135         enums. It should later expand to contain many paper-related
5136         horrors access.
5137
5138         * lyxrc.C: declare extern displayTranslator
5139
5140 2003-07-27  José Matos  <jamatos@fep.up.pt>
5141
5142         * tabular.[Ch] (linuxdoc): add support for tables and figures
5143         (linuxdoc).
5144
5145 2003-07-27  José Matos  <jamatos@fep.up.pt>
5146
5147         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
5148         consistency in both functions.
5149         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
5150
5151 2003-07-26  Asger Alstrup  <alstrup@local>
5152
5153         * rowpainter.C (paintRows): Change algorithm to work directly on
5154         the insets rather than asking every character in the document
5155         whether its an inset.
5156
5157 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
5158
5159         * buffer.C (openFileWrite): factorize some code
5160
5161 2003-07-26  Angus Leeming  <leeming@lyx.org>
5162
5163         * lyx_cb.C:
5164         * lyx_main.[Ch]: replace occurances of system_tempdir with
5165         os::getTmpDir().
5166
5167 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * rename Inset to InsetOld
5170
5171 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5172
5173         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5174         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5175         which I think is a bit clearer. EDIT is gone, since it was
5176         premature optimisation, and broken for mathed anyway.
5177         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5178         with cursor positioning in insets as well (math insets still do not
5179         work, but that's a different story anyway.) It mysteriously
5180         crashes sometimes with undo in the first paragraph, but I'm fairly
5181         confident that this is a compiler bug.
5182
5183 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5184
5185         * paragraph.C (Paragraph): adjust for new clone return type
5186         (operator==): ditto
5187         (copyIntoMinibuffer): ditto
5188
5189 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5190
5191         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5192         by not having a special case, and always doing a full rebreak of
5193         the document after undo.
5194
5195 2003-07-23  Angus Leeming  <leeming@lyx.org>
5196
5197         * factory.C (createInset): InsetExternal::setParams now takes a
5198         Buffer const * arg.
5199
5200 2003-07-23  Angus Leeming  <leeming@lyx.org>
5201
5202         * factory.C (createInset): changed interface to the external and
5203         graphics mailers' string2params functions.
5204
5205 2003-07-23  Angus Leeming  <leeming@lyx.org>
5206
5207         * factory.C (createInset): pass a
5208         Buffer const * parameter to InsetExternalMailer's string2params.
5209
5210 2003-07-22  John Levon  <levon@movementarian.org>
5211
5212         * Thesaurus.h: include the right aiksaurus header
5213
5214 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5215
5216         * MenuBackend.C (expand): check menu shortcuts unconditionally
5217
5218 2003-07-21  Angus Leeming  <leeming@lyx.org>
5219
5220         * factory.C (createInset): pass a
5221         buffer_path parameter to InsetGraphicsMailer's string2params.
5222
5223 2003-07-21  Angus Leeming  <leeming@lyx.org>
5224
5225         * BufferView_pimpl.C (buffer):
5226         * buffer.C (d-tor):
5227         * lyx_main.C (LyX):
5228         * lyxfunc.C (dispatch):
5229         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5230         rather than the grfx shortcut.
5231
5232 2003-07-21  André Pönitz  <poenitz@gmx.net>
5233
5234         * rowpainter.C: remove unused variables
5235
5236         * tabular_funcs.C:
5237         * tabular_funcs.h: move to tabular.C
5238         * Makefile.am: adjust
5239
5240         * tabular.[Ch]: basic optical cleaning
5241
5242         * author.h: pass references, not values
5243
5244 2003-07-18  André Pönitz  <poenitz@gmx.net>
5245
5246         * lyxtext.h:
5247         * metricsinfo.C:
5248         * metricsinfo.h:
5249         * rowpainter.C:
5250         * text.C:
5251         * text2.C:
5252         * text3.C: two-phase drawing for InsetText and InsetTabular
5253         some float -> int changes.
5254
5255 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5256
5257         * lyx_main.C: fix the fix
5258
5259 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5260
5261         * lyx_main.C: fix a crash in batch mode if no files specified
5262         * converter.C: ws
5263
5264 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5265
5266         * format.[Ch] (papersize): moved to BufferParams
5267         * converter.[Ch] (dvips_options): moved to BufferParams
5268         (dvipdfm_options): moved to anon namespace
5269         * bufferparams.[Ch]: added above functions.
5270
5271 2003-07-17  André Pönitz  <poenitz@gmx.net>
5272
5273         * lyxtext.h:
5274         * rowpainter.C:
5275         * text2.C: don't call inset->update() anymore
5276
5277         * metricsinfo.[Ch]: add convenience constructor
5278
5279 2003-07-16  André Pönitz  <poenitz@gmx.net>
5280
5281         * lyxcursor.[Ch]:
5282         * lyxfunc.[Ch]:
5283         * text.C:
5284         * text2.C: replace the LyXCursor::irow_ member with
5285          on-demand computation of the value
5286
5287 2003-07-16  John Levon  <levon@movementarian.org>
5288
5289         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5290
5291 2003-07-15  André Pönitz  <poenitz@gmx.net>
5292
5293         * text.C:
5294         * text2.C: remove no more needed refresh_row
5295
5296 2003-07-15  André Pönitz  <poenitz@gmx.net>
5297
5298         * lyxtext.h:
5299         * rowpainter.C:
5300         * text2.C:
5301         * text3.C: refresh_status tristate -> need_update bool
5302
5303 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5304
5305         * lyxtext.h (init): remove reinit argument (act as if always true)
5306         * text2.C: adjust to that
5307
5308 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5309
5310         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5311         * text3.C: use it to delete selections in some cases
5312         (bugs 441, 673, 702, 954).
5313
5314 2003-07-14  André Pönitz  <poenitz@gmx.net>
5315
5316         * rowpainter.[Ch]: reduce interface
5317
5318 2003-07-14  André Pönitz  <poenitz@gmx.net>
5319
5320         * BufferView_pimpl.C:
5321         * text2.C: adjust after removing unused BufferView * argument
5322
5323 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5324
5325         * text2.C (init): fix a crash fired on resize
5326
5327 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5328
5329         * buffer.[Ch]: added new closing signal
5330         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5331         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5332         BufferView::Pimpl via the closing the signal
5333
5334 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5335
5336         * buffer.[Ch]: take out all bv-related from buffer
5337         * BufferView.C:
5338         * BufferView_pimpl.[Ch]: connect to new signals
5339         * CutAndPaste.C: removed useless asserts
5340         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5341         * lyxvc.[Ch]:
5342         * vc-backend.[Ch]:
5343         * lyxfunc.C: moved view-related funciontality from vc here
5344         * paragraph.C: removed outdated comments
5345         * text.C: ws
5346
5347 2003-07-10  André Pönitz  <poenitz@gmx.net>
5348
5349         * BufferView_pimpl.C:
5350         * tabular.h:
5351         * tabular_funcs.C:
5352         * text.C:
5353         * text2.C: remove InsetText::InnerCache, clean up consequences
5354
5355 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5356
5357         * ispell.C: fix two typos in error messages
5358
5359 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5360
5361         * Extend Note inset to other forms of annotation like Comment
5362         and Greyedout. Right button click gives dialog.
5363
5364         Files modified or added (+):
5365
5366         * insetnote.[Ch]
5367         * FormNote.[Ch]      +
5368         * ControlNote.[Ch]   +
5369         * form_note.fd       +
5370         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5371         frontends/controllers
5372         * xforms/Dialogs.C
5373         * factory.C
5374
5375 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5376
5377         * aspell.C: add missing namespace lyx::support
5378
5379 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5380
5381         * BufferView.[Ch] (newFile): Add
5382         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5383         * LaTeX.[Ch] (message): added this signal and use it
5384         * buffer.[Ch] (busy, message): added these signals and use them
5385         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5386         * converter.C:
5387         * exporter.C:
5388         * format.C:
5389         * importer.C: use buffer signals instead of direct bv calling
5390         * lyx_cb.[Ch] (ShowMessage): removed
5391         * lyx_main.C:
5392         * lyxfunc.C:
5393         * paragraph_funcs.C:
5394         * text2.C: use buffer signals
5395
5396 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5397
5398         * introduce namespace lyx::graphics
5399
5400 2003-07-02  André Pönitz  <poenitz@gmx.net>
5401
5402         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5403
5404 2003-07-01  André Pönitz  <poenitz@gmx.net>
5405
5406         * text.C:
5407         * text2.C:
5408         * text3.C:
5409         * text_funcs.[Ch]:
5410         * textcursor.h:
5411         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5412           text*.C to text_func.C
5413
5414 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5415
5416         * introduce namespace lyx::support
5417
5418 2003-06-30  André Pönitz  <poenitz@gmx.net>
5419
5420         * Chktex.C:
5421         * funcrequest.C:
5422         * lyxtext.h:
5423         * text.C: re-enable --with-included-string
5424
5425 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5426
5427         * textcursor.C: add <config.h>
5428
5429         * text.C (getWord): remove const from word_location arg
5430
5431         * lyxvc.C (getLogFile): fix const type order
5432
5433         * lyxtext.h: remove const from word_location arg, add arg name
5434
5435         * lyxlayout.h: currect type on labeltype.
5436
5437         * importer.C: correct \file
5438
5439         * converter.C (intToFormat): use std:: on ret val, ws changes
5440
5441         * bufferlist.h: correct \file
5442
5443         * buffer.C (makeLinuxDocFile): fix const type order
5444         (makeDocBookFile): ditto
5445         (fillWithBibKeys): use std:: on stdlib args.
5446
5447         * CutAndPaste.C: fix authors.
5448         (availableSelections): use std:: on return vector
5449
5450 2003-06-27  André Pönitz  <poenitz@gmx.net>
5451
5452         * BufferView_pimpl.C:
5453         * bufferview_funcs.C:
5454         * lyxcursor.C:
5455         * lyxcursor.h:
5456         * lyxfunc.C:
5457         * lyxtext.h:
5458         * rowpainter.C:
5459         * text.C:
5460         * text2.C:
5461         * text3.C: remove LyXCursor::row_ member
5462
5463         * lyxtext.h:
5464         * text.C: rename fullRebreak() to partialRebreak() and implement
5465           a fullRebreak() that really bereks fully
5466
5467         * textcursor.h: new struct for cursor-related data
5468
5469 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5470
5471         * lyx_main.C (LyX): get full path of document loaded on the
5472         command line
5473
5474 2003-06-26  André Pönitz  <poenitz@gmx.net>
5475
5476         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5477           remove unused/broken operator>,<,>=.
5478
5479         *       text.C: remove only use of broken operator<= in an Assert().
5480
5481 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5482
5483         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5484         moved errorlist_.clear to showErrorList
5485
5486 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5487
5488         * converter.C (scanLog, runLaTeX):
5489         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5490         move the bv->showErrorList call to the callers
5491         * lyxfunc.C: i.e. here...
5492         * text2.C: and here
5493         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5494         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5495         namespace, the second to...
5496         * buffer_funcs (BufferFormat, parseErrors): added
5497         * errorlist.C (ErrorList(TeXErrors const &)): removed
5498
5499 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5500
5501         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5502
5503 2003-06-24  "Garst R. Reese" <reese@isn.net>
5504
5505         * debug.C: fix typo
5506
5507 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5508
5509         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5510
5511         * version.C.in: change docversion to 1.4
5512
5513 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5514
5515         * buffer.C: fix a bug just introduced
5516
5517 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5518
5519         * buffer.[Ch]: added the parseError signal and use it, removed
5520         sgmlError
5521         * BufferView.[Ch] (addError): moved to ...
5522         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5523         to the Buffer::parseError signal to catch (guess what) parse errors
5524         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5525
5526 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5527
5528         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5529         ability to create a buffer and to return an existing one from
5530         the list. Moved these functions to...
5531         * buffer_funcs.[Ch]: added
5532         * BufferView.[Ch] (loadLyXFile): added
5533         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5534         job removed from bufferlist::loadLyXFile.
5535         * buffer.C (setReadOnly): make it work without view
5536         (i.e added an if (users))
5537
5538 2003-06-19  Angus Leeming  <leeming@lyx.org>
5539
5540         * lfuns.h:
5541         * LyXAction.C (init):
5542         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5543         with LFUN_DIALOG_SHOW <name> <data>.
5544
5545 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5546
5547         * CutAndPaste.C (availableSelections): small compilation fix for
5548         ancient (gcc 2.9x) compilers
5549
5550 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5551
5552         * text3.C (cursorNext): add tmp var
5553
5554         * text2.C (updateCounters): for function calling out of for clause
5555         (replaceSelectionWithString): ditto
5556         (insertStringAsParagraphs): ditto
5557         (getColumnNearX): add tmp var
5558         (setCursorFromCoordinates): add tmp var
5559         (cursorDownParagraph): add tmp var
5560         (deleteEmptyParagraphMechanism): add tmp var
5561
5562         * text.C (insertChar): add tmp var
5563
5564         * rowpainter.C (paintDepthBar): add tmp var
5565
5566         * CutAndPaste.C (availableSelections): potentially check all
5567         paragraphs in a cut to fill the shown strings.
5568
5569 2003-06-18  André Pönitz  <poenitz@gmx.net>
5570
5571         * kbmap.[Ch]: use vector<> instead of list<>
5572
5573 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5574
5575         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5576         pasteSelection with index
5577
5578         * text2.C (pasteSelection): modify, call pasteSelection with index
5579
5580         * paragraph.C (asString): reimplement version with no interval to
5581         call the one with interval.
5582
5583         * lyxtext.h: add index arg to pasteSelection
5584
5585         * MenuBackend.C (MenuItem): handle PasteRecent
5586         (Menu::read::Menutags): add md_pasterecent
5587         (read): handle it
5588         (expandPasteRecent): new function
5589         (expand): use it
5590
5591         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5592
5593         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5594         the limited stack
5595         (availableSelections): new function
5596
5597 2003-06-17  Angus Leeming  <leeming@lyx.org>
5598
5599         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5600
5601 2003-06-17  Angus Leeming  <leeming@lyx.org>
5602
5603         * lfuns.h:
5604         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5605
5606         * lyxfunc.C (dispatch): invoke it.
5607
5608 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5609
5610         * iterators.C (operator++, ParPosition): reintroduce some
5611         const_cast for the benefit of older compilers.
5612
5613 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5614
5615         * text3.C (dispatch): do not modify clipboard when doing
5616         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5617         LFUN_DELETE_SKIP on a selection selection
5618
5619 2003-06-16  André Pönitz  <poenitz@gmx.net>
5620
5621         * BufferView.C:
5622         * buffer.C:
5623         * buffer.h:
5624         * paragraph.C:
5625         * tabular.[Ch]: IU of clone() and getLabelList();
5626
5627 2003-06-13  André Pönitz  <poenitz@gmx.net>
5628
5629         * tabular.h: compactification
5630
5631 2003-06-12  André Pönitz  <poenitz@gmx.net>
5632
5633         * tabular.C:
5634         * tabular.h:
5635         * tabular_funcs.h: some renaming plus whitespace
5636
5637 2003-06-12  André Pönitz  <poenitz@gmx.net>
5638
5639         * BufferView.C:
5640         * BufferView_pimpl.C:
5641         * CutAndPaste.C:
5642         * buffer.C:
5643         * iterators.[Ch]:
5644         * lyxfunc.C:
5645         * text.C:
5646         * toc.C: Return a Paragraph & for ParIterator::operator*()
5647
5648 2003-06-11  John Levon  <levon@movementarian.org>
5649
5650         * lyx_main.C:
5651         * ToolbarBackend.h:
5652         * ToolbarBackend.C: add "Toolbars" section and
5653         put the flags there
5654
5655 2003-06-10  Angus Leeming  <leeming@lyx.org>
5656
5657         * lfuns.h:
5658         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5659
5660         * lyxfunc.C (dispatch): invoke it.
5661
5662 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5663
5664         * main.C: protect <ios> with HAVE_IOS
5665         (main): protect sync_with_stdio with HAVE_IOS
5666
5667 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5668
5669         * text2.C (cutSelection): adjust
5670         (pasteSelection): adjust
5671
5672         * messages.C: handle get of empty string
5673
5674         * main.C (main): use sync_with_stdio(false)
5675
5676         * lyxfunc.C (dispatch): adjust
5677
5678         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5679         (WriteAs): remove unneeded BufferView arg.
5680
5681         * bufferparams.h: use correct types on papersize, papersize2 and
5682         paperpackage.
5683
5684         * bufferparams.C (readToken): adjust for type
5685         (writeLaTeX): add missing cases to switch.
5686
5687         * bufferlist.C (quitWriteBuffer): adjust
5688         (close): adjust
5689
5690         * buffer.C (asciiParagraph): remove some commented code.
5691
5692         * CutAndPaste.C: remove current_view extern variable.
5693         (cutSelection): add BufferParams arg.
5694         (eraseSelection): add BufferParams arg.
5695         (pasteSelection): add Buffer const & arg
5696
5697 2003-06-07  John Levon  <levon@movementarian.org>
5698
5699         * buffer.C:
5700         * paragraph_funcs.C:
5701         * paragraph_pimpl.C:
5702         * text.C:
5703         * text2.C:
5704         * paragraph.h:
5705         * paragraph.C: allow InsetERT to freely space lines,
5706         and some consolidation of code
5707
5708 2003-06-06  José Matos  <jamatos@fep.up.pt>
5709
5710         * buffer.C (makeDocBookFile): fix bug #821
5711
5712 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5713
5714         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5715
5716 2003-06-04  Angus Leeming  <leeming@lyx.org>
5717
5718         * buffer.C: bump format to 224.
5719
5720 2003-06-05  André Pönitz  <poenitz@gmx.net>
5721
5722         * text2.C (redoParagraphs): remove two const_cast<>
5723
5724 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5725
5726         * ParagraphList.h: remove last remnants of NO_STD_LIST
5727
5728 2003-06-03  Angus Leeming  <leeming@lyx.org>
5729
5730         * factory.C (createInset): small change to the way InsetExternal's params
5731         are set.
5732
5733 2003-06-04  André Pönitz  <poenitz@gmx.net>
5734
5735         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5736
5737         * paragraph_pimpl.h:
5738         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5739
5740         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5741
5742         * undo_funcs.C: make some simple cases of undo work again
5743
5744 2003-06-03  John Levon  <levon@movementarian.org>
5745
5746         * ispell.C: HPUX doesn't have sys/select.h
5747         (from Albert Chin)
5748
5749 2003-06-03  John Levon  <levon@movementarian.org>
5750
5751         * CutAndPaste.C: update tabular and include inset
5752         buffer references
5753
5754         * buffer.h:
5755         * paragraph.h:
5756         * paragraph.C: remove owningBuffer(), don't pass Buffer
5757         to clone()
5758
5759         * factory.C: insetGraphicsParams changed
5760
5761 2003-06-02  John Levon  <levon@movementarian.org>
5762
5763         * LyXAction.C:
5764         * factory.C:
5765         * lfuns.h:
5766         * lyxfunc.C:
5767         * text3.C: remove insetparent
5768
5769 2003-06-02  John Levon  <levon@movementarian.org>
5770
5771         * buffer.h:
5772         * buffer.C: fix inset_iterator.end(), move out of line
5773         (bug 1149)
5774
5775 2003-06-01  John Levon  <levon@movementarian.org>
5776
5777         * text3.C: use a proper cut/paste when doing inset
5778         insert (from Jürgen Spitzmüller)
5779
5780 2003-06-01  John Levon  <levon@movementarian.org>
5781
5782         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5783
5784 2003-05-30  André Pönitz  <poenitz@gmx.net>
5785
5786         * rowpainter.C: unify second drawing phase
5787
5788 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5789
5790         * trans_mgr.C: remove one case of current_view
5791
5792         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5793
5794         * paragraph_funcs.h: remove paragraph.h include
5795
5796         * paragraph.h: delete NO_STD_LIST stuff
5797
5798         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5799
5800         * buffer.h: remove paragraph.h include
5801
5802         * ParagraphList.C: delete file
5803
5804         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5805
5806         * toc.C (getTocList): adjust
5807
5808         * paragraph_pimpl.C (validate): adjust
5809
5810         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5811
5812         * paragraph.C (Paragraph): adjust
5813         (getPositionOfInset): use const_iterator, adjust
5814         (bibitem): use const_iterator, adjust
5815         (setInsetOwner): adjust
5816
5817         * iterators.C (operator++): adjust
5818
5819         * InsetList.[Ch]: Replace selfmade iterator with standard
5820         vector::iterator also introduce const_iterator. Remove getPos,
5821         getInset and setInset from InsetTable. Adjust accordingly.
5822
5823         * BufferView.C (lockInset): adjust
5824         (ChangeInsets): adjust
5825
5826         * tabular.[Ch]: delete commented same_id functions
5827
5828 2003-05-28  John Levon  <levon@movementarian.org>
5829
5830         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5831
5832 2003-05-28  André Pönitz  <poenitz@gmx.net>
5833
5834         * metricsinfo.[Ch]: remove 'fullredraw' member
5835
5836 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5837
5838         * lyxtextclass.C (operator): remove caching.
5839
5840 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5841
5842         * text3.C: adjust
5843
5844         * text2.C (cursorBottom): adjust
5845         (setCounter): use ParagraphList::find, adjust
5846
5847         * text.C (workWidth): use ParagraphList::find, adjust
5848
5849         * lyxcursor.C (LyXCursor): adjust
5850
5851         * buffer.C (inset_iterator): adjust
5852
5853         * ParagraphList.h: make iterator(value_type) private, make
5854         ParagraphList a friend of iterator.
5855
5856         * ParagraphList.C (find): new function
5857
5858         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5859
5860 2003-05-27  André Pönitz  <poenitz@gmx.net>
5861
5862         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5863
5864 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5865
5866         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5867
5868 2003-05-26  John Levon  <levon@movementarian.org>
5869
5870         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5871
5872 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5873
5874         * remove same_id from function signatures, adjust.
5875
5876 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5877
5878         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5879
5880         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5881
5882         * paragraph.C (Paragraph): get rid of same_ids parameter
5883
5884         * ParagraphList.C (insert): adjust
5885         (push_back): adjust
5886
5887 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5888
5889         * paragraph_funcs.C (breakParagraph): adjust
5890         (breakParagraphConservative): adjust
5891
5892         * buffer.C (readParagraph): adjust
5893
5894         * ParagraphList.C (insert): take a reference instead of a pointer
5895         (insert): adjust
5896
5897         * paragraph.[Ch] (id): new function
5898
5899         * bufferlist.C (newFile): adjust
5900
5901         * ParagraphList.C (ParagraphList): adjust
5902         (assign): adjust
5903         (push_back): take a reference instead of a pointer.
5904
5905         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5906
5907         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5908         instead.
5909
5910         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5911         set else use old code.
5912
5913         * ParagraphList.C: remove all NO_NEXT code and only compile this
5914         code of NO_STD_LIST is set.
5915
5916 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5917
5918         * BufferView_pimpl.C:
5919         * TextCache.C:
5920         * TextCache.h:
5921         * bufferlist.C:
5922         * errorlist.h:
5923         * format.C:
5924         * format.h:
5925         * graph.C:
5926         * lyxfunc.C:
5927         * lyxrc.C:
5928         * graphics/GraphicsConverter.C:
5929         * graphics/PreviewLoader.C: header adjustment
5930
5931 2003-05-23  Angus Leeming  <leeming@lyx.org>
5932
5933         * LaTeXFeatures.[Ch] (useBabel): new method.
5934         * bufferparams.C (writeLaTeX): use it.
5935
5936 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5937
5938         * ParagraphList.h (set): remove unused function.
5939
5940 2003-05-23  André Pönitz  <poenitz@gmx.net>
5941
5942         * BufferView.C:
5943         * BufferView_pimpl.C:
5944         * buffer.C:
5945         * buffer.h:
5946         * lyxfunc.C:
5947         * undo_funcs.C: setUndo reworked
5948
5949         * iterators.[Ch]: add access to topmost ParagraphList
5950
5951         * lyxtext.[Ch] (workWidth): add a const
5952
5953 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5954
5955         * texrow.[Ch] (increasePos): remove function
5956         * exporter.C (export): removed unused var and outdated comment
5957
5958 2003-05-23  Angus Leeming  <leeming@lyx.org>
5959
5960         * latexrunparams.h: rename fragile as moving_arg.
5961         * paragraph.C (simpleTeXOnePar): ditto.
5962         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5963
5964 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5965
5966         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5967         (createUndo): ditto
5968         (textUndoOrRedo): comment out a currently unused var.
5969
5970         * paragraph.h (NO_NEXT): enable NO_NEXT
5971
5972         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5973
5974         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5975
5976         * exporter.C (Export): adjust for removeAutoInsets removal.
5977
5978         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5979
5980         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5981
5982         * BufferView.[Ch] (removeAutoInsets): delete function
5983
5984 2003-05-22  Angus Leeming  <leeming@lyx.org>
5985
5986         * latexrunparams.h: add a free_spacing variable.
5987
5988         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5989         to pass moving_arg, as the data is stored in runparams.fragile.
5990
5991         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5992         to Inset::latexOptional or to simpleTeXOnePar.
5993
5994         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5995         free_spacing arg to Inset::latexOptional.
5996
5997         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5998         free_spacing arg.
5999
6000 2003-05-22  Angus Leeming  <leeming@lyx.org>
6001
6002         * latexrunparams.h: add fragile and use_babel variables.
6003
6004         * bufferparams.[Ch] (writeLaTeX): return use_babel.
6005         * buffer.C (makeLaTeXFile): store this returned value in
6006         runparams.use_babel, thus passing it to the inset::latex methods.
6007
6008         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
6009         simpleTeXSpecialChars as it is now stored in runparams.fragile.
6010
6011         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
6012         longer has a fragile arg, as it is stored in runparams.fragile.
6013
6014         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
6015         moving_arg parameter as the data is stored in runparams.fragile.
6016
6017         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
6018         a fragile parameter as the data is stored in runparams.fragile.
6019
6020 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6021
6022         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
6023
6024 2003-05-22  Angus Leeming  <leeming@lyx.org>
6025
6026         * latexrunparams.h: add a 'bool nice' which defaults to false.
6027
6028         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
6029         now encapsulated within runparams.
6030
6031         * bufferlist.C (updateIncludedTeXfiles):
6032         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
6033
6034 2003-05-22  Angus Leeming  <leeming@lyx.org>
6035
6036         * latexrunparams.h: new file containing struct LatexRunParams.
6037         * Makefile.am: add new file.
6038
6039         * LaTeX.[Ch] (c-tor, run):
6040         * buffer.[Ch] (makeLaTeXFile):
6041         * bufferlist.[Ch] (updateIncludedTeXfiles):
6042         * converter.C (convert, scanLog):
6043         * converter.[Ch] (runLaTeX):
6044         * exporter.C (Export):
6045         * paragraph.[Ch] (simpleTeXOnePar):
6046         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
6047         * paragraph_funcs.[Ch] (latexParagraphs):
6048         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
6049         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
6050         pass around a LatexRunParams parameter.
6051
6052 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6053
6054         * paragraph.[Ch]: remove unused constructor
6055
6056         * ParagraphList.C (erase): new function, taking two iterators
6057
6058 2003-05-22  André Pönitz  <poenitz@gmx.net>
6059
6060         * undo_funcs.C: remove duplicated code
6061
6062         * iterator.[Ch]: operator=
6063
6064 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6065
6066         * tabular.C (SetMultiColumn): ws changes
6067
6068         * rowpainter.C (paintFirst): get rid of a ->previous
6069
6070         * lyx_cb.C (getPossibleLabel): parlist simplification
6071
6072         * BufferView.C (ChangeInsets): simplify slightly.
6073
6074 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
6075
6076         * LyXAction.C: new lfun space-insert, kill protected-space-insert
6077         * lfuns.h: new LFUN_SPACE
6078         * lyxfunc.C: protected space has a new lfun
6079         * paragraph_funcs.C: read new space insets
6080         * text3.C:
6081         * factory.C: handle new space insets
6082
6083 2003-05-22  André Pönitz  <poenitz@gmx.net>
6084
6085         * BufferView.C:
6086         * BufferView_pimpl.C:
6087         * buffer.[Ch]:
6088         * lyxfunc.C:
6089         * undo_funcs.C: return a ParIterator from getParFromID.
6090
6091         * iterators.[Ch]: add two const's
6092
6093 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6094
6095         * toc.C (getTocList): adjust
6096
6097         * iterators.[Ch]: rework for parlist
6098
6099         * buffer.C (par_iterator_begin): adjust
6100         (par_iterator_end): adjust
6101
6102         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
6103
6104         * BufferView.C (removeAutoInsets): adjust
6105         (ChangeInsets): adjust
6106
6107 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
6108
6109         * text.C (top_y): fix bug 1110
6110
6111 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
6112
6113         * errorlist.[Ch]: added
6114         * buffer.C:
6115         * BufferView.[Ch]:
6116         * BufferView_pimpl.C:
6117         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
6118         instead
6119
6120 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * Makefile.am: ensure that lyx is relinked upon changes to the
6123         various "convenience" libs.
6124
6125 2003-05-20  Angus Leeming  <leeming@lyx.org>
6126
6127         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
6128         files are compiled in alphabetical order again.
6129
6130         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
6131
6132 2003-05-19  Angus Leeming  <leeming@lyx.org>
6133
6134         * gettext.[Ch]: remove "char const * _(char const *)".
6135
6136 2003-05-19  André Pönitz  <poenitz@gmx.net>
6137
6138         * dimension.[Ch]: promote from mathed/dimension.[Ch]
6139
6140         * Makefile.am:
6141         * BufferView.C:
6142         * DepTable.h:
6143         * LaTeXFeatures.C:
6144         * buffer.C:
6145         * lyxfont.C:
6146         * lyxlex.h:
6147         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
6148
6149 2003-05-19  André Pönitz  <poenitz@gmx.net>
6150
6151         * buffer.C:
6152         * lyxlayout.[Ch]:
6153         * lyxtextclass.[Ch]:
6154         * paragraph.C:
6155         * paragraph_funcs.[Ch]:
6156         * text2.C:
6157         * text3.C: more insetenv work
6158
6159 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
6160
6161         * ParagraphParameters.C (params2string): small bug fixed
6162
6163 2003-05-16  André Pönitz  <poenitz@gmx.net>
6164
6165         * debug.C:
6166         * bufferview_funcs.C: patch from Kornel Benko to prevent
6167           crash when _(...) is called twice in a statement
6168
6169 2003-05-16  André Pönitz  <poenitz@gmx.net>
6170
6171         * BufferView.C:
6172         * lyxfunc.C:
6173         * text.C:
6174         * text2.C:
6175         * text3.C:
6176         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6177
6178 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6179
6180         * lyx_main.C (init): remove spurious static_cast
6181
6182 2003-05-14  André Pönitz  <poenitz@gmx.net>
6183
6184         * BufferView.C: fix format string
6185
6186 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6187
6188         * BufferView.[Ch] (insertErrors): removed
6189         * BufferView.[Ch] (showErrorList): added
6190         * buffer.C (runChkTeX):
6191         * converter.C (scanLog): call showErrorList instead of inserterrors
6192
6193 2003-05-13  André Pönitz  <poenitz@gmx.net>
6194
6195         * BufferView_pimpl.C:
6196         * buffer.C:
6197         * bufferview_func.C:
6198         * MenuBackend.C:
6199         * lyxfunc.C:
6200         * lyxrc.C:
6201         * tex-accent.C:
6202         * text3.C:
6203         * toc.C:
6204         * tabular_funcs.h: tostr() from its own header
6205
6206         * ParagraphParameters.C:
6207         * ToolbarBackend.C:
6208         * bufferparams.C:
6209         * format.C:
6210         * lyxlex_pimpl.C:
6211         * text3.C: STRCONV()
6212
6213 2003-05-12  André Pönitz  <poenitz@gmx.net>
6214
6215         * BufferView.C:
6216         * BufferView_pimpl.C:
6217         * CutAndPaste.C:
6218         * LaTeX.C:
6219         * LaTeXFeatures.C:
6220         * ParagraphParameters.C:
6221         * buffer.C:
6222         * bufferlist.C:
6223         * bufferparams.C:
6224         * bufferview_funcs.C:
6225         * converter.C:
6226         * counters.C:
6227         * debug.C:
6228         * exporter.C:
6229         * format.C:
6230         * importer.C:
6231         * lyx_cb.C:
6232         * lyx_main.C:
6233         * lyxfont.C:
6234         * lyxfunc.C:
6235         * lyxvc.C:
6236         * paragraph.C:
6237         * paragraph_funcs.C:
6238         * tabular.C:
6239         * tabular_funcs.C:
6240         * text2.C:
6241         * text3.C:  boost::format -> bformat  all over the place
6242
6243
6244 2003-05-09  André Pönitz  <poenitz@gmx.net>
6245
6246         * LColor.[Ch]: Pimpl the #include <map> away
6247
6248 2003-05-09  John Levon  <levon@movementarian.org>
6249
6250         * bufferlist.C: never remove emergency saves
6251
6252 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6253
6254         * Makefile.am: better lib building
6255
6256 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6259         instead.
6260         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6261         (simpleTeXSpecialChars): adjust
6262         (simpleTeXSpecialChars): adjust
6263         * paragraph.C (simpleTeXOnePar): adjust
6264         * buffer.C (makeLaTeXFile): adjust
6265
6266         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6267
6268         * text2.C (changeDepth): parlist cleanup
6269         (getColumnNearX): ditto
6270
6271         * rowpainter.C (getLabelFont): parlist cleanup
6272
6273         * bufferlist.C (newFile): parlist cleanup
6274
6275         * CutAndPaste.C (eraseSelection): parlist cleanup
6276
6277         * BufferView_pimpl.C (trackChanges): parlist cleanup
6278         (dispatch): ditto
6279
6280         * BufferView.C (lockInset): parlist cleanup.
6281         (ChangeInsets): ditto
6282
6283 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * CutAndPaste.h: Update file header.
6286
6287         * CutAndPaste.C: Update file header.
6288         Store the parts cut out of the Document in a limited_stack.
6289         (copySelection): adjust
6290         (pasteSelection): new function, takes the index in the limited stack.
6291         (nrOfParagraphs): adjust
6292         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6293         simplify error inset insertion.
6294         (checkPastePossible): adjust
6295
6296 2003-05-06  John Levon  <levon@movementarian.org>
6297
6298         * text2.C: don't cast wrap inset to float
6299
6300 2003-05-05  André Pönitz  <poenitz@gmx.net>
6301
6302         * iterator.C:
6303         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6304
6305         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6306           few naked Paragraph *.
6307
6308 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6309
6310         * bufferparams.C: Output warning if a document with missing
6311         TeX document class is loaded
6312         * exporter.C: Disable TeX exports if the document class is missing
6313         * lyxtextclass.C:
6314         * lyxtextclass.h:
6315         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6316         isTeXClassAvailable()
6317
6318 2003-05-03  John Levon  <levon@movementarian.org>
6319
6320         * BufferView.h:
6321         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6322         explicit cursor show/hide
6323
6324         * BufferView_pimpl.h:
6325         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6326         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6327
6328         * lyxfunc.C: hide cursor before dispatching.
6329
6330         * lyx_cb.C:
6331         * lyxfind.C:
6332         * text.C:
6333         * text3.C: remove explicit cursor hides
6334
6335 2003-05-02  André Pönitz  <poenitz@gmx.net>
6336
6337         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6338
6339         * undo_funcs.C:
6340         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6341           linked lists
6342
6343         * text2.C: tiny whitespace
6344
6345 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6346
6347         * undo_funcs.C: almost only ws changes.
6348
6349         * ParagraphList.C (splice): just return if pl is empty.
6350
6351 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6352
6353         * ParagraphList.C (splice): new function.
6354
6355         * CutAndPaste.C (pasteSelection): use it
6356
6357 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6358
6359         * CutAndPaste.C (pasteSelection): remove the last next and
6360         previous from this file.
6361
6362 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6363
6364         * CutAndPaste.C (pasteSelection): more clean up, user proper
6365         ParagraphList functions for pasteing.
6366
6367         * ParagraphList.C (insert): new function, three arg insert
6368
6369 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6370
6371         * ParagraphList.C (insert): new function, three arg insert
6372
6373         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6374         not on paragraphs.
6375
6376 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6377
6378         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6379
6380 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6381
6382         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6383
6384 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6385
6386         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6387         (copySelection): clean up a bit.
6388         (pasteSelection): use make_pair
6389
6390         * ParagraphList.C (ParagraphList): implement copy constructor
6391         (operator=): implement, base on copy constructor.
6392         (assign): new func
6393
6394         * paragraph.C (erase): return a bool
6395
6396         * paragraph_pimpl.C (erasePos): remove function, move contents...
6397         (erase): ... here. Return a bool.
6398         (erase): call erase instead of erasePos.
6399
6400 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6401
6402         * ParagraphList.h: define PitPosPair
6403         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6404         ParagraphList, fix a bug on pasting multiple pars
6405         * text2.C: change interface to C&P
6406
6407 2003-04-30  André Pönitz  <poenitz@gmx.net>
6408
6409         * undo_func.C: revert part of yesterday's patch 2
6410
6411 2003-04-30  John Levon  <levon@movementarian.org>
6412
6413         * LColor.C: s/tabular/table/
6414
6415 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6416
6417         * text3.C (dispatch): do not convert iterator -> pointer
6418         * undo_funcs.C (setCursorParUndo): ditto
6419         * text_funcs.C (transposeChars): ditto
6420
6421         * text2.C (setLayout): ws changes only
6422
6423         * text.C (breakParagraph): do not convert iterator -> pointer
6424         (insertChar): ditto
6425         (acceptChange): ditto
6426         (rejectChange): ditto
6427         (changeCase): ditto
6428         (Delete): ditto
6429         (backspace): ditto
6430
6431         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6432         pointer
6433
6434 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6435
6436         * text3.C (gotoInset): YABG (yet another bad getChar)
6437
6438 2003-04-29  André Pönitz  <poenitz@gmx.net>
6439
6440         * paragraph.h: make operator= private unimplemented as long as
6441           it is unusable
6442
6443         * ParagraphList.C: whitespace
6444
6445         * paragraph.[Ch]:
6446         * paragraph_pimpl.[Ch]:
6447         * paragraph_funcs.C:
6448         * CutAndPaste.C:
6449         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6450
6451         * text2.C:
6452           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6453
6454 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6455
6456         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6457         * paragraph.[Ch] (erase):
6458         * paragraph_pimpl.[Ch] (erase): change return type and value
6459         * text2.C (cutSelection): some rework
6460
6461 2003-04-28  John Levon  <levon@movementarian.org>
6462
6463         * bufferlist.C: changes for unsaved changes dialog
6464
6465 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6466
6467         * bufferlist.C (newFile): set language (messages_) for new
6468         documents also.
6469
6470         * buffer.C (readFile): ws changes only.
6471
6472 2003-04-28  André Pönitz  <poenitz@gmx.net>
6473
6474         * undo_funcs.C:
6475         * lyxfunc.C:
6476         * buffer.[Ch]:
6477         * BufferView_pimpl.C:
6478         * BufferView.C: getParFromID related ParagraphList::iterator changes
6479
6480 2003-04-28  André Pönitz  <poenitz@gmx.net>
6481
6482         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6483           Changes
6484
6485 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6486
6487         * messages.C: remove one more localedir class variable.
6488
6489 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6490
6491         * messages.C (getLocaleDir): singleton generation function
6492         (Pimpl): use it.
6493         (Messages): add a default constructor.
6494
6495         * main.C (main): do not setup localedir here, do not call
6496         gettext_init.
6497
6498         * gettext.C (_): use it.
6499         (gettext_init): delete funciton
6500
6501 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6502
6503         * gettext.C (getLyXMessages): new singleton generating function.
6504
6505         * buffer.C (updateDocLang): adjust
6506
6507         * Makefile.am (messages.o): add target
6508         (main.o): remove target
6509
6510 2003-04-27  John Levon  <levon@movementarian.org>
6511
6512         * bufferlist.C:
6513         * lyx_cb.C:
6514         * lyxfunc.C:
6515         * lyxvc.C: specify cancel button in Alert::prompt
6516
6517 2003-04-26  John Levon  <levon@movementarian.org>
6518
6519         * text3.C:
6520         * lyxfunc.C:
6521         * lfuns.h:
6522         * LyXAction.C: add LFUN_INSET_SETTINGS
6523
6524         * lyxfunc.C: don't enable tabular-feature when there's
6525         just any locking inset
6526
6527 2003-04-26  John Levon  <levon@movementarian.org>
6528
6529         * bufferlist.C: re-add Cancel to buffer close question
6530
6531         * lyxfunc.C: fix import UI a bit
6532
6533 2003-04-25  John Levon  <levon@movementarian.org>
6534
6535         * gettext.C: remove the broken asserts for now
6536
6537 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * messages.C: make case where setlocale cannot comply work better.
6540
6541         * buffer.C (updateDocLang): new function
6542         (changeLanguage): use it
6543         (readFile): use it
6544
6545         * text2.C (setCounter): use B_ a bit.
6546
6547         * lyxlayout.C (Read): be sure to trim the label strings.
6548
6549         * messages.C (Messages): fix typo in comment
6550
6551         * buffer.C (readFile): set message_ after file is loaded.
6552         (makeDocBookFile): remove double return
6553         (changeLanguage): reset message_ upon language change.
6554         (B_): new func, use this to get translated buffer strings.
6555
6556         * main.C: add myself and Jean Marc as authors.
6557
6558 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6559
6560         * messages.[hC]: pimplify Messages, and three different pimpls to be
6561         used in different circumstances.
6562
6563         * gettext.[Ch]: change for use with new message code.
6564
6565 2003-04-24 André Pönitz <poenitz@gmx.net>
6566
6567         * factory.C: support for eqref
6568
6569 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6570
6571         * messages.[Ch]: add missing char
6572
6573         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6574
6575         * messages.[Ch]: New files
6576
6577 2003-04-18  John Levon  <levon@movementarian.org>
6578
6579         * BufferView.h:
6580         * BufferView.C:
6581         * BufferView_pimpl.C:
6582         * lfuns.h:
6583         * LyXAction.C:
6584         * lyxtext.h:
6585         * text2.C: remove layout-copy/paste (bug 778)
6586
6587 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6588
6589         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6590
6591 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6592
6593         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6594         if they succeed. Act accordingly.
6595
6596 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6597
6598         * text2.C (setCharFont): adjust
6599         (setCounter): adjust
6600         (insertStringAsLines): adjust
6601
6602         * text.C (leftMargin): adjust
6603         (setHeightOfRow): adjust
6604
6605         * rowpainter.C (paintFirst): adjust
6606         (paintLast): adjust
6607
6608         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6609         (outerHook): ditto
6610         (isFirstInSequence): ditto
6611         (getEndLabel): ditto
6612         (outerFont): adjust
6613
6614         * paragraph.C (getParLanguage): comment out some hard stuff.
6615
6616         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6617         (sgmlError): ditto
6618         (simpleDocBookOnePar): ditto
6619         (makeDocBookFile): use ParagraphList::iterator
6620
6621         * CutAndPaste.C (pasteSelection): adjust
6622
6623 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * text2.C (getFont): adjust
6626         (getLayoutFont): adjust
6627         (getLabelFont): adjust
6628
6629         * paragraph_funcs.C (TeXOnePar): adjust
6630
6631         * buffer.C (simpleLinuxDocOnePar): adjust
6632         (simpleDocBookOnePar): adjust
6633
6634         * CutAndPaste.C (pasteSelection): adjust
6635
6636         * BufferView.C (getEncoding): adjust
6637
6638         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6639
6640 2003-04-16  John Levon  <levon@movementarian.org>
6641
6642         * lyxfind.C: use parlist stuff for search/changes
6643
6644 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6645
6646         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6647
6648         * text2.C (deleteEmptyParagraphMechanism): adjust
6649
6650         * text2.[Ch] (ownerParagraph): delete func (both of them
6651
6652 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6653
6654         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6655
6656 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6657
6658         * ParagraphList.C: prepare for NO_NEXT
6659
6660 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6661
6662         * text2.C (getFont): adjust
6663         (getLayoutFont): adjust
6664         (getLabelFont): adjust
6665
6666         * paragraph.C (getFont): adjust
6667         (getLabelFont): adjust
6668         (getLayoutFont): adjust
6669
6670         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6671
6672 2003-04-15  John Levon  <levon@movementarian.org>
6673
6674         From Angus Leeming
6675
6676         * lyx_main.C: handle Include in .ui files
6677
6678 2003-04-15  John Levon  <levon@movementarian.org>
6679
6680         * MenuBackend.C: make the doc files length shorter
6681
6682         * ToolbarBackend.h:
6683         * ToolbarBackend.C: handle toolbar placement flags,
6684         Minibuffer
6685
6686 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6687
6688         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6689         adjust
6690
6691         * paragraph_funcs.C (TeXOnePar): adjust
6692
6693         * paragraph.C (getLabelFont): add outerfont arg, adjust
6694         (getLayoutFont): ditto
6695         (simpleTeXOnePar): adjust
6696
6697         * paragraph_pimpl.C (realizeFont): delete func
6698
6699 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6700
6701         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6702         row argument, constify cur argument.
6703
6704 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6705
6706         * text2.C (getFont): adjust
6707         (getLayoutFont): adjust
6708         (getLabelFont): adjust
6709
6710         * paragraph_funcs.C (TeXOnePar): adjust
6711         (outerFont): new func...
6712         (realizeFont): ...moved out from here, changed this to facilitate
6713         transition
6714
6715         * paragraph.C (getFont): take outerfont as arg, adjust
6716         (simpleTeXOnePar): add outerfont arg, adjust
6717
6718         * buffer.C (simpleLinuxDocOnePar): adjust
6719         (simpleDocBookOnePar): adjust
6720
6721         * CutAndPaste.C (pasteSelection): adjust
6722
6723         * BufferView.C (getEncoding): adjust
6724
6725 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6726
6727         * text2.C (setCharFont): adjust
6728         (setCounter): adjust
6729
6730         * text.C (leftMargin): adjust
6731         (setHeightOfRow): adjust
6732
6733         * rowpainter.C (paintFirst): adjust
6734         (paintLast): adjust
6735
6736         * paragraph_pimpl.C (realizeFont): adjust
6737
6738         * paragraph.C (isFirstInSequence): move from here...
6739         * paragraph_funcs.C (isFirstInSequence): ...to here
6740
6741         * paragraph.C (outerHook): move from here...
6742         * paragraph_funcs.C (outerHook): ...to here
6743
6744         * paragraph.C (depthHook): move from here...
6745         * paragraph_funcs.C (depthHook): ...to here
6746
6747         * paragraph.C (getEndLabel): move from here...
6748         * paragraph_funcs.C (getEndLabel): ...to here
6749
6750         * text2.C (realizeFont): move from here...
6751         * paragraph_funcs.C (realizeFont): ...to here
6752
6753 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6754
6755         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6756
6757 2003-04-14  Angus Leeming  <leeming@lyx.org>
6758
6759         * LColor.[Ch]: scrap LColor mathcursor.
6760
6761 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6762
6763         * lyxlex.[Ch] (text): delete function
6764         * trans.C (Load): adjust
6765         * paragraph_funcs.C (readParToken): adjust
6766
6767 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6768
6769         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6770         vector<char> instead of a char[].
6771
6772         * lyxlex_pimpl.C (getString): adjust
6773         (next): adjust
6774         (lex): use getString
6775         (eatLine): adjust
6776         (nextToken): adjust
6777
6778         * lyxlex.C (text): use pimpl_->getString()
6779         (getBool): ditto
6780         (findToken): ditto
6781
6782 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6783
6784         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6785         (makeFontEntriesLayoutSpecific): temp var for par.size()
6786         (setLayout): temp var for ownerParagraphs().end()
6787         (fullRebreak): temp var for rows().end()
6788         (selectionAsString): temp var for boost::next(startpit), realize
6789         that the while really is a regular for loop.
6790         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6791         setCursor in one place.
6792         (setParagraph): temp vr for ownerParagraphs().end()
6793         (updateCounters): make the while loop a for loop
6794         (cutSelection): temp var for ownerParagraphs().end()
6795         (updateInset): make the do {} while() a regular for loop
6796         (getCursorX): use temp vars
6797         (setCurrentFont): use temp vars
6798         (getColumnNearX): use temp vars
6799
6800 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6801
6802         * text.C (transformChar): use temp var for getChar
6803         (computeBidiTables): use temp var for row->par()
6804         (fill): move temp vars for row->par() and pit->layout() earlier in
6805         the function.
6806         (labelFill): use temp var for row->par()
6807         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6808         asc and desc, realize that pit never changes and that firstpit is
6809         just a duplicate and not needed. Exchange rit->par() with pit in a
6810         lot of places.
6811         (breakAgain): use a temp var for boost::next(rit)
6812         (breakAgainOneRow): ditto
6813         (breakParagraph): use a temp var for rows().begin()
6814         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6815         (cursorRightOneWord): use temp var for cursor.par() and
6816         cursor.pos(), remove usage of tmpcursor.
6817         (cursorLeftOneWord): use temp var for cursor.par() and
6818         cursor.pos() only set cur at end of function.
6819
6820 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6821
6822         * text.C, text2.C: exchange all usage of Paragraph::next with
6823         boost::next(ParagraphList::iterator)
6824
6825         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6826
6827         * text2.C (cursorTop): simplify implementation
6828         (cursorBottom): ditto
6829         (setParagraph): use ParagraphList::iterator
6830         (setCurrentFont): adjust
6831         (getColumnNearX): adjust
6832         (cursorRight): adjust
6833         (cursorLeft): remove usage of Paragraph::previous
6834         (cursorUpParagraph): ditto
6835         (deleteEmptyParagraphMechanism): slight cleanup
6836
6837         * text.C (isBoundary): take a Paragraph const & instead of a
6838         pointer as arg.
6839         (addressBreakPoint): ditto
6840         (leftMargin): remove usage of Paragraph::previous.
6841         (setHeightOfRow): ditto
6842         (cursorLeftOneWord): ditto
6843         (selectNextWordToSpellcheck): ditto
6844         (Delete): ditto
6845         (backspace): ditto
6846         (breakParagraph): remove one usage of Paragraph::next
6847         (redoParagraph): ditto
6848         (acceptChange): ditto
6849         (insertChar): adjust
6850         (rowBreakPoint): adjust
6851
6852         * bufferview_funcs.C (toggleAndShow): adjust
6853
6854 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6855
6856         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6857         methods to access it.
6858         * lyxtext.h:
6859         * text.C: Added updateRowPositions to compute all row positions.
6860         Make top_y and getRowNearY() to use the cached y position
6861
6862 2003-04-11  John Levon  <levon@movementarian.org>
6863
6864         * text.C (rowBreakPoint): reintroduce the labelEnd
6865         checks, code copied from the row fill stuff. Deep voodoo.
6866
6867         * text.C (fill): add a comment and debugging for the
6868         next poor soul.
6869
6870 2003-04-11  John Levon  <levon@movementarian.org>
6871
6872         * text.C: make sure fullrow insets get wrapped to the next line,
6873         even when they're in a manual label
6874
6875 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6876
6877         * text2.C (insertParagraph): make it take ParagraphList::iterator
6878         as arg.
6879         (setLayout): make it return ParagraphList::iterator
6880         (redoParagraphs): ditto
6881         (setCounter): ditto
6882         (checkParagraph): ditto
6883
6884         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6885
6886         * text2.C: adjust several funcs.
6887         (realizeFont): take a ParagraphList::iterator as arg.
6888         (getLayoutFont): ditto
6889         (getLabelFont): ditto
6890         (setCharFont): ditto
6891
6892         * text.C: adjust several funcs.
6893
6894 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6895
6896         * text.C (selectNextWordToSpellcheck): don't accidentally
6897         skip insets
6898
6899 2003-04-10  John Levon  <levon@movementarian.org>
6900
6901         * ToolbarBackend.C (getIcon): special handling for
6902         LFUN_MATH_DELIM
6903
6904 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6905
6906         * text2.C (cursorRight): a getChar assert fixed
6907
6908 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6909
6910         * text2.C (getFont): change to take a ParagraphList::iterator
6911         instead of Paragraph*
6912         Adjust several functions.
6913
6914         * text.C (transformChar): change to take a ParagraphList::iterator
6915         instead of Paragraph*
6916         (singleWidth): ditto
6917         Adjust several functions.
6918
6919         * rowpainter.C: adjust several functions
6920         * rowpainter.h:store a ParagraphList::iterator and not a
6921         Paragraph&.
6922
6923
6924 2003-04-09  John Levon  <levon@movementarian.org>
6925
6926         * lyxfunc.C:
6927         * lfuns.h:
6928         * LyXAction.h:
6929         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6930         and the "help" bits as well
6931
6932 2003-04-09  John Levon  <levon@movementarian.org>
6933
6934         * ToolbarBackend.h:
6935         * ToolbarBackend.C: allow multiple toolbars
6936
6937 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6938
6939         * undo_funcs.C (setCursorParUndo): adjust
6940
6941         * text_funcs.C (transposeChars): adjust
6942
6943         * text3.C (gotoNextInset): adjust
6944         (dispatch): adjust
6945
6946         * text2.C (setLayout): adjust
6947         (changeDepth): adjust
6948         (setFont): adjust
6949         (redoParagraphs): adjust
6950         (selectionAsString): adjust
6951         (setParagraph): adjust
6952         (insertInset): adjust
6953         (cutSelection): adjust
6954         (copySelection): adjust
6955         (pasteSelection): adjust
6956         (insertStringAsLines): adjust
6957         (updateInset): adjust
6958         (setCursor): change to take a ParagraphList::iterator parameter
6959         (setCursorIntern): change to take a ParagraphList::iterator parameter
6960         (setCurrentFont): adjust
6961         (cursorLeft): adjust
6962         (cursorRight): adjust
6963         (deleteEmptyParagraphMechanism): adjust
6964
6965         * text.C (breakParagraph): adjust
6966         (insertChar): adjust
6967         (acceptChange): adjust
6968         (rejectChange): adjust
6969         (selectNextWordToSpellcheck): adjust
6970         (changeCase): adjust
6971         (Delete): adjust
6972         (backspace): adjust
6973
6974         * lyxfind.C (SearchForward): adjust
6975         (SearchBackward): adjust
6976         (nextChange): adjust
6977
6978         * lyxcursor.C (par): adjust
6979
6980         * lyxcursor.h: store a ParagraphList::iterator instead of a
6981         Paragraph*
6982
6983         * lyx_cb.C (getPossibleLabel): adjust
6984
6985         * bufferview_funcs.C (toggleAndShow): adjust
6986
6987         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6988         (dispatch): adjust
6989
6990         * BufferView.C (removeAutoInsets): adjust
6991         (lockedInsetStoreUndo): adjust
6992
6993 2003-04-09  John Levon  <levon@movementarian.org>
6994
6995         * ToolbarBackend.C: try icon without argument
6996         if with argument fails
6997
6998 2003-04-08  John Levon  <levon@movementarian.org>
6999
7000         * ToolbarBackend.h:
7001         * ToolbarBackend.C: add getIcon(), handle tooltip,
7002         and change from "Icon" to "Item".
7003
7004 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7005
7006         * BufferView.C (lockInset): another bad getchar crunched
7007
7008 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
7009
7010         * text2.C (changeDepth): do not setUndo on test_only (make undo work
7011         again)
7012
7013 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
7014
7015         * lyxfind.C (searchForward, searchBackwards): bug 782
7016
7017 2003-04-07  John Levon  <levon@movementarian.org>
7018
7019         * paragraph.C: remove dead comment
7020
7021         * text.C: remove troublesome depth-fiddling code
7022         in leftMargin() and rightMargin() (bug 1017)
7023
7024         * text.C: fix breaking of rows in nested lists
7025         (bug 1004)
7026
7027         * text2.C (updateCounters): fix up depth values
7028         (bug 1013)
7029
7030 2003-04-07  John Levon  <levon@movementarian.org>
7031
7032         * BufferView_pimpl.C: clear message when doc finishes resizing,
7033         and after a mouse event
7034
7035         * lyxfunc.C: clear message after exiting inset
7036
7037 2003-04-07  John Levon  <levon@movementarian.org>
7038
7039         * bufferview_funcs.C: show math status not outside
7040         status in the statusbar
7041
7042 2003-04-07  John Levon  <levon@movementarian.org>
7043
7044         * lyxfunc.C: note status changed after a depth change
7045
7046 2003-04-04  Angus Leeming  <leeming@lyx.org>
7047
7048         * LaTeX.h: move AuxInfo operator==, != out of line.
7049         Remove LaTeX virtual destructor; nothing derives from it.
7050         Move operator()() out of public area and rename it startscript().
7051         Change protected for private.
7052
7053 2003-04-04  Angus Leeming  <leeming@lyx.org>
7054
7055         * lyxfunc.C:
7056         * text2.C: remove unneeded #includes.
7057
7058 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7059
7060         * text2.C (dEPM): fix the heigth of the next row
7061
7062 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
7063
7064         * text.C: squashed an invalid getChar requester + some ws changes
7065
7066 2003-04-03  John Levon  <levon@movementarian.org>
7067
7068         * bufferview_funcs.h:
7069         * bufferview_funcs.C:
7070         * lyxfunc.C:
7071         * lyxtext.h:
7072         * text2.C: make getStatus work for the env depth lfuns
7073
7074 2003-04-03  John Levon  <levon@movementarian.org>
7075
7076         * bufferview_funcs.h:
7077         * bufferview_funcs.C:
7078         * lyxfunc.C:
7079         * lyxtext.h:
7080         * text2.C: parlistize decDepth(), by merging it with incDepth()
7081
7082 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7083
7084         * lyxrow.h: store a ParagraphList::iterator instead of a
7085         Paragraph* and adjust other class functions to suit.
7086
7087         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
7088         above.
7089
7090 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7091
7092         * text2.C (setCursor): do not anchor to cursor row for the time being
7093
7094 2003-04-02  John Levon  <levon@movementarian.org>
7095
7096         * LyXAction.C:
7097         * lfuns.h:
7098         * lyx_main.C:
7099         * lyxtext.h:
7100         * text.C:
7101         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
7102
7103 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7104
7105         * paragraph.h: make ParagraphList and ParagraphList::iterator
7106         friends of Paragraph.
7107
7108         * buffer.C (makeLinuxDocFile): move towards ParagraphList
7109
7110         * ParagraphList.C: Use the private next_ and previous_ from
7111         Paragraph.
7112
7113 2003-04-01  John Levon  <levon@movementarian.org>
7114
7115         * ToolbarBackend.h:
7116         * ToolbarBackend.C:
7117         * Makefile.am: rename, remove defaults gunk
7118
7119         * MenuBackend.h:
7120         * MenuBackend.C: remove defaults gunk
7121
7122         * Languages.h:
7123         * Languages.C: remove defaults gunk
7124
7125         * lyx_main.h:
7126         * lyx_main.C: error out if files couldn't be found.
7127
7128 2003-04-02  John Levon  <levon@movementarian.org>
7129
7130         * text2.C: make incDepth() use parlist
7131
7132 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7133
7134         * undo_funcs.C (firstUndoParagraph): adjust
7135
7136         * text3.C (gotoInset): adjust
7137         (dispatch): adjust, and rewrite loop.
7138
7139         * text2.C (init): adjust, and rewrite loop.
7140         (redoParagraphs): adjust
7141         (updateInset): adjust, and rewrite loop.
7142         (deleteEmptyParagraphMechanism): adjust
7143
7144         * tabular.C (LyXTabular): adjust
7145         (SetMultiColumn): adjust
7146         (TeXRow): adjust
7147
7148         * lyxtext.[Ch] (ownerParagraph): delete function
7149         (ownerParagraphs): new function returns a ParagraphList.
7150
7151         * BufferView.C (removeAutoInsets): adjust
7152         (insertErrors): adjust
7153         (setCursorFromRow): adjust
7154
7155 2003-04-01  Angus Leeming  <leeming@lyx.org>
7156
7157         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
7158         in the frontends.
7159
7160 2003-04-02  John Levon  <levon@movementarian.org>
7161
7162         * lyxtext.h:
7163         * text.C:
7164         * Makefile.am:
7165         * text_funcs.h:
7166         * text_funcs.C: make transposeChars a free function
7167
7168         * lyxrow_funcs.C: remove wrong comment
7169
7170 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7171
7172         * lyxtext.h: adjust
7173         * rowpainter.C: adjust
7174         * text.C: adjust
7175         * text2.C: adjust
7176         * text3.C: adjust
7177
7178         * lyxrow_funcs. [Ch]: new files
7179
7180         * lyxrow.[Ch]: remove next and previous pointers
7181         (next,previous): remove accessor functions
7182         (isParEnd): move to lyxrow_funcs
7183         (lastPos): move to lyxrow_funcs
7184         (nextRowIsAllInset): move to lyxrow_funcs
7185         (lastPrintablePos): move to lyxrow_funcs
7186         (numberOfSeparators): move to lyxrow_funcs
7187         (numberOfHfills): move to lyxrow_funcs
7188         (numberOfLabelHfills): move to lyxrow_funcs
7189         (hfillExpansion): move to lyxrow_funcs
7190
7191         * lyxfunc.C: adjust
7192
7193         * bufferview_funcs.C (toggleAndShow): adjust
7194
7195         * RowList.h: Remove class RowList from file leave just a
7196         std::list<Row>.
7197
7198         * RowList.C: delete file
7199
7200         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7201         and lyxrow_funcs.h
7202
7203 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7204
7205         * text3.C (cursorPrevious): adjust
7206         (cursorNext): adjust
7207         (dispatch): adjust
7208
7209         * text2.C (redoHeightOfParagraph): adjust
7210         (redoDrawingOfParagraph): adjust
7211         (setCursor): adjust
7212
7213         * text.C (breakParagraph): adjust
7214         (insertChar): adjust
7215         (backspace): adjust
7216
7217         * rowpainter.C (RowPainter): adjust
7218         (leftMargin): simplify and adjust
7219         (most rowpainter functions): adjust.
7220
7221         * rowpainter.h: store the row as RowList::iterator not as Row*
7222
7223         * lyxcursor.C (row): taka RowList::iterator as arg
7224         (irow): ditto
7225
7226         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7227         of Row*.
7228
7229 2003-04-01  Angus Leeming  <leeming@lyx.org>
7230
7231         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7232         stuff like bool Bool.
7233
7234 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7235
7236         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7237         rewrite a loop
7238
7239 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7240
7241         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7242         RowList::iterator.
7243
7244         * lyxtext.h (rows): drop one version and leve a const variant that
7245         returns a RowList::iterator.
7246
7247 2003-03-31  Angus Leeming  <leeming@lyx.org>
7248
7249         * text.C (fill): ensure that the signature is the same as that in the
7250         header file.
7251
7252 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7253
7254         * text2.C (redoParagraphs): adjust
7255         (updateCounters): adjust
7256         (checkParagraph): adjust
7257         (getColumnNearX): adjust and reformat a bit.
7258
7259         * text.C (top_y): adjust
7260         (workWidth): adjust
7261         (leftMargin): adjust
7262         (prepareToPrint): adjust
7263         (getRow): adjust
7264         (getRowNearY): adjust
7265
7266         * lyxtext.h: make rowlist_ mutable.
7267
7268         * RowList.h: add const_iterator
7269         * RowList.C: adjust for RowList::const_iterator.
7270
7271         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7272         adjust.
7273
7274 2003-03-31  John Levon  <levon@movementarian.org>
7275
7276         * lyxrc.h:
7277         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7278
7279         * lyx_main.C: set default fonts from using lyx_gui funcs
7280
7281         * exporter.C: pdf_mode moved from lyxrc
7282
7283         * lyx_cb.C:
7284         * lyxfunc.C: changes from above
7285
7286 2003-03-31  John Levon  <levon@movementarian.org>
7287
7288         * lyx_main.C: fix to the last fix
7289
7290 2003-03-31  John Levon  <levon@movementarian.org>
7291
7292         * bufferlist.C: "Load original" -> "Load Original"
7293
7294         * converter.C:
7295         * exporter.C:
7296         * importer.C:
7297         * lyx_main.C:
7298         * format.C: more Alert cleanups
7299
7300 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7301
7302         * text2.C (removeParagraph): make it take a RowList::iterator as
7303         arg, adjust.
7304         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7305         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7306
7307         * text.C (anchor_row): make it take a RowList::iterator as arg,
7308         adjust.
7309         (computeBidiTables): make it take a const reference to Row instead
7310         of Row pointer, adjust.
7311         (leftMargin): make it take a RowList::iterator as arg, adjust.
7312         (rowBreakPoint): adjust
7313         (breakAgainOneRow): make it take a RowList::iterator as arg,
7314         adjust.
7315         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7316
7317         * bufferview_funcs.C (toggleAndShow): adjust
7318
7319 2003-03-30  John Levon  <levon@movementarian.org>
7320
7321         * Makefile.am:
7322         * BoostFormat.h:
7323         * boost-inst.C: moved to support
7324
7325         * several files: changes as a result
7326
7327 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7328
7329         * text2.C (LyXText): adjust.
7330         (init): adjust
7331         (removeRow): make it take a RowList::iterator as arg, adjust.
7332         (fullRebreak): adjust
7333         (deleteEmptyParagraphMechanism): adjust
7334         (clearPaint): adjust
7335         (postPaint): adjust
7336
7337         * text.C (top_y): adjust
7338         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7339         (breakAgain): make it take a RowList::iterator as arg, adjust.
7340         (breakParagraph): adjust
7341         (insertChar): adjust
7342         (backspace): adjust
7343
7344         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7345         need_break_row, and refresh_row.
7346
7347         * text3.C (dispatch): adjust
7348
7349         * text2.C (checkParagraph): adjust
7350         (setCursor): adjust
7351         (setCursorFromCoordinates): adjust
7352
7353         * text.C (top_y): adjust
7354         (workWidth): adjust
7355         (getRow): make it return a RowList::iterator, adjust
7356         (getRowNearY): make it return a RowList::iterator, adjust
7357
7358         * text2.C (init): adjust
7359         (insertRow): remove function
7360         (insertParagraph): adjust
7361         (redoParagraphs): adjust
7362         (fullRebreak): adjust
7363         (updateCounters): adjust
7364
7365         * text.C (top_y): rewrite to use RowList iterators.
7366         (top_y): adjust
7367         (setHeightOfRow): rewrite to sue RowList iterators.
7368         (appendParagraph): adjust
7369         (breakAgain): adjust
7370         (breakAgainOneRow): adjust
7371         (breakParagraph): adjust
7372         (getRow): adjust
7373         (getRowNearY): adjust, and remove commented code.
7374
7375         * lyxtext.h (firstRow): delete function
7376         (lastRow): delete function
7377         (rows): new function (const and non-const versions.)
7378         (insertRow): delete function
7379
7380         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7381
7382 2003-03-29  John Levon  <levon@movementarian.org>
7383
7384         * BufferView_pimpl.C: always update scrollbar top
7385         because pasting text when we're anchored could mean we
7386         miss an update altogether
7387
7388 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7389
7390         * text2.C (init): use rowlist_.end() and not 0.
7391         (insertRow): change to take a RowList::iterator as arg, adjust
7392         for this.
7393         (insertParagraph): change to take a RowList::iterator as arg,
7394         adjust for this.
7395         (redoParagraphs): remove some debug msgs.
7396
7397         * text.C (appendParagraph): change to take a RowList::iterator
7398         arg, adjust for this.
7399         (breakAgain): add an assert
7400         (breakAgainOneRow): ditto
7401
7402 2003-03-29  John Levon  <levon@movementarian.org>
7403
7404         * text2.C: do not clear selection after inc/decDepth
7405         (bug 550)
7406
7407 2003-03-29  John Levon  <levon@movementarian.org>
7408
7409         * BufferView.C:
7410         * buffer.C: fix broken strerrors according to Lars
7411
7412 2003-03-29  John Levon  <levon@movementarian.org>
7413
7414         * converters.C: more Alert cleanups
7415
7416 2003-03-29  John Levon  <levon@movementarian.org>
7417
7418         * bufferview_funcs.C: remove pointless Alert
7419
7420         * buffer.C: fix confusing error message when
7421         a template is chmoded 000
7422
7423 2003-03-29  John Levon  <levon@movementarian.org>
7424
7425         * BufferView.C:
7426         * BufferView.h:
7427         * BufferView_pimpl.C: Alert fixes
7428
7429         * Makefile.am:
7430         * tabular.C:
7431         * tabular-old.C: remove unused table compat reading
7432
7433 2003-03-29  John Levon  <levon@movementarian.org>
7434
7435         * BufferView.C:
7436         * buffer.C:
7437         * lyx_cb.h:
7438         * lyx_cb.C: more Alert cleanups
7439
7440         * lyxfunc.C: don't allow chktex if not latex document
7441
7442 2003-03-29  John Levon  <levon@movementarian.org>
7443
7444         * lyx_cb.C:
7445         * BufferView.C:
7446         * buffer.C: warnings pushed down from support/,
7447         kill err_alert
7448
7449 2003-03-29  John Levon  <levon@movementarian.org>
7450
7451         * lyxfunc.C: safety check for C-r (revert)
7452
7453 2003-03-29  John Levon  <levon@movementarian.org>
7454
7455         * bufferlist.h:
7456         * bufferlist.C: several UI fixes using Alert::prompt.
7457         Fix the pointless looping quit code. Fix stupid revert
7458         behaviour (bug 938)
7459
7460         * lyxvc.h:
7461         * lyxvc.C:
7462         * lyx_cb.C: use Alert::prompt
7463
7464         * lyx_main.C: remove a silly question
7465
7466         * lyxfunc.C: remove a couple of silly questions,
7467         use Alert::prompt
7468
7469 2003-03-28  John Levon  <levon@movementarian.org>
7470
7471         * text2.C: fix bug 974 (End on empty par)
7472
7473 2003-03-28  John Levon  <levon@movementarian.org>
7474
7475         * BufferView_pimpl.C:
7476         * LyXAction.C:
7477         * lfuns.h: remove do-nothing math greek lfuns
7478
7479 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7480
7481         * lyxgluelength.h (isValidGlueLength): add default arg on
7482         parameter 2. Remove default arg from friend in class.
7483
7484         * lyxlength.h (isValidLength): add default arg on parameter 2.
7485         Remove default arg from friend in class.
7486
7487         * text2.C (LyXText): adjust, initialize refresh_row.
7488         (init): adjust
7489         (removeRow): adjust
7490         (insertRow): adjust
7491         (insertParagraph): adjst
7492         (redoParagraphs): adjust
7493         (fullRebreak): adjust
7494         (updateCounters): adjust
7495         (deleteEmptyParagraphMechanism): first attempt at fixing a
7496         crashing bug.
7497
7498         * text.C (top_y): adjust
7499         (setHeightOfRow): adjust
7500         (getRow): adjust
7501         (getRowNearY): adjust
7502
7503         * lyxtext.h: include RowList.h
7504         (~LyXText): not needed anymore, deleted.
7505         (firstRow): modify for RowList
7506         (lastRow): new function
7507         Delete firstrow and lastrow class variables, add a Rowlist
7508         rowlist_ class variable.
7509
7510         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7511         paragraph is empty.
7512
7513         * RowList.C (insert): fix case where it == begin().
7514
7515 2003-03-26  Angus Leeming  <leeming@lyx.org>
7516
7517         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7518         the thesaurus dialog.
7519
7520 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7521
7522         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7523
7524         * RowList.[Ch]: new files
7525
7526         * ParagraphList.C (erase): handle the case where it == begin
7527         correctly.
7528
7529 2003-03-25  John Levon  <levon@movementarian.org>
7530
7531         * Makefile.am:
7532         * aspell_local.h:
7533         * aspell.C: add new aspell support
7534
7535         * lyxrc.h:
7536         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7537         have it accessible.
7538
7539 2003-03-25  Angus Leeming  <leeming@lyx.org>
7540
7541         * lfuns.h:
7542         * LyXAction.C (init): new LFUN_INSET_INSERT.
7543
7544         * BufferView_pimpl.C (dispatch): split out part of the
7545         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7546
7547         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7548         LFUN_INSET_APPLY.
7549
7550 2003-03-25  Angus Leeming  <leeming@lyx.org>
7551
7552         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7553
7554 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7555
7556         * text2.C:
7557         * text3.C: remove useless row->height(0)
7558
7559 2003-03-25  John Levon  <levon@movementarian.org>
7560
7561         * lyxtext.h:
7562         * text2.C:
7563         * text3.C: rename the refreshing stuff to better names
7564
7565 2003-03-24  John Levon  <levon@movementarian.org>
7566
7567         * BufferView_pimpl.h:
7568         * BufferView_pimpl.C: update layout choice on a mouse
7569         press/release
7570
7571 2003-03-23  John Levon  <levon@movementarian.org>
7572
7573         * Makefile.am: fix commandtags.h reference
7574
7575 2003-03-22  John Levon  <levon@movementarian.org>
7576
7577         * BufferView_pimpl.C:
7578         * lyxtext.h:
7579         * rowpainter.C:
7580         * rowpainter.h:
7581         * text.C:
7582         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7583
7584 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7585
7586         * lyxtext.h:
7587         * text.C: take the rtl methods out of line
7588
7589 2003-03-21 André Pönitz <poenitz@gmx.net>
7590
7591         * metricsinfo.[Ch]: new files containing structures to be passed around
7592         during the two-phase-drawing...
7593
7594 2003-03-21 André Pönitz <poenitz@gmx.net>
7595
7596         * lyxtextclass.C: read 'environment' tag.
7597
7598 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7599
7600         * text2.C (removeRow): fix bug 964
7601
7602 2003-03-20  John Levon  <levon@movementarian.org>
7603
7604         * rowpainter.C:
7605         * text.C:
7606         * text2.C: paint cleanups. Inset::update() dropped font
7607         parameter
7608
7609 2003-03-19  John Levon  <levon@movementarian.org>
7610
7611         * lyxfunc.C: only fitcursor/markDirty if available()
7612
7613 2003-03-19  John Levon  <levon@movementarian.org>
7614
7615         * commandtags.h: rename to ...
7616
7617         * lfuns.h: ... this, and renumber / cleanup
7618
7619 2003-03-19  John Levon  <levon@movementarian.org>
7620
7621         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7622         fit the cursor after an lfun
7623
7624         * BufferView.h:
7625         * BufferView.C:
7626         * BufferView_pimpl.h:
7627         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7628
7629         * LyXAction.C: layout-character should have ReadOnly
7630
7631         * ParagraphParameters.C:
7632         * buffer.C:
7633         * bufferview_funcs.C:
7634         * lyx_cb.C:
7635         * lyxfind.C:
7636         * lyxtext.h:
7637         * text.C:
7638         * text2.C:
7639         * text3.C:
7640         * undo_funcs.C: changes from above
7641
7642 2003-03-18  John Levon  <levon@movementarian.org>
7643
7644         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7645         remove it from update()
7646
7647         * lyxfunc.C: update layout choice after an lfun
7648
7649         * text3.C: remove extra updateLayoutChoice()s
7650
7651 2003-03-18  John Levon  <levon@movementarian.org>
7652
7653         * text.C: top_y change means full repaint, fix
7654         a drawing bug with cursor movement
7655
7656 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7657
7658         * lyxtext.h:
7659         * text.C:
7660         * text2.C: anchor row on setCursor
7661
7662 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7663
7664         * lyxtext.h: remove almost all mutable keywords
7665         * text.C:
7666         * text2.C:
7667         * text3.C: remove const keywords accordingly
7668
7669 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7670
7671         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7672         anon namespace
7673         (TeXEnvironment): ditto
7674         (TeXOnePar): ditto
7675
7676 2003-03-17  John Levon  <levon@movementarian.org>
7677
7678         * text.C (rowBreakPoint): remove attempt to fix displayed
7679         math insets inside a manual label
7680
7681 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7682
7683         * lyxtext.h: remove BufferView* as first arg from almost all class
7684         functions.
7685         * other files: adjust.
7686
7687 2003-03-17  John Levon  <levon@movementarian.org>
7688
7689         * lyxtext.h:
7690         * undo_funcs.C:
7691         * text2.C: more paint cleanups
7692
7693         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7694
7695         * rowpainter.h:
7696         * rowpainter.C: remove "smart" background painting code
7697
7698 2003-03-16  John Levon  <levon@movementarian.org>
7699
7700         * lyxtext.h:
7701         * text.C:
7702         * text2.C:
7703         * text3.C: add helper functions for setting refresh_row/y
7704
7705 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7706
7707         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7708         newline inset which *can* get inserted in the pass_thru layouts.
7709         This is primarily for literate documents.
7710
7711 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7712
7713         * buffer.C: increment LYX_FORMAT to 223
7714
7715 2003-03-14 André Pönitz <poenitz@gmx.net>
7716
7717         * textclass.h: prepare for environment handling, ws changes
7718         * lyxlayout.C: read latexheader and latexfooter tags
7719
7720 2003-03-14  John Levon  <levon@movementarian.org>
7721
7722         * text2.C: rewrite ::status() a bit
7723
7724 2003-03-13  John Levon  <levon@movementarian.org>
7725
7726         * lyxtext.h: add some docs
7727
7728 2003-03-13  John Levon  <levon@movementarian.org>
7729
7730         * lyxtext.h:
7731         * text.C:
7732         * text2.C:
7733         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7734
7735 2003-03-13  John Levon  <levon@movementarian.org>
7736
7737         * text3.C: fix appendix redrawing
7738
7739 2003-03-13  John Levon  <levon@movementarian.org>
7740
7741         * text.C (setHeightOfRow):
7742         * rowpainter.h:
7743         * rowpainter.C: make appendix mark have the text
7744           "Appendix" so the user knows what it is
7745
7746         * LColor.h:
7747         * LColor.C: s/appendixline/appendix/ from above
7748
7749 2003-03-13  John Levon  <levon@movementarian.org>
7750
7751         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7752
7753         * text.C: fix a getChar(pos) bug properly
7754
7755 2003-03-13  Angus Leeming  <leeming@lyx.org>
7756
7757         * commandtags.h:
7758         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7759         Probably only temporary. Let's see how things pan out.
7760
7761         * BufferView.C (unlockInset):
7762         * BufferView_pimpl.C (fitCursor):
7763         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7764
7765         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7766         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7767
7768         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7769         new functions that convert ParagraphParameters to and from a string.
7770
7771         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7772         BufferView::Pimpl's dispatch.
7773         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7774
7775 2003-03-13 André Pönitz <poenitz@gmx.net>
7776
7777         * lyxfunc.C:
7778         * text3.C:
7779         * factory.C: make it aware of InsetEnv
7780
7781 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7782
7783         * text2.C (setCursor): never ask for one past last
7784         (setCursor): add some debugging messages.
7785
7786         * text.C (singleWidth): never ask for one past last
7787         (singleWidth): ditto
7788         (leftMargin): ditto
7789         (rightMargin): ditto
7790         (rowBreakPoint): ditto
7791         (setHeightOfRow): ditto
7792         (prepareToPrint): ditto
7793
7794         * rowpainter.C (paintBackground): never ask for one past last
7795         (paintText): never ask for one past last
7796
7797         * paragraph_pimpl.C (getChar): make the assert stricter, never
7798         allow the one past last pos to be taken
7799
7800         * paragraph.C (getChar): ws changes only
7801
7802         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7803         (numberOfSeparators): ditto
7804         (numberOfHfills): ditto
7805
7806 2003-03-12  John Levon  <levon@movementarian.org>
7807
7808         * author.h:
7809         * author.C:
7810         * bufferparams.h:
7811         * bufferparams.C:
7812         * paragraph_funcs.C: fix per-buffer authorlists
7813
7814 2003-03-12  John Levon  <levon@movementarian.org>
7815
7816         * text.C: fix newline in right address
7817
7818 2003-03-12  Angus Leeming  <leeming@lyx.org>
7819
7820         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7821         duplicate those in LyXFunc::dispatch.
7822
7823         * commandtags.h:
7824         * LyXAction.C:
7825         * ToolbarDefaults.C:
7826         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7827         Add LFUN_FONTFREE_UPDATE.
7828
7829         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7830         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7831
7832         * bufferview_func.[Ch]: several new functions to facilliate
7833         transfer of data to and from the character dialog.
7834
7835 2003-03-12  John Levon  <levon@movementarian.org>
7836
7837         * buffer.C:
7838         * paragraph.h:
7839         * paragraph.C:
7840         * paragraph_funcs.C:
7841         * paragraph_pimpl.C:
7842         * sgml.C:
7843         * tabular.C:
7844         * text.C:
7845         * text3.C: remove META_NEWLINE in favour of an inset
7846
7847         * rowpainter.h:
7848         * rowpainter.C: remove paintNewline (done by inset)
7849
7850 2003-03-12  John Levon  <levon@movementarian.org>
7851
7852         * paragraph_pimpl.C: complain about bad getChar()s
7853         for a while at least
7854
7855 2003-03-12  John Levon  <levon@movementarian.org>
7856
7857         * buffer.h:
7858         * buffer.C: move paragraph read into a separate function,
7859         a little renaming to reflect that.
7860
7861         * bufferparams.h:
7862         * bufferparams.C: remove the author_ids map, not necessary now
7863
7864         * factory.h:
7865         * factory.C: moved Buffer::readInset to here
7866
7867         * paragraph_funcs.h:
7868         * paragraph_funcs.C: readParagraph free function moved from
7869         buffer.C
7870
7871         * tabular.C: name change
7872
7873 2003-03-12  John Levon  <levon@movementarian.org>
7874
7875         * buffer.C:
7876         * ParagraphParameters.C: move par params input to
7877         a read() method
7878
7879         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7880         behave like a normal read from the stream wrt reading
7881         a line vs. a \\token
7882
7883 2003-03-12  John Levon  <levon@movementarian.org>
7884
7885         * paragraph.C:
7886         * ParagraphParameters.h:
7887         * ParagraphParameters.C: move output code to a
7888         ::write() method
7889
7890 2003-03-12  John Levon  <levon@movementarian.org>
7891
7892         * BufferView.C (insertLyXFile):
7893         * buffer.h:
7894         * buffer.C:
7895         * tabular.C: use a parlist iterator for creating the
7896           document.
7897
7898 2003-03-12  John Levon  <levon@movementarian.org>
7899
7900         * buffer.C: make current_change static local not
7901           static file-scope
7902
7903 2003-03-12  John Levon  <levon@movementarian.org>
7904
7905         * buffer.C: fix insertStringAsLines for change tracking
7906
7907 2003-03-12  John Levon  <levon@movementarian.org>
7908
7909         * BufferView.C:
7910         * tabular.C:
7911         * buffer.h:
7912         * buffer.C:
7913         * bufferparams.h:
7914         * bufferparams.C: move author list into params. Rename some
7915           functions. Move the header reading into a separate token
7916           loop. Move the header token reading into BufferParams.
7917
7918 2003-03-12  John Levon  <levon@movementarian.org>
7919
7920         * changes.C: put debug inside lyxerr.debugging() checks
7921
7922 2003-03-11 André Pönitz <poenitz@gmx.net>
7923
7924         * factory.C: make it aware of InsetHFill
7925
7926 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7927
7928         * buffer.C (latexParagraphs): move function from here...
7929         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7930         args.
7931
7932 2003-03-10  Angus Leeming  <leeming@lyx.org>
7933
7934         * LyXAction.C (init): fix bug in poplating array with multiple entries
7935         with the same LFUN (spotted by JMarc).
7936
7937 2003-03-10  John Levon  <levon@movementarian.org>
7938
7939         * text.C:
7940         * text2.C: move getColumnNearX() near its
7941         only call site
7942
7943 2003-03-10  John Levon  <levon@movementarian.org>
7944
7945         * text.C: fix break before a minipage
7946
7947 2003-03-10  John Levon  <levon@movementarian.org>
7948
7949         * text.C: fix the last commit
7950
7951 2003-03-09  John Levon  <levon@movementarian.org>
7952
7953         * lyxtext.h:
7954         * text.C:
7955         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7956         bug 365 (don't break before insets unless needed). Don't
7957         return a value > last under any circumstances.
7958
7959 2003-03-09  Angus Leeming  <leeming@lyx.org>
7960
7961         * BufferView_pimpl.C (trackChanges, dispatch): call
7962         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7963
7964 2003-03-09  Angus Leeming  <leeming@lyx.org>
7965
7966         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7967         than Dialogs::showAboutlyx().
7968
7969 2003-03-09  Angus Leeming  <leeming@lyx.org>
7970
7971         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7972         than Dialogs::showTabularCreate().
7973
7974 2003-03-09  John Levon  <levon@movementarian.org>
7975
7976         * lyxtext.h:
7977         * text.C:
7978         * text2.C: 3rd arg to nextBreakPoint was always the same.
7979           Use references.
7980
7981 2003-03-08  John Levon  <levon@movementarian.org>
7982
7983         * lyxrow.C:
7984         * paragraph.C:
7985         * paragraph.h:
7986         * rowpainter.C:
7987         * text.C:
7988         * text2.C: Remove the "main" bit from the "main body"
7989           notion.
7990
7991 2003-03-08  John Levon  <levon@movementarian.org>
7992
7993         * text.C (leftMargin): The left margin of an empty
7994         manual label paragraph should not include the label width
7995         string length.
7996
7997         * text.C (prepareToPrint): don't attempt to measure hfills
7998         for empty manual label paragraphs - the answer should be 0
7999
8000 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8001
8002         * CutAndPaste.C: remove commented code and reindent.
8003
8004 2003-03-08  John Levon  <levon@movementarian.org>
8005
8006         * lyxfunc.h:
8007         * lyxfunc.C: move reloadBuffer()
8008
8009         * BufferView.h:
8010         * BufferView.C: to here
8011
8012         * lyxvc.C: add comment
8013
8014         * vc-backend.h:
8015         * vc-backend.C: call bv->reload() to avoid
8016           getStatus() check on MENURELOAD
8017
8018 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
8019
8020         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
8021         to an old format .dep file.
8022
8023 2003-03-07  Angus Leeming  <leeming@lyx.org>
8024
8025         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
8026         when the LFUN_MOUSE_RELEASE should have been handled by
8027         inset->localDispatch.
8028
8029 2003-03-07  Angus Leeming  <leeming@lyx.org>
8030
8031         * BufferView_pimpl.C (dispatch):
8032         * LyXAction.C (init):
8033         * ToolbarDefaults.C (init):
8034         * commandtags.h:
8035         * lyxfunc.C (getStatus):
8036         remove LFUN_INSET_GRAPHICS.
8037
8038         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
8039
8040 2003-03-07  Angus Leeming  <leeming@lyx.org>
8041
8042         * commandtags.h:
8043         * LyXAction.C (init):
8044         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
8045
8046         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
8047
8048         * commandtags.h:
8049         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
8050
8051         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
8052         localDispatch method LFUN_INSET_DIALOG_UPDATE.
8053
8054 2003-03-07  Angus Leeming  <leeming@lyx.org>
8055
8056         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
8057         remove "ert".
8058
8059 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8060
8061         * ParagraphList.C (front): new function
8062         (back): implement
8063
8064 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
8065
8066         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
8067         and top_row_offset_. removed var first_y.
8068         * text.C (top_y):
8069         * text2.C (LyXText, removeRow):
8070         * text3.C:
8071         * BufferView_pimpl.C:
8072         use these methods instead of using first_y
8073
8074 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8075
8076         * text2.C (pasteSelection): adjust for checkPastePossible
8077
8078         * CutAndPaste.C: remove Paragraph * buf and replace with
8079         ParagraphList paragraphs.
8080         (DeleteBuffer): delete
8081         (cutSelection): change the tc type to textclass_type
8082         (copySelection): change the tc type to textclass_type
8083         (copySelection): adjust for ParagraphList
8084         (pasteSelection): change the tc type to textclass_type
8085         (pasteSelection): adjust for Paragraphlist
8086         (nrOfParagraphs): simplify for ParagraphList
8087         (checkPastePossible): simplify for ParagraphList
8088         (checkPastePossible): remove unused arg
8089
8090         * ParagraphList.C (insert): handle the case where there are no
8091         paragraphs yet.
8092
8093         * CutAndPaste.h: make CutAndPaste a namespace.
8094
8095         * text3.C (dispatch): adjust
8096
8097         * text.C (breakParagraph): add a ParagraphList as arg
8098
8099         * paragraph_funcs.C (breakParagraph): change to take a
8100         BufferParams and a ParagraphList as args.
8101         (breakParagraphConservative): ditto
8102         (mergeParagraph): ditto
8103         (TeXDeeper): add a ParagraphList arg
8104         (TeXEnvironment): ditto
8105         (TeXOnePar): ditto
8106
8107         * buffer.C (readLyXformat2): adjust
8108         (insertStringAsLines): adjust
8109         (latexParagraphs): adjust
8110
8111         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
8112         (cutSelection): adjust
8113         (pasteSelection): adjust
8114
8115         * BufferView_pimpl.C (insertInset): adjust
8116
8117 2003-03-05  Angus Leeming  <leeming@lyx.org>
8118
8119         * commandtags.h:
8120         * LyXAction.C (init):
8121         * BufferView_pimpl.C (dispatch):
8122         * lyxfunc.C (getStatus):
8123         remove LFUN_CHILD_INSERT.
8124
8125         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
8126
8127 2003-03-05  Angus Leeming  <leeming@lyx.org>
8128
8129         * commandtags.h:
8130         * LyXAction.C (init):
8131         * src/factory.C (createInset):
8132         * lyxfunc.C (getStatus):
8133         * text3.C (dispatch):
8134         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
8135
8136         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
8137
8138 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8139
8140         * ParagraphList.C (insert): handle insert right before end()
8141         (erase): fix cases where it can be first or last paragraph.
8142
8143 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8144
8145         * paragraph_funcs.C (TeXEnvironment): remove all usage of
8146         Paragraph::next and Paragraph::previous
8147         (TeXOnePar): ditto
8148
8149         * text.C (breakParagraph): adjust
8150
8151         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
8152         BufferParams& as arg.
8153         (breakParagraph): use ParagraphList::insert
8154         (breakParagraphConservative): take a Buffer* instead of a
8155         BufferParams& as arg.
8156         (breakParagraphConservative): use ParagraphList::insert.
8157
8158         * buffer.C (insertStringAsLines): un-const it
8159         (insertStringAsLines): adjust
8160
8161         * ParagraphList.C (insert): new function
8162
8163         * CutAndPaste.C (pasteSelection): adjust
8164
8165         * text.C (backspace): adjust
8166
8167         * tabular.C (SetMultiColumn): adjust
8168
8169         * CutAndPaste.C (cutSelection): adjust
8170         (pasteSelection): adjust
8171
8172         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8173         Buffer const * as arg
8174
8175         * ParagraphList.C (erase): new function
8176         * paragraph_funcs.C (mergeParagraph): use it
8177         (mergeParagraph): make it take a Buffer* instead of a
8178         BufferParams* as arg
8179
8180         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8181         as arg
8182         (breakParagraphConservative): ditto
8183
8184         * paragraph.h: remove the breakParagraph friend
8185
8186         * paragraph.C (eraseIntern): new function
8187         (setChange): new function
8188
8189         * paragraph_funcs.C (mergeParagraph): make it take a
8190         ParagraphList::iterator instead of a Paragraph *, adjust
8191         accordingly.
8192
8193         * paragraph.h: move an #endif so that the change tracking stuff
8194         also works in the NO_NEXT case.
8195
8196 2003-03-04  Angus Leeming  <leeming@lyx.org>
8197
8198         * commandtags.h:
8199         * LyXAction.C: new LFUN_INSET_MODIFY.
8200
8201         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8202         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8203
8204 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8205
8206         * several files: ws changes only
8207
8208         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8209         (TeXEnvironment): ditto
8210         (TeXDeeper): ditto
8211
8212         * buffer.C (makeLaTeXFile): adjust
8213         (latexParagraphs): make it take ParagraphList::iterator as args
8214
8215 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8216
8217         * buffer.C (latexParagraphs): adjust
8218
8219         * paragraph.C (TeXOnePar): move function...
8220         (optArgInset): move function...
8221         (TeXEnvironment): move function...
8222         * paragraph_pimpl.C (TeXDeeper): move function...
8223         * paragraph_funcs.C: ...here
8224
8225         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8226
8227 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8228
8229         * buffer.C (readInset): remove compability code for old Figure and
8230         InsetInfo insets
8231
8232 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8233
8234         * buffer.C: ws changes
8235         (readInset):
8236
8237         * BufferView_pimpl.C: ditto
8238         * author.C: ditto
8239         * buffer.h: ditto
8240         * bufferlist.h: ditto
8241         * changes.h: ditto
8242         * lyxfunc.C: ditto
8243
8244 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8245
8246         * converter.[Ch]: split into itself +
8247         * graph.[Ch]
8248         * format.[Ch]
8249         * Makefile.am: += graph.[Ch] + format.[Ch]
8250         * MenuBackend.C
8251         * buffer.C
8252         * exporter.C
8253         * importer.C
8254         * lyx_main.C
8255         * lyxfunc.C
8256         * lyxrc.C: added #include "format.h"
8257
8258 2003-02-27  Angus Leeming  <leeming@lyx.org>
8259
8260         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8261           a label.
8262
8263         * factory.C (createInset): add "label" to the factory.
8264
8265         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8266           string and do no more.
8267
8268 2003-02-27  Angus Leeming  <leeming@lyx.org>
8269
8270         * commandtags.h:
8271         * LyXAction.C (init):
8272         * factory.C (createInset):
8273         * BufferView_pimpl.C (dispatch):
8274           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8275
8276         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8277
8278         * lyxfunc.C (dispatch):
8279         * text3.C (dispatch): pass name to params2string.
8280
8281 2003-02-26  Angus Leeming  <leeming@lyx.org>
8282
8283         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8284           blocks together.
8285           Rearrange the ~includes. Strip out the unnecessary ones.
8286
8287         * factory.C (createInset): reformat.
8288           create new insets for the various LFUN_XYZ_APPLY lfuns.
8289
8290 2003-02-26  John Levon  <levon@movementarian.org>
8291
8292         * lyxrow.h:
8293         * lyxrow.C: add isParStart,isParEnd helpers
8294
8295         * paragraph.h: make isInserted/DeletedText take refs
8296
8297         * paragraph_funcs.h:
8298         * paragraph_funcs.C: remove #if 0'd code
8299
8300         * lyxtext.h:
8301         * text3.C:
8302         * text2.C:
8303         * text.C: use lyxrow helpers above.
8304           Move draw and paint routines to RowPainter.
8305           Make several methods use refs not pointers.
8306           Make backgroundColor() const.
8307           Add markChangeInDraw(), isInInset().
8308           Merge changeRegionCase into changeCase.
8309           Make workWidth() shouldn't-happen code into an Assert.
8310
8311         * rowpainter.h:
8312         * rowpainter.C: new class for painting a row.
8313
8314         * vspace.h:
8315         * vspace.C: make inPixels take a ref
8316
8317 2003-02-26  Angus Leeming  <leeming@lyx.org>
8318
8319         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8320         LFUN_REF_APPLY.
8321
8322 2003-02-25  John Levon  <levon@movementarian.org>
8323
8324         * ispell.C: give the forked command a more accurate name
8325
8326 2003-02-22  John Levon  <levon@movementarian.org>
8327
8328         * toc.h:
8329         * toc.C: make TocItem store an id not a Paragraph *
8330           (bug #913)
8331
8332 2003-02-21  Angus Leeming  <leeming@lyx.org>
8333
8334         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8335           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8336           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8337           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8338           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8339           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8340
8341         * BufferView_pimpl.C (dispatch):
8342         * LyXAction.C (init):
8343         * factory.C (createInset):
8344         * lyxfunc.C (getStatus, dispatch):
8345         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8346
8347 2003-02-21  Angus Leeming  <leeming@lyx.org>
8348
8349         * BufferView_pimpl.C (MenuInsertLyXFile):
8350         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8351         * lyxfunc.C (menuNew, open, doImport):
8352           no longer pass a LyXView & to fileDlg.
8353
8354 2003-02-21  Angus Leeming  <leeming@lyx.org>
8355
8356         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8357         * LyXAction.C: change, BIBKEY to BIBITEM.
8358         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8359         Change InsetBibKey to InsetBibitem.
8360         Change BIBKEY_CODE to BIBITEM_CODE.
8361         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8362         * factory.C: replace insetbib.h with insetbibitem.h.
8363         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8364         * paragraph.C: replace insetbib.h with insetbibitem.h.
8365         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8366         Change bibkey() to bibitem().
8367         * text.C: remove insetbib.h.
8368         * text2.C: replace insetbib.h with insetbibitem.h.
8369         change bibkey() to bibitem().
8370         * text3.C: remove insetbib.h.
8371         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8372
8373 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8374
8375         * lyxrc.C (output): enclose user email in quotes (in case there are
8376         several words)
8377
8378 2003-02-18  John Levon  <levon@movementarian.org>
8379
8380         * buffer.h: add std::
8381
8382 2003-02-17  John Levon  <levon@movementarian.org>
8383
8384         * SpellBase.h:
8385         * ispell.h:
8386         * ispell.C:
8387         * pspell.h:
8388         * pspell.C: reworking. Especially in ispell, a large
8389           number of clean ups and bug fixes.
8390
8391         * lyxfunc.C: fix revert to behave sensibly
8392
8393 2003-02-17 André Pönitz <poenitz@gmx.net>
8394
8395         * LyXAction.C:
8396         * commandtags.h: new LFUN_INSERT_BIBKEY
8397
8398         * layout.h:
8399         * lyxlayout.C:
8400         * buffer.C:
8401         * factory.C:
8402         * text.C:
8403         * text2.C:
8404         * text3.C:
8405         * paragraph.[Ch]:
8406         * paragraph_func.C: remove special bibkey handling
8407
8408 2003-02-17  John Levon  <levon@movementarian.org>
8409
8410         * text.C (Delete): fix case where delete at the end of
8411           the very first paragraph would not merge the pars
8412
8413 2003-02-17  John Levon  <levon@movementarian.org>
8414
8415         * lyxrow.C: fix lastPrintablePos()
8416
8417 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8418
8419         * bufferparams.C (writeLaTeX): add a std:here
8420
8421         * buffer.C: and remove a using directive there
8422
8423 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8424
8425         * buffer.C (makeLaTeXFile): move the code that generates the
8426           preamble...
8427
8428         * bufferparams.C (writeLaTeX): ... in this new method
8429
8430         * LaTeXFeatures.C (getEncodingSet): make const
8431           (getLanguages): make const
8432
8433         * MenuBackend.C (binding): returns the binding associated to this
8434           action
8435           (add): sets the status of each item by calling getStatus. Adds
8436           some intelligence.
8437           (read): add support for OptSubMenu
8438           (expand): remove extra separator at the end of expanded menu
8439
8440 2003-02-15  John Levon  <levon@movementarian.org>
8441
8442         * BufferView.C:
8443         * BufferView_pimpl.C:
8444         * bufferlist.h:
8445         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8446           inset code that had no actual effect. Remove unneeded status
8447           code.
8448
8449 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8450
8451         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8452           in preamble
8453
8454 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8455
8456         * text.C (drawLengthMarker): also draw an arrow marker for
8457           symbolic lengths (medskip...)
8458
8459 2003-02-14  John Levon  <levon@movementarian.org>
8460
8461         * tabular.h:
8462         * tabular.C: better method names
8463
8464 2003-02-14  John Levon  <levon@movementarian.org>
8465
8466         * BufferView_pimpl.C:
8467         * bufferlist.C:
8468         * buffer.C:
8469         * converter.C:
8470         * lyx_cb.C:
8471         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8472           it's a more accurate name. Remove some pointless uses.
8473
8474 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8475
8476         * text2.C (LyXText): change order of initilizers to shut off
8477           warnings
8478
8479 2003-02-14  John Levon  <levon@movementarian.org>
8480
8481         * buffer.C: use ParIterator for getParFromID()
8482
8483         * paragraph.h:
8484         * paragraph.C:
8485         * paragraph_pimpl.h:
8486         * paragraph_pimpl.C: remove unused getParFromID()
8487
8488 2003-02-14  John Levon  <levon@movementarian.org>
8489
8490         * buffer.C: remove some very old #if 0'd parse code
8491
8492 2003-02-13  John Levon  <levon@movementarian.org>
8493
8494         * text.h:
8495         * text.C:
8496         * text2.C: move hfillExpansion(), numberOfSeparators(),
8497           rowLast(), rowLastPrintable(), numberofHfills(),
8498           numberOfLabelHfills() ...
8499
8500         * lyxrow.h:
8501         * lyxrow.C: ... to member functions here.
8502
8503         * paragraph.h:
8504         * paragraph.C:
8505         * lyxtext.h:
8506         * text.C: remove LyXText::beginningOfMainBody(), and call
8507           p->beginningOfMainBody() directly. Move the check for
8508           LABEL_MANUAL into the latter.
8509
8510         * text.h:
8511         * text.C:
8512         * text2.C:
8513         * vspace.C:
8514         * BufferView.h:
8515         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8516
8517         * text.h:
8518         * text.C:
8519         * text2.C:
8520         * text3.C:
8521         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8522           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8523
8524 2003-02-13  John Levon  <levon@movementarian.org>
8525
8526         * CutAndPaste.C: remove debug
8527
8528 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8529
8530         * paragraph.C (asString): remove two unused variables
8531
8532         * lyxtextclass.C (readTitleType):
8533           (Read):
8534           (LyXTextClass): handle new members titletype_ and titlename_
8535
8536         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8537
8538 2003-02-09  John Levon  <levon@movementarian.org>
8539
8540         * buffer.h:
8541         * buffer.C: replace hand-coded list with a map for the dep clean
8542
8543 2003-02-08  John Levon  <levon@movementarian.org>
8544
8545         * LaTeX.C: consolidate code into showRunMessage() helper
8546
8547 2003-02-08  John Levon  <levon@movementarian.org>
8548
8549         * lyxfind.C:
8550         * lyxtext.h:
8551         * text2.C:
8552         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8553           and pass the size in explicitly
8554
8555         * BufferView_pimpl.h:
8556         * BufferView_pimpl.C:
8557         * BufferView.h:
8558         * BufferView.C: add getCurrentChange()
8559
8560         * BufferView_pimpl.h:
8561         * BufferView_pimpl.C: handle change lfuns
8562
8563         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8564           for changes. Mark pasted paragraphs as new.
8565
8566         * support/lyxtime.h:
8567         * support/lyxtime.C:
8568         * DepTable.C: abstract time_t as lyx::time_type
8569
8570         * LColor.h:
8571         * LColor.C: add colours for new text, deleted text, changebars
8572
8573         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8574           package use "usenames" option.
8575
8576         * commandtags.h:
8577         * lyxfunc.C:
8578         * LyXAction.C: add change lfuns
8579
8580         * Makefile.am:
8581         * author.h:
8582         * author.C: author handling
8583
8584         * buffer.h:
8585         * buffer.C: add a per-buffer author list, with first entry as
8586           current author. Handle new .lyx tokens for change tracking. Output
8587           author list to .lyx file. Output dvipost stuff to .tex preamble.
8588           Bump lyx format to 222.
8589
8590         * bufferlist.h:
8591         * bufferlist.C: add setCurrentAuthor() to reset current author details
8592           in all buffers.
8593
8594         * bufferparams.h:
8595         * bufferparams.C: add param for tracking
8596
8597         * bufferview_funcs.C: output change info in minibuffer
8598
8599         * Makefile.am:
8600         * changes.h:
8601         * changes.C: add change-tracking structure
8602
8603         * debug.h:
8604         * debug.C: add CHANGES debug flag
8605
8606         * lyxfind.h:
8607         * lyxfind.C: add code for finding the next change piece
8608
8609         * lyxrc.h:
8610         * lyxrc.C: add user_name and user_email
8611
8612         * lyxrow.h:
8613         * lyxrow.C: add a metric for the top of the text line
8614
8615         * lyxtext.h:
8616         * text.C: implement accept/rejectChange()
8617
8618         * lyxtext.h:
8619         * text.C: paint changebars. Paint new/deleted text in the chosen
8620         colours. Strike through deleted text.
8621
8622         * paragraph.h:
8623         * paragraph.C:
8624         * paragraph_pimpl.h:
8625         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8626           in the current change to the insert functions. Rework erase to
8627           mark text as deleted, adding an eraseIntern() and a range-based
8628           erase(). Implement per-paragraph change lookup and
8629           accept/reject.
8630
8631         * paragraph_funcs.C: Fixup paste for change tracking.
8632
8633         * tabular.C: mark added row/columns as new.
8634
8635         * text.C: fix rowLast() to never return -1. Don't allow
8636           spellchecking of deleted text. Track transpose changes. Don't
8637           allow paragraph break or merge where appropriate.
8638
8639         * text2.C: leave cursor at end of selection after a cut.
8640
8641 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8642
8643         * text.C (getLengthMarkerHeight):
8644         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8645         visible on screen too.
8646
8647 2003-02-07  John Levon  <levon@movementarian.org>
8648
8649         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8650
8651 2003-02-05  Angus Leeming  <leeming@lyx.org>
8652
8653         * lyxserver.C (read_ready): revert my patch of 11 September last year
8654         as it sends PC cpu through the roof. Presumably this means that
8655         the lyxserver will no longer run on an Alpha...
8656
8657 2003-01-30  Angus Leeming  <leeming@lyx.org>
8658
8659         * factory.C (createInset): create an InsetCommandParam of type "index"
8660         and use it to 'do the right thing'.
8661
8662         * text2.C (getStringToIndex): ensure that cursor position is always
8663         reset to the reset_cursor position.
8664
8665 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8666
8667         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8668         disabled.
8669
8670 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8671
8672         * bufferview.C:
8673         * lyxcb.C:
8674         * lyxfunc.C: Output messages with identical spelling, punctuation,
8675         and spaces
8676
8677 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8678
8679         * MenuBackend.C (expandFormats): List only viewable export formats
8680         in "View" menu
8681
8682         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8683         message
8684
8685         * lyxfunc.C (getStatus): Make sure that formats other than
8686         "fax" can also be disabled
8687
8688 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8689
8690         * text3.C (dispatch): put the lfuns that insert insets in 3
8691         groups, and call doInsertInset with appropriate arguments.
8692         (doInsertInset): new function, that creates an inset and inserts
8693         it according to some boolean parameters.
8694
8695 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8696
8697         * buffer.C (readFile): remember to pass on 'par' when calling
8698         readFile recursively.
8699
8700 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8701
8702         * MenuBackend.C (expandFormats): add "..." to import formats.
8703
8704 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8705
8706         * paragraph.C (asString): Remove XForms RTL hacks.
8707
8708 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8709         * buffer.C: fix typo
8710
8711 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8712
8713         * Makefile.am (LIBS): delete var
8714         (lyx_LDADD): add @LIBS@ here instead.
8715
8716 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8717
8718         * Clarify the meaning of "wheel mouse jump"
8719
8720 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8721
8722         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8723         tabular in a float
8724
8725 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8726
8727         * importer.C (Loaders): do not preallocate 3 elements in the
8728         vector, since one ends up with 6 elements otherwise
8729
8730 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8731
8732         * DepTable.C (write): write the file name as last element of the
8733         .dep file (because it may contain spaces)
8734         (read): read info in the right order
8735
8736 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8737
8738         * paragraph_pimpl.C (simpleTeXBlanks):
8739         (simpleTeXSpecialChars):
8740         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8741
8742         * tabular.C (latex): add some missing case statements. Reindent.
8743
8744         * MenuBackend.C (expandToc): remove unused variable.
8745
8746 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8747
8748         * LColor.C:
8749         * LaTeX.C:
8750         * LyXAction.C:
8751         * MenuBackend.C:
8752         * buffer.C:
8753         * exporter.C:
8754         * lyxfunc.C:
8755         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8756         and the like.
8757
8758 2003-01-05  John Levon  <levon@movementarian.org>
8759
8760         * BufferView.h:
8761         * BufferView.C: add getEncoding()
8762
8763         * kbsequence.h:
8764         * kbsequence.C: do not store last keypress
8765
8766         * lyxfunc.h:
8767         * lyxfunc.C: store last keypress here instead. Pass encoding
8768           to getISOEncoded()
8769
8770 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8771
8772         * lyx_main.C (init): remove annoying error message when following
8773         symbolic links (bug #780)
8774
8775 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8776
8777         * text.C (insertChar):
8778         * lyxrc.C (getDescription): remove extra spaces
8779
8780 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8781
8782         * lyxrc.C (getDescription): remove extra spaces
8783
8784 2002-12-20  John Levon  <levon@movementarian.org>
8785
8786         * text3.C: hack fix for page up/down across tall rows
8787
8788 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8789
8790         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8791         not been invoked
8792
8793 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8794
8795         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8796         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8797         thesaurus is not compiled in
8798
8799 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8800
8801         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8802
8803 2002-12-16  Angus Leeming  <leeming@lyx.org>
8804
8805         * lyxrc.[Ch]:
8806         * lyx_main.C (init): remove override_x_deadkeys stuff.
8807
8808 2002-12-12  John Levon  <levon@movementarian.org>
8809
8810         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8811           insert. Only remove shift modifier under strict
8812           circumstances.
8813
8814 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8815
8816         * MenuBackend.C (expandToc): fix crash.
8817
8818 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8819
8820         * MenuBackend.C (expandToc): gettext on float names.
8821
8822 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8823
8824         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8825         implement bool empty() [bug 490]
8826
8827 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8828
8829         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8830
8831 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8832
8833         * several files: ws changes
8834
8835 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8836
8837         * text2.C (setCounter): clean up a bit, use boost.format.
8838         (updateCounters): initialize par upon declaration.
8839
8840         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8841         if the layout exists. We do not just store the layout any more.
8842         (SwitchLayoutsBetweenClasses): use boost.format
8843
8844 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8845
8846         * converter.C (convert): if from and to files are the same, use a
8847         temporary files as intermediary
8848
8849 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8850
8851         * commandtags.h:
8852         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8853
8854 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8855
8856         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8857
8858 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8859
8860         * tabular.C (asciiPrintCell): use string(size, char) instead of
8861         explicit loop.
8862
8863         * sgml.C (openTag): fix order of arguments to string constructor
8864         (closeTag): ditto
8865
8866         * lyxfunc.C (dispatch): use boost.format
8867
8868         * lots of files: change "c" -> 'c'
8869
8870 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8871
8872         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8873
8874 2002-11-25  Angus Leeming  <leeming@lyx.org>
8875
8876         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8877
8878         * lyx_main.C (init): compile fix.
8879
8880 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8881
8882         * lyx_cb.C (start): boost.formatify
8883         do not include <iostream>
8884
8885         * lengthcommon.C: ws only
8886
8887         * boost-inst.C,BoostFormat.h: add more explict instantations
8888
8889 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8890
8891         * lots of files: handle USE_BOOST_FORMAT
8892
8893 2002-11-21  John Levon  <levon@movementarian.org>
8894
8895         * pspell.C: fix compile
8896
8897 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8898
8899         * lyxfunc.C (dispatch): use boost::format
8900         (open): ditto
8901         (doImport): ditto
8902
8903         * lyxfont.C (stateText): use boost::format
8904
8905         * lyx_main.C (LyX): use boost::format
8906         (init): ditto
8907         (queryUserLyXDir): ditto
8908         (readRcFile): ditto
8909         (parse_dbg): ditto
8910         (typedef boost::function): use the recommened syntax.
8911
8912         * importer.C (Import): use boost::format
8913
8914         * debug.C (showLevel): use boost::format
8915
8916         * converter.C (view): use boost::format
8917         (convert): ditto
8918         (move): ditto
8919         (scanLog): ditto
8920
8921         * bufferview_funcs.C (currentState): use boost::format
8922
8923         * bufferlist.C (emergencyWrite): use boost::format
8924
8925         * buffer.C (readLyXformat2): use boost::format
8926         (parseSingleLyXformat2Token): ditto
8927
8928         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8929
8930         * LaTeX.C (run): use boost::format
8931
8932         * Chktex.C (scanLogFile): use boost::format
8933
8934         * BufferView_pimpl.C (savePosition): use boost::format
8935         (restorePosition): ditto
8936         (MenuInsertLyXFile): ditto
8937
8938         * BoostFormat.h: help file for explicit instation.
8939
8940 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8941
8942         * tabular.C (latex): Support for block alignment in fixed width
8943         columns.
8944
8945 2002-11-17  John Levon  <levon@movementarian.org>
8946
8947         * BufferView_pimpl.C:
8948         * lyx_cb.C:
8949         * lyxfunc.C: split filedialog into open/save
8950
8951 2002-11-08  Juergen Vigna  <jug@sad.it>
8952
8953         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8954         by my last patch (hopefully).
8955
8956 2002-11-08  John Levon  <levon@movementarian.org>
8957
8958         * iterators.h:
8959         * iterators.C:
8960         * buffer.h:
8961         * buffer.C:
8962         * paragraph.h:
8963         * paragraph.C:
8964         * toc.h:
8965         * toc.C: ParConstIterator, and use it (from Lars)
8966
8967 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8968
8969         * lyxtextclass.[Ch]: revise and add doxygen comments
8970
8971 2002-11-07  John Levon  <levon@movementarian.org>
8972
8973         * text.C: fix progress value for spellchecker
8974
8975         * toc.C: fix navigate menu for insetwrap inside minipage
8976
8977         * paragraph_funcs.C: added FIXME for suspect code
8978
8979 2002-11-07  John Levon  <levon@movementarian.org>
8980
8981         * BufferView_pimpl.C: fix redrawing of insets
8982           on buffer switch
8983
8984 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8985
8986         * text2.C (updateCounters): fix bug 668
8987
8988 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8989
8990         * text3.C (dispatch): Do not make the buffer dirty when moving the
8991         cursor.
8992
8993 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8994
8995         * vc-backend.C: STRCONV
8996         (scanMaster): ditto
8997
8998         * text2.C (setCounter): STRCONV
8999
9000         * paragraph.C (asString): STRCONV
9001
9002         * lyxlength.C (asString): STRCONV
9003         (asLatexString): ditto
9004
9005         * lyxgluelength.C (asString): STRCONV
9006         (asLatexString): ditto
9007
9008         * lyxfunc.C (dispatch): STRCONV
9009         (open): ditto
9010
9011         * lyxfont.C (stateText): STRCONV
9012
9013         * importer.C (Import): STRCONV
9014
9015         * counters.C (labelItem): STRCONV
9016         (numberLabel): ditto
9017         (numberLabel): remove unused ostringstream o
9018
9019         * chset.C: STRCONV
9020         (loadFile): ditto
9021
9022         * bufferview_funcs.C (currentState): STRCONV
9023
9024         * buffer.C (readFile): STRCONV
9025         (asciiParagraph): ditto
9026         (makeLaTeXFile): ditto
9027
9028         * Spacing.C (writeEnvirBegin): STRCONV
9029
9030         * LaTeXFeatures.C (getLanguages): STRCONV
9031         (getPackages): ditto
9032         (getMacros): ditto
9033         (getBabelOptions): ditto
9034         (getTClassPreamble): ditto
9035         (getLyXSGMLEntities): ditto
9036         (getIncludedFiles): ditto
9037
9038         * LaTeX.C: STRCONV
9039         (run): ditto
9040         (scanAuxFile): ditto
9041         (deplog): ditto
9042
9043         * LString.h: add the STRCONV macros
9044
9045         * BufferView_pimpl.C (savePosition): STRCONV
9046         (restorePosition): ditto
9047         (MenuInsertLyXFile): ditto
9048
9049         * vc-backend.C (scanMaster): change from submatch[...] to
9050         submatch.str(...)
9051
9052         * funcrequest.C: include config.h
9053
9054         * factory.C: include config.h
9055
9056         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
9057
9058         * box.C: include config.h
9059
9060         * LaTeX.C (scanAuxFile): change from submatch[...] to
9061         submatch.str(...)
9062         (deplog): ditto
9063
9064 2002-10-25  Angus Leeming  <leeming@lyx.org>
9065
9066         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
9067
9068         * ispell.[Ch] (setError): new method.
9069         * ispell.C (c-tor): move out child process into new class LaunchIspell.
9070         Use setError() insetead of goto END.
9071
9072         * lyx_cb.C (AutoSave): move out child process into new class
9073         AutoSaveBuffer.
9074
9075 2002-10-30  John Levon  <levon@movementarian.org>
9076
9077         * text3.C: make start appendix undoable
9078
9079 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
9080
9081         * lyxlength.C (inPixels): Fix returned value.
9082
9083         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
9084         environment.
9085
9086 2002-10-24  Angus Leeming  <leeming@lyx.org>
9087
9088         * lyxgluelength.h: no need to forward declare BufferParams
9089         or BufferView, so don't.
9090
9091 2002-10-21  John Levon  <levon@movementarian.org>
9092
9093         * BufferView.C: menuUndo ->undo, redo
9094
9095         * BufferView.h: document, remove dead, make some methods private
9096
9097         * paragraph_funcs.h:
9098         * paragraph_funcs.C:
9099         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
9100
9101         * buffer.h:
9102         * buffer.C:
9103         * sgml.h:
9104         * sgml.C: move sgml open/close tag into sgml.C
9105
9106         * bufferview_funcs.h: unused prototype
9107
9108         * lyxfunc.h:
9109         * lyxfunc.C: remove unused
9110
9111         * lyxtext.h:
9112         * text.C: remove unused
9113
9114 2002-10-21  John Levon  <levon@movementarian.org>
9115
9116         * BufferView.h:
9117         * BufferView.C:
9118         * BufferView_pimpl.h:
9119         * BufferView_pimpl.C: fix mouse wheel handling based on
9120           patch from Darren Freeman
9121
9122 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
9123
9124         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
9125
9126 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
9127
9128         * lyxlength.C (inPixels): Fix hanfling of negative length.
9129         Fix LyXLength::MU case.
9130
9131 2002-10-16  John Levon  <levon@movementarian.org>
9132
9133         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
9134
9135 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9136
9137         * converter.C (view): add support for $$i (file name) and $$p
9138         (file path) for the viewer command. If $$i is not specified, then
9139         it is appended to the command (for compatibility with old syntax)
9140
9141 2002-10-14  Juergen Vigna  <jug@sad.it>
9142
9143         * undo_funcs.C (textHandleUndo): alter the order in which the
9144         new undopar is added to the LyXText, as we have to set first
9145         the right prev/next and then add it as otherwise the rebuild of
9146         LyXText is not correct. Also reset the cursor to the right paragraph,
9147         with this IMO we could remove the hack in "redoParagraphs()".
9148
9149 2002-10-09  Angus Leeming  <leeming@lyx.org>
9150
9151         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
9152         to turn off an optimisation if a new inset is to be inserted.
9153
9154 2002-10-11 André Pönitz <poenitz@gmx.net>
9155
9156         * lyxtext.h: make some functions public to allow access
9157         from inset/lyxtext for handling LFUN_PRIOR/NEXT
9158
9159 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9160
9161         * text3.C (dispatch): when changing layout, avoid an infinite loop
9162         [bug #652]
9163
9164 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9165
9166         * lyxrc.C (read): treat a viewer or converter command of "none" as
9167         if it were empty.
9168
9169         * MenuBackend.C (expandFormats): for an update, also allow the
9170         formats that are not viewable
9171
9172         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9173         script if it is newer than the lyxrc.defaults in user directory
9174
9175 2002-10-07 André Pönitz <poenitz@gmx.net>
9176
9177         * text.C: Vitaly Lipatov's small i18n fix
9178
9179 2002-09-25  Angus Leeming  <leeming@lyx.org>
9180
9181         * ispell.h: doxygen fix.
9182
9183 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9184
9185         * buffer.h (readFile): Add a new argument to the method, to allow
9186         reading of old-format templates.
9187
9188 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9189
9190         * toc.C (getTocList): Get TOC from InsetWrap.
9191
9192 2002-09-16  John Levon  <levon@movementarian.org>
9193
9194         * lyxfunc.C: check tabular for cut/copy too
9195
9196 2002-09-12  John Levon  <levon@movementarian.org>
9197
9198         * LyXAction.C: tidy
9199
9200         * factory.h:
9201         * factory.C: add header
9202
9203         * paragraph_funcs.h:
9204         * paragraph_funcs.C: cleanup
9205
9206 2002-09-11  John Levon  <levon@movementarian.org>
9207
9208         * PrinterParams.h: odd/even default to true
9209
9210 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9211
9212         * PrinterParams.h: update printer parameters for new xforms dialog
9213
9214 2002-09-11  Angus Leeming  <leeming@lyx.org>
9215
9216         * lyxserver.C (read_ready): re-write to make it more transparent
9217         and to make it work in coherent fashion under Tru64 Unix.
9218
9219 2002-09-11  André Pönitz <poenitz@gmx.net>
9220
9221         * commandtags.h:
9222         * LyXAction.C:
9223         * text3.C: implement LFUN_WORDSEL
9224
9225 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9226
9227         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9228         make floatlist_ a boost::shared_ptr<FloatList>
9229
9230         * lyxtextclass.C: include FloatList.h
9231         (LyXTextClass): initialize floatlist_
9232         (TextClassTags): add TC_NOFLOAT
9233         (Read): match "nofloat" to TC_NOFLOAT and use it.
9234         (readFloat): modify call to floatlist_
9235         (floats): ditto
9236         (floats): ditto
9237
9238         * FloatList.[Ch] (FloatList): remove commented out float
9239         initialization.
9240         (erase): new function
9241
9242 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9243
9244         * MenuBackend.C (expandToc): fix crash when there is no document
9245         open
9246
9247 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9248
9249         * many files: Add insetwrap.
9250
9251 2002-09-09  John Levon  <levon@movementarian.org>
9252
9253         * text2.C: remove confusing and awkward depth wraparound
9254
9255 2002-09-09  John Levon  <levon@movementarian.org>
9256
9257         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9258
9259         * buffer.h:
9260         * buffer.C: remove getIncludeonlyList()
9261
9262         * paragraph.C:
9263         * lyxfunc.C: remove headers
9264
9265 2002-09-09  Juergen Vigna  <jug@sad.it>
9266
9267         * text.C (getColumnNearX): fix form Michael this is most
9268         probably a cut&paste bug.
9269
9270 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9271
9272         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9273
9274         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9275         references, ws changes.
9276
9277         * text2.C (init): update counters after init
9278         (insertParagraph): no need to set counter on idividual paragraphs.
9279         (setCounter): access the counters object in the textclass object
9280         on in the buffer object.
9281         (updateCounters): ditto
9282
9283         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9284         shared_ptr<Counters> to avoid loading counters.h in all
9285         compilation units.
9286         (LyXTextClass): initialize ctrs_
9287         (TextClassTags): add TC_COUNTER, and ...
9288         (Read): use it here.
9289         (CounterTags): new tags
9290         (readCounter): new function
9291         (counters): new funtion
9292         (defaultLayoutName): return a const reference
9293
9294         * counters.C (Counters): remove contructor
9295         (newCounter): remove a couple of unneeded statements.
9296         (newCounter): simplify a bit.
9297         (numberLabel): some small formatting changes.
9298
9299         * buffer.[Ch]: remove all traces of counters, move the Counters
9300         object to the LyXTextClass.
9301
9302 2002-09-06  Alain Castera  <castera@in2p3.fr>
9303
9304         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9305         package to set the horizontal alignment on fixed width columns.
9306
9307         * lyx_sty.C:
9308         * lyx_sty.h: added tabularnewline macro def.
9309
9310         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9311
9312 2002-09-06  John Levon  <levon@movementarian.org>
9313
9314         * LyXAction.C: tooltips for sub/superscript
9315
9316         * MenuBackend.C: a bit more verbose
9317
9318         * lyxfunc.C: tiny clean
9319
9320         * undo_funcs.C: document undo_frozen
9321
9322 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9323
9324         * counters.C (Counters): add missing algorithm counter.
9325
9326         * text2.C (setCounter): lookup the counter with layouts latexname
9327         instead of by section number.
9328         (setCounter): use a hackish way to lookup the correct enum
9329         counter.
9330         a float name->type change
9331         reset enum couners with counter name directly instead of depth value.
9332
9333         * counters.C (Counters): remove the push_backs, change to use the
9334         float type not the float name.
9335         (labelItem): remove unused string, float name->type change
9336
9337         * counters.h: don't include vector, loose the enums and sects vectors
9338
9339 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9340
9341         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9342         (Read): add float->TC_FLOAT to textclassTags
9343         (Read): and handle it in the switch
9344         (readFloat): new function
9345
9346         * FloatList.C (FloatList): comment out the hardcoded float
9347         definitions.
9348
9349         * lyxlayout.h: ws change.
9350
9351 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9352
9353         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9354
9355 2002-09-03  Angus Leeming  <leeming@lyx.org>
9356
9357         * BufferView_pimpl.h: qualified name is not allowed in member
9358         declaration: WorkArea & Pimpl::workarea() const;
9359
9360         * factory.C: added using std::endl directive.
9361
9362         * text3.C: added using std::find and std::vector directives.
9363
9364 2002-08-29  André Pönitz <poenitz@gmx.net>
9365
9366         * lyxtext.h:
9367         * text2.C: remove unused member number_of_rows
9368
9369         * Makefile.am:
9370         * BufferView2.C: remove file, move contents to...
9371         * BufferView.C: ... here
9372
9373         * BufferView_pimpl.C:
9374         * factory.C: move more inset creation to factory
9375
9376         * vspace.C: avoid direct usage of LyXText, ws changes
9377
9378         * BufferView.[Ch]:
9379                 don't provide direct access to WorkArea, use two simple
9380                 acessors haveSelction() and workHeight() instead
9381
9382
9383 2002-08-29  John Levon  <levon@movementarian.org>
9384
9385         * BufferView_pimpl.C (dispatch): do not continue when
9386           no buffer
9387
9388 2002-08-28  André Pönitz <poenitz@gmx.net>
9389
9390         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9391
9392         * BufferView.h:
9393         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9394
9395 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9396
9397         * buffer.C: increment LYX_FORMAT to 221
9398
9399         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9400         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9401
9402         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9403
9404         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9405
9406 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9407
9408         * factory.C (createInset): use LyXTextClass::floats
9409
9410         * MenuBackend.C (expandFloatListInsert):
9411         (expandFloatInsert):
9412         (expandToc):
9413
9414         * text2.C (setCounter):
9415
9416         * LaTeXFeatures.C (useFloat):
9417         (getFloatDefinitions):
9418
9419         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9420
9421         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9422         floatlist_, with accessor floats().
9423
9424         * FloatList.h: remove global FloatList
9425
9426 2002-08-26  André Pönitz <poenitz@gmx.net>
9427
9428         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9429
9430         * BufferView.h:
9431         * BufferView2.C:
9432         * BufferView_pimpl.C:
9433         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9434
9435 2002-08-25  John Levon  <levon@movementarian.org>
9436
9437         * LyXAction.C: fix margin note description
9438
9439 2002-08-24  John Levon  <levon@movementarian.org>
9440
9441         * buffer.C:
9442         * bufferlist.C:
9443         * bufferview_funcs.C:
9444         * lyxfont.C:
9445         * undo_funcs.C: cleanups
9446
9447         * lyxfunc.C: disable CUT/COPY when no selection
9448
9449 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9450
9451         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9452         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9453
9454         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9455         Add backward compatibility to "mono", "gray" and "no".
9456
9457 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9458
9459         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9460         (and file_format >= 200).
9461
9462 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9463
9464         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9465
9466 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9467
9468         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9469
9470 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9471
9472         * BufferView_pimpl.C:
9473         * LyXAction.C:
9474         * buffer.C:
9475         * commandtags.h:
9476         * lyxfunc.C:
9477         * paragraph.[Ch]:
9478         * text2.C:
9479         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9480         inset and code to make it  work with the paragraph code. The inset
9481         can be anywhere in the paragraph, but will only do the expected
9482         thing in LaTeX if the layout file contains the parameter line
9483                         OptionalArgs    1
9484         (or more generally, a nonzero value) for that layout.
9485
9486 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9487
9488         * paragraph.h: remove the declaration of undefined counters class
9489         function.
9490
9491 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9492
9493         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9494         Dr. Richard Hawkins.
9495
9496 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9497
9498         * paragraph_funcs.h: remove some unneeded includes
9499
9500         * text.C (backspace): pasteParagraph now in global scipe
9501
9502         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9503         (pasteSelection): ditto
9504
9505         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9506         * paragraph_funcs.C (pasteParagraph): ... here
9507
9508 2002-08-20  André Pönitz <poenitz@gmx.net>
9509
9510         * commandtags.h: new LFUNs for swapping/copying table row/colums
9511
9512         * LyXAction.C:
9513         * lyxfunc.C: support for new lfuns
9514
9515 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9516
9517         * tabular.C:
9518         * buffer.[Ch]: remove NO_COMPABILITY stuff
9519
9520 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9521
9522         * boost.C (throw_exception): new file, with helper function for
9523         boost compiled without exceptions.
9524
9525         * paragraph.h:
9526         * lyxlength.C:
9527         * buffer.C:
9528         * ParameterStruct.h:
9529         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9530
9531         * bufferlist.C (emergencyWriteAll): use boost bind
9532
9533         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9534
9535         * text.C: include paragraph_funcs.h
9536         (breakParagraph): breakParagraph is now in global scope
9537
9538         * paragraph_funcs.[Ch]: new files
9539
9540         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9541         global scope
9542
9543         * buffer.C: include paragraph_funcs.h
9544         (insertStringAsLines): breakParagraph is now in global scope
9545
9546         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9547         paragraph_funcs.C
9548
9549         * CutAndPaste.C: include paragraph_funcs.h
9550         (cutSelection): breakParagraphConservative is now in global scope
9551         (pasteSelection): ditto
9552
9553         * buffer.h: declare oprator== and operator!= for
9554         Buffer::inset_iterator
9555
9556         * bufferlist.C (emergencyWrite): don't use fmt(...)
9557
9558         * text3.C: add using std::endl
9559
9560         * BufferView.C (moveCursorUpdate): remove default arg
9561
9562 2002-08-20  André Pönitz <poenitz@gmx.net>
9563
9564         * buffer.[Ch]: move inline functions to .C
9565
9566         * BufferView2.C:
9567         * BufferView_pimpl.C:
9568         * text.C:
9569         * buffer.[Ch]: use improved inset_iterator
9570
9571         * buffer.C:
9572         * paragraph.[Ch]: write one paragraph at a time
9573
9574 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9575
9576         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9577         style if style is not specified.
9578
9579 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9580
9581         * text2.C (setCounter): when searching for right label for a
9582         caption, make sure to recurse to parent insets (so that a caption
9583         in a minipage in a figure float works) (bug #568)
9584
9585 2002-08-20  André Pönitz <poenitz@gmx.net>
9586
9587         * text3.C: new file for LyXText::dispatch() and helpers
9588
9589         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9590
9591         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9592
9593 2002-08-19  André Pönitz <poenitz@gmx.net>
9594
9595         * lyxtext.h:
9596         * text.C: new LyXText::dispatch()
9597
9598         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9599
9600 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9601
9602         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9603
9604         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9605         Hebrew text.
9606
9607 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9608
9609         * Makefile.am: use $(variables) instead of @substitutions@
9610
9611 2002-08-15  André Pönitz <poenitz@gmx.net>
9612
9613         * lyxfunc.C:
9614         * BufferView_pimpl.C: streamlining mathed <-> outer world
9615         interaction
9616
9617         * commandtags.h:
9618         * LyXAction.C: remove unused LFUN_MATH
9619
9620 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9621
9622         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9623
9624 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9625
9626         * paragraph.C (Paragraph): reformat a bit
9627         (cutIntoMinibuffer): use builtin InsetList function instad of
9628         doing it manually.
9629         (getInset): ditto
9630
9631         * buffer.C: include boost/bind.hpp, add using std::for_each
9632         (writeFileAscii): use ParagraphList iterators
9633         (validate): use for_each for validate traversal of paragraphs
9634         (getBibkeyList): use ParagraphList iterators
9635         (resizeInsets): use for_each to resizeInsetsLyXText for all
9636         paragraphs.
9637         (getParFromID): use ParagraphList iterators
9638
9639         * BufferView2.C (lockInset): use paragraph list and iterators
9640
9641 2002-08-14  John Levon  <levon@movementarian.org>
9642
9643         * lyxserver.C: remove spurious xforms include
9644
9645 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9646
9647         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9648
9649 2002-08-13  André Pönitz <poenitz@gmx.net>
9650
9651         * LyXAction.[Ch]:
9652         * lyxfunc.C: further cleaning
9653
9654 2002-08-13  André Pönitz <poenitz@gmx.net>
9655
9656         * funcrequest.h: new constructor
9657
9658         * funcrequest.C: move stuff here from .h
9659
9660         * Makefile.am:
9661         * BufferView_pimpl.C:
9662         * LyXAction.C:
9663         * toc.C:
9664         * lyxfunc.C: subsequent changes
9665
9666         * lyxfunc.h: new view() member function
9667
9668         * lyxfunc.C: subsequent changes
9669
9670 2002-08-13  Angus Leeming  <leeming@lyx.org>
9671
9672         * BufferView2.C:
9673         * BufferView_pimpl.C:
9674         * buffer.C:
9675         * converter.C:
9676         * importer.C:
9677         * lyxfunc.C:
9678         * lyxvc.C:
9679         * toc.C:
9680         * vc-backend.C:
9681         changes due to the changed LyXView interface that now returns references
9682         to member variables not pointers.
9683
9684 2002-08-13  Angus Leeming  <leeming@lyx.org>
9685
9686         * WordLangTuple (word, lang_code): return references to strings,
9687         not strings.
9688
9689         * BufferView.h:
9690         * SpellBase.h:
9691         * lyxtext.h: forward-declare WordLangTuple.
9692
9693         * BufferView2.C:
9694         * ispell.C:
9695         * pspell.C:
9696         * text.C: #include "WordLangTuple.h".
9697
9698         * lyxtext.h:
9699         * text.C: (selectNextWordToSpellcheck): constify return type.
9700
9701 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9702
9703         * buffer.C:
9704         * buffer.h:
9705         * lyxtext.h:
9706         * paragraph.C:
9707         * paragraph_pimpl.h:
9708         * text.C:
9709         * text2.C:
9710         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9711         suggested by Angus.
9712         Made updateCounter always count from start of buffer, and removed
9713         second argument (par).
9714         Reverted floats number display to '#'. Perhaps I'll try again when the
9715         code base is sanitized a bit.
9716
9717 2002-08-12  Angus Leeming  <leeming@lyx.org>
9718
9719         * buffer.[Ch] (getLabelList): constify.
9720
9721 2002-08-07  André Pönitz <poenitz@gmx.net>
9722
9723         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9724
9725         * funcrequest.h: extension to keep mouse (x,y) position
9726
9727 2002-08-12  Juergen Vigna  <jug@sad.it>
9728
9729         * BufferView2.C (insertErrors): forbid undo when inserting error
9730         insets.
9731
9732         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9733
9734 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9735
9736         * ParagraphList.[Ch]: new files
9737
9738         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9739
9740         * BufferView2.C (lockInset): ParagraphList changes
9741         * toc.C: ditto
9742         * text2.C: ditto
9743         * bufferlist.C: ditto
9744         * buffer.h: ditto
9745         * buffer.C: ditto
9746
9747 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9748
9749         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9750         unused class variable counter_,
9751
9752         * paragraph.[Ch] (getFirstCounter): delete unused function
9753
9754         * counters.C: include LAssert.h
9755         (reset): add a new function with no arg, change other version to
9756         not have def. arg and to not allow empty arg.
9757
9758         * text2.C (setCounter): remove empty arg from call to Counters::reset
9759
9760 2002-08-11  John Levon  <levon@movementarian.org>
9761
9762         * Makefile.am: add WordLangTuple.h
9763
9764 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9765
9766         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9767         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9768
9769         * insets/insettext.C: InsetList changes
9770
9771         * graphics/GraphicsSupport.C (operator()): InsetList changes
9772
9773         * toc.C (getTocList): InsetList changes
9774
9775         * paragraph_pimpl.[Ch]: InsetList changes
9776
9777         * paragraph.[Ch]: InsetList changes
9778
9779         * buffer.C (inset_iterator): InsetList changes
9780         (setParagraph): ditto
9781         * buffer.h (inset_iterator): ditto
9782         * iterators.C (operator++): ditto
9783         * iterators.h: ditto
9784
9785         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9786
9787         * InsetList.[Ch]: new files, most InsetList handling moved out of
9788         paragraph.C.
9789
9790         * BufferView2.C (removeAutoInsets): InsetList changes
9791         (lockInset): ditto
9792         (ChangeInsets): ditto
9793
9794 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9795
9796         * paragraph_pimpl.h (empty): new function
9797
9798         * paragraph.[Ch] (empty): new function
9799
9800         * other files: use the new Paragraph::empty function
9801
9802 2002-08-09  John Levon  <levon@movementarian.org>
9803
9804         * lyxtext.h: remove unused refresh_height
9805
9806 2002-08-09  John Levon  <levon@movementarian.org>
9807
9808         * Makefile.am:
9809         * sgml.h:
9810         * sgml.C:
9811         * buffer.C:
9812         * paragraph.h:
9813         * paragraph.C: move sgml char escaping out of paragraph
9814
9815         * paragraph.h:
9816         * paragraph.C: remove id setter
9817
9818         * buffer.C:
9819         * paragraph.C:
9820         * paragraph_pimpl.C: remove dead tex_code_break_column
9821
9822         * bufferview_funcs.C: small cleanup
9823
9824         * lyxfunc.C: remove dead proto
9825
9826         * lyxtext.h: make some stuff private. Remove some dead stuff.
9827
9828         * lyxgluelength.C: make as[LyX]String() readable
9829
9830 2002-08-08  John Levon  <levon@movementarian.org>
9831
9832         * LyXAction.h:
9833         * LyXAction.C:
9834         * MenuBackend.C:
9835         * ToolbarDefaults.C:
9836         * lyxfunc.C:
9837         * lyxrc.C:
9838         * toc.C: lyxaction cleanup
9839
9840 2002-08-08  John Levon  <levon@movementarian.org>
9841
9842         * BufferView2.C: small cleanup
9843
9844         * lyxfind.h:
9845         * lyxfind.C: move unnecessary header into the .C
9846
9847 2002-08-08  John Levon  <levon@movementarian.org>
9848
9849         * funcrequest.h: just tedious nonsense
9850
9851         * lyx_main.h:
9852         * lyx_main.C: cleanups
9853
9854         * buffer.C:
9855         * vspace.C: remove dead header lyx_main.h
9856
9857 2002-08-07  Angus Leeming  <leeming@lyx.org>
9858
9859         * Paragraph.[Ch]:
9860         * paragraph_pimpl.h:
9861         Forward declare class Counters in paragraph.h by moving the ctrs member
9862         variable into Paragraph::Pimpl.
9863         (counters): new method, returning a reference to pimpl_->ctrs.
9864
9865         * text2.C: ensuing changes.
9866
9867 2002-08-07  John Levon  <levon@movementarian.org>
9868
9869         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9870
9871         * BufferView_pimpl.C: announce X selection on double/triple
9872           click
9873
9874         * lyx_main.C: use correct bool in batch dispatch
9875
9876         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9877
9878 2002-08-07  André Pönitz <poenitz@gmx.net>
9879
9880         * funcrequest.h: new class to wrap a kb_action and its argument
9881
9882         * BufferView.[Ch]:
9883         * BufferView_pimpl[Ch]:
9884         * LaTeX.C:
9885         * LyXAction.[Ch]:
9886         * lyxfunc.[Ch]:
9887         * lyxrc.C: subsequent changes
9888
9889
9890 2002-08-07  John Levon  <levon@movementarian.org>
9891
9892         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9893           document options change.
9894
9895 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9896
9897         * counters.[Ch]
9898         * text2.C
9899         * paragraph.[Ch]
9900         * makefile.am: move counters functionality over from
9901         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9902
9903 2002-08-06  John Levon  <levon@movementarian.org>
9904
9905         * WordLangTuple.h: new file for word + language code tuple
9906
9907         * SpellBase.h:
9908         * pspell.h:
9909         * pspell.C:
9910         * ispell.h:
9911         * ispell.C:
9912         * lyxtext.h:
9913         * text.C:
9914         * text2.C:
9915         * BufferView.h:
9916         * BufferView2.C: use WordLangTuple
9917
9918         * layout.h:
9919         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9920
9921 2002-08-06  John Levon  <levon@movementarian.org>
9922
9923         * lyx_main.C: fix cmdline batch handling
9924
9925 2002-08-06  André Pönitz <poenitz@gmx.net>
9926
9927         * lyxrc.C: set default for show_banner to true
9928
9929 2002-08-06  John Levon  <levon@movementarian.org>
9930
9931         * pspell.C: fix a crash, and allow new aspell to work
9932
9933 2002-08-06  John Levon  <levon@movementarian.org>
9934
9935         * lyxfunc.C:
9936         * kbmap.C: small cleanup
9937
9938         * vspace.h:
9939         * vspace.C: add const
9940
9941 2002-08-05  John Levon  <levon@movementarian.org>
9942
9943         * LyXAction.C: back to tabular-insert
9944
9945 2002-08-04  John Levon  <levon@movementarian.org>
9946
9947         * BufferView.h:
9948         * BufferView.C: cosmetic change
9949
9950         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9951
9952         * bufferlist.C:
9953         * buffer.h:
9954         * buffer.C:
9955         * lyxcb.h:
9956         * lyxcb.C:
9957         * lyxserver.C:
9958         * lyxvc.C:
9959         * vc-backend.C:
9960         * BufferView2.C: purge all "Lyx" not "LyX" strings
9961
9962         * lyxcursor.h:
9963         * lyxcursor.C: attempt to add some documentation
9964
9965         * lyxfunc.C:
9966         * commandtags.h:
9967         * LyXAction.C:
9968         * ToolbarDefaults.C:
9969         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9970           merge with LFUN_TABULAR_INSERT
9971
9972         * Makefile.am:
9973         * SpellBase.h:
9974         * ispell.h:
9975         * ispell.C:
9976         * pspell.h:
9977         * pspell.C: split up i/pspell implementations into separate
9978           files, many cleanups
9979
9980         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9981
9982         * text2.C: some cleanup
9983
9984         * lyxfunc.C: don't check for isp_command == "none" any more, it
9985           didn't make any sense
9986
9987 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9988
9989         * counters.[Ch]
9990         * text2.C
9991         * paragraph.[Ch]
9992         * makefile.am: move counters functionality over
9993         from text2.C/paragraph.[Ch] to counters.[Ch], and
9994         make proper C++.
9995 2002-08-02  John Levon  <levon@movementarian.org>
9996
9997         * buffer.C: s/lyxconvert/lyx2lyx/
9998
9999 2002-08-02  Angus Leeming  <leeming@lyx.org>
10000
10001         * lyxlex.C: revert John's change as it breaks reading of the user
10002         preamble.
10003
10004 2002-08-02  Angus Leeming  <leeming@lyx.org>
10005
10006         * importer.C (Import):
10007         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
10008         changes due to LyXView::view() now returning a boost::shared_ptr.
10009
10010 2002-08-02  John Levon  <levon@movementarian.org>
10011
10012         * lyxlex.C: small cleanup
10013
10014 2002-08-02  John Levon  <levon@movementarian.org>
10015
10016         * text2.C (status): small cleanup, no logic change
10017
10018 2002-08-01  John Levon  <levon@movementarian.org>
10019
10020         * buffer.h:
10021         * buffer.C (writeFile): don't output alerts, caller
10022           handles this
10023
10024         * bufferlist.C:
10025         * lyx_cb.C: from above
10026
10027         * lyxfunc.C: allow to open non-existent files
10028
10029 2002-07-31  John Levon  <levon@movementarian.org>
10030
10031         * lyxserver.C: don't let incidental errors get
10032           in the way (errno)
10033
10034 2002-07-30  John Levon  <levon@movementarian.org>
10035
10036         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
10037
10038 2002-07-30  John Levon  <levon@movementarian.org>
10039
10040         * lyxserver.h:
10041         * lyxserver.C: remove I/O callback too
10042
10043 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10044
10045         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
10046         log.
10047
10048 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
10049
10050         * many files: strip,frontStrip -> trim,ltrim,rtrim
10051
10052 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
10053
10054         * PrinterParams.h: remove extern containsOnly, and include
10055         support/lstrings.h instead.
10056
10057         * LaTeX.C (scanAuxFile): modify because of strip changes
10058         (deplog): ditto
10059         * buffer.C (makeLaTeXFile): ditto
10060         * bufferparams.C (writeFile): ditt
10061         * lyxfont.C (stateText): ditto
10062         * lyxserver.C (read_ready): ditto
10063         * vc-backend.C (scanMaster): ditto
10064
10065         * BufferView_pimpl.h: ws changes
10066
10067         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
10068
10069 2002-07-26  André Pönitz <poenitz@gmx.net>
10070
10071         * kb_sequence.C: remove unnedred usings
10072
10073 2002-07-26  Juergen Vigna  <jug@sad.it>
10074
10075         * lyxfind.C (LyXReplace): we have to check better if the returned
10076         text is not of theLockingInset()->getLockingInset().
10077
10078 2002-07-25  Juergen Vigna  <jug@sad.it>
10079
10080         * lyxfind.C (LyXReplace): don't replace if we don't get the
10081         right LyXText.
10082
10083         * undo_funcs.C (createUndo): remove debugging code.
10084
10085 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
10086
10087         * buffer.C (parseSingleLyXformat2Token): Use default placement
10088         when reading old floats.
10089
10090         * FloatList.C (FloatList): Change the default placement of figure
10091         and tables to "tbp".
10092
10093 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
10094
10095         * MenuBackend.C: using std::max
10096
10097 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10098
10099         * MenuBackend.C (expandToc):
10100         (expandToc2): code moved from xforms menu frontend. It is now
10101         generic and TOCs are transparent to menu frontends.
10102
10103 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10104
10105         * toc.C (getTocList): protect against buf=0
10106
10107         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
10108         Menu as first parameter. Now, this calls itself recursively to
10109         expand a whole tree (this will be useful for TOC handling)
10110         (expandFloatInsert): remove 'wide' version of floats
10111
10112         * MenuBackend.h (submenuname): returns the name of the submenu.
10113         (submenu): returns the submenu itself, provided it has been
10114         created by MenuBackend::expand
10115
10116 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10117
10118         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
10119         insets which have noFontChange == true. (bug #172)
10120
10121 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10122
10123         * BufferView_pimpl.C: add connection objects and use them...
10124         (Pimpl): here.
10125
10126 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10127
10128         * MenuBackend.C (expandLastfiles):
10129         (expandDocuments):
10130         (expandFormats):
10131         (expandFloatListInsert):
10132         (expandFloatInsert):
10133         (expand): split expand in parts
10134
10135 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10136
10137         * lyx_gui.C: use lyx_gui::exit()
10138
10139 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10140
10141         * LyXAction.C: show the failing pseudo action
10142
10143 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
10144
10145         * buffer.C (readFile): Run the lyxconvert script in order to read
10146         old files.
10147
10148 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10149
10150         * LyXAction.C:
10151         * commandtags.h:
10152         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
10153
10154 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
10155
10156         * LyXAction.C:
10157         * commandtags.h:
10158         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
10159
10160 2002-07-22  Herbert Voss  <voss@lyx.org>
10161
10162         * lengthcommon.C:
10163         * lyxlength.[Ch]: add support for the vertical lengths
10164
10165 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
10166
10167         * toc.[Ch]: std:: fixes
10168
10169 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10170
10171         * lyxrc.C: do not include lyx_main.h
10172
10173         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10174         for layouts
10175
10176         * lyxrc.C:
10177         * encoding.C:
10178         * bufferlist.C:
10179         * BufferView2.C: include "lyxlex.h"
10180
10181         * tabular.h:
10182         * bufferparams.h: do not #include "lyxlex.h"
10183
10184         * lyxtextclasslist.C (Add): remove method
10185         (classlist): renamed to classlist_
10186
10187         * paragraph_pimpl.C:
10188         * paragraph.C:
10189         * text2.C:
10190         * CutAndPaste.C:
10191         * bufferview_funcs.C:
10192         * bufferlist.C:
10193         * text.C:
10194         * LaTeXFeatures.C:
10195         * buffer.C:
10196         * toc.C (getTocList): use BufferParams::getLyXTextClass
10197
10198         * toc.C (getTocList): use InsetFloat::addToToc
10199
10200         * toc.[Ch]: new files, containing helper functions to handle table
10201         of contents
10202
10203         * lyxfunc.C (dispatch): no need to remove spaces around command
10204         given as a string
10205         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10206         first command of the sequence; it is not very clever, but I do not
10207         have a better idea, actually
10208
10209         * LyXAction.C (LookupFunc): make sure to remove space at the
10210         beginning and end of the command
10211
10212 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10213
10214         * MenuBackend.C (getMenubar): new method: return the menubar of
10215         this menu set
10216         (read): treat differently reading of menu and menubar (in
10217         particular, the menubar has no name now)
10218         (Menu::menubar): remove
10219
10220         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10221         saving is finished
10222
10223 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10224
10225         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10226         a bibitem inset in a RTL paragraph.
10227
10228 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10229
10230         * paragraph_pimpl.C: constify
10231
10232         * BufferView_pimpl.C:
10233         * LaTeX.C:
10234         * lyxfunc.C: fix dispatch in a nicer way
10235
10236 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10237
10238         * lyxfunc.C (dispatch):
10239         * BufferView_pimpl.C:
10240         * BufferView_pimpl.h:
10241         * BufferView.C:
10242         * BufferView.h: rename Dispatch() to dispatch()
10243
10244         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10245
10246         * lyxlayout.C (Read): honor DependsOn tag
10247
10248         * lyxlayout.[Ch] (depends_on): new method
10249
10250         * version.C.in: update lyx_docversion
10251
10252         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10253
10254         * paragraph.C (validate): remove from here...
10255         * paragraph_pimpl.C (validate): ... and move here
10256         (isTextAt): make it const
10257
10258         * buffer.C (getLists): ws cleanup
10259
10260 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10261
10262         * language.C (read): Use iso8859-1 encoding in latex_lang
10263         (this prevents LyX from crashing when using iso10646-1 encoding).
10264
10265 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10266
10267         * text2.C (toggleInset): if cursor is inside an inset, close the
10268         inset and leave cursor _after_ it
10269
10270 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10271
10272         * lyxfunc.C: move minibuffer completion handling out of here
10273
10274 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10275
10276         * BufferView_pimpl.C:
10277         * LaTeX.C: fix dispatch calls
10278
10279 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10280
10281         * text.C (drawChars): Fix Arabic text rendering.
10282
10283 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10284
10285         * LyXAction.C:
10286         * commandtags.h:
10287         * lyxfunc.C: remove message-push/pop
10288
10289         * lyxserver.C:
10290         * lyxfunc.h:
10291         * lyxfunc.C: rationalise some code by removing verboseDispatch
10292           in favour of a bool argument to dispatch()
10293
10294 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10295
10296         * lyx_main.C (init): make sure to read symlinks as absolute paths
10297
10298 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10299
10300         * lyxfunc.h:
10301         * lyxfunc.C: no need for commandshortcut to be a member
10302
10303 2002-07-15  André Pönitz <poenitz@gmx.net>
10304
10305         * converter.C: add support for $$s (scripts from lib/scripts dir)
10306         * lyx_main.C: white space
10307
10308 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10309
10310         * bufferlist.C:
10311         * lyxrc.h:
10312         * lyxrc.C: remove second exit confirmation
10313
10314 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10315
10316         * BufferView.h:
10317         * BufferView.C:
10318         * BufferView2.C:
10319         * BufferView_pimpl.h:
10320         * BufferView_pimpl.C:
10321         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10322
10323 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10324
10325         * MenuBackend.C (expand): add numeric shortcuts to document menu
10326
10327         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10328
10329 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10330
10331         * lyxfont.C (setLyXFamily):
10332         (setLyXSeries):
10333         (setLyXShape):
10334         (setLyXSize):
10335         (setLyXMisc):
10336         (lyxRead):
10337         * debug.C (value):
10338         * buffer.C (asciiParagraph): use ascii_lowercase
10339
10340 2002-07-15  Mike Fabian  <mfabian@suse.de>
10341
10342         * lyxlex_pimpl.C (search_kw):
10343         * lyxlex.C (getLongString):
10344         * converter.h (operator<):
10345         * converter.C (operator<):
10346         * buffer.C (parseSingleLyXformat2Token):
10347         (asciiParagraph):
10348         * ToolbarDefaults.C (read):
10349         * MenuBackend.C (checkShortcuts):
10350         (read):
10351         * LColor.C (getFromGUIName):
10352         (getFromLyXName): use the compare_ascii_no_case instead of
10353         compare_no_case, because in turkish, 'i' is not the lowercase
10354         version of 'I', and thus turkish locale breaks parsing of tags.
10355
10356 2002-07-16  Angus Leeming  <leeming@lyx.org>
10357
10358         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10359         now takes a Buffer const & argument.
10360
10361 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10362
10363         * BufferView.C (resize): check there's a buffer to resize
10364
10365 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10366
10367         * lyxfunc.C: remove dead code
10368
10369         * lyxserver.h:
10370         * lyxserver.C: use lyx_guii::set_read_callback
10371
10372 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10373
10374         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10375         an inset in a RTL paragraph.
10376
10377 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10378
10379         * lyxfunc.C: repaint after a font size update
10380
10381 2002-07-15  André Pönitz <poenitz@gmx.net>
10382
10383         * lyxlength.C: inBP should be able to return negative values
10384
10385 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10386
10387         * lyxfunc.C: use lyx_gui::update_fonts()
10388
10389 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10390
10391         * lyxfunc.C: use lyx_gui::update_color()
10392
10393 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10394
10395         * bufferlist.C:
10396         * lyxfunc.h:
10397         * lyxfunc.C:
10398         * lyxrc.h:
10399         * lyxrc.C: remove file->new asks for name option, and let
10400           buffer-new take an argument
10401
10402 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10403
10404         * BufferView_pimpl.C: remove unneeded extra repaint()
10405
10406 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10407
10408         * LyXAction.C: allow command-sequence with NoBuffer
10409
10410         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10411
10412 2002-07-10  Angus Leeming  <leeming@lyx.org>
10413
10414         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10415
10416 2002-07-09  Angus Leeming  <leeming@lyx.org>
10417
10418         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10419
10420 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10421
10422         * lengthcommon.h: whitespace
10423
10424         * lyxfunc.C: update scrollbar after goto paragraph
10425
10426         * lyxtext.h: factor out page break drawing, and fix it so
10427           page break/added space paints as selected nicely
10428
10429 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10430
10431         * BufferView_pimpl.C: add FIXMEs, clean up a little
10432
10433 2002-07-09  André Pönitz <poenitz@gmx.net>
10434
10435         * lyxfont.[Ch]: support for wasy symbols
10436
10437 2002-07-08  André Pönitz <poenitz@gmx.net>
10438
10439         * BufferView_pimpl.C: apply John's patch for #93.
10440
10441 2002-07-05  Angus Leeming  <leeming@lyx.org>
10442
10443         * BufferView_pimpl.C (buffer): generate previews if desired.
10444
10445         * LColor.h: add "preview" to the color enum.
10446
10447         * LColor.C (LColor): add a corresponding entry to the items array.
10448
10449         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10450         with this buffer.
10451
10452 2002-07-05  Angus Leeming  <leeming@lyx.org>
10453
10454         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10455         The body of the code is now in the method that is passed an ostream &
10456         rather than a file name.
10457         Pass an additional only_preamble parameter, useful for the forthcoming
10458         preview stuff.
10459
10460 2002-07-03  André Pönitz <poenitz@gmx.net>
10461
10462         * lyxfunc.C: simplify getStatus() a bit for math stuff
10463
10464 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10465
10466         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10467
10468 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10469
10470         * text.C (changeRegionCase): do not change case of all the
10471         document when region ends at paragraph end (bug #461)
10472
10473 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10474
10475         * paragraph.C (startTeXParParams):
10476         (endTeXParParams): add \protect when necessary
10477
10478 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10479
10480         * BufferView_pimpl.C (workAreaExpose): remove warning
10481
10482 2002-06-27  Angus Leeming  <leeming@lyx.org>
10483
10484         * Makefile.am: add lyxlayout_ptr_fwd.h.
10485
10486 2002-06-26  André Pönitz <poenitz@gmx.net>
10487
10488         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10489
10490 2002-06-25  Angus Leeming  <leeming@lyx.org>
10491
10492         * lyxfunc.C (dispatch): Comment out the call to
10493         grfx::GCache::changeDisplay. The method no longer exists now that the
10494         pixmap generation part of the graphics loader has been moved into
10495         InsetGraphics.
10496
10497 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10498
10499         * text2.C: layout as layout
10500
10501         * text.C: layout as layout
10502
10503         * tabular.C (OldFormatRead): layout as layout
10504
10505         * paragraph_pimpl.C (TeXDeeper): layout as layout
10506         (realizeFont): layout as layout
10507
10508         * paragraph.C (writeFile): layout as layout
10509         (validate): layout as layout
10510         (getFont): layout as layout
10511         (getLabelFont): layout as layout
10512         (getLayoutFont): layout as layout
10513         (breakParagraph): layout as layout
10514         (stripLeadingSpaces): layout as layout
10515         (getEndLabel): layout as layout
10516         (getMaxDepthAfter): layout as layout
10517         (applyLayout): layout as layout
10518         (TeXOnePar): layout as layout
10519         (simpleTeXOnePar): layout as layout
10520         (TeXEnvironment): layout as layout
10521         (layout): layout as layout
10522         (layout): layout as layout
10523
10524         * lyxtextclass.C (compare_name): new functor to work with
10525         shared_ptr, layout as layout
10526         (Read): layout as layout
10527         (hasLayout): layout as layout
10528         (operator): layout as layout
10529         (delete_layout): layout as layout
10530         (defaultLayout): layout as layout
10531
10532         * lyxlayout_ptr_fwd.h: new file
10533
10534         * lyxlayout.C (Read): layout as layout
10535
10536         * lyx_cb.C (MenuInsertLabel): layout as layout
10537
10538         * bufferlist.C (newFile): layout as layout
10539
10540         * buffer.C (readLyXformat2): layout as layout
10541         (parseSingleLyXformat2Token): layout as layout
10542         (insertStringAsLines): layout as layout
10543         (asciiParagraph): layout as layout
10544         (latexParagraphs): layout as layout
10545         (makeLinuxDocFile): layout as layout
10546         (simpleLinuxDocOnePar): layout as layout
10547         (makeDocBookFile): layout as layout
10548         (simpleDocBookOnePar): layout as layout
10549         (getLists): layout as layout
10550
10551         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10552
10553         * CutAndPaste.C (cutSelection): layout as layout
10554         (pasteSelection): layout as layout
10555         (SwitchLayoutsBetweenClasses): layout as layout
10556
10557         * BufferView_pimpl.C (Dispatch): layout as layout
10558         (smartQuote): layout as layout
10559
10560         * BufferView2.C (unlockInset): layout as layout
10561
10562 2002-06-24  André Pönitz <poenitz@gmx.net>
10563
10564         * lyxfunc.C: fix #487
10565
10566 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10567
10568         * lyxrc.h:
10569         * lyxrc.C:
10570         * lyxfunc.C: remove display_shortcuts, show_banner
10571
10572 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10573
10574         * Buffer_pimpl.C: oops, update on resize
10575
10576 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10577
10578         * buffer.C:
10579         * converter.C:
10580         * exporter.C:
10581         * lyxfunc.C:
10582         * BufferView.h:
10583         * BufferView.C: use repaint()
10584
10585         * BufferView_pimpl.h:
10586         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10587           as it's a clearer description. Remove superfluous
10588           redraws.
10589
10590 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10591
10592         * text.C: fix bug 488. Not ideal, but getting
10593           getWord() to work properly for the insets that
10594           matter is more difficult ...
10595
10596 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * BufferView_pimpl.C:
10599         * LyXAction.C:
10600         * commandtags.h:
10601         * lyxfunc.C: remove the six million index lyxfuncs to just
10602           one, and DTRT (bug 458)
10603
10604 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10605
10606         * BufferView.h:
10607         * BufferView.C:
10608         * BufferView_pimpl.h:
10609         * BufferView_pimpl.C: clean up resize() stuff,
10610           and unnecessary updateScreen()s
10611
10612 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10613
10614         * BufferView.h:
10615         * BufferView.C:
10616         * BufferView_pimpl.h:
10617         * BufferView_pimpl.C:
10618         * lyxfind.h:
10619         * lyxfind.C:
10620         * minibuffer.C: remove focus management of workarea,
10621           not needed. Use screen's greyOut()
10622
10623 2002-06-17  Herbert Voss  <voss@lyx.org>
10624
10625         * converter.C: (convert) do not post a message, when converting
10626         fails, let the calling function decide what to do in this case
10627
10628 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10629
10630         * lyxfunc.C: tidy up a little
10631
10632 2002-06-16    <alstrup@diku.dk>
10633
10634         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10635         Got rid of FORMS_H_LOCATION include. Now we are
10636         GUII.
10637
10638 2002-06-15  LyX Development team  <lyx@rilke>
10639
10640         * buffer.[Ch] (sgmlOpenTag):
10641         (sgmlCloseTag): Added support for avoiding pernicious mixed
10642         content. Return number of lines written.
10643
10644         (makeLinuxDocFile):
10645         (makeDocBookFile): Fixed calls to sgml*Tag.
10646         Simple white space clean.
10647
10648         (simpleDocBookOnePar): Simple white space clean.
10649
10650         * tabular.[Ch] (docBook): Renamed to docbook and got another
10651         argument to related with the pernicious mixed content.
10652
10653         (docbookRow): Fixed calls for docbook inset method.
10654
10655 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10656
10657         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10658         so it's X11 independent.
10659
10660         * kb*.[Ch]: ditto.
10661
10662         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10663
10664 2002-06-15  Lyx Development team  <lyx@electronia>
10665
10666         * intl.h: Renamed getTrans to getTransManager.
10667
10668 2002-06-14  Angus Leeming  <leeming@lyx.org>
10669
10670         * Makefile.am: nuke forgotten stl_string_fwd.h.
10671
10672 2002-06-12  Angus Leeming  <leeming@lyx.org>
10673
10674         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10675
10676 2002-06-13  Angus Leeming  <leeming@lyx.org>
10677
10678         * LaTeX.C:
10679         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10680
10681 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10682
10683         * kbmap.C (getiso): add support for cyrillic and greek
10684
10685 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * BufferView.h:
10688         * BufferView.C:
10689         * BufferView_pimpl.h:
10690         * BufferView_pimpl.C: move bogus scrolling logic
10691           to xforms
10692
10693 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10694
10695         * lyxfunc.C:
10696         * BufferView_pimpl.C: view->resize() change
10697
10698 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10699
10700         * BufferView_pimpl.C: topCursorVisible
10701           prototype change
10702
10703 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10704
10705         * Makefile.am:
10706         * lyx_gui.h:
10707         * lyx_gui.C: move to frontends/
10708
10709         * main.C:
10710         * lyx_main.h:
10711         * lyx_main.C: changes from above
10712
10713 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10714
10715         * intl.C:
10716         * intl.h:
10717         * kbmap.C:
10718         * kbsequence.C:
10719         * lyx_cb.C:
10720         * lyx_main.C: minor tidy
10721
10722 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10723
10724         * BufferView_pimpl.h:
10725         * BufferView_pimpl.C:
10726         * BufferView.h:
10727         * BufferView.C: make painter() const,
10728           remove dead code
10729
10730         * BufferView2.C: use screen() accessor
10731
10732         * lyx_main.h:
10733         * lyx_main.C: some minor cleanup
10734
10735 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10736
10737         * BufferView_pimpl.h:
10738         * BufferView_pimpl.C: remove enter/leaveView,
10739           use workHeight()
10740
10741 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10742
10743         * BufferView.h:
10744         * BufferView.C:
10745         * BufferView2.C:
10746         * BufferView_pimpl.h:
10747         * BufferView_pimpl.C: only construct screen once,
10748           rename
10749
10750         * lyxrc.C: remove pointless comment
10751
10752 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10753
10754         * BufferView.h:
10755         * BufferView.C: remove active() and belowMouse()
10756
10757         * BufferView_pimpl.h:
10758         * BufferView_pimpl.C: use workarea() not workarea_,
10759           and make it use a scoped_ptr instead
10760
10761 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10762
10763         * lyx_gui.C: add debug message on BadWindow
10764
10765 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10766
10767         * sp_spell.C: fdopen is not part of the C++ standard.
10768
10769         * paragraph.C (InsetIterator): use >= instead of ==
10770
10771 2002-06-07  Angus Leeming  <leeming@lyx.org>
10772
10773         Fixes needed to compile with Compaq cxx 6.5.
10774         * BufferView_pimpl.C:
10775         * DepTable.C:
10776         * buffer.C:
10777         * converter.C:
10778         * encoding.C:
10779         * lyx_gui.C:
10780         * lyx_main.C:
10781         * lyxtextclasslist.C:
10782         * minibuffer.C:
10783         * sp_spell.C:
10784         * tabular_funcs.C:
10785         * vc-backend.C:
10786         all c-library variables have been moved into namespace std. Wrap
10787         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10788
10789         * lyxlength.C:
10790         * tabular-old.C:
10791         * tabular.C:
10792         Add a using std::abs declaration.
10793
10794         * kbmap.h (modifier_pair):
10795         * paragraph.h (InsetTable, InsetList):
10796         * lyxfont.h (FontBits):
10797         type definition made public.
10798
10799         * bufferlist.C (emergencyWriteAll): the compiler complains that
10800         there is more than one possible lyx::class_fun template to choose from.
10801         I re-named the void specialisation as lyx::void_class_fun.
10802
10803         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10804
10805         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10806         the compiler is is unable to find tostr in write_attribute.
10807
10808 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10809
10810         * buffer.C (sgmlError): hide #warning
10811
10812 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10813
10814         * xtl/*: get rid of xtl, which is not in use anyway
10815
10816         * LyXAction.C (init):
10817         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10818         were unimplemented xtl experimentation
10819
10820 2002-06-04  André Pönitz <poenitz@gmx.net>
10821
10822         * lyxfunc.C: disable array operation on simple formulae
10823
10824 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10825
10826         * converter.C: constify a bit
10827
10828 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10829
10830         * lyx_gui.C: check xforms version correctly
10831
10832 2002-04-30  Herbert Voss  <voss@lyx.org>
10833
10834         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10835         "keep" option
10836
10837 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10838
10839         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10840           attempt to register it with a VCS)
10841
10842 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10843
10844         * lyx_main.C (init): honor variables LYX_DIR_13x and
10845         LYX_USERDIR_13x
10846
10847 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10848
10849         * buffer.h:
10850         * buffer.C:
10851         * lyx_main.C: fix a crash on bad command line,
10852           and give a useful exit status on error
10853
10854         * lyxfunc.C (doImport): allow -i lyx to work
10855
10856 2002-03-30  André Pönitz <poenitz@gmx.net>
10857
10858         * lyxfunc.C: mathed font changes
10859
10860 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10861
10862         * LaTeX.C:
10863         * importer.h:
10864         * importer.C:
10865         * lyx_sty.h:
10866         * lyx_sty.C:
10867         * lyxlex.C:
10868         * lyxrow.h:
10869         * lyxtext.h:
10870         * paragraph.h:
10871         * paragraph.C:
10872         * texrow.h:
10873         * texrow.C:
10874         * text.C:
10875         * trans_mgr.h: srcdocs, and some minor cleanups
10876
10877 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10878
10879         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10880         call getFont all the time)
10881
10882 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10883
10884         * switch from SigC signals to boost::signals
10885
10886 2002-05-29  André Pönitz <poenitz@gmx.net>
10887
10888         * paragraph_pimpl.C (getChar): don't call size() too often...
10889
10890 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10891
10892         * paragraph_pimpl.C (insertChar): do not try to update tables when
10893         appending (pos == size())
10894
10895         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10896         in order to reduce drastically the number of comparisons needed to
10897         parse a large document
10898
10899 2002-05-29  André Pönitz <poenitz@gmx.net>
10900
10901         * text.C:
10902         * text2.C:
10903         * lyxtextclass.C:
10904         * sp_pspell.h:
10905         * textclasslist.[Ch]:
10906         * sp_ispell.h: whitespace change
10907
10908 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10909
10910         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10911         lyxaction directly now.
10912
10913 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10914
10915         * trans.C:
10916         * lyxfont.C:
10917         * lyxvc.C: remove unused headers
10918
10919 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10920
10921         * Makefile.am:
10922         * buffer.h:
10923         * undostack.h:
10924         * undostack.C:
10925         * undo_funcs.h:
10926         * undo_funcs.C: some cleanups. Use shared_ptr
10927           and a template for the undo stacks.
10928
10929 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10930
10931         * BufferView_pimpl.h:
10932         * BufferView_pimpl.C:
10933         * kbmap.h:
10934         * kbmap.C:
10935         * kbsequence.h:
10936         * kbsequence.C:
10937         * lyxfunc.h:
10938         * lyxfunc.C:
10939         * text2.C: use key_state/mouse_state
10940
10941 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10942
10943         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10944         and LSubstring
10945
10946         * chset.C: change include order
10947         (loadFile): use boost regex and get rid of LRegex and LSubstring
10948
10949         * Makefile.am (BOOST_LIBS): new variable
10950         (lyx_LDADD): use it
10951
10952         * LaTeX.C: change include order.
10953         (scanAuxFile): use boost regex and get rid of LRegex and
10954         LSubstring
10955         (deplog): ditto
10956
10957 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10958
10959         * ColorHandler.h:
10960         * ColorHandler.C:
10961         * FontInfo.h:
10962         * FontInfo.C: moved to frontends/xforms/
10963
10964         * FontLoader.h:
10965         * FontLoader.C: moved into frontends for GUIIzation
10966
10967         * Makefile.am:
10968         * lyx_gui.C:
10969         * lyxfont.C:
10970         * lyxfunc.C: changes from above
10971
10972 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10973
10974         * LColor.C: remove spurious X include
10975
10976         * BufferView_pimpl.C:
10977         * Makefile.am:
10978         * font.h:
10979         * font.C:
10980         * text.C:
10981         * text2.C: move font metrics to frontends/
10982
10983 2002-05-24  Juergen Vigna  <jug@sad.it>
10984
10985         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10986         setting the undo_cursor.
10987
10988         * ParagraphParameters.h: include local includes first.
10989
10990 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10991
10992         * BufferView_pimpl.C:
10993         * BufferView_pimpl.h:
10994         * Makefile.am:
10995         * WorkArea.h:
10996         * WorkArea.C:
10997         * screen.C: move WorkArea into frontends/
10998
10999         * lyxscreen.h:
11000         * screen.C:
11001         * text.C:
11002         * BufferView.C:
11003         * BufferView2.C: move LyXScreen into frontends/
11004
11005         * lyxlookup.h:
11006         * lyxlookup.C:
11007         * lyx_gui.C: move lyxlookup into frontends/xforms/
11008
11009 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11010
11011         * BufferView2.C:
11012         * BufferView_pimpl.C:
11013         * FontLoader.C:
11014         * LyXView.h:
11015         * LyXView.C:
11016         * Makefile.am:
11017         * WorkArea.C:
11018         * XFormsView.h:
11019         * XFormsView.C:
11020         * buffer.C:
11021         * bufferlist.C:
11022         * bufferview_funcs.C:
11023         * converter.C:
11024         * importer.C:
11025         * lyx_cb.C:
11026         * lyx_gui.C:
11027         * lyx_main.C:
11028         * lyx_find.C:
11029         * lyxfunc.C:
11030         * lyxvc.C:
11031         * minibuffer.C:
11032         * text.C:
11033         * text2.C:
11034         * trans.C:
11035         * vc-backend.C: move LyX/XFormsView into frontends/
11036
11037 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
11038
11039         * Makefile.am:
11040         * PainterBase.C:
11041         * PainterBase.h:
11042         * Painter.C:
11043         * Painter.h:
11044         * WorkArea.C:
11045         * WorkArea.h:
11046         * screen.C:
11047         * tabular.C:
11048         * text.C:
11049         * text2.C: move Painter to frontends/
11050
11051 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11052
11053         * buffer.C: comment out some some code that depend upon lyx_format
11054         < 220
11055
11056         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
11057         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
11058
11059         * buffer.h (NO_COMPABILITY): turn off compability
11060
11061         * ColorHandler.C: include scoped_array.hpp
11062
11063         * font.C: Use more specific smart_ptr header.
11064         * Painter.C: ditto
11065         * gettext.C: ditto
11066         * ShareContainer.h: ditto
11067         * lyx_main.h: ditto
11068         * kbmap.h: ditto
11069         * FontInfo.h: ditto
11070         * BufferView_pimpl.h: ditto
11071         * ColorHandler.h: ditto
11072
11073         * kbmap.C (defkey): change call to shared_ptr::reset
11074
11075 2002-05-21  Juergen Vigna  <jug@sad.it>
11076
11077         * buffer.C (insertErtContents): fix to insert ert asis if it is
11078         non empty. Skip it completely if it contains only whitespaces.
11079
11080 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
11081
11082         * BufferView_pimpl.C:
11083         * BufferView2.C: clear selection on paste (bug 393)
11084
11085 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11086
11087         * DepTable.C: include ctime
11088
11089 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
11090
11091         * buffer.C (latexParagraphs): Add new argument (moving_arg).
11092
11093 2002-05-14  Juergen Vigna  <jug@sad.it>
11094
11095         * text.C (breakParagraph): fixed function to honor the keepempty
11096         layout in the right maner and also to permit the right breaking
11097         algorithm on empty or non empyt keepempty paragraphs.
11098
11099         * paragraph.C (breakParagraph): we have to check also if the par
11100         is really empty (!size()) for isempty otherwise we do the wrong
11101         paragraph break.
11102
11103 2002-05-10  Juergen Vigna  <jug@sad.it>
11104
11105         * buffer.[Ch] : The following are only changes to the ert
11106         compatibility read reading old LaTeX layout and font stuff and
11107         convert it to ERTInsets.
11108
11109         * buffer.h: added isErtInset().
11110
11111         * buffer.C (struct ErtComp): add a fromlayout bool to check
11112         if we're inside a LaTeX layout.
11113         (isErtInset): new helper function.
11114         (insertErtContents): look for other ert insets before this one
11115         and insert the contents there, so that we don't have subsequent
11116         ERT insets with nothing between them. This way we create only one
11117         inset with multiple paragraphs. Also check if we don't insert only
11118         spaces ' ' as they are ignored anyway afterwards in the .tex file
11119         so if we have only spaces we will ignore this latex part in the
11120         new file.
11121         (parseSingleLyXformat2Token \\layout): better compatibility when
11122         reading layout-latex stuff.
11123         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
11124         language tag.
11125         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
11126         stuff after reading the inset only get the information back from
11127         the stack.
11128
11129 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
11130
11131         * buffer.C (makeLaTeXFile): Put language options after loading babel.
11132
11133         * LaTeXFeatures.C (getBabelOptions): New method.
11134
11135 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11136
11137         * BufferView_pimpl.C (Dispatch): work around missing argument for
11138         'layout'
11139
11140 2002-05-08  Juergen Vigna  <jug@sad.it>
11141
11142         * text.C (leftMargin): handle paragraph leftindent.
11143
11144         * paragraph.C (writeFile): write the new \\leftindent tag.
11145         (validate): handle leftindent code.
11146         (TeXEnvironment): handle paragraphleftindent code again.
11147
11148         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
11149
11150         * buffer.C (parseSingleLyXformat2Token): added compatibility code
11151         for paragrap_extra indent code and new token \\leftindent.
11152         (latexParagraphs): handle the leftindent as environment.
11153
11154         * ParameterStruct.h: added leftindent support.
11155
11156         * ParagraphParameters.C (leftIndent): added support functions for
11157         the paragraph left indent.
11158
11159         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
11160         more appropriate.
11161
11162 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
11163
11164         * paragraph.C (isRightToLeftPar): Return false for a paragraph
11165         inside insetERT.
11166
11167         * text.C (computeBidiTables): No bidi in insetERT.
11168
11169         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
11170         in RTL documents.
11171
11172 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11173
11174         * version.C.in: pre 5
11175
11176 2002-05-02  José Matos  <jamatos@fep.up.pt>
11177         * buffer.C (makeDocBookFile): white space changes, add newline to
11178         command styles.
11179         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11180
11181         * tabular.C (docBook): fix typo.
11182
11183 2002-05-03  Juergen Vigna  <jug@sad.it>
11184
11185         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11186         change in LyXText as we can not be sure it was not freed.
11187         (drawOneRow): remove unused code.
11188
11189         * text.C (drawInset): redo the calculation of the need_break_row as
11190         it could have a row which was already freed.
11191         (draw): look at the return value of drawInset and return false if
11192         it also returned false.
11193         (paintRowText): look at the return value of draw and return false if
11194         it also returned false.
11195
11196         * lyxtext.h: added bool return type to drawInset() and draw() so that
11197         if we have a change in the row so that the rowbreak has to be redone
11198         we abort drawing as it will be called again.
11199
11200 2002-05-02  Juergen Vigna  <jug@sad.it>
11201
11202         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11203         a change in the maintext also if we're inside an inset.
11204         (Dispatch): set the cursor again after a break line and after the
11205         screen has been updated as it could be we're in a different row.
11206
11207         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11208         to set the cursor behind the pargraph with > size().
11209         (setCursor): check also for the same paragraph when checking where
11210         to put the cursor if we have a NFR inset.
11211
11212         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11213         parts of layout read further up as it still was in the wrong
11214         position.
11215
11216 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11217
11218         * screen.C (drawFromTo): change sine fullRebreak always return
11219         true.
11220
11221         * buffer.C (parseSingleLyXformat2Token): reindent some
11222
11223         * BufferView_pimpl.C (update): change since fullRebreak always
11224         return true.
11225         (Dispatch): git rid of the last hardcoded "Standard"s.
11226
11227 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11228
11229         * text2.[Ch] (fullRebreak): make it return void now that we always
11230         returned true.
11231
11232 2002-04-30  Juergen Vigna  <jug@sad.it>
11233
11234         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11235         ert compatibility check for "latex" layout.
11236
11237 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11238
11239         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11240         minipages: use col% instead of p%, and also use the current font.
11241         (makeLaTeXFile): Fix use babel condition.
11242         (parseSingleLyXformat2Token): Correct font when reading old floats.
11243
11244 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11245
11246         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11247         inserting list of floats.
11248
11249 2002-04-25  Herbert Voss  <voss@lyx.org>
11250
11251         * MenuBackend.C (expand): don't add the graphics extensions to the
11252         export menu
11253
11254 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11255
11256         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11257         non-existing layout, do not complain if it was the default layout
11258         of the original class (bug #342)
11259
11260 2002-04-24  Juergen Vigna  <jug@sad.it>
11261
11262         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11263         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11264
11265 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11266
11267         * buffer.C (getBibkeyList): If using \bibliography, return the
11268         option field with the reference itself. Enables us to provide natbib
11269         support when using \bibliography.
11270
11271 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11272
11273         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11274
11275         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11276         natbib is provided by the LaTeX class.
11277
11278 2002-04-23  Juergen Vigna  <jug@sad.it>
11279
11280         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11281         Wakeup functions.
11282
11283         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11284
11285 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11286
11287         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11288
11289         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11290         ensuremath around textordmasculine, textordfeminine and
11291         textdegree.
11292
11293 2002-04-19  Juergen Vigna  <jug@sad.it>
11294
11295         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11296         reinitializing the buffer otherwise row-dimensions may be wrong.
11297         (update): reset also the selection cursors if they do exits otherwise
11298         their x/y positions may be wrong.
11299
11300         * text2.C (cursorDown): don't enter the inset if we came from a row
11301         above and are one row over the inset.
11302
11303         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11304         really leaving an inset.
11305
11306 2002-04-18  Juergen Vigna  <jug@sad.it>
11307
11308         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11309         of the selected paragraph does not have the selected layout also if
11310         the last one had!
11311
11312         * text2.C (setLayout): fixed bug which did not change last selected
11313         paragraph.
11314
11315         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11316         changed the read and substituted \\end_float with \\end_inset!
11317
11318         * BufferView_pimpl.C (cursorPrevious):
11319         (cursorNext): fixed to make it work with rows heigher than the work
11320         area without moving the cursor only the draw of the row.
11321         (workAreaMotionNotify): fix jumping over high rows.
11322
11323 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11324
11325         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11326         Ressler.
11327
11328 2002-04-16  Juergen Vigna  <jug@sad.it>
11329
11330         * text2.C (setCursor): set also the irow().
11331         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11332         (cursorUp):
11333         (cursorDown): support for locking an inset if the x_fix value goes
11334         inside it. That way I can transverse insets too with cursor up/down.
11335
11336         * lyxrow.h: added irow helper function same as other (i) functions.
11337
11338         * BufferView_pimpl.C (cursorPrevious):
11339         (cursorNext): fixed for insets!
11340
11341 2002-04-15  Juergen Vigna  <jug@sad.it>
11342
11343         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11344         position otherwise it is wrong in some cases.
11345
11346         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11347         inside the inset before the call.
11348
11349 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11350
11351         * buffer.[Ch] (getBibkeyList): make it const.
11352
11353 2002-04-12  Juergen Vigna  <jug@sad.it>
11354
11355         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11356
11357         * text2.C (getCursorX): new helper function
11358         (setCursor): compute also ix_
11359         (setCursorFromCoordinates): set also ix.
11360
11361         * lyxcursor.h: added ix_ and helper functions.
11362
11363         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11364
11365         * buffer.C (insertStringAsLines): dont break paragraph if the this
11366         paragraph is inside an inset which does not permit it!
11367
11368         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11369         also with no chars on this paragraph.
11370         (paintRowText): only paint stuff if it's inside the workarea!
11371
11372         * paragraph.C (breakParagraph): honor keepempty flag and break the
11373         paragraph always below not above.
11374
11375         * BufferView2.C (unlockInset): update the paragraph layout on inset
11376         unlock as we changed paragraph in such a case.
11377
11378         * lyxfind.C (LyXFind): clear the former selection if not found!
11379
11380         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11381         again called in insertChar().
11382
11383         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11384         an inset which uses the whole row!
11385         (rightMargin): ditto.
11386         (insertChar): force a rebreak if we inserted an inset!
11387
11388 2002-03-28  Herbert Voss  <voss@lyx.org>
11389
11390         * lyxlength.[Ch]: add inBP() to get the right PS-point
11391         units (BigPoint). With inPixels we have rounding errors
11392
11393 2002-04-11  Juergen Vigna  <jug@sad.it>
11394
11395         * text2.C (setCursorFromCoordinates): set iy to the right value.
11396         (setCursor): add check if row->previous exists!
11397
11398         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11399         an old float_type as this was the case in the old code!
11400
11401         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11402
11403         * BufferView2.C (showLockedInsetCursor): use iy
11404         (fitLockedInsetCursor): ditto
11405
11406         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11407         locked insets as there we have the right value now.
11408
11409         * lyxcursor.C: added iy_ variable and iy functions to set to the
11410         baseline of cursor-y of the locked inset.
11411
11412         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11413         (setCursor): fixed for insets which need a full row.
11414
11415         * text.C (rowLastPrintable): don't ignore the last space when before
11416         an inset which needs a full row.
11417         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11418         as last character of a row when before a inset which needs a full row.
11419
11420 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11421
11422         * version.C.in: update date
11423
11424         * text2.C (fullRebreak): try to always return true and see what
11425         happens...
11426
11427 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11428
11429         * MenuBackend.C (expand): use Floating::listName
11430
11431         * FloatList.C (FloatList): add listName argument to the built-in
11432         floats
11433
11434         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11435         text associated with the float.
11436
11437 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11438
11439         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11440
11441 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11442
11443         * ShareContainer.h: add a couple of missing typenames.
11444
11445 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11446
11447         * lyxrc.C (getDescription): use _() correctly rather than N_().
11448
11449 2002-03-28  Herbert Voss  <voss@lyx.org>
11450
11451         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11452         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11453
11454 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11455
11456         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11457         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11458
11459 2002-03-29  Juergen Vigna  <jug@sad.it>
11460
11461         * lyxfunc.C (dispatch): add a missing fitCursor call.
11462
11463         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11464         it was scrolled by a cursor move, so return the bool status.
11465
11466         * BufferView.C (fitCursor): return the bool flag also to the outside
11467         world as this is needed.
11468
11469         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11470
11471         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11472         call the edit() as it is not needed (and wrong) IMO.
11473         (workAreaButtonPress): set the screen_first variable before evt.
11474         unlock the inset as this may change screen_first and then we have
11475         a wrong y position for the click!
11476
11477 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11478
11479         * MenuBackend.C (expand): another translation that I missed
11480
11481 2002-03-28  Juergen Vigna  <jug@sad.it>
11482
11483         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11484
11485         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11486
11487 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11488
11489         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11490
11491         * MenuBackend.C (expand): fix export/view/update when there is no
11492         document open.
11493
11494 2002-03-27  Herbert Voss  <voss@lyx.org>
11495
11496         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11497         and text%
11498
11499 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11500
11501         * bufferview_funcs.C (currentState): only show paragraph number
11502         for is DEVEL_VERSION is set.
11503
11504         * lyxfunc.C (dispatch): put warning in INFO channel
11505
11506         * MenuBackend.C (expand): translate the name of floats
11507
11508         * FloatList.C (FloatList): mark the float names for translation
11509
11510         * converter.C (convert): use LibScriptSearch
11511
11512 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11513
11514         * MenuBackend.C (defaults): fix default menu (we might as well get
11515         rid of it...)
11516
11517 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11518
11519         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11520         directory.
11521
11522 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11523
11524         * lyxvc.C: reorder includes.
11525
11526 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11527
11528         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11529           properly
11530
11531 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11532
11533         * CutAndPaste.C: change layouts earlier on paste
11534           to avoid crashing when calling getFont()
11535
11536 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11537
11538         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11539         irritating #error.
11540
11541 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * WorkArea.C: remove 'Pending' debug message.
11544
11545         * most files: ws cleanup
11546
11547         * buffer.[Ch]: ws changes
11548
11549         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11550
11551 2002-03-21  Juergen Vigna  <jug@sad.it>
11552
11553         * tabular.C (SetMultiColumn): collapse also the contents of the
11554         cells and set the last border right. Added a Buffer const * param.
11555
11556 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11557
11558         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11559         linking or not.
11560
11561 2002-03-19  Juergen Vigna  <jug@sad.it>
11562
11563         * text2.C (clearSelection): reset also xsel_cache.
11564
11565         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11566         where it needs to be called (John tells us to do so too :)
11567         (selectionLost): reset sel_cache.
11568
11569         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11570
11571 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11572
11573         * text2.C (setCursorIntern): put debuging code in INSETS channel
11574
11575 2002-03-19  André Pönitz <poenitz@gmx.net>
11576
11577         * lyxfunc.C: tiny whitespace change
11578
11579 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11580
11581         * ToolbarDefaults.C (init):
11582         * LyXAction.C (init):
11583         * commandtags.h:
11584         * BufferView_pimpl.C (Dispatch):
11585         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11586
11587 2002-03-19  Allan Rae  <rae@lyx.org>
11588
11589         * exporter.C (Export): removeAutoInsets before doing anything else.
11590         While I've just introduced a dependency on BufferView this really is
11591         the best place to clean the buffer otherwise you need to cleanup in
11592         a dozen places before calling export or cleanup in a dozen functions
11593         that export calls.
11594
11595         * converter.C (runLaTeX):
11596         (scanLog): Better handling of removeAutoInsets and screen updates.
11597
11598         * lyxfunc.C (dispatch): small whitespace changes
11599
11600 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11601
11602         * WorkArea.C (C_WorkAreaEvent): return a value.
11603         (event_cb): return 1 if we handled the event, 0 otherwise.
11604
11605         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11606
11607 2002-03-18  Juergen Vigna  <jug@sad.it>
11608
11609         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11610         (GetAdditionalWidth): ditto.
11611         (RightLine): ditto.
11612         (LeftLine): ditto.
11613
11614         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11615         inset if we're there actually (probably not used right now but this
11616         is the direction to go for unifying code).
11617         (paste): disable code to clear the selection.
11618
11619         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11620         inside an InsetText and move the check further up as it is in the
11621         wrong place.
11622
11623         * text2.C (pasteSelection): set a selection over the pasted text.
11624
11625 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11626
11627         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11628         and libgraphics to build on Cygwin.
11629
11630 2002-03-15  Juergen Vigna  <jug@sad.it>
11631
11632         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11633         inserting an Inset into the paragraph. I know this is not the best
11634         fix but we already use current_view in CutAndPaste so we will remove
11635         all of it's using at the same time.
11636
11637         * buffer.C (sgmlError): deactivated function till it is rewritten in
11638         the right mode, now it can create problems.
11639
11640         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11641         before accessing it.
11642
11643 2002-03-14  Juergen Vigna  <jug@sad.it>
11644
11645         * undo_funcs.C (textHandleUndo): do the right thing when updating
11646         the inset after the undo/redo.
11647
11648         * text2.C (setCursor): just some testcode for #44 not ready yet.
11649
11650         * undo_funcs.C (textHandleUndo): set the next() and previous()
11651         pointers of the paragraph to 0 before deleting otherwise we have
11652         problems with the Paragraph::[destructor].
11653
11654         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11655         on a paragraph insertion.
11656
11657 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11658
11659         * buffer.C (asciiParagraph): use += operator for char append to
11660         string.
11661
11662         * paragraph.C (getFontSettings): compare >= not just >
11663         (highestFontInRange): ditto
11664         (setFont): ditto
11665
11666 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11667
11668         * paragraph.C: change several algorithm to be more appripriate for
11669         the problem domain. This is lookip in FontList and in the InsetList.
11670
11671 2002-03-13  André Pönitz <poenitz@gmx.net>
11672
11673         * commandtags.h:
11674         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11675
11676 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11677
11678         * commandtags.h:
11679         * LyXAction.C:
11680         * lyxfunc.C:
11681         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11682
11683 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11684
11685         * Painter.C (display): anon helper function, adjust code for this
11686         change.
11687         (pixmap): remove function.
11688
11689         * Painter.h: remove private display variable.
11690
11691         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11692
11693 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11694
11695         * WorkArea.[Ch]: remove figinset_canvas cruft.
11696
11697 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11698
11699         * lyxtextclass.C (operator): add one item cache optimization.
11700
11701         * bufferlist.h: doxy changes
11702
11703         * bufferlist.C: ws changes
11704
11705         * DepTable.[Ch] (ext_exist): place const in the right spot.
11706
11707         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11708         call resizeInsets.
11709         (workAreaExpose): call resizeInsets when the with BufferView changes.
11710         (Dispatch): adjust for protectedBlank removal
11711         (specialChar): call updateInset if the insert went ok.
11712
11713         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11714         specialChar instead.
11715
11716         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11717
11718         * BufferView.h: doxy change
11719
11720         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11721
11722         * lyxtextclass.C (operator[]): remove non-const version
11723         (defaultLayout): remove non-const version
11724
11725 2002-03-12  Juergen Vigna  <jug@sad.it>
11726
11727         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11728         did resize the LyXText too.
11729
11730         * buffer.C (readLyXformat2): set layout information on newly allocated
11731         paragraphs.
11732
11733         * tabular.C (OldFormatRead): set layout information on the paragraph.
11734
11735 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11736
11737         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11738
11739 2002-03-11  Juergen Vigna  <jug@sad.it>
11740
11741         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11742         plainly wrong.
11743         (resizeCurrentBuffer): force also the insets to resize themselfes.
11744         (moveCursorUpdate): fixed up for InsetText.
11745
11746 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11747
11748         * commandtags.h:
11749         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11750         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11751         value of Dialogs::tooltipsEnabled().
11752         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11753
11754 2002-03-08  Juergen Vigna  <jug@sad.it>
11755
11756         * BufferView_pimpl.C (updateInset): update inset inside inset also
11757         if it isn't inside theLockingInset().
11758
11759 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11760
11761         * buffer.C (asciiParagraph): redo some of the word and line length
11762         handling.
11763         (getLists): look for Caption instead of caption.
11764
11765 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11766
11767         * buffer.C (Buffer): initialize niceFile to true
11768         (makeLaTeXFile):
11769         (makeLinuxDocFile):
11770         (makeDocBookFile): make sure niceFile is true on exit
11771
11772 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11773
11774         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11775
11776 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11777
11778         * LyXSendto.C: remove.
11779         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11780         * lyx_gui.C: remove now-redundant comment.
11781         * ColorHandler.h: remove forward declaration of class WorkArea.
11782         * lyxfunc.C: remove #include "WorkArea.h".
11783
11784 2002-03-07  Juergen Vigna  <jug@sad.it>
11785
11786         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11787         got moved away with the DEPM and also set the inset_owner always
11788         right which before could have been omitted.
11789
11790 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11791
11792         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11793         wanted layout is not found.
11794
11795 2002-03-07  Juergen Vigna  <jug@sad.it>
11796
11797         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11798
11799 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11800
11801         * paragraph.C (breakParagraph): use default layout not layout of
11802         prev paragraph.
11803         (Paragraph): clear ParagraphParameters.
11804
11805 2002-03-06  Juergen Vigna  <jug@sad.it>
11806
11807         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11808         otherwise it would not be a valid lenght. Fixed a special case in
11809         the minipage compatibility read where we end the document with a
11810         minipage.
11811
11812         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11813         was set as it could be 0 for InsetTexts first entry.
11814
11815 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11816
11817         * paragraph.C (writeFile): if layout is empty write out
11818         defaultLayoutName().
11819
11820         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11821         file without named layout we set layout to defaultLayoutName().
11822
11823 2002-03-06  Juergen Vigna  <jug@sad.it>
11824
11825         * CutAndPaste.C (copySelection): set layout for new paragraph.
11826
11827         * text.C (prepareToPrint): leave ERT inset left aligned
11828         (leftMargin): don't indent paragraphs inside ERT insets
11829
11830 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11831
11832         * paragraph.C (breakParagraph): dont call clear do the work manually
11833
11834         * paragraph.[Ch] (clear): remove function
11835
11836 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11837
11838         * paragraph.C (Paragraph): dont call clear, the work has already
11839         been done.
11840
11841         * lyxtextclass.C (operator): assert if n is empty
11842
11843         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11844         work manually instead.
11845
11846 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11847
11848         * BufferView_pimpl.C: protect selectionLost against text == 0
11849
11850 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11851
11852         * text.C (breakParagraph): fix a setting layout to '0' problem.
11853
11854 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11855
11856         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11857         final location of file, for the included files, and graphics.
11858
11859 2002-03-05  Juergen Vigna  <jug@sad.it>
11860
11861         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11862
11863 2002-03-04  Juergen Vigna  <jug@sad.it>
11864
11865         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11866
11867         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11868         last column of multicolumn cells.
11869         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11870
11871 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11872
11873         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11874         file if it doesn't go to a temporary file.
11875
11876         * buffer.C (sgmlOpenTag):
11877         (sgmlCloseTag):  remove extra newline insertion.
11878
11879 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * text.C (getRowNearY): comment out debug msg
11882
11883 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11884
11885         * text2.C: first -> first_y
11886
11887         * text.C (getRowNearY): add some attemts at a possible
11888         optimization, not working.
11889
11890         * tabular.[Ch]: add BufferParams to several function so that newly
11891         created paragraph can be initialized to he default layotu for the
11892         buffers textclass.
11893
11894         * tabular-old.C (ReadOld): add buf->params to call of Init
11895
11896         * screen.C: rename text->first to text->first_y
11897
11898         * paragraph.C (breakParagraph): always set layout in the broken
11899         paragraph
11900
11901         * lyxtextclass.C (Read): remove lowercase
11902         (hasLayout): ditto
11903         (operator): ditto
11904         (delete_layout): ditto
11905
11906         * lyxtext.h: rename first -> first_y
11907
11908         * lyxlayout.C (Read): remove lowercase
11909         (name): ditto
11910         (setName): ditto
11911         (obsoleted_by): ditto
11912
11913         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11914
11915         * buffer.C (insertErtContents): add params are to InsetERT
11916         (parseSingleLyXformat2Token): add code to check if a paragraphs
11917         layout really exist.
11918         (parseSingleLyXformat2Token): add params to several inset
11919         constructors
11920         (asciiParagraph): remove lowercase, do the layout comparisons with
11921         no_case
11922
11923         * BufferView_pimpl.C (cursorNext): first -> first_y
11924         (resizeCurrentBuffer): first -> first_y
11925         (updateScrollbar): first -> first_y
11926         (scrollCB): first -> first_y
11927         (workAreaMotionNotify): first -> first_y
11928         (workAreaButtonPress): first -> first_y
11929         (checkInsetHit): first -> first_y
11930         (cursorPrevious): first -> first_y
11931         (cursorNext): first -> first_y
11932         (Dispatch): add buffer_->params to severl inset contructors
11933
11934 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11935
11936         * lyxlayout.C (Read): remove some debug info that I forgot.
11937
11938         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11939         clean up the code slightly.
11940         (makeLinuxDocFile): ditto
11941         (makeDocBookFile): ditto
11942
11943         * text2.C: layout as string
11944
11945         * text.C: layout as string
11946
11947         * paragraph_pimpl.C: layout as string
11948
11949         * paragraph.[Ch]: layout as string
11950
11951         * lyxtextclasslist.[Ch]: layout as string
11952
11953         * lyxtextclass.[Ch]: layout as string
11954
11955         * lyxtext.h: layout as string
11956
11957         * lyxlayout.[Ch]: layout as string
11958
11959         * lyx_cb.C: layout as string
11960
11961         * bufferview_funcs.C: layout as string
11962
11963         * bufferparams.C: layout as string
11964
11965         * buffer.C: layout as string
11966
11967         * LyXView.[Ch]: layout as string
11968
11969         * LaTeXFeatures.[Ch]: layout as string
11970
11971         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11972
11973         * BufferView_pimpl.C: change current_layout to string, remove
11974         lyx::layout_type.
11975         (Dispatch):
11976         (smartQuote):
11977         (insertInset):
11978         (workAreaButtonRelease): layout as string
11979
11980         * BufferView2.C (unlockInset): adjust
11981
11982         * vspace.C (asLatexCommand): use an explict temp variable.
11983
11984 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11985
11986         * Makefile.am: use FRONTEND_*
11987
11988 2002-03-01  Juergen Vigna  <jug@sad.it>
11989
11990         * tabular.C (SetWidthOfMulticolCell): changed to something better
11991         I hope but still work in progress.
11992         (recalculateMulticolumnsOfColumn): renamed function from
11993         recalculateMulticolCells as it is more appropriate now.
11994         (SetWidthOfCell): calculate multicols better.
11995
11996 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11997
11998         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11999
12000         * lyxfunc.C (processKeySym): print sequence also if it is
12001         `deleted' (complete)
12002
12003         * kbsequence.C (print): print sequence even if it is deleted
12004         (complete would be a better word, actually).
12005
12006         * lyxfunc.C (dispatch): print complete options after a prefix key
12007
12008         * vspace.C (asLatexCommand): rewrite in a slightly different form.
12009
12010 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
12011
12012         * text2.C (setCharFont): eliminate setCharFont code duplication.
12013
12014 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12015
12016         * BufferView_pimpl.C (Dispatch): remove bogus handling of
12017         LFUN_TABULAR_FEATURE (bug #177)
12018
12019 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
12020
12021         * Makefile.am: remove figure.h
12022
12023 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
12024
12025         * Bufferview_pimpl.C:
12026         * CutAndPasteC:
12027         * LaTeX.C:
12028         * LyXSendto.C:
12029         * buffer.C:
12030         * bufferlist.C:
12031         * converter.C:
12032         * language.C:
12033         * lyxfunc.C:
12034         * lyxvc.C:
12035         * paragraph.C:
12036         * text.C:
12037         * text2.C: remove #include "lyx_gui_misc.h".
12038
12039         * LaTeX.C: added #include <cstdio>
12040
12041 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12042
12043         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
12044         that the paragraph following this one can have.
12045
12046         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
12047
12048         * vspace.C (asLatexCommand): fix bogus gcc warning
12049
12050         * Makefile.am (lyx_SOURCES): remove vms_defines.h
12051
12052 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
12053
12054         * text2.C (setLayout): get rid of redundant code
12055
12056 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
12057
12058         * text2.C (incDepth): make sure depth cannot be increased beyond
12059         reasonable values.
12060
12061 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
12062
12063         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
12064         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
12065
12066         * PainterBase.h (image):
12067         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
12068         a LyXImage const *.
12069
12070 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12071
12072         * BufferView.C:
12073         * BufferView.h:
12074         * BufferView_pimpl.C:
12075         * BufferView_pimpl.h:
12076         * LaTeXFeatures.C:
12077         * LyXAction.C:
12078         * LyXView.C:
12079         * Makefile.am:
12080         * UpdateList.h:
12081         * UpdateList.C:
12082         * buffer.C:
12083         * figure.h:
12084         * figureForm.C:
12085         * figureForm.h:
12086         * figure_form.C:
12087         * figure_form.h:
12088         * lyx_cb.C:
12089         * lyx_gui.C:
12090         * lyx_gui_misc.C:
12091         * lyxfunc.C:
12092         * sp_base.h:
12093         * sp_ispell.h:
12094         * sp_pspell.h:
12095         * sp_spell.C: remove fig inset, and the crap house of
12096           cards that follows it
12097
12098 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
12099
12100         * Makefile.am:
12101         * lyxserver.C:
12102         * os2_defines.h:
12103         * os2_errortable.h:
12104         * nt_defines.h: move .h into support/
12105
12106         * vms_defines.h: remove
12107
12108         * WorkArea.C: add space in debug output
12109
12110         * text2.C:
12111         * paragraph.C:
12112         * buffer.C: add WITH_WARNINGS
12113
12114         * vc-backend.h:
12115         * vc-backend.C:
12116         * bufferlist.C: s/retrive/retrieve/, add docs
12117
12118         * vspace.h:
12119         * vspace.C:
12120         * kbmap.h:
12121         * lyxlength.h:
12122         * lyxgluelength.h:
12123         * length_common.h:
12124         * chset.h:
12125         * chset.C: add docs
12126
12127         * lyxgui.C: add ID to X error handler
12128
12129         * lyxtestclass.c: fix typo
12130
12131 2002-02-26  Juergen Vigna  <jug@sad.it>
12132
12133         * tabular_funcs.C (write_attribute): changed so that some default
12134         attributes are not written at all.
12135         (getTokenValue): set default values before trying to read the
12136         value so we have the return value always set as default if we don't
12137         find the token we search for.
12138
12139         * tabular.C (Write): write bools as bools not as strings!
12140
12141 2002-02-22  Juergen Vigna  <jug@sad.it>
12142
12143         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
12144         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
12145
12146         * text.C (leftMargin): don't add an indent for paragraphs inside
12147         tabular cells (fix #208).
12148
12149 2002-02-21  José Matos  <jamatos@fep.up.pt>
12150
12151         * tabular.C (docBook): fixed support for long tables.
12152
12153 2002-02-20  Juergen Vigna  <jug@sad.it>
12154
12155         * text2.C (getFont): get the drawing font of the Inset if this
12156         paragraph is inside an inset (only important for InsetERT for now).
12157
12158         * buffer.C (insertErtContents): use new lanugage params in ERT
12159         constructor.
12160
12161         * CutAndPaste.C: commenting out seemingly uneeded code.
12162
12163 2002-02-19  Allan Rae  <rae@lyx.org>
12164
12165         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
12166         Iterators might be simple to use but they also get invalidated.
12167         (removeAutoInsets): renamed saved cursor tracking variables and added
12168         some comments to clarify what everything does.
12169
12170 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
12171
12172         * Chktex.C:
12173         * LaTeX.C:
12174         * LyXSendto.C:
12175         * converter.C:
12176         * lyx_cb.C:
12177         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12178         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12179
12180         * lyxfunc.C:
12181         * vc-backend.h: remove #include "support/syscall.h"
12182
12183         * LaTeX.C:
12184         * LyXSendto.C:
12185         * converter.C: rearrange #includes in Lars' approved fashion.
12186
12187         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12188         forward declare class Timeout in the header file.
12189
12190         * XFormsView.C: changes due to the above.
12191
12192         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12193         similar to LyXView.
12194
12195         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12196         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12197
12198 2002-02-18  José Matos  <jamatos@fep.up.pt>
12199
12200         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12201         insets contents.
12202
12203 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12204
12205         * a lot of small ws changes
12206         * add a lot of using std::XXX
12207         * use std construcs some places where approp.
12208         * use some exisint stuff from lyxfunctional where approp.
12209         * Make file changes to use partial linking (lets test this now...)
12210
12211 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12212
12213         * Chktex.C:
12214         * buffer.C:
12215         remove #include "support/syscontr.h" as it's redundant. Always has been.
12216
12217         * Chktex.C:
12218         * LaTeX.C:
12219         * LyXSendto.C:
12220         * converter.C:
12221         * lyx_cb.C:
12222         * vc-backend.C:
12223         change Systemcalls::System to Systemcalls::Wait and
12224         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12225         No change of functionality, just reflects the stripped down Systemcalls
12226         class.
12227
12228 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12229
12230         * debug.[Ch]: add a GRAPHICS type to the enum.
12231
12232 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12233
12234         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12235
12236         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12237         there is an inset.
12238
12239 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12240
12241         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12242         match the changes below.
12243
12244         * text2.C (toggleInset): if there is not editable inset at cursor
12245         position, try to see if cursor is _inside_ a collapsable inset
12246         and close it.
12247
12248 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12249
12250         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12251         document menu has a nice checkbox
12252
12253 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12254
12255         * lyxlength.C (asLatexString): change PW to output as percent of
12256         \textwidth.
12257
12258         * lengthcommon.C: change '%' to 't%'
12259
12260         * lyxfunc.C (dispatch): a few comments from Martin
12261
12262 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12263
12264         * WorkArea.h:
12265         * WorkArea.C:
12266         * BufferView_pimpl.h:
12267         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12268           the X selection.
12269
12270 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12271
12272         * vspace.C (inPixels): fix compiler warning
12273
12274 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12275
12276         * lyxfunc.C (getStatus): fix status message for disabled commands.
12277
12278 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12279
12280         * BufferView_pimpl.C: fix crash on close buffer
12281         during selection (#227)
12282
12283 2002-01-27  Herbert Voss  <voss@lyx.org>
12284
12285         * buffer.C: link old Figure to new graphic inset
12286
12287 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12288
12289         * FontLoader.C (getFontinfo): Change the latex font names in order
12290         to match the names of type1inst.
12291
12292 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12293
12294         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12295
12296         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12297         (extchanged): ditto
12298         (ext_exist): ditto
12299         (remove_files_with_extension): ditto
12300         (remove_file): ditto
12301         (write): ditto
12302
12303         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12304         document is smaller than the work area height. Do not initialize
12305         static variables to 0.
12306
12307 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12308
12309         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12310
12311         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12312         LFUN_LAYOUT_PARAGRAPHS.
12313
12314         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12315         tabular. It is possible to provide a possible cell, which will
12316         typically be the actcell from the corresponding insettabular
12317
12318         * lyxfunc.C (getStatus): small cleanup; disable
12319         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12320         true
12321
12322 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12323
12324         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12325
12326         * paragraph.C (startTeXParParams):
12327         (endTeXParParams): new methods. The LaTeX code to
12328         start/end paragraph formatting
12329         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12330         empty (fixes bug #200)
12331
12332         * vspace.C (inPixels): adapt to the change below
12333         (inPixels): [later] more cleanups (remove unused variables)
12334
12335         * lyxlength.C (inPixels): change to use a width and a height as
12336         parameter.
12337
12338 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12339
12340         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12341         Replaced with \paperwidth
12342
12343         * DepTable.C (insert): add std:: qualifier
12344
12345 2002-01-18  Allan Rae  <rae@lyx.org>
12346
12347         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12348         updated also?
12349
12350         * text.C (drawInset): Turned out I didn't know enough about how
12351         rebreaking worked.  This fixes most of the redraw problems.  I see
12352         an occasional cursor trail when a line is broken now and the cursor
12353         placement can seem out by a few pixels also after a rebreak.
12354
12355 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12356
12357         * buffer.C (parseSingleLyXformat2Token): update because minipage
12358         width is now a LyXLength
12359
12360         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12361
12362         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12363         math insets
12364
12365 2002-01-17  Juergen Vigna  <jug@sad.it>
12366
12367         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12368
12369         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12370         is set correctly and the inset is updated correctly.
12371
12372 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12373
12374         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12375         the beginning of the loop.
12376
12377 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12378
12379         * lyxrc.C: improve help for use_scalable_fonts
12380
12381 2002-01-17  Allan Rae  <rae@lyx.org>
12382
12383         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12384
12385 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12386
12387         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12388         make sure to set their inset_owner to the right value (bug #171)
12389
12390 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12391
12392         * DepTable.h
12393         * DepTable.C: Implement mtime checking to reduce time spent doing
12394         CRCs.
12395
12396 2002-01-16  Juergen Vigna  <jug@sad.it>
12397
12398         * tabular.C (GetAdditionalHeight): one of error fixed.
12399
12400         * lyxrc.C (output): small fix in writing use_pspell.
12401
12402 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12403
12404         * sp_base.h: #include LString.h
12405
12406 2002-01-16  Allan Rae  <rae@lyx.org>
12407
12408         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12409         Can someone check this please?
12410
12411         * text.C (drawInset): It was possible that p.row would be removed by
12412         breakAgainOneRow upsetting a few other settings.  There may be another
12413         small tweak possible by setting need_break_row = 0 when p.row has been
12414         removed but I don't know enough about the logic here.
12415
12416 2002-01-15  Allan Rae  <rae@lyx.org>
12417
12418         * text.C (insertChar): removed conditional truism.
12419
12420         * BufferView2.C (removeAutoInsets): More tweaks.
12421         cur_par_prev could be a stray pointer.  Check for trailing empty line
12422         in case last line was cur_par and only had an error inset on it.
12423
12424 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12425
12426         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12427         absolute
12428
12429         * vc-backend.C (most methods):
12430         * exporter.C (Export):
12431         * converter.C (convert):
12432         (runLaTeX):
12433         * LyXSendto.C (SendtoApplyCB):
12434         * lyxfunc.C (dispatch):
12435         (menuNew):
12436         (open):
12437         (doImport):
12438         * lyx_cb.C (AutoSave):
12439         (InsertAsciiFile):
12440         * BufferView_pimpl.C (MenuInsertLyXFile):
12441         * buffer.C (runChktex): use Buffer::filePath().
12442
12443         * buffer.h: rename filename to filename_; rename filepath to
12444         filepath_ and make it private
12445         (filePath): new method
12446
12447         * buffer.C (writeFile): use fileName()
12448         (getLatexName):
12449
12450         * lyx_main.C (init): fix starting  of LyX when the binary is a
12451         link from so,ewhere else.
12452
12453         * minibuffer.C: include <cctype> for isprint
12454
12455 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12456
12457         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12458         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12459         name clash with InsetCollapsable's width function.
12460
12461 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12462
12463         * lastfiles.C: include <iterator>
12464
12465 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12466
12467         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12468         std::count.
12469
12470         * buffer.C (makeLaTeXFile): ditto.
12471         Also make loop operation more transparent.
12472
12473 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12474
12475         * ToolbarDefaults.C: remove trailing comma closing namespace.
12476
12477         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12478
12479         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12480         as in WorkArea.
12481
12482         * trans.C (Load): comment out unused variable, allowed.
12483
12484 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12485
12486         * minibuffer.[Ch] (append_char): new method to recieve input from the
12487         drop-down completion browser. If a key was pressed, then recieve this
12488         char and append it to the existing string.
12489         (peek_event): modify the positioning data passed to the completion
12490         browser so that it can be placed above the minibuffer rather than below.
12491 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12492
12493         * LyXAction.C (init): alloe error-next for readonly documents.
12494
12495         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12496         count.
12497
12498 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12499
12500         * bufferlist.C (readFile): create the buffer _after_ checking that
12501         the file exists.
12502
12503         * lyxfunc.C (verboseDispatch): fix handling of arguments
12504
12505         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12506
12507         * lyxrc.C: use string::erase() instead of initializing to "".
12508
12509
12510 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12511
12512         * BufferView_pimpl.h:
12513         * BufferView_pimpl.C:
12514         * WorkArea.h:
12515         * WorkArea.C:
12516         * text2.C: tell X when we have made a selection for copying
12517
12518 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12519
12520         * BufferView_pimpl.C (MenuInsertLyXFile):
12521         * lyxfunc.C (menuNew):
12522         (open):
12523         (doImport): add shortcuts to directory buttons
12524
12525         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12526         open a float)
12527
12528         * lyxfunc.C (setStatusMessage):
12529         (getStatusMessage): new methods
12530         (getStatus):use setStatusMessage instead of setErrorMessage
12531         (dispatch): when function is disabled, set error message here
12532         [instead of in getStatus previously]
12533
12534         * BufferView_pimpl.C (workAreaButtonRelease): update
12535         toolbar/menubar here too.
12536
12537 2002-01-13  Allan Rae  <rae@lyx.org>
12538
12539         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12540         Now seems indestructible.  Remaining task is to audit all other
12541         code affected by deleteEmptyParagraphMechanism.  One small quirk
12542         left is that an empty document with an error in the preamble can
12543         be made to report an error but no error box appears.  I don't know
12544         where it goes.
12545         (removeAutoInsets): Improved comments.
12546
12547 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * Thesaurus.h:
12550         * Thesaurus.C: update for Aiksaurus 0.14
12551
12552 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12553
12554         * text2.C (firstParagraph): removed member function, all uses
12555         replaces with ownerParagraph
12556         (redoParagraphs): here
12557         (updateInset): here
12558         (toggleAppendix): here
12559         * BufferView2.C (insertErrors): here
12560         (setCursorFromRow): here
12561
12562 2002-01-13  Allan Rae  <rae@lyx.org>
12563
12564         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12565         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12566         There is still a way to segfault this although you may have to do this
12567         multiple times: Have an InsetERT with an unknown command in it.
12568         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12569         <down-arrow>, <Enter> again, View->DVI, BANG!
12570
12571         * text2.C (setCursor):
12572         (deleteEmptyParagraphMechanism):
12573         * lyxtext.h (setCursor):
12574         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12575         Making use of the return value may help fix other bugs.
12576
12577 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12578
12579         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12580
12581         * LyXView.C (updateMenubar): call MenuBar::update here
12582         (updateToolbar): but not here
12583         (showState): do not update toolbar/menubar
12584
12585         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12586         should need to care about that.
12587
12588         * lyxfunc.C (verboseDispatch): simplify a bit
12589         (getStatus): have a version which takes a pseudoaction, and
12590         another which requires a (kb_action,string).
12591
12592         * LyXAction.C (retrieveActionArg): make it work also when action
12593         is not a pseudo-action.
12594         (getActionName): simplify a bit
12595         (helpText):
12596
12597 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12598
12599         * lyxfunc.C (verboseDispatch): new families of methods with
12600         several ways to specify a command and a bool to indicate whether
12601         the command name and shortcut should be displayed in minibuffer
12602         (eventually, we could extend that to a finer bitmask like
12603         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12604         (dispatch): the pristine dispatch command which just, well,
12605         dispatchs! Note it still sets its result to minibuffer; I'm not
12606         sure we want that.
12607
12608         * lyxfunc.h: remove setHintMessage
12609
12610         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12611
12612 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12613
12614         * BufferView_pimpl.C (specialChar): delete new inset if we have
12615         not been able to insert it.
12616
12617         * kbmap.C: revert to using int instead of kb_action, since all we
12618         are dealing with is pseudo-actions.
12619
12620         * LyXAction.C (searchActionArg): change to return int instead of
12621         kb_action, since the result is a pseudoaction.
12622
12623 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12624
12625         * buffer.C (insertErtContents): Fix (partially) the font bug.
12626
12627 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12628
12629         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12630         as the other one is broken on my machine!
12631
12632 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12633
12634         * commandtags.h:
12635         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12636
12637 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12638
12639         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12640         reflect their actual use. Provide compatibility code for older lyxrc
12641         files.
12642
12643         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12644         FL_NORMAL_STYLE.
12645         change names of popup font variables in line with the changes to lyxrc.C
12646
12647 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12648
12649         * buffer.C (asciiParagraph): avoid outputing a word twice after
12650         an inset.
12651
12652         * lyxrc.C (getDescription): document that document_path and
12653         template_path can be empty.
12654
12655 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12656
12657         * LaTeXFeatures.C (getMacros):
12658         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12659
12660         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12661
12662         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12663         getPackages.
12664         (getPackages): rename feature "floats" to "float". Use an array to
12665         iterate over 'simple' features (i.e. just a \usepackage). Add
12666         handling of "amsmath" (renamed from "amsstyle").
12667
12668 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12669
12670         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12671         features list.
12672
12673 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12674
12675         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12676         FuncStaus::FuncStatus & FuncStaus::some_method().
12677
12678 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12679
12680         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12681         of the func_satus stuff. Edited and massaged in various ways by
12682         JMarc.
12683
12684         * lyxfunc.C (getStatus): use FuncStatus
12685
12686 2002-01-08  Juergen Vigna  <jug@sad.it>
12687
12688         * text.C (nextBreakPoint): use function Inset::isChar().
12689
12690         * paragraph.C (TeXOnePar): use function
12691         Inset::forceDefaultParagraphs.
12692
12693         * buffer.C (latexParagraphs): use function
12694         Inset::forceDefaultParagraphs.
12695
12696 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12697
12698         * lyx_gui.C (init): set the style of the menu popups to
12699         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12700
12701 2002-01-07  Juergen Vigna  <jug@sad.it>
12702
12703         * text.C (setHeightOfRow): small fix
12704         (prepareToPrint): don't look at alignment if we don't have the place
12705         for doing it.
12706
12707 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12708
12709         * box.C: New file. Move the Box methods and functions out of box.h,
12710         following Lars' suggestion.
12711
12712 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12713
12714         * box.h: #include "support/LOstream.h", needed for inlined function.
12715
12716         * lyxtextclass.C:
12717         * lyxtextclasslist.C: added some using std declarations.
12718
12719 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12720
12721         * box.h: make signed dimensions to allow insets wider than
12722           the screen (bug #162)
12723
12724         * BufferView_pimpl.C: add some insetHit debug
12725
12726 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * vc-backend.C: add FIXME
12729
12730 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12731
12732         * lyxfunc.C (getStatus): enable code for showing math font status
12733         in toolbar/menu.
12734
12735 2002-01-07  Juergen Vigna  <jug@sad.it>
12736
12737         * text.C (nextBreakPoint): removed debug output not needed anymore.
12738
12739 2002-01-06  Juergen Vigna  <jug@sad.it>
12740
12741         * text.C (nextBreakPoint): fixed up this function we had this bug
12742         since ever but now hopefully we break row better.
12743         (insertChar): we have to check if an inset is the next char as it
12744         could now happen that a large inset is causing a break.
12745
12746 2002-01-05  Juergen Vigna  <jug@sad.it>
12747
12748         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12749         if it doesn't like to be drawed.
12750
12751 2002-01-04  Juergen Vigna  <jug@sad.it>
12752
12753         * BufferView2.C (lockInset): forgot to set a cursor.
12754
12755         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12756
12757 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12758
12759         * FormMathsPanel.C:
12760         * FormMathsPanel.h
12761         * MathsSymbols.C:
12762         * form_maths_panel.C:
12763         * form_maths_panel.h:
12764         * form_maths_panel.fd: implemented sub- and super- buttons in math
12765         panel.
12766
12767         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12768         (or ^ space) to be used as in TeX (req'd by André).
12769
12770         * lyxfunc.C: Allow ^ and _ again to be used both as
12771         super/subscript (mathed) and as themselves (in text).
12772
12773 2002-01-03  Allan Rae  <rae@lyx.org>
12774
12775         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12776         "LyX" or the filename of the current buffer if it has one.  This is a
12777         modified form of John Levon's patch.
12778
12779         * XFormsView.C (setWindowTitle): also set icon title.
12780
12781         * LyXView.h (setWindowTitle): signature changed.
12782         * XFormsView.h (setWindowTitle): ditto.
12783
12784 2002-01-02  Juergen Vigna  <jug@sad.it>
12785
12786         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12787
12788 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12789
12790         * screen.C (topCursorVisible): introduce a temp var for
12791         text->cursor.row(), handle the case where this row is null. (kindo
12792         hachish)
12793
12794         * text2.C (setCursor): add a couple of asserts.
12795
12796         * paragraph.h (inset_iterator): add -> operator
12797
12798         * paragraph.[Ch] (autoDeleteInsets): remove member function
12799
12800         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12801         cursor pos correctly and handle inset deletion by itself.
12802         (insertErrors): move iterator declaration out of for expression
12803
12804         * lyxtextclass.C: add <algorithm>
12805
12806         * Makefile.am: added the new files to sources, removed layout.C
12807
12808         * layout.C: removed file
12809
12810         * layout.h: remove LYX_DUMMY_LAYOUT
12811
12812         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12813         layout.
12814
12815         * lyxlayout.[Ch]:
12816         * lyxtextclass.[Ch]:
12817         * lyxtextclasslist.[Ch]: new files
12818
12819         * include order changes to a lot of files, also changes because of
12820         the six new files.
12821
12822 2001-12-27  Juergen Vigna  <jug@sad.it>
12823
12824         * buffer.C (asciiParagraph): more fixes.
12825
12826         * tabular.C (ascii): make ascii export support export of only the
12827         data separated by a column-delimiter.
12828         (ascii): better support for ascii export.
12829
12830         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12831
12832 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12833
12834         * tabular_funcs.C: use a "using std::getline" instead of the
12835         previous fix from Angus (necessary for cxx + lyxstring)
12836
12837 2001-12-24  Juergen Vigna  <jug@sad.it>
12838
12839         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12840
12841         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12842         problems. First check a minipage also if we have some ert-contents
12843         (not only on par->size(), second set the right depth of the paragraph
12844         on the relink to the root-paragraph-list!
12845
12846         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12847         which then did not anymore update the main paragraphs on undo/redo!
12848
12849 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12850
12851         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12852         code. Support all font-changing funcs (even those which are not in
12853         menu currently). Support for reporting font settings in
12854         mathed (disabled until Andre provides a function on mathed's side).
12855
12856         * func_status.h (toggle): small helper function to set toggle
12857         state on a flag.
12858
12859 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12860
12861         * tabular_funcs.C: getline -> std::getline
12862
12863 2001-12-21  Juergen Vigna  <jug@sad.it>
12864
12865         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12866         accessed and could be 0 (I couldn't generate this but it seems
12867         Michael could!).
12868
12869 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12870
12871         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12872         * tabular_funcs.h: here and include iosfwd
12873
12874 2001-12-20  Juergen Vigna  <jug@sad.it>
12875
12876         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12877         inside inset but undo_par was.
12878
12879 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12880
12881         * Thesaurus.C: always include <config.h> in sources.
12882
12883         * Painter.h:
12884         * lyxlookup.h:
12885         * box.h: do not include <config.h> in header files
12886
12887         * text.C (paintLastRow): remove unused variable
12888
12889         * text.C (transformChar):
12890         (insertChar):
12891         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12892
12893         * Painter.C (text):
12894         * font.C (width): rewrite to use uppercase() instead of
12895         islower/toupper.
12896
12897         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12898
12899 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12900
12901         * lyxfind.C: clean up of find failure position change
12902
12903 2001-12-20  Juergen Vigna  <jug@sad.it>
12904
12905         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12906
12907         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12908         (TeXRow): added to LaTeX a single tabular row.
12909         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12910         (Latex): simplified and finally good LT-h/f support.
12911         (various_functions): just small adaptions for LT-h/f support.
12912
12913         * tabular_funcs.[hC]: added and moved here all not classfunctions
12914         of LyXTabular.
12915
12916 2001-12-19  Juergen Vigna  <jug@sad.it>
12917
12918         * tabular.[Ch]: better support for longtabular options (not finished
12919         yet!)
12920
12921 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12922
12923         * text.C (paintLastRow): use the label font instead of the font of
12924         the last character to compute the size of *_BOX. This makes more
12925         sense and avoids a crash with empty paragraphs.
12926         Use Painter::rectangle to draw EMPTY_BOX.
12927
12928 2001-12-19  Juergen Vigna  <jug@sad.it>
12929
12930         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12931         the paragraphs if the replaced paragraph is not the first one!
12932         Tried to delete not used paragraphs but does not work yet so for
12933         now it's inside #ifdef's and by default off!
12934
12935 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12936
12937         * MenuBackend.C: include "lyx_main.h" instead of declaring
12938         lastfiles (actually was declared as LastFiles* instead of a
12939         scoped_ptr).
12940
12941 2001-12-17  Juergen Vigna  <jug@sad.it>
12942
12943         * tabular.C (AppendColumn): applied John's fix
12944
12945 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12946
12947         * BufferView.h:
12948         * BufferView.C:
12949         * BufferView_pimpl.h:
12950         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12951
12952         * Makefile.am:
12953         * box.h: new start of class for above
12954
12955         * lyxfunc.C: ignore space-only minibuffer dispatches.
12956           Show the command name when it doesn't exist
12957
12958         * minibuffer.C: don't add empty lines to the history
12959
12960         * minibuffer.C: add a space on dropdown completion
12961
12962 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12963
12964         * text.C: fix line above/below drawing in insets
12965
12966 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12967
12968         * lyxlength.C (LyXLength): Initialize private variables.
12969
12970 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12971
12972         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12973         when inserting error insets.
12974
12975 2001-12-13  Juergen Vigna  <jug@sad.it>
12976
12977         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12978         actually sometimes the before-paragraph.
12979         (setUndo): don't clear the redostack if we're not actually undoing!
12980
12981 2001-12-06  Juergen Vigna  <jug@sad.it>
12982
12983         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12984         and fixed redoing of main paragraph, so we can use it now ;)
12985
12986         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12987
12988 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12989
12990         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12991         Juergen's request
12992
12993 2001-12-13  André Pönitz <poenitz@gmx.net>
12994
12995         * undostack.[Ch]:
12996         * undo_func.C: minor cleanup
12997
12998 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12999
13000         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
13001         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
13002         font in urw-fonts package which is marked as -urw-fontspecific and
13003         does not work (incidentally, changing the encoding in the
13004         fonts.dir of this package to -adobe-fontspecific fixes the
13005         problem).
13006
13007         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
13008         is a crash when undoing first paragraph (Juergen, please take a
13009         look). THis does not mean the undo fix is wrong, just that it
13010         uncovers problems.
13011
13012         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
13013         the (Paragraph*) version when needed instead of duplicating the
13014         code.
13015
13016         * text.C (workWidth): use Inset::parOwner to find out where the
13017         inset has been inserted. This is a huge performance gain for large
13018         documents with lots of insets. If Inset::parOwner is not set, fall
13019         back on the brute force method
13020
13021         * paragraph_pimpl.C (insertInset):
13022         * paragraph.C (Paragraph):
13023         (cutIntoMinibuffer): set parOwner of insets when
13024         inserting/removing them
13025
13026         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13027
13028 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
13029
13030         * commandtags.h:
13031         * LyXAction.C:
13032         * lyx_main.C:
13033         * lyxfunc.C:
13034         * mathed/formulabase.C:
13035         * mathed/math_cursor.[Ch]:
13036         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
13037
13038
13039 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13040
13041         * lyxlength.[Ch] (operator!=): new function
13042
13043 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13044
13045         * text.C (workWidth): use Inset::parOwner to find out where the
13046         inset has been inserted. This is a huge performance gain for large
13047         documents with lots of insets. If Inset::parOwner is not set, fall
13048         back on the brute force method
13049
13050         * paragraph_pimpl.C (insertInset):
13051         * paragraph.C (Paragraph):
13052         (cutIntoMinibuffer): set parOwner of insets when
13053         inserting/removing them
13054
13055         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
13056
13057 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13058
13059         * tabular-old.C (getTokenValue):
13060         * tabular.C (getTokenValue):
13061         (write_attribute): new versions for LyXLength
13062         (everywhere): adjust the use of widths
13063
13064         * tabular.h: change the type of widths from string to LyXLength
13065
13066 2001-12-11  Ben Stanley <bds02@uow.edu.au>
13067
13068         * paragraph.C: fixed missing line number count when exporting
13069         Environments to LaTeX file
13070
13071         * buffer.C: added informational message for checking line numbers.
13072
13073 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13074
13075         * text2.C (deleteEmptyParagraphMechanism): if there is only one
13076         paragraph, do the 'double space' part, but not the 'empty
13077         paragraph' one.
13078
13079         * text.C (workWidth): small optimization
13080         (getLengthMarkerHeight): use minimal size for negative lengths.
13081
13082 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
13083
13084         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
13085
13086         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
13087
13088 2001-12-11  André Pönitz <poenitz@gmx.net>
13089
13090         * FontLoader.C:
13091         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
13092
13093 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13094
13095         * text2.C: keep selection on a setFont()
13096
13097 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13098
13099         * lyx_cb.C: another bv->text misuse, from insert label
13100
13101 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13102
13103         * kbsequence.h:
13104         * kbsequence.C: re-instate nmodifier mask
13105
13106 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
13107
13108         * lyx_main.h: make lyxGUI private.
13109
13110 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
13111
13112         * lyxfind.C: place the cursor correctly on failed search
13113
13114 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13115
13116         * text.C (getLengthMarkerHeight): for small heights, the arrows
13117         are not always on top/bottom of the text
13118         (drawLengthMarker): smaller arrows; take the left margin in
13119         account; draw also vfills.
13120         (paintFirstRow):
13121         (paintLastRow): remove special code for vfill and standard spaces,
13122         since everything is handled in drawLengthMarker now.
13123
13124 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13125
13126         * buffer.C (insertErtContents): try to handle font and language
13127         interaction a bit better.g
13128
13129         * ColorHandler.C (updateColor): change the hash to cover the whole
13130         LColor enum, ws cleanup
13131         (getGCLinepars): ditto
13132         (getGCLinepars): only lookup in the linecache once.
13133
13134 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
13135
13136         * iterators.C (operator++): Make the iterator more robust
13137
13138         * BufferView2.C (removeAutoInsets): Use paragraph iterators
13139         (John's patch)
13140         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
13141
13142 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13143
13144         * lyxtext.h:
13145         * text.C: better added space drawing
13146
13147 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13148
13149         * LyXView.C:
13150         * BufferView2.C: fix layout combo update on inset unlock
13151
13152 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13153
13154         * Makefile.am: don't compile unused files
13155
13156 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13157
13158         * lyxfunc.C:
13159         * commandtags.h:
13160         * LyXAction.C: remove old LFUN_LAYOUTNO
13161
13162 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13163
13164         * paragraph_pimpl.h:
13165         * paragraph_pimpl.C: isTextAt() doesn't need font param
13166
13167 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13168
13169         * lyxlex.h:
13170         * lyxlex.C: little cleanup
13171
13172 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13173
13174         * BufferView_pimpl.C: fix insertAscii for insets
13175
13176 2001-12-05  Juergen Vigna  <jug@sad.it>
13177
13178         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13179         set the right font on the "multi" paragraph paste!
13180
13181 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13182
13183         * trans_decl.h:
13184         * trans_mgr.[Ch]:
13185         * trans.[Ch]:
13186         * lyxgluelength.C:
13187         * lyxlength.C: remove out-commented code.
13188
13189         * BufferView_pimpl:
13190         * CutAndPaste.C:
13191         * DepTable.C:
13192         * buffer.C:
13193         * chset.C:
13194         * lastfiles.C:
13195         * lyxlex.C:
13196         * lyxlex_pimpl.C:
13197         * lyxserver.C:
13198         * screen.C:
13199         * tabular-old.C:
13200         * tabular.C:
13201         * text.C:
13202         * trans_mgr.C:
13203         * vc-backend.C: change "while(" to "while ("
13204
13205         * lyxlength.[Ch]: add zero function to check if length is zero or
13206         not
13207         * lyxgluelength.C: use it
13208
13209 2001-12-05  Allan Rae  <rae@lyx.org>
13210
13211         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13212         Works for 2.95.3, from what I understand of Garst's reports this should
13213         work for other g++ versions.  We're screwed if the abs(int) definition
13214         changed between bugfix releases of gcc.
13215
13216 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13217
13218         * text.C: fix chapter label offset !
13219
13220 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13221
13222         * lyxtext.h:
13223         * text.C: fix hfill at end of line, clean up
13224
13225 2001-12-04  Juergen Vigna  <jug@sad.it>
13226
13227         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13228         that we force an update of the inset and it's owners if neccessary.
13229
13230 2001-12-03  Juergen Vigna  <jug@sad.it>
13231
13232         * text.C (rowLast): simplified code
13233
13234 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13235
13236         * lyxfunc.C: fix show options on timeout
13237
13238 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13239
13240         * screen.C (topCursorVisible): scroll half a page when the cursor
13241         reached top of bottom of screen
13242
13243 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13244
13245         * minibuffer.C: deactivate on loss of focus
13246
13247 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13248
13249         * vspace.[Ch] (operator!=): add operator.
13250
13251 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13252
13253         * BufferView_pimpl.C: refuse to open an inset when
13254         there's a selection.
13255
13256 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13257
13258         * BufferView_pimpl.C: allow to click on RHS of full row insets
13259
13260 2001-11-30  Juergen Vigna  <jug@sad.it>
13261
13262         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13263         insets for undo reasons.
13264
13265 2001-11-28  André Pönitz <poenitz@gmx.net>
13266
13267         * vspace.[Ch]: cosmetical changes
13268
13269 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13270
13271         * LyXAction.h:
13272         * LyXAction.C:
13273         * lyxfunc.h:
13274         * lyxfunc.C:
13275         * kbmap.h:
13276         * kbmap.C:
13277         * lyxrc.C:
13278         * kbsequence.h:
13279         * kbsequence.C: part re-write of old kb code
13280
13281         * Painter.C:
13282         * WorkArea.C: remove Lgb_bug_find_hack
13283
13284 2001-11-30  José Matos <jamatos@fep.up.pt>
13285
13286         * buffer.C (makeDocBookFile): add a comment to point a hack.
13287         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13288         Fixed a double write of labels.
13289
13290 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13291
13292         * LaTeX.C:
13293         * LaTeX.h Fixed bug in LaTeX class where it would not
13294         re-run latex if no depfiles were changed, but the .dvi was removed.
13295
13296 2001-11-28  André Pönitz <poenitz@gmx.net>
13297
13298         * all the files from the change on 2001/11/26:
13299         use lyx::layout_type instead of LyXTextClass::size_type
13300         use lyx::textclass_type instead of LyXTextClassList::size_type
13301
13302 2001-11-29  Juergen Vigna  <jug@sad.it>
13303
13304         * text.C: added support for paragraph::isFreeSpacing()
13305
13306         * buffer.C: same as above
13307
13308         * paragraph.h: inserted isFreeSpacing() function to enable
13309         FreeSpacing inside InsetERT.
13310
13311         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13312         of the paragraph's in the cut/copy buffer to 0!
13313
13314         * text2.C (removeRow): remove the assert as it can!
13315
13316         * lyxtext.h: added helper function firstRow returning firstrow and
13317         made firstrow private again.
13318
13319         * BufferView2.C (lockInset): don't relock if we're already locked!
13320
13321         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13322         the only paragraph.
13323         (removeRow): added Assert::(firstrow)
13324
13325         * debug.C: forgot to add INSETTEXT here.
13326
13327 2001-11-28  Juergen Vigna  <jug@sad.it>
13328
13329         * sp_spell.C (initialize): changed error text to more general
13330         spellchecker command use (not only ispell!)
13331
13332         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13333
13334         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13335
13336 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13337
13338         * vspace.C: initialise lyxgluelength on failure
13339
13340 2001-11-28  Allan Rae  <rae@lyx.org>
13341
13342         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13343         declaration & definition that looks like a function declaration.
13344
13345 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13346
13347         * BufferView2.C (copy):
13348         (copyEnvironment): do not clear the selection when doing a copy.
13349
13350         * text.C (paintFirstRow): compilation fix
13351
13352 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13353
13354         * tabular.C (Latex): correct line count when writing latex.
13355
13356 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13357
13358         * paragraph_pimpl.h:
13359         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13360           bug a bit
13361
13362 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13363
13364         * text.C:
13365         * LColor.h:
13366         * LColor.C: change vfillline->added_space
13367
13368         * text.C: add markers and text for added space
13369
13370         * vspace.C: fix comment
13371
13372 2001-11-28  André Pönitz <poenitz@gmx.net>
13373
13374         * paragraph.C: whitespace changes
13375         * all the other files from the change on 2001/11/26:
13376         change *::pos_type into lyx::pos_type
13377
13378 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13379
13380         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13381         language of the document when inserting error insets.
13382
13383 2001-11-26  André Pönitz <poenitz@gmx.net>
13384
13385         * BufferView_pimpl.[Ch]:
13386         *       CutAndPaste.C:
13387         * buffer.[Ch]:
13388         * lyxcursor.[Ch]:
13389         * lyxfind.C:
13390         * lyxfunc.C:
13391         * lyxrow.[Ch]:
13392         * paragraph.[Ch]:
13393         * paragraph_pimpl.[Ch]:
13394         * sp_spell.C:
13395         * text.C:
13396         * text2.C: reduce header dependencies, introduce type for positions
13397
13398 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13399
13400         * <various>: change to use Alert.h
13401
13402 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13403
13404         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13405         when encountering an unknown token.
13406         (readLyXformat2): Show an error message if there were unknown tokens.
13407
13408 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13409
13410         * BufferView2.C:
13411         * BufferView_pimpl.C:
13412         * buffer.C:
13413         * paragraph.h:
13414         * text.C:
13415         * text2.C: use par->isInset()
13416
13417 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13418
13419         * paragraph_pimpl.h:
13420         * paragraph_pimpl.C: cleanup
13421
13422 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13423
13424         * text2.C (removeRow):
13425         * text.C (setHeightOfRow): remove useless (and costly) call to
13426         getRow.
13427
13428 2001-11-20  Allan Rae  <rae@lyx.org>
13429
13430         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13431         Now need Inset*::checkInsertChar() to return true for appropriate
13432         cases so that the characters in the minibuffer will actually be
13433         inserted.
13434
13435 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13436
13437         * text.C: change the order of the includes.
13438         (workWidth): initialize it at once.
13439         (workWidth): make maxw unsigned
13440         (setHeightOfRow): remove unused variable (inset)
13441         (selectSelectedWord): remove unused variable (inset)
13442         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13443
13444 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13445
13446         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13447         server is not running.
13448         (openConnection):
13449         (closeConnection): add debug info when server is disabled.
13450
13451         * ColorHandler.C (getGCForeground): send debug message to GUI
13452         channel.
13453
13454         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13455
13456         * kbmap.C (bind): modify because return conventions of
13457         kb_sequence::parse have changed.
13458
13459         * kbsequence.C (parse): only ignore spaces and not any stupid
13460         control character. This avoids tests like s[i] <= ' ', which are
13461         guaranteed to fail with 8bit characters and signed chars.
13462         Change return code to string::npos when there have been no error
13463         (0 was a bad idea when error is at first character)
13464
13465 2001-11-14  José Matos  <jamatos@fep.up.pt>
13466
13467         * buffer.h:
13468         * buffer.C (simpleDocBookOnePar): removed unused argument.
13469
13470 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13471
13472         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13473         insets which are part of a word. Paragraph::isLetter takes care of
13474         that now. Use Paragraph::isInset to identify insets.
13475         (selectSelectedWord): do not test for hyphenation break.
13476
13477         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13478         that protected spaces are considered as spaces.
13479
13480         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13481         Inset::isLetter.
13482
13483 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13484
13485         * lyxserver.h:
13486         * lyxserver.C: fix it. and small cleanup.
13487
13488 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13489
13490         * BufferView_pimpl.C: use inline helpers
13491
13492         * LaTeXFeatures.h:
13493         * LaTeXFeatures.C: fix typos
13494
13495         * Spacing.h:
13496         * Spacing.C: move spacing_string into class
13497
13498         * ToolbarDefaults.C: move stuff into namespace anon
13499
13500         * layout.h: update enum
13501
13502         * lyxfunc.C: use better debug
13503
13504         * minibuffer.h: fix typo
13505
13506         * debug.h:
13507         * debug.C:
13508         * WorkArea.C: add and use Debug::WORKAREA
13509
13510         * lyxtext.h:
13511         * text.C:
13512         * text2.C: code re-organisation, inline helpers
13513
13514 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13515
13516         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13517         std::vector.empty().
13518
13519 2001-11-09  Allan Rae  <rae@lyx.org>
13520
13521         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13522         '\n's after tables.  Tabular and ERT inset work now makes this no
13523         longer necessary.
13524
13525 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13526
13527         * minibuffer.h:
13528         * minibuffer.C: fix crash, improve drop-down completion
13529
13530 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13531
13532         * lyxserver.h:
13533         * lyxserver.C: invalidate fd's when doing endPipe()
13534
13535 2001-11-08  José Matos  <jamatos@fep.up.pt>
13536
13537         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13538         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13539
13540         * paragraph.h:
13541         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13542
13543 2001-11-07  José Matos  <jamatos@fep.up.pt>
13544
13545         * buffer.h:
13546         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13547         const qualifier.
13548
13549         * buffer.C (sgmlOpenTag):
13550         * buffer.C (sgmlCloseTag): removed debug info.
13551
13552         * buffer.h (sgmlOpenTag):
13553         * buffer.h (sgmlCloseTag): made public.
13554
13555 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13556
13557         * buffer.C (saveParamsAsDefaults):
13558         * lyx_cb.C (MenuLayoutSave): remove
13559
13560         * LyXAction.C (init):
13561         * commandtags.h:
13562         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13563
13564 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13565
13566         * buffer.C (setPaperStuff): removed from here...
13567
13568         * bufferparams.C (setPaperStuff): ... and moved there.
13569
13570 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13571
13572         * minibuffer.h:
13573         * minibuffer.C:
13574         * XFormsView.C: add support for drop-down completion
13575
13576 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13577
13578         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13579         commands.
13580
13581 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13582
13583         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13584         disabled.
13585
13586 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13587
13588         * lyx_main.C: change ref to known bugs
13589
13590 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13591
13592         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13593         to work around older babel problems.
13594
13595 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13596
13597         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13598
13599 2001-10-24  Juergen Vigna  <jug@sad.it>
13600
13601         * tabular-old.C (ReadOld): below variable changes reflected.
13602
13603         * tabular.[Ch]: added ltType struct for longtable header/footer
13604         defines and changed all instances where they are used. Added
13605         future support for double top/bottom rows.
13606
13607 2001-10-24  José Matos  <jamatos@fep.up.pt>
13608
13609         * buffer.h (docbookHandleCaption):
13610         * buffer.C (docbookHandleCaption): removed unused function.
13611         (makeDocBookFile): moved docbook supported version to v4.1.
13612
13613 2001-10-24  José Matos  <jamatos@fep.up.pt>
13614
13615         * tabular.h:
13616         * tabular.C (docbookRow): new function to export docbook code of a row.
13617         (DocBook): now honors the longtable flags.
13618
13619 2001-10-23  José Matos  <jamatos@fep.up.pt>
13620
13621         * LaTeXFeatures.h:
13622         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13623         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13624
13625         * buffer.C (makeLinuxDocFile):
13626         (makeDocBookFile): reworked the preamble, more clean, and with
13627         support for lyx defined entities. Changed the document declaration
13628         to be more XML friendly.
13629
13630         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13631         if we need to output XML that should be done with a filter.
13632
13633 2001-10-22  Juergen Vigna  <jug@sad.it>
13634
13635         * sp_pspell.h (class PSpell): add alive function needed in the
13636         controller to see if the spellchecker could be started.
13637
13638 2001-10-22  Juergen Vigna  <jug@sad.it>
13639
13640         * buffer.C (insertStringAsLines): modify the font for inserting
13641         chars in certain conditions by calling checkInsertChar(font).
13642
13643 2001-10-19  Juergen Vigna  <jug@sad.it>
13644
13645         * text.C (workWidth): use getRow instead of wrong algorithm.
13646         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13647
13648 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13649
13650         * lyxserver.h:
13651         * lyxserver.C:
13652         * lyx_main.h:
13653         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13654
13655 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13656
13657         * text.C (workWidth): do not search for the exact row when
13658         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13659         optimization for big documents.
13660
13661 2001-10-18  Juergen Vigna  <jug@sad.it>
13662
13663         * text.C (workWidth): new function with added Inset * parameter.
13664
13665 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13666
13667         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13668
13669         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13670         change return type of getColumnNearX.
13671
13672
13673         * text.C (changeRegionCase): use uppercase/lowercase instead of
13674         toupper/tolower.
13675         (leftMargin):
13676         (rightMargin): simplify code by factoring out the uses of
13677         textclasslist.
13678         (labelFill):
13679         (numberOfHfills):
13680         (setHeightOfRow):
13681         (appendParagraph): use Paragraph::size_type
13682
13683 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13684
13685         * vspace.C (asLatexString): add a missing break
13686
13687 2001-10-15  Herbert Voss  <voss@perce.de>
13688
13689         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13690
13691 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13692
13693         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13694         is not available.
13695
13696 2001-10-10  André Pönitz <poenitz@gmx.net>
13697
13698         * lyxfunc.C: removed greek_kb_flag.
13699
13700 2001-10-10  Herbert Voss  <voss@perce.de>
13701
13702         * lyx_main.C: delete global string help_lyxdir.
13703
13704 2001-10-09  Herbert Voss  <voss@perce.de>
13705
13706         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13707
13708         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13709
13710         * lyx_main.C: added global string help_lyxdir.
13711
13712         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13713
13714 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13715
13716         * lyxrc.C (set_font_norm_type): support iso8859-4
13717
13718 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13719
13720         * LaTeX.C (deplog): add another regex for MikTeX
13721
13722 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13723
13724         * lyxrc.C (set_font_norm_type): support iso8859-3
13725
13726 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13727
13728         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13729
13730         * LaTeXFeatures.C: remove special case of french and index
13731
13732         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13733         before \begin{document}). This solves several incompatibilities.
13734
13735 2001-10-03  Garst Reese  <reese@isn.net>
13736
13737         * lyx_cb.C: change CheckTex error msg.
13738
13739 2001-10-03  José Matos  <jamatos@fep.up.pt>
13740
13741         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13742
13743 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13744
13745         * .cvsignore: update
13746
13747         * lyx_main.C (commandLineVersionInfo): use new style version info.
13748
13749         * buffer.C (writeFile):
13750         (makeLaTeXFile):
13751         (makeLinuxDocFile):
13752         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13753
13754         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13755
13756         * version.h: update to use stuff in version.C
13757
13758         * version.C.in: new file. Contains version information determined
13759         at compile time. This is a merging of version.h and
13760         version_info.h.in.
13761
13762 2001-10-03  Juergen Vigna  <jug@sad.it>
13763
13764         * BufferView_pimpl.C (update): don't change "dirty" status in
13765         updateInset call.
13766
13767 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13768
13769         * WorkArea.C (c-tor): re-position version string slightly.
13770
13771 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13772
13773         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13774         revert to previous code.
13775
13776         WorkArea.[Ch]: (show, destroySplash): methods removed.
13777
13778         WorkArea.C: rework code so that it's an amalgam of the codes before and
13779         after the splash screen was moved to WorkArea.
13780
13781 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13782
13783         * lyxrc.C (read):
13784         * vspace.C (inPixels):
13785         (lyx_advance):
13786         * kbmap.C (bind):
13787         * buffer.C (insertStringAsLines):
13788         (asciiParagraph): fix types to be large enough
13789
13790         * lyxlex_pimpl.h: change member status from short to int
13791
13792         * layout.h: fix type of endlabeltype
13793
13794         * kbmap.C (bind):
13795         * kbsequence.C (parse): change return type to string::size_type
13796
13797         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13798         variable
13799
13800         * Bullet.C (bulletSize):
13801         (bulletEntry): do not use short ints as parameters
13802
13803         * BufferView2.C (insertLyXFile): change a char to an int.
13804
13805         * WorkArea.C (WorkArea): remove unneeded floats in computation
13806
13807 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13808
13809         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13810
13811         * paragraph.C (asString): Do not ignore newline/hfill chars when
13812         copying to the clipboard.
13813
13814 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13815
13816         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13817         after a multi-line inset.
13818
13819 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13820
13821         * paragraph.C (validate): Set NeedLyXFootnoteCode
13822
13823 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13824
13825         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13826         and decrease-error to decrease.
13827
13828 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13829
13830         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13831         it more readable (should be equivalent)
13832
13833 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13834
13835         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13836
13837 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13838
13839         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13840         of a cursor (row, etc.) after a character has been deleted
13841         (deleteEmptyParagraphMechanism): call the method above on _all_
13842         cursors held by the LyXText when a double space has been
13843         detected/deleted.
13844
13845 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13846
13847         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13848         pixmap.
13849         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13850
13851         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13852         background. Use greyOut() and the new show() methods to toggle between
13853         the foreground and background. Add code to remove the splash after
13854         its initial showing.
13855
13856         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13857         (create_forms): no longer call Dialogs::showSplash.
13858
13859 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13860
13861         * .cvsignore: add version_info.h
13862
13863 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13864
13865         * version_info.h.in: new file
13866
13867         * Makefile.am: add version_info.h.in
13868
13869         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13870         version_info.h instead of VERSION_INFO
13871
13872 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13873
13874         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13875         The ERT inset now returns string().
13876
13877 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13878
13879         * lyxtext.h, text.C (selectNextWord): renamed as
13880         selectNextWordToSpellcheck.
13881
13882         * text.C (selectNextWordToSpellcheck): Modified to not select
13883         words inside an ERT inset.
13884
13885 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13886
13887         * lyx_cb.C (MenuLayoutSave): change a bit the question
13888
13889         * sp_base.h: include <sys/types.h>
13890
13891 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13892
13893         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13894
13895 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13896
13897         * several files: fix typos in user-visible strings
13898
13899 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13900
13901         * text2.C (pasteSelection): do not set the selection, since it
13902         will be cleared later. Actually, the intent was to fix the way the
13903         selection was set, but I figured rmoving the code was just as good.
13904
13905 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13906
13907         * FontLoader.C (available): Check if font is available without
13908         loading the font.
13909
13910 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13911
13912         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13913
13914 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13915
13916         * lyxrc.[Ch]: added display_graphics variable and associated code.
13917
13918 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13919
13920         * bufferparams.C (hasClassDefaults): new method. Returns true if
13921         the buffer parameters correspond to known class defaults
13922
13923 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13924
13925         * XFormsView.C (show): set minimum size to the main window.
13926
13927 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13928
13929         * text2.C (copySelection):
13930         (cutSelection):
13931         * lyxfind.C (LyXReplace):
13932         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13933         LyXText::selectionAsString.
13934
13935         * paragraph.C (asString): add "label" argument to the second form
13936
13937         * text2.C (selectionAsString): add "label" argument and pass it to
13938         Paragraph::asString.
13939
13940 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13941
13942         * lyx_main.C (commandLineHelp): remove version information
13943
13944 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13945
13946         * lyx_main.C: add -version commandline option
13947
13948 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13949
13950         * paragraph.h: make the optional constructor arg required instead.
13951         some modifications to other files because of this.
13952
13953         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13954
13955         * lyxserver.C (C_LyXComm_callback): make it static
13956
13957         * lyx_main.C (error_handler): make it static
13958
13959         * lyx_gui.C (LyX_XErrHandler): make it static
13960
13961         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13962
13963         * WorkArea.C: make the extern "C" methods static.
13964
13965         * Makefile.am (lyx_LDADD): simplify
13966
13967 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13968
13969         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13970         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13971
13972         * LyXAction.C (init):
13973         * lyxfunc.C (dispatch): associated code removal.
13974
13975 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13976
13977         * lyxfont.h (isSymbolFont): shut off warning
13978
13979         * text.C (setHeightOfRow):
13980         (getVisibleRow): fix crash with empty paragraphs which have a
13981         bottom line
13982
13983 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13984
13985         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13986         code.
13987
13988 2001-09-04  José Matos  <jamatos@fep.up.pt>
13989         * buffer.C
13990         * buffer.h
13991         * tabular.C (docbook): rename docBook method to docbook.
13992
13993 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13994
13995         * Makefile.am: add dependencies to main.o.
13996
13997 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13998
13999         * FontLoader.C (available): Return false if !lyxrc.use_gui
14000
14001 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
14002
14003         * FontInfo.C (query):
14004         * converter.C (view):
14005         * importer.C (Import):
14006         * exporter.C (Export): Can not -> cannot.
14007
14008 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
14009
14010         * BufferView_pimpl.C: allow to create index inset even if
14011           string is empty
14012
14013 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
14014
14015         * buffer.C (getLists): replace boost::tie code with an explicit pair
14016         as boost::tie can break some compilers.
14017
14018         * iterators.h: Added a std:: declaration to the return type of
14019         ParIterator::size.
14020
14021 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
14022
14023         * lyxrc.C: add help for view_dvi_paper_option, default to safe
14024           case.
14025
14026 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
14027
14028         * iterators.[Ch]: New files. Provide paragraph iterators.
14029
14030         * buffer.C (changeLanguage): Use paragraph iterators.
14031         (isMultiLingual): ditto
14032
14033         * BufferView2.C (ChangeInsets): Use paragraph iterators.
14034
14035 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
14036
14037         * FontLoader.C: Support for cmr font.
14038
14039 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
14040
14041         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
14042         (available): New method.
14043
14044         * FontInfo.C (getFontname): Use scalable fonts even when
14045         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
14046         found.
14047
14048 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14049
14050         * converter.C (Formats::view): reverted! Incorrect fix.
14051
14052 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
14053
14054         * converter.C (Formats::view): only output the -paper option
14055         if the dvi viewer is xdvi, thereby fixing bug #233429.
14056
14057 2001-08-23  Herbert Voss  <voss@perce>
14058
14059         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
14060
14061 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
14062
14063         * Spacing.h (Spacing): Set space to Default on in the default
14064         constructor.
14065
14066 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14067
14068         * vc-backend.h (RCS::versionString): add RCS to version
14069         (CVS::versionString): add CVS to version
14070
14071         * vc-backend.C (scanMaster): do not add CVS to version.
14072         (scanMaster): do not add RCS to version
14073
14074         * lyxvc.C (versionString): new method
14075
14076         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
14077
14078 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14079
14080         * Spacing.C (set): initialize fval
14081
14082 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
14083
14084         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
14085         " or \.
14086
14087 2001-08-16  Juergen Vigna  <jug@sad.it>
14088
14089         * lyxfunc.C (dispatch): implemented the new FINISHED states.
14090
14091 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14092
14093         * BufferView_pimpl.C:
14094         * figureForm.C:
14095         * lyxtext.h:
14096         * text2.C: setParagraph takes linespacing now
14097
14098 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
14099
14100         * LyxAction.C: add internal LFUN_CITATION_INSERT
14101
14102         * LyXView.C: actually apply fix
14103
14104         * bufferlist.C: fix open non-existent file
14105
14106         * lyxfind.C: fix indentation
14107
14108         * lyxfunc.C: remove unneeded assert, fix typo
14109
14110 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
14111
14112         * MenuBackend.C: use "Floatname List"
14113
14114 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
14115
14116         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
14117         when converting LaTeX layout to insetERT.
14118         Generate a non-collapsed float when reading old float
14119
14120 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14121
14122         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
14123         ERT insets.
14124
14125 2001-08-13  Juergen Vigna  <jug@sad.it>
14126
14127         * text.C (fill): return 0 instead of 20 as this seems to be the more
14128         correct value.
14129
14130 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
14131
14132         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
14133         lyxrc.font_norm.
14134
14135 2001-08-13  Juergen Vigna  <jug@sad.it>
14136
14137         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
14138         casesensitive off.
14139         (SearchBackward): comment out the unlocking of the inset_owner this
14140         should not be needed!
14141
14142 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
14143
14144         * Many files: Remove inherit_language, and add latex_language
14145
14146         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
14147         collapsible insets.
14148
14149 2001-08-10  Juergen Vigna  <jug@sad.it>
14150
14151         * text.C (prepareToPrint): fixed hfill-width in draw!
14152
14153         * BufferView2.C (selectLastWord): save the selection cursor as this
14154         now is cleared in the function LyXText::clearSelection!
14155
14156 2001-08-08  Juergen Vigna  <jug@sad.it>
14157
14158         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
14159         BACKSPACE type functions.
14160
14161         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
14162         is only cutted from the document but not put in the cut-buffer, where
14163         still the old stuff should be.
14164
14165         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
14166
14167         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
14168
14169         * tabular.C (SetWidthOfCell): fixed special case where the width
14170         was not updated!
14171         (LeftLine): handle '|' in align_special.
14172         (RightLine): ditto
14173         (LeftAlreadyDrawed): ditto
14174         (SetWidthOfCell): ditto
14175
14176 2001-08-07  Juergen Vigna  <jug@sad.it>
14177
14178         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14179
14180 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14181
14182         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14183         * lyxlex.[hC]: ditto
14184
14185 2001-08-06  Juergen Vigna  <jug@sad.it>
14186
14187         * text.C (getVisibleRow): fix up row clearing a bit.
14188
14189 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14190
14191         * minibuffer.C: make sure the X server sees the changes in the input.
14192
14193 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14194
14195         * paragraph.C (getFont): split into...
14196         (getLabelFont): this
14197         (getLayoutFont): and this
14198         * paragraph_pimpl.C (realizeFont): calling this
14199
14200         * text2.C (getFont): split into...
14201         (getLayoutFont): this
14202         (getLabelFont): and this
14203         (realizeFont): all three calling this
14204
14205         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14206         files where used.
14207
14208 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14209
14210         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14211
14212 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14213
14214         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14215         layouts from the Quote inset insertion.
14216
14217 2001-08-03  Juergen Vigna  <jug@sad.it>
14218
14219         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14220
14221         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14222         only if status not is already CHANGED_IN_DRAW (second level).
14223
14224         * text.C (draw): don't set the need_break_row when inside an
14225         InsetText LyXText.
14226
14227 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14228
14229         * buffer.C (parseSingleLyXformat2Token): handle more latex
14230         conversion cases.
14231
14232         * bufferview_funcs.[hC]: change function names to
14233         begin with small char, adjust other files.
14234
14235 2001-08-02  André Pönitz <poenitz@gmx.net>
14236
14237         * lyxfunc.C:
14238         BufferView_pimpl.C: remove broken special code for math-greek
14239
14240 2001-08-02  Juergen Vigna  <jug@sad.it>
14241
14242         * BufferView_pimpl.C (update): redone this function so that we
14243         update the text again if there was a CHANGE_IN_DRAW.
14244
14245         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14246         (drawFromTo): added a new internal bool which is used by draw() and
14247         redraw() function.
14248         (general): some cursor drawing problems fixed.
14249
14250 2001-08-01  Juergen Vigna  <jug@sad.it>
14251
14252         * lyxfind.C (LyXFind): fixed
14253         (SearchForward): ditto
14254         (SearchBackward): ditto
14255
14256         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14257         spurius drawing of the cursor in the main area.
14258
14259         * text2.C (status): small fix which could lead to a segfault!
14260         (clearSelection): remove unneeded BufferView param.
14261
14262 2001-08-01  André Pönitz <poenitz@gmx.net>
14263
14264         * lyxfunc.C: small change due to changed mathed interface
14265
14266 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14267
14268         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14269
14270 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14271
14272         * lyxfunc.c: fail gracefully if file doesn't exist
14273
14274         * LyXSendto.C:
14275         * buffer.C:
14276         * lyxfunc.C:
14277         * BufferView_pimpl.C: IsDirWriteable() proto changed
14278
14279         * LyXView.C: fix updateWindowTitle() to store the last title
14280
14281 2001-07-31  Juergen Vigna  <jug@sad.it>
14282
14283         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14284         the font (wrong since using of Paragraph::highestFontInRange).
14285
14286         * paragraph.C (highestFontInRange): added a default_size parameter.
14287
14288         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14289         (setHeightOfRow): reformat
14290
14291 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14292
14293         * converter.[hC] + affected files: move to (inital-char)lowercase
14294         function names.
14295
14296         * ParagraphParameters.C (ParagraphParameters): remove commented code
14297
14298         * PainterBase.[Ch]: remove commented code
14299
14300         * LaTeXFeatures.h: add "bool floats" for float.sty
14301
14302         * LaTeXFeatures.C (LaTeXFeatures): init floats
14303         (require): handle float
14304         (getPackages): do it with floats
14305
14306 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14307
14308         * BufferView_pimpl.C (Dispatch): improve handling of
14309         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14310
14311         * commandtags.h: #include lyxfont.h here temporarily to avoid
14312         keybinding bug.
14313
14314         * bufferlist.h: include LString.h here.
14315
14316 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14317
14318         * text2.C (getStringToIndex): new method.
14319
14320 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14321
14322         * *: Reduced header file dependencies all over.
14323
14324 2001-07-30  Baruch Even  <baruch@lyx.org>
14325
14326         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14327
14328 2001-07-29  Baruch Even  <baruch@lyx.org>
14329
14330         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14331
14332 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14333
14334         * ParameterStruct.h (endif): add a default constructor to make
14335         sure that all variables is initialized.
14336
14337         * ParagraphParameters.C (ParagraphParameters): adjust
14338
14339 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14340
14341         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14342         index; also, check that there is something to index, and that it
14343         does not span over several paragraphs.
14344         (doubleClick): use WHOLE_WORD_STRICT for double click.
14345
14346         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14347
14348         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14349         scheme.
14350
14351 2001-07-26  Baruch Even  <baruch@lyx.org>
14352
14353         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14354         an InsetFig figure, backwards compatible reading of old figure code.
14355
14356 2001-07-27  Juergen Vigna  <jug@sad.it>
14357
14358         * text2.C: font.realize function adaption.
14359
14360         * text.C (draw): add a warnings lyxerr text if needed.
14361
14362         * layout.C: font.realize function adaption.
14363
14364         * language.C: add inherit_language and implement it's handlings
14365
14366         * bufferview_funcs.C (StyleReset): remove language parameter from
14367         font creation (should be language_inherit now).
14368
14369         * bufferparams.C (writeFile): handle ignore_language.
14370
14371         * paragraph.C (getFontSettings): the language has to be resolved
14372         otherwise we have problems in LyXFont!
14373
14374         * lyxfont.C (lyxWriteChanges): added document_language parameter
14375         (update): removed unneeded language parameter
14376
14377         * paragraph.C (validate): fixed wrong output of color-package when
14378         using interface colors for certain fonts in certain environments,
14379         which should not seen as that on the final output.
14380
14381 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14382
14383         * BufferView_pimpl.C:
14384         * Thesaurus.h:
14385         * Thesaurus.C:
14386         * Makefile.am:
14387         * commandtags.h:
14388         * LyXAction.C: add thesaurus support
14389
14390         * lyxfind.h:
14391         * lyxfind.C: add "once" parameter, for thesaurus, to not
14392           move to the next match
14393
14394 2001-07-26  Juergen Vigna  <jug@sad.it>
14395
14396         * lyxfont.C (realize): honor ignore_language too!
14397         (resolved): ditto.
14398
14399         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14400
14401         * text.C (draw): one place more for ignore_language to not draw
14402         itself!
14403
14404 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14405
14406         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14407
14408 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14409
14410         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14411         the minipage conversion problem.
14412
14413 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14414
14415         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14416         insert an inset.
14417
14418 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14419
14420         * BufferView.h: don't forward declare WorkArea
14421
14422         * BufferView.C: don't include WorkArea.h
14423
14424 2001-07-25  André Pönitz <poenitz@gmx.net>
14425
14426         * commandtags.h:
14427         * LyXAction.C:
14428         * lyxfunc.C:  new LFUN 'math-space'
14429
14430         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14431
14432 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14433
14434         * text2.C (toggleInset): call open/close
14435
14436 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14437
14438         * lyxfunc.C (dispatch): add debug for the disabled case
14439
14440         * font.C (buttonText): make similar to rectText
14441
14442         * buffer.C (readInset): comment out parsing of insetlist and
14443         insttheorem
14444
14445         * PainterBase.C (rectText): small correction
14446
14447         * BufferView_pimpl.C: comment out insettheorem and insetlist
14448         * LyXAction.C: ditto
14449         * commandtags.h: ditto
14450
14451 2001-07-24  Juergen Vigna  <jug@sad.it>
14452
14453         * text.C (draw): honor the ignore_language.
14454
14455         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14456
14457 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14458
14459         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14460         char inset.
14461
14462 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14463
14464         * lyxtext.h: remove unused (and unimplemented) methods
14465
14466 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14467
14468         * text.C (getVisibleRow): honor background color
14469
14470         * PainterBase.h:
14471         * Painter.h: remove default color argument for fillRectangle
14472
14473         * text.C (backgroundColor): new method
14474
14475 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14476
14477         * text.C (getVisibleRow): adjust
14478
14479         * font.[Ch] (rectText): new method, metrics
14480         (buttonText): new method, metrics
14481
14482         * PainterBase.[hC]: make rectText and buttonText always draw and take
14483         fewer paramteres.
14484
14485 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14486
14487         * ToolbarDefaults.C (read):
14488         * MenuBackend.C (read): allow escaping in all strings
14489
14490         * BufferView_pimpl.C (insertAndEditInset): new method.
14491         (Dispatch): use insertAndEditInset whenever appropriate.
14492
14493         * BufferView_pimpl.C (insertNote): removed
14494
14495         * BufferView_pimpl.C (smartQuote): new method, moved from
14496         BufferView; if an insetquote cannot be inserted, insert a '"'
14497         character instead.
14498
14499         * BufferView2.C: remove insertCorrectQuote();
14500
14501         * lyxfunc.C (getStatus): Add support for all remaingin
14502         inset-insert lfuns.
14503
14504         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14505
14506         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14507         command (necessary to pass " as parameter of self-insert.
14508
14509         * text.C (selectWordWhenUnderCursor):
14510         (selectWord): add word_location parameter
14511         (selectWordWhenUnderCursor): same + remove special code for word
14512         boundary.
14513         (selectNextWord): use kind() to guess type of insetspecialchar,
14514         not latex().
14515
14516         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14517         (insertErtContents): create ert insets as collapsed.
14518         (readInset): better compatibility code for Info inset.
14519
14520 2001-07-20  Juergen Vigna  <jug@sad.it>
14521
14522         * lyxfunc.C (dispatch): use always LyXFind now!
14523
14524         * text2.C (init): add a reinit flag so that the LyXText can be
14525         reinited instead of deleted and reallocated (used in InsetText).
14526
14527         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14528
14529         * text.C: ditto
14530
14531         * text2.C: ditto
14532
14533 2001-07-18  Juergen Vigna  <jug@sad.it>
14534
14535         * text.C (selectNextWord): handle insets inside inset by calling
14536         always the bv->text functions so that we can go up the_locking_inset!
14537
14538         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14539         in strange locations when inside an inset!
14540
14541         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14542         handling to include insets.
14543
14544         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14545
14546 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14547
14548         * LyXAction.C (init):
14549         * commandtags.h:
14550         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14551         LIGATURE_BREAK, since the name is so stupid.
14552
14553 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14554
14555         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14556         InsetInfos.
14557
14558         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14559
14560         * sp_form.[Ch]: remove.
14561
14562         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14563
14564         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14565         InsetInfo.
14566
14567         * src/buffer.C (readInset): ditto.
14568
14569 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14570
14571         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14572         menuSeparator(), endOfSentenceDot(), ldots() and
14573         hyphenationPoint(), which are therefore removed.
14574         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14575
14576         * LyXAction.C (init):
14577         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14578
14579         * paragraph.C (getWord): removed.
14580
14581         * BufferView_pimpl.C (Dispatch): use last word or selection for
14582         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14583
14584         * lyx_main.C (queryUserLyXDir): do not ask before creating
14585         user_dir, except if it has been named explicitely.
14586
14587 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14588
14589         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14590         a document of zero size.
14591
14592 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14593
14594         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14595         approriately in the c-tor and in require().
14596         (getPackages): output the appropriate LaTeX for natbib support.
14597
14598         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14599         variables "use_natbib" and "use_numerical_citations" when reading the
14600         LyX file.
14601         (readInset): read the various natbib cite commands.
14602         (validate): white-space change.
14603
14604         * bufferparams.[Ch]: new variables "bool use_natbib" and
14605         "bool use_numerical_citations".
14606         (writeFile): output them in the LyX file.
14607
14608 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14609
14610         * lyxfunc.C (getStatus): add support for all the inset insertion
14611         commands.
14612
14613         * text2.C (insertInset):
14614         * paragraph.C (insetAllowed):
14615         * BufferView_pimpl.C (insertInset): update to take in account the
14616         renaming of insertInsetAllowed
14617
14618         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14619
14620         * text2.C (getInset): new method. returns inset at cursor position.
14621
14622         * BufferView_pimpl.C (Dispatch): changes because of this.
14623
14624         * LyXAction.C (init): rename open-stuff to inset-toggle.
14625
14626         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14627
14628         * text2.C (toggleInset): renamed from openStuff; use
14629         Inset::open().
14630
14631 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14632
14633         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14634
14635         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14636
14637 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14638
14639         * buffer.C (readLyXformat2): Add filename to the error dialog
14640
14641 2001-07-18  Juergen Vigna  <jug@sad.it>
14642
14643         * tabular.C (GetCellNumber): put an assert here instead of the check!
14644
14645 2001-07-17  Juergen Vigna  <jug@sad.it>
14646
14647         * BufferView_pimpl.C (toggleSelection): adapted too.
14648
14649         * text.C (selectNextWord): adapted for use with insets.
14650         (selectSelectedWord): ditto
14651
14652 2001-07-17  Juergen Vigna  <jug@sad.it>
14653
14654         * sp_spell.C (PSpell): fix initialitation order.
14655
14656 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14657
14658         * paragraph.C: spacing
14659
14660 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14661
14662         * sp_spell.C: repair language selection for pspell
14663
14664 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14665
14666         * lyxfunc.h: change more methods to begin with lower char.
14667
14668 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14669
14670         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14671         for unknown layouts.
14672
14673 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14674
14675         * buffer.C (readLyXformat2): Generate an error dialog if there are
14676         unknown layouts.
14677
14678 2001-07-16  Juergen Vigna  <jug@sad.it>
14679
14680         * sp_spell.C: always compile ISpell part.
14681
14682         * lyxrc.C: added use_pspell entry and it's handling.
14683
14684 2001-07-13  Juergen Vigna  <jug@sad.it>
14685
14686         * sp_spell.C: removed double includes.
14687
14688 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14689
14690         Consistent use of Lsstream.h:
14691         * Lsstream.h: added using std::stringstream for consistencies sake.
14692
14693         * buffer.C: removed using std::stringstream
14694
14695         * lyxfont.C (stateText):
14696         * paragraph.C (asString):
14697         * text.C (selectNextWord, selectSelectedWord):
14698         * text2.C (setCounter):
14699         * vspace.C (asString, asLatexString):
14700         std::ostringstream -> ostringstream.
14701
14702 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14703
14704         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14705         * commandtags.h: add LFUN_HELP_ABOUTLYX
14706         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14707
14708 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14709
14710         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14711         cursorToggle()
14712         * lyx_gui_misc.C: remove spellchecker
14713         * lyxfunc.C: showSpellchecker
14714         * sp_base.h: added
14715         * sp_ispell.h: added
14716         * sp_pspell.h: added
14717         * sp_spell.C: added
14718         * sp_form.[Ch]: removed
14719         * spellchecker.[Ch]: removed
14720
14721 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14722
14723         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14724         is set.
14725         (simpleTeXSpecialChars): Simply print the input character without
14726         any special translation if pass_thru is set.
14727
14728         * layout.h: Added bool pass_thru to layout class for being able to
14729         implement pass through of a paragraph for Literate Programming.
14730
14731         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14732         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14733         * layout.C (Read): add "passthru" to list of layout tags and add
14734         code to set the pass_thru boolean when it is read.
14735
14736 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14737
14738         * trans_decl.h: remove allowed from KmodInfo
14739
14740         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14741         remove allowed code
14742         (Load): adjust
14743
14744         * paragraph_pimpl.C (erase): use boost::prior
14745
14746         * Painter.C (text): use data() instead of c_str() when length is
14747         also provided.
14748         * WorkArea.C (putClipboard): ditto
14749         * font.h (width): ditto
14750
14751         * BufferView2.C: use it-> instead of (*it). for iterators
14752         * texrow.C: ditto
14753         * paragraph_pimpl.C: ditto
14754         * paragraph.C: ditto
14755         * minibuffer.C: ditto
14756         * language.C: ditto
14757         * kbmap.C: ditto
14758         * encoding.C: ditto
14759         * counters.C: ditto
14760         * converter.C: ditto
14761         * chset.C: ditto
14762         * Variables.C: ditto
14763         * TextCache.C: ditto
14764         * MenuBackend.C: ditto
14765         * LyXAction.C: ditto
14766         * LColor.C: ditto
14767         * FloatList.C: ditto
14768         * DepTable.C: ditto
14769         * ColorHandler.C (LyXColorHandler): ditto
14770
14771 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14772
14773         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14774
14775         * text2.C (openStuff): reintroduce this method (which had been
14776         nuked in NEW_INSETS frenzy).
14777
14778         * lyxfunc.C (Dispatch): when an action has not been handled, use
14779         its name in the error message, not its number.
14780
14781         * paragraph.C (inInset): change method name to begin with lowercase.
14782
14783         * undo_funcs.C:
14784         * text2.C: updates because of this.
14785
14786 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14787
14788         * ToolbarDefaults.C (add): add spaces in error message
14789
14790 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14791
14792         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14793         (readLyXformat2): rename return_par to first_par, use lyxlex's
14794         pushToken and remove the manual push handling.
14795         (parseSingleLyXformat2Token): add another ert comp. variable:
14796         in_tabular, rename return_par to first_par. handle newlines better
14797
14798 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14799
14800         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14801
14802 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14803
14804         * text2.C (getParFromID): removed
14805
14806         * buffer.C (getParFromID): new method moved form lyxtext.
14807         * BufferView2.C (insertErrors): adjust
14808         (setCursorFromRow): adjust
14809         * BufferView_pimpl.C (restorePosition): adjust
14810         * lyxfunc.C (Dispatch): adjust
14811         * undo_funcs.C (textUndo): adjust
14812         (textRedo): adjust
14813         (textHandleUndo): adjust
14814         (textHandleUndo): adjust
14815
14816 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14817
14818         * buffer.C: up' the LYX_FORMAT
14819
14820         * lyxfont.h: turn NO_LATEX on as default
14821
14822         * buffer.C (insertErtContents): new methods of tex style compability.
14823         (parseSingleLyXformat2Token): use it several places.
14824         * tabular.C (OldFormatRead): and here
14825
14826 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14827
14828         * text2.C: remove some commented code.
14829         reindent file.
14830
14831         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14832         * trans.C: changes because of the above.
14833
14834 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14835
14836         * text2.C (setCounter): Fix counters bug with bibliography layout.
14837
14838 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14839
14840         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14841         own member functions
14842         (simpleTeXSpecialChars): ditto
14843
14844 2001-07-06  Juergen Vigna  <jug@sad.it>
14845
14846         * a lot of files: changed the access to LyXText::status and the
14847         call of undo-functions.
14848
14849         * undo.[Ch]: added a inset_id to the undo informations.
14850
14851         * undo_funcs.[Ch]: added and moved here all undo functions.
14852
14853         * lyxtext.h: give the status enum a weight, made status_ a private
14854         variable and made accessor functions for it, removed the whole bunch
14855         of undo-functions as they are now in their own file, make some
14856         functions publically available. Added function ownerParagraph with
14857         int parameter.
14858
14859         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14860         made InInset() a const function, added getParFromID() function.
14861
14862         * buffer.[Ch]: added const version for inset_iterator functions,
14863         added getInsetFromID() function.
14864
14865         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14866         changed undo functions for new version.
14867
14868 2001-07-05  Juergen Vigna  <jug@sad.it>
14869
14870         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14871         unknow mechanism does not call the proper constructor but only this
14872         one also if I request the other!?
14873
14874 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14875
14876         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14877
14878         * text2.C (LyXText): use initialization lists.
14879
14880         * lyxtext.h (Selection): initialize set_ and mark_
14881         (init): remove method
14882
14883 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14884
14885         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14886
14887 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14888
14889         * screen.[Ch]: change method names to begin with lowercase
14890
14891         * BufferView_pimpl.C (updateScrollbar): simplify further and
14892         hopefully make it a bit faster.
14893
14894 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14895
14896         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14897         calling directly xforms functions.
14898
14899         * Painter.C (Painter):
14900         * lyx_cb.C (MenuWrite):
14901         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14902         fl_display.
14903
14904         * lyx_gui.C: remove bogus guiruntime extern declaration.
14905
14906 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14907
14908         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14909         in NEW_INSETS
14910         (redoDrawingOfParagraph): ditto
14911         (redoParagraphs): ditto
14912         (cutSelection): don't create a object for CutAndPaste use the
14913         static method directly
14914         (pasteSelection): ditto
14915
14916         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14917         LyXview (+ rename)
14918
14919 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14920
14921         * modifications to some other files because of this.
14922
14923         * Makefile.am (lyx_SOURCES): add XFormsView
14924
14925         * XFormsView.[Ch]: new files
14926
14927         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14928         the main window. Move the gui dependent stuff to XFormsView
14929
14930 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14931
14932         * tabular.C (GetCellInset): update cur_cell also in the row/col
14933         version of this function.
14934
14935         * lyxfunc.C: no need to include figure_form.h here.
14936
14937         * FontLoader.h:
14938         * lyxfunc.h:
14939         * lyxscreen.h:
14940         * text2.C:
14941         * lyxvc.C: no need to include forms.h here.
14942
14943 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14944
14945         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14946
14947         * lyxfunc.C (Dispatch):
14948         * Spacing.C (set):
14949         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14950         constructor argument.
14951
14952 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14953
14954         * paragraph.C (Paragraph): dont't clear, and just set layout.
14955         (makeSameLayout): use params's copy contructor.
14956
14957         * ParagraphParameters.[Ch] (makeSame): delete method
14958
14959 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14960
14961         * Variables.[Ch]: fix indentation, rename set to isSet
14962
14963 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14964
14965         * lyxfunc.C (Dispatch): fix typo
14966
14967 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14968
14969         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14970         upper_bound.
14971
14972         * bufferlist.C: include assert.h for emergencyWrite().
14973
14974 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14975
14976         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14977           give up at last (bug #425202) !
14978
14979 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14980
14981         * lyx_gui_misc.C:
14982         * sp_form.h:
14983         * sp_form.C:
14984         * spellchecker.h:
14985         * spellchecker.C: strip spellchecker options and bring up
14986           preferences tab instead
14987
14988 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14989
14990         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14991         the istringstream constructor
14992
14993 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14994
14995         * paragraph.C (getLayout): fix return value
14996
14997         * paragraph.h: do not declare getLayout as inline.
14998
14999         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
15000
15001 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15002
15003         * lyxcursor.h (operator<): new func
15004         (operator>): new func
15005         (operator>=): new func
15006         (operator<=): new func
15007
15008         * text.C (changeCase): use selection.start and selection.end
15009         (changeRegionCase): require from to be <= to. Require par to be a
15010         valid paragraph.
15011
15012         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
15013
15014 2001-06-27  Juergen Vigna  <jug@sad.it>
15015
15016         * text.C (cursorLeftOneWord): changed to return the cursor and added
15017         overlay with BufferView * parameter which calls this one.
15018         (getWord): added
15019         (selectWord): use new getWord function.
15020         (changeCase): renamed from changeWordCase as and extended to work
15021         also on selections.
15022
15023         * lyxtext.h: added enum word_location
15024
15025         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
15026         changeCase as this operates now also on selections.
15027
15028 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
15029
15030         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
15031
15032         * many files: send debug output to Debug::INFO instead of
15033         Debug::ANY.
15034
15035         * converter.C (View):
15036         (Convert):
15037         (Move): send debug output to Debug::FILES instead of console.
15038
15039 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
15040
15041         * lyxfunc.C (getStatus): use func_status
15042
15043         * func_status.h: new header, describing the results of
15044         LyXFunc::getStatus;
15045
15046         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
15047         LFUN_MATH_HALIGN.
15048
15049 2001-06-25  The LyX Project  <jug@sad.it>
15050
15051         * buffer.C (sgmlOpenTag):
15052         (sgmlCloseTag):
15053         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
15054
15055 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15056
15057         * text2.C: remove some dead code
15058
15059         * tabular.C (GetCellInset): store the last cell checked (gotten)
15060
15061         * tabular.h: add the helper for the speedup
15062
15063         * lyxtext.h: remove some dead code
15064
15065 2001-06-26  The LyX Project  <Asger>
15066
15067         * paragraph.C: Change export to LaTeX of alignment to
15068         \begin{center} and family for better roundtrip work with reLyX.
15069
15070         * Tune the math drawing a bit.
15071
15072 2001-06-25  The LyX Project  <Asger>
15073
15074         * LColor.C (LColor): New color for math background. New color
15075         for buttons.
15076
15077 2001-06-25  The LyX Project  <jug@sad.it>
15078
15079         * lyxfunc.C (MenuNew): remove extra check for .lyx file
15080
15081         * lyxfunc.C (Open):
15082         * bufferlist.C (newFile): do not restrict to files ending with
15083         .lyx
15084
15085         * BufferView_pimpl.C (MenuInsertLyXFile):
15086
15087 2001-06-24  The LyX Project  <jug@sad.it>
15088
15089         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
15090         of compare_no_case
15091
15092 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15093
15094         * lyxtext.h: rename most methods to begin with a small char.
15095         Lots of changes because of this.
15096
15097         * paragraph.C (Paragraph): do not call fitToSize
15098         (erase): call Pimpl::erase
15099         (insertChar): call Pimpl::insertChar
15100         (insertInset): call Pipl::insertInset
15101         (breakParagraph): do not call fitToSize
15102         (breakParagraphConservative): do not call fitToSize
15103         (fitToSize): remove method
15104
15105         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
15106
15107 2001-06-24  The LyX Project  <Asger>
15108
15109         * Fix Qt compilation^2
15110
15111 2001-06-24  The LyX Project  <jug@sad.it>
15112
15113         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
15114         depthHook(getDepth()-1).
15115
15116         * paragraph.h:
15117         * ParagraphParameters.h:
15118         * ParameterStruct.h: change type of depth to unsigned int ==
15119         depth_type. Many adaptations to other files before of that.
15120
15121 2001-06-24  The LyX Project  <Asger>
15122
15123         * Fix Qt compilation.
15124
15125 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15126
15127         * paragraph.h: renamed several methods to begin with small letter.
15128         several changes to many parts of the code because of this.
15129
15130 2001-06-23  The LyX Project  <jug@sad.it>
15131
15132         * text2.C (InsertStringAsLines): renamed from InsertStringA;
15133         rewritten to discard all double spaces when KeepEmpty is off
15134         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
15135         to only handle newlines but not fiddle with spaces and friends.
15136
15137         * lyxfunc.C (MenuNew): when doing 'new from template', use
15138         template_path as default directory
15139
15140 2001-06-23  The LyX Project  <Asger>
15141
15142         * Clean-up of header file includes all over
15143         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
15144
15145 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15146
15147         * paragraph.h: renamed from lyxparagraph.h
15148
15149 2001-06-23  Asger  <lyx@violet.home.sad.it>
15150
15151         * Buffer.h: Removed Buffer::resize
15152         * BufferList.h: Removed BufferList::resize
15153         * LyXView.h: Added LyXView::resize. This way, we will only reflow
15154         the document lazily when we change the width, or the font settings.
15155
15156 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15157
15158         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
15159
15160 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15161
15162         * buffer.h: remove out of date comment
15163
15164 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
15165
15166         * lyxscreen.h:
15167         * screen.C: fix "theoretical" GC leak
15168
15169 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15170
15171         * LaTeX.C (scanAuxFile):
15172         (deplog): remove trailing \r when reading stream (useful under
15173         win32)
15174
15175 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15176
15177         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15178         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15179         and BufferView::theLockingInset(Inset*), so should use them and not
15180         access bv_->text->the_locking_inset directly.
15181
15182         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15183
15184 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15185
15186         * Makefile.am:
15187         * tex-defs.h: remove old unused file
15188
15189 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15190
15191         * BufferView_pimpl.C: fix typo, remove minibuffer message
15192           when buffer has loaded
15193
15194 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15195
15196         * lyxfunc.C (Dispatch): use stringstream
15197         (MenuNew): use stringstream
15198         (Open): use stringstream
15199
15200         * importer.C (Import): use stringstream
15201
15202         * bufferview_funcs.C (CurrentState): use stringstream
15203
15204         * LaTeX.C (run): use stringstream
15205
15206         * BufferView_pimpl.C (savePosition): use stringstream
15207         (restorePosition): use stringstream
15208         (MenuInsertLyXFile): use stringstream
15209
15210 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15211
15212         * BufferView.C:
15213         * Bullet.C:
15214         * ColorHandler.C:
15215         * FontInfo.C:
15216         * FontLoader.C:
15217         * LColor.C:
15218         * LaTeXFeatures.C:
15219         * Painter.C:
15220         * gettext.C:
15221         * lyx_gui_misc.C:
15222         * lyxserver.C:
15223         * vspace.C: removed // -*- C++ -*- as first line.
15224
15225         * lyxfind.h:
15226         * version.h: added // -*- C++ -*- as first line.
15227
15228 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15229
15230         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15231
15232         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15233         of string
15234
15235 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15236
15237         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15238         of floats.
15239
15240 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15241
15242         * gettext.C: include LString.h even when --disable-nls is on.
15243
15244 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15245
15246         * converter.h (Get): changed argument type from int to
15247         FormatList::size_type to avoid unnecessary conversion.
15248
15249         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15250         before using it.
15251
15252 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15253
15254         * gettext.h: include LString.h even when --disable-nls is on.
15255
15256 2001-06-07  Juergen Vigna  <jug@sad.it>
15257
15258         * text.C (BreakAgain): subst spaces with tabs.
15259
15260         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15261         (resizeInsetsLyXText): set force on resizeLyXText.
15262
15263 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15264
15265         * gettext.h (gettext_init):
15266         (locale_init): use a real definition instead of a macro
15267
15268 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15269
15270         * Bufferview_pimpl.C:
15271         * LColor.h:
15272         * LColor.C: further lcolor tidies
15273
15274 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15275
15276         * BufferView_pimpl.C (updateScrollbar): simplify.
15277
15278         * BufferView2.C: don't include insets/insetinfo.h, change
15279         prototype for insertInset and call the Pimpl version. let
15280         updateInset call Pimpl version.
15281
15282         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15283         gotoInset to BufferView::Pimpl
15284
15285 2001-06-01  Juergen Vigna  <jug@sad.it>
15286
15287         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15288         inside a LockingInset (is the update needed at all?).
15289
15290 2001-05-31  Juergen Vigna  <jug@sad.it>
15291
15292         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15293         here not the old one otherwise how should we compare it afterwards
15294         if it's the same!
15295
15296 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15297
15298         * lyxfont.C:
15299         * tabular.C:
15300         * tabular-old.C:
15301         * FontInfo.C: bring C functions into global namespace when
15302         necessary
15303
15304 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15305
15306         * LString.h: make sure config.h has been loaded before LString.h.
15307
15308         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15309         (one for each char read by EatLine!).
15310
15311         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15312         variables.
15313
15314 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15315
15316         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15317         to the same as the par we break from
15318
15319 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15320
15321         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15322
15323         * MenuBackend.C (expand): also create menu entries for wide
15324         versions of the floats.
15325
15326         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15327
15328         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15329
15330         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15331         frontends/Makefile.am
15332
15333         * text2.C: adjust
15334         * text.C: adjust
15335
15336
15337         * tabular.C (getTokenValue): add std::
15338
15339         * tabular-old.C (getTokenValue): add std::
15340         (getTokenValue): ditto
15341         (getTokenValue): ditto
15342
15343         * screen.C (ToggleSelection): adjust
15344
15345         * lyxtext.h: put selection cursors inside a Selection struct.
15346
15347         * lyxfunc.C (moveCursorUpdate): adjust
15348
15349         * lyxfont.C (latexWriteStartChanges): add std::
15350
15351         * lyxfind.C: adjust
15352
15353         * font.h: delete with(char const *, LyXFont const &)
15354
15355         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15356
15357         * FontInfo.C (getFontname): add std::
15358
15359         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15360         (workAreaButtonPress): adjust
15361         (tripleClick): adjust
15362         (update): adjust
15363         (moveCursorUpdate): adjust
15364         (Dispatch): adjust
15365
15366         * BufferView2.C (gotoInset): adjust
15367
15368 2001-05-30  Juergen Vigna  <jug@sad.it>
15369
15370         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15371         to check pspell I add this as default as I now have new pspell
15372         libraries and they seem to use this.
15373
15374 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15375
15376         * text2.C (CutSelection): make the cursor valid before the call to
15377         ClearSelection.
15378
15379 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15382         relied on 0 terminated strings and other horrors. Bug found due to
15383         the new assert in lyxstring!
15384
15385         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15386         KP_ keys.
15387
15388 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15389
15390         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15391         to latinkeys.bind.
15392
15393         * lyxfunc.C (processKeySym): change method of getting to the
15394         self-insert char.
15395
15396         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15397         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15398         * BufferView_pimpl.[Ch]: here as private methods.
15399
15400 2001-05-28  Juergen Vigna  <jug@sad.it>
15401
15402         * text.C (SetHeightOfRow): added the update() call again as it is
15403         needed to initialize inset dimensions!
15404
15405 2001-05-16  Juergen Vigna  <jug@sad.it>
15406
15407         * text2.C (SetCharFont): Add new function with BufferView * and
15408         bool toggleall parameters for setting insets internal fonts.
15409         (SetFont): Freeze the undo as we may change fonts in Insets and
15410         all this change should be inside only one Undo!
15411
15412         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15413         setting font's in insets as for them we have the SetFont function!
15414
15415 2001-05-15  Juergen Vigna  <jug@sad.it>
15416
15417         * text2.C (ClearSelection): to be sure we REALLY don't have any
15418         selection anymore!
15419
15420         * tabular.C (TeXCellPreamble): fixed the left border problem for
15421         multicolumn cells.
15422
15423 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15424
15425         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15426         dependancy file
15427
15428 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15429
15430         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15431         LFUN_BREAKPARAGRAPH.
15432
15433         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15434         help test to "internal only", similar for LFUN_INSERT_URL
15435
15436         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15437         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15438         auto_region_delete and deadkeys.
15439
15440 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15441
15442         * LColor.h:
15443         * LColor.C: remove some dead entries, tidy a little
15444
15445 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15446
15447         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15448         commented code.
15449         (Dispatch): implement LFUN_ESCAPE
15450
15451         * commandtags.h: add LFUN_ESCAPE
15452
15453         * LyXAction.C (init): add entry for LFUN_ESCAPE
15454
15455         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15456         Remove commented code.
15457         (insertNote): moved here
15458         (open_new_inset): moved here
15459
15460         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15461         BufferView_pimpl
15462
15463 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15464
15465         * kbmap.C (findbinding): clean it up and make it work correctly.
15466
15467         * lyx_main.C (init): do not pass argc and argv as parameters
15468
15469 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15470
15471         * buffer.C: fix path for OS/2 & Win32
15472
15473         * lyx_gui.C:
15474         * lyx_main:
15475         * lyx_main.C: Added os:: class.
15476
15477         * os2_defines.h: update
15478
15479 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15480
15481         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15482         better by trying again with reduced state.
15483
15484 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15485
15486         * lyxrc.C (read): print error about invalid key sequence only when
15487         debugging (because not all latinX keysyms are known to some X
15488         servers)
15489
15490         * kbsequence.C (getiso): add a few std:: qualifiers
15491         (getiso): comment out extra return statement.
15492
15493 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15494
15495         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15496         handling.
15497         (Dispatch): enhance the accent inset a bit. (not perfect)
15498
15499 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15500
15501         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15502
15503 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15504
15505         * bufferlist.C (emergencyWrite): fix assert() call
15506
15507 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15508
15509         * text.C (InsertChar): Added trivial patch to only send the "you
15510         can not do multiple spaces this way" message once during a
15511         session.
15512
15513 2001-05-08  Baruch Even  <baruch@lyx.org>
15514
15515         * Makefile.am: Changed order of libraries to get LyX to link properly
15516         with the gnome frontend.
15517
15518 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15519
15520         * LaTeXFeatures.h: add a std:: qualifier
15521
15522 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15523
15524         * paragraph.C (String): use stringstream
15525
15526 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15527
15528         * paragraph.C (writeFile): remove footflag arg
15529
15530         * buffer.C (makeLaTeXFile): use stringstream
15531         (latexParagraphs): remove footnot gurba
15532
15533         * LaTeXFeatures.C (getPackages): use stringstream
15534         (getMacros): likewise
15535         (getTClassPreamble): likewise
15536         (getFloatDefinitions): new method
15537
15538         * paragraph.C (writeFile): reindent
15539         (Erase): reindent
15540
15541         * WorkArea.h: revert the xpos + etc changes.
15542
15543         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15544
15545         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15546
15547         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15548         (pasteSelection): likewise
15549         * text2.C (CreateUndo): likewise
15550
15551 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15552
15553         * minibuffer.C (peek_event): temporarily reduce the functionality
15554         of the minibuffer (to allow args on lfuns)
15555
15556         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15557         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15558
15559         * buffer.C (readInset): add compability reading of old float
15560         lists, add reading of new style float list.
15561         (readInset): avoid reevaluation of inscmd.getCmdName()
15562         (getLists): reindent
15563
15564         * MenuBackend.C (MenuItem): implement parsing of
15565         md_floatlistinsert and md_floatinsert.
15566         (expand::LastFiles): move initalizaton of iterators out of loop,
15567         avoid reevaluation.
15568         (expand::Documents): introduce typdedef vector<string> Strings,
15569         and use it.
15570         (expand::ExportFormats): introduce typedef vector<Format const *>
15571         Formats, and use it.
15572         (expand): implement FloatListInsert and FloatInsert.
15573
15574         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15575         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15576         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15577
15578         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15579         handling.
15580         (Dispatch::LFUN_FLOAT_LIST): implement
15581
15582 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15583
15584         * LaTeX.C (run): Fix problem with --export code.
15585
15586 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15587
15588         * BufferView.[Ch] (workarea): removed.
15589         (getClipboard) new method; wrapper for workarea()->getClipboard()
15590
15591         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15592         bug.
15593
15594         * WorkArea.h (width, height, xpos, ypos): These methods all
15595         returned the dimensions of the work_area sub-area of WorkArea,
15596         resulting in a position error if the WorkArea were resized. Now
15597         return the dimensions of the entire WorkArea.
15598
15599         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15600
15601 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15602
15603         * LaTeX.C (deplog): correct the syntax of regex reg1
15604
15605 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15606
15607         * undo.C: remove !NEW_INSETS cruft
15608
15609 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15610
15611         * text2.C: remove !NEW_INSETS cruft
15612
15613         * text.C: remove !NEW_INSETS cruft
15614
15615         * tabular.C: remove !NEW_INSETS cruft
15616
15617         * spellchecker.C: remove !NEW_INSETS cruft
15618
15619         * lyxtext.h: remove !NEW_INSETS cruft
15620
15621         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15622
15623         * lyxfunc.C: remove !NEW_INSETS cruft
15624
15625         * lyxfind.C: remove !NEW_INSETS cruft
15626
15627         * lyx_cb.C: remove !NEW_INSETS cruft
15628
15629         * figureForm.C: remove  !NEW_INSETS cruft
15630
15631         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15632
15633         * buffer.[Ch]: remove !NEW_INSETS cruft
15634
15635         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15636
15637         * CutAndPaste.C: remove !NEW_INSETS cruft
15638
15639         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15640
15641         * BufferView2.C: remove !NEW_INSETS cruft
15642
15643         * BufferView.h: remove !NEW_INSETS cruft
15644
15645 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15646
15647         * Lsstream.h: include LString.h before the sstream headers to
15648         fix problem with gcc 2.95.3 and lyxstring
15649
15650 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15651
15652         * lyx_main.C: add using directives when needed for C functions
15653         declared in std:: namespace.
15654
15655 2001-04-27  Juergen Vigna  <jug@sad.it>
15656
15657         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15658         (SetHeightOfRow): comment out the update call should not be needed!
15659
15660 2001-04-13  Juergen Vigna  <jug@sad.it>
15661
15662         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15663         (LyXTabular): tried to minimize operator= operations (and realized
15664         hopfully Lars wish).
15665
15666 2001-04-27  Juergen Vigna  <jug@sad.it>
15667
15668         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15669
15670 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15671
15672         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15673
15674         * buffer.C (readInset): hack to make listof algorithm work
15675
15676         * BufferView_pimpl.C: hack to make listof algorithm work
15677
15678 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15679
15680         * LyXAction.C: removed all !NEW_INSETS cruft
15681         (init): moved lfun_item in method
15682
15683         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15684
15685 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15686
15687         * BufferView2.C (theLockingInset): white space.
15688
15689 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15690
15691         * minibuffer.C: include <iostream>
15692
15693         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15694
15695         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15696
15697         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15698
15699         * text.[Ch] (TransposeChars): new method
15700
15701 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15702
15703         * call message directly through LyXView instead of through LyXFunc
15704         * BufferView2.C: adjust
15705         * BufferView_pimpl.C: adjust
15706         * FontLoader.C: adjust
15707         * buffer.C: adjust
15708         * bufferview_funcs.C: adjust
15709         * converter.C: adjust
15710         * figureForm.C: adjust
15711         * importer.C: adjust
15712         * lyx_cb.C: adjust
15713         * lyx_gui_misc.C: adjust
15714         * lyxfunc.C: adjust
15715         * lyxvc.C: adjust
15716         * text2.C: adjust
15717         + more files in subdirs
15718
15719         * lyxparagraph.h (size): move up int file
15720         (GetLayout): ditto
15721
15722         * adjust all uses of Assert to lyx::Assert.
15723
15724         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15725         lyxfunctional in namespace lyx
15726         * layout.C (hasLayout): ditto
15727         (GetLayout): ditto
15728         (GetLayout): ditto
15729         (delete_layout): ditto
15730         (NumberOfClass): ditto
15731         * converter.C (GetFormat): ditto
15732         (GetNumber): ditto
15733         (Add): ditto
15734         (Delete): ditto
15735         (SetViewer): ditto
15736         * bufferlist.C (getFileNames): ditto
15737         (emergencyWriteAll): ditto
15738         (exists): ditto
15739         (getBuffer): ditto
15740         * MenuBackend.C (hasSubmenu): ditto
15741         (hasMenu): ditto
15742         (getMenu): ditto
15743         * BufferView_pimpl.C (getInsetByCode): ditto
15744
15745 2001-04-18  Juergen Vigna  <jug@sad.it>
15746
15747         * vspace.C (asLatexString): fixed the 100% problem.
15748
15749 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15750
15751         * lyxfunc.C (Dispatch):
15752         * minibuffer.C:
15753         * minibuffer.h: add a few std:: qualifiers
15754
15755 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15756
15757         * minibuffer.[Ch]: reimplement so that commands is initiated and
15758         run from lyxfunc, simplified som handling, and made the completion
15759         and history code for complete. wip.
15760
15761         * lyxfunc.C (processKeySym): call message
15762         (miniDispatch): new temporary method
15763         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15764         (LFUN_MESSAGE): implement
15765         (LFUN_MESSAGE_PUSH): implement
15766         (LFUN_MESSAGE_POP): implement
15767         (initMiniBuffer): the initial/defualt minibuffer message.
15768
15769         * lyxfont.[Ch]: inline some more getters
15770
15771         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15772
15773         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15774
15775         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15776         (AutoSave): use LFUN_MESSAGE
15777         (Reconfigure): ditto
15778
15779         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15780
15781         * figureForm.C: use LFUN_MESSAGE
15782
15783         * converter.C (runLaTeX): use LFUN_MESSAGE
15784
15785         * bufferview_funcs.C: use LFUN_MESSAGE
15786         (Melt): ditto
15787         (changeDepth): ditto
15788
15789         * bufferparams.h: use boost::
15790
15791         * bufferlist.h: inherit privately from noncopyable
15792
15793         * bufferlist.C (loadLyXFile): remove some commented code.
15794
15795         * buffer.C (runChktex): use LFUN_MESSAGE
15796
15797         * ShareContainer.h: inherit privately from noncopyable
15798
15799         * ParagraphParameters.[hC] (depth): inline it.
15800
15801         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15802         methods.
15803         (message): new method
15804         (messagePush): ditto
15805         (messagePop): ditto
15806         (show): init minibuffer
15807         (showState): direct call
15808
15809         * LaTeX.[Ch]: inherit privately from noncopyable
15810         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15811         instead of WriteStatus.
15812
15813         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15814
15815         * BufferView_pimpl.C (buffer): don't init minibuffer
15816         (workAreaButtonPress): use LFUN_MESSAGE
15817         (workAreaButtonRelease): ditto
15818         (savePosition): ditto
15819         (restorePosition): ditto
15820         (MenuInsertLyXFile): ditto
15821         (workAreaExpose): don't init minibuffer
15822         (update): remove commented code, simplify
15823
15824         * BufferView2.C (openStuff): use LFUN_MESSAGE
15825         (toggleFloat): ditto
15826         (menuUndo): ditto
15827         (menuRedo): ditto
15828         (copyEnvironment): ditto
15829         (pasteEnvironment): ditto
15830         (copy): ditto
15831         (cut): ditto
15832         (paste): ditto
15833         (gotoInset): ditto
15834         (updateInset): remove some commented code
15835
15836         * lastfiles.h: inherit privately from noncopyable
15837         * layout.h: ditto
15838         * lyx_gui.h: ditto
15839         * lyx_main.h: ditto
15840         * lyxlex.h: ditto
15841         * lyxlex_pimpl.h: ditto
15842
15843         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15844         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15845         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15846
15847         * LyXAction.h: inherit privately from noncopyable, add methods
15848         func_begin, func_end, returning iterators to the func map.
15849
15850         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15851         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15852         (func_begin): new method
15853         (func_end): new method
15854
15855         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15856         and not)
15857         (copySelection): ditto
15858         (pasteSelection): ditto
15859
15860         * BufferView.C: whitespace change
15861         * BufferView.h: inherit privately from noncopyable
15862
15863 2001-04-16  Allan Rae  <rae@lyx.org>
15864
15865         * tabular-old.C (l_getline):
15866         * spellchecker.C (sc_check_word):
15867         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15868         an unrecognised preprocessor directive.  So ensure they're wrapped.
15869
15870 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15871
15872         * src/exporter.C (Export): Give an error message when path to file
15873         contains spaces.
15874
15875 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15876
15877         * LaTeX.C (deplog): Always check that foundfile exists.
15878
15879 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15880
15881         * lyx_main.h:
15882         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15883
15884 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15885
15886         * tabular.[Ch] (getLabelList): implement new method
15887
15888         * minibuffer.h: comment ouf setTiimer
15889
15890         * minibuffer.C (ExecutingCB): constify res
15891         (peek_event): constify s
15892         (Set): constify ntext
15893         (Init): constify nicename
15894
15895         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15896
15897         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15898         (savePosition): use two params to Minibuffer::Set
15899         (restorePosition): ditto
15900
15901 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15902
15903         * lyx_main.C: include language.h
15904
15905         * Makefile.am (lyx_main.o): add language.h
15906
15907 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15908
15909         * exporter.C:
15910         * paragraph.C:
15911         * screen.C:
15912         * tabular.C:
15913         * CutAndPaste.C: include gettext.h
15914
15915         * lyxfont.h: remove old hack with ON and OFF.
15916
15917         * lyxparagraph.h:
15918         * lyxfont.h: do not include language.h...
15919
15920         * BufferView2.C:
15921         * LaTeXFeatures.C:
15922         * Painter.C:
15923         * bufferview_funcs.C:
15924         * font.C:
15925         * lyxfont.C:
15926         * text.C:
15927         * text2.C:
15928         * trans_mgr.C:
15929         * paragraph.C: ... but do it here instead
15930
15931 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15932
15933         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15934
15935         * tabular.C: small reformat
15936
15937         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15938         NEW_INSETS version
15939         (GetChar): ditto
15940         (BreakParagraph): ditto
15941         (SetOnlyLayout): ditto
15942         (SetLayout): ditto
15943
15944         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15945         with one arg less.
15946
15947         * lastfiles.C: removed most using decl, add std:: where needed
15948
15949         * buffer.C: ws changes
15950
15951         * MenuBackend.C (class compare_format): put into anon namespace
15952         (expand): constify label, names, action, action2
15953         (expand):
15954
15955         * text.C (SingleWidth): constify font
15956         (IsBoundary): constify rtl2
15957         (GetVisibleRow): constify ww
15958
15959         * LaTeX.C (deplog): constify logfile
15960
15961         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15962         start_x, end_x
15963         (workAreaExpose): constify widthChange, heightChange
15964
15965         * lyxrow.C (par): moved
15966         (height): moved
15967         (next): moved
15968         * lyxrow.h: as inlines here
15969
15970         * lyxfont.h (shape): moved from lyxfont.C
15971         (emph): moved from lyxfont.C
15972
15973         * lyxfont.C (LyXFont): use initialization list for all
15974         constructors
15975         (shape): move to lyxfont.h as inline
15976         (emph): move to lyxfont.h as inline
15977
15978
15979 2001-04-04  Juergen Vigna  <jug@sad.it>
15980
15981         * vspace.C: had to include stdio.h for use of sscanf
15982
15983 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15984
15985         * BufferView.h:
15986         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15987         independent of xforms.
15988
15989 2001-04-02  Juergen Vigna  <jug@sad.it>
15990
15991         * spellchecker.C: fixed namespace placing!
15992
15993 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15994
15995         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15996         the LyXParagraph * is 0.
15997
15998 2001-03-29  Juergen Vigna  <jug@sad.it>
15999
16000         * vspace.C: added support for %, c%, p%, l%.
16001         (stringFromUnit): added helper function.
16002         (asLatexString): changed to give right results for the %-values.
16003
16004         * buffer.C: convert the widthp in a width%.
16005
16006 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
16007
16008         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
16009         figureForm.[Ch].
16010
16011         * figureForm.[Ch]: stripped the FD_from_figure manipulation
16012         code out of lux_cb.[Ch], ready for its (imminent?) removal.
16013
16014         * lyx_cb.[Ch]: see above.
16015
16016         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
16017         form1.[Ch].
16018
16019         * form1.[Ch]:
16020         * lyx.[Ch]: replaced by figure_form.[Ch].
16021
16022         * lyx_gui.C:
16023         * lyx_gui_misc.C:
16024         * lyxfunc.C: changed headers associated with above changes.
16025
16026 2001-03-27  Juergen Vigna  <jug@sad.it>
16027
16028         * BufferView_pimpl.C: set the temporary cursor right!
16029
16030 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
16031
16032         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
16033
16034 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
16035
16036         * LString.h: removed "using std::getline"!
16037
16038         * BufferView_pimpl.C (Dispatch): changes due to changes in
16039         InsetInclude::Params.
16040
16041         * buffer.C (tag_name): removed redundant break statements as they were
16042         producing lots of warnings with my compiler.
16043
16044 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16045
16046         * LString.h: add "using std::getline" when using the real <string>.
16047
16048 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
16049
16050         * buffer.C: removed bitset usage.
16051         PAR_TAG moved to an anonymous name space.
16052         (tag_name): new funtion, also in the anonymous namespace.
16053         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
16054         (makeDocBookFile): clean code. Completed transition from string arrays
16055         to string vectors.
16056         (SimpleDocBookOnePar): code clean.
16057
16058 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16059
16060         * tabular.C: add some comments.
16061
16062 2001-03-22  Juergen Vigna  <jug@sad.it>
16063
16064         * buffer.C (parseSingleLyXformat2Token): redone the minipage
16065         compatibility read a bit and fixed bug with minipage in different
16066         depth.
16067
16068 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
16069
16070         * buffer.C (pop_tag): removed.
16071         (push_tag): removed.
16072         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
16073         array replaced with vector. Added support for CDATA sections.
16074         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
16075         at any nest level.
16076         (makeDocBookFile): XML conformant declaration of CDATA section,
16077         fixed bug related to <emphasis> in the first paragraph char.
16078         (sgmlOpenTag): exclude empty tags.
16079         (sgmlCloseTag): ditto.
16080
16081         * buffer.h (pop_tag): removed.
16082         (push_tag): removed.
16083
16084 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
16085
16086         * language.h (Languages): added size_type and size().
16087
16088 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16089
16090         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
16091         response on compability reading of minipages. One probliem is that
16092         the old usage of minipages was «flertydig»
16093
16094         * several files here and in subdirs: don't use static at file
16095         scope use anon namespaces instead.
16096
16097 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
16098
16099         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
16100         LaTeX output. This is necessary for Literate document
16101         processing.
16102
16103 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16104
16105         * buffer.C: insert hfill when needed.
16106
16107         * tabular.C (l_getline): use string::erase, small whitespace change.
16108
16109         * BufferView_pimpl.C: try the anon namespace.
16110         * WorkArea.C: ditto
16111
16112 2001-03-16  Juergen Vigna  <jug@sad.it>
16113
16114         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
16115         otherwise it won't open options-dialogs.
16116
16117         * buffer.C: honor pextraWidth(p) on converting minipages.
16118
16119         * tabular.C (l_getline): changed the functions to strip trailing \r.
16120
16121 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
16122
16123         * BufferView_pimpl.C:
16124         * minibuffer..C: added "using SigC::slot" declaration.
16125
16126 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16127
16128         * lyxlex_pimpl.h: noncopyable is in namespace boost.
16129
16130         * text2.C: ditto
16131
16132         * text.C: ditto
16133
16134         * paragraph.C: ditto
16135
16136         * lyxtext.h: NO_PEXTRA
16137
16138         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
16139
16140         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
16141         * ParameterStruct.h: ditto
16142         * ParagraphParameters.h: ditto
16143         * lyxparagraph.h: ditto
16144
16145 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16146
16147         * buffer.C: add compability for minipage alignment.
16148         (latexParagraphs): remove unwanted pextra check.
16149
16150         * several files: remove CXX_WORKING_NAMESPACES
16151
16152         * buffer.C (pop_tag): tie is in namespace boost
16153
16154         * BufferView.h: noncopyable is in namespace boost
16155         * lyxlex.h: ditto
16156         * lyx_main.h: ditto
16157         * lyx_gui.h: ditto
16158         * layout.h: ditto
16159         * lastfiles.h: ditto
16160         * bufferlist.h: ditto
16161         * ShareContainer.h: ditto
16162         * LyXView.h: ditto
16163         * LyXAction.h: ditto
16164         * LaTeX.h: ditto
16165
16166 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16167
16168         * Merging changes from BRANCH_MVC back into HEAD.
16169
16170         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
16171
16172 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16173
16174         * BufferView_pimpl.C: change from intl.C
16175
16176         * combox.h:
16177         * combox.C:
16178         * Makefile.am: move combox.*
16179
16180         * form1.h:
16181         * form1.C:
16182         * lyx_gui.C:
16183         * intl.h:
16184         * intl.C: remove dialog (covered by prefs)
16185
16186 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16187
16188         * lyxfunc.C (Dispatch): removed redundant break statement.
16189
16190 2001-03-14  Juergen Vigna  <jug@sad.it>
16191
16192         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16193
16194 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16195
16196         * buffer.C: add hack to fix compability reading of minipages.
16197
16198 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16199
16200         * buffer.C (getLists): Cleanup.
16201
16202 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16203
16204         * lyxfont.C (update): don't honor toggleall on font size.
16205
16206 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16207
16208         * bmtable.c:
16209         * bmtable.h:
16210         * Makefile.am: moved to frontends/xforms/
16211
16212         * lyx_gui_misc.C:
16213         * lyxfunc.C:
16214         * BufferView_pimpl.C: changes for moved mathpanel
16215
16216 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16217
16218         * gettext.h: fix gettext_init() in --disable-nls
16219
16220 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16221
16222         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16223
16224 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16225
16226         * lyx.C:
16227         * lyx.h: strip external form
16228
16229 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16230
16231         * BufferView_pimpl.C: add comment, destroySplash()
16232
16233 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16234
16235         * BufferView_pimpl.C:
16236         * LyXAction.C:
16237         * buffer.C:
16238         * commandtags.h:
16239         * lyxfunc.C: use re-worked insetinclude
16240
16241 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16242
16243         * buffer.C: add using std::stringstream.
16244
16245         * lyx_cb.C: readd using std::ios.
16246
16247         * buffer.C: add using std::map.
16248
16249         * BufferView_pimpl.C: add using std::vector.
16250
16251         * ShareContainer.h: add std:: to swap.
16252
16253         * buffer.h: add some typedefs
16254         * buffer.C (getLists): use them
16255         (getLists): renamed from getTocList.
16256         add a counter for the different float types and use it in the
16257         generated string.
16258         (getLists): use the same counter for the NEW_INSETS and the "non"
16259         NEW_INSETS
16260
16261         * lyx_cb.h: remove unused items, includes, using etc.
16262
16263         * ShareContainer.h: remove some commented code, add more comments
16264         and "documentation".
16265
16266 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16267
16268         * buffer.C (getTocList): make the list also when NEW_INSETS is
16269         defined.
16270
16271         * buffer.h: remove TocType
16272
16273         * buffer.C (getTocList): change to return a map<string,
16274         vector<TocItem> >, implement for dynamic number of list.
16275
16276         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16277         * text2.C (PasteSelection): adjust
16278         * CutAndPaste.C (pasteSelection): adjust
16279
16280         * FloatList.C (FloatList): update from the new_insets branch.
16281         * Floating.[Ch]: ditto
16282         * LaTeXFeatures.C: ditto
16283         * buffer.C: ditto
16284         * lyxlex_pimpl.C: ditto
16285
16286         * paragraph.C (Last): remove when NEW_INSETS is defined.
16287
16288         * other file: changes because of the above.
16289
16290 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16291
16292         * lyxparagraph.h: rename next to next_, previous to previous_,
16293         make them private for NEW_INSETS. Rename Next() to next(),
16294         Previous() to previous().
16295
16296         * other files: changes because of the above.
16297
16298 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16299
16300         * BufferView.h:
16301         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16302         problem.
16303
16304 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16305
16306         * main.C (main): pass lyx_localedir to gettext_init().
16307
16308         * gettext.h: remove locale_init and gettext_init macros
16309
16310         * gettext.C (locale_init): new function
16311         (gettext_init): new function
16312
16313         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16314         setlocale().
16315
16316 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16317
16318         * Moved credits to frontends:
16319         * credits.[Ch]: removed
16320         * credits_form.[Ch]: removed
16321         * lyx_gui_misc.C: remove credits stuff
16322         * Makefile.am:
16323
16324 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16325
16326         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16327
16328         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16329         unneeded destructor.
16330
16331         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16332         a standalone pointer again.
16333
16334         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16335
16336 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16337
16338         * Makefile.am:
16339         * filedlg.h:
16340         * filedlg.C:
16341         * LyXAction.C:
16342         * ToolbarDefaults.C:
16343         * bufferlist.C:
16344         * commandtags.h:
16345         * form1.C:
16346         * form1.h:
16347         * lyx_cb.C:
16348         * lyx_cb.h:
16349         * lyxfunc.h:
16350         * lyxfunc.C:
16351         * BufferView_pimpl.C: use new file dialog in GUII
16352
16353         * lyx_cb.h:
16354         * lyx_cb.C: remove LayoutsCB to Toolbar
16355
16356 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16357
16358         * ShareContainer.h (get): add std:: qualifier
16359
16360 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16361
16362         * ShareContainer.h: define a proper ShareContainer::value_type
16363         type (and use typename to please compaq cxx)
16364
16365 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16366
16367         * lyxparagraph.h: move serveral local vars to
16368         ParameterStruct/ParagraphParameters., use ShareContainer in
16369         FontTable., make vars in FontTable private and add getter and
16370         setter.
16371
16372         * paragraph.C: changes because of the above.
16373
16374         * lyxfont.h: remove copy constructor and copy assignment. (the
16375         default ones is ok), move number inside FontBits. move inlines to
16376         lyxfont.C
16377
16378         * lyxfont.C: add number to initializaton of statics, move several
16379         inlines here. constify several local vars. some whitespace
16380         cleanup. Dont hide outerscope variables.
16381
16382         * Spacing.h: add two new constructors to match the set methods.
16383
16384         * ShareContainer.h: new file, will perhaps be moved to support
16385
16386         * ParameterStruct.h: new file
16387
16388         * ParagraphParameters.h: new file
16389
16390         * ParagraphParameters.C: new file
16391
16392         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16393         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16394
16395         * BufferView_pimpl.C: ParagraphParameter changes.
16396         * buffer.C: Likewise.
16397         * bufferview_funcs.C: Likewise.
16398         * text.C: Likewise.
16399         * text2.C: Likewise.
16400
16401 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16402
16403         * lyxfind.C (LyXReplace): do not redefine default argument in
16404         implementation.
16405         (IsStringInText): ditto
16406         (SearchForward): ditto
16407         (SearchBackward): ditto
16408
16409 2001-03-06  Juergen Vigna  <jug@sad.it>
16410
16411         * lyxfind.C (IsStringInText): put parentes around expressions.
16412
16413 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16414
16415         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16416
16417 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16418
16419         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16420
16421         * stl_string_fwd.h: add comment
16422
16423         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16424
16425         * tabular.h:
16426         * tabular.C: remove unused DocBook methods
16427
16428         * intl.C:
16429         * language.C:
16430         * paragraph.C:
16431         * buffer.C:
16432         killed DO_USE_DEFAULT_LANGUAGE
16433
16434 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16435
16436         * lyx_gui.C: do not include language.h.
16437
16438         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16439         arguments in function implementation.
16440
16441 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16442
16443         * BufferView_pimpl.C: add <ctime>
16444
16445 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16446
16447         * BufferView_pimpl.C: add using std::find_if
16448
16449 2001-02-27  José Matos  <jamatos@fep.up.pt>
16450
16451         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16452         by OnlyPath.
16453
16454 2001-02-11  José Matos  <jamatos@fep.up.pt>
16455
16456         * buffer.C (makeDocBookFile): command styles now have a parameter as
16457         "title" by default.
16458
16459 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16460
16461         * layout_forms.[Ch]: removed
16462         * lyx_cb.[Ch]: out character
16463         * lyx_gui.C: out character
16464         * lyx_gui_misc.C: out character
16465         * bufferview_funcs.C: : out character,
16466         added toggleall as parameter in ToggleAndShow
16467
16468 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16469
16470         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16471
16472         * text2.C (SetCurrentFont): Disable number property at boundary.
16473
16474 2001-02-26  Juergen Vigna  <jug@sad.it>
16475
16476         * lyxfunc.C (getStatus): added a string argument override function so
16477         that this is correctly called from LyXFunc::Dispatch if it contains a
16478         do_not_use_argument which is used!
16479         (Dispatch): added check for "custom" export and call appropriate func.
16480
16481 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16482
16483         * lyxrc.C: Add language_command_local, language_use_babel and
16484         language_global_options.
16485
16486         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16487
16488         * buffer.C (makeLaTeXFile): Use language_use_babel and
16489         language_global_options.
16490
16491 2001-02-23  Juergen Vigna  <jug@sad.it>
16492
16493         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16494         which works with LyXText and putted it inside BufferView. Here now we
16495         only call for that part the BufferView::Dispatch() function.
16496
16497         * BufferView.C (Dispatch): added.
16498
16499         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16500         functions which needs to use a LyXText over from LyXFunc.
16501         (MenuInsertLyXFile): added
16502         (getInsetByCode): added
16503         (moveCursorUpdate): added
16504         (static TEXT): added
16505
16506 2001-02-22  Juergen Vigna  <jug@sad.it>
16507
16508         * BufferView_pimpl.C (update): call a status update to see if LyXText
16509         needs it.
16510
16511 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16512
16513         * vc-backend.C (revert): implement for CVS
16514         (getLog): implement for CVS
16515
16516 2001-02-20  Juergen Vigna  <jug@sad.it>
16517
16518         * text2.C (ClearSelection): added BufferView param for inset_owner call
16519
16520         * lyxfunc.C (TEXT): added this function and use it instead of
16521         directly owner->view()-text of getLyXText().
16522
16523 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16524
16525         * src/layout_forms.C: out preamble
16526         * src/layout_forms.h: out preamble
16527         * src/lyx_cb.C: out preamble
16528         * src/lyx_cb.h: out preamble
16529         * src/lyx_gui.C: out preamble
16530         * src/lyx_gui_misc.C: out preamble
16531         * src/lyxfunc.C: connect with guii preamble
16532
16533 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16534
16535         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16536
16537 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16538
16539         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16540         whether to run bibtex.
16541
16542 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16543
16544         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16545
16546 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16547
16548         * Makefile.am (lyx_SOURCES): removed bibforms.h
16549
16550         * vspace.h: doxygen
16551
16552         * text.C (GetVisibleRow): make several local vars const
16553
16554         * tabular.C: small cleanup.
16555
16556         * lyxserver.C (callback): use compare instead of strncmp
16557
16558         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16559         inlines to after class or to paragraph.C
16560
16561         * lyxfont.h: remove friend operator!=
16562
16563         * converter.h: move friend bool operator< to non friend and after
16564         class def.
16565
16566         * combox.h: small cleanup
16567
16568         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16569         to inlines after class def.
16570
16571         * buffer.C (pop_tag): use string operations instead of strcmp
16572
16573         * bmtable.c: doxygen, small cleanup
16574
16575         * LaTeX.h: remove friend operator==
16576
16577 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16578
16579         * screen.C:
16580         * lyxrc.[Ch]:
16581         * lyxfunc.C:
16582         * lyxfont.[Ch]:
16583         * lyx_cb.C:
16584         * intl.[Ch]:
16585         * commandtags.h:
16586         * buffer.C:
16587         * WorkArea.[Ch]:
16588         * LyXAction.C:
16589         * BufferView_pimpl.C:
16590         * BufferView.[Ch]: remove cruft
16591
16592 2001-02-14  Juergen Vigna  <jug@sad.it>
16593
16594         * lyxfunc.C: removed #if 0 unused code
16595
16596         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16597
16598         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16599
16600         * text2.C (SetSelection): added a BufferView * parameter
16601
16602 2001-02-13  Juergen Vigna  <jug@sad.it>
16603
16604         * lyxfunc.C (Dispatch): fixed protected blank problem.
16605         * BufferView2.C (protectedBlank): added LyxText * parameter.
16606
16607         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16608         (AppendColumn): same as above for column_info.
16609
16610         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16611         (moveCursorUpdate): use a LyXText param for support of InsetText.
16612
16613         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16614         (tripleClick): ditto
16615
16616         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16617
16618         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16619
16620         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16621
16622         * text2.C (SetSelection): set correct update status if inset_owner
16623         (ToggleFree): ditto
16624
16625 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16626
16627         * tabular.C: remove some commented code.
16628
16629 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16630
16631         * BufferView_pimpl.C: call hideSplash()
16632
16633         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16634
16635         * include_form.h:
16636         * bibforms.h: remove
16637
16638         * lyxfunc.C:
16639         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16640           add LFUN_CHILD_CREATE
16641
16642         * counters.h: fix tiny typo
16643
16644         * lyx_cb.C:
16645         * lyx.h:
16646         * lyx_gui.C:
16647         * lyx.C: move splash to frontends/xforms/
16648
16649         * lyx_gui_misc.C: move Include and Bibform to frontends
16650
16651         * lyxvc.h: clarify comment
16652
16653         * vspace.C: tiny housekeeping
16654
16655 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16656
16657         * text.C (PrepareToPrint): RTL Fix.
16658
16659         * paragraph.C (GetUChar): New method.
16660         (String):  Use GetUChar.
16661
16662         * buffer.C (asciiParagraph): Use GetUChar.
16663
16664 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16665
16666         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16667
16668 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16669
16670         * buffer.h:
16671         * buffer.C: rename to getLogName(), handle
16672           build log / latex log nicely
16673
16674 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16675
16676         * MenuBackend.C:
16677         * MenuBackend.h: remove support for reference menuitem type.
16678
16679 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16680
16681         * BufferView_pimpl.C: housekeeping
16682         * BufferView_pimpl.h:
16683         * LyXView.h:
16684         * Makefile.am:
16685         * Timeout.C:
16686         * Timeout.h:
16687         * minibuffer.h: move Timeout GUI-I
16688
16689 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16690
16691         * lyxrc.C (read): Update converters data-structures.
16692
16693 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16694
16695         * LaTeX.h (operator!=): add operator != for Aux_Info
16696
16697 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16698
16699         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16700
16701         * LaTeXLog.C: deleted, useful code moved to Buffer
16702
16703         * buffer.h:
16704         * buffer.C: new function getLatexLogName()
16705
16706         * lyx_gui_misc.C:
16707         * lyx_gui.C:
16708         * lyxvc.C:
16709         * lyxvc.h:
16710         * lyxfunc.C: use frontends for LaTeX and VC logs
16711
16712 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16713
16714         * LaTeX.h: yet another std:: that Allan forgot.
16715
16716         * Variables.C (set): renamed from isset(), because this clashes
16717         with some HP-UX macros (grr).
16718
16719 2001-02-06  Allan Rae  <rae@lyx.org>
16720
16721         * LaTeX.h: Another bug fix.  Missing std:: this time.
16722
16723 2001-02-04  Allan Rae  <rae@lyx.org>
16724
16725         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16726         floats problem. I've left it commented out because it's not quite
16727         correct.  It should also test that the current object is a table or
16728         figure inset.  But I haven't gotten around to figuring out how to do
16729         that.  I *think* it'll be something like: "table" == inset.type()
16730
16731         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16732         bool.
16733
16734 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16735
16736         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16737         all the citation/databases/styles in the auxilary file.
16738         (run): Rerun latex if there was a babel language error.
16739
16740 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16741
16742         * text.C (Backspace): Preserve the font when changing newline char
16743         with a space.
16744         (BreakParagraph): If the cursor is before a space, delete the space.
16745
16746         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16747
16748 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16749
16750         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16751         new argument (code).
16752         (ChangeCitationsIfUnique): New method.
16753
16754         * paragraph.C (GetPositionOfInset): Handle bibkey.
16755
16756 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16757
16758         * BufferView_pimpl.h: change type of Position::par_pos to
16759         LyXParagraph::size_type.
16760
16761 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16762
16763         * BufferView_pimpl.C (savePosition, restorePosition): Write
16764         messages to minibuffer.
16765
16766 2001-01-28  José Matos  <jamatos@fep.up.pt>
16767
16768         * buffer.C (makeDocBookFile): adds support for document language.
16769         A silly restriction on the name of LatexCommand types where removed.
16770         Added support for CDATA sections, allows to chars unescaped, used
16771         among others in code, to avoid escape < and >.
16772
16773 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16774
16775         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16776         saved positions instrad of a stack. Furthermore, a position is
16777         stored using paragraph id/paragraph position.
16778
16779         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16780         Remove LFUN_REF_BACK.
16781
16782 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16783
16784         * converter.C (dvipdfm_options): New method.
16785
16786 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16787
16788         * vspace.C (isValidLength): Fix for empty input string.
16789
16790 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16791
16792         * LyXAction.C (init): change description of LFUN_FIGURE to
16793         "Insert Graphics"
16794
16795 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16796
16797         * LaTeX.C: add using directive
16798
16799 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16800
16801         * MenuBackend.C (expand): Fix the sorting of the formats.
16802
16803 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16804
16805         * lyx_main.C: tiny error message fix
16806
16807 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16808
16809         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16810         calling fl_initialize(). This fixes the problem with ',' as
16811         decimal separator in text files.
16812
16813 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16814
16815         * trans.C (process): Fix the keymap bug.
16816
16817 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16818
16819         * LaTeX.C (scanAuxFiles): New method. Provides support for
16820         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16821         (scanLogFile) Scan for "run BibTeX" messages.
16822
16823         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16824         OT1 font encoding. Also, load the aecompl package if the ae
16825         package is loaded.
16826
16827         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16828
16829 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16830
16831         * texrow.C (increasePos): turn two error messages into debug
16832         messages.
16833
16834 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16835
16836         * LaTeX.C (scanAux): Handle the \@input macro.
16837         (runBibTeX): Use scanAux().
16838
16839         * language.C (latex_options_): New field.
16840
16841         * LaTeXFeatures.C (getMacros): Add language macros.
16842
16843         * buffer.C (makeLaTeXFile): Small fix.
16844
16845 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16846
16847         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16848
16849         * text2.C: add a using directive.
16850
16851 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16852
16853         * BufferView2.C:
16854         * lyx_gui_misc.h:
16855         * lyxfr1.C:
16856         * lyxfunc.C: kill LyXBell.
16857
16858 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16859
16860         * text.C (IsBoundary): Remove the error message
16861
16862         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16863
16864         * lyxrc.C (setDefaults): Correct initialization value for
16865         font_norm_type.
16866
16867 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16868
16869         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16870         gotoError().
16871
16872         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16873         and GotoNextNote().
16874
16875         * src/LyXAction.C: Added reference-next.
16876
16877         * text.C (InsertChar): Use contains instead of strchr.
16878
16879         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16880
16881 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16882
16883         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16884         alignment commands (when needed).
16885
16886         * text.C (InsertChar): Add ':' to number separator chars.