]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
* filetools.C (ReplaceEnvironmentPath): set up patterns just once
[lyx.git] / src / ChangeLog
1 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2
3         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
4         action.
5
6 2003-10-16  André Pönitz  <poenitz@gmx.net>
7
8         * lyxrow.[Ch]:
9         * paragraph.h:
10         * rowpainter.C:
11         * text.C:
12         * text2.C:
13         * text3.C: speed up by storing y positions per paragraph plus per-row
14         offset instead of having a 'full' y position in the row.
15
16 2003-10-15  André Pönitz  <poenitz@gmx.net>
17
18         * iterators.[Ch]:
19         * iterators.[Ch]:
20         * undo.[Ch]: make undo aware of inner insets
21
22 2003-10-14  Angus Leeming  <leeming@lyx.org>
23
24         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
25         static member functions LyX::ref() and LyX::cref.
26         (lastfiles): new accessor functions for the new lastfiles_ member var.
27         (addLyXView, views_): add a new LyXView to the list of views_.
28         (updateInset): loop over all LyXViews to call their own updateInset
29         member function, returning a pointer to the Buffer owning the inset.
30
31         * BufferView_pimpl.C (loadLyXFile):
32         * MenuBackend.C (expandLastfiles):
33         * bufferlist.C (MenuWrite, QuitLyX):
34         lastfiles is no longer a global variable.
35         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
36
37         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
38         static function. Access through LyX::cref().emergencyCleanup().
39
40 2003-10-14  André Pönitz  <poenitz@gmx.net>
41
42         * iterators.[Ch]: new direct access to innermost LyXText and Inset
43
44         * undo.[Ch]: restoring part of 'undo in insets'
45
46         * Makefile.am:
47         * undo_funcs.[Ch]: merge with undo.[Ch]
48
49         * tabular.C: small cleansing stuff
50
51 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
52
53         * paragraph_funcs.C (readParToken): report unknown insets as error
54         boxes. Use the outer paragraph as location (also for unknown
55         tokens).
56
57         * factory.C (readInset): do not abort on reading an unknown inset.
58         Eat it and return 0.
59
60 2003-10-13  Angus Leeming  <leeming@lyx.org>
61
62         * lyx_main.C (LyX): remove call to setDisplayTranslator().
63
64         * lyxrc.C: displayTranslator is now a function,
65         declared in GraphicsTypes.h.
66
67 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
68
69         * format.C: new placeholder $$a to pass the socket address.
70
71         * bufferlist.[Ch]: new function getBufferFromTmp.
72
73         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
74           files in the temporary dir.
75
76 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
77
78         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
79
80         * Makefile.am: add lyxsocket.[Ch].
81
82         * lyx_main.C (error_handler): handle SIGPIPE.
83
84 2003-10-13  André Pönitz  <poenitz@gmx.net>
85
86         * BufferView_pimpl.C:
87         * lyxtext.h:
88         * text.C:
89         * text2.C:
90         * text3.C:
91         * undo_funcs.[Ch]: use paroffset_type instead of
92           ParagraphList::iterators to prevent multiple conversion
93           (and get a more robust interface)
94
95 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
96
97         * lyxfunc.C (dispatch): RESULT -> dispatch_result
98         * lyxtext.h: ditto
99         * text3.C (dispatch): ditto
100
101 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
102
103         * LaTeX.C (handleFoundFile): move the static to smaller scope,
104         move the onlyfile, use onlyfile instead of foundfile in a couple
105         of places.
106
107         * DepTable.C (update): flush the error stream a bit more
108
109 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
110
111         * lyxserver.C (callback): adjust
112
113         * lyxfunc.C (getStatus): add a missing brace in commented code
114         (ensureBufferClean): reindent
115         (dispatch): delete version taking a string
116
117 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
118
119         * LaTeX.C (deplog): move found file handlig from here...
120         (handleFoundFile): .. to new function here.
121         (deplog): make sure to discover several files mentioned on the
122         same log line.
123
124 2003-10-10  André Pönitz  <poenitz@gmx.net>
125
126         * lyxfunc.C:
127         * lyxtext.h:
128         * tabular.C:
129         * text.C:
130         * text2.C:
131         * text3.C: fix some of the tabular crashes
132
133 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
134
135         * MenuBackend.C (binding): put debug message into Debug::KBMAP
136
137         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
138
139 2003-10-09  André Pönitz  <poenitz@gmx.net>
140
141         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
142
143         * BufferView.C:
144         * BufferView_pimpl.C:
145         * bufferview_funcs.C:
146         * lyx_cb.C:
147         * lyxcursor.C:
148         * lyxfind.C:
149         * lyxfunc.C:
150         * lyxtext.h:
151         * text.C:
152         * text2.C:
153         * text3.C:
154         * text_funcs.[Ch]:
155         * textcursor.[Ch]:
156         * undo_funcs.C: adjust
157
158 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
159
160         * text2.C (incrementItemDepth): new function, use a backtracking
161         algorithm to discover the correct item depth.
162         (resetEnumCounterIfNeeded): new function, use a backtracking
163         algorithm to discover if counter reset is needed.
164         (setCounter): use them. Simplify a bit. Add different labels for
165         different item depths for itemize.
166
167         * paragraph.C (Paragraph): remove initialization of enumdepth
168         (operator=): ditto
169
170         * paragraph.h: get rid of enumdepth, and use itemdepth both for
171         enumerate and itemize. Change the type of itemdepth to signed char.
172
173 2003-10-08  André Pönitz  <poenitz@gmx.net>
174
175         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
176           thing assignable.
177         * text.C:
178         * text2.C: adjust
179
180         * tabular.[Ch]: fix crash after 'row-insert'
181
182 2003-10-08  Angus Leeming  <leeming@lyx.org>
183
184         Fix doxygen warnings.
185
186         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
187         Remove CutAndPaste:: prefix from header file declaration.
188
189         * LColor.h (fill): remove LColor:: prefix from declaration.
190
191         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
192         use lyx::depth_type rather than Paragraph::depth_type so that
193         header file and .C file match.
194
195         * converter.h (intToFormat): remove Converters:: prefix from declaration.
196
197         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
198         * aspell.C: \file aspell_local.C -> \file aspell.C
199         * gettext.C: \file gettext.C -> \file src/gettext.C
200         * gettext.h: \file gettext.h -> \file src/gettext.h
201         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
202         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
203         * text.C: \file text.C -> \file src/text.C
204
205         * toc.C: move comment so that doxygen is not confused.
206
207 2003-10-07  Angus Leeming  <leeming@lyx.org>
208
209         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
210
211 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
212
213         * aspell.C:
214         * aspell_local.h: add forgotten std::string's.
215
216 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
217
218         * LaTeXFeatures.C:
219         * LyXAction.C:
220         * factory.C:
221         * lfuns.h:
222         * lyxfunc.C:
223         * text3.C: The Box patch. Fancybox support, minipage, parbox
224
225 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
226
227         * CutAndPaste.h:
228         * DepTable.h:
229         * FloatList.h:
230         * LaTeXFeatures.h:
231         * ParagraphParameters.h:
232         * TextCache.h:
233         * Thesaurus.h:
234         * bufferlist.h:
235         * exporter.h:
236         * importer.h:
237         * lastfiles.h:
238         * lyxfind.h:
239         * lyxfont.h:
240         * lyxlex.h:
241         * lyxtextclasslist.h:
242         * messages.h:
243         * paragraph.h:
244         * paragraph_pimpl.C:
245         * textcursor.h: add <string> and other small fixes to make Lars'
246         std::string patch compile with STLport.
247
248 2003-10-06  Angus Leeming  <leeming@lyx.org>
249
250         * LColor.h: Add missing #include <string>.
251
252 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
253
254         * All most all file in all subdirs: Make <string> be the prefered
255         way of getting to std::string, add using declarations.
256
257 2003-10-06  André Pönitz  <poenitz@gmx.net>
258
259         * metricsinfo.C: initialize LyXFont before changing attribute.
260         (fixes the 'math in \emph is upright' bug)
261
262 2003-10-06  André Pönitz  <poenitz@gmx.net>
263
264         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
265
266 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
267
268         * graph.C:
269         * paragraph_pimpl.C: Small fixes to build using STLport
270
271 2003-10-02  André Pönitz  <poenitz@gmx.net>
272
273         * lyxfunc.C:
274         * text3.C: move handling of LFUN_DEPTH *; fix #1360
275
276 2003-10-01  André Pönitz  <poenitz@gmx.net>
277
278         * factory.C: assert early
279
280 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
281
282         * lyx_main.C: remove the global debug object
283
284         * debug.h: adjust for new debugstream
285
286         * debug.C: adjust for new debugstream and keep the global debug
287         object here.
288
289 2003-09-22  Angus Leeming  <leeming@lyx.org>
290
291         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
292         of g++ which otherwise complain that the scoped_ptr destructor can't delete
293         an incomplete class LyXFont.
294
295 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
296
297         * factory.C: bug fix in branches
298
299 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
300
301         * lyxfunc.C (processKeySym): adjust
302         (dispatch): adjust
303         (dispatch): change arg name from ev to func, adjust
304         (sendDispatchMessage): ditto
305
306         * lyx_main.C (defaultKeyBindings): adjust keybindings
307         (deadKeyBindings): ditto
308
309         * kbsequence.C (addkey): return a FuncRequest
310
311         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
312
313         * kbmap.C (bind): take a FuncRequest as arg, adjust
314         (read): adjust
315         (lookup): adjust
316         (defkey): change to take a FuncRequest as arg, adjust
317         (findbinding): take a FuncRequest as arg, adjust.
318
319         * funcrequest.h (operator=): added
320
321         * funcrequest.C (FuncRequest): default kb_action changed from
322         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
323
324         * buffer.C (dispatch): simplify
325         (dispatch): adjust to take a FuncRequest as arg, adjust
326
327         * boost.C (assertion_failed): change assertion message slightly
328
329         * ToolbarBackend.C (read): simplify
330
331         * MenuBackend.C (binding): adjust call to findbinding, add a
332         message if no binding is found.
333         (read): simplify
334         (expandToc): correct by adding a empty FuncRequest
335
336         * LyXAction.C: include <boost/assert.hpp>
337         (isPseudoAction): delete function
338         (LookupFunc): change name to...
339         (lookupFunc): this. change return type to FuncRequest.
340         (getActionName): take kb_action as arg, simplify
341         (funcHasFlag): add an assert, simplify.
342
343 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
344
345         * toc.C (action): return a FuncRequest, simplify
346
347         * lyxfunc.C (processKeySym): adjust
348         (getStatus): delete version that takes an int.
349         (getStatus): adjust
350         (dispatch): delete version that takes action as int
351         (dispatch): adjust
352         (sendDispatchMessage): simplify and adjust
353
354         * funcrequest.C (getArg): take unsigned int as arg
355
356         * ToolbarBackend.C (read): adjust
357         (add): delete version that takes func as a string.
358         (getIton): take a FuncRequest as arg
359
360         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
361         action.
362
363         * MenuBackend.C (MenuItem): add a new construct that only takes a
364         Kind, simplify the constructor use for submenus.
365         (add): adjust
366         (expandLastfiles): adjust
367         (expandDocuments): adjust
368         (expandFormats): adjust
369         (expandFloatListInsert): adjust
370         (expandFloatInsert): adjust
371         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
372
373         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
374         Remove class variables lyx_pseudo_map and lyx_arg_map
375
376         * LyXAction.C (searchActionArg): delete function
377         (getPseudoAction): delete function
378         (retrieveActionArg): delete function
379         (LookupFunc): make it return kb_action, simplify.
380         (getActionName): simplify
381
382         * factory.C (createInset): fix new bug
383
384 2003-09-19  Angus Leeming  <leeming@lyx.org>
385
386         * CutAndPaste.C (pasteSelection): remove fudge used to set the
387         masterFilename_ parameter in the include inset.
388
389         * factory.C (createInset): changes due to the changes to InsetInclude.
390
391 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
392
393         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
394
395 2003-09-18  Angus Leeming  <leeming@lyx.org>
396
397         * buffer.C:
398         * BufferView.C: pass the buffer when calling Inset::getLabelList,
399         Inset::fillWithBibKeys.
400         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
401
402 2003-09-18  Angus Leeming  <leeming@lyx.org>
403
404         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
405         variables.
406         (ctor): pass and store a 'Buffer const &'
407         (buffer): new member function.
408
409         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
410         '*this' to the LaTeXFeatures ctor.
411
412 2003-09-18  Angus Leeming  <leeming@lyx.org>
413
414         * LColor.h:
415         * lyxfont.C:
416         * lyxfont.h:
417         * lyxtext.h:
418         * text.C: rename EnumLColor as LColor_color.
419
420 2003-09-18  Angus Leeming  <leeming@lyx.org>
421
422         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
423         remove #include "insets/insetbase.h" from cursor.h.
424
425 2003-09-18  Angus Leeming  <leeming@lyx.org>
426
427         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
428         InsetOld_code to remove #include "inset.h".
429
430         * iterators.C: add #include "insets/inset.h"
431
432 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
433
434         * BufferView.C: remove more locking stuff that apparently doesn't
435         do anything sensible.
436
437 2003-09-16  André Pönitz  <poenitz@gmx.net>
438
439         * paragraph.[Ch]:
440         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
441           performance boost.
442
443 2003-09-16  Angus Leeming  <leeming@lyx.org>
444
445         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
446
447         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
448         arg/return type.
449
450         * paragraph.h: remove #include "lyxfont.h". Forward declare
451         LyXFont_size.
452
453 2003-09-16  Angus Leeming  <leeming@lyx.org>
454
455         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
456         of support/textutils.h.
457         (isWord): move the contents of support/textutils.h's IsWordChar here.
458
459         * buffer.C:
460         * lyxfind.C:
461         * rowpainter.C:
462         * text.C:
463         * text2.C: add #include "paragraph.h".
464
465         * rowpainter.C:
466         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
467
468 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
469
470         * main.C:
471         * lyx_main.C:
472         * lyx_cb.C:
473         * buffer.C:
474         * LaTeX.C: use namespace alias for lyx::support::os
475
476 2003-09-16  Angus Leeming  <leeming@lyx.org>
477
478         * bufferparams.C:
479         * bufferview_funcs.C:
480         * factory.C:
481         * lyxfunc.C:
482         * paragraph_pimpl.C:
483         * rowpainter.C:
484         * text.C: add #include "LColor.h".
485
486 2003-09-16  Angus Leeming  <leeming@lyx.org>
487
488         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
489         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
490         return LyXFont &.
491         Store the FontBits::color variable as an int rather than as an
492         LColor::colorso that we can move LColor.h out of the lyxfont.h header
493         file.
494
495         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
496         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
497         string calls together.
498
499         * lyxrc.C: add #include "LColor.h".
500
501 2003-09-15  Angus Leeming  <leeming@lyx.org>
502
503         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
504         a cow_ptr.
505
506 2003-09-15  Angus Leeming  <leeming@lyx.org>
507
508         * LColor.h: add an EnumLColor wrapper for LColor::color.
509
510         * lyxfont.[Ch] (color, setColor, realColor):
511         * lyxtext.h, text.C (backgroundColor):
512         pass EnumLColor args to/from the functions, rather than LColor::color
513         ones.
514
515         * lyxfont.h:
516         * lyxtext.h: forward declare EnumLColor.
517
518         * lyx_main.C: add #include "LColor.h".
519
520 2003-09-15  Angus Leeming  <leeming@lyx.org>
521
522         * .cvsignore: add lyx-gtk.
523
524 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
525
526         * Chktex.C
527         * LaTeX.C
528         * LaTeXFeatures.C
529         * ParagraphParameters.C
530         * Spacing.C
531         * buffer.C
532         * bufferparams.C
533         * bufferview_funcs.C
534         * chset.C
535         * counters.C
536         * funcrequest.C
537         * lyxfont.C
538         * lyxgluelength.C
539         * lyxlength.C
540         * paragraph.C
541         * paragraph_funcs.C
542         * text3.C
543         * vc-backend.C: remove usage of STRCONV
544
545 2003-09-15  Angus Leeming  <leeming@lyx.org>
546
547         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
548         explicitly define the color passed to the painter.
549
550 2003-09-15  Angus Leeming  <leeming@lyx.org>
551
552         * bufferparams.C (BufferParams): reorder member initializers to avoid
553         compiler warning.
554
555 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
556
557         * CutAndPaste.C (pasteSelection): remove an outdated #warning
558         * text.C (updateRowPositions): remove an unusual nop
559
560 2003-09-12  André Pönitz  <poenitz@gmx.net>
561
562         * BufferView_pimpl.C:
563         * Bullet.C:
564         * layout.h:
565         * lyxfunc.C:
566         * lyxlayout.[Ch]:
567         * lyxtextclass.C:
568         * rowpainter.C:
569         * text.C:
570         * text2.C:
571         * Counters.[Ch]: finish the 'automatic counters' job
572
573 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
574
575         * aspell.C: include <boost/assert.cpp> (compile fix)
576
577 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
578
579         * boost.C (assertion_failed): use lyx::support::abort instead of
580         assert.
581
582 2003-09-10  Angus Leeming  <leeming@lyx.org>
583
584         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
585         with their _fwd progeny.
586
587 2003-09-09  Angus Leeming  <leeming@lyx.org>
588
589         134 files throughtout the source tree: replace 'using namespace abc;'
590         directives with the appropriate 'using abc::xyz;' declarations.
591
592 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
593
594         * boost.C (emergencyCleanup): moved here from LAssert.c
595         (assertion_failed): new function, called by BOOST_ASSERT
596
597         * several files: change Assert to BOOST_ASSERT
598
599 2003-09-09  Angus Leeming  <leeming@lyx.org>
600
601         * buffer.[Ch]: Add an Impl class and move Buffer's member
602         variables into it. As a result move several header files out of
603         buffer.h.
604
605         Add header files to lots of .C files all over the tree as a result.
606
607 2003-09-09  Angus Leeming  <leeming@lyx.org>
608
609         * buffer.[Ch]: make Buffer's member variables private. Add
610         accessor functions.
611
612         Lots of changes all over the tree as a result.
613
614 2003-09-08  Angus Leeming  <leeming@lyx.org>
615
616         * graph.C: #include <config.h>.
617
618 2003-09-08  Angus Leeming  <leeming@lyx.org>
619
620         * BranchList.C:
621         * BufferView.C:
622         * BufferView_pimpl.C:
623         * CutAndPaste.C:
624         * DepTable.C:
625         * LaTeX.C:
626         * LaTeXFeatures.C:
627         * LyXAction.C:
628         * MenuBackend.C:
629         * TextCache.C:
630         * aspell.C:
631         * buffer.C:
632         * bufferlist.C:
633         * changes.C:
634         * chset.C:
635         * converter.C:
636         * counters.C:
637         * debug.C:
638         * graph.C:
639         * ispell.C:
640         * lyx_cb.C:
641         * lyxfind.C:
642         * lyxfunc.C:
643         * lyxlex_pimpl.C:
644         * lyxrc.C:
645         * lyxrow.C:
646         * paragraph.C:
647         * rowpainter.C:
648         * texrow.C:
649         * text.C:
650         * text2.C:
651         * toc.C: remove redundant using directives.
652
653 2003-09-07  Angus Leeming  <leeming@lyx.org>
654
655         * LaTeXFeatures.h: remove #include "support/types.h".
656         * ToolbarBackend.h: remove #include <algorithm>.
657         * changes.h: remove #include <ctime>.
658         * debug.h: remove #include <iosfwd>.
659         * graph.h: remove #include "support/std_string.h".
660         * lyx_main.h: remove #include <csignal>.
661         * lyxlex_pimpl.h: remove #include <fstream>.
662         * sgml.h: remove #include <algorithm>, <utility>.
663         * toc.h: remove #include "support/std_ostream.h".
664         Add #include <iosfwd>.
665
666 2003-09-07  Angus Leeming  <leeming@lyx.org>
667
668         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
669
670         * converter.h: forward declare LatexRunParams.
671         * encoding.h: remove #include "lyxrc.h".
672         * lyxtext.h: remove #include "LColor.h".
673         * lyxtextclass.h: remove #include "support/types.h".
674         * trans.h: remove #include "tex-accent.h".
675         * trans_mgr.h: remove #include "tex-accent.h".
676         * insets/inset.h: remove #include "support/types.h", <vector>.
677         * insets/insetcollapsable.h: remove #include "LColor.h".
678         * insets/insetinclude.h: remove #include "dimension.h".
679         * insets/insetlatexaccent.h: remove #include "dimension.h".
680         * insets/insetoptarg.h:: remove #include "insettext.h".
681         * insets/insettext.h: remove #include "dimension.h",
682         <boost/shared_ptr.hpp>
683
684         * insets/renderers.h: add #include "dimension.h".
685         * insets/updatableinset.h: add #include "support/types.h".
686
687         * many .C files: Associated changes.
688
689 2003-09-06  Angus Leeming  <leeming@lyx.org>
690
691         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
692         one, inside testInvariant.
693
694         * PrinterParams.C: new file.
695         * PrinterParams.[Ch]: move the function bodies out of line.
696
697 2003-09-06  Angus Leeming  <leeming@lyx.org>
698
699         * ParagraphParameters.h: forward declare ParameterStruct rather than
700         including its header file.
701         (depth): moved out-of-line.
702
703 2003-09-06  Angus Leeming  <leeming@lyx.org>
704
705         * BufferView_pimpl.h:
706         * kbmap.h:
707         * kbsequence.h:
708         * lyxfunc.h: forward declare LyXKeySym rather than
709         #include "frontends/LyXKeySym.h".
710
711         * BufferView_pimpl.C:
712         * kbmap.C:
713         * kbsequence.C:
714         * lyxfunc.C: associated changes.
715
716 2003-09-06  Angus Leeming  <leeming@lyx.org>
717
718         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
719         As a result, can remove the #include "insets/inset.h" from BufferView.h
720
721 2003-09-06  Angus Leeming  <leeming@lyx.org>
722
723         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
724         As a result, can remove the #include "insets/inset.h" from BufferView.h
725
726 2003-09-06  Angus Leeming  <leeming@lyx.org>
727
728         * buffer_funcs.C:
729         * buffer.h:
730         * bufferlist.C:
731         * BufferView.C:
732         * bufferview_funcs.C:
733         * BufferView_pimpl.C:
734         * CutAndPaste.C:
735         * lyx_cb.C:
736         * lyxfunc.C:
737         * paragraph.h:
738         * ParagraphParameters.C:
739         * tabular.C:
740         * text3.C:
741         * toc.C:
742         * undo_funcs.C:
743         * frontends/controllers/ControlDocument.C:
744         * insets/insetcaption.C: rearrange the #includes into some sort of
745         coherent order.
746
747         * buffer.h: remove #includes ErrorList.h, undo.h
748
749 2003-09-06  Angus Leeming  <leeming@lyx.org>
750
751         * support/types.h: add a 'depth_type' typedef, used to store the
752         nesting depth of a paragraph.
753
754         * paragraph.h:
755         * ParameterStruct.h: use this lyx::depth_type typedef rather than
756         defining explicitly.
757
758         * buffer.h:
759         * paragraph_funcs.h:
760         * ParagraphParameters.h:
761         * sgml.h: use lyx::depth_type rather than Paragraph or
762         ParameterStruct's depth_type.
763
764         * buffer.h
765         * paragraph_funcs.h: no need to #include paragraph.h anymore.
766
767         * BufferView.C:
768         * BufferView_pimpl.C:
769         * CutAndPaste.C:
770         * ParagraphParameters.C:
771         * buffer_funcs.C:
772         * bufferlist.C:
773         * bufferview_funcs.C:
774         * lyx_cb.C:
775         * lyxfunc.C:
776         * tabular.C:
777         * text3.C:
778         * toc.C:
779         * undo_funcs.C:
780         * frontends/LyXView.C:
781         * frontends/controllers/ControlDocument.C:
782         * frontends/controllers/ControlErrorList.C:
783         * insets/insetbibitem.C:
784         * insets/insetbranch.C:
785         * insets/insetcaption.C:
786         * insets/insetcollapsable.C:
787         * insets/insetenv.C:
788         * insets/insetert.C:
789         * insets/insetfloat.C:
790         * insets/insetfoot.C:
791         * insets/insetfootlike.C:
792         * insets/insetnewline.C:
793         * insets/insetquotes.C:
794         * insets/insettabular.C:
795         * insets/insettext.C:
796         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
797
798         * frontends/controllers/ControlChanges.C: #include "changes.h".
799
800 2003-09-06  Angus Leeming  <leeming@lyx.org>
801
802         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
803         than #including paragraph.h.
804
805         * ParagraphList.h:
806         * RowList.h: deleted. Superfluous.
807
808         * CutAndPaste.h:
809         * iterators.h:
810         * lyxcursor.h:
811         * lyxtext.h:
812         * text_funcs.h:
813         * undo.h:
814         * undo_funcs.h:
815         * insets/inset.h:
816         * insets/insettext.h: use ParagraphList_fwd.h rather than
817         ParagraphList.h.
818
819         * paragraph.h: don't forward declare ParagraphList.
820
821         * buffer.h:
822         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
823         rather than ParagraphList.h. paragraph.h is still needed for the
824         Paragraph::depth_type parameters.
825
826         * textcursor.h: enable it to compile stand-alone in light of the
827         above changes.
828
829         * bufferview_funcs.C:
830         * iterators.C:
831         * lyxfunc.C:
832         * lyxrow_funcs.C:
833         * paragraph.C:
834         * rowpainter.C:
835         * text.C:
836         * text2.C:
837         * text3.C:
838         * text_funcs.C:
839         * textcursor.C:
840         * undo.C:
841         * frontends/controllers/ControlParagraph.C:
842         * frontends/controllers/ControlTabular.C:
843         * insets/insetmarginal.C:
844         * insets/insetminipage.C:
845         * insets/insetnote.C:
846         * insets/insetoptarg.C: add header files needed to compile again.
847
848 2003-09-06  Angus Leeming  <leeming@lyx.org>
849
850         * RowList_fwd.h: new file, forward-declaring Row rather than
851         #including lyxrow.h.
852
853         * lyxrow_funcs.h:
854         * lyxtext.h:
855         * paragraph.h:
856         * insets/insettext.h: use it instead of RowList.h
857
858         * bufferview_funcs.C:
859         * lyxfunc.C:
860         * lyxrow_funcs.C:
861         * paragraph.C:
862         * rowpainter.C:
863         * text.C:
864         * text2.C:
865         * text3.C: #include "RowList.h".
866
867 2003-09-05  Angus Leeming  <leeming@lyx.org>
868
869         * factory.C (createInset):
870         * vspace.C (c-tor): replace sscanf call with an istringstream.
871         * ispell.C: re-add missing HP/UX headers.
872         * lyxserver.C: re-add missing  os2 headers.
873
874 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
875
876         * BranchList.C:
877         * graph.C:
878         * ispell.C:
879         * lastfiles.C:
880         * lyx_cb.C:
881         * lyxserver.C:
882         * texrow.C:
883         * text3.C: re-add missing system headers, needed for 2.95.2.
884
885 2003-09-05  Angus Leeming  <leeming@lyx.org>
886
887         Changes most place everywhere due to the removal of using directives
888         from support/std_sstream.h.
889
890 2003-09-05  Angus Leeming  <leeming@lyx.org>
891
892         Replace LString.h with support/std_string.h,
893         Lsstream.h with support/std_sstream.h,
894         support/LIstream.h with support/std_istream.h,
895         support/LOstream.h with support/std_ostream.h.
896
897         Changes resulting throughout the tree.
898
899 2003-09-05  Angus Leeming  <leeming@lyx.org>
900
901         * sgml.h: ensure that the header file can be compiled stand-alone.
902         * *.C: strip out redundant #includes. (320 in total.)
903
904 2003-09-04  Angus Leeming  <leeming@lyx.org>
905
906         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
907         here (from getPackages).
908
909         * debug.[Ch]: add a new EXTERNAL tag.
910
911 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
912
913         * text2.C (cursorEnd): simplify
914         (setCursor): adjust
915         (getColumnNearX): adjust
916
917         * text.C (computeBidiTables): adjust
918         (fill): adjust
919
920         * rowpainter.C (paintChars): adjust
921         (paintSelection): adjust
922         (paintChangeBar): adjust
923         (paintText): adjust
924
925         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
926         lastPos instead.
927         (numberOfSeparators): adjust
928
929 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
930
931         * LyXAction.C:
932         * box.[Ch]:
933         * lfuns.h:
934         * lyxfunc.C:
935         * text3.C: Restricts the mouse click functionality
936         of insets like bibtex, include, toc and floatlist to the visible
937         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
938         up the dialogs. Cursor has to be in front of the inset (i.e.
939         start of row) for this to function.
940
941 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
942
943         * bufferview_funcs.C (currentState): output row information
944
945 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
946
947         * bufferview_funcs.C (currentState): output paragraph position
948
949 2003-09-04  Angus Leeming  <leeming@lyx.org>
950
951         * FloatList.h: move out #include "Floating.h".
952         * LaTeX.h: move out #include "DepTable.h".
953         * LyXAction.h: move out #include "funcrequest.h".
954         * buffer.h: move out #include "author.h", "iterators.h".
955         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
956         * lyx_main.h: move out #include "errorlist.h".
957         * lyxfunc.h: move out #include "FuncStatus.h".
958         * lyxtext: move out #include "lyxcursor.h".
959         * paragraph_pimpl.h: move out #include "counters.h".
960
961 2003-09-03  Angus Leeming  <leeming@lyx.org>
962
963         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
964         preamble_snippets list, enabling us to add snippets to the preamble
965         only if the snippet was not there already.
966
967 2003-09-04  Angus Leeming  <leeming@lyx.org>
968
969         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
970
971 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
972
973         * lyxfunc.C (dispatch): if fitCursor did something be sure to
974         update
975
976 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
977
978         * BranchList.C: point fix, earlier forgotten
979
980 2003-09-02  Angus Leeming  <leeming@lyx.org>
981
982         * box.C (contains): renamed from 'contained' after a fantastic
983         amount of hot air.
984
985 2003-09-02  John Levon  <levon@movementarian.org>
986
987         * BufferView.C:
988         * lyxcursor.h:
989         * lyxcursor.C:
990         * lyxfunc.C:
991         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
992
993 2003-09-02  John Levon  <levon@movementarian.org>
994
995         * text2.C: simplification of cursorEnd(), including partial
996         fix for bug 1376
997
998 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
999
1000         * buffer.C (readFile): add a space
1001
1002 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1003
1004         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1005
1006 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1007
1008         * buffer.C (readFile): new function, take a filename and a
1009         ParagraphList::iterator
1010         (readFile): adjust
1011         (readFile): adjust, make it private. don't use setStream, make
1012         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1013         always contain the filename.
1014
1015         * BufferView.C (insertLyXFile): simplify and make it work for
1016         gzipped files.
1017
1018 2003-08-30  John Levon  <levon@movementarian.org>
1019
1020         * Makefile.am: fix dist (from Kayvan)
1021
1022 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1023
1024         * most files: change to use const Buffer refs
1025
1026 2003-08-27  André Pönitz  <poenitz@gmx.net>
1027
1028         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1029         on top of ownerPar().
1030
1031 2003-08-27  John Levon  <levon@movementarian.org>
1032
1033         * funcrequest.C: properly initialise POD members
1034
1035 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1036
1037         * lyxtext.h (top_y): move top_y from here
1038         * text.C:
1039         * text2.C:
1040         * text3.C:
1041         * BufferView.[Ch]:
1042         * BufferView_pimpl.[Ch]: to here
1043         * frontends/screen.C:
1044         * insets/insettabular.C:
1045         * insets/insettext.C: adjust
1046         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1047
1048 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1049
1050         * BufferView.[Ch]:
1051         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1052
1053 2003-08-26  André Pönitz  <poenitz@gmx.net>
1054
1055         * paragraph_func.[Ch] (outerPar): new function
1056
1057         * paragraph.C:
1058         * paragraph_funcs.C:
1059         * paragraph_funcs.h:
1060         * paragraph_pimpl.C:
1061         * text2.C: remove Inset::par_owner
1062
1063 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1064
1065         * lyxrow_funcs.C:
1066         * lyxtext.h:
1067         * text.C:
1068         * text2.C: eliminates the needFullRow/display() stuff
1069         altogether, putting the logic in metrics/draw in the insets.
1070
1071 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1072
1073         * text2.C (redoParagraphInternal, redoParagraphs):
1074         * text.C (redoParagraph): add a call to updateRowPositions at the
1075         end of each 'metrics-like' call. Remove all others.
1076         (getRow): remove the 'y-computing' version.
1077         (getRowNearY): do not compute nor return the real y. Solve the
1078         'y < 0' problem and simplify.
1079
1080 2003-08-22  Angus Leeming  <leeming@lyx.org>
1081
1082         * *.[Ch]: clean-up of licence and author blurbs.
1083         Also move config.h out of a few .h files and into a few .C files.
1084
1085 2003-08-22  André Pönitz  <poenitz@gmx.net>
1086
1087         * lyxrow.[Ch]: add x_ and *fill_ members
1088
1089         * lyxtext.h:
1090         * text.C:
1091         * rowpainter.C:
1092         * text2.C: adjust/remove prepareToPrint() calls
1093
1094 2003-08-22  André Pönitz  <poenitz@gmx.net>
1095
1096         * lyxrow.[Ch]: add  end_ member
1097
1098         * lyxrow_funcs.C: use LyXRow::end_
1099
1100         * lyxtext.h (singleWidth): add LyXFont parameter
1101
1102         * rowpainter.C:
1103         * text2.C: adjust LyXText::singleWidth() calls
1104
1105         * text.C (redoParagraph): simplify row breaking logic
1106
1107
1108 2003-08-19  André Pönitz  <poenitz@gmx.net>
1109
1110         * funcrequest.C: initialize button_ member
1111
1112         * text3.C:
1113         * rowpainter.[Ch]: interface consolidation
1114
1115 2003-08-18  André Pönitz  <poenitz@gmx.net>
1116
1117         * BufferView.C:
1118         * BufferView_pimpl.C:
1119         * lyxfind.C:
1120         * paragraph_funcs.C:
1121         * rowpainter.C:
1122         * text3.C: remove LyXScreen::draw() and fitCursor calls
1123
1124         * BranchList.h: remove spurious semicolons
1125
1126         * MenuBackend.C: fix branchlist related crash
1127
1128 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1129
1130         * BranchList.[Ch]:
1131         * InsetList.[Ch]:
1132         * LColor.[Ch]:
1133         * LyXAction.C:
1134         * Makefile.am:
1135         * MenuBackend.[Ch]:
1136         * bufferparams.[Ch]:
1137         * factory.C:
1138         * lfuns.h:
1139         * lyxfunc.C:
1140         * text3.C: implements the 'branch inset'
1141         idea. This allows the output of various versions of a document
1142         from a single source version, selectively outputing or suppressing
1143         output of parts of the text.
1144         This implementation contains a 'branch list editor' in a separate
1145         tab of the document settings dialog. Branches are user definable
1146         and have a "display colour" to distinguish them on-screen.
1147
1148         ColorHandler was somewhat cleaned up.
1149         (1) make possible a dynamically growing LColor list by allowing
1150         the graphic context cache to grow along (vector);
1151         (2) eliminate an IMHO unnecessary step in colour allocation.
1152
1153 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1154
1155         * BufferView_pimpl.C: compile fix
1156
1157 2003-08-15  André Pönitz  <poenitz@gmx.net>
1158
1159         * rowpainter.C: remove extra metrics calls
1160
1161         * lyxtext.h: merge the two constructors into a single one,
1162           pass reference to owner's par list
1163
1164         * BufferView_pimpl.C:
1165         * text.C:
1166         * text2.C: adjust
1167
1168 2003-08-15  André Pönitz  <poenitz@gmx.net>
1169
1170         * lyxrow_funcs.[Ch]:
1171         * lyxtext.h:
1172         * paragraph.h:
1173         * paragraph_funcs.C:
1174         * rowpainter.C:
1175         * text.C:
1176         * text2.C:
1177         * text3.C:
1178         * text_funcs.C: split LyXText::rowlist_ into individual
1179         Paragraph::rows_ chunks
1180
1181         * BufferView.[Ch]:
1182         * BufferView_pimpl.[Ch]:
1183         * lyxfind.C:
1184         * lyxtext.h:
1185         * text3.C: remove toggleSelection()
1186
1187 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1188
1189         * bufferlist.C: beautify two alerts (shorter text of buttons)
1190         * buffer.C: Remove redundant ' ' from message
1191         * tabular.h:
1192         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1193         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1194         rename VALIGN_CENTER to VALIGN_MIDDLE
1195
1196 2003-08-11  André Pönitz  <poenitz@gmx.net>
1197
1198         * lyxtext.h (getPar):
1199         * text.C: new function
1200
1201 2003-08-11  André Pönitz  <poenitz@gmx.net>
1202
1203         * Makefile.am:
1204         * tracer.[Ch]: remove unneeded files
1205
1206         * InsetList.[Ch]: remove resizeInsetsLyXText()
1207
1208         * lyxtext.h:
1209         * text.C:
1210         * text2.C:
1211         * text3.C: merge insertParagraphs() and appendParagraph()
1212         remove breakAgain(), update()
1213
1214         * BufferView_pimpl.[Ch]:
1215         * bufferview_funcs.[Ch]:
1216         * lyxfunc.C:
1217         * paragraph.[Ch]:
1218         * rowpainter.C:
1219         * tabular.C: adjust after text & InsetList changes.
1220
1221 2003-08-08  André Pönitz  <poenitz@gmx.net>
1222
1223         * text.C (insertChar, backspace): replace rowlist fiddling
1224         with rebreak of full par
1225
1226         * lyxtext.h:
1227         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1228         checkParagraph, updateInset): removed
1229
1230 2003-08-07  André Pönitz  <poenitz@gmx.net>
1231
1232         * paragraph.C:
1233         * text3.C: merge some LFUN handlers, remove dead code
1234
1235 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1236
1237         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1238
1239 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1240
1241         * text2.C (DEPM): fix part of bug 1255 and 1256
1242
1243 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1244
1245         * BufferView_pimpl.C (workAreaDispatch): change to use
1246         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1247         that are no mouse related.
1248
1249 2003-08-05  André Pönitz  <poenitz@gmx.net>
1250
1251         * BufferView.[Ch]:
1252         * BufferView_pimpl.[Ch]:
1253         * bufferview_funcs.C:
1254         * text2.C:
1255         * text3.C: rip out "deep update"
1256
1257         * textcursor.[Ch] (last_sel_cursor): remove unused member
1258
1259 2003-08-04  André Pönitz  <poenitz@gmx.net>
1260
1261         * BufferView.[Ch]:
1262         * BufferView_pimpl.[Ch]:
1263         * ParagraphParameters.C:
1264         * bufferview_funcs.C:
1265         * lyx_cb.C:
1266         * lyxfind.C:
1267         * lyxfunc.C:
1268         * text.C:
1269         * text2.C:
1270         * text3.C: replace "complicated" BufferView::update(...) calls with
1271         simpler ones.
1272
1273         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1274
1275 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1276
1277         * Makefile.am (lyx_SOURCES): add paper.h
1278
1279 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1280
1281         * Makefile.am: move things around so that both lyx-qt and
1282         lyx-xforms can be built (according to --with-frontend). Then lyx
1283         is a symbolic link to lyx-[firstfrontend]
1284
1285 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1286
1287         * Always use std::endl with lyxerr
1288
1289 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1290
1291         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1292
1293 2003-08-01  André Pönitz  <poenitz@gmx.net>
1294
1295         * BufferView.[Ch]:
1296         * BufferView_pimpl.[Ch]:
1297         * lyxfunc.C:
1298         * text3.C: merge BufferView::repaint() and BufferView::update()
1299
1300 2003-08-01  José Matos  <jamatos@lyx.org>
1301
1302         * buffer.[Ch]: file_format is no longer a buffer data element.
1303
1304 2003-08-01  André Pönitz  <poenitz@gmx.net>
1305
1306         * BufferView.C:
1307         * lyxtext.h:
1308         * text.C:
1309         * text2.C: make redoParagraph more independent of current cursor
1310
1311         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1312         * text.C:
1313         * text2.C: remove unneeded members
1314
1315 2003-07-30  André Pönitz  <poenitz@gmx.net>
1316
1317         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1318
1319         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1320           create a single function...
1321
1322         * paragraph_funcs.C (moveItem): ... here.
1323
1324         * text.C:
1325           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1326
1327 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1328
1329         * LColor.[Ch]: Add comment and greyedout logical colors.
1330
1331 2003-07-30  André Pönitz  <poenitz@gmx.net>
1332
1333         * tabular.C: don't use Assert too heavily. This crashes where it
1334           shouldn't
1335
1336 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1337
1338         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1339         is disabled (bug 1232)
1340
1341 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1342
1343         * factory.C: limited 'arg' scope
1344
1345 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1346
1347         * factory.C: fixed Note submenu issues
1348
1349 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1350
1351         * factory.C: submenu for Note/Comment/Greyedout
1352
1353 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1354
1355         * lyx_main.C (LyX):
1356         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1357
1358 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1359
1360         * LaTeXFeatures.C:
1361         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1362         greyedout. Patch provided by Jürgen Spitzmüller.
1363
1364 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1365
1366         * kbmap.C (read): fix error message when reading bind files
1367
1368 2003-07-29  Angus Leeming  <leeming@lyx.org>
1369
1370         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1371         certainly does not do what it purports to do. I am doing it, and
1372         us, a favour by killing it.
1373
1374 2003-07-28  José Matos  <jamatos@lyx.org>
1375
1376         * buffer.C (readBody, do_writeFile):
1377         * paragraph.C(readParagraph): \end_document replaces \the_end.
1378
1379 2003-07-29  André Pönitz  <poenitz@gmx.net>
1380
1381         * BufferView.[Ch]:
1382         * BufferView_pimpl.[Ch]:
1383         * lyxfunc.C:
1384         * text2.C:
1385         * text3.C:
1386         * textcursor.[Ch]: remove toggleToggle & Co
1387
1388 2003-07-28  José Matos  <jamatos@fep.up.pt>
1389
1390         * buffer.C (readParagraph):
1391         * params_func (readParToken, readParagraph):
1392         * paragraph.C (write): \layout -> \begin_layout.
1393
1394 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1395
1396         * lyxlex_pimpl.C (setFile): clean up slightly.
1397
1398         * bufferparams.h: add compressed var
1399
1400         * buffer_funcs.C (readFile): adjust for LyXLex change
1401         (newFile): ditto + simplify
1402
1403         * buffer.C (writeFile): handle writing of compressed files
1404
1405         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1406         Check if the file is compressed and set a bufferparm if so.
1407
1408         * Makefile.am (lyx_LDADD): remove explicit -lz
1409
1410 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1411
1412         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1413         makeDocBookFile): put the real LyX version in the first line of
1414         the file
1415
1416         * version.h:
1417         * version.C.in: remove lyx_docversion
1418
1419         * tabular.C (write_attribute): add a template-based version to
1420         write enums properly
1421
1422 2003-07-28  André Pönitz  <poenitz@gmx.net>
1423
1424         * lyxtext.h:
1425         * text.C:
1426         * text2.C:
1427         * text3.C: use doubles again for x-coordinates. They are needed.
1428
1429 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1430
1431         * messages.C (getLocaleDir): use lyx_localedir()
1432
1433         * lyxlex_pimpl.C (setFile): compress stuff
1434
1435         * buffer.C (writeFile): add some compression stuff
1436         (do_writeFile): new func, dont call expliti close... will this
1437         breake anything?
1438
1439         * Makefile.am (lyx_LDADD): add -lz
1440
1441 2003-07-28  José Matos  <jamatos@fep.up.pt>
1442
1443         * buffer.C: increment file format.
1444         * paragraph_funcs (readParagraph, readParToken):
1445         * paragraph.C (readParagraph): add \end_layout.
1446
1447 2003-07-27  Angus Leeming  <leeming@lyx.org>
1448
1449         * Makefile.am: remove special casing for configure-time setting of
1450         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1451
1452         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1453         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1454
1455 2003-07-26  André Pönitz  <poenitz@gmx.net>
1456
1457         * paragraph_func.[Ch]:
1458         * paragraph.C (realizeFont): inline it whereever it is used
1459
1460         * rowpainter.C:
1461         * text.C:
1462         * text2.C:
1463         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1464
1465
1466 2003-07-26  André Pönitz  <poenitz@gmx.net>
1467
1468         *       lyxtext.h:
1469         * text.C:
1470         * text2.C: get rid of LyXText::need_break_row
1471
1472 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1473
1474         * toc.[Ch]: put namespace toc inside namespace lyx
1475
1476         * MenuBackend.C (expandToc2): adjust for lyx::toc
1477         (expandToc): ditto
1478
1479         * lyxfunc.C (dispatch): adjust for lyx::find
1480
1481         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1482         lyx::find instead. Reorganize a bit.
1483         (LyXReplace): rename to replace
1484         (LyXFind): rename to find
1485
1486         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1487         (dispatch): ditto
1488
1489 2003-07-26  André Pönitz  <poenitz@gmx.net>
1490
1491         * text.C (setHeightOfRow): restrict scope of temporary variable
1492
1493         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1494           code (never has been used?)
1495
1496 2003-07-27  Asger Alstrup  <alstrup@local>
1497
1498         * text.C (fill): Optimise algorithm to exploit that we can reuse
1499         the LyXFont for many characters.
1500         (setHeightOfRow): Same thing.
1501         (rowBreakPoint): Same thing.
1502
1503 2003-07-26  Asger Alstrup  <alstrup@local>
1504
1505         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1506
1507         * text.C (singleWidth): Spurious font copying in hot-spot
1508         singleWidth avoided. Reorder tests for arabic for efficiency.
1509
1510         * text.C (fill): handle empty paragraphs better.
1511
1512 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1513
1514         * ispell.C:
1515         * encoding.h: add includes
1516
1517         * lyxrc.C: remove reading of bind files
1518
1519         * lyx_main.C (init): setup bindings and menus only if we have a
1520         gui.
1521
1522         * kbmap.C (read): new method. Do the actual reading of bind
1523         files.
1524
1525         * converter.C (dvipdfm_options):
1526         * bufferparams.C:
1527         * lyxrc.C (read):
1528         (output): adapt PAPER_* enums.
1529
1530         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1531
1532         * bufferparams.h: remove paper-related enums from there
1533
1534         * paper.h: New file. A trivial header file to hold paper-related
1535         enums. It should later expand to contain many paper-related
1536         horrors access.
1537
1538         * lyxrc.C: declare extern displayTranslator
1539
1540 2003-07-27  José Matos  <jamatos@fep.up.pt>
1541
1542         * tabular.[Ch] (linuxdoc): add support for tables and figures
1543         (linuxdoc).
1544
1545 2003-07-27  José Matos  <jamatos@fep.up.pt>
1546
1547         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1548         consistency in both functions.
1549         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1550
1551 2003-07-26  Asger Alstrup  <alstrup@local>
1552
1553         * rowpainter.C (paintRows): Change algorithm to work directly on
1554         the insets rather than asking every character in the document
1555         whether its an inset.
1556
1557 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1558
1559         * buffer.C (openFileWrite): factorize some code
1560
1561 2003-07-26  Angus Leeming  <leeming@lyx.org>
1562
1563         * lyx_cb.C:
1564         * lyx_main.[Ch]: replace occurances of system_tempdir with
1565         os::getTmpDir().
1566
1567 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1568
1569         * rename Inset to InsetOld
1570
1571 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1572
1573         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1574         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1575         which I think is a bit clearer. EDIT is gone, since it was
1576         premature optimisation, and broken for mathed anyway.
1577         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1578         with cursor positioning in insets as well (math insets still do not
1579         work, but that's a different story anyway.) It mysteriously
1580         crashes sometimes with undo in the first paragraph, but I'm fairly
1581         confident that this is a compiler bug.
1582
1583 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1584
1585         * paragraph.C (Paragraph): adjust for new clone return type
1586         (operator==): ditto
1587         (copyIntoMinibuffer): ditto
1588
1589 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1590
1591         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1592         by not having a special case, and always doing a full rebreak of
1593         the document after undo.
1594
1595 2003-07-23  Angus Leeming  <leeming@lyx.org>
1596
1597         * factory.C (createInset): InsetExternal::setParams now takes a
1598         Buffer const * arg.
1599
1600 2003-07-23  Angus Leeming  <leeming@lyx.org>
1601
1602         * factory.C (createInset): changed interface to the external and
1603         graphics mailers' string2params functions.
1604
1605 2003-07-23  Angus Leeming  <leeming@lyx.org>
1606
1607         * factory.C (createInset): pass a
1608         Buffer const * parameter to InsetExternalMailer's string2params.
1609
1610 2003-07-22  John Levon  <levon@movementarian.org>
1611
1612         * Thesaurus.h: include the right aiksaurus header
1613
1614 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1615
1616         * MenuBackend.C (expand): check menu shortcuts unconditionally
1617
1618 2003-07-21  Angus Leeming  <leeming@lyx.org>
1619
1620         * factory.C (createInset): pass a
1621         buffer_path parameter to InsetGraphicsMailer's string2params.
1622
1623 2003-07-21  Angus Leeming  <leeming@lyx.org>
1624
1625         * BufferView_pimpl.C (buffer):
1626         * buffer.C (d-tor):
1627         * lyx_main.C (LyX):
1628         * lyxfunc.C (dispatch):
1629         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1630         rather than the grfx shortcut.
1631
1632 2003-07-21  André Pönitz  <poenitz@gmx.net>
1633
1634         * rowpainter.C: remove unused variables
1635
1636         * tabular_funcs.C:
1637         * tabular_funcs.h: move to tabular.C
1638         * Makefile.am: adjust
1639
1640         * tabular.[Ch]: basic optical cleaning
1641
1642         * author.h: pass references, not values
1643
1644 2003-07-18  André Pönitz  <poenitz@gmx.net>
1645
1646         * lyxtext.h:
1647         * metricsinfo.C:
1648         * metricsinfo.h:
1649         * rowpainter.C:
1650         * text.C:
1651         * text2.C:
1652         * text3.C: two-phase drawing for InsetText and InsetTabular
1653         some float -> int changes.
1654
1655 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1656
1657         * lyx_main.C: fix the fix
1658
1659 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1660
1661         * lyx_main.C: fix a crash in batch mode if no files specified
1662         * converter.C: ws
1663
1664 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1665
1666         * format.[Ch] (papersize): moved to BufferParams
1667         * converter.[Ch] (dvips_options): moved to BufferParams
1668         (dvipdfm_options): moved to anon namespace
1669         * bufferparams.[Ch]: added above functions.
1670
1671 2003-07-17  André Pönitz  <poenitz@gmx.net>
1672
1673         * lyxtext.h:
1674         * rowpainter.C:
1675         * text2.C: don't call inset->update() anymore
1676
1677         * metricsinfo.[Ch]: add convenience constructor
1678
1679 2003-07-16  André Pönitz  <poenitz@gmx.net>
1680
1681         * lyxcursor.[Ch]:
1682         * lyxfunc.[Ch]:
1683         * text.C:
1684         * text2.C: replace the LyXCursor::irow_ member with
1685          on-demand computation of the value
1686
1687 2003-07-16  John Levon  <levon@movementarian.org>
1688
1689         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1690
1691 2003-07-15  André Pönitz  <poenitz@gmx.net>
1692
1693         * text.C:
1694         * text2.C: remove no more needed refresh_row
1695
1696 2003-07-15  André Pönitz  <poenitz@gmx.net>
1697
1698         * lyxtext.h:
1699         * rowpainter.C:
1700         * text2.C:
1701         * text3.C: refresh_status tristate -> need_update bool
1702
1703 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1704
1705         * lyxtext.h (init): remove reinit argument (act as if always true)
1706         * text2.C: adjust to that
1707
1708 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1709
1710         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1711         * text3.C: use it to delete selections in some cases
1712         (bugs 441, 673, 702, 954).
1713
1714 2003-07-14  André Pönitz  <poenitz@gmx.net>
1715
1716         * rowpainter.[Ch]: reduce interface
1717
1718 2003-07-14  André Pönitz  <poenitz@gmx.net>
1719
1720         * BufferView_pimpl.C:
1721         * text2.C: adjust after removing unused BufferView * argument
1722
1723 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1724
1725         * text2.C (init): fix a crash fired on resize
1726
1727 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1728
1729         * buffer.[Ch]: added new closing signal
1730         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1731         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1732         BufferView::Pimpl via the closing the signal
1733
1734 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1735
1736         * buffer.[Ch]: take out all bv-related from buffer
1737         * BufferView.C:
1738         * BufferView_pimpl.[Ch]: connect to new signals
1739         * CutAndPaste.C: removed useless asserts
1740         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1741         * lyxvc.[Ch]:
1742         * vc-backend.[Ch]:
1743         * lyxfunc.C: moved view-related funciontality from vc here
1744         * paragraph.C: removed outdated comments
1745         * text.C: ws
1746
1747 2003-07-10  André Pönitz  <poenitz@gmx.net>
1748
1749         * BufferView_pimpl.C:
1750         * tabular.h:
1751         * tabular_funcs.C:
1752         * text.C:
1753         * text2.C: remove InsetText::InnerCache, clean up consequences
1754
1755 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1756
1757         * ispell.C: fix two typos in error messages
1758
1759 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1760
1761         * Extend Note inset to other forms of annotation like Comment
1762         and Greyedout. Right button click gives dialog.
1763
1764         Files modified or added (+):
1765
1766         * insetnote.[Ch]
1767         * FormNote.[Ch]      +
1768         * ControlNote.[Ch]   +
1769         * form_note.fd       +
1770         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1771         frontends/controllers
1772         * xforms/Dialogs.C
1773         * factory.C
1774
1775 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1776
1777         * aspell.C: add missing namespace lyx::support
1778
1779 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1780
1781         * BufferView.[Ch] (newFile): Add
1782         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1783         * LaTeX.[Ch] (message): added this signal and use it
1784         * buffer.[Ch] (busy, message): added these signals and use them
1785         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1786         * converter.C:
1787         * exporter.C:
1788         * format.C:
1789         * importer.C: use buffer signals instead of direct bv calling
1790         * lyx_cb.[Ch] (ShowMessage): removed
1791         * lyx_main.C:
1792         * lyxfunc.C:
1793         * paragraph_funcs.C:
1794         * text2.C: use buffer signals
1795
1796 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1797
1798         * introduce namespace lyx::graphics
1799
1800 2003-07-02  André Pönitz  <poenitz@gmx.net>
1801
1802         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1803
1804 2003-07-01  André Pönitz  <poenitz@gmx.net>
1805
1806         * text.C:
1807         * text2.C:
1808         * text3.C:
1809         * text_funcs.[Ch]:
1810         * textcursor.h:
1811         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1812           text*.C to text_func.C
1813
1814 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1815
1816         * introduce namespace lyx::support
1817
1818 2003-06-30  André Pönitz  <poenitz@gmx.net>
1819
1820         * Chktex.C:
1821         * funcrequest.C:
1822         * lyxtext.h:
1823         * text.C: re-enable --with-included-string
1824
1825 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1826
1827         * textcursor.C: add <config.h>
1828
1829         * text.C (getWord): remove const from word_location arg
1830
1831         * lyxvc.C (getLogFile): fix const type order
1832
1833         * lyxtext.h: remove const from word_location arg, add arg name
1834
1835         * lyxlayout.h: currect type on labeltype.
1836
1837         * importer.C: correct \file
1838
1839         * converter.C (intToFormat): use std:: on ret val, ws changes
1840
1841         * bufferlist.h: correct \file
1842
1843         * buffer.C (makeLinuxDocFile): fix const type order
1844         (makeDocBookFile): ditto
1845         (fillWithBibKeys): use std:: on stdlib args.
1846
1847         * CutAndPaste.C: fix authors.
1848         (availableSelections): use std:: on return vector
1849
1850 2003-06-27  André Pönitz  <poenitz@gmx.net>
1851
1852         * BufferView_pimpl.C:
1853         * bufferview_funcs.C:
1854         * lyxcursor.C:
1855         * lyxcursor.h:
1856         * lyxfunc.C:
1857         * lyxtext.h:
1858         * rowpainter.C:
1859         * text.C:
1860         * text2.C:
1861         * text3.C: remove LyXCursor::row_ member
1862
1863         * lyxtext.h:
1864         * text.C: rename fullRebreak() to partialRebreak() and implement
1865           a fullRebreak() that really bereks fully
1866
1867         * textcursor.h: new struct for cursor-related data
1868
1869 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1870
1871         * lyx_main.C (LyX): get full path of document loaded on the
1872         command line
1873
1874 2003-06-26  André Pönitz  <poenitz@gmx.net>
1875
1876         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1877           remove unused/broken operator>,<,>=.
1878
1879         *       text.C: remove only use of broken operator<= in an Assert().
1880
1881 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1882
1883         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1884         moved errorlist_.clear to showErrorList
1885
1886 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1887
1888         * converter.C (scanLog, runLaTeX):
1889         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1890         move the bv->showErrorList call to the callers
1891         * lyxfunc.C: i.e. here...
1892         * text2.C: and here
1893         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1894         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1895         namespace, the second to...
1896         * buffer_funcs (BufferFormat, parseErrors): added
1897         * errorlist.C (ErrorList(TeXErrors const &)): removed
1898
1899 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1900
1901         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1902
1903 2003-06-24  "Garst R. Reese" <reese@isn.net>
1904
1905         * debug.C: fix typo
1906
1907 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1908
1909         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1910
1911         * version.C.in: change docversion to 1.4
1912
1913 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1914
1915         * buffer.C: fix a bug just introduced
1916
1917 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1918
1919         * buffer.[Ch]: added the parseError signal and use it, removed
1920         sgmlError
1921         * BufferView.[Ch] (addError): moved to ...
1922         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1923         to the Buffer::parseError signal to catch (guess what) parse errors
1924         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1925
1926 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1927
1928         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1929         ability to create a buffer and to return an existing one from
1930         the list. Moved these functions to...
1931         * buffer_funcs.[Ch]: added
1932         * BufferView.[Ch] (loadLyXFile): added
1933         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1934         job removed from bufferlist::loadLyXFile.
1935         * buffer.C (setReadOnly): make it work without view
1936         (i.e added an if (users))
1937
1938 2003-06-19  Angus Leeming  <leeming@lyx.org>
1939
1940         * lfuns.h:
1941         * LyXAction.C (init):
1942         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1943         with LFUN_DIALOG_SHOW <name> <data>.
1944
1945 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1946
1947         * CutAndPaste.C (availableSelections): small compilation fix for
1948         ancient (gcc 2.9x) compilers
1949
1950 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1951
1952         * text3.C (cursorNext): add tmp var
1953
1954         * text2.C (updateCounters): for function calling out of for clause
1955         (replaceSelectionWithString): ditto
1956         (insertStringAsParagraphs): ditto
1957         (getColumnNearX): add tmp var
1958         (setCursorFromCoordinates): add tmp var
1959         (cursorDownParagraph): add tmp var
1960         (deleteEmptyParagraphMechanism): add tmp var
1961
1962         * text.C (insertChar): add tmp var
1963
1964         * rowpainter.C (paintDepthBar): add tmp var
1965
1966         * CutAndPaste.C (availableSelections): potentially check all
1967         paragraphs in a cut to fill the shown strings.
1968
1969 2003-06-18  André Pönitz  <poenitz@gmx.net>
1970
1971         * kbmap.[Ch]: use vector<> instead of list<>
1972
1973 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1974
1975         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1976         pasteSelection with index
1977
1978         * text2.C (pasteSelection): modify, call pasteSelection with index
1979
1980         * paragraph.C (asString): reimplement version with no interval to
1981         call the one with interval.
1982
1983         * lyxtext.h: add index arg to pasteSelection
1984
1985         * MenuBackend.C (MenuItem): handle PasteRecent
1986         (Menu::read::Menutags): add md_pasterecent
1987         (read): handle it
1988         (expandPasteRecent): new function
1989         (expand): use it
1990
1991         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1992
1993         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1994         the limited stack
1995         (availableSelections): new function
1996
1997 2003-06-17  Angus Leeming  <leeming@lyx.org>
1998
1999         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2000
2001 2003-06-17  Angus Leeming  <leeming@lyx.org>
2002
2003         * lfuns.h:
2004         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2005
2006         * lyxfunc.C (dispatch): invoke it.
2007
2008 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2009
2010         * iterators.C (operator++, ParPosition): reintroduce some
2011         const_cast for the benefit of older compilers.
2012
2013 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2014
2015         * text3.C (dispatch): do not modify clipboard when doing
2016         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2017         LFUN_DELETE_SKIP on a selection selection
2018
2019 2003-06-16  André Pönitz  <poenitz@gmx.net>
2020
2021         * BufferView.C:
2022         * buffer.C:
2023         * buffer.h:
2024         * paragraph.C:
2025         * tabular.[Ch]: IU of clone() and getLabelList();
2026
2027 2003-06-13  André Pönitz  <poenitz@gmx.net>
2028
2029         * tabular.h: compactification
2030
2031 2003-06-12  André Pönitz  <poenitz@gmx.net>
2032
2033         * tabular.C:
2034         * tabular.h:
2035         * tabular_funcs.h: some renaming plus whitespace
2036
2037 2003-06-12  André Pönitz  <poenitz@gmx.net>
2038
2039         * BufferView.C:
2040         * BufferView_pimpl.C:
2041         * CutAndPaste.C:
2042         * buffer.C:
2043         * iterators.[Ch]:
2044         * lyxfunc.C:
2045         * text.C:
2046         * toc.C: Return a Paragraph & for ParIterator::operator*()
2047
2048 2003-06-11  John Levon  <levon@movementarian.org>
2049
2050         * lyx_main.C:
2051         * ToolbarBackend.h:
2052         * ToolbarBackend.C: add "Toolbars" section and
2053         put the flags there
2054
2055 2003-06-10  Angus Leeming  <leeming@lyx.org>
2056
2057         * lfuns.h:
2058         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2059
2060         * lyxfunc.C (dispatch): invoke it.
2061
2062 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2063
2064         * main.C: protect <ios> with HAVE_IOS
2065         (main): protect sync_with_stdio with HAVE_IOS
2066
2067 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2068
2069         * text2.C (cutSelection): adjust
2070         (pasteSelection): adjust
2071
2072         * messages.C: handle get of empty string
2073
2074         * main.C (main): use sync_with_stdio(false)
2075
2076         * lyxfunc.C (dispatch): adjust
2077
2078         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2079         (WriteAs): remove unneeded BufferView arg.
2080
2081         * bufferparams.h: use correct types on papersize, papersize2 and
2082         paperpackage.
2083
2084         * bufferparams.C (readToken): adjust for type
2085         (writeLaTeX): add missing cases to switch.
2086
2087         * bufferlist.C (quitWriteBuffer): adjust
2088         (close): adjust
2089
2090         * buffer.C (asciiParagraph): remove some commented code.
2091
2092         * CutAndPaste.C: remove current_view extern variable.
2093         (cutSelection): add BufferParams arg.
2094         (eraseSelection): add BufferParams arg.
2095         (pasteSelection): add Buffer const & arg
2096
2097 2003-06-07  John Levon  <levon@movementarian.org>
2098
2099         * buffer.C:
2100         * paragraph_funcs.C:
2101         * paragraph_pimpl.C:
2102         * text.C:
2103         * text2.C:
2104         * paragraph.h:
2105         * paragraph.C: allow InsetERT to freely space lines,
2106         and some consolidation of code
2107
2108 2003-06-06  José Matos  <jamatos@fep.up.pt>
2109
2110         * buffer.C (makeDocBookFile): fix bug #821
2111
2112 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2113
2114         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2115
2116 2003-06-04  Angus Leeming  <leeming@lyx.org>
2117
2118         * buffer.C: bump format to 224.
2119
2120 2003-06-05  André Pönitz  <poenitz@gmx.net>
2121
2122         * text2.C (redoParagraphs): remove two const_cast<>
2123
2124 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2125
2126         * ParagraphList.h: remove last remnants of NO_STD_LIST
2127
2128 2003-06-03  Angus Leeming  <leeming@lyx.org>
2129
2130         * factory.C (createInset): small change to the way InsetExternal's params
2131         are set.
2132
2133 2003-06-04  André Pönitz  <poenitz@gmx.net>
2134
2135         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2136
2137         * paragraph_pimpl.h:
2138         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2139
2140         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2141
2142         * undo_funcs.C: make some simple cases of undo work again
2143
2144 2003-06-03  John Levon  <levon@movementarian.org>
2145
2146         * ispell.C: HPUX doesn't have sys/select.h
2147         (from Albert Chin)
2148
2149 2003-06-03  John Levon  <levon@movementarian.org>
2150
2151         * CutAndPaste.C: update tabular and include inset
2152         buffer references
2153
2154         * buffer.h:
2155         * paragraph.h:
2156         * paragraph.C: remove owningBuffer(), don't pass Buffer
2157         to clone()
2158
2159         * factory.C: insetGraphicsParams changed
2160
2161 2003-06-02  John Levon  <levon@movementarian.org>
2162
2163         * LyXAction.C:
2164         * factory.C:
2165         * lfuns.h:
2166         * lyxfunc.C:
2167         * text3.C: remove insetparent
2168
2169 2003-06-02  John Levon  <levon@movementarian.org>
2170
2171         * buffer.h:
2172         * buffer.C: fix inset_iterator.end(), move out of line
2173         (bug 1149)
2174
2175 2003-06-01  John Levon  <levon@movementarian.org>
2176
2177         * text3.C: use a proper cut/paste when doing inset
2178         insert (from Jürgen Spitzmüller)
2179
2180 2003-06-01  John Levon  <levon@movementarian.org>
2181
2182         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2183
2184 2003-05-30  André Pönitz  <poenitz@gmx.net>
2185
2186         * rowpainter.C: unify second drawing phase
2187
2188 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2189
2190         * trans_mgr.C: remove one case of current_view
2191
2192         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2193
2194         * paragraph_funcs.h: remove paragraph.h include
2195
2196         * paragraph.h: delete NO_STD_LIST stuff
2197
2198         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2199
2200         * buffer.h: remove paragraph.h include
2201
2202         * ParagraphList.C: delete file
2203
2204         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2205
2206         * toc.C (getTocList): adjust
2207
2208         * paragraph_pimpl.C (validate): adjust
2209
2210         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2211
2212         * paragraph.C (Paragraph): adjust
2213         (getPositionOfInset): use const_iterator, adjust
2214         (bibitem): use const_iterator, adjust
2215         (setInsetOwner): adjust
2216
2217         * iterators.C (operator++): adjust
2218
2219         * InsetList.[Ch]: Replace selfmade iterator with standard
2220         vector::iterator also introduce const_iterator. Remove getPos,
2221         getInset and setInset from InsetTable. Adjust accordingly.
2222
2223         * BufferView.C (lockInset): adjust
2224         (ChangeInsets): adjust
2225
2226         * tabular.[Ch]: delete commented same_id functions
2227
2228 2003-05-28  John Levon  <levon@movementarian.org>
2229
2230         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2231
2232 2003-05-28  André Pönitz  <poenitz@gmx.net>
2233
2234         * metricsinfo.[Ch]: remove 'fullredraw' member
2235
2236 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2237
2238         * lyxtextclass.C (operator): remove caching.
2239
2240 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2241
2242         * text3.C: adjust
2243
2244         * text2.C (cursorBottom): adjust
2245         (setCounter): use ParagraphList::find, adjust
2246
2247         * text.C (workWidth): use ParagraphList::find, adjust
2248
2249         * lyxcursor.C (LyXCursor): adjust
2250
2251         * buffer.C (inset_iterator): adjust
2252
2253         * ParagraphList.h: make iterator(value_type) private, make
2254         ParagraphList a friend of iterator.
2255
2256         * ParagraphList.C (find): new function
2257
2258         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2259
2260 2003-05-27  André Pönitz  <poenitz@gmx.net>
2261
2262         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2263
2264 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2265
2266         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2267
2268 2003-05-26  John Levon  <levon@movementarian.org>
2269
2270         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2271
2272 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2273
2274         * remove same_id from function signatures, adjust.
2275
2276 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2277
2278         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2279
2280         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2281
2282         * paragraph.C (Paragraph): get rid of same_ids parameter
2283
2284         * ParagraphList.C (insert): adjust
2285         (push_back): adjust
2286
2287 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2288
2289         * paragraph_funcs.C (breakParagraph): adjust
2290         (breakParagraphConservative): adjust
2291
2292         * buffer.C (readParagraph): adjust
2293
2294         * ParagraphList.C (insert): take a reference instead of a pointer
2295         (insert): adjust
2296
2297         * paragraph.[Ch] (id): new function
2298
2299         * bufferlist.C (newFile): adjust
2300
2301         * ParagraphList.C (ParagraphList): adjust
2302         (assign): adjust
2303         (push_back): take a reference instead of a pointer.
2304
2305         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2306
2307         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2308         instead.
2309
2310         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2311         set else use old code.
2312
2313         * ParagraphList.C: remove all NO_NEXT code and only compile this
2314         code of NO_STD_LIST is set.
2315
2316 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2317
2318         * BufferView_pimpl.C:
2319         * TextCache.C:
2320         * TextCache.h:
2321         * bufferlist.C:
2322         * errorlist.h:
2323         * format.C:
2324         * format.h:
2325         * graph.C:
2326         * lyxfunc.C:
2327         * lyxrc.C:
2328         * graphics/GraphicsConverter.C:
2329         * graphics/PreviewLoader.C: header adjustment
2330
2331 2003-05-23  Angus Leeming  <leeming@lyx.org>
2332
2333         * LaTeXFeatures.[Ch] (useBabel): new method.
2334         * bufferparams.C (writeLaTeX): use it.
2335
2336 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2337
2338         * ParagraphList.h (set): remove unused function.
2339
2340 2003-05-23  André Pönitz  <poenitz@gmx.net>
2341
2342         * BufferView.C:
2343         * BufferView_pimpl.C:
2344         * buffer.C:
2345         * buffer.h:
2346         * lyxfunc.C:
2347         * undo_funcs.C: setUndo reworked
2348
2349         * iterators.[Ch]: add access to topmost ParagraphList
2350
2351         * lyxtext.[Ch] (workWidth): add a const
2352
2353 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2354
2355         * texrow.[Ch] (increasePos): remove function
2356         * exporter.C (export): removed unused var and outdated comment
2357
2358 2003-05-23  Angus Leeming  <leeming@lyx.org>
2359
2360         * latexrunparams.h: rename fragile as moving_arg.
2361         * paragraph.C (simpleTeXOnePar): ditto.
2362         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2363
2364 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2365
2366         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2367         (createUndo): ditto
2368         (textUndoOrRedo): comment out a currently unused var.
2369
2370         * paragraph.h (NO_NEXT): enable NO_NEXT
2371
2372         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2373
2374         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2375
2376         * exporter.C (Export): adjust for removeAutoInsets removal.
2377
2378         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2379
2380         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2381
2382         * BufferView.[Ch] (removeAutoInsets): delete function
2383
2384 2003-05-22  Angus Leeming  <leeming@lyx.org>
2385
2386         * latexrunparams.h: add a free_spacing variable.
2387
2388         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2389         to pass moving_arg, as the data is stored in runparams.fragile.
2390
2391         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2392         to Inset::latexOptional or to simpleTeXOnePar.
2393
2394         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2395         free_spacing arg to Inset::latexOptional.
2396
2397         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2398         free_spacing arg.
2399
2400 2003-05-22  Angus Leeming  <leeming@lyx.org>
2401
2402         * latexrunparams.h: add fragile and use_babel variables.
2403
2404         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2405         * buffer.C (makeLaTeXFile): store this returned value in
2406         runparams.use_babel, thus passing it to the inset::latex methods.
2407
2408         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2409         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2410
2411         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2412         longer has a fragile arg, as it is stored in runparams.fragile.
2413
2414         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2415         moving_arg parameter as the data is stored in runparams.fragile.
2416
2417         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2418         a fragile parameter as the data is stored in runparams.fragile.
2419
2420 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2421
2422         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2423
2424 2003-05-22  Angus Leeming  <leeming@lyx.org>
2425
2426         * latexrunparams.h: add a 'bool nice' which defaults to false.
2427
2428         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2429         now encapsulated within runparams.
2430
2431         * bufferlist.C (updateIncludedTeXfiles):
2432         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2433
2434 2003-05-22  Angus Leeming  <leeming@lyx.org>
2435
2436         * latexrunparams.h: new file containing struct LatexRunParams.
2437         * Makefile.am: add new file.
2438
2439         * LaTeX.[Ch] (c-tor, run):
2440         * buffer.[Ch] (makeLaTeXFile):
2441         * bufferlist.[Ch] (updateIncludedTeXfiles):
2442         * converter.C (convert, scanLog):
2443         * converter.[Ch] (runLaTeX):
2444         * exporter.C (Export):
2445         * paragraph.[Ch] (simpleTeXOnePar):
2446         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2447         * paragraph_funcs.[Ch] (latexParagraphs):
2448         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2449         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2450         pass around a LatexRunParams parameter.
2451
2452 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2453
2454         * paragraph.[Ch]: remove unused constructor
2455
2456         * ParagraphList.C (erase): new function, taking two iterators
2457
2458 2003-05-22  André Pönitz  <poenitz@gmx.net>
2459
2460         * undo_funcs.C: remove duplicated code
2461
2462         * iterator.[Ch]: operator=
2463
2464 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2465
2466         * tabular.C (SetMultiColumn): ws changes
2467
2468         * rowpainter.C (paintFirst): get rid of a ->previous
2469
2470         * lyx_cb.C (getPossibleLabel): parlist simplification
2471
2472         * BufferView.C (ChangeInsets): simplify slightly.
2473
2474 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2475
2476         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2477         * lfuns.h: new LFUN_SPACE
2478         * lyxfunc.C: protected space has a new lfun
2479         * paragraph_funcs.C: read new space insets
2480         * text3.C:
2481         * factory.C: handle new space insets
2482
2483 2003-05-22  André Pönitz  <poenitz@gmx.net>
2484
2485         * BufferView.C:
2486         * BufferView_pimpl.C:
2487         * buffer.[Ch]:
2488         * lyxfunc.C:
2489         * undo_funcs.C: return a ParIterator from getParFromID.
2490
2491         * iterators.[Ch]: add two const's
2492
2493 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2494
2495         * toc.C (getTocList): adjust
2496
2497         * iterators.[Ch]: rework for parlist
2498
2499         * buffer.C (par_iterator_begin): adjust
2500         (par_iterator_end): adjust
2501
2502         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2503
2504         * BufferView.C (removeAutoInsets): adjust
2505         (ChangeInsets): adjust
2506
2507 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2508
2509         * text.C (top_y): fix bug 1110
2510
2511 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2512
2513         * errorlist.[Ch]: added
2514         * buffer.C:
2515         * BufferView.[Ch]:
2516         * BufferView_pimpl.C:
2517         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2518         instead
2519
2520 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2521
2522         * Makefile.am: ensure that lyx is relinked upon changes to the
2523         various "convenience" libs.
2524
2525 2003-05-20  Angus Leeming  <leeming@lyx.org>
2526
2527         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2528         files are compiled in alphabetical order again.
2529
2530         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2531
2532 2003-05-19  Angus Leeming  <leeming@lyx.org>
2533
2534         * gettext.[Ch]: remove "char const * _(char const *)".
2535
2536 2003-05-19  André Pönitz  <poenitz@gmx.net>
2537
2538         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2539
2540         * Makefile.am:
2541         * BufferView.C:
2542         * DepTable.h:
2543         * LaTeXFeatures.C:
2544         * buffer.C:
2545         * lyxfont.C:
2546         * lyxlex.h:
2547         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2548
2549 2003-05-19  André Pönitz  <poenitz@gmx.net>
2550
2551         * buffer.C:
2552         * lyxlayout.[Ch]:
2553         * lyxtextclass.[Ch]:
2554         * paragraph.C:
2555         * paragraph_funcs.[Ch]:
2556         * text2.C:
2557         * text3.C: more insetenv work
2558
2559 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2560
2561         * ParagraphParameters.C (params2string): small bug fixed
2562
2563 2003-05-16  André Pönitz  <poenitz@gmx.net>
2564
2565         * debug.C:
2566         * bufferview_funcs.C: patch from Kornel Benko to prevent
2567           crash when _(...) is called twice in a statement
2568
2569 2003-05-16  André Pönitz  <poenitz@gmx.net>
2570
2571         * BufferView.C:
2572         * lyxfunc.C:
2573         * text.C:
2574         * text2.C:
2575         * text3.C:
2576         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2577
2578 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2579
2580         * lyx_main.C (init): remove spurious static_cast
2581
2582 2003-05-14  André Pönitz  <poenitz@gmx.net>
2583
2584         * BufferView.C: fix format string
2585
2586 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2587
2588         * BufferView.[Ch] (insertErrors): removed
2589         * BufferView.[Ch] (showErrorList): added
2590         * buffer.C (runChkTeX):
2591         * converter.C (scanLog): call showErrorList instead of inserterrors
2592
2593 2003-05-13  André Pönitz  <poenitz@gmx.net>
2594
2595         * BufferView_pimpl.C:
2596         * buffer.C:
2597         * bufferview_func.C:
2598         * MenuBackend.C:
2599         * lyxfunc.C:
2600         * lyxrc.C:
2601         * tex-accent.C:
2602         * text3.C:
2603         * toc.C:
2604         * tabular_funcs.h: tostr() from its own header
2605
2606         * ParagraphParameters.C:
2607         * ToolbarBackend.C:
2608         * bufferparams.C:
2609         * format.C:
2610         * lyxlex_pimpl.C:
2611         * text3.C: STRCONV()
2612
2613 2003-05-12  André Pönitz  <poenitz@gmx.net>
2614
2615         * BufferView.C:
2616         * BufferView_pimpl.C:
2617         * CutAndPaste.C:
2618         * LaTeX.C:
2619         * LaTeXFeatures.C:
2620         * ParagraphParameters.C:
2621         * buffer.C:
2622         * bufferlist.C:
2623         * bufferparams.C:
2624         * bufferview_funcs.C:
2625         * converter.C:
2626         * counters.C:
2627         * debug.C:
2628         * exporter.C:
2629         * format.C:
2630         * importer.C:
2631         * lyx_cb.C:
2632         * lyx_main.C:
2633         * lyxfont.C:
2634         * lyxfunc.C:
2635         * lyxvc.C:
2636         * paragraph.C:
2637         * paragraph_funcs.C:
2638         * tabular.C:
2639         * tabular_funcs.C:
2640         * text2.C:
2641         * text3.C:  boost::format -> bformat  all over the place
2642
2643
2644 2003-05-09  André Pönitz  <poenitz@gmx.net>
2645
2646         * LColor.[Ch]: Pimpl the #include <map> away
2647
2648 2003-05-09  John Levon  <levon@movementarian.org>
2649
2650         * bufferlist.C: never remove emergency saves
2651
2652 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2653
2654         * Makefile.am: better lib building
2655
2656 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2657
2658         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2659         instead.
2660         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2661         (simpleTeXSpecialChars): adjust
2662         (simpleTeXSpecialChars): adjust
2663         * paragraph.C (simpleTeXOnePar): adjust
2664         * buffer.C (makeLaTeXFile): adjust
2665
2666         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2667
2668         * text2.C (changeDepth): parlist cleanup
2669         (getColumnNearX): ditto
2670
2671         * rowpainter.C (getLabelFont): parlist cleanup
2672
2673         * bufferlist.C (newFile): parlist cleanup
2674
2675         * CutAndPaste.C (eraseSelection): parlist cleanup
2676
2677         * BufferView_pimpl.C (trackChanges): parlist cleanup
2678         (dispatch): ditto
2679
2680         * BufferView.C (lockInset): parlist cleanup.
2681         (ChangeInsets): ditto
2682
2683 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2684
2685         * CutAndPaste.h: Update file header.
2686
2687         * CutAndPaste.C: Update file header.
2688         Store the parts cut out of the Document in a limited_stack.
2689         (copySelection): adjust
2690         (pasteSelection): new function, takes the index in the limited stack.
2691         (nrOfParagraphs): adjust
2692         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2693         simplify error inset insertion.
2694         (checkPastePossible): adjust
2695
2696 2003-05-06  John Levon  <levon@movementarian.org>
2697
2698         * text2.C: don't cast wrap inset to float
2699
2700 2003-05-05  André Pönitz  <poenitz@gmx.net>
2701
2702         * iterator.C:
2703         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2704
2705         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2706           few naked Paragraph *.
2707
2708 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2709
2710         * bufferparams.C: Output warning if a document with missing
2711         TeX document class is loaded
2712         * exporter.C: Disable TeX exports if the document class is missing
2713         * lyxtextclass.C:
2714         * lyxtextclass.h:
2715         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2716         isTeXClassAvailable()
2717
2718 2003-05-03  John Levon  <levon@movementarian.org>
2719
2720         * BufferView.h:
2721         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2722         explicit cursor show/hide
2723
2724         * BufferView_pimpl.h:
2725         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2726         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2727
2728         * lyxfunc.C: hide cursor before dispatching.
2729
2730         * lyx_cb.C:
2731         * lyxfind.C:
2732         * text.C:
2733         * text3.C: remove explicit cursor hides
2734
2735 2003-05-02  André Pönitz  <poenitz@gmx.net>
2736
2737         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2738
2739         * undo_funcs.C:
2740         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2741           linked lists
2742
2743         * text2.C: tiny whitespace
2744
2745 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2746
2747         * undo_funcs.C: almost only ws changes.
2748
2749         * ParagraphList.C (splice): just return if pl is empty.
2750
2751 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2752
2753         * ParagraphList.C (splice): new function.
2754
2755         * CutAndPaste.C (pasteSelection): use it
2756
2757 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2758
2759         * CutAndPaste.C (pasteSelection): remove the last next and
2760         previous from this file.
2761
2762 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2763
2764         * CutAndPaste.C (pasteSelection): more clean up, user proper
2765         ParagraphList functions for pasteing.
2766
2767         * ParagraphList.C (insert): new function, three arg insert
2768
2769 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2770
2771         * ParagraphList.C (insert): new function, three arg insert
2772
2773         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2774         not on paragraphs.
2775
2776 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2777
2778         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2779
2780 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2781
2782         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2783
2784 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2785
2786         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2787         (copySelection): clean up a bit.
2788         (pasteSelection): use make_pair
2789
2790         * ParagraphList.C (ParagraphList): implement copy constructor
2791         (operator=): implement, base on copy constructor.
2792         (assign): new func
2793
2794         * paragraph.C (erase): return a bool
2795
2796         * paragraph_pimpl.C (erasePos): remove function, move contents...
2797         (erase): ... here. Return a bool.
2798         (erase): call erase instead of erasePos.
2799
2800 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2801
2802         * ParagraphList.h: define PitPosPair
2803         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2804         ParagraphList, fix a bug on pasting multiple pars
2805         * text2.C: change interface to C&P
2806
2807 2003-04-30  André Pönitz  <poenitz@gmx.net>
2808
2809         * undo_func.C: revert part of yesterday's patch 2
2810
2811 2003-04-30  John Levon  <levon@movementarian.org>
2812
2813         * LColor.C: s/tabular/table/
2814
2815 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2816
2817         * text3.C (dispatch): do not convert iterator -> pointer
2818         * undo_funcs.C (setCursorParUndo): ditto
2819         * text_funcs.C (transposeChars): ditto
2820
2821         * text2.C (setLayout): ws changes only
2822
2823         * text.C (breakParagraph): do not convert iterator -> pointer
2824         (insertChar): ditto
2825         (acceptChange): ditto
2826         (rejectChange): ditto
2827         (changeCase): ditto
2828         (Delete): ditto
2829         (backspace): ditto
2830
2831         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2832         pointer
2833
2834 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2835
2836         * text3.C (gotoInset): YABG (yet another bad getChar)
2837
2838 2003-04-29  André Pönitz  <poenitz@gmx.net>
2839
2840         * paragraph.h: make operator= private unimplemented as long as
2841           it is unusable
2842
2843         * ParagraphList.C: whitespace
2844
2845         * paragraph.[Ch]:
2846         * paragraph_pimpl.[Ch]:
2847         * paragraph_funcs.C:
2848         * CutAndPaste.C:
2849         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2850
2851         * text2.C:
2852           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2853
2854 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2855
2856         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2857         * paragraph.[Ch] (erase):
2858         * paragraph_pimpl.[Ch] (erase): change return type and value
2859         * text2.C (cutSelection): some rework
2860
2861 2003-04-28  John Levon  <levon@movementarian.org>
2862
2863         * bufferlist.C: changes for unsaved changes dialog
2864
2865 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * bufferlist.C (newFile): set language (messages_) for new
2868         documents also.
2869
2870         * buffer.C (readFile): ws changes only.
2871
2872 2003-04-28  André Pönitz  <poenitz@gmx.net>
2873
2874         * undo_funcs.C:
2875         * lyxfunc.C:
2876         * buffer.[Ch]:
2877         * BufferView_pimpl.C:
2878         * BufferView.C: getParFromID related ParagraphList::iterator changes
2879
2880 2003-04-28  André Pönitz  <poenitz@gmx.net>
2881
2882         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2883           Changes
2884
2885 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2886
2887         * messages.C: remove one more localedir class variable.
2888
2889 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2890
2891         * messages.C (getLocaleDir): singleton generation function
2892         (Pimpl): use it.
2893         (Messages): add a default constructor.
2894
2895         * main.C (main): do not setup localedir here, do not call
2896         gettext_init.
2897
2898         * gettext.C (_): use it.
2899         (gettext_init): delete funciton
2900
2901 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2902
2903         * gettext.C (getLyXMessages): new singleton generating function.
2904
2905         * buffer.C (updateDocLang): adjust
2906
2907         * Makefile.am (messages.o): add target
2908         (main.o): remove target
2909
2910 2003-04-27  John Levon  <levon@movementarian.org>
2911
2912         * bufferlist.C:
2913         * lyx_cb.C:
2914         * lyxfunc.C:
2915         * lyxvc.C: specify cancel button in Alert::prompt
2916
2917 2003-04-26  John Levon  <levon@movementarian.org>
2918
2919         * text3.C:
2920         * lyxfunc.C:
2921         * lfuns.h:
2922         * LyXAction.C: add LFUN_INSET_SETTINGS
2923
2924         * lyxfunc.C: don't enable tabular-feature when there's
2925         just any locking inset
2926
2927 2003-04-26  John Levon  <levon@movementarian.org>
2928
2929         * bufferlist.C: re-add Cancel to buffer close question
2930
2931         * lyxfunc.C: fix import UI a bit
2932
2933 2003-04-25  John Levon  <levon@movementarian.org>
2934
2935         * gettext.C: remove the broken asserts for now
2936
2937 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2938
2939         * messages.C: make case where setlocale cannot comply work better.
2940
2941         * buffer.C (updateDocLang): new function
2942         (changeLanguage): use it
2943         (readFile): use it
2944
2945         * text2.C (setCounter): use B_ a bit.
2946
2947         * lyxlayout.C (Read): be sure to trim the label strings.
2948
2949         * messages.C (Messages): fix typo in comment
2950
2951         * buffer.C (readFile): set message_ after file is loaded.
2952         (makeDocBookFile): remove double return
2953         (changeLanguage): reset message_ upon language change.
2954         (B_): new func, use this to get translated buffer strings.
2955
2956         * main.C: add myself and Jean Marc as authors.
2957
2958 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2959
2960         * messages.[hC]: pimplify Messages, and three different pimpls to be
2961         used in different circumstances.
2962
2963         * gettext.[Ch]: change for use with new message code.
2964
2965 2003-04-24 André Pönitz <poenitz@gmx.net>
2966
2967         * factory.C: support for eqref
2968
2969 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2970
2971         * messages.[Ch]: add missing char
2972
2973         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2974
2975         * messages.[Ch]: New files
2976
2977 2003-04-18  John Levon  <levon@movementarian.org>
2978
2979         * BufferView.h:
2980         * BufferView.C:
2981         * BufferView_pimpl.C:
2982         * lfuns.h:
2983         * LyXAction.C:
2984         * lyxtext.h:
2985         * text2.C: remove layout-copy/paste (bug 778)
2986
2987 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2988
2989         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2990
2991 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2992
2993         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2994         if they succeed. Act accordingly.
2995
2996 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2997
2998         * text2.C (setCharFont): adjust
2999         (setCounter): adjust
3000         (insertStringAsLines): adjust
3001
3002         * text.C (leftMargin): adjust
3003         (setHeightOfRow): adjust
3004
3005         * rowpainter.C (paintFirst): adjust
3006         (paintLast): adjust
3007
3008         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3009         (outerHook): ditto
3010         (isFirstInSequence): ditto
3011         (getEndLabel): ditto
3012         (outerFont): adjust
3013
3014         * paragraph.C (getParLanguage): comment out some hard stuff.
3015
3016         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3017         (sgmlError): ditto
3018         (simpleDocBookOnePar): ditto
3019         (makeDocBookFile): use ParagraphList::iterator
3020
3021         * CutAndPaste.C (pasteSelection): adjust
3022
3023 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * text2.C (getFont): adjust
3026         (getLayoutFont): adjust
3027         (getLabelFont): adjust
3028
3029         * paragraph_funcs.C (TeXOnePar): adjust
3030
3031         * buffer.C (simpleLinuxDocOnePar): adjust
3032         (simpleDocBookOnePar): adjust
3033
3034         * CutAndPaste.C (pasteSelection): adjust
3035
3036         * BufferView.C (getEncoding): adjust
3037
3038         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3039
3040 2003-04-16  John Levon  <levon@movementarian.org>
3041
3042         * lyxfind.C: use parlist stuff for search/changes
3043
3044 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3045
3046         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3047
3048         * text2.C (deleteEmptyParagraphMechanism): adjust
3049
3050         * text2.[Ch] (ownerParagraph): delete func (both of them
3051
3052 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3053
3054         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3055
3056 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3057
3058         * ParagraphList.C: prepare for NO_NEXT
3059
3060 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3061
3062         * text2.C (getFont): adjust
3063         (getLayoutFont): adjust
3064         (getLabelFont): adjust
3065
3066         * paragraph.C (getFont): adjust
3067         (getLabelFont): adjust
3068         (getLayoutFont): adjust
3069
3070         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3071
3072 2003-04-15  John Levon  <levon@movementarian.org>
3073
3074         From Angus Leeming
3075
3076         * lyx_main.C: handle Include in .ui files
3077
3078 2003-04-15  John Levon  <levon@movementarian.org>
3079
3080         * MenuBackend.C: make the doc files length shorter
3081
3082         * ToolbarBackend.h:
3083         * ToolbarBackend.C: handle toolbar placement flags,
3084         Minibuffer
3085
3086 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3087
3088         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3089         adjust
3090
3091         * paragraph_funcs.C (TeXOnePar): adjust
3092
3093         * paragraph.C (getLabelFont): add outerfont arg, adjust
3094         (getLayoutFont): ditto
3095         (simpleTeXOnePar): adjust
3096
3097         * paragraph_pimpl.C (realizeFont): delete func
3098
3099 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3100
3101         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3102         row argument, constify cur argument.
3103
3104 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3105
3106         * text2.C (getFont): adjust
3107         (getLayoutFont): adjust
3108         (getLabelFont): adjust
3109
3110         * paragraph_funcs.C (TeXOnePar): adjust
3111         (outerFont): new func...
3112         (realizeFont): ...moved out from here, changed this to facilitate
3113         transition
3114
3115         * paragraph.C (getFont): take outerfont as arg, adjust
3116         (simpleTeXOnePar): add outerfont arg, adjust
3117
3118         * buffer.C (simpleLinuxDocOnePar): adjust
3119         (simpleDocBookOnePar): adjust
3120
3121         * CutAndPaste.C (pasteSelection): adjust
3122
3123         * BufferView.C (getEncoding): adjust
3124
3125 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3126
3127         * text2.C (setCharFont): adjust
3128         (setCounter): adjust
3129
3130         * text.C (leftMargin): adjust
3131         (setHeightOfRow): adjust
3132
3133         * rowpainter.C (paintFirst): adjust
3134         (paintLast): adjust
3135
3136         * paragraph_pimpl.C (realizeFont): adjust
3137
3138         * paragraph.C (isFirstInSequence): move from here...
3139         * paragraph_funcs.C (isFirstInSequence): ...to here
3140
3141         * paragraph.C (outerHook): move from here...
3142         * paragraph_funcs.C (outerHook): ...to here
3143
3144         * paragraph.C (depthHook): move from here...
3145         * paragraph_funcs.C (depthHook): ...to here
3146
3147         * paragraph.C (getEndLabel): move from here...
3148         * paragraph_funcs.C (getEndLabel): ...to here
3149
3150         * text2.C (realizeFont): move from here...
3151         * paragraph_funcs.C (realizeFont): ...to here
3152
3153 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3156
3157 2003-04-14  Angus Leeming  <leeming@lyx.org>
3158
3159         * LColor.[Ch]: scrap LColor mathcursor.
3160
3161 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3162
3163         * lyxlex.[Ch] (text): delete function
3164         * trans.C (Load): adjust
3165         * paragraph_funcs.C (readParToken): adjust
3166
3167 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3168
3169         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3170         vector<char> instead of a char[].
3171
3172         * lyxlex_pimpl.C (getString): adjust
3173         (next): adjust
3174         (lex): use getString
3175         (eatLine): adjust
3176         (nextToken): adjust
3177
3178         * lyxlex.C (text): use pimpl_->getString()
3179         (getBool): ditto
3180         (findToken): ditto
3181
3182 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3183
3184         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3185         (makeFontEntriesLayoutSpecific): temp var for par.size()
3186         (setLayout): temp var for ownerParagraphs().end()
3187         (fullRebreak): temp var for rows().end()
3188         (selectionAsString): temp var for boost::next(startpit), realize
3189         that the while really is a regular for loop.
3190         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3191         setCursor in one place.
3192         (setParagraph): temp vr for ownerParagraphs().end()
3193         (updateCounters): make the while loop a for loop
3194         (cutSelection): temp var for ownerParagraphs().end()
3195         (updateInset): make the do {} while() a regular for loop
3196         (getCursorX): use temp vars
3197         (setCurrentFont): use temp vars
3198         (getColumnNearX): use temp vars
3199
3200 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3201
3202         * text.C (transformChar): use temp var for getChar
3203         (computeBidiTables): use temp var for row->par()
3204         (fill): move temp vars for row->par() and pit->layout() earlier in
3205         the function.
3206         (labelFill): use temp var for row->par()
3207         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3208         asc and desc, realize that pit never changes and that firstpit is
3209         just a duplicate and not needed. Exchange rit->par() with pit in a
3210         lot of places.
3211         (breakAgain): use a temp var for boost::next(rit)
3212         (breakAgainOneRow): ditto
3213         (breakParagraph): use a temp var for rows().begin()
3214         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3215         (cursorRightOneWord): use temp var for cursor.par() and
3216         cursor.pos(), remove usage of tmpcursor.
3217         (cursorLeftOneWord): use temp var for cursor.par() and
3218         cursor.pos() only set cur at end of function.
3219
3220 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3221
3222         * text.C, text2.C: exchange all usage of Paragraph::next with
3223         boost::next(ParagraphList::iterator)
3224
3225         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3226
3227         * text2.C (cursorTop): simplify implementation
3228         (cursorBottom): ditto
3229         (setParagraph): use ParagraphList::iterator
3230         (setCurrentFont): adjust
3231         (getColumnNearX): adjust
3232         (cursorRight): adjust
3233         (cursorLeft): remove usage of Paragraph::previous
3234         (cursorUpParagraph): ditto
3235         (deleteEmptyParagraphMechanism): slight cleanup
3236
3237         * text.C (isBoundary): take a Paragraph const & instead of a
3238         pointer as arg.
3239         (addressBreakPoint): ditto
3240         (leftMargin): remove usage of Paragraph::previous.
3241         (setHeightOfRow): ditto
3242         (cursorLeftOneWord): ditto
3243         (selectNextWordToSpellcheck): ditto
3244         (Delete): ditto
3245         (backspace): ditto
3246         (breakParagraph): remove one usage of Paragraph::next
3247         (redoParagraph): ditto
3248         (acceptChange): ditto
3249         (insertChar): adjust
3250         (rowBreakPoint): adjust
3251
3252         * bufferview_funcs.C (toggleAndShow): adjust
3253
3254 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3255
3256         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3257         methods to access it.
3258         * lyxtext.h:
3259         * text.C: Added updateRowPositions to compute all row positions.
3260         Make top_y and getRowNearY() to use the cached y position
3261
3262 2003-04-11  John Levon  <levon@movementarian.org>
3263
3264         * text.C (rowBreakPoint): reintroduce the labelEnd
3265         checks, code copied from the row fill stuff. Deep voodoo.
3266
3267         * text.C (fill): add a comment and debugging for the
3268         next poor soul.
3269
3270 2003-04-11  John Levon  <levon@movementarian.org>
3271
3272         * text.C: make sure fullrow insets get wrapped to the next line,
3273         even when they're in a manual label
3274
3275 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3276
3277         * text2.C (insertParagraph): make it take ParagraphList::iterator
3278         as arg.
3279         (setLayout): make it return ParagraphList::iterator
3280         (redoParagraphs): ditto
3281         (setCounter): ditto
3282         (checkParagraph): ditto
3283
3284         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3285
3286         * text2.C: adjust several funcs.
3287         (realizeFont): take a ParagraphList::iterator as arg.
3288         (getLayoutFont): ditto
3289         (getLabelFont): ditto
3290         (setCharFont): ditto
3291
3292         * text.C: adjust several funcs.
3293
3294 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3295
3296         * text.C (selectNextWordToSpellcheck): don't accidentally
3297         skip insets
3298
3299 2003-04-10  John Levon  <levon@movementarian.org>
3300
3301         * ToolbarBackend.C (getIcon): special handling for
3302         LFUN_MATH_DELIM
3303
3304 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3305
3306         * text2.C (cursorRight): a getChar assert fixed
3307
3308 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3309
3310         * text2.C (getFont): change to take a ParagraphList::iterator
3311         instead of Paragraph*
3312         Adjust several functions.
3313
3314         * text.C (transformChar): change to take a ParagraphList::iterator
3315         instead of Paragraph*
3316         (singleWidth): ditto
3317         Adjust several functions.
3318
3319         * rowpainter.C: adjust several functions
3320         * rowpainter.h:store a ParagraphList::iterator and not a
3321         Paragraph&.
3322
3323
3324 2003-04-09  John Levon  <levon@movementarian.org>
3325
3326         * lyxfunc.C:
3327         * lfuns.h:
3328         * LyXAction.h:
3329         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3330         and the "help" bits as well
3331
3332 2003-04-09  John Levon  <levon@movementarian.org>
3333
3334         * ToolbarBackend.h:
3335         * ToolbarBackend.C: allow multiple toolbars
3336
3337 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3338
3339         * undo_funcs.C (setCursorParUndo): adjust
3340
3341         * text_funcs.C (transposeChars): adjust
3342
3343         * text3.C (gotoNextInset): adjust
3344         (dispatch): adjust
3345
3346         * text2.C (setLayout): adjust
3347         (changeDepth): adjust
3348         (setFont): adjust
3349         (redoParagraphs): adjust
3350         (selectionAsString): adjust
3351         (setParagraph): adjust
3352         (insertInset): adjust
3353         (cutSelection): adjust
3354         (copySelection): adjust
3355         (pasteSelection): adjust
3356         (insertStringAsLines): adjust
3357         (updateInset): adjust
3358         (setCursor): change to take a ParagraphList::iterator parameter
3359         (setCursorIntern): change to take a ParagraphList::iterator parameter
3360         (setCurrentFont): adjust
3361         (cursorLeft): adjust
3362         (cursorRight): adjust
3363         (deleteEmptyParagraphMechanism): adjust
3364
3365         * text.C (breakParagraph): adjust
3366         (insertChar): adjust
3367         (acceptChange): adjust
3368         (rejectChange): adjust
3369         (selectNextWordToSpellcheck): adjust
3370         (changeCase): adjust
3371         (Delete): adjust
3372         (backspace): adjust
3373
3374         * lyxfind.C (SearchForward): adjust
3375         (SearchBackward): adjust
3376         (nextChange): adjust
3377
3378         * lyxcursor.C (par): adjust
3379
3380         * lyxcursor.h: store a ParagraphList::iterator instead of a
3381         Paragraph*
3382
3383         * lyx_cb.C (getPossibleLabel): adjust
3384
3385         * bufferview_funcs.C (toggleAndShow): adjust
3386
3387         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3388         (dispatch): adjust
3389
3390         * BufferView.C (removeAutoInsets): adjust
3391         (lockedInsetStoreUndo): adjust
3392
3393 2003-04-09  John Levon  <levon@movementarian.org>
3394
3395         * ToolbarBackend.C: try icon without argument
3396         if with argument fails
3397
3398 2003-04-08  John Levon  <levon@movementarian.org>
3399
3400         * ToolbarBackend.h:
3401         * ToolbarBackend.C: add getIcon(), handle tooltip,
3402         and change from "Icon" to "Item".
3403
3404 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3405
3406         * BufferView.C (lockInset): another bad getchar crunched
3407
3408 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3409
3410         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3411         again)
3412
3413 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3414
3415         * lyxfind.C (searchForward, searchBackwards): bug 782
3416
3417 2003-04-07  John Levon  <levon@movementarian.org>
3418
3419         * paragraph.C: remove dead comment
3420
3421         * text.C: remove troublesome depth-fiddling code
3422         in leftMargin() and rightMargin() (bug 1017)
3423
3424         * text.C: fix breaking of rows in nested lists
3425         (bug 1004)
3426
3427         * text2.C (updateCounters): fix up depth values
3428         (bug 1013)
3429
3430 2003-04-07  John Levon  <levon@movementarian.org>
3431
3432         * BufferView_pimpl.C: clear message when doc finishes resizing,
3433         and after a mouse event
3434
3435         * lyxfunc.C: clear message after exiting inset
3436
3437 2003-04-07  John Levon  <levon@movementarian.org>
3438
3439         * bufferview_funcs.C: show math status not outside
3440         status in the statusbar
3441
3442 2003-04-07  John Levon  <levon@movementarian.org>
3443
3444         * lyxfunc.C: note status changed after a depth change
3445
3446 2003-04-04  Angus Leeming  <leeming@lyx.org>
3447
3448         * LaTeX.h: move AuxInfo operator==, != out of line.
3449         Remove LaTeX virtual destructor; nothing derives from it.
3450         Move operator()() out of public area and rename it startscript().
3451         Change protected for private.
3452
3453 2003-04-04  Angus Leeming  <leeming@lyx.org>
3454
3455         * lyxfunc.C:
3456         * text2.C: remove unneeded #includes.
3457
3458 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3459
3460         * text2.C (dEPM): fix the heigth of the next row
3461
3462 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3463
3464         * text.C: squashed an invalid getChar requester + some ws changes
3465
3466 2003-04-03  John Levon  <levon@movementarian.org>
3467
3468         * bufferview_funcs.h:
3469         * bufferview_funcs.C:
3470         * lyxfunc.C:
3471         * lyxtext.h:
3472         * text2.C: make getStatus work for the env depth lfuns
3473
3474 2003-04-03  John Levon  <levon@movementarian.org>
3475
3476         * bufferview_funcs.h:
3477         * bufferview_funcs.C:
3478         * lyxfunc.C:
3479         * lyxtext.h:
3480         * text2.C: parlistize decDepth(), by merging it with incDepth()
3481
3482 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3483
3484         * lyxrow.h: store a ParagraphList::iterator instead of a
3485         Paragraph* and adjust other class functions to suit.
3486
3487         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3488         above.
3489
3490 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3491
3492         * text2.C (setCursor): do not anchor to cursor row for the time being
3493
3494 2003-04-02  John Levon  <levon@movementarian.org>
3495
3496         * LyXAction.C:
3497         * lfuns.h:
3498         * lyx_main.C:
3499         * lyxtext.h:
3500         * text.C:
3501         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3502
3503 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3504
3505         * paragraph.h: make ParagraphList and ParagraphList::iterator
3506         friends of Paragraph.
3507
3508         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3509
3510         * ParagraphList.C: Use the private next_ and previous_ from
3511         Paragraph.
3512
3513 2003-04-01  John Levon  <levon@movementarian.org>
3514
3515         * ToolbarBackend.h:
3516         * ToolbarBackend.C:
3517         * Makefile.am: rename, remove defaults gunk
3518
3519         * MenuBackend.h:
3520         * MenuBackend.C: remove defaults gunk
3521
3522         * Languages.h:
3523         * Languages.C: remove defaults gunk
3524
3525         * lyx_main.h:
3526         * lyx_main.C: error out if files couldn't be found.
3527
3528 2003-04-02  John Levon  <levon@movementarian.org>
3529
3530         * text2.C: make incDepth() use parlist
3531
3532 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3533
3534         * undo_funcs.C (firstUndoParagraph): adjust
3535
3536         * text3.C (gotoInset): adjust
3537         (dispatch): adjust, and rewrite loop.
3538
3539         * text2.C (init): adjust, and rewrite loop.
3540         (redoParagraphs): adjust
3541         (updateInset): adjust, and rewrite loop.
3542         (deleteEmptyParagraphMechanism): adjust
3543
3544         * tabular.C (LyXTabular): adjust
3545         (SetMultiColumn): adjust
3546         (TeXRow): adjust
3547
3548         * lyxtext.[Ch] (ownerParagraph): delete function
3549         (ownerParagraphs): new function returns a ParagraphList.
3550
3551         * BufferView.C (removeAutoInsets): adjust
3552         (insertErrors): adjust
3553         (setCursorFromRow): adjust
3554
3555 2003-04-01  Angus Leeming  <leeming@lyx.org>
3556
3557         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3558         in the frontends.
3559
3560 2003-04-02  John Levon  <levon@movementarian.org>
3561
3562         * lyxtext.h:
3563         * text.C:
3564         * Makefile.am:
3565         * text_funcs.h:
3566         * text_funcs.C: make transposeChars a free function
3567
3568         * lyxrow_funcs.C: remove wrong comment
3569
3570 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3571
3572         * lyxtext.h: adjust
3573         * rowpainter.C: adjust
3574         * text.C: adjust
3575         * text2.C: adjust
3576         * text3.C: adjust
3577
3578         * lyxrow_funcs. [Ch]: new files
3579
3580         * lyxrow.[Ch]: remove next and previous pointers
3581         (next,previous): remove accessor functions
3582         (isParEnd): move to lyxrow_funcs
3583         (lastPos): move to lyxrow_funcs
3584         (nextRowIsAllInset): move to lyxrow_funcs
3585         (lastPrintablePos): move to lyxrow_funcs
3586         (numberOfSeparators): move to lyxrow_funcs
3587         (numberOfHfills): move to lyxrow_funcs
3588         (numberOfLabelHfills): move to lyxrow_funcs
3589         (hfillExpansion): move to lyxrow_funcs
3590
3591         * lyxfunc.C: adjust
3592
3593         * bufferview_funcs.C (toggleAndShow): adjust
3594
3595         * RowList.h: Remove class RowList from file leave just a
3596         std::list<Row>.
3597
3598         * RowList.C: delete file
3599
3600         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3601         and lyxrow_funcs.h
3602
3603 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3604
3605         * text3.C (cursorPrevious): adjust
3606         (cursorNext): adjust
3607         (dispatch): adjust
3608
3609         * text2.C (redoHeightOfParagraph): adjust
3610         (redoDrawingOfParagraph): adjust
3611         (setCursor): adjust
3612
3613         * text.C (breakParagraph): adjust
3614         (insertChar): adjust
3615         (backspace): adjust
3616
3617         * rowpainter.C (RowPainter): adjust
3618         (leftMargin): simplify and adjust
3619         (most rowpainter functions): adjust.
3620
3621         * rowpainter.h: store the row as RowList::iterator not as Row*
3622
3623         * lyxcursor.C (row): taka RowList::iterator as arg
3624         (irow): ditto
3625
3626         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3627         of Row*.
3628
3629 2003-04-01  Angus Leeming  <leeming@lyx.org>
3630
3631         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3632         stuff like bool Bool.
3633
3634 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3635
3636         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3637         rewrite a loop
3638
3639 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3640
3641         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3642         RowList::iterator.
3643
3644         * lyxtext.h (rows): drop one version and leve a const variant that
3645         returns a RowList::iterator.
3646
3647 2003-03-31  Angus Leeming  <leeming@lyx.org>
3648
3649         * text.C (fill): ensure that the signature is the same as that in the
3650         header file.
3651
3652 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3653
3654         * text2.C (redoParagraphs): adjust
3655         (updateCounters): adjust
3656         (checkParagraph): adjust
3657         (getColumnNearX): adjust and reformat a bit.
3658
3659         * text.C (top_y): adjust
3660         (workWidth): adjust
3661         (leftMargin): adjust
3662         (prepareToPrint): adjust
3663         (getRow): adjust
3664         (getRowNearY): adjust
3665
3666         * lyxtext.h: make rowlist_ mutable.
3667
3668         * RowList.h: add const_iterator
3669         * RowList.C: adjust for RowList::const_iterator.
3670
3671         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3672         adjust.
3673
3674 2003-03-31  John Levon  <levon@movementarian.org>
3675
3676         * lyxrc.h:
3677         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3678
3679         * lyx_main.C: set default fonts from using lyx_gui funcs
3680
3681         * exporter.C: pdf_mode moved from lyxrc
3682
3683         * lyx_cb.C:
3684         * lyxfunc.C: changes from above
3685
3686 2003-03-31  John Levon  <levon@movementarian.org>
3687
3688         * lyx_main.C: fix to the last fix
3689
3690 2003-03-31  John Levon  <levon@movementarian.org>
3691
3692         * bufferlist.C: "Load original" -> "Load Original"
3693
3694         * converter.C:
3695         * exporter.C:
3696         * importer.C:
3697         * lyx_main.C:
3698         * format.C: more Alert cleanups
3699
3700 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3701
3702         * text2.C (removeParagraph): make it take a RowList::iterator as
3703         arg, adjust.
3704         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3705         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3706
3707         * text.C (anchor_row): make it take a RowList::iterator as arg,
3708         adjust.
3709         (computeBidiTables): make it take a const reference to Row instead
3710         of Row pointer, adjust.
3711         (leftMargin): make it take a RowList::iterator as arg, adjust.
3712         (rowBreakPoint): adjust
3713         (breakAgainOneRow): make it take a RowList::iterator as arg,
3714         adjust.
3715         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3716
3717         * bufferview_funcs.C (toggleAndShow): adjust
3718
3719 2003-03-30  John Levon  <levon@movementarian.org>
3720
3721         * Makefile.am:
3722         * BoostFormat.h:
3723         * boost-inst.C: moved to support
3724
3725         * several files: changes as a result
3726
3727 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3728
3729         * text2.C (LyXText): adjust.
3730         (init): adjust
3731         (removeRow): make it take a RowList::iterator as arg, adjust.
3732         (fullRebreak): adjust
3733         (deleteEmptyParagraphMechanism): adjust
3734         (clearPaint): adjust
3735         (postPaint): adjust
3736
3737         * text.C (top_y): adjust
3738         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3739         (breakAgain): make it take a RowList::iterator as arg, adjust.
3740         (breakParagraph): adjust
3741         (insertChar): adjust
3742         (backspace): adjust
3743
3744         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3745         need_break_row, and refresh_row.
3746
3747         * text3.C (dispatch): adjust
3748
3749         * text2.C (checkParagraph): adjust
3750         (setCursor): adjust
3751         (setCursorFromCoordinates): adjust
3752
3753         * text.C (top_y): adjust
3754         (workWidth): adjust
3755         (getRow): make it return a RowList::iterator, adjust
3756         (getRowNearY): make it return a RowList::iterator, adjust
3757
3758         * text2.C (init): adjust
3759         (insertRow): remove function
3760         (insertParagraph): adjust
3761         (redoParagraphs): adjust
3762         (fullRebreak): adjust
3763         (updateCounters): adjust
3764
3765         * text.C (top_y): rewrite to use RowList iterators.
3766         (top_y): adjust
3767         (setHeightOfRow): rewrite to sue RowList iterators.
3768         (appendParagraph): adjust
3769         (breakAgain): adjust
3770         (breakAgainOneRow): adjust
3771         (breakParagraph): adjust
3772         (getRow): adjust
3773         (getRowNearY): adjust, and remove commented code.
3774
3775         * lyxtext.h (firstRow): delete function
3776         (lastRow): delete function
3777         (rows): new function (const and non-const versions.)
3778         (insertRow): delete function
3779
3780         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3781
3782 2003-03-29  John Levon  <levon@movementarian.org>
3783
3784         * BufferView_pimpl.C: always update scrollbar top
3785         because pasting text when we're anchored could mean we
3786         miss an update altogether
3787
3788 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3789
3790         * text2.C (init): use rowlist_.end() and not 0.
3791         (insertRow): change to take a RowList::iterator as arg, adjust
3792         for this.
3793         (insertParagraph): change to take a RowList::iterator as arg,
3794         adjust for this.
3795         (redoParagraphs): remove some debug msgs.
3796
3797         * text.C (appendParagraph): change to take a RowList::iterator
3798         arg, adjust for this.
3799         (breakAgain): add an assert
3800         (breakAgainOneRow): ditto
3801
3802 2003-03-29  John Levon  <levon@movementarian.org>
3803
3804         * text2.C: do not clear selection after inc/decDepth
3805         (bug 550)
3806
3807 2003-03-29  John Levon  <levon@movementarian.org>
3808
3809         * BufferView.C:
3810         * buffer.C: fix broken strerrors according to Lars
3811
3812 2003-03-29  John Levon  <levon@movementarian.org>
3813
3814         * converters.C: more Alert cleanups
3815
3816 2003-03-29  John Levon  <levon@movementarian.org>
3817
3818         * bufferview_funcs.C: remove pointless Alert
3819
3820         * buffer.C: fix confusing error message when
3821         a template is chmoded 000
3822
3823 2003-03-29  John Levon  <levon@movementarian.org>
3824
3825         * BufferView.C:
3826         * BufferView.h:
3827         * BufferView_pimpl.C: Alert fixes
3828
3829         * Makefile.am:
3830         * tabular.C:
3831         * tabular-old.C: remove unused table compat reading
3832
3833 2003-03-29  John Levon  <levon@movementarian.org>
3834
3835         * BufferView.C:
3836         * buffer.C:
3837         * lyx_cb.h:
3838         * lyx_cb.C: more Alert cleanups
3839
3840         * lyxfunc.C: don't allow chktex if not latex document
3841
3842 2003-03-29  John Levon  <levon@movementarian.org>
3843
3844         * lyx_cb.C:
3845         * BufferView.C:
3846         * buffer.C: warnings pushed down from support/,
3847         kill err_alert
3848
3849 2003-03-29  John Levon  <levon@movementarian.org>
3850
3851         * lyxfunc.C: safety check for C-r (revert)
3852
3853 2003-03-29  John Levon  <levon@movementarian.org>
3854
3855         * bufferlist.h:
3856         * bufferlist.C: several UI fixes using Alert::prompt.
3857         Fix the pointless looping quit code. Fix stupid revert
3858         behaviour (bug 938)
3859
3860         * lyxvc.h:
3861         * lyxvc.C:
3862         * lyx_cb.C: use Alert::prompt
3863
3864         * lyx_main.C: remove a silly question
3865
3866         * lyxfunc.C: remove a couple of silly questions,
3867         use Alert::prompt
3868
3869 2003-03-28  John Levon  <levon@movementarian.org>
3870
3871         * text2.C: fix bug 974 (End on empty par)
3872
3873 2003-03-28  John Levon  <levon@movementarian.org>
3874
3875         * BufferView_pimpl.C:
3876         * LyXAction.C:
3877         * lfuns.h: remove do-nothing math greek lfuns
3878
3879 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3880
3881         * lyxgluelength.h (isValidGlueLength): add default arg on
3882         parameter 2. Remove default arg from friend in class.
3883
3884         * lyxlength.h (isValidLength): add default arg on parameter 2.
3885         Remove default arg from friend in class.
3886
3887         * text2.C (LyXText): adjust, initialize refresh_row.
3888         (init): adjust
3889         (removeRow): adjust
3890         (insertRow): adjust
3891         (insertParagraph): adjst
3892         (redoParagraphs): adjust
3893         (fullRebreak): adjust
3894         (updateCounters): adjust
3895         (deleteEmptyParagraphMechanism): first attempt at fixing a
3896         crashing bug.
3897
3898         * text.C (top_y): adjust
3899         (setHeightOfRow): adjust
3900         (getRow): adjust
3901         (getRowNearY): adjust
3902
3903         * lyxtext.h: include RowList.h
3904         (~LyXText): not needed anymore, deleted.
3905         (firstRow): modify for RowList
3906         (lastRow): new function
3907         Delete firstrow and lastrow class variables, add a Rowlist
3908         rowlist_ class variable.
3909
3910         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3911         paragraph is empty.
3912
3913         * RowList.C (insert): fix case where it == begin().
3914
3915 2003-03-26  Angus Leeming  <leeming@lyx.org>
3916
3917         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3918         the thesaurus dialog.
3919
3920 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3921
3922         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3923
3924         * RowList.[Ch]: new files
3925
3926         * ParagraphList.C (erase): handle the case where it == begin
3927         correctly.
3928
3929 2003-03-25  John Levon  <levon@movementarian.org>
3930
3931         * Makefile.am:
3932         * aspell_local.h:
3933         * aspell.C: add new aspell support
3934
3935         * lyxrc.h:
3936         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3937         have it accessible.
3938
3939 2003-03-25  Angus Leeming  <leeming@lyx.org>
3940
3941         * lfuns.h:
3942         * LyXAction.C (init): new LFUN_INSET_INSERT.
3943
3944         * BufferView_pimpl.C (dispatch): split out part of the
3945         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3946
3947         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3948         LFUN_INSET_APPLY.
3949
3950 2003-03-25  Angus Leeming  <leeming@lyx.org>
3951
3952         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3953
3954 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3955
3956         * text2.C:
3957         * text3.C: remove useless row->height(0)
3958
3959 2003-03-25  John Levon  <levon@movementarian.org>
3960
3961         * lyxtext.h:
3962         * text2.C:
3963         * text3.C: rename the refreshing stuff to better names
3964
3965 2003-03-24  John Levon  <levon@movementarian.org>
3966
3967         * BufferView_pimpl.h:
3968         * BufferView_pimpl.C: update layout choice on a mouse
3969         press/release
3970
3971 2003-03-23  John Levon  <levon@movementarian.org>
3972
3973         * Makefile.am: fix commandtags.h reference
3974
3975 2003-03-22  John Levon  <levon@movementarian.org>
3976
3977         * BufferView_pimpl.C:
3978         * lyxtext.h:
3979         * rowpainter.C:
3980         * rowpainter.h:
3981         * text.C:
3982         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3983
3984 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3985
3986         * lyxtext.h:
3987         * text.C: take the rtl methods out of line
3988
3989 2003-03-21 André Pönitz <poenitz@gmx.net>
3990
3991         * metricsinfo.[Ch]: new files containing structures to be passed around
3992         during the two-phase-drawing...
3993
3994 2003-03-21 André Pönitz <poenitz@gmx.net>
3995
3996         * lyxtextclass.C: read 'environment' tag.
3997
3998 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3999
4000         * text2.C (removeRow): fix bug 964
4001
4002 2003-03-20  John Levon  <levon@movementarian.org>
4003
4004         * rowpainter.C:
4005         * text.C:
4006         * text2.C: paint cleanups. Inset::update() dropped font
4007         parameter
4008
4009 2003-03-19  John Levon  <levon@movementarian.org>
4010
4011         * lyxfunc.C: only fitcursor/markDirty if available()
4012
4013 2003-03-19  John Levon  <levon@movementarian.org>
4014
4015         * commandtags.h: rename to ...
4016
4017         * lfuns.h: ... this, and renumber / cleanup
4018
4019 2003-03-19  John Levon  <levon@movementarian.org>
4020
4021         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4022         fit the cursor after an lfun
4023
4024         * BufferView.h:
4025         * BufferView.C:
4026         * BufferView_pimpl.h:
4027         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4028
4029         * LyXAction.C: layout-character should have ReadOnly
4030
4031         * ParagraphParameters.C:
4032         * buffer.C:
4033         * bufferview_funcs.C:
4034         * lyx_cb.C:
4035         * lyxfind.C:
4036         * lyxtext.h:
4037         * text.C:
4038         * text2.C:
4039         * text3.C:
4040         * undo_funcs.C: changes from above
4041
4042 2003-03-18  John Levon  <levon@movementarian.org>
4043
4044         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4045         remove it from update()
4046
4047         * lyxfunc.C: update layout choice after an lfun
4048
4049         * text3.C: remove extra updateLayoutChoice()s
4050
4051 2003-03-18  John Levon  <levon@movementarian.org>
4052
4053         * text.C: top_y change means full repaint, fix
4054         a drawing bug with cursor movement
4055
4056 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4057
4058         * lyxtext.h:
4059         * text.C:
4060         * text2.C: anchor row on setCursor
4061
4062 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4063
4064         * lyxtext.h: remove almost all mutable keywords
4065         * text.C:
4066         * text2.C:
4067         * text3.C: remove const keywords accordingly
4068
4069 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4072         anon namespace
4073         (TeXEnvironment): ditto
4074         (TeXOnePar): ditto
4075
4076 2003-03-17  John Levon  <levon@movementarian.org>
4077
4078         * text.C (rowBreakPoint): remove attempt to fix displayed
4079         math insets inside a manual label
4080
4081 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4082
4083         * lyxtext.h: remove BufferView* as first arg from almost all class
4084         functions.
4085         * other files: adjust.
4086
4087 2003-03-17  John Levon  <levon@movementarian.org>
4088
4089         * lyxtext.h:
4090         * undo_funcs.C:
4091         * text2.C: more paint cleanups
4092
4093         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4094
4095         * rowpainter.h:
4096         * rowpainter.C: remove "smart" background painting code
4097
4098 2003-03-16  John Levon  <levon@movementarian.org>
4099
4100         * lyxtext.h:
4101         * text.C:
4102         * text2.C:
4103         * text3.C: add helper functions for setting refresh_row/y
4104
4105 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4106
4107         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4108         newline inset which *can* get inserted in the pass_thru layouts.
4109         This is primarily for literate documents.
4110
4111 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4112
4113         * buffer.C: increment LYX_FORMAT to 223
4114
4115 2003-03-14 André Pönitz <poenitz@gmx.net>
4116
4117         * textclass.h: prepare for environment handling, ws changes
4118         * lyxlayout.C: read latexheader and latexfooter tags
4119
4120 2003-03-14  John Levon  <levon@movementarian.org>
4121
4122         * text2.C: rewrite ::status() a bit
4123
4124 2003-03-13  John Levon  <levon@movementarian.org>
4125
4126         * lyxtext.h: add some docs
4127
4128 2003-03-13  John Levon  <levon@movementarian.org>
4129
4130         * lyxtext.h:
4131         * text.C:
4132         * text2.C:
4133         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4134
4135 2003-03-13  John Levon  <levon@movementarian.org>
4136
4137         * text3.C: fix appendix redrawing
4138
4139 2003-03-13  John Levon  <levon@movementarian.org>
4140
4141         * text.C (setHeightOfRow):
4142         * rowpainter.h:
4143         * rowpainter.C: make appendix mark have the text
4144           "Appendix" so the user knows what it is
4145
4146         * LColor.h:
4147         * LColor.C: s/appendixline/appendix/ from above
4148
4149 2003-03-13  John Levon  <levon@movementarian.org>
4150
4151         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4152
4153         * text.C: fix a getChar(pos) bug properly
4154
4155 2003-03-13  Angus Leeming  <leeming@lyx.org>
4156
4157         * commandtags.h:
4158         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4159         Probably only temporary. Let's see how things pan out.
4160
4161         * BufferView.C (unlockInset):
4162         * BufferView_pimpl.C (fitCursor):
4163         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4164
4165         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4166         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4167
4168         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4169         new functions that convert ParagraphParameters to and from a string.
4170
4171         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4172         BufferView::Pimpl's dispatch.
4173         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4174
4175 2003-03-13 André Pönitz <poenitz@gmx.net>
4176
4177         * lyxfunc.C:
4178         * text3.C:
4179         * factory.C: make it aware of InsetEnv
4180
4181 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4182
4183         * text2.C (setCursor): never ask for one past last
4184         (setCursor): add some debugging messages.
4185
4186         * text.C (singleWidth): never ask for one past last
4187         (singleWidth): ditto
4188         (leftMargin): ditto
4189         (rightMargin): ditto
4190         (rowBreakPoint): ditto
4191         (setHeightOfRow): ditto
4192         (prepareToPrint): ditto
4193
4194         * rowpainter.C (paintBackground): never ask for one past last
4195         (paintText): never ask for one past last
4196
4197         * paragraph_pimpl.C (getChar): make the assert stricter, never
4198         allow the one past last pos to be taken
4199
4200         * paragraph.C (getChar): ws changes only
4201
4202         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4203         (numberOfSeparators): ditto
4204         (numberOfHfills): ditto
4205
4206 2003-03-12  John Levon  <levon@movementarian.org>
4207
4208         * author.h:
4209         * author.C:
4210         * bufferparams.h:
4211         * bufferparams.C:
4212         * paragraph_funcs.C: fix per-buffer authorlists
4213
4214 2003-03-12  John Levon  <levon@movementarian.org>
4215
4216         * text.C: fix newline in right address
4217
4218 2003-03-12  Angus Leeming  <leeming@lyx.org>
4219
4220         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4221         duplicate those in LyXFunc::dispatch.
4222
4223         * commandtags.h:
4224         * LyXAction.C:
4225         * ToolbarDefaults.C:
4226         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4227         Add LFUN_FONTFREE_UPDATE.
4228
4229         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4230         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4231
4232         * bufferview_func.[Ch]: several new functions to facilliate
4233         transfer of data to and from the character dialog.
4234
4235 2003-03-12  John Levon  <levon@movementarian.org>
4236
4237         * buffer.C:
4238         * paragraph.h:
4239         * paragraph.C:
4240         * paragraph_funcs.C:
4241         * paragraph_pimpl.C:
4242         * sgml.C:
4243         * tabular.C:
4244         * text.C:
4245         * text3.C: remove META_NEWLINE in favour of an inset
4246
4247         * rowpainter.h:
4248         * rowpainter.C: remove paintNewline (done by inset)
4249
4250 2003-03-12  John Levon  <levon@movementarian.org>
4251
4252         * paragraph_pimpl.C: complain about bad getChar()s
4253         for a while at least
4254
4255 2003-03-12  John Levon  <levon@movementarian.org>
4256
4257         * buffer.h:
4258         * buffer.C: move paragraph read into a separate function,
4259         a little renaming to reflect that.
4260
4261         * bufferparams.h:
4262         * bufferparams.C: remove the author_ids map, not necessary now
4263
4264         * factory.h:
4265         * factory.C: moved Buffer::readInset to here
4266
4267         * paragraph_funcs.h:
4268         * paragraph_funcs.C: readParagraph free function moved from
4269         buffer.C
4270
4271         * tabular.C: name change
4272
4273 2003-03-12  John Levon  <levon@movementarian.org>
4274
4275         * buffer.C:
4276         * ParagraphParameters.C: move par params input to
4277         a read() method
4278
4279         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4280         behave like a normal read from the stream wrt reading
4281         a line vs. a \\token
4282
4283 2003-03-12  John Levon  <levon@movementarian.org>
4284
4285         * paragraph.C:
4286         * ParagraphParameters.h:
4287         * ParagraphParameters.C: move output code to a
4288         ::write() method
4289
4290 2003-03-12  John Levon  <levon@movementarian.org>
4291
4292         * BufferView.C (insertLyXFile):
4293         * buffer.h:
4294         * buffer.C:
4295         * tabular.C: use a parlist iterator for creating the
4296           document.
4297
4298 2003-03-12  John Levon  <levon@movementarian.org>
4299
4300         * buffer.C: make current_change static local not
4301           static file-scope
4302
4303 2003-03-12  John Levon  <levon@movementarian.org>
4304
4305         * buffer.C: fix insertStringAsLines for change tracking
4306
4307 2003-03-12  John Levon  <levon@movementarian.org>
4308
4309         * BufferView.C:
4310         * tabular.C:
4311         * buffer.h:
4312         * buffer.C:
4313         * bufferparams.h:
4314         * bufferparams.C: move author list into params. Rename some
4315           functions. Move the header reading into a separate token
4316           loop. Move the header token reading into BufferParams.
4317
4318 2003-03-12  John Levon  <levon@movementarian.org>
4319
4320         * changes.C: put debug inside lyxerr.debugging() checks
4321
4322 2003-03-11 André Pönitz <poenitz@gmx.net>
4323
4324         * factory.C: make it aware of InsetHFill
4325
4326 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4327
4328         * buffer.C (latexParagraphs): move function from here...
4329         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4330         args.
4331
4332 2003-03-10  Angus Leeming  <leeming@lyx.org>
4333
4334         * LyXAction.C (init): fix bug in poplating array with multiple entries
4335         with the same LFUN (spotted by JMarc).
4336
4337 2003-03-10  John Levon  <levon@movementarian.org>
4338
4339         * text.C:
4340         * text2.C: move getColumnNearX() near its
4341         only call site
4342
4343 2003-03-10  John Levon  <levon@movementarian.org>
4344
4345         * text.C: fix break before a minipage
4346
4347 2003-03-10  John Levon  <levon@movementarian.org>
4348
4349         * text.C: fix the last commit
4350
4351 2003-03-09  John Levon  <levon@movementarian.org>
4352
4353         * lyxtext.h:
4354         * text.C:
4355         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4356         bug 365 (don't break before insets unless needed). Don't
4357         return a value > last under any circumstances.
4358
4359 2003-03-09  Angus Leeming  <leeming@lyx.org>
4360
4361         * BufferView_pimpl.C (trackChanges, dispatch): call
4362         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4363
4364 2003-03-09  Angus Leeming  <leeming@lyx.org>
4365
4366         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4367         than Dialogs::showAboutlyx().
4368
4369 2003-03-09  Angus Leeming  <leeming@lyx.org>
4370
4371         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4372         than Dialogs::showTabularCreate().
4373
4374 2003-03-09  John Levon  <levon@movementarian.org>
4375
4376         * lyxtext.h:
4377         * text.C:
4378         * text2.C: 3rd arg to nextBreakPoint was always the same.
4379           Use references.
4380
4381 2003-03-08  John Levon  <levon@movementarian.org>
4382
4383         * lyxrow.C:
4384         * paragraph.C:
4385         * paragraph.h:
4386         * rowpainter.C:
4387         * text.C:
4388         * text2.C: Remove the "main" bit from the "main body"
4389           notion.
4390
4391 2003-03-08  John Levon  <levon@movementarian.org>
4392
4393         * text.C (leftMargin): The left margin of an empty
4394         manual label paragraph should not include the label width
4395         string length.
4396
4397         * text.C (prepareToPrint): don't attempt to measure hfills
4398         for empty manual label paragraphs - the answer should be 0
4399
4400 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4401
4402         * CutAndPaste.C: remove commented code and reindent.
4403
4404 2003-03-08  John Levon  <levon@movementarian.org>
4405
4406         * lyxfunc.h:
4407         * lyxfunc.C: move reloadBuffer()
4408
4409         * BufferView.h:
4410         * BufferView.C: to here
4411
4412         * lyxvc.C: add comment
4413
4414         * vc-backend.h:
4415         * vc-backend.C: call bv->reload() to avoid
4416           getStatus() check on MENURELOAD
4417
4418 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4419
4420         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4421         to an old format .dep file.
4422
4423 2003-03-07  Angus Leeming  <leeming@lyx.org>
4424
4425         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4426         when the LFUN_MOUSE_RELEASE should have been handled by
4427         inset->localDispatch.
4428
4429 2003-03-07  Angus Leeming  <leeming@lyx.org>
4430
4431         * BufferView_pimpl.C (dispatch):
4432         * LyXAction.C (init):
4433         * ToolbarDefaults.C (init):
4434         * commandtags.h:
4435         * lyxfunc.C (getStatus):
4436         remove LFUN_INSET_GRAPHICS.
4437
4438         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4439
4440 2003-03-07  Angus Leeming  <leeming@lyx.org>
4441
4442         * commandtags.h:
4443         * LyXAction.C (init):
4444         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4445
4446         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4447
4448         * commandtags.h:
4449         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4450
4451         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4452         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4453
4454 2003-03-07  Angus Leeming  <leeming@lyx.org>
4455
4456         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4457         remove "ert".
4458
4459 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4460
4461         * ParagraphList.C (front): new function
4462         (back): implement
4463
4464 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4465
4466         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4467         and top_row_offset_. removed var first_y.
4468         * text.C (top_y):
4469         * text2.C (LyXText, removeRow):
4470         * text3.C:
4471         * BufferView_pimpl.C:
4472         use these methods instead of using first_y
4473
4474 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4475
4476         * text2.C (pasteSelection): adjust for checkPastePossible
4477
4478         * CutAndPaste.C: remove Paragraph * buf and replace with
4479         ParagraphList paragraphs.
4480         (DeleteBuffer): delete
4481         (cutSelection): change the tc type to textclass_type
4482         (copySelection): change the tc type to textclass_type
4483         (copySelection): adjust for ParagraphList
4484         (pasteSelection): change the tc type to textclass_type
4485         (pasteSelection): adjust for Paragraphlist
4486         (nrOfParagraphs): simplify for ParagraphList
4487         (checkPastePossible): simplify for ParagraphList
4488         (checkPastePossible): remove unused arg
4489
4490         * ParagraphList.C (insert): handle the case where there are no
4491         paragraphs yet.
4492
4493         * CutAndPaste.h: make CutAndPaste a namespace.
4494
4495         * text3.C (dispatch): adjust
4496
4497         * text.C (breakParagraph): add a ParagraphList as arg
4498
4499         * paragraph_funcs.C (breakParagraph): change to take a
4500         BufferParams and a ParagraphList as args.
4501         (breakParagraphConservative): ditto
4502         (mergeParagraph): ditto
4503         (TeXDeeper): add a ParagraphList arg
4504         (TeXEnvironment): ditto
4505         (TeXOnePar): ditto
4506
4507         * buffer.C (readLyXformat2): adjust
4508         (insertStringAsLines): adjust
4509         (latexParagraphs): adjust
4510
4511         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4512         (cutSelection): adjust
4513         (pasteSelection): adjust
4514
4515         * BufferView_pimpl.C (insertInset): adjust
4516
4517 2003-03-05  Angus Leeming  <leeming@lyx.org>
4518
4519         * commandtags.h:
4520         * LyXAction.C (init):
4521         * BufferView_pimpl.C (dispatch):
4522         * lyxfunc.C (getStatus):
4523         remove LFUN_CHILD_INSERT.
4524
4525         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4526
4527 2003-03-05  Angus Leeming  <leeming@lyx.org>
4528
4529         * commandtags.h:
4530         * LyXAction.C (init):
4531         * src/factory.C (createInset):
4532         * lyxfunc.C (getStatus):
4533         * text3.C (dispatch):
4534         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4535
4536         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4537
4538 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4539
4540         * ParagraphList.C (insert): handle insert right before end()
4541         (erase): fix cases where it can be first or last paragraph.
4542
4543 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4544
4545         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4546         Paragraph::next and Paragraph::previous
4547         (TeXOnePar): ditto
4548
4549         * text.C (breakParagraph): adjust
4550
4551         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4552         BufferParams& as arg.
4553         (breakParagraph): use ParagraphList::insert
4554         (breakParagraphConservative): take a Buffer* instead of a
4555         BufferParams& as arg.
4556         (breakParagraphConservative): use ParagraphList::insert.
4557
4558         * buffer.C (insertStringAsLines): un-const it
4559         (insertStringAsLines): adjust
4560
4561         * ParagraphList.C (insert): new function
4562
4563         * CutAndPaste.C (pasteSelection): adjust
4564
4565         * text.C (backspace): adjust
4566
4567         * tabular.C (SetMultiColumn): adjust
4568
4569         * CutAndPaste.C (cutSelection): adjust
4570         (pasteSelection): adjust
4571
4572         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4573         Buffer const * as arg
4574
4575         * ParagraphList.C (erase): new function
4576         * paragraph_funcs.C (mergeParagraph): use it
4577         (mergeParagraph): make it take a Buffer* instead of a
4578         BufferParams* as arg
4579
4580         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4581         as arg
4582         (breakParagraphConservative): ditto
4583
4584         * paragraph.h: remove the breakParagraph friend
4585
4586         * paragraph.C (eraseIntern): new function
4587         (setChange): new function
4588
4589         * paragraph_funcs.C (mergeParagraph): make it take a
4590         ParagraphList::iterator instead of a Paragraph *, adjust
4591         accordingly.
4592
4593         * paragraph.h: move an #endif so that the change tracking stuff
4594         also works in the NO_NEXT case.
4595
4596 2003-03-04  Angus Leeming  <leeming@lyx.org>
4597
4598         * commandtags.h:
4599         * LyXAction.C: new LFUN_INSET_MODIFY.
4600
4601         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4602         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4603
4604 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4605
4606         * several files: ws changes only
4607
4608         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4609         (TeXEnvironment): ditto
4610         (TeXDeeper): ditto
4611
4612         * buffer.C (makeLaTeXFile): adjust
4613         (latexParagraphs): make it take ParagraphList::iterator as args
4614
4615 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4616
4617         * buffer.C (latexParagraphs): adjust
4618
4619         * paragraph.C (TeXOnePar): move function...
4620         (optArgInset): move function...
4621         (TeXEnvironment): move function...
4622         * paragraph_pimpl.C (TeXDeeper): move function...
4623         * paragraph_funcs.C: ...here
4624
4625         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4626
4627 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4628
4629         * buffer.C (readInset): remove compability code for old Figure and
4630         InsetInfo insets
4631
4632 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4633
4634         * buffer.C: ws changes
4635         (readInset):
4636
4637         * BufferView_pimpl.C: ditto
4638         * author.C: ditto
4639         * buffer.h: ditto
4640         * bufferlist.h: ditto
4641         * changes.h: ditto
4642         * lyxfunc.C: ditto
4643
4644 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4645
4646         * converter.[Ch]: split into itself +
4647         * graph.[Ch]
4648         * format.[Ch]
4649         * Makefile.am: += graph.[Ch] + format.[Ch]
4650         * MenuBackend.C
4651         * buffer.C
4652         * exporter.C
4653         * importer.C
4654         * lyx_main.C
4655         * lyxfunc.C
4656         * lyxrc.C: added #include "format.h"
4657
4658 2003-02-27  Angus Leeming  <leeming@lyx.org>
4659
4660         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4661           a label.
4662
4663         * factory.C (createInset): add "label" to the factory.
4664
4665         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4666           string and do no more.
4667
4668 2003-02-27  Angus Leeming  <leeming@lyx.org>
4669
4670         * commandtags.h:
4671         * LyXAction.C (init):
4672         * factory.C (createInset):
4673         * BufferView_pimpl.C (dispatch):
4674           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4675
4676         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4677
4678         * lyxfunc.C (dispatch):
4679         * text3.C (dispatch): pass name to params2string.
4680
4681 2003-02-26  Angus Leeming  <leeming@lyx.org>
4682
4683         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4684           blocks together.
4685           Rearrange the ~includes. Strip out the unnecessary ones.
4686
4687         * factory.C (createInset): reformat.
4688           create new insets for the various LFUN_XYZ_APPLY lfuns.
4689
4690 2003-02-26  John Levon  <levon@movementarian.org>
4691
4692         * lyxrow.h:
4693         * lyxrow.C: add isParStart,isParEnd helpers
4694
4695         * paragraph.h: make isInserted/DeletedText take refs
4696
4697         * paragraph_funcs.h:
4698         * paragraph_funcs.C: remove #if 0'd code
4699
4700         * lyxtext.h:
4701         * text3.C:
4702         * text2.C:
4703         * text.C: use lyxrow helpers above.
4704           Move draw and paint routines to RowPainter.
4705           Make several methods use refs not pointers.
4706           Make backgroundColor() const.
4707           Add markChangeInDraw(), isInInset().
4708           Merge changeRegionCase into changeCase.
4709           Make workWidth() shouldn't-happen code into an Assert.
4710
4711         * rowpainter.h:
4712         * rowpainter.C: new class for painting a row.
4713
4714         * vspace.h:
4715         * vspace.C: make inPixels take a ref
4716
4717 2003-02-26  Angus Leeming  <leeming@lyx.org>
4718
4719         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4720         LFUN_REF_APPLY.
4721
4722 2003-02-25  John Levon  <levon@movementarian.org>
4723
4724         * ispell.C: give the forked command a more accurate name
4725
4726 2003-02-22  John Levon  <levon@movementarian.org>
4727
4728         * toc.h:
4729         * toc.C: make TocItem store an id not a Paragraph *
4730           (bug #913)
4731
4732 2003-02-21  Angus Leeming  <leeming@lyx.org>
4733
4734         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4735           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4736           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4737           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4738           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4739           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4740
4741         * BufferView_pimpl.C (dispatch):
4742         * LyXAction.C (init):
4743         * factory.C (createInset):
4744         * lyxfunc.C (getStatus, dispatch):
4745         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4746
4747 2003-02-21  Angus Leeming  <leeming@lyx.org>
4748
4749         * BufferView_pimpl.C (MenuInsertLyXFile):
4750         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4751         * lyxfunc.C (menuNew, open, doImport):
4752           no longer pass a LyXView & to fileDlg.
4753
4754 2003-02-21  Angus Leeming  <leeming@lyx.org>
4755
4756         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4757         * LyXAction.C: change, BIBKEY to BIBITEM.
4758         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4759         Change InsetBibKey to InsetBibitem.
4760         Change BIBKEY_CODE to BIBITEM_CODE.
4761         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4762         * factory.C: replace insetbib.h with insetbibitem.h.
4763         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4764         * paragraph.C: replace insetbib.h with insetbibitem.h.
4765         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4766         Change bibkey() to bibitem().
4767         * text.C: remove insetbib.h.
4768         * text2.C: replace insetbib.h with insetbibitem.h.
4769         change bibkey() to bibitem().
4770         * text3.C: remove insetbib.h.
4771         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4772
4773 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4774
4775         * lyxrc.C (output): enclose user email in quotes (in case there are
4776         several words)
4777
4778 2003-02-18  John Levon  <levon@movementarian.org>
4779
4780         * buffer.h: add std::
4781
4782 2003-02-17  John Levon  <levon@movementarian.org>
4783
4784         * SpellBase.h:
4785         * ispell.h:
4786         * ispell.C:
4787         * pspell.h:
4788         * pspell.C: reworking. Especially in ispell, a large
4789           number of clean ups and bug fixes.
4790
4791         * lyxfunc.C: fix revert to behave sensibly
4792
4793 2003-02-17 André Pönitz <poenitz@gmx.net>
4794
4795         * LyXAction.C:
4796         * commandtags.h: new LFUN_INSERT_BIBKEY
4797
4798         * layout.h:
4799         * lyxlayout.C:
4800         * buffer.C:
4801         * factory.C:
4802         * text.C:
4803         * text2.C:
4804         * text3.C:
4805         * paragraph.[Ch]:
4806         * paragraph_func.C: remove special bibkey handling
4807
4808 2003-02-17  John Levon  <levon@movementarian.org>
4809
4810         * text.C (Delete): fix case where delete at the end of
4811           the very first paragraph would not merge the pars
4812
4813 2003-02-17  John Levon  <levon@movementarian.org>
4814
4815         * lyxrow.C: fix lastPrintablePos()
4816
4817 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4818
4819         * bufferparams.C (writeLaTeX): add a std:here
4820
4821         * buffer.C: and remove a using directive there
4822
4823 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4824
4825         * buffer.C (makeLaTeXFile): move the code that generates the
4826           preamble...
4827
4828         * bufferparams.C (writeLaTeX): ... in this new method
4829
4830         * LaTeXFeatures.C (getEncodingSet): make const
4831           (getLanguages): make const
4832
4833         * MenuBackend.C (binding): returns the binding associated to this
4834           action
4835           (add): sets the status of each item by calling getStatus. Adds
4836           some intelligence.
4837           (read): add support for OptSubMenu
4838           (expand): remove extra separator at the end of expanded menu
4839
4840 2003-02-15  John Levon  <levon@movementarian.org>
4841
4842         * BufferView.C:
4843         * BufferView_pimpl.C:
4844         * bufferlist.h:
4845         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4846           inset code that had no actual effect. Remove unneeded status
4847           code.
4848
4849 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4850
4851         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4852           in preamble
4853
4854 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4855
4856         * text.C (drawLengthMarker): also draw an arrow marker for
4857           symbolic lengths (medskip...)
4858
4859 2003-02-14  John Levon  <levon@movementarian.org>
4860
4861         * tabular.h:
4862         * tabular.C: better method names
4863
4864 2003-02-14  John Levon  <levon@movementarian.org>
4865
4866         * BufferView_pimpl.C:
4867         * bufferlist.C:
4868         * buffer.C:
4869         * converter.C:
4870         * lyx_cb.C:
4871         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4872           it's a more accurate name. Remove some pointless uses.
4873
4874 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4875
4876         * text2.C (LyXText): change order of initilizers to shut off
4877           warnings
4878
4879 2003-02-14  John Levon  <levon@movementarian.org>
4880
4881         * buffer.C: use ParIterator for getParFromID()
4882
4883         * paragraph.h:
4884         * paragraph.C:
4885         * paragraph_pimpl.h:
4886         * paragraph_pimpl.C: remove unused getParFromID()
4887
4888 2003-02-14  John Levon  <levon@movementarian.org>
4889
4890         * buffer.C: remove some very old #if 0'd parse code
4891
4892 2003-02-13  John Levon  <levon@movementarian.org>
4893
4894         * text.h:
4895         * text.C:
4896         * text2.C: move hfillExpansion(), numberOfSeparators(),
4897           rowLast(), rowLastPrintable(), numberofHfills(),
4898           numberOfLabelHfills() ...
4899
4900         * lyxrow.h:
4901         * lyxrow.C: ... to member functions here.
4902
4903         * paragraph.h:
4904         * paragraph.C:
4905         * lyxtext.h:
4906         * text.C: remove LyXText::beginningOfMainBody(), and call
4907           p->beginningOfMainBody() directly. Move the check for
4908           LABEL_MANUAL into the latter.
4909
4910         * text.h:
4911         * text.C:
4912         * text2.C:
4913         * vspace.C:
4914         * BufferView.h:
4915         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4916
4917         * text.h:
4918         * text.C:
4919         * text2.C:
4920         * text3.C:
4921         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4922           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4923
4924 2003-02-13  John Levon  <levon@movementarian.org>
4925
4926         * CutAndPaste.C: remove debug
4927
4928 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4929
4930         * paragraph.C (asString): remove two unused variables
4931
4932         * lyxtextclass.C (readTitleType):
4933           (Read):
4934           (LyXTextClass): handle new members titletype_ and titlename_
4935
4936         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4937
4938 2003-02-09  John Levon  <levon@movementarian.org>
4939
4940         * buffer.h:
4941         * buffer.C: replace hand-coded list with a map for the dep clean
4942
4943 2003-02-08  John Levon  <levon@movementarian.org>
4944
4945         * LaTeX.C: consolidate code into showRunMessage() helper
4946
4947 2003-02-08  John Levon  <levon@movementarian.org>
4948
4949         * lyxfind.C:
4950         * lyxtext.h:
4951         * text2.C:
4952         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4953           and pass the size in explicitly
4954
4955         * BufferView_pimpl.h:
4956         * BufferView_pimpl.C:
4957         * BufferView.h:
4958         * BufferView.C: add getCurrentChange()
4959
4960         * BufferView_pimpl.h:
4961         * BufferView_pimpl.C: handle change lfuns
4962
4963         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4964           for changes. Mark pasted paragraphs as new.
4965
4966         * support/lyxtime.h:
4967         * support/lyxtime.C:
4968         * DepTable.C: abstract time_t as lyx::time_type
4969
4970         * LColor.h:
4971         * LColor.C: add colours for new text, deleted text, changebars
4972
4973         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4974           package use "usenames" option.
4975
4976         * commandtags.h:
4977         * lyxfunc.C:
4978         * LyXAction.C: add change lfuns
4979
4980         * Makefile.am:
4981         * author.h:
4982         * author.C: author handling
4983
4984         * buffer.h:
4985         * buffer.C: add a per-buffer author list, with first entry as
4986           current author. Handle new .lyx tokens for change tracking. Output
4987           author list to .lyx file. Output dvipost stuff to .tex preamble.
4988           Bump lyx format to 222.
4989
4990         * bufferlist.h:
4991         * bufferlist.C: add setCurrentAuthor() to reset current author details
4992           in all buffers.
4993
4994         * bufferparams.h:
4995         * bufferparams.C: add param for tracking
4996
4997         * bufferview_funcs.C: output change info in minibuffer
4998
4999         * Makefile.am:
5000         * changes.h:
5001         * changes.C: add change-tracking structure
5002
5003         * debug.h:
5004         * debug.C: add CHANGES debug flag
5005
5006         * lyxfind.h:
5007         * lyxfind.C: add code for finding the next change piece
5008
5009         * lyxrc.h:
5010         * lyxrc.C: add user_name and user_email
5011
5012         * lyxrow.h:
5013         * lyxrow.C: add a metric for the top of the text line
5014
5015         * lyxtext.h:
5016         * text.C: implement accept/rejectChange()
5017
5018         * lyxtext.h:
5019         * text.C: paint changebars. Paint new/deleted text in the chosen
5020         colours. Strike through deleted text.
5021
5022         * paragraph.h:
5023         * paragraph.C:
5024         * paragraph_pimpl.h:
5025         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5026           in the current change to the insert functions. Rework erase to
5027           mark text as deleted, adding an eraseIntern() and a range-based
5028           erase(). Implement per-paragraph change lookup and
5029           accept/reject.
5030
5031         * paragraph_funcs.C: Fixup paste for change tracking.
5032
5033         * tabular.C: mark added row/columns as new.
5034
5035         * text.C: fix rowLast() to never return -1. Don't allow
5036           spellchecking of deleted text. Track transpose changes. Don't
5037           allow paragraph break or merge where appropriate.
5038
5039         * text2.C: leave cursor at end of selection after a cut.
5040
5041 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5042
5043         * text.C (getLengthMarkerHeight):
5044         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5045         visible on screen too.
5046
5047 2003-02-07  John Levon  <levon@movementarian.org>
5048
5049         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5050
5051 2003-02-05  Angus Leeming  <leeming@lyx.org>
5052
5053         * lyxserver.C (read_ready): revert my patch of 11 September last year
5054         as it sends PC cpu through the roof. Presumably this means that
5055         the lyxserver will no longer run on an Alpha...
5056
5057 2003-01-30  Angus Leeming  <leeming@lyx.org>
5058
5059         * factory.C (createInset): create an InsetCommandParam of type "index"
5060         and use it to 'do the right thing'.
5061
5062         * text2.C (getStringToIndex): ensure that cursor position is always
5063         reset to the reset_cursor position.
5064
5065 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5066
5067         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5068         disabled.
5069
5070 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5071
5072         * bufferview.C:
5073         * lyxcb.C:
5074         * lyxfunc.C: Output messages with identical spelling, punctuation,
5075         and spaces
5076
5077 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5078
5079         * MenuBackend.C (expandFormats): List only viewable export formats
5080         in "View" menu
5081
5082         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5083         message
5084
5085         * lyxfunc.C (getStatus): Make sure that formats other than
5086         "fax" can also be disabled
5087
5088 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5089
5090         * text3.C (dispatch): put the lfuns that insert insets in 3
5091         groups, and call doInsertInset with appropriate arguments.
5092         (doInsertInset): new function, that creates an inset and inserts
5093         it according to some boolean parameters.
5094
5095 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5096
5097         * buffer.C (readFile): remember to pass on 'par' when calling
5098         readFile recursively.
5099
5100 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5101
5102         * MenuBackend.C (expandFormats): add "..." to import formats.
5103
5104 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5105
5106         * paragraph.C (asString): Remove XForms RTL hacks.
5107
5108 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5109         * buffer.C: fix typo
5110
5111 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5112
5113         * Makefile.am (LIBS): delete var
5114         (lyx_LDADD): add @LIBS@ here instead.
5115
5116 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5117
5118         * Clarify the meaning of "wheel mouse jump"
5119
5120 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5121
5122         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5123         tabular in a float
5124
5125 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5126
5127         * importer.C (Loaders): do not preallocate 3 elements in the
5128         vector, since one ends up with 6 elements otherwise
5129
5130 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5131
5132         * DepTable.C (write): write the file name as last element of the
5133         .dep file (because it may contain spaces)
5134         (read): read info in the right order
5135
5136 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5137
5138         * paragraph_pimpl.C (simpleTeXBlanks):
5139         (simpleTeXSpecialChars):
5140         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5141
5142         * tabular.C (latex): add some missing case statements. Reindent.
5143
5144         * MenuBackend.C (expandToc): remove unused variable.
5145
5146 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5147
5148         * LColor.C:
5149         * LaTeX.C:
5150         * LyXAction.C:
5151         * MenuBackend.C:
5152         * buffer.C:
5153         * exporter.C:
5154         * lyxfunc.C:
5155         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5156         and the like.
5157
5158 2003-01-05  John Levon  <levon@movementarian.org>
5159
5160         * BufferView.h:
5161         * BufferView.C: add getEncoding()
5162
5163         * kbsequence.h:
5164         * kbsequence.C: do not store last keypress
5165
5166         * lyxfunc.h:
5167         * lyxfunc.C: store last keypress here instead. Pass encoding
5168           to getISOEncoded()
5169
5170 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5171
5172         * lyx_main.C (init): remove annoying error message when following
5173         symbolic links (bug #780)
5174
5175 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5176
5177         * text.C (insertChar):
5178         * lyxrc.C (getDescription): remove extra spaces
5179
5180 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5181
5182         * lyxrc.C (getDescription): remove extra spaces
5183
5184 2002-12-20  John Levon  <levon@movementarian.org>
5185
5186         * text3.C: hack fix for page up/down across tall rows
5187
5188 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5189
5190         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5191         not been invoked
5192
5193 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5194
5195         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5196         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5197         thesaurus is not compiled in
5198
5199 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5200
5201         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5202
5203 2002-12-16  Angus Leeming  <leeming@lyx.org>
5204
5205         * lyxrc.[Ch]:
5206         * lyx_main.C (init): remove override_x_deadkeys stuff.
5207
5208 2002-12-12  John Levon  <levon@movementarian.org>
5209
5210         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5211           insert. Only remove shift modifier under strict
5212           circumstances.
5213
5214 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5215
5216         * MenuBackend.C (expandToc): fix crash.
5217
5218 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5219
5220         * MenuBackend.C (expandToc): gettext on float names.
5221
5222 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5223
5224         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5225         implement bool empty() [bug 490]
5226
5227 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5228
5229         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5230
5231 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * several files: ws changes
5234
5235 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5236
5237         * text2.C (setCounter): clean up a bit, use boost.format.
5238         (updateCounters): initialize par upon declaration.
5239
5240         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5241         if the layout exists. We do not just store the layout any more.
5242         (SwitchLayoutsBetweenClasses): use boost.format
5243
5244 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5245
5246         * converter.C (convert): if from and to files are the same, use a
5247         temporary files as intermediary
5248
5249 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5250
5251         * commandtags.h:
5252         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5253
5254 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5255
5256         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5257
5258 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5259
5260         * tabular.C (asciiPrintCell): use string(size, char) instead of
5261         explicit loop.
5262
5263         * sgml.C (openTag): fix order of arguments to string constructor
5264         (closeTag): ditto
5265
5266         * lyxfunc.C (dispatch): use boost.format
5267
5268         * lots of files: change "c" -> 'c'
5269
5270 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5271
5272         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5273
5274 2002-11-25  Angus Leeming  <leeming@lyx.org>
5275
5276         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5277
5278         * lyx_main.C (init): compile fix.
5279
5280 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * lyx_cb.C (start): boost.formatify
5283         do not include <iostream>
5284
5285         * lengthcommon.C: ws only
5286
5287         * boost-inst.C,BoostFormat.h: add more explict instantations
5288
5289 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5290
5291         * lots of files: handle USE_BOOST_FORMAT
5292
5293 2002-11-21  John Levon  <levon@movementarian.org>
5294
5295         * pspell.C: fix compile
5296
5297 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5298
5299         * lyxfunc.C (dispatch): use boost::format
5300         (open): ditto
5301         (doImport): ditto
5302
5303         * lyxfont.C (stateText): use boost::format
5304
5305         * lyx_main.C (LyX): use boost::format
5306         (init): ditto
5307         (queryUserLyXDir): ditto
5308         (readRcFile): ditto
5309         (parse_dbg): ditto
5310         (typedef boost::function): use the recommened syntax.
5311
5312         * importer.C (Import): use boost::format
5313
5314         * debug.C (showLevel): use boost::format
5315
5316         * converter.C (view): use boost::format
5317         (convert): ditto
5318         (move): ditto
5319         (scanLog): ditto
5320
5321         * bufferview_funcs.C (currentState): use boost::format
5322
5323         * bufferlist.C (emergencyWrite): use boost::format
5324
5325         * buffer.C (readLyXformat2): use boost::format
5326         (parseSingleLyXformat2Token): ditto
5327
5328         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5329
5330         * LaTeX.C (run): use boost::format
5331
5332         * Chktex.C (scanLogFile): use boost::format
5333
5334         * BufferView_pimpl.C (savePosition): use boost::format
5335         (restorePosition): ditto
5336         (MenuInsertLyXFile): ditto
5337
5338         * BoostFormat.h: help file for explicit instation.
5339
5340 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5341
5342         * tabular.C (latex): Support for block alignment in fixed width
5343         columns.
5344
5345 2002-11-17  John Levon  <levon@movementarian.org>
5346
5347         * BufferView_pimpl.C:
5348         * lyx_cb.C:
5349         * lyxfunc.C: split filedialog into open/save
5350
5351 2002-11-08  Juergen Vigna  <jug@sad.it>
5352
5353         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5354         by my last patch (hopefully).
5355
5356 2002-11-08  John Levon  <levon@movementarian.org>
5357
5358         * iterators.h:
5359         * iterators.C:
5360         * buffer.h:
5361         * buffer.C:
5362         * paragraph.h:
5363         * paragraph.C:
5364         * toc.h:
5365         * toc.C: ParConstIterator, and use it (from Lars)
5366
5367 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5368
5369         * lyxtextclass.[Ch]: revise and add doxygen comments
5370
5371 2002-11-07  John Levon  <levon@movementarian.org>
5372
5373         * text.C: fix progress value for spellchecker
5374
5375         * toc.C: fix navigate menu for insetwrap inside minipage
5376
5377         * paragraph_funcs.C: added FIXME for suspect code
5378
5379 2002-11-07  John Levon  <levon@movementarian.org>
5380
5381         * BufferView_pimpl.C: fix redrawing of insets
5382           on buffer switch
5383
5384 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5385
5386         * text2.C (updateCounters): fix bug 668
5387
5388 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5389
5390         * text3.C (dispatch): Do not make the buffer dirty when moving the
5391         cursor.
5392
5393 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5394
5395         * vc-backend.C: STRCONV
5396         (scanMaster): ditto
5397
5398         * text2.C (setCounter): STRCONV
5399
5400         * paragraph.C (asString): STRCONV
5401
5402         * lyxlength.C (asString): STRCONV
5403         (asLatexString): ditto
5404
5405         * lyxgluelength.C (asString): STRCONV
5406         (asLatexString): ditto
5407
5408         * lyxfunc.C (dispatch): STRCONV
5409         (open): ditto
5410
5411         * lyxfont.C (stateText): STRCONV
5412
5413         * importer.C (Import): STRCONV
5414
5415         * counters.C (labelItem): STRCONV
5416         (numberLabel): ditto
5417         (numberLabel): remove unused ostringstream o
5418
5419         * chset.C: STRCONV
5420         (loadFile): ditto
5421
5422         * bufferview_funcs.C (currentState): STRCONV
5423
5424         * buffer.C (readFile): STRCONV
5425         (asciiParagraph): ditto
5426         (makeLaTeXFile): ditto
5427
5428         * Spacing.C (writeEnvirBegin): STRCONV
5429
5430         * LaTeXFeatures.C (getLanguages): STRCONV
5431         (getPackages): ditto
5432         (getMacros): ditto
5433         (getBabelOptions): ditto
5434         (getTClassPreamble): ditto
5435         (getLyXSGMLEntities): ditto
5436         (getIncludedFiles): ditto
5437
5438         * LaTeX.C: STRCONV
5439         (run): ditto
5440         (scanAuxFile): ditto
5441         (deplog): ditto
5442
5443         * LString.h: add the STRCONV macros
5444
5445         * BufferView_pimpl.C (savePosition): STRCONV
5446         (restorePosition): ditto
5447         (MenuInsertLyXFile): ditto
5448
5449         * vc-backend.C (scanMaster): change from submatch[...] to
5450         submatch.str(...)
5451
5452         * funcrequest.C: include config.h
5453
5454         * factory.C: include config.h
5455
5456         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5457
5458         * box.C: include config.h
5459
5460         * LaTeX.C (scanAuxFile): change from submatch[...] to
5461         submatch.str(...)
5462         (deplog): ditto
5463
5464 2002-10-25  Angus Leeming  <leeming@lyx.org>
5465
5466         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5467
5468         * ispell.[Ch] (setError): new method.
5469         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5470         Use setError() insetead of goto END.
5471
5472         * lyx_cb.C (AutoSave): move out child process into new class
5473         AutoSaveBuffer.
5474
5475 2002-10-30  John Levon  <levon@movementarian.org>
5476
5477         * text3.C: make start appendix undoable
5478
5479 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5480
5481         * lyxlength.C (inPixels): Fix returned value.
5482
5483         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5484         environment.
5485
5486 2002-10-24  Angus Leeming  <leeming@lyx.org>
5487
5488         * lyxgluelength.h: no need to forward declare BufferParams
5489         or BufferView, so don't.
5490
5491 2002-10-21  John Levon  <levon@movementarian.org>
5492
5493         * BufferView.C: menuUndo ->undo, redo
5494
5495         * BufferView.h: document, remove dead, make some methods private
5496
5497         * paragraph_funcs.h:
5498         * paragraph_funcs.C:
5499         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5500
5501         * buffer.h:
5502         * buffer.C:
5503         * sgml.h:
5504         * sgml.C: move sgml open/close tag into sgml.C
5505
5506         * bufferview_funcs.h: unused prototype
5507
5508         * lyxfunc.h:
5509         * lyxfunc.C: remove unused
5510
5511         * lyxtext.h:
5512         * text.C: remove unused
5513
5514 2002-10-21  John Levon  <levon@movementarian.org>
5515
5516         * BufferView.h:
5517         * BufferView.C:
5518         * BufferView_pimpl.h:
5519         * BufferView_pimpl.C: fix mouse wheel handling based on
5520           patch from Darren Freeman
5521
5522 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5523
5524         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5525
5526 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5527
5528         * lyxlength.C (inPixels): Fix hanfling of negative length.
5529         Fix LyXLength::MU case.
5530
5531 2002-10-16  John Levon  <levon@movementarian.org>
5532
5533         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5534
5535 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5536
5537         * converter.C (view): add support for $$i (file name) and $$p
5538         (file path) for the viewer command. If $$i is not specified, then
5539         it is appended to the command (for compatibility with old syntax)
5540
5541 2002-10-14  Juergen Vigna  <jug@sad.it>
5542
5543         * undo_funcs.C (textHandleUndo): alter the order in which the
5544         new undopar is added to the LyXText, as we have to set first
5545         the right prev/next and then add it as otherwise the rebuild of
5546         LyXText is not correct. Also reset the cursor to the right paragraph,
5547         with this IMO we could remove the hack in "redoParagraphs()".
5548
5549 2002-10-09  Angus Leeming  <leeming@lyx.org>
5550
5551         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5552         to turn off an optimisation if a new inset is to be inserted.
5553
5554 2002-10-11 André Pönitz <poenitz@gmx.net>
5555
5556         * lyxtext.h: make some functions public to allow access
5557         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5558
5559 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5560
5561         * text3.C (dispatch): when changing layout, avoid an infinite loop
5562         [bug #652]
5563
5564 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5565
5566         * lyxrc.C (read): treat a viewer or converter command of "none" as
5567         if it were empty.
5568
5569         * MenuBackend.C (expandFormats): for an update, also allow the
5570         formats that are not viewable
5571
5572         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5573         script if it is newer than the lyxrc.defaults in user directory
5574
5575 2002-10-07 André Pönitz <poenitz@gmx.net>
5576
5577         * text.C: Vitaly Lipatov's small i18n fix
5578
5579 2002-09-25  Angus Leeming  <leeming@lyx.org>
5580
5581         * ispell.h: doxygen fix.
5582
5583 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5584
5585         * buffer.h (readFile): Add a new argument to the method, to allow
5586         reading of old-format templates.
5587
5588 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5589
5590         * toc.C (getTocList): Get TOC from InsetWrap.
5591
5592 2002-09-16  John Levon  <levon@movementarian.org>
5593
5594         * lyxfunc.C: check tabular for cut/copy too
5595
5596 2002-09-12  John Levon  <levon@movementarian.org>
5597
5598         * LyXAction.C: tidy
5599
5600         * factory.h:
5601         * factory.C: add header
5602
5603         * paragraph_funcs.h:
5604         * paragraph_funcs.C: cleanup
5605
5606 2002-09-11  John Levon  <levon@movementarian.org>
5607
5608         * PrinterParams.h: odd/even default to true
5609
5610 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5611
5612         * PrinterParams.h: update printer parameters for new xforms dialog
5613
5614 2002-09-11  Angus Leeming  <leeming@lyx.org>
5615
5616         * lyxserver.C (read_ready): re-write to make it more transparent
5617         and to make it work in coherent fashion under Tru64 Unix.
5618
5619 2002-09-11  André Pönitz <poenitz@gmx.net>
5620
5621         * commandtags.h:
5622         * LyXAction.C:
5623         * text3.C: implement LFUN_WORDSEL
5624
5625 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5626
5627         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5628         make floatlist_ a boost::shared_ptr<FloatList>
5629
5630         * lyxtextclass.C: include FloatList.h
5631         (LyXTextClass): initialize floatlist_
5632         (TextClassTags): add TC_NOFLOAT
5633         (Read): match "nofloat" to TC_NOFLOAT and use it.
5634         (readFloat): modify call to floatlist_
5635         (floats): ditto
5636         (floats): ditto
5637
5638         * FloatList.[Ch] (FloatList): remove commented out float
5639         initialization.
5640         (erase): new function
5641
5642 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5643
5644         * MenuBackend.C (expandToc): fix crash when there is no document
5645         open
5646
5647 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5648
5649         * many files: Add insetwrap.
5650
5651 2002-09-09  John Levon  <levon@movementarian.org>
5652
5653         * text2.C: remove confusing and awkward depth wraparound
5654
5655 2002-09-09  John Levon  <levon@movementarian.org>
5656
5657         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5658
5659         * buffer.h:
5660         * buffer.C: remove getIncludeonlyList()
5661
5662         * paragraph.C:
5663         * lyxfunc.C: remove headers
5664
5665 2002-09-09  Juergen Vigna  <jug@sad.it>
5666
5667         * text.C (getColumnNearX): fix form Michael this is most
5668         probably a cut&paste bug.
5669
5670 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5671
5672         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5673
5674         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5675         references, ws changes.
5676
5677         * text2.C (init): update counters after init
5678         (insertParagraph): no need to set counter on idividual paragraphs.
5679         (setCounter): access the counters object in the textclass object
5680         on in the buffer object.
5681         (updateCounters): ditto
5682
5683         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5684         shared_ptr<Counters> to avoid loading counters.h in all
5685         compilation units.
5686         (LyXTextClass): initialize ctrs_
5687         (TextClassTags): add TC_COUNTER, and ...
5688         (Read): use it here.
5689         (CounterTags): new tags
5690         (readCounter): new function
5691         (counters): new funtion
5692         (defaultLayoutName): return a const reference
5693
5694         * counters.C (Counters): remove contructor
5695         (newCounter): remove a couple of unneeded statements.
5696         (newCounter): simplify a bit.
5697         (numberLabel): some small formatting changes.
5698
5699         * buffer.[Ch]: remove all traces of counters, move the Counters
5700         object to the LyXTextClass.
5701
5702 2002-09-06  Alain Castera  <castera@in2p3.fr>
5703
5704         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5705         package to set the horizontal alignment on fixed width columns.
5706
5707         * lyx_sty.C:
5708         * lyx_sty.h: added tabularnewline macro def.
5709
5710         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5711
5712 2002-09-06  John Levon  <levon@movementarian.org>
5713
5714         * LyXAction.C: tooltips for sub/superscript
5715
5716         * MenuBackend.C: a bit more verbose
5717
5718         * lyxfunc.C: tiny clean
5719
5720         * undo_funcs.C: document undo_frozen
5721
5722 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5723
5724         * counters.C (Counters): add missing algorithm counter.
5725
5726         * text2.C (setCounter): lookup the counter with layouts latexname
5727         instead of by section number.
5728         (setCounter): use a hackish way to lookup the correct enum
5729         counter.
5730         a float name->type change
5731         reset enum couners with counter name directly instead of depth value.
5732
5733         * counters.C (Counters): remove the push_backs, change to use the
5734         float type not the float name.
5735         (labelItem): remove unused string, float name->type change
5736
5737         * counters.h: don't include vector, loose the enums and sects vectors
5738
5739 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5740
5741         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5742         (Read): add float->TC_FLOAT to textclassTags
5743         (Read): and handle it in the switch
5744         (readFloat): new function
5745
5746         * FloatList.C (FloatList): comment out the hardcoded float
5747         definitions.
5748
5749         * lyxlayout.h: ws change.
5750
5751 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5752
5753         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5754
5755 2002-09-03  Angus Leeming  <leeming@lyx.org>
5756
5757         * BufferView_pimpl.h: qualified name is not allowed in member
5758         declaration: WorkArea & Pimpl::workarea() const;
5759
5760         * factory.C: added using std::endl directive.
5761
5762         * text3.C: added using std::find and std::vector directives.
5763
5764 2002-08-29  André Pönitz <poenitz@gmx.net>
5765
5766         * lyxtext.h:
5767         * text2.C: remove unused member number_of_rows
5768
5769         * Makefile.am:
5770         * BufferView2.C: remove file, move contents to...
5771         * BufferView.C: ... here
5772
5773         * BufferView_pimpl.C:
5774         * factory.C: move more inset creation to factory
5775
5776         * vspace.C: avoid direct usage of LyXText, ws changes
5777
5778         * BufferView.[Ch]:
5779                 don't provide direct access to WorkArea, use two simple
5780                 acessors haveSelction() and workHeight() instead
5781
5782
5783 2002-08-29  John Levon  <levon@movementarian.org>
5784
5785         * BufferView_pimpl.C (dispatch): do not continue when
5786           no buffer
5787
5788 2002-08-28  André Pönitz <poenitz@gmx.net>
5789
5790         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5791
5792         * BufferView.h:
5793         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5794
5795 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5796
5797         * buffer.C: increment LYX_FORMAT to 221
5798
5799         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5800         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5801
5802         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5803
5804         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5805
5806 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5807
5808         * factory.C (createInset): use LyXTextClass::floats
5809
5810         * MenuBackend.C (expandFloatListInsert):
5811         (expandFloatInsert):
5812         (expandToc):
5813
5814         * text2.C (setCounter):
5815
5816         * LaTeXFeatures.C (useFloat):
5817         (getFloatDefinitions):
5818
5819         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5820
5821         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5822         floatlist_, with accessor floats().
5823
5824         * FloatList.h: remove global FloatList
5825
5826 2002-08-26  André Pönitz <poenitz@gmx.net>
5827
5828         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5829
5830         * BufferView.h:
5831         * BufferView2.C:
5832         * BufferView_pimpl.C:
5833         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5834
5835 2002-08-25  John Levon  <levon@movementarian.org>
5836
5837         * LyXAction.C: fix margin note description
5838
5839 2002-08-24  John Levon  <levon@movementarian.org>
5840
5841         * buffer.C:
5842         * bufferlist.C:
5843         * bufferview_funcs.C:
5844         * lyxfont.C:
5845         * undo_funcs.C: cleanups
5846
5847         * lyxfunc.C: disable CUT/COPY when no selection
5848
5849 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5850
5851         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5852         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5853
5854         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5855         Add backward compatibility to "mono", "gray" and "no".
5856
5857 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5858
5859         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5860         (and file_format >= 200).
5861
5862 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5863
5864         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5865
5866 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5867
5868         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5869
5870 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5871
5872         * BufferView_pimpl.C:
5873         * LyXAction.C:
5874         * buffer.C:
5875         * commandtags.h:
5876         * lyxfunc.C:
5877         * paragraph.[Ch]:
5878         * text2.C:
5879         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5880         inset and code to make it  work with the paragraph code. The inset
5881         can be anywhere in the paragraph, but will only do the expected
5882         thing in LaTeX if the layout file contains the parameter line
5883                         OptionalArgs    1
5884         (or more generally, a nonzero value) for that layout.
5885
5886 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5887
5888         * paragraph.h: remove the declaration of undefined counters class
5889         function.
5890
5891 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5892
5893         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5894         Dr. Richard Hawkins.
5895
5896 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5897
5898         * paragraph_funcs.h: remove some unneeded includes
5899
5900         * text.C (backspace): pasteParagraph now in global scipe
5901
5902         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5903         (pasteSelection): ditto
5904
5905         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5906         * paragraph_funcs.C (pasteParagraph): ... here
5907
5908 2002-08-20  André Pönitz <poenitz@gmx.net>
5909
5910         * commandtags.h: new LFUNs for swapping/copying table row/colums
5911
5912         * LyXAction.C:
5913         * lyxfunc.C: support for new lfuns
5914
5915 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5916
5917         * tabular.C:
5918         * buffer.[Ch]: remove NO_COMPABILITY stuff
5919
5920 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5921
5922         * boost.C (throw_exception): new file, with helper function for
5923         boost compiled without exceptions.
5924
5925         * paragraph.h:
5926         * lyxlength.C:
5927         * buffer.C:
5928         * ParameterStruct.h:
5929         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5930
5931         * bufferlist.C (emergencyWriteAll): use boost bind
5932
5933         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5934
5935         * text.C: include paragraph_funcs.h
5936         (breakParagraph): breakParagraph is now in global scope
5937
5938         * paragraph_funcs.[Ch]: new files
5939
5940         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5941         global scope
5942
5943         * buffer.C: include paragraph_funcs.h
5944         (insertStringAsLines): breakParagraph is now in global scope
5945
5946         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5947         paragraph_funcs.C
5948
5949         * CutAndPaste.C: include paragraph_funcs.h
5950         (cutSelection): breakParagraphConservative is now in global scope
5951         (pasteSelection): ditto
5952
5953         * buffer.h: declare oprator== and operator!= for
5954         Buffer::inset_iterator
5955
5956         * bufferlist.C (emergencyWrite): don't use fmt(...)
5957
5958         * text3.C: add using std::endl
5959
5960         * BufferView.C (moveCursorUpdate): remove default arg
5961
5962 2002-08-20  André Pönitz <poenitz@gmx.net>
5963
5964         * buffer.[Ch]: move inline functions to .C
5965
5966         * BufferView2.C:
5967         * BufferView_pimpl.C:
5968         * text.C:
5969         * buffer.[Ch]: use improved inset_iterator
5970
5971         * buffer.C:
5972         * paragraph.[Ch]: write one paragraph at a time
5973
5974 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5975
5976         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5977         style if style is not specified.
5978
5979 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5980
5981         * text2.C (setCounter): when searching for right label for a
5982         caption, make sure to recurse to parent insets (so that a caption
5983         in a minipage in a figure float works) (bug #568)
5984
5985 2002-08-20  André Pönitz <poenitz@gmx.net>
5986
5987         * text3.C: new file for LyXText::dispatch() and helpers
5988
5989         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5990
5991         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5992
5993 2002-08-19  André Pönitz <poenitz@gmx.net>
5994
5995         * lyxtext.h:
5996         * text.C: new LyXText::dispatch()
5997
5998         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5999
6000 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6001
6002         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6003
6004         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6005         Hebrew text.
6006
6007 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6008
6009         * Makefile.am: use $(variables) instead of @substitutions@
6010
6011 2002-08-15  André Pönitz <poenitz@gmx.net>
6012
6013         * lyxfunc.C:
6014         * BufferView_pimpl.C: streamlining mathed <-> outer world
6015         interaction
6016
6017         * commandtags.h:
6018         * LyXAction.C: remove unused LFUN_MATH
6019
6020 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6021
6022         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6023
6024 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6025
6026         * paragraph.C (Paragraph): reformat a bit
6027         (cutIntoMinibuffer): use builtin InsetList function instad of
6028         doing it manually.
6029         (getInset): ditto
6030
6031         * buffer.C: include boost/bind.hpp, add using std::for_each
6032         (writeFileAscii): use ParagraphList iterators
6033         (validate): use for_each for validate traversal of paragraphs
6034         (getBibkeyList): use ParagraphList iterators
6035         (resizeInsets): use for_each to resizeInsetsLyXText for all
6036         paragraphs.
6037         (getParFromID): use ParagraphList iterators
6038
6039         * BufferView2.C (lockInset): use paragraph list and iterators
6040
6041 2002-08-14  John Levon  <levon@movementarian.org>
6042
6043         * lyxserver.C: remove spurious xforms include
6044
6045 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6046
6047         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6048
6049 2002-08-13  André Pönitz <poenitz@gmx.net>
6050
6051         * LyXAction.[Ch]:
6052         * lyxfunc.C: further cleaning
6053
6054 2002-08-13  André Pönitz <poenitz@gmx.net>
6055
6056         * funcrequest.h: new constructor
6057
6058         * funcrequest.C: move stuff here from .h
6059
6060         * Makefile.am:
6061         * BufferView_pimpl.C:
6062         * LyXAction.C:
6063         * toc.C:
6064         * lyxfunc.C: subsequent changes
6065
6066         * lyxfunc.h: new view() member function
6067
6068         * lyxfunc.C: subsequent changes
6069
6070 2002-08-13  Angus Leeming  <leeming@lyx.org>
6071
6072         * BufferView2.C:
6073         * BufferView_pimpl.C:
6074         * buffer.C:
6075         * converter.C:
6076         * importer.C:
6077         * lyxfunc.C:
6078         * lyxvc.C:
6079         * toc.C:
6080         * vc-backend.C:
6081         changes due to the changed LyXView interface that now returns references
6082         to member variables not pointers.
6083
6084 2002-08-13  Angus Leeming  <leeming@lyx.org>
6085
6086         * WordLangTuple (word, lang_code): return references to strings,
6087         not strings.
6088
6089         * BufferView.h:
6090         * SpellBase.h:
6091         * lyxtext.h: forward-declare WordLangTuple.
6092
6093         * BufferView2.C:
6094         * ispell.C:
6095         * pspell.C:
6096         * text.C: #include "WordLangTuple.h".
6097
6098         * lyxtext.h:
6099         * text.C: (selectNextWordToSpellcheck): constify return type.
6100
6101 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6102
6103         * buffer.C:
6104         * buffer.h:
6105         * lyxtext.h:
6106         * paragraph.C:
6107         * paragraph_pimpl.h:
6108         * text.C:
6109         * text2.C:
6110         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6111         suggested by Angus.
6112         Made updateCounter always count from start of buffer, and removed
6113         second argument (par).
6114         Reverted floats number display to '#'. Perhaps I'll try again when the
6115         code base is sanitized a bit.
6116
6117 2002-08-12  Angus Leeming  <leeming@lyx.org>
6118
6119         * buffer.[Ch] (getLabelList): constify.
6120
6121 2002-08-07  André Pönitz <poenitz@gmx.net>
6122
6123         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6124
6125         * funcrequest.h: extension to keep mouse (x,y) position
6126
6127 2002-08-12  Juergen Vigna  <jug@sad.it>
6128
6129         * BufferView2.C (insertErrors): forbid undo when inserting error
6130         insets.
6131
6132         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6133
6134 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6135
6136         * ParagraphList.[Ch]: new files
6137
6138         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6139
6140         * BufferView2.C (lockInset): ParagraphList changes
6141         * toc.C: ditto
6142         * text2.C: ditto
6143         * bufferlist.C: ditto
6144         * buffer.h: ditto
6145         * buffer.C: ditto
6146
6147 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6148
6149         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6150         unused class variable counter_,
6151
6152         * paragraph.[Ch] (getFirstCounter): delete unused function
6153
6154         * counters.C: include LAssert.h
6155         (reset): add a new function with no arg, change other version to
6156         not have def. arg and to not allow empty arg.
6157
6158         * text2.C (setCounter): remove empty arg from call to Counters::reset
6159
6160 2002-08-11  John Levon  <levon@movementarian.org>
6161
6162         * Makefile.am: add WordLangTuple.h
6163
6164 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6165
6166         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6167         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6168
6169         * insets/insettext.C: InsetList changes
6170
6171         * graphics/GraphicsSupport.C (operator()): InsetList changes
6172
6173         * toc.C (getTocList): InsetList changes
6174
6175         * paragraph_pimpl.[Ch]: InsetList changes
6176
6177         * paragraph.[Ch]: InsetList changes
6178
6179         * buffer.C (inset_iterator): InsetList changes
6180         (setParagraph): ditto
6181         * buffer.h (inset_iterator): ditto
6182         * iterators.C (operator++): ditto
6183         * iterators.h: ditto
6184
6185         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6186
6187         * InsetList.[Ch]: new files, most InsetList handling moved out of
6188         paragraph.C.
6189
6190         * BufferView2.C (removeAutoInsets): InsetList changes
6191         (lockInset): ditto
6192         (ChangeInsets): ditto
6193
6194 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6195
6196         * paragraph_pimpl.h (empty): new function
6197
6198         * paragraph.[Ch] (empty): new function
6199
6200         * other files: use the new Paragraph::empty function
6201
6202 2002-08-09  John Levon  <levon@movementarian.org>
6203
6204         * lyxtext.h: remove unused refresh_height
6205
6206 2002-08-09  John Levon  <levon@movementarian.org>
6207
6208         * Makefile.am:
6209         * sgml.h:
6210         * sgml.C:
6211         * buffer.C:
6212         * paragraph.h:
6213         * paragraph.C: move sgml char escaping out of paragraph
6214
6215         * paragraph.h:
6216         * paragraph.C: remove id setter
6217
6218         * buffer.C:
6219         * paragraph.C:
6220         * paragraph_pimpl.C: remove dead tex_code_break_column
6221
6222         * bufferview_funcs.C: small cleanup
6223
6224         * lyxfunc.C: remove dead proto
6225
6226         * lyxtext.h: make some stuff private. Remove some dead stuff.
6227
6228         * lyxgluelength.C: make as[LyX]String() readable
6229
6230 2002-08-08  John Levon  <levon@movementarian.org>
6231
6232         * LyXAction.h:
6233         * LyXAction.C:
6234         * MenuBackend.C:
6235         * ToolbarDefaults.C:
6236         * lyxfunc.C:
6237         * lyxrc.C:
6238         * toc.C: lyxaction cleanup
6239
6240 2002-08-08  John Levon  <levon@movementarian.org>
6241
6242         * BufferView2.C: small cleanup
6243
6244         * lyxfind.h:
6245         * lyxfind.C: move unnecessary header into the .C
6246
6247 2002-08-08  John Levon  <levon@movementarian.org>
6248
6249         * funcrequest.h: just tedious nonsense
6250
6251         * lyx_main.h:
6252         * lyx_main.C: cleanups
6253
6254         * buffer.C:
6255         * vspace.C: remove dead header lyx_main.h
6256
6257 2002-08-07  Angus Leeming  <leeming@lyx.org>
6258
6259         * Paragraph.[Ch]:
6260         * paragraph_pimpl.h:
6261         Forward declare class Counters in paragraph.h by moving the ctrs member
6262         variable into Paragraph::Pimpl.
6263         (counters): new method, returning a reference to pimpl_->ctrs.
6264
6265         * text2.C: ensuing changes.
6266
6267 2002-08-07  John Levon  <levon@movementarian.org>
6268
6269         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6270
6271         * BufferView_pimpl.C: announce X selection on double/triple
6272           click
6273
6274         * lyx_main.C: use correct bool in batch dispatch
6275
6276         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6277
6278 2002-08-07  André Pönitz <poenitz@gmx.net>
6279
6280         * funcrequest.h: new class to wrap a kb_action and its argument
6281
6282         * BufferView.[Ch]:
6283         * BufferView_pimpl[Ch]:
6284         * LaTeX.C:
6285         * LyXAction.[Ch]:
6286         * lyxfunc.[Ch]:
6287         * lyxrc.C: subsequent changes
6288
6289
6290 2002-08-07  John Levon  <levon@movementarian.org>
6291
6292         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6293           document options change.
6294
6295 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6296
6297         * counters.[Ch]
6298         * text2.C
6299         * paragraph.[Ch]
6300         * makefile.am: move counters functionality over from
6301         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6302
6303 2002-08-06  John Levon  <levon@movementarian.org>
6304
6305         * WordLangTuple.h: new file for word + language code tuple
6306
6307         * SpellBase.h:
6308         * pspell.h:
6309         * pspell.C:
6310         * ispell.h:
6311         * ispell.C:
6312         * lyxtext.h:
6313         * text.C:
6314         * text2.C:
6315         * BufferView.h:
6316         * BufferView2.C: use WordLangTuple
6317
6318         * layout.h:
6319         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6320
6321 2002-08-06  John Levon  <levon@movementarian.org>
6322
6323         * lyx_main.C: fix cmdline batch handling
6324
6325 2002-08-06  André Pönitz <poenitz@gmx.net>
6326
6327         * lyxrc.C: set default for show_banner to true
6328
6329 2002-08-06  John Levon  <levon@movementarian.org>
6330
6331         * pspell.C: fix a crash, and allow new aspell to work
6332
6333 2002-08-06  John Levon  <levon@movementarian.org>
6334
6335         * lyxfunc.C:
6336         * kbmap.C: small cleanup
6337
6338         * vspace.h:
6339         * vspace.C: add const
6340
6341 2002-08-05  John Levon  <levon@movementarian.org>
6342
6343         * LyXAction.C: back to tabular-insert
6344
6345 2002-08-04  John Levon  <levon@movementarian.org>
6346
6347         * BufferView.h:
6348         * BufferView.C: cosmetic change
6349
6350         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6351
6352         * bufferlist.C:
6353         * buffer.h:
6354         * buffer.C:
6355         * lyxcb.h:
6356         * lyxcb.C:
6357         * lyxserver.C:
6358         * lyxvc.C:
6359         * vc-backend.C:
6360         * BufferView2.C: purge all "Lyx" not "LyX" strings
6361
6362         * lyxcursor.h:
6363         * lyxcursor.C: attempt to add some documentation
6364
6365         * lyxfunc.C:
6366         * commandtags.h:
6367         * LyXAction.C:
6368         * ToolbarDefaults.C:
6369         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6370           merge with LFUN_TABULAR_INSERT
6371
6372         * Makefile.am:
6373         * SpellBase.h:
6374         * ispell.h:
6375         * ispell.C:
6376         * pspell.h:
6377         * pspell.C: split up i/pspell implementations into separate
6378           files, many cleanups
6379
6380         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6381
6382         * text2.C: some cleanup
6383
6384         * lyxfunc.C: don't check for isp_command == "none" any more, it
6385           didn't make any sense
6386
6387 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6388
6389         * counters.[Ch]
6390         * text2.C
6391         * paragraph.[Ch]
6392         * makefile.am: move counters functionality over
6393         from text2.C/paragraph.[Ch] to counters.[Ch], and
6394         make proper C++.
6395 2002-08-02  John Levon  <levon@movementarian.org>
6396
6397         * buffer.C: s/lyxconvert/lyx2lyx/
6398
6399 2002-08-02  Angus Leeming  <leeming@lyx.org>
6400
6401         * lyxlex.C: revert John's change as it breaks reading of the user
6402         preamble.
6403
6404 2002-08-02  Angus Leeming  <leeming@lyx.org>
6405
6406         * importer.C (Import):
6407         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6408         changes due to LyXView::view() now returning a boost::shared_ptr.
6409
6410 2002-08-02  John Levon  <levon@movementarian.org>
6411
6412         * lyxlex.C: small cleanup
6413
6414 2002-08-02  John Levon  <levon@movementarian.org>
6415
6416         * text2.C (status): small cleanup, no logic change
6417
6418 2002-08-01  John Levon  <levon@movementarian.org>
6419
6420         * buffer.h:
6421         * buffer.C (writeFile): don't output alerts, caller
6422           handles this
6423
6424         * bufferlist.C:
6425         * lyx_cb.C: from above
6426
6427         * lyxfunc.C: allow to open non-existent files
6428
6429 2002-07-31  John Levon  <levon@movementarian.org>
6430
6431         * lyxserver.C: don't let incidental errors get
6432           in the way (errno)
6433
6434 2002-07-30  John Levon  <levon@movementarian.org>
6435
6436         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6437
6438 2002-07-30  John Levon  <levon@movementarian.org>
6439
6440         * lyxserver.h:
6441         * lyxserver.C: remove I/O callback too
6442
6443 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6444
6445         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6446         log.
6447
6448 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6449
6450         * many files: strip,frontStrip -> trim,ltrim,rtrim
6451
6452 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6453
6454         * PrinterParams.h: remove extern containsOnly, and include
6455         support/lstrings.h instead.
6456
6457         * LaTeX.C (scanAuxFile): modify because of strip changes
6458         (deplog): ditto
6459         * buffer.C (makeLaTeXFile): ditto
6460         * bufferparams.C (writeFile): ditt
6461         * lyxfont.C (stateText): ditto
6462         * lyxserver.C (read_ready): ditto
6463         * vc-backend.C (scanMaster): ditto
6464
6465         * BufferView_pimpl.h: ws changes
6466
6467         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6468
6469 2002-07-26  André Pönitz <poenitz@gmx.net>
6470
6471         * kb_sequence.C: remove unnedred usings
6472
6473 2002-07-26  Juergen Vigna  <jug@sad.it>
6474
6475         * lyxfind.C (LyXReplace): we have to check better if the returned
6476         text is not of theLockingInset()->getLockingInset().
6477
6478 2002-07-25  Juergen Vigna  <jug@sad.it>
6479
6480         * lyxfind.C (LyXReplace): don't replace if we don't get the
6481         right LyXText.
6482
6483         * undo_funcs.C (createUndo): remove debugging code.
6484
6485 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6486
6487         * buffer.C (parseSingleLyXformat2Token): Use default placement
6488         when reading old floats.
6489
6490         * FloatList.C (FloatList): Change the default placement of figure
6491         and tables to "tbp".
6492
6493 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6494
6495         * MenuBackend.C: using std::max
6496
6497 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6498
6499         * MenuBackend.C (expandToc):
6500         (expandToc2): code moved from xforms menu frontend. It is now
6501         generic and TOCs are transparent to menu frontends.
6502
6503 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6504
6505         * toc.C (getTocList): protect against buf=0
6506
6507         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6508         Menu as first parameter. Now, this calls itself recursively to
6509         expand a whole tree (this will be useful for TOC handling)
6510         (expandFloatInsert): remove 'wide' version of floats
6511
6512         * MenuBackend.h (submenuname): returns the name of the submenu.
6513         (submenu): returns the submenu itself, provided it has been
6514         created by MenuBackend::expand
6515
6516 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6517
6518         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6519         insets which have noFontChange == true. (bug #172)
6520
6521 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6522
6523         * BufferView_pimpl.C: add connection objects and use them...
6524         (Pimpl): here.
6525
6526 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6527
6528         * MenuBackend.C (expandLastfiles):
6529         (expandDocuments):
6530         (expandFormats):
6531         (expandFloatListInsert):
6532         (expandFloatInsert):
6533         (expand): split expand in parts
6534
6535 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6536
6537         * lyx_gui.C: use lyx_gui::exit()
6538
6539 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6540
6541         * LyXAction.C: show the failing pseudo action
6542
6543 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6544
6545         * buffer.C (readFile): Run the lyxconvert script in order to read
6546         old files.
6547
6548 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6549
6550         * LyXAction.C:
6551         * commandtags.h:
6552         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6553
6554 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6555
6556         * LyXAction.C:
6557         * commandtags.h:
6558         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6559
6560 2002-07-22  Herbert Voss  <voss@lyx.org>
6561
6562         * lengthcommon.C:
6563         * lyxlength.[Ch]: add support for the vertical lengths
6564
6565 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6566
6567         * toc.[Ch]: std:: fixes
6568
6569 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6570
6571         * lyxrc.C: do not include lyx_main.h
6572
6573         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6574         for layouts
6575
6576         * lyxrc.C:
6577         * encoding.C:
6578         * bufferlist.C:
6579         * BufferView2.C: include "lyxlex.h"
6580
6581         * tabular.h:
6582         * bufferparams.h: do not #include "lyxlex.h"
6583
6584         * lyxtextclasslist.C (Add): remove method
6585         (classlist): renamed to classlist_
6586
6587         * paragraph_pimpl.C:
6588         * paragraph.C:
6589         * text2.C:
6590         * CutAndPaste.C:
6591         * bufferview_funcs.C:
6592         * bufferlist.C:
6593         * text.C:
6594         * LaTeXFeatures.C:
6595         * buffer.C:
6596         * toc.C (getTocList): use BufferParams::getLyXTextClass
6597
6598         * toc.C (getTocList): use InsetFloat::addToToc
6599
6600         * toc.[Ch]: new files, containing helper functions to handle table
6601         of contents
6602
6603         * lyxfunc.C (dispatch): no need to remove spaces around command
6604         given as a string
6605         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6606         first command of the sequence; it is not very clever, but I do not
6607         have a better idea, actually
6608
6609         * LyXAction.C (LookupFunc): make sure to remove space at the
6610         beginning and end of the command
6611
6612 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6613
6614         * MenuBackend.C (getMenubar): new method: return the menubar of
6615         this menu set
6616         (read): treat differently reading of menu and menubar (in
6617         particular, the menubar has no name now)
6618         (Menu::menubar): remove
6619
6620         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6621         saving is finished
6622
6623 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6624
6625         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6626         a bibitem inset in a RTL paragraph.
6627
6628 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6629
6630         * paragraph_pimpl.C: constify
6631
6632         * BufferView_pimpl.C:
6633         * LaTeX.C:
6634         * lyxfunc.C: fix dispatch in a nicer way
6635
6636 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6637
6638         * lyxfunc.C (dispatch):
6639         * BufferView_pimpl.C:
6640         * BufferView_pimpl.h:
6641         * BufferView.C:
6642         * BufferView.h: rename Dispatch() to dispatch()
6643
6644         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6645
6646         * lyxlayout.C (Read): honor DependsOn tag
6647
6648         * lyxlayout.[Ch] (depends_on): new method
6649
6650         * version.C.in: update lyx_docversion
6651
6652         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6653
6654         * paragraph.C (validate): remove from here...
6655         * paragraph_pimpl.C (validate): ... and move here
6656         (isTextAt): make it const
6657
6658         * buffer.C (getLists): ws cleanup
6659
6660 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6661
6662         * language.C (read): Use iso8859-1 encoding in latex_lang
6663         (this prevents LyX from crashing when using iso10646-1 encoding).
6664
6665 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6666
6667         * text2.C (toggleInset): if cursor is inside an inset, close the
6668         inset and leave cursor _after_ it
6669
6670 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6671
6672         * lyxfunc.C: move minibuffer completion handling out of here
6673
6674 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6675
6676         * BufferView_pimpl.C:
6677         * LaTeX.C: fix dispatch calls
6678
6679 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6680
6681         * text.C (drawChars): Fix Arabic text rendering.
6682
6683 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6684
6685         * LyXAction.C:
6686         * commandtags.h:
6687         * lyxfunc.C: remove message-push/pop
6688
6689         * lyxserver.C:
6690         * lyxfunc.h:
6691         * lyxfunc.C: rationalise some code by removing verboseDispatch
6692           in favour of a bool argument to dispatch()
6693
6694 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6695
6696         * lyx_main.C (init): make sure to read symlinks as absolute paths
6697
6698 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6699
6700         * lyxfunc.h:
6701         * lyxfunc.C: no need for commandshortcut to be a member
6702
6703 2002-07-15  André Pönitz <poenitz@gmx.net>
6704
6705         * converter.C: add support for $$s (scripts from lib/scripts dir)
6706         * lyx_main.C: white space
6707
6708 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6709
6710         * bufferlist.C:
6711         * lyxrc.h:
6712         * lyxrc.C: remove second exit confirmation
6713
6714 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6715
6716         * BufferView.h:
6717         * BufferView.C:
6718         * BufferView2.C:
6719         * BufferView_pimpl.h:
6720         * BufferView_pimpl.C:
6721         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6722
6723 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6724
6725         * MenuBackend.C (expand): add numeric shortcuts to document menu
6726
6727         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6728
6729 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6730
6731         * lyxfont.C (setLyXFamily):
6732         (setLyXSeries):
6733         (setLyXShape):
6734         (setLyXSize):
6735         (setLyXMisc):
6736         (lyxRead):
6737         * debug.C (value):
6738         * buffer.C (asciiParagraph): use ascii_lowercase
6739
6740 2002-07-15  Mike Fabian  <mfabian@suse.de>
6741
6742         * lyxlex_pimpl.C (search_kw):
6743         * lyxlex.C (getLongString):
6744         * converter.h (operator<):
6745         * converter.C (operator<):
6746         * buffer.C (parseSingleLyXformat2Token):
6747         (asciiParagraph):
6748         * ToolbarDefaults.C (read):
6749         * MenuBackend.C (checkShortcuts):
6750         (read):
6751         * LColor.C (getFromGUIName):
6752         (getFromLyXName): use the compare_ascii_no_case instead of
6753         compare_no_case, because in turkish, 'i' is not the lowercase
6754         version of 'I', and thus turkish locale breaks parsing of tags.
6755
6756 2002-07-16  Angus Leeming  <leeming@lyx.org>
6757
6758         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6759         now takes a Buffer const & argument.
6760
6761 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6762
6763         * BufferView.C (resize): check there's a buffer to resize
6764
6765 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6766
6767         * lyxfunc.C: remove dead code
6768
6769         * lyxserver.h:
6770         * lyxserver.C: use lyx_guii::set_read_callback
6771
6772 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6773
6774         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6775         an inset in a RTL paragraph.
6776
6777 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6778
6779         * lyxfunc.C: repaint after a font size update
6780
6781 2002-07-15  André Pönitz <poenitz@gmx.net>
6782
6783         * lyxlength.C: inBP should be able to return negative values
6784
6785 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6786
6787         * lyxfunc.C: use lyx_gui::update_fonts()
6788
6789 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6790
6791         * lyxfunc.C: use lyx_gui::update_color()
6792
6793 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6794
6795         * bufferlist.C:
6796         * lyxfunc.h:
6797         * lyxfunc.C:
6798         * lyxrc.h:
6799         * lyxrc.C: remove file->new asks for name option, and let
6800           buffer-new take an argument
6801
6802 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6803
6804         * BufferView_pimpl.C: remove unneeded extra repaint()
6805
6806 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6807
6808         * LyXAction.C: allow command-sequence with NoBuffer
6809
6810         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6811
6812 2002-07-10  Angus Leeming  <leeming@lyx.org>
6813
6814         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6815
6816 2002-07-09  Angus Leeming  <leeming@lyx.org>
6817
6818         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6819
6820 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6821
6822         * lengthcommon.h: whitespace
6823
6824         * lyxfunc.C: update scrollbar after goto paragraph
6825
6826         * lyxtext.h: factor out page break drawing, and fix it so
6827           page break/added space paints as selected nicely
6828
6829 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6830
6831         * BufferView_pimpl.C: add FIXMEs, clean up a little
6832
6833 2002-07-09  André Pönitz <poenitz@gmx.net>
6834
6835         * lyxfont.[Ch]: support for wasy symbols
6836
6837 2002-07-08  André Pönitz <poenitz@gmx.net>
6838
6839         * BufferView_pimpl.C: apply John's patch for #93.
6840
6841 2002-07-05  Angus Leeming  <leeming@lyx.org>
6842
6843         * BufferView_pimpl.C (buffer): generate previews if desired.
6844
6845         * LColor.h: add "preview" to the color enum.
6846
6847         * LColor.C (LColor): add a corresponding entry to the items array.
6848
6849         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6850         with this buffer.
6851
6852 2002-07-05  Angus Leeming  <leeming@lyx.org>
6853
6854         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6855         The body of the code is now in the method that is passed an ostream &
6856         rather than a file name.
6857         Pass an additional only_preamble parameter, useful for the forthcoming
6858         preview stuff.
6859
6860 2002-07-03  André Pönitz <poenitz@gmx.net>
6861
6862         * lyxfunc.C: simplify getStatus() a bit for math stuff
6863
6864 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6865
6866         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6867
6868 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6869
6870         * text.C (changeRegionCase): do not change case of all the
6871         document when region ends at paragraph end (bug #461)
6872
6873 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6874
6875         * paragraph.C (startTeXParParams):
6876         (endTeXParParams): add \protect when necessary
6877
6878 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6879
6880         * BufferView_pimpl.C (workAreaExpose): remove warning
6881
6882 2002-06-27  Angus Leeming  <leeming@lyx.org>
6883
6884         * Makefile.am: add lyxlayout_ptr_fwd.h.
6885
6886 2002-06-26  André Pönitz <poenitz@gmx.net>
6887
6888         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6889
6890 2002-06-25  Angus Leeming  <leeming@lyx.org>
6891
6892         * lyxfunc.C (dispatch): Comment out the call to
6893         grfx::GCache::changeDisplay. The method no longer exists now that the
6894         pixmap generation part of the graphics loader has been moved into
6895         InsetGraphics.
6896
6897 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6898
6899         * text2.C: layout as layout
6900
6901         * text.C: layout as layout
6902
6903         * tabular.C (OldFormatRead): layout as layout
6904
6905         * paragraph_pimpl.C (TeXDeeper): layout as layout
6906         (realizeFont): layout as layout
6907
6908         * paragraph.C (writeFile): layout as layout
6909         (validate): layout as layout
6910         (getFont): layout as layout
6911         (getLabelFont): layout as layout
6912         (getLayoutFont): layout as layout
6913         (breakParagraph): layout as layout
6914         (stripLeadingSpaces): layout as layout
6915         (getEndLabel): layout as layout
6916         (getMaxDepthAfter): layout as layout
6917         (applyLayout): layout as layout
6918         (TeXOnePar): layout as layout
6919         (simpleTeXOnePar): layout as layout
6920         (TeXEnvironment): layout as layout
6921         (layout): layout as layout
6922         (layout): layout as layout
6923
6924         * lyxtextclass.C (compare_name): new functor to work with
6925         shared_ptr, layout as layout
6926         (Read): layout as layout
6927         (hasLayout): layout as layout
6928         (operator): layout as layout
6929         (delete_layout): layout as layout
6930         (defaultLayout): layout as layout
6931
6932         * lyxlayout_ptr_fwd.h: new file
6933
6934         * lyxlayout.C (Read): layout as layout
6935
6936         * lyx_cb.C (MenuInsertLabel): layout as layout
6937
6938         * bufferlist.C (newFile): layout as layout
6939
6940         * buffer.C (readLyXformat2): layout as layout
6941         (parseSingleLyXformat2Token): layout as layout
6942         (insertStringAsLines): layout as layout
6943         (asciiParagraph): layout as layout
6944         (latexParagraphs): layout as layout
6945         (makeLinuxDocFile): layout as layout
6946         (simpleLinuxDocOnePar): layout as layout
6947         (makeDocBookFile): layout as layout
6948         (simpleDocBookOnePar): layout as layout
6949         (getLists): layout as layout
6950
6951         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6952
6953         * CutAndPaste.C (cutSelection): layout as layout
6954         (pasteSelection): layout as layout
6955         (SwitchLayoutsBetweenClasses): layout as layout
6956
6957         * BufferView_pimpl.C (Dispatch): layout as layout
6958         (smartQuote): layout as layout
6959
6960         * BufferView2.C (unlockInset): layout as layout
6961
6962 2002-06-24  André Pönitz <poenitz@gmx.net>
6963
6964         * lyxfunc.C: fix #487
6965
6966 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6967
6968         * lyxrc.h:
6969         * lyxrc.C:
6970         * lyxfunc.C: remove display_shortcuts, show_banner
6971
6972 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6973
6974         * Buffer_pimpl.C: oops, update on resize
6975
6976 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6977
6978         * buffer.C:
6979         * converter.C:
6980         * exporter.C:
6981         * lyxfunc.C:
6982         * BufferView.h:
6983         * BufferView.C: use repaint()
6984
6985         * BufferView_pimpl.h:
6986         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6987           as it's a clearer description. Remove superfluous
6988           redraws.
6989
6990 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6991
6992         * text.C: fix bug 488. Not ideal, but getting
6993           getWord() to work properly for the insets that
6994           matter is more difficult ...
6995
6996 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6997
6998         * BufferView_pimpl.C:
6999         * LyXAction.C:
7000         * commandtags.h:
7001         * lyxfunc.C: remove the six million index lyxfuncs to just
7002           one, and DTRT (bug 458)
7003
7004 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7005
7006         * BufferView.h:
7007         * BufferView.C:
7008         * BufferView_pimpl.h:
7009         * BufferView_pimpl.C: clean up resize() stuff,
7010           and unnecessary updateScreen()s
7011
7012 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7013
7014         * BufferView.h:
7015         * BufferView.C:
7016         * BufferView_pimpl.h:
7017         * BufferView_pimpl.C:
7018         * lyxfind.h:
7019         * lyxfind.C:
7020         * minibuffer.C: remove focus management of workarea,
7021           not needed. Use screen's greyOut()
7022
7023 2002-06-17  Herbert Voss  <voss@lyx.org>
7024
7025         * converter.C: (convert) do not post a message, when converting
7026         fails, let the calling function decide what to do in this case
7027
7028 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7029
7030         * lyxfunc.C: tidy up a little
7031
7032 2002-06-16    <alstrup@diku.dk>
7033
7034         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7035         Got rid of FORMS_H_LOCATION include. Now we are
7036         GUII.
7037
7038 2002-06-15  LyX Development team  <lyx@rilke>
7039
7040         * buffer.[Ch] (sgmlOpenTag):
7041         (sgmlCloseTag): Added support for avoiding pernicious mixed
7042         content. Return number of lines written.
7043
7044         (makeLinuxDocFile):
7045         (makeDocBookFile): Fixed calls to sgml*Tag.
7046         Simple white space clean.
7047
7048         (simpleDocBookOnePar): Simple white space clean.
7049
7050         * tabular.[Ch] (docBook): Renamed to docbook and got another
7051         argument to related with the pernicious mixed content.
7052
7053         (docbookRow): Fixed calls for docbook inset method.
7054
7055 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7056
7057         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7058         so it's X11 independent.
7059
7060         * kb*.[Ch]: ditto.
7061
7062         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7063
7064 2002-06-15  Lyx Development team  <lyx@electronia>
7065
7066         * intl.h: Renamed getTrans to getTransManager.
7067
7068 2002-06-14  Angus Leeming  <leeming@lyx.org>
7069
7070         * Makefile.am: nuke forgotten stl_string_fwd.h.
7071
7072 2002-06-12  Angus Leeming  <leeming@lyx.org>
7073
7074         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7075
7076 2002-06-13  Angus Leeming  <leeming@lyx.org>
7077
7078         * LaTeX.C:
7079         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7080
7081 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7082
7083         * kbmap.C (getiso): add support for cyrillic and greek
7084
7085 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7086
7087         * BufferView.h:
7088         * BufferView.C:
7089         * BufferView_pimpl.h:
7090         * BufferView_pimpl.C: move bogus scrolling logic
7091           to xforms
7092
7093 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7094
7095         * lyxfunc.C:
7096         * BufferView_pimpl.C: view->resize() change
7097
7098 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7099
7100         * BufferView_pimpl.C: topCursorVisible
7101           prototype change
7102
7103 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7104
7105         * Makefile.am:
7106         * lyx_gui.h:
7107         * lyx_gui.C: move to frontends/
7108
7109         * main.C:
7110         * lyx_main.h:
7111         * lyx_main.C: changes from above
7112
7113 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7114
7115         * intl.C:
7116         * intl.h:
7117         * kbmap.C:
7118         * kbsequence.C:
7119         * lyx_cb.C:
7120         * lyx_main.C: minor tidy
7121
7122 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7123
7124         * BufferView_pimpl.h:
7125         * BufferView_pimpl.C:
7126         * BufferView.h:
7127         * BufferView.C: make painter() const,
7128           remove dead code
7129
7130         * BufferView2.C: use screen() accessor
7131
7132         * lyx_main.h:
7133         * lyx_main.C: some minor cleanup
7134
7135 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7136
7137         * BufferView_pimpl.h:
7138         * BufferView_pimpl.C: remove enter/leaveView,
7139           use workHeight()
7140
7141 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7142
7143         * BufferView.h:
7144         * BufferView.C:
7145         * BufferView2.C:
7146         * BufferView_pimpl.h:
7147         * BufferView_pimpl.C: only construct screen once,
7148           rename
7149
7150         * lyxrc.C: remove pointless comment
7151
7152 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7153
7154         * BufferView.h:
7155         * BufferView.C: remove active() and belowMouse()
7156
7157         * BufferView_pimpl.h:
7158         * BufferView_pimpl.C: use workarea() not workarea_,
7159           and make it use a scoped_ptr instead
7160
7161 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7162
7163         * lyx_gui.C: add debug message on BadWindow
7164
7165 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7166
7167         * sp_spell.C: fdopen is not part of the C++ standard.
7168
7169         * paragraph.C (InsetIterator): use >= instead of ==
7170
7171 2002-06-07  Angus Leeming  <leeming@lyx.org>
7172
7173         Fixes needed to compile with Compaq cxx 6.5.
7174         * BufferView_pimpl.C:
7175         * DepTable.C:
7176         * buffer.C:
7177         * converter.C:
7178         * encoding.C:
7179         * lyx_gui.C:
7180         * lyx_main.C:
7181         * lyxtextclasslist.C:
7182         * minibuffer.C:
7183         * sp_spell.C:
7184         * tabular_funcs.C:
7185         * vc-backend.C:
7186         all c-library variables have been moved into namespace std. Wrap
7187         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7188
7189         * lyxlength.C:
7190         * tabular-old.C:
7191         * tabular.C:
7192         Add a using std::abs declaration.
7193
7194         * kbmap.h (modifier_pair):
7195         * paragraph.h (InsetTable, InsetList):
7196         * lyxfont.h (FontBits):
7197         type definition made public.
7198
7199         * bufferlist.C (emergencyWriteAll): the compiler complains that
7200         there is more than one possible lyx::class_fun template to choose from.
7201         I re-named the void specialisation as lyx::void_class_fun.
7202
7203         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7204
7205         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7206         the compiler is is unable to find tostr in write_attribute.
7207
7208 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7209
7210         * buffer.C (sgmlError): hide #warning
7211
7212 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7213
7214         * xtl/*: get rid of xtl, which is not in use anyway
7215
7216         * LyXAction.C (init):
7217         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7218         were unimplemented xtl experimentation
7219
7220 2002-06-04  André Pönitz <poenitz@gmx.net>
7221
7222         * lyxfunc.C: disable array operation on simple formulae
7223
7224 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7225
7226         * converter.C: constify a bit
7227
7228 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7229
7230         * lyx_gui.C: check xforms version correctly
7231
7232 2002-04-30  Herbert Voss  <voss@lyx.org>
7233
7234         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7235         "keep" option
7236
7237 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7238
7239         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7240           attempt to register it with a VCS)
7241
7242 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7243
7244         * lyx_main.C (init): honor variables LYX_DIR_13x and
7245         LYX_USERDIR_13x
7246
7247 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7248
7249         * buffer.h:
7250         * buffer.C:
7251         * lyx_main.C: fix a crash on bad command line,
7252           and give a useful exit status on error
7253
7254         * lyxfunc.C (doImport): allow -i lyx to work
7255
7256 2002-03-30  André Pönitz <poenitz@gmx.net>
7257
7258         * lyxfunc.C: mathed font changes
7259
7260 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7261
7262         * LaTeX.C:
7263         * importer.h:
7264         * importer.C:
7265         * lyx_sty.h:
7266         * lyx_sty.C:
7267         * lyxlex.C:
7268         * lyxrow.h:
7269         * lyxtext.h:
7270         * paragraph.h:
7271         * paragraph.C:
7272         * texrow.h:
7273         * texrow.C:
7274         * text.C:
7275         * trans_mgr.h: srcdocs, and some minor cleanups
7276
7277 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7278
7279         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7280         call getFont all the time)
7281
7282 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7283
7284         * switch from SigC signals to boost::signals
7285
7286 2002-05-29  André Pönitz <poenitz@gmx.net>
7287
7288         * paragraph_pimpl.C (getChar): don't call size() too often...
7289
7290 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7291
7292         * paragraph_pimpl.C (insertChar): do not try to update tables when
7293         appending (pos == size())
7294
7295         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7296         in order to reduce drastically the number of comparisons needed to
7297         parse a large document
7298
7299 2002-05-29  André Pönitz <poenitz@gmx.net>
7300
7301         * text.C:
7302         * text2.C:
7303         * lyxtextclass.C:
7304         * sp_pspell.h:
7305         * textclasslist.[Ch]:
7306         * sp_ispell.h: whitespace change
7307
7308 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7309
7310         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7311         lyxaction directly now.
7312
7313 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7314
7315         * trans.C:
7316         * lyxfont.C:
7317         * lyxvc.C: remove unused headers
7318
7319 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7320
7321         * Makefile.am:
7322         * buffer.h:
7323         * undostack.h:
7324         * undostack.C:
7325         * undo_funcs.h:
7326         * undo_funcs.C: some cleanups. Use shared_ptr
7327           and a template for the undo stacks.
7328
7329 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7330
7331         * BufferView_pimpl.h:
7332         * BufferView_pimpl.C:
7333         * kbmap.h:
7334         * kbmap.C:
7335         * kbsequence.h:
7336         * kbsequence.C:
7337         * lyxfunc.h:
7338         * lyxfunc.C:
7339         * text2.C: use key_state/mouse_state
7340
7341 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7342
7343         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7344         and LSubstring
7345
7346         * chset.C: change include order
7347         (loadFile): use boost regex and get rid of LRegex and LSubstring
7348
7349         * Makefile.am (BOOST_LIBS): new variable
7350         (lyx_LDADD): use it
7351
7352         * LaTeX.C: change include order.
7353         (scanAuxFile): use boost regex and get rid of LRegex and
7354         LSubstring
7355         (deplog): ditto
7356
7357 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7358
7359         * ColorHandler.h:
7360         * ColorHandler.C:
7361         * FontInfo.h:
7362         * FontInfo.C: moved to frontends/xforms/
7363
7364         * FontLoader.h:
7365         * FontLoader.C: moved into frontends for GUIIzation
7366
7367         * Makefile.am:
7368         * lyx_gui.C:
7369         * lyxfont.C:
7370         * lyxfunc.C: changes from above
7371
7372 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7373
7374         * LColor.C: remove spurious X include
7375
7376         * BufferView_pimpl.C:
7377         * Makefile.am:
7378         * font.h:
7379         * font.C:
7380         * text.C:
7381         * text2.C: move font metrics to frontends/
7382
7383 2002-05-24  Juergen Vigna  <jug@sad.it>
7384
7385         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7386         setting the undo_cursor.
7387
7388         * ParagraphParameters.h: include local includes first.
7389
7390 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7391
7392         * BufferView_pimpl.C:
7393         * BufferView_pimpl.h:
7394         * Makefile.am:
7395         * WorkArea.h:
7396         * WorkArea.C:
7397         * screen.C: move WorkArea into frontends/
7398
7399         * lyxscreen.h:
7400         * screen.C:
7401         * text.C:
7402         * BufferView.C:
7403         * BufferView2.C: move LyXScreen into frontends/
7404
7405         * lyxlookup.h:
7406         * lyxlookup.C:
7407         * lyx_gui.C: move lyxlookup into frontends/xforms/
7408
7409 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7410
7411         * BufferView2.C:
7412         * BufferView_pimpl.C:
7413         * FontLoader.C:
7414         * LyXView.h:
7415         * LyXView.C:
7416         * Makefile.am:
7417         * WorkArea.C:
7418         * XFormsView.h:
7419         * XFormsView.C:
7420         * buffer.C:
7421         * bufferlist.C:
7422         * bufferview_funcs.C:
7423         * converter.C:
7424         * importer.C:
7425         * lyx_cb.C:
7426         * lyx_gui.C:
7427         * lyx_main.C:
7428         * lyx_find.C:
7429         * lyxfunc.C:
7430         * lyxvc.C:
7431         * minibuffer.C:
7432         * text.C:
7433         * text2.C:
7434         * trans.C:
7435         * vc-backend.C: move LyX/XFormsView into frontends/
7436
7437 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7438
7439         * Makefile.am:
7440         * PainterBase.C:
7441         * PainterBase.h:
7442         * Painter.C:
7443         * Painter.h:
7444         * WorkArea.C:
7445         * WorkArea.h:
7446         * screen.C:
7447         * tabular.C:
7448         * text.C:
7449         * text2.C: move Painter to frontends/
7450
7451 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7452
7453         * buffer.C: comment out some some code that depend upon lyx_format
7454         < 220
7455
7456         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7457         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7458
7459         * buffer.h (NO_COMPABILITY): turn off compability
7460
7461         * ColorHandler.C: include scoped_array.hpp
7462
7463         * font.C: Use more specific smart_ptr header.
7464         * Painter.C: ditto
7465         * gettext.C: ditto
7466         * ShareContainer.h: ditto
7467         * lyx_main.h: ditto
7468         * kbmap.h: ditto
7469         * FontInfo.h: ditto
7470         * BufferView_pimpl.h: ditto
7471         * ColorHandler.h: ditto
7472
7473         * kbmap.C (defkey): change call to shared_ptr::reset
7474
7475 2002-05-21  Juergen Vigna  <jug@sad.it>
7476
7477         * buffer.C (insertErtContents): fix to insert ert asis if it is
7478         non empty. Skip it completely if it contains only whitespaces.
7479
7480 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7481
7482         * BufferView_pimpl.C:
7483         * BufferView2.C: clear selection on paste (bug 393)
7484
7485 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7486
7487         * DepTable.C: include ctime
7488
7489 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7490
7491         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7492
7493 2002-05-14  Juergen Vigna  <jug@sad.it>
7494
7495         * text.C (breakParagraph): fixed function to honor the keepempty
7496         layout in the right maner and also to permit the right breaking
7497         algorithm on empty or non empyt keepempty paragraphs.
7498
7499         * paragraph.C (breakParagraph): we have to check also if the par
7500         is really empty (!size()) for isempty otherwise we do the wrong
7501         paragraph break.
7502
7503 2002-05-10  Juergen Vigna  <jug@sad.it>
7504
7505         * buffer.[Ch] : The following are only changes to the ert
7506         compatibility read reading old LaTeX layout and font stuff and
7507         convert it to ERTInsets.
7508
7509         * buffer.h: added isErtInset().
7510
7511         * buffer.C (struct ErtComp): add a fromlayout bool to check
7512         if we're inside a LaTeX layout.
7513         (isErtInset): new helper function.
7514         (insertErtContents): look for other ert insets before this one
7515         and insert the contents there, so that we don't have subsequent
7516         ERT insets with nothing between them. This way we create only one
7517         inset with multiple paragraphs. Also check if we don't insert only
7518         spaces ' ' as they are ignored anyway afterwards in the .tex file
7519         so if we have only spaces we will ignore this latex part in the
7520         new file.
7521         (parseSingleLyXformat2Token \\layout): better compatibility when
7522         reading layout-latex stuff.
7523         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7524         language tag.
7525         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7526         stuff after reading the inset only get the information back from
7527         the stack.
7528
7529 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7530
7531         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7532
7533         * LaTeXFeatures.C (getBabelOptions): New method.
7534
7535 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7536
7537         * BufferView_pimpl.C (Dispatch): work around missing argument for
7538         'layout'
7539
7540 2002-05-08  Juergen Vigna  <jug@sad.it>
7541
7542         * text.C (leftMargin): handle paragraph leftindent.
7543
7544         * paragraph.C (writeFile): write the new \\leftindent tag.
7545         (validate): handle leftindent code.
7546         (TeXEnvironment): handle paragraphleftindent code again.
7547
7548         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7549
7550         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7551         for paragrap_extra indent code and new token \\leftindent.
7552         (latexParagraphs): handle the leftindent as environment.
7553
7554         * ParameterStruct.h: added leftindent support.
7555
7556         * ParagraphParameters.C (leftIndent): added support functions for
7557         the paragraph left indent.
7558
7559         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7560         more appropriate.
7561
7562 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7563
7564         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7565         inside insetERT.
7566
7567         * text.C (computeBidiTables): No bidi in insetERT.
7568
7569         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7570         in RTL documents.
7571
7572 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7573
7574         * version.C.in: pre 5
7575
7576 2002-05-02  José Matos  <jamatos@fep.up.pt>
7577         * buffer.C (makeDocBookFile): white space changes, add newline to
7578         command styles.
7579         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7580
7581         * tabular.C (docBook): fix typo.
7582
7583 2002-05-03  Juergen Vigna  <jug@sad.it>
7584
7585         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7586         change in LyXText as we can not be sure it was not freed.
7587         (drawOneRow): remove unused code.
7588
7589         * text.C (drawInset): redo the calculation of the need_break_row as
7590         it could have a row which was already freed.
7591         (draw): look at the return value of drawInset and return false if
7592         it also returned false.
7593         (paintRowText): look at the return value of draw and return false if
7594         it also returned false.
7595
7596         * lyxtext.h: added bool return type to drawInset() and draw() so that
7597         if we have a change in the row so that the rowbreak has to be redone
7598         we abort drawing as it will be called again.
7599
7600 2002-05-02  Juergen Vigna  <jug@sad.it>
7601
7602         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7603         a change in the maintext also if we're inside an inset.
7604         (Dispatch): set the cursor again after a break line and after the
7605         screen has been updated as it could be we're in a different row.
7606
7607         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7608         to set the cursor behind the pargraph with > size().
7609         (setCursor): check also for the same paragraph when checking where
7610         to put the cursor if we have a NFR inset.
7611
7612         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7613         parts of layout read further up as it still was in the wrong
7614         position.
7615
7616 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7617
7618         * screen.C (drawFromTo): change sine fullRebreak always return
7619         true.
7620
7621         * buffer.C (parseSingleLyXformat2Token): reindent some
7622
7623         * BufferView_pimpl.C (update): change since fullRebreak always
7624         return true.
7625         (Dispatch): git rid of the last hardcoded "Standard"s.
7626
7627 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7628
7629         * text2.[Ch] (fullRebreak): make it return void now that we always
7630         returned true.
7631
7632 2002-04-30  Juergen Vigna  <jug@sad.it>
7633
7634         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7635         ert compatibility check for "latex" layout.
7636
7637 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7638
7639         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7640         minipages: use col% instead of p%, and also use the current font.
7641         (makeLaTeXFile): Fix use babel condition.
7642         (parseSingleLyXformat2Token): Correct font when reading old floats.
7643
7644 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7645
7646         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7647         inserting list of floats.
7648
7649 2002-04-25  Herbert Voss  <voss@lyx.org>
7650
7651         * MenuBackend.C (expand): don't add the graphics extensions to the
7652         export menu
7653
7654 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7655
7656         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7657         non-existing layout, do not complain if it was the default layout
7658         of the original class (bug #342)
7659
7660 2002-04-24  Juergen Vigna  <jug@sad.it>
7661
7662         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7663         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7664
7665 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7666
7667         * buffer.C (getBibkeyList): If using \bibliography, return the
7668         option field with the reference itself. Enables us to provide natbib
7669         support when using \bibliography.
7670
7671 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7672
7673         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7674
7675         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7676         natbib is provided by the LaTeX class.
7677
7678 2002-04-23  Juergen Vigna  <jug@sad.it>
7679
7680         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7681         Wakeup functions.
7682
7683         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7684
7685 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7686
7687         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7688
7689         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7690         ensuremath around textordmasculine, textordfeminine and
7691         textdegree.
7692
7693 2002-04-19  Juergen Vigna  <jug@sad.it>
7694
7695         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7696         reinitializing the buffer otherwise row-dimensions may be wrong.
7697         (update): reset also the selection cursors if they do exits otherwise
7698         their x/y positions may be wrong.
7699
7700         * text2.C (cursorDown): don't enter the inset if we came from a row
7701         above and are one row over the inset.
7702
7703         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7704         really leaving an inset.
7705
7706 2002-04-18  Juergen Vigna  <jug@sad.it>
7707
7708         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7709         of the selected paragraph does not have the selected layout also if
7710         the last one had!
7711
7712         * text2.C (setLayout): fixed bug which did not change last selected
7713         paragraph.
7714
7715         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7716         changed the read and substituted \\end_float with \\end_inset!
7717
7718         * BufferView_pimpl.C (cursorPrevious):
7719         (cursorNext): fixed to make it work with rows heigher than the work
7720         area without moving the cursor only the draw of the row.
7721         (workAreaMotionNotify): fix jumping over high rows.
7722
7723 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7724
7725         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7726         Ressler.
7727
7728 2002-04-16  Juergen Vigna  <jug@sad.it>
7729
7730         * text2.C (setCursor): set also the irow().
7731         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7732         (cursorUp):
7733         (cursorDown): support for locking an inset if the x_fix value goes
7734         inside it. That way I can transverse insets too with cursor up/down.
7735
7736         * lyxrow.h: added irow helper function same as other (i) functions.
7737
7738         * BufferView_pimpl.C (cursorPrevious):
7739         (cursorNext): fixed for insets!
7740
7741 2002-04-15  Juergen Vigna  <jug@sad.it>
7742
7743         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7744         position otherwise it is wrong in some cases.
7745
7746         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7747         inside the inset before the call.
7748
7749 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7750
7751         * buffer.[Ch] (getBibkeyList): make it const.
7752
7753 2002-04-12  Juergen Vigna  <jug@sad.it>
7754
7755         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7756
7757         * text2.C (getCursorX): new helper function
7758         (setCursor): compute also ix_
7759         (setCursorFromCoordinates): set also ix.
7760
7761         * lyxcursor.h: added ix_ and helper functions.
7762
7763         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7764
7765         * buffer.C (insertStringAsLines): dont break paragraph if the this
7766         paragraph is inside an inset which does not permit it!
7767
7768         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7769         also with no chars on this paragraph.
7770         (paintRowText): only paint stuff if it's inside the workarea!
7771
7772         * paragraph.C (breakParagraph): honor keepempty flag and break the
7773         paragraph always below not above.
7774
7775         * BufferView2.C (unlockInset): update the paragraph layout on inset
7776         unlock as we changed paragraph in such a case.
7777
7778         * lyxfind.C (LyXFind): clear the former selection if not found!
7779
7780         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7781         again called in insertChar().
7782
7783         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7784         an inset which uses the whole row!
7785         (rightMargin): ditto.
7786         (insertChar): force a rebreak if we inserted an inset!
7787
7788 2002-03-28  Herbert Voss  <voss@lyx.org>
7789
7790         * lyxlength.[Ch]: add inBP() to get the right PS-point
7791         units (BigPoint). With inPixels we have rounding errors
7792
7793 2002-04-11  Juergen Vigna  <jug@sad.it>
7794
7795         * text2.C (setCursorFromCoordinates): set iy to the right value.
7796         (setCursor): add check if row->previous exists!
7797
7798         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7799         an old float_type as this was the case in the old code!
7800
7801         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7802
7803         * BufferView2.C (showLockedInsetCursor): use iy
7804         (fitLockedInsetCursor): ditto
7805
7806         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7807         locked insets as there we have the right value now.
7808
7809         * lyxcursor.C: added iy_ variable and iy functions to set to the
7810         baseline of cursor-y of the locked inset.
7811
7812         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7813         (setCursor): fixed for insets which need a full row.
7814
7815         * text.C (rowLastPrintable): don't ignore the last space when before
7816         an inset which needs a full row.
7817         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7818         as last character of a row when before a inset which needs a full row.
7819
7820 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7821
7822         * version.C.in: update date
7823
7824         * text2.C (fullRebreak): try to always return true and see what
7825         happens...
7826
7827 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7828
7829         * MenuBackend.C (expand): use Floating::listName
7830
7831         * FloatList.C (FloatList): add listName argument to the built-in
7832         floats
7833
7834         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7835         text associated with the float.
7836
7837 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7838
7839         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7840
7841 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7842
7843         * ShareContainer.h: add a couple of missing typenames.
7844
7845 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7846
7847         * lyxrc.C (getDescription): use _() correctly rather than N_().
7848
7849 2002-03-28  Herbert Voss  <voss@lyx.org>
7850
7851         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7852         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7853
7854 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7855
7856         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7857         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7858
7859 2002-03-29  Juergen Vigna  <jug@sad.it>
7860
7861         * lyxfunc.C (dispatch): add a missing fitCursor call.
7862
7863         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7864         it was scrolled by a cursor move, so return the bool status.
7865
7866         * BufferView.C (fitCursor): return the bool flag also to the outside
7867         world as this is needed.
7868
7869         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7870
7871         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7872         call the edit() as it is not needed (and wrong) IMO.
7873         (workAreaButtonPress): set the screen_first variable before evt.
7874         unlock the inset as this may change screen_first and then we have
7875         a wrong y position for the click!
7876
7877 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7878
7879         * MenuBackend.C (expand): another translation that I missed
7880
7881 2002-03-28  Juergen Vigna  <jug@sad.it>
7882
7883         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7884
7885         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7886
7887 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7888
7889         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7890
7891         * MenuBackend.C (expand): fix export/view/update when there is no
7892         document open.
7893
7894 2002-03-27  Herbert Voss  <voss@lyx.org>
7895
7896         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7897         and text%
7898
7899 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7900
7901         * bufferview_funcs.C (currentState): only show paragraph number
7902         for is DEVEL_VERSION is set.
7903
7904         * lyxfunc.C (dispatch): put warning in INFO channel
7905
7906         * MenuBackend.C (expand): translate the name of floats
7907
7908         * FloatList.C (FloatList): mark the float names for translation
7909
7910         * converter.C (convert): use LibScriptSearch
7911
7912 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7913
7914         * MenuBackend.C (defaults): fix default menu (we might as well get
7915         rid of it...)
7916
7917 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7918
7919         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7920         directory.
7921
7922 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7923
7924         * lyxvc.C: reorder includes.
7925
7926 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7927
7928         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7929           properly
7930
7931 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7932
7933         * CutAndPaste.C: change layouts earlier on paste
7934           to avoid crashing when calling getFont()
7935
7936 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7937
7938         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7939         irritating #error.
7940
7941 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7942
7943         * WorkArea.C: remove 'Pending' debug message.
7944
7945         * most files: ws cleanup
7946
7947         * buffer.[Ch]: ws changes
7948
7949         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7950
7951 2002-03-21  Juergen Vigna  <jug@sad.it>
7952
7953         * tabular.C (SetMultiColumn): collapse also the contents of the
7954         cells and set the last border right. Added a Buffer const * param.
7955
7956 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7957
7958         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7959         linking or not.
7960
7961 2002-03-19  Juergen Vigna  <jug@sad.it>
7962
7963         * text2.C (clearSelection): reset also xsel_cache.
7964
7965         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7966         where it needs to be called (John tells us to do so too :)
7967         (selectionLost): reset sel_cache.
7968
7969         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7970
7971 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7972
7973         * text2.C (setCursorIntern): put debuging code in INSETS channel
7974
7975 2002-03-19  André Pönitz <poenitz@gmx.net>
7976
7977         * lyxfunc.C: tiny whitespace change
7978
7979 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7980
7981         * ToolbarDefaults.C (init):
7982         * LyXAction.C (init):
7983         * commandtags.h:
7984         * BufferView_pimpl.C (Dispatch):
7985         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7986
7987 2002-03-19  Allan Rae  <rae@lyx.org>
7988
7989         * exporter.C (Export): removeAutoInsets before doing anything else.
7990         While I've just introduced a dependency on BufferView this really is
7991         the best place to clean the buffer otherwise you need to cleanup in
7992         a dozen places before calling export or cleanup in a dozen functions
7993         that export calls.
7994
7995         * converter.C (runLaTeX):
7996         (scanLog): Better handling of removeAutoInsets and screen updates.
7997
7998         * lyxfunc.C (dispatch): small whitespace changes
7999
8000 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8001
8002         * WorkArea.C (C_WorkAreaEvent): return a value.
8003         (event_cb): return 1 if we handled the event, 0 otherwise.
8004
8005         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8006
8007 2002-03-18  Juergen Vigna  <jug@sad.it>
8008
8009         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8010         (GetAdditionalWidth): ditto.
8011         (RightLine): ditto.
8012         (LeftLine): ditto.
8013
8014         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8015         inset if we're there actually (probably not used right now but this
8016         is the direction to go for unifying code).
8017         (paste): disable code to clear the selection.
8018
8019         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8020         inside an InsetText and move the check further up as it is in the
8021         wrong place.
8022
8023         * text2.C (pasteSelection): set a selection over the pasted text.
8024
8025 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8026
8027         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8028         and libgraphics to build on Cygwin.
8029
8030 2002-03-15  Juergen Vigna  <jug@sad.it>
8031
8032         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8033         inserting an Inset into the paragraph. I know this is not the best
8034         fix but we already use current_view in CutAndPaste so we will remove
8035         all of it's using at the same time.
8036
8037         * buffer.C (sgmlError): deactivated function till it is rewritten in
8038         the right mode, now it can create problems.
8039
8040         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8041         before accessing it.
8042
8043 2002-03-14  Juergen Vigna  <jug@sad.it>
8044
8045         * undo_funcs.C (textHandleUndo): do the right thing when updating
8046         the inset after the undo/redo.
8047
8048         * text2.C (setCursor): just some testcode for #44 not ready yet.
8049
8050         * undo_funcs.C (textHandleUndo): set the next() and previous()
8051         pointers of the paragraph to 0 before deleting otherwise we have
8052         problems with the Paragraph::[destructor].
8053
8054         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8055         on a paragraph insertion.
8056
8057 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8058
8059         * buffer.C (asciiParagraph): use += operator for char append to
8060         string.
8061
8062         * paragraph.C (getFontSettings): compare >= not just >
8063         (highestFontInRange): ditto
8064         (setFont): ditto
8065
8066 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8067
8068         * paragraph.C: change several algorithm to be more appripriate for
8069         the problem domain. This is lookip in FontList and in the InsetList.
8070
8071 2002-03-13  André Pönitz <poenitz@gmx.net>
8072
8073         * commandtags.h:
8074         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8075
8076 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8077
8078         * commandtags.h:
8079         * LyXAction.C:
8080         * lyxfunc.C:
8081         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8082
8083 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8084
8085         * Painter.C (display): anon helper function, adjust code for this
8086         change.
8087         (pixmap): remove function.
8088
8089         * Painter.h: remove private display variable.
8090
8091         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8092
8093 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8094
8095         * WorkArea.[Ch]: remove figinset_canvas cruft.
8096
8097 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8098
8099         * lyxtextclass.C (operator): add one item cache optimization.
8100
8101         * bufferlist.h: doxy changes
8102
8103         * bufferlist.C: ws changes
8104
8105         * DepTable.[Ch] (ext_exist): place const in the right spot.
8106
8107         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8108         call resizeInsets.
8109         (workAreaExpose): call resizeInsets when the with BufferView changes.
8110         (Dispatch): adjust for protectedBlank removal
8111         (specialChar): call updateInset if the insert went ok.
8112
8113         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8114         specialChar instead.
8115
8116         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8117
8118         * BufferView.h: doxy change
8119
8120         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8121
8122         * lyxtextclass.C (operator[]): remove non-const version
8123         (defaultLayout): remove non-const version
8124
8125 2002-03-12  Juergen Vigna  <jug@sad.it>
8126
8127         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8128         did resize the LyXText too.
8129
8130         * buffer.C (readLyXformat2): set layout information on newly allocated
8131         paragraphs.
8132
8133         * tabular.C (OldFormatRead): set layout information on the paragraph.
8134
8135 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8136
8137         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8138
8139 2002-03-11  Juergen Vigna  <jug@sad.it>
8140
8141         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8142         plainly wrong.
8143         (resizeCurrentBuffer): force also the insets to resize themselfes.
8144         (moveCursorUpdate): fixed up for InsetText.
8145
8146 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8147
8148         * commandtags.h:
8149         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8150         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8151         value of Dialogs::tooltipsEnabled().
8152         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8153
8154 2002-03-08  Juergen Vigna  <jug@sad.it>
8155
8156         * BufferView_pimpl.C (updateInset): update inset inside inset also
8157         if it isn't inside theLockingInset().
8158
8159 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8160
8161         * buffer.C (asciiParagraph): redo some of the word and line length
8162         handling.
8163         (getLists): look for Caption instead of caption.
8164
8165 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8166
8167         * buffer.C (Buffer): initialize niceFile to true
8168         (makeLaTeXFile):
8169         (makeLinuxDocFile):
8170         (makeDocBookFile): make sure niceFile is true on exit
8171
8172 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8173
8174         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8175
8176 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8177
8178         * LyXSendto.C: remove.
8179         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8180         * lyx_gui.C: remove now-redundant comment.
8181         * ColorHandler.h: remove forward declaration of class WorkArea.
8182         * lyxfunc.C: remove #include "WorkArea.h".
8183
8184 2002-03-07  Juergen Vigna  <jug@sad.it>
8185
8186         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8187         got moved away with the DEPM and also set the inset_owner always
8188         right which before could have been omitted.
8189
8190 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8191
8192         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8193         wanted layout is not found.
8194
8195 2002-03-07  Juergen Vigna  <jug@sad.it>
8196
8197         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8198
8199 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8200
8201         * paragraph.C (breakParagraph): use default layout not layout of
8202         prev paragraph.
8203         (Paragraph): clear ParagraphParameters.
8204
8205 2002-03-06  Juergen Vigna  <jug@sad.it>
8206
8207         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8208         otherwise it would not be a valid lenght. Fixed a special case in
8209         the minipage compatibility read where we end the document with a
8210         minipage.
8211
8212         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8213         was set as it could be 0 for InsetTexts first entry.
8214
8215 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8216
8217         * paragraph.C (writeFile): if layout is empty write out
8218         defaultLayoutName().
8219
8220         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8221         file without named layout we set layout to defaultLayoutName().
8222
8223 2002-03-06  Juergen Vigna  <jug@sad.it>
8224
8225         * CutAndPaste.C (copySelection): set layout for new paragraph.
8226
8227         * text.C (prepareToPrint): leave ERT inset left aligned
8228         (leftMargin): don't indent paragraphs inside ERT insets
8229
8230 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8231
8232         * paragraph.C (breakParagraph): dont call clear do the work manually
8233
8234         * paragraph.[Ch] (clear): remove function
8235
8236 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8237
8238         * paragraph.C (Paragraph): dont call clear, the work has already
8239         been done.
8240
8241         * lyxtextclass.C (operator): assert if n is empty
8242
8243         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8244         work manually instead.
8245
8246 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8247
8248         * BufferView_pimpl.C: protect selectionLost against text == 0
8249
8250 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8251
8252         * text.C (breakParagraph): fix a setting layout to '0' problem.
8253
8254 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8255
8256         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8257         final location of file, for the included files, and graphics.
8258
8259 2002-03-05  Juergen Vigna  <jug@sad.it>
8260
8261         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8262
8263 2002-03-04  Juergen Vigna  <jug@sad.it>
8264
8265         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8266
8267         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8268         last column of multicolumn cells.
8269         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8270
8271 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8272
8273         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8274         file if it doesn't go to a temporary file.
8275
8276         * buffer.C (sgmlOpenTag):
8277         (sgmlCloseTag):  remove extra newline insertion.
8278
8279 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8280
8281         * text.C (getRowNearY): comment out debug msg
8282
8283 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8284
8285         * text2.C: first -> first_y
8286
8287         * text.C (getRowNearY): add some attemts at a possible
8288         optimization, not working.
8289
8290         * tabular.[Ch]: add BufferParams to several function so that newly
8291         created paragraph can be initialized to he default layotu for the
8292         buffers textclass.
8293
8294         * tabular-old.C (ReadOld): add buf->params to call of Init
8295
8296         * screen.C: rename text->first to text->first_y
8297
8298         * paragraph.C (breakParagraph): always set layout in the broken
8299         paragraph
8300
8301         * lyxtextclass.C (Read): remove lowercase
8302         (hasLayout): ditto
8303         (operator): ditto
8304         (delete_layout): ditto
8305
8306         * lyxtext.h: rename first -> first_y
8307
8308         * lyxlayout.C (Read): remove lowercase
8309         (name): ditto
8310         (setName): ditto
8311         (obsoleted_by): ditto
8312
8313         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8314
8315         * buffer.C (insertErtContents): add params are to InsetERT
8316         (parseSingleLyXformat2Token): add code to check if a paragraphs
8317         layout really exist.
8318         (parseSingleLyXformat2Token): add params to several inset
8319         constructors
8320         (asciiParagraph): remove lowercase, do the layout comparisons with
8321         no_case
8322
8323         * BufferView_pimpl.C (cursorNext): first -> first_y
8324         (resizeCurrentBuffer): first -> first_y
8325         (updateScrollbar): first -> first_y
8326         (scrollCB): first -> first_y
8327         (workAreaMotionNotify): first -> first_y
8328         (workAreaButtonPress): first -> first_y
8329         (checkInsetHit): first -> first_y
8330         (cursorPrevious): first -> first_y
8331         (cursorNext): first -> first_y
8332         (Dispatch): add buffer_->params to severl inset contructors
8333
8334 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8335
8336         * lyxlayout.C (Read): remove some debug info that I forgot.
8337
8338         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8339         clean up the code slightly.
8340         (makeLinuxDocFile): ditto
8341         (makeDocBookFile): ditto
8342
8343         * text2.C: layout as string
8344
8345         * text.C: layout as string
8346
8347         * paragraph_pimpl.C: layout as string
8348
8349         * paragraph.[Ch]: layout as string
8350
8351         * lyxtextclasslist.[Ch]: layout as string
8352
8353         * lyxtextclass.[Ch]: layout as string
8354
8355         * lyxtext.h: layout as string
8356
8357         * lyxlayout.[Ch]: layout as string
8358
8359         * lyx_cb.C: layout as string
8360
8361         * bufferview_funcs.C: layout as string
8362
8363         * bufferparams.C: layout as string
8364
8365         * buffer.C: layout as string
8366
8367         * LyXView.[Ch]: layout as string
8368
8369         * LaTeXFeatures.[Ch]: layout as string
8370
8371         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8372
8373         * BufferView_pimpl.C: change current_layout to string, remove
8374         lyx::layout_type.
8375         (Dispatch):
8376         (smartQuote):
8377         (insertInset):
8378         (workAreaButtonRelease): layout as string
8379
8380         * BufferView2.C (unlockInset): adjust
8381
8382         * vspace.C (asLatexCommand): use an explict temp variable.
8383
8384 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8385
8386         * Makefile.am: use FRONTEND_*
8387
8388 2002-03-01  Juergen Vigna  <jug@sad.it>
8389
8390         * tabular.C (SetWidthOfMulticolCell): changed to something better
8391         I hope but still work in progress.
8392         (recalculateMulticolumnsOfColumn): renamed function from
8393         recalculateMulticolCells as it is more appropriate now.
8394         (SetWidthOfCell): calculate multicols better.
8395
8396 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8397
8398         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8399
8400         * lyxfunc.C (processKeySym): print sequence also if it is
8401         `deleted' (complete)
8402
8403         * kbsequence.C (print): print sequence even if it is deleted
8404         (complete would be a better word, actually).
8405
8406         * lyxfunc.C (dispatch): print complete options after a prefix key
8407
8408         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8409
8410 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8411
8412         * text2.C (setCharFont): eliminate setCharFont code duplication.
8413
8414 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8415
8416         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8417         LFUN_TABULAR_FEATURE (bug #177)
8418
8419 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8420
8421         * Makefile.am: remove figure.h
8422
8423 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8424
8425         * Bufferview_pimpl.C:
8426         * CutAndPasteC:
8427         * LaTeX.C:
8428         * LyXSendto.C:
8429         * buffer.C:
8430         * bufferlist.C:
8431         * converter.C:
8432         * language.C:
8433         * lyxfunc.C:
8434         * lyxvc.C:
8435         * paragraph.C:
8436         * text.C:
8437         * text2.C: remove #include "lyx_gui_misc.h".
8438
8439         * LaTeX.C: added #include <cstdio>
8440
8441 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8442
8443         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8444         that the paragraph following this one can have.
8445
8446         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8447
8448         * vspace.C (asLatexCommand): fix bogus gcc warning
8449
8450         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8451
8452 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8453
8454         * text2.C (setLayout): get rid of redundant code
8455
8456 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8457
8458         * text2.C (incDepth): make sure depth cannot be increased beyond
8459         reasonable values.
8460
8461 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8462
8463         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8464         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8465
8466         * PainterBase.h (image):
8467         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8468         a LyXImage const *.
8469
8470 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8471
8472         * BufferView.C:
8473         * BufferView.h:
8474         * BufferView_pimpl.C:
8475         * BufferView_pimpl.h:
8476         * LaTeXFeatures.C:
8477         * LyXAction.C:
8478         * LyXView.C:
8479         * Makefile.am:
8480         * UpdateList.h:
8481         * UpdateList.C:
8482         * buffer.C:
8483         * figure.h:
8484         * figureForm.C:
8485         * figureForm.h:
8486         * figure_form.C:
8487         * figure_form.h:
8488         * lyx_cb.C:
8489         * lyx_gui.C:
8490         * lyx_gui_misc.C:
8491         * lyxfunc.C:
8492         * sp_base.h:
8493         * sp_ispell.h:
8494         * sp_pspell.h:
8495         * sp_spell.C: remove fig inset, and the crap house of
8496           cards that follows it
8497
8498 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8499
8500         * Makefile.am:
8501         * lyxserver.C:
8502         * os2_defines.h:
8503         * os2_errortable.h:
8504         * nt_defines.h: move .h into support/
8505
8506         * vms_defines.h: remove
8507
8508         * WorkArea.C: add space in debug output
8509
8510         * text2.C:
8511         * paragraph.C:
8512         * buffer.C: add WITH_WARNINGS
8513
8514         * vc-backend.h:
8515         * vc-backend.C:
8516         * bufferlist.C: s/retrive/retrieve/, add docs
8517
8518         * vspace.h:
8519         * vspace.C:
8520         * kbmap.h:
8521         * lyxlength.h:
8522         * lyxgluelength.h:
8523         * length_common.h:
8524         * chset.h:
8525         * chset.C: add docs
8526
8527         * lyxgui.C: add ID to X error handler
8528
8529         * lyxtestclass.c: fix typo
8530
8531 2002-02-26  Juergen Vigna  <jug@sad.it>
8532
8533         * tabular_funcs.C (write_attribute): changed so that some default
8534         attributes are not written at all.
8535         (getTokenValue): set default values before trying to read the
8536         value so we have the return value always set as default if we don't
8537         find the token we search for.
8538
8539         * tabular.C (Write): write bools as bools not as strings!
8540
8541 2002-02-22  Juergen Vigna  <jug@sad.it>
8542
8543         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8544         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8545
8546         * text.C (leftMargin): don't add an indent for paragraphs inside
8547         tabular cells (fix #208).
8548
8549 2002-02-21  José Matos  <jamatos@fep.up.pt>
8550
8551         * tabular.C (docBook): fixed support for long tables.
8552
8553 2002-02-20  Juergen Vigna  <jug@sad.it>
8554
8555         * text2.C (getFont): get the drawing font of the Inset if this
8556         paragraph is inside an inset (only important for InsetERT for now).
8557
8558         * buffer.C (insertErtContents): use new lanugage params in ERT
8559         constructor.
8560
8561         * CutAndPaste.C: commenting out seemingly uneeded code.
8562
8563 2002-02-19  Allan Rae  <rae@lyx.org>
8564
8565         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8566         Iterators might be simple to use but they also get invalidated.
8567         (removeAutoInsets): renamed saved cursor tracking variables and added
8568         some comments to clarify what everything does.
8569
8570 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8571
8572         * Chktex.C:
8573         * LaTeX.C:
8574         * LyXSendto.C:
8575         * converter.C:
8576         * lyx_cb.C:
8577         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8578         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8579
8580         * lyxfunc.C:
8581         * vc-backend.h: remove #include "support/syscall.h"
8582
8583         * LaTeX.C:
8584         * LyXSendto.C:
8585         * converter.C: rearrange #includes in Lars' approved fashion.
8586
8587         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8588         forward declare class Timeout in the header file.
8589
8590         * XFormsView.C: changes due to the above.
8591
8592         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8593         similar to LyXView.
8594
8595         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8596         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8597
8598 2002-02-18  José Matos  <jamatos@fep.up.pt>
8599
8600         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8601         insets contents.
8602
8603 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8604
8605         * a lot of small ws changes
8606         * add a lot of using std::XXX
8607         * use std construcs some places where approp.
8608         * use some exisint stuff from lyxfunctional where approp.
8609         * Make file changes to use partial linking (lets test this now...)
8610
8611 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8612
8613         * Chktex.C:
8614         * buffer.C:
8615         remove #include "support/syscontr.h" as it's redundant. Always has been.
8616
8617         * Chktex.C:
8618         * LaTeX.C:
8619         * LyXSendto.C:
8620         * converter.C:
8621         * lyx_cb.C:
8622         * vc-backend.C:
8623         change Systemcalls::System to Systemcalls::Wait and
8624         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8625         No change of functionality, just reflects the stripped down Systemcalls
8626         class.
8627
8628 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8629
8630         * debug.[Ch]: add a GRAPHICS type to the enum.
8631
8632 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8633
8634         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8635
8636         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8637         there is an inset.
8638
8639 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8640
8641         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8642         match the changes below.
8643
8644         * text2.C (toggleInset): if there is not editable inset at cursor
8645         position, try to see if cursor is _inside_ a collapsable inset
8646         and close it.
8647
8648 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8649
8650         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8651         document menu has a nice checkbox
8652
8653 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8654
8655         * lyxlength.C (asLatexString): change PW to output as percent of
8656         \textwidth.
8657
8658         * lengthcommon.C: change '%' to 't%'
8659
8660         * lyxfunc.C (dispatch): a few comments from Martin
8661
8662 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8663
8664         * WorkArea.h:
8665         * WorkArea.C:
8666         * BufferView_pimpl.h:
8667         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8668           the X selection.
8669
8670 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8671
8672         * vspace.C (inPixels): fix compiler warning
8673
8674 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8675
8676         * lyxfunc.C (getStatus): fix status message for disabled commands.
8677
8678 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8679
8680         * BufferView_pimpl.C: fix crash on close buffer
8681         during selection (#227)
8682
8683 2002-01-27  Herbert Voss  <voss@lyx.org>
8684
8685         * buffer.C: link old Figure to new graphic inset
8686
8687 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8688
8689         * FontLoader.C (getFontinfo): Change the latex font names in order
8690         to match the names of type1inst.
8691
8692 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8693
8694         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8695
8696         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8697         (extchanged): ditto
8698         (ext_exist): ditto
8699         (remove_files_with_extension): ditto
8700         (remove_file): ditto
8701         (write): ditto
8702
8703         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8704         document is smaller than the work area height. Do not initialize
8705         static variables to 0.
8706
8707 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8708
8709         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8710
8711         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8712         LFUN_LAYOUT_PARAGRAPHS.
8713
8714         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8715         tabular. It is possible to provide a possible cell, which will
8716         typically be the actcell from the corresponding insettabular
8717
8718         * lyxfunc.C (getStatus): small cleanup; disable
8719         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8720         true
8721
8722 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8723
8724         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8725
8726         * paragraph.C (startTeXParParams):
8727         (endTeXParParams): new methods. The LaTeX code to
8728         start/end paragraph formatting
8729         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8730         empty (fixes bug #200)
8731
8732         * vspace.C (inPixels): adapt to the change below
8733         (inPixels): [later] more cleanups (remove unused variables)
8734
8735         * lyxlength.C (inPixels): change to use a width and a height as
8736         parameter.
8737
8738 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8739
8740         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8741         Replaced with \paperwidth
8742
8743         * DepTable.C (insert): add std:: qualifier
8744
8745 2002-01-18  Allan Rae  <rae@lyx.org>
8746
8747         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8748         updated also?
8749
8750         * text.C (drawInset): Turned out I didn't know enough about how
8751         rebreaking worked.  This fixes most of the redraw problems.  I see
8752         an occasional cursor trail when a line is broken now and the cursor
8753         placement can seem out by a few pixels also after a rebreak.
8754
8755 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8756
8757         * buffer.C (parseSingleLyXformat2Token): update because minipage
8758         width is now a LyXLength
8759
8760         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8761
8762         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8763         math insets
8764
8765 2002-01-17  Juergen Vigna  <jug@sad.it>
8766
8767         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8768
8769         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8770         is set correctly and the inset is updated correctly.
8771
8772 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8773
8774         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8775         the beginning of the loop.
8776
8777 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8778
8779         * lyxrc.C: improve help for use_scalable_fonts
8780
8781 2002-01-17  Allan Rae  <rae@lyx.org>
8782
8783         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8784
8785 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8786
8787         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8788         make sure to set their inset_owner to the right value (bug #171)
8789
8790 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8791
8792         * DepTable.h
8793         * DepTable.C: Implement mtime checking to reduce time spent doing
8794         CRCs.
8795
8796 2002-01-16  Juergen Vigna  <jug@sad.it>
8797
8798         * tabular.C (GetAdditionalHeight): one of error fixed.
8799
8800         * lyxrc.C (output): small fix in writing use_pspell.
8801
8802 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8803
8804         * sp_base.h: #include LString.h
8805
8806 2002-01-16  Allan Rae  <rae@lyx.org>
8807
8808         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8809         Can someone check this please?
8810
8811         * text.C (drawInset): It was possible that p.row would be removed by
8812         breakAgainOneRow upsetting a few other settings.  There may be another
8813         small tweak possible by setting need_break_row = 0 when p.row has been
8814         removed but I don't know enough about the logic here.
8815
8816 2002-01-15  Allan Rae  <rae@lyx.org>
8817
8818         * text.C (insertChar): removed conditional truism.
8819
8820         * BufferView2.C (removeAutoInsets): More tweaks.
8821         cur_par_prev could be a stray pointer.  Check for trailing empty line
8822         in case last line was cur_par and only had an error inset on it.
8823
8824 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8825
8826         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8827         absolute
8828
8829         * vc-backend.C (most methods):
8830         * exporter.C (Export):
8831         * converter.C (convert):
8832         (runLaTeX):
8833         * LyXSendto.C (SendtoApplyCB):
8834         * lyxfunc.C (dispatch):
8835         (menuNew):
8836         (open):
8837         (doImport):
8838         * lyx_cb.C (AutoSave):
8839         (InsertAsciiFile):
8840         * BufferView_pimpl.C (MenuInsertLyXFile):
8841         * buffer.C (runChktex): use Buffer::filePath().
8842
8843         * buffer.h: rename filename to filename_; rename filepath to
8844         filepath_ and make it private
8845         (filePath): new method
8846
8847         * buffer.C (writeFile): use fileName()
8848         (getLatexName):
8849
8850         * lyx_main.C (init): fix starting  of LyX when the binary is a
8851         link from so,ewhere else.
8852
8853         * minibuffer.C: include <cctype> for isprint
8854
8855 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8856
8857         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8858         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8859         name clash with InsetCollapsable's width function.
8860
8861 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8862
8863         * lastfiles.C: include <iterator>
8864
8865 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8866
8867         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8868         std::count.
8869
8870         * buffer.C (makeLaTeXFile): ditto.
8871         Also make loop operation more transparent.
8872
8873 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8874
8875         * ToolbarDefaults.C: remove trailing comma closing namespace.
8876
8877         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8878
8879         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8880         as in WorkArea.
8881
8882         * trans.C (Load): comment out unused variable, allowed.
8883
8884 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8885
8886         * minibuffer.[Ch] (append_char): new method to recieve input from the
8887         drop-down completion browser. If a key was pressed, then recieve this
8888         char and append it to the existing string.
8889         (peek_event): modify the positioning data passed to the completion
8890         browser so that it can be placed above the minibuffer rather than below.
8891 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8892
8893         * LyXAction.C (init): alloe error-next for readonly documents.
8894
8895         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8896         count.
8897
8898 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8899
8900         * bufferlist.C (readFile): create the buffer _after_ checking that
8901         the file exists.
8902
8903         * lyxfunc.C (verboseDispatch): fix handling of arguments
8904
8905         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8906
8907         * lyxrc.C: use string::erase() instead of initializing to "".
8908
8909
8910 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8911
8912         * BufferView_pimpl.h:
8913         * BufferView_pimpl.C:
8914         * WorkArea.h:
8915         * WorkArea.C:
8916         * text2.C: tell X when we have made a selection for copying
8917
8918 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8919
8920         * BufferView_pimpl.C (MenuInsertLyXFile):
8921         * lyxfunc.C (menuNew):
8922         (open):
8923         (doImport): add shortcuts to directory buttons
8924
8925         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8926         open a float)
8927
8928         * lyxfunc.C (setStatusMessage):
8929         (getStatusMessage): new methods
8930         (getStatus):use setStatusMessage instead of setErrorMessage
8931         (dispatch): when function is disabled, set error message here
8932         [instead of in getStatus previously]
8933
8934         * BufferView_pimpl.C (workAreaButtonRelease): update
8935         toolbar/menubar here too.
8936
8937 2002-01-13  Allan Rae  <rae@lyx.org>
8938
8939         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8940         Now seems indestructible.  Remaining task is to audit all other
8941         code affected by deleteEmptyParagraphMechanism.  One small quirk
8942         left is that an empty document with an error in the preamble can
8943         be made to report an error but no error box appears.  I don't know
8944         where it goes.
8945         (removeAutoInsets): Improved comments.
8946
8947 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8948
8949         * Thesaurus.h:
8950         * Thesaurus.C: update for Aiksaurus 0.14
8951
8952 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8953
8954         * text2.C (firstParagraph): removed member function, all uses
8955         replaces with ownerParagraph
8956         (redoParagraphs): here
8957         (updateInset): here
8958         (toggleAppendix): here
8959         * BufferView2.C (insertErrors): here
8960         (setCursorFromRow): here
8961
8962 2002-01-13  Allan Rae  <rae@lyx.org>
8963
8964         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8965         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8966         There is still a way to segfault this although you may have to do this
8967         multiple times: Have an InsetERT with an unknown command in it.
8968         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8969         <down-arrow>, <Enter> again, View->DVI, BANG!
8970
8971         * text2.C (setCursor):
8972         (deleteEmptyParagraphMechanism):
8973         * lyxtext.h (setCursor):
8974         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8975         Making use of the return value may help fix other bugs.
8976
8977 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8978
8979         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8980
8981         * LyXView.C (updateMenubar): call MenuBar::update here
8982         (updateToolbar): but not here
8983         (showState): do not update toolbar/menubar
8984
8985         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8986         should need to care about that.
8987
8988         * lyxfunc.C (verboseDispatch): simplify a bit
8989         (getStatus): have a version which takes a pseudoaction, and
8990         another which requires a (kb_action,string).
8991
8992         * LyXAction.C (retrieveActionArg): make it work also when action
8993         is not a pseudo-action.
8994         (getActionName): simplify a bit
8995         (helpText):
8996
8997 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8998
8999         * lyxfunc.C (verboseDispatch): new families of methods with
9000         several ways to specify a command and a bool to indicate whether
9001         the command name and shortcut should be displayed in minibuffer
9002         (eventually, we could extend that to a finer bitmask like
9003         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9004         (dispatch): the pristine dispatch command which just, well,
9005         dispatchs! Note it still sets its result to minibuffer; I'm not
9006         sure we want that.
9007
9008         * lyxfunc.h: remove setHintMessage
9009
9010         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9011
9012 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9013
9014         * BufferView_pimpl.C (specialChar): delete new inset if we have
9015         not been able to insert it.
9016
9017         * kbmap.C: revert to using int instead of kb_action, since all we
9018         are dealing with is pseudo-actions.
9019
9020         * LyXAction.C (searchActionArg): change to return int instead of
9021         kb_action, since the result is a pseudoaction.
9022
9023 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9024
9025         * buffer.C (insertErtContents): Fix (partially) the font bug.
9026
9027 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9028
9029         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9030         as the other one is broken on my machine!
9031
9032 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9033
9034         * commandtags.h:
9035         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9036
9037 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9038
9039         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9040         reflect their actual use. Provide compatibility code for older lyxrc
9041         files.
9042
9043         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9044         FL_NORMAL_STYLE.
9045         change names of popup font variables in line with the changes to lyxrc.C
9046
9047 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9048
9049         * buffer.C (asciiParagraph): avoid outputing a word twice after
9050         an inset.
9051
9052         * lyxrc.C (getDescription): document that document_path and
9053         template_path can be empty.
9054
9055 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9056
9057         * LaTeXFeatures.C (getMacros):
9058         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9059
9060         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9061
9062         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9063         getPackages.
9064         (getPackages): rename feature "floats" to "float". Use an array to
9065         iterate over 'simple' features (i.e. just a \usepackage). Add
9066         handling of "amsmath" (renamed from "amsstyle").
9067
9068 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9069
9070         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9071         features list.
9072
9073 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9074
9075         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9076         FuncStaus::FuncStatus & FuncStaus::some_method().
9077
9078 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9079
9080         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9081         of the func_satus stuff. Edited and massaged in various ways by
9082         JMarc.
9083
9084         * lyxfunc.C (getStatus): use FuncStatus
9085
9086 2002-01-08  Juergen Vigna  <jug@sad.it>
9087
9088         * text.C (nextBreakPoint): use function Inset::isChar().
9089
9090         * paragraph.C (TeXOnePar): use function
9091         Inset::forceDefaultParagraphs.
9092
9093         * buffer.C (latexParagraphs): use function
9094         Inset::forceDefaultParagraphs.
9095
9096 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9097
9098         * lyx_gui.C (init): set the style of the menu popups to
9099         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9100
9101 2002-01-07  Juergen Vigna  <jug@sad.it>
9102
9103         * text.C (setHeightOfRow): small fix
9104         (prepareToPrint): don't look at alignment if we don't have the place
9105         for doing it.
9106
9107 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9108
9109         * box.C: New file. Move the Box methods and functions out of box.h,
9110         following Lars' suggestion.
9111
9112 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9113
9114         * box.h: #include "support/LOstream.h", needed for inlined function.
9115
9116         * lyxtextclass.C:
9117         * lyxtextclasslist.C: added some using std declarations.
9118
9119 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9120
9121         * box.h: make signed dimensions to allow insets wider than
9122           the screen (bug #162)
9123
9124         * BufferView_pimpl.C: add some insetHit debug
9125
9126 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9127
9128         * vc-backend.C: add FIXME
9129
9130 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9131
9132         * lyxfunc.C (getStatus): enable code for showing math font status
9133         in toolbar/menu.
9134
9135 2002-01-07  Juergen Vigna  <jug@sad.it>
9136
9137         * text.C (nextBreakPoint): removed debug output not needed anymore.
9138
9139 2002-01-06  Juergen Vigna  <jug@sad.it>
9140
9141         * text.C (nextBreakPoint): fixed up this function we had this bug
9142         since ever but now hopefully we break row better.
9143         (insertChar): we have to check if an inset is the next char as it
9144         could now happen that a large inset is causing a break.
9145
9146 2002-01-05  Juergen Vigna  <jug@sad.it>
9147
9148         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9149         if it doesn't like to be drawed.
9150
9151 2002-01-04  Juergen Vigna  <jug@sad.it>
9152
9153         * BufferView2.C (lockInset): forgot to set a cursor.
9154
9155         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9156
9157 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9158
9159         * FormMathsPanel.C:
9160         * FormMathsPanel.h
9161         * MathsSymbols.C:
9162         * form_maths_panel.C:
9163         * form_maths_panel.h:
9164         * form_maths_panel.fd: implemented sub- and super- buttons in math
9165         panel.
9166
9167         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9168         (or ^ space) to be used as in TeX (req'd by André).
9169
9170         * lyxfunc.C: Allow ^ and _ again to be used both as
9171         super/subscript (mathed) and as themselves (in text).
9172
9173 2002-01-03  Allan Rae  <rae@lyx.org>
9174
9175         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9176         "LyX" or the filename of the current buffer if it has one.  This is a
9177         modified form of John Levon's patch.
9178
9179         * XFormsView.C (setWindowTitle): also set icon title.
9180
9181         * LyXView.h (setWindowTitle): signature changed.
9182         * XFormsView.h (setWindowTitle): ditto.
9183
9184 2002-01-02  Juergen Vigna  <jug@sad.it>
9185
9186         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9187
9188 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9189
9190         * screen.C (topCursorVisible): introduce a temp var for
9191         text->cursor.row(), handle the case where this row is null. (kindo
9192         hachish)
9193
9194         * text2.C (setCursor): add a couple of asserts.
9195
9196         * paragraph.h (inset_iterator): add -> operator
9197
9198         * paragraph.[Ch] (autoDeleteInsets): remove member function
9199
9200         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9201         cursor pos correctly and handle inset deletion by itself.
9202         (insertErrors): move iterator declaration out of for expression
9203
9204         * lyxtextclass.C: add <algorithm>
9205
9206         * Makefile.am: added the new files to sources, removed layout.C
9207
9208         * layout.C: removed file
9209
9210         * layout.h: remove LYX_DUMMY_LAYOUT
9211
9212         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9213         layout.
9214
9215         * lyxlayout.[Ch]:
9216         * lyxtextclass.[Ch]:
9217         * lyxtextclasslist.[Ch]: new files
9218
9219         * include order changes to a lot of files, also changes because of
9220         the six new files.
9221
9222 2001-12-27  Juergen Vigna  <jug@sad.it>
9223
9224         * buffer.C (asciiParagraph): more fixes.
9225
9226         * tabular.C (ascii): make ascii export support export of only the
9227         data separated by a column-delimiter.
9228         (ascii): better support for ascii export.
9229
9230         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9231
9232 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9233
9234         * tabular_funcs.C: use a "using std::getline" instead of the
9235         previous fix from Angus (necessary for cxx + lyxstring)
9236
9237 2001-12-24  Juergen Vigna  <jug@sad.it>
9238
9239         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9240
9241         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9242         problems. First check a minipage also if we have some ert-contents
9243         (not only on par->size(), second set the right depth of the paragraph
9244         on the relink to the root-paragraph-list!
9245
9246         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9247         which then did not anymore update the main paragraphs on undo/redo!
9248
9249 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9250
9251         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9252         code. Support all font-changing funcs (even those which are not in
9253         menu currently). Support for reporting font settings in
9254         mathed (disabled until Andre provides a function on mathed's side).
9255
9256         * func_status.h (toggle): small helper function to set toggle
9257         state on a flag.
9258
9259 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9260
9261         * tabular_funcs.C: getline -> std::getline
9262
9263 2001-12-21  Juergen Vigna  <jug@sad.it>
9264
9265         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9266         accessed and could be 0 (I couldn't generate this but it seems
9267         Michael could!).
9268
9269 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9270
9271         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9272         * tabular_funcs.h: here and include iosfwd
9273
9274 2001-12-20  Juergen Vigna  <jug@sad.it>
9275
9276         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9277         inside inset but undo_par was.
9278
9279 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9280
9281         * Thesaurus.C: always include <config.h> in sources.
9282
9283         * Painter.h:
9284         * lyxlookup.h:
9285         * box.h: do not include <config.h> in header files
9286
9287         * text.C (paintLastRow): remove unused variable
9288
9289         * text.C (transformChar):
9290         (insertChar):
9291         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9292
9293         * Painter.C (text):
9294         * font.C (width): rewrite to use uppercase() instead of
9295         islower/toupper.
9296
9297         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9298
9299 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9300
9301         * lyxfind.C: clean up of find failure position change
9302
9303 2001-12-20  Juergen Vigna  <jug@sad.it>
9304
9305         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9306
9307         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9308         (TeXRow): added to LaTeX a single tabular row.
9309         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9310         (Latex): simplified and finally good LT-h/f support.
9311         (various_functions): just small adaptions for LT-h/f support.
9312
9313         * tabular_funcs.[hC]: added and moved here all not classfunctions
9314         of LyXTabular.
9315
9316 2001-12-19  Juergen Vigna  <jug@sad.it>
9317
9318         * tabular.[Ch]: better support for longtabular options (not finished
9319         yet!)
9320
9321 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9322
9323         * text.C (paintLastRow): use the label font instead of the font of
9324         the last character to compute the size of *_BOX. This makes more
9325         sense and avoids a crash with empty paragraphs.
9326         Use Painter::rectangle to draw EMPTY_BOX.
9327
9328 2001-12-19  Juergen Vigna  <jug@sad.it>
9329
9330         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9331         the paragraphs if the replaced paragraph is not the first one!
9332         Tried to delete not used paragraphs but does not work yet so for
9333         now it's inside #ifdef's and by default off!
9334
9335 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * MenuBackend.C: include "lyx_main.h" instead of declaring
9338         lastfiles (actually was declared as LastFiles* instead of a
9339         scoped_ptr).
9340
9341 2001-12-17  Juergen Vigna  <jug@sad.it>
9342
9343         * tabular.C (AppendColumn): applied John's fix
9344
9345 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9346
9347         * BufferView.h:
9348         * BufferView.C:
9349         * BufferView_pimpl.h:
9350         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9351
9352         * Makefile.am:
9353         * box.h: new start of class for above
9354
9355         * lyxfunc.C: ignore space-only minibuffer dispatches.
9356           Show the command name when it doesn't exist
9357
9358         * minibuffer.C: don't add empty lines to the history
9359
9360         * minibuffer.C: add a space on dropdown completion
9361
9362 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9363
9364         * text.C: fix line above/below drawing in insets
9365
9366 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9367
9368         * lyxlength.C (LyXLength): Initialize private variables.
9369
9370 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9371
9372         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9373         when inserting error insets.
9374
9375 2001-12-13  Juergen Vigna  <jug@sad.it>
9376
9377         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9378         actually sometimes the before-paragraph.
9379         (setUndo): don't clear the redostack if we're not actually undoing!
9380
9381 2001-12-06  Juergen Vigna  <jug@sad.it>
9382
9383         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9384         and fixed redoing of main paragraph, so we can use it now ;)
9385
9386         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9387
9388 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9389
9390         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9391         Juergen's request
9392
9393 2001-12-13  André Pönitz <poenitz@gmx.net>
9394
9395         * undostack.[Ch]:
9396         * undo_func.C: minor cleanup
9397
9398 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9399
9400         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9401         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9402         font in urw-fonts package which is marked as -urw-fontspecific and
9403         does not work (incidentally, changing the encoding in the
9404         fonts.dir of this package to -adobe-fontspecific fixes the
9405         problem).
9406
9407         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9408         is a crash when undoing first paragraph (Juergen, please take a
9409         look). THis does not mean the undo fix is wrong, just that it
9410         uncovers problems.
9411
9412         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9413         the (Paragraph*) version when needed instead of duplicating the
9414         code.
9415
9416         * text.C (workWidth): use Inset::parOwner to find out where the
9417         inset has been inserted. This is a huge performance gain for large
9418         documents with lots of insets. If Inset::parOwner is not set, fall
9419         back on the brute force method
9420
9421         * paragraph_pimpl.C (insertInset):
9422         * paragraph.C (Paragraph):
9423         (cutIntoMinibuffer): set parOwner of insets when
9424         inserting/removing them
9425
9426         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9427
9428 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9429
9430         * commandtags.h:
9431         * LyXAction.C:
9432         * lyx_main.C:
9433         * lyxfunc.C:
9434         * mathed/formulabase.C:
9435         * mathed/math_cursor.[Ch]:
9436         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9437
9438
9439 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9440
9441         * lyxlength.[Ch] (operator!=): new function
9442
9443 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9444
9445         * text.C (workWidth): use Inset::parOwner to find out where the
9446         inset has been inserted. This is a huge performance gain for large
9447         documents with lots of insets. If Inset::parOwner is not set, fall
9448         back on the brute force method
9449
9450         * paragraph_pimpl.C (insertInset):
9451         * paragraph.C (Paragraph):
9452         (cutIntoMinibuffer): set parOwner of insets when
9453         inserting/removing them
9454
9455         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9456
9457 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9458
9459         * tabular-old.C (getTokenValue):
9460         * tabular.C (getTokenValue):
9461         (write_attribute): new versions for LyXLength
9462         (everywhere): adjust the use of widths
9463
9464         * tabular.h: change the type of widths from string to LyXLength
9465
9466 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9467
9468         * paragraph.C: fixed missing line number count when exporting
9469         Environments to LaTeX file
9470
9471         * buffer.C: added informational message for checking line numbers.
9472
9473 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9474
9475         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9476         paragraph, do the 'double space' part, but not the 'empty
9477         paragraph' one.
9478
9479         * text.C (workWidth): small optimization
9480         (getLengthMarkerHeight): use minimal size for negative lengths.
9481
9482 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9483
9484         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9485
9486         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9487
9488 2001-12-11  André Pönitz <poenitz@gmx.net>
9489
9490         * FontLoader.C:
9491         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9492
9493 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9494
9495         * text2.C: keep selection on a setFont()
9496
9497 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9498
9499         * lyx_cb.C: another bv->text misuse, from insert label
9500
9501 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9502
9503         * kbsequence.h:
9504         * kbsequence.C: re-instate nmodifier mask
9505
9506 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9507
9508         * lyx_main.h: make lyxGUI private.
9509
9510 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9511
9512         * lyxfind.C: place the cursor correctly on failed search
9513
9514 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9515
9516         * text.C (getLengthMarkerHeight): for small heights, the arrows
9517         are not always on top/bottom of the text
9518         (drawLengthMarker): smaller arrows; take the left margin in
9519         account; draw also vfills.
9520         (paintFirstRow):
9521         (paintLastRow): remove special code for vfill and standard spaces,
9522         since everything is handled in drawLengthMarker now.
9523
9524 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9525
9526         * buffer.C (insertErtContents): try to handle font and language
9527         interaction a bit better.g
9528
9529         * ColorHandler.C (updateColor): change the hash to cover the whole
9530         LColor enum, ws cleanup
9531         (getGCLinepars): ditto
9532         (getGCLinepars): only lookup in the linecache once.
9533
9534 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9535
9536         * iterators.C (operator++): Make the iterator more robust
9537
9538         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9539         (John's patch)
9540         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9541
9542 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9543
9544         * lyxtext.h:
9545         * text.C: better added space drawing
9546
9547 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9548
9549         * LyXView.C:
9550         * BufferView2.C: fix layout combo update on inset unlock
9551
9552 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9553
9554         * Makefile.am: don't compile unused files
9555
9556 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9557
9558         * lyxfunc.C:
9559         * commandtags.h:
9560         * LyXAction.C: remove old LFUN_LAYOUTNO
9561
9562 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9563
9564         * paragraph_pimpl.h:
9565         * paragraph_pimpl.C: isTextAt() doesn't need font param
9566
9567 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9568
9569         * lyxlex.h:
9570         * lyxlex.C: little cleanup
9571
9572 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9573
9574         * BufferView_pimpl.C: fix insertAscii for insets
9575
9576 2001-12-05  Juergen Vigna  <jug@sad.it>
9577
9578         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9579         set the right font on the "multi" paragraph paste!
9580
9581 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9582
9583         * trans_decl.h:
9584         * trans_mgr.[Ch]:
9585         * trans.[Ch]:
9586         * lyxgluelength.C:
9587         * lyxlength.C: remove out-commented code.
9588
9589         * BufferView_pimpl:
9590         * CutAndPaste.C:
9591         * DepTable.C:
9592         * buffer.C:
9593         * chset.C:
9594         * lastfiles.C:
9595         * lyxlex.C:
9596         * lyxlex_pimpl.C:
9597         * lyxserver.C:
9598         * screen.C:
9599         * tabular-old.C:
9600         * tabular.C:
9601         * text.C:
9602         * trans_mgr.C:
9603         * vc-backend.C: change "while(" to "while ("
9604
9605         * lyxlength.[Ch]: add zero function to check if length is zero or
9606         not
9607         * lyxgluelength.C: use it
9608
9609 2001-12-05  Allan Rae  <rae@lyx.org>
9610
9611         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9612         Works for 2.95.3, from what I understand of Garst's reports this should
9613         work for other g++ versions.  We're screwed if the abs(int) definition
9614         changed between bugfix releases of gcc.
9615
9616 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9617
9618         * text.C: fix chapter label offset !
9619
9620 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9621
9622         * lyxtext.h:
9623         * text.C: fix hfill at end of line, clean up
9624
9625 2001-12-04  Juergen Vigna  <jug@sad.it>
9626
9627         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9628         that we force an update of the inset and it's owners if neccessary.
9629
9630 2001-12-03  Juergen Vigna  <jug@sad.it>
9631
9632         * text.C (rowLast): simplified code
9633
9634 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9635
9636         * lyxfunc.C: fix show options on timeout
9637
9638 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9639
9640         * screen.C (topCursorVisible): scroll half a page when the cursor
9641         reached top of bottom of screen
9642
9643 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9644
9645         * minibuffer.C: deactivate on loss of focus
9646
9647 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9648
9649         * vspace.[Ch] (operator!=): add operator.
9650
9651 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9652
9653         * BufferView_pimpl.C: refuse to open an inset when
9654         there's a selection.
9655
9656 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9657
9658         * BufferView_pimpl.C: allow to click on RHS of full row insets
9659
9660 2001-11-30  Juergen Vigna  <jug@sad.it>
9661
9662         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9663         insets for undo reasons.
9664
9665 2001-11-28  André Pönitz <poenitz@gmx.net>
9666
9667         * vspace.[Ch]: cosmetical changes
9668
9669 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9670
9671         * LyXAction.h:
9672         * LyXAction.C:
9673         * lyxfunc.h:
9674         * lyxfunc.C:
9675         * kbmap.h:
9676         * kbmap.C:
9677         * lyxrc.C:
9678         * kbsequence.h:
9679         * kbsequence.C: part re-write of old kb code
9680
9681         * Painter.C:
9682         * WorkArea.C: remove Lgb_bug_find_hack
9683
9684 2001-11-30  José Matos <jamatos@fep.up.pt>
9685
9686         * buffer.C (makeDocBookFile): add a comment to point a hack.
9687         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9688         Fixed a double write of labels.
9689
9690 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9691
9692         * LaTeX.C:
9693         * LaTeX.h Fixed bug in LaTeX class where it would not
9694         re-run latex if no depfiles were changed, but the .dvi was removed.
9695
9696 2001-11-28  André Pönitz <poenitz@gmx.net>
9697
9698         * all the files from the change on 2001/11/26:
9699         use lyx::layout_type instead of LyXTextClass::size_type
9700         use lyx::textclass_type instead of LyXTextClassList::size_type
9701
9702 2001-11-29  Juergen Vigna  <jug@sad.it>
9703
9704         * text.C: added support for paragraph::isFreeSpacing()
9705
9706         * buffer.C: same as above
9707
9708         * paragraph.h: inserted isFreeSpacing() function to enable
9709         FreeSpacing inside InsetERT.
9710
9711         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9712         of the paragraph's in the cut/copy buffer to 0!
9713
9714         * text2.C (removeRow): remove the assert as it can!
9715
9716         * lyxtext.h: added helper function firstRow returning firstrow and
9717         made firstrow private again.
9718
9719         * BufferView2.C (lockInset): don't relock if we're already locked!
9720
9721         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9722         the only paragraph.
9723         (removeRow): added Assert::(firstrow)
9724
9725         * debug.C: forgot to add INSETTEXT here.
9726
9727 2001-11-28  Juergen Vigna  <jug@sad.it>
9728
9729         * sp_spell.C (initialize): changed error text to more general
9730         spellchecker command use (not only ispell!)
9731
9732         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9733
9734         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9735
9736 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9737
9738         * vspace.C: initialise lyxgluelength on failure
9739
9740 2001-11-28  Allan Rae  <rae@lyx.org>
9741
9742         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9743         declaration & definition that looks like a function declaration.
9744
9745 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9746
9747         * BufferView2.C (copy):
9748         (copyEnvironment): do not clear the selection when doing a copy.
9749
9750         * text.C (paintFirstRow): compilation fix
9751
9752 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9753
9754         * tabular.C (Latex): correct line count when writing latex.
9755
9756 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9757
9758         * paragraph_pimpl.h:
9759         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9760           bug a bit
9761
9762 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9763
9764         * text.C:
9765         * LColor.h:
9766         * LColor.C: change vfillline->added_space
9767
9768         * text.C: add markers and text for added space
9769
9770         * vspace.C: fix comment
9771
9772 2001-11-28  André Pönitz <poenitz@gmx.net>
9773
9774         * paragraph.C: whitespace changes
9775         * all the other files from the change on 2001/11/26:
9776         change *::pos_type into lyx::pos_type
9777
9778 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9779
9780         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9781         language of the document when inserting error insets.
9782
9783 2001-11-26  André Pönitz <poenitz@gmx.net>
9784
9785         * BufferView_pimpl.[Ch]:
9786         *       CutAndPaste.C:
9787         * buffer.[Ch]:
9788         * lyxcursor.[Ch]:
9789         * lyxfind.C:
9790         * lyxfunc.C:
9791         * lyxrow.[Ch]:
9792         * paragraph.[Ch]:
9793         * paragraph_pimpl.[Ch]:
9794         * sp_spell.C:
9795         * text.C:
9796         * text2.C: reduce header dependencies, introduce type for positions
9797
9798 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9799
9800         * <various>: change to use Alert.h
9801
9802 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9803
9804         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9805         when encountering an unknown token.
9806         (readLyXformat2): Show an error message if there were unknown tokens.
9807
9808 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9809
9810         * BufferView2.C:
9811         * BufferView_pimpl.C:
9812         * buffer.C:
9813         * paragraph.h:
9814         * text.C:
9815         * text2.C: use par->isInset()
9816
9817 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9818
9819         * paragraph_pimpl.h:
9820         * paragraph_pimpl.C: cleanup
9821
9822 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9823
9824         * text2.C (removeRow):
9825         * text.C (setHeightOfRow): remove useless (and costly) call to
9826         getRow.
9827
9828 2001-11-20  Allan Rae  <rae@lyx.org>
9829
9830         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9831         Now need Inset*::checkInsertChar() to return true for appropriate
9832         cases so that the characters in the minibuffer will actually be
9833         inserted.
9834
9835 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9836
9837         * text.C: change the order of the includes.
9838         (workWidth): initialize it at once.
9839         (workWidth): make maxw unsigned
9840         (setHeightOfRow): remove unused variable (inset)
9841         (selectSelectedWord): remove unused variable (inset)
9842         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9843
9844 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9845
9846         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9847         server is not running.
9848         (openConnection):
9849         (closeConnection): add debug info when server is disabled.
9850
9851         * ColorHandler.C (getGCForeground): send debug message to GUI
9852         channel.
9853
9854         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9855
9856         * kbmap.C (bind): modify because return conventions of
9857         kb_sequence::parse have changed.
9858
9859         * kbsequence.C (parse): only ignore spaces and not any stupid
9860         control character. This avoids tests like s[i] <= ' ', which are
9861         guaranteed to fail with 8bit characters and signed chars.
9862         Change return code to string::npos when there have been no error
9863         (0 was a bad idea when error is at first character)
9864
9865 2001-11-14  José Matos  <jamatos@fep.up.pt>
9866
9867         * buffer.h:
9868         * buffer.C (simpleDocBookOnePar): removed unused argument.
9869
9870 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9871
9872         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9873         insets which are part of a word. Paragraph::isLetter takes care of
9874         that now. Use Paragraph::isInset to identify insets.
9875         (selectSelectedWord): do not test for hyphenation break.
9876
9877         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9878         that protected spaces are considered as spaces.
9879
9880         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9881         Inset::isLetter.
9882
9883 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9884
9885         * lyxserver.h:
9886         * lyxserver.C: fix it. and small cleanup.
9887
9888 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9889
9890         * BufferView_pimpl.C: use inline helpers
9891
9892         * LaTeXFeatures.h:
9893         * LaTeXFeatures.C: fix typos
9894
9895         * Spacing.h:
9896         * Spacing.C: move spacing_string into class
9897
9898         * ToolbarDefaults.C: move stuff into namespace anon
9899
9900         * layout.h: update enum
9901
9902         * lyxfunc.C: use better debug
9903
9904         * minibuffer.h: fix typo
9905
9906         * debug.h:
9907         * debug.C:
9908         * WorkArea.C: add and use Debug::WORKAREA
9909
9910         * lyxtext.h:
9911         * text.C:
9912         * text2.C: code re-organisation, inline helpers
9913
9914 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9915
9916         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9917         std::vector.empty().
9918
9919 2001-11-09  Allan Rae  <rae@lyx.org>
9920
9921         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9922         '\n's after tables.  Tabular and ERT inset work now makes this no
9923         longer necessary.
9924
9925 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9926
9927         * minibuffer.h:
9928         * minibuffer.C: fix crash, improve drop-down completion
9929
9930 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9931
9932         * lyxserver.h:
9933         * lyxserver.C: invalidate fd's when doing endPipe()
9934
9935 2001-11-08  José Matos  <jamatos@fep.up.pt>
9936
9937         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9938         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9939
9940         * paragraph.h:
9941         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9942
9943 2001-11-07  José Matos  <jamatos@fep.up.pt>
9944
9945         * buffer.h:
9946         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9947         const qualifier.
9948
9949         * buffer.C (sgmlOpenTag):
9950         * buffer.C (sgmlCloseTag): removed debug info.
9951
9952         * buffer.h (sgmlOpenTag):
9953         * buffer.h (sgmlCloseTag): made public.
9954
9955 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9956
9957         * buffer.C (saveParamsAsDefaults):
9958         * lyx_cb.C (MenuLayoutSave): remove
9959
9960         * LyXAction.C (init):
9961         * commandtags.h:
9962         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9963
9964 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9965
9966         * buffer.C (setPaperStuff): removed from here...
9967
9968         * bufferparams.C (setPaperStuff): ... and moved there.
9969
9970 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9971
9972         * minibuffer.h:
9973         * minibuffer.C:
9974         * XFormsView.C: add support for drop-down completion
9975
9976 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9977
9978         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9979         commands.
9980
9981 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9982
9983         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9984         disabled.
9985
9986 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9987
9988         * lyx_main.C: change ref to known bugs
9989
9990 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9991
9992         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9993         to work around older babel problems.
9994
9995 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9996
9997         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9998
9999 2001-10-24  Juergen Vigna  <jug@sad.it>
10000
10001         * tabular-old.C (ReadOld): below variable changes reflected.
10002
10003         * tabular.[Ch]: added ltType struct for longtable header/footer
10004         defines and changed all instances where they are used. Added
10005         future support for double top/bottom rows.
10006
10007 2001-10-24  José Matos  <jamatos@fep.up.pt>
10008
10009         * buffer.h (docbookHandleCaption):
10010         * buffer.C (docbookHandleCaption): removed unused function.
10011         (makeDocBookFile): moved docbook supported version to v4.1.
10012
10013 2001-10-24  José Matos  <jamatos@fep.up.pt>
10014
10015         * tabular.h:
10016         * tabular.C (docbookRow): new function to export docbook code of a row.
10017         (DocBook): now honors the longtable flags.
10018
10019 2001-10-23  José Matos  <jamatos@fep.up.pt>
10020
10021         * LaTeXFeatures.h:
10022         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10023         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10024
10025         * buffer.C (makeLinuxDocFile):
10026         (makeDocBookFile): reworked the preamble, more clean, and with
10027         support for lyx defined entities. Changed the document declaration
10028         to be more XML friendly.
10029
10030         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10031         if we need to output XML that should be done with a filter.
10032
10033 2001-10-22  Juergen Vigna  <jug@sad.it>
10034
10035         * sp_pspell.h (class PSpell): add alive function needed in the
10036         controller to see if the spellchecker could be started.
10037
10038 2001-10-22  Juergen Vigna  <jug@sad.it>
10039
10040         * buffer.C (insertStringAsLines): modify the font for inserting
10041         chars in certain conditions by calling checkInsertChar(font).
10042
10043 2001-10-19  Juergen Vigna  <jug@sad.it>
10044
10045         * text.C (workWidth): use getRow instead of wrong algorithm.
10046         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10047
10048 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * lyxserver.h:
10051         * lyxserver.C:
10052         * lyx_main.h:
10053         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10054
10055 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10056
10057         * text.C (workWidth): do not search for the exact row when
10058         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10059         optimization for big documents.
10060
10061 2001-10-18  Juergen Vigna  <jug@sad.it>
10062
10063         * text.C (workWidth): new function with added Inset * parameter.
10064
10065 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10066
10067         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10068
10069         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10070         change return type of getColumnNearX.
10071
10072
10073         * text.C (changeRegionCase): use uppercase/lowercase instead of
10074         toupper/tolower.
10075         (leftMargin):
10076         (rightMargin): simplify code by factoring out the uses of
10077         textclasslist.
10078         (labelFill):
10079         (numberOfHfills):
10080         (setHeightOfRow):
10081         (appendParagraph): use Paragraph::size_type
10082
10083 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10084
10085         * vspace.C (asLatexString): add a missing break
10086
10087 2001-10-15  Herbert Voss  <voss@perce.de>
10088
10089         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10090
10091 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10092
10093         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10094         is not available.
10095
10096 2001-10-10  André Pönitz <poenitz@gmx.net>
10097
10098         * lyxfunc.C: removed greek_kb_flag.
10099
10100 2001-10-10  Herbert Voss  <voss@perce.de>
10101
10102         * lyx_main.C: delete global string help_lyxdir.
10103
10104 2001-10-09  Herbert Voss  <voss@perce.de>
10105
10106         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10107
10108         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10109
10110         * lyx_main.C: added global string help_lyxdir.
10111
10112         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10113
10114 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10115
10116         * lyxrc.C (set_font_norm_type): support iso8859-4
10117
10118 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10119
10120         * LaTeX.C (deplog): add another regex for MikTeX
10121
10122 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10123
10124         * lyxrc.C (set_font_norm_type): support iso8859-3
10125
10126 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10127
10128         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10129
10130         * LaTeXFeatures.C: remove special case of french and index
10131
10132         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10133         before \begin{document}). This solves several incompatibilities.
10134
10135 2001-10-03  Garst Reese  <reese@isn.net>
10136
10137         * lyx_cb.C: change CheckTex error msg.
10138
10139 2001-10-03  José Matos  <jamatos@fep.up.pt>
10140
10141         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10142
10143 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10144
10145         * .cvsignore: update
10146
10147         * lyx_main.C (commandLineVersionInfo): use new style version info.
10148
10149         * buffer.C (writeFile):
10150         (makeLaTeXFile):
10151         (makeLinuxDocFile):
10152         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10153
10154         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10155
10156         * version.h: update to use stuff in version.C
10157
10158         * version.C.in: new file. Contains version information determined
10159         at compile time. This is a merging of version.h and
10160         version_info.h.in.
10161
10162 2001-10-03  Juergen Vigna  <jug@sad.it>
10163
10164         * BufferView_pimpl.C (update): don't change "dirty" status in
10165         updateInset call.
10166
10167 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10168
10169         * WorkArea.C (c-tor): re-position version string slightly.
10170
10171 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10172
10173         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10174         revert to previous code.
10175
10176         WorkArea.[Ch]: (show, destroySplash): methods removed.
10177
10178         WorkArea.C: rework code so that it's an amalgam of the codes before and
10179         after the splash screen was moved to WorkArea.
10180
10181 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10182
10183         * lyxrc.C (read):
10184         * vspace.C (inPixels):
10185         (lyx_advance):
10186         * kbmap.C (bind):
10187         * buffer.C (insertStringAsLines):
10188         (asciiParagraph): fix types to be large enough
10189
10190         * lyxlex_pimpl.h: change member status from short to int
10191
10192         * layout.h: fix type of endlabeltype
10193
10194         * kbmap.C (bind):
10195         * kbsequence.C (parse): change return type to string::size_type
10196
10197         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10198         variable
10199
10200         * Bullet.C (bulletSize):
10201         (bulletEntry): do not use short ints as parameters
10202
10203         * BufferView2.C (insertLyXFile): change a char to an int.
10204
10205         * WorkArea.C (WorkArea): remove unneeded floats in computation
10206
10207 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10208
10209         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10210
10211         * paragraph.C (asString): Do not ignore newline/hfill chars when
10212         copying to the clipboard.
10213
10214 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10215
10216         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10217         after a multi-line inset.
10218
10219 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10220
10221         * paragraph.C (validate): Set NeedLyXFootnoteCode
10222
10223 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10224
10225         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10226         and decrease-error to decrease.
10227
10228 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10229
10230         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10231         it more readable (should be equivalent)
10232
10233 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10234
10235         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10236
10237 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10238
10239         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10240         of a cursor (row, etc.) after a character has been deleted
10241         (deleteEmptyParagraphMechanism): call the method above on _all_
10242         cursors held by the LyXText when a double space has been
10243         detected/deleted.
10244
10245 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10246
10247         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10248         pixmap.
10249         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10250
10251         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10252         background. Use greyOut() and the new show() methods to toggle between
10253         the foreground and background. Add code to remove the splash after
10254         its initial showing.
10255
10256         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10257         (create_forms): no longer call Dialogs::showSplash.
10258
10259 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10260
10261         * .cvsignore: add version_info.h
10262
10263 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10264
10265         * version_info.h.in: new file
10266
10267         * Makefile.am: add version_info.h.in
10268
10269         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10270         version_info.h instead of VERSION_INFO
10271
10272 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10273
10274         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10275         The ERT inset now returns string().
10276
10277 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10278
10279         * lyxtext.h, text.C (selectNextWord): renamed as
10280         selectNextWordToSpellcheck.
10281
10282         * text.C (selectNextWordToSpellcheck): Modified to not select
10283         words inside an ERT inset.
10284
10285 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10286
10287         * lyx_cb.C (MenuLayoutSave): change a bit the question
10288
10289         * sp_base.h: include <sys/types.h>
10290
10291 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10292
10293         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10294
10295 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10296
10297         * several files: fix typos in user-visible strings
10298
10299 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10300
10301         * text2.C (pasteSelection): do not set the selection, since it
10302         will be cleared later. Actually, the intent was to fix the way the
10303         selection was set, but I figured rmoving the code was just as good.
10304
10305 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10306
10307         * FontLoader.C (available): Check if font is available without
10308         loading the font.
10309
10310 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10311
10312         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10313
10314 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10315
10316         * lyxrc.[Ch]: added display_graphics variable and associated code.
10317
10318 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10319
10320         * bufferparams.C (hasClassDefaults): new method. Returns true if
10321         the buffer parameters correspond to known class defaults
10322
10323 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10324
10325         * XFormsView.C (show): set minimum size to the main window.
10326
10327 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10328
10329         * text2.C (copySelection):
10330         (cutSelection):
10331         * lyxfind.C (LyXReplace):
10332         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10333         LyXText::selectionAsString.
10334
10335         * paragraph.C (asString): add "label" argument to the second form
10336
10337         * text2.C (selectionAsString): add "label" argument and pass it to
10338         Paragraph::asString.
10339
10340 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10341
10342         * lyx_main.C (commandLineHelp): remove version information
10343
10344 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10345
10346         * lyx_main.C: add -version commandline option
10347
10348 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10349
10350         * paragraph.h: make the optional constructor arg required instead.
10351         some modifications to other files because of this.
10352
10353         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10354
10355         * lyxserver.C (C_LyXComm_callback): make it static
10356
10357         * lyx_main.C (error_handler): make it static
10358
10359         * lyx_gui.C (LyX_XErrHandler): make it static
10360
10361         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10362
10363         * WorkArea.C: make the extern "C" methods static.
10364
10365         * Makefile.am (lyx_LDADD): simplify
10366
10367 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10368
10369         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10370         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10371
10372         * LyXAction.C (init):
10373         * lyxfunc.C (dispatch): associated code removal.
10374
10375 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10376
10377         * lyxfont.h (isSymbolFont): shut off warning
10378
10379         * text.C (setHeightOfRow):
10380         (getVisibleRow): fix crash with empty paragraphs which have a
10381         bottom line
10382
10383 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10384
10385         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10386         code.
10387
10388 2001-09-04  José Matos  <jamatos@fep.up.pt>
10389         * buffer.C
10390         * buffer.h
10391         * tabular.C (docbook): rename docBook method to docbook.
10392
10393 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10394
10395         * Makefile.am: add dependencies to main.o.
10396
10397 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10398
10399         * FontLoader.C (available): Return false if !lyxrc.use_gui
10400
10401 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10402
10403         * FontInfo.C (query):
10404         * converter.C (view):
10405         * importer.C (Import):
10406         * exporter.C (Export): Can not -> cannot.
10407
10408 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10409
10410         * BufferView_pimpl.C: allow to create index inset even if
10411           string is empty
10412
10413 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10414
10415         * buffer.C (getLists): replace boost::tie code with an explicit pair
10416         as boost::tie can break some compilers.
10417
10418         * iterators.h: Added a std:: declaration to the return type of
10419         ParIterator::size.
10420
10421 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10422
10423         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10424           case.
10425
10426 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10427
10428         * iterators.[Ch]: New files. Provide paragraph iterators.
10429
10430         * buffer.C (changeLanguage): Use paragraph iterators.
10431         (isMultiLingual): ditto
10432
10433         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10434
10435 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10436
10437         * FontLoader.C: Support for cmr font.
10438
10439 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10440
10441         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10442         (available): New method.
10443
10444         * FontInfo.C (getFontname): Use scalable fonts even when
10445         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10446         found.
10447
10448 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10449
10450         * converter.C (Formats::view): reverted! Incorrect fix.
10451
10452 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10453
10454         * converter.C (Formats::view): only output the -paper option
10455         if the dvi viewer is xdvi, thereby fixing bug #233429.
10456
10457 2001-08-23  Herbert Voss  <voss@perce>
10458
10459         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10460
10461 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10462
10463         * Spacing.h (Spacing): Set space to Default on in the default
10464         constructor.
10465
10466 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10467
10468         * vc-backend.h (RCS::versionString): add RCS to version
10469         (CVS::versionString): add CVS to version
10470
10471         * vc-backend.C (scanMaster): do not add CVS to version.
10472         (scanMaster): do not add RCS to version
10473
10474         * lyxvc.C (versionString): new method
10475
10476         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10477
10478 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10479
10480         * Spacing.C (set): initialize fval
10481
10482 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10483
10484         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10485         " or \.
10486
10487 2001-08-16  Juergen Vigna  <jug@sad.it>
10488
10489         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10490
10491 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10492
10493         * BufferView_pimpl.C:
10494         * figureForm.C:
10495         * lyxtext.h:
10496         * text2.C: setParagraph takes linespacing now
10497
10498 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10499
10500         * LyxAction.C: add internal LFUN_CITATION_INSERT
10501
10502         * LyXView.C: actually apply fix
10503
10504         * bufferlist.C: fix open non-existent file
10505
10506         * lyxfind.C: fix indentation
10507
10508         * lyxfunc.C: remove unneeded assert, fix typo
10509
10510 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10511
10512         * MenuBackend.C: use "Floatname List"
10513
10514 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10515
10516         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10517         when converting LaTeX layout to insetERT.
10518         Generate a non-collapsed float when reading old float
10519
10520 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10521
10522         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10523         ERT insets.
10524
10525 2001-08-13  Juergen Vigna  <jug@sad.it>
10526
10527         * text.C (fill): return 0 instead of 20 as this seems to be the more
10528         correct value.
10529
10530 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10531
10532         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10533         lyxrc.font_norm.
10534
10535 2001-08-13  Juergen Vigna  <jug@sad.it>
10536
10537         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10538         casesensitive off.
10539         (SearchBackward): comment out the unlocking of the inset_owner this
10540         should not be needed!
10541
10542 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10543
10544         * Many files: Remove inherit_language, and add latex_language
10545
10546         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10547         collapsible insets.
10548
10549 2001-08-10  Juergen Vigna  <jug@sad.it>
10550
10551         * text.C (prepareToPrint): fixed hfill-width in draw!
10552
10553         * BufferView2.C (selectLastWord): save the selection cursor as this
10554         now is cleared in the function LyXText::clearSelection!
10555
10556 2001-08-08  Juergen Vigna  <jug@sad.it>
10557
10558         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10559         BACKSPACE type functions.
10560
10561         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10562         is only cutted from the document but not put in the cut-buffer, where
10563         still the old stuff should be.
10564
10565         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10566
10567         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10568
10569         * tabular.C (SetWidthOfCell): fixed special case where the width
10570         was not updated!
10571         (LeftLine): handle '|' in align_special.
10572         (RightLine): ditto
10573         (LeftAlreadyDrawed): ditto
10574         (SetWidthOfCell): ditto
10575
10576 2001-08-07  Juergen Vigna  <jug@sad.it>
10577
10578         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10579
10580 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10581
10582         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10583         * lyxlex.[hC]: ditto
10584
10585 2001-08-06  Juergen Vigna  <jug@sad.it>
10586
10587         * text.C (getVisibleRow): fix up row clearing a bit.
10588
10589 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10590
10591         * minibuffer.C: make sure the X server sees the changes in the input.
10592
10593 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10594
10595         * paragraph.C (getFont): split into...
10596         (getLabelFont): this
10597         (getLayoutFont): and this
10598         * paragraph_pimpl.C (realizeFont): calling this
10599
10600         * text2.C (getFont): split into...
10601         (getLayoutFont): this
10602         (getLabelFont): and this
10603         (realizeFont): all three calling this
10604
10605         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10606         files where used.
10607
10608 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10609
10610         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10611
10612 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10613
10614         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10615         layouts from the Quote inset insertion.
10616
10617 2001-08-03  Juergen Vigna  <jug@sad.it>
10618
10619         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10620
10621         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10622         only if status not is already CHANGED_IN_DRAW (second level).
10623
10624         * text.C (draw): don't set the need_break_row when inside an
10625         InsetText LyXText.
10626
10627 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10628
10629         * buffer.C (parseSingleLyXformat2Token): handle more latex
10630         conversion cases.
10631
10632         * bufferview_funcs.[hC]: change function names to
10633         begin with small char, adjust other files.
10634
10635 2001-08-02  André Pönitz <poenitz@gmx.net>
10636
10637         * lyxfunc.C:
10638         BufferView_pimpl.C: remove broken special code for math-greek
10639
10640 2001-08-02  Juergen Vigna  <jug@sad.it>
10641
10642         * BufferView_pimpl.C (update): redone this function so that we
10643         update the text again if there was a CHANGE_IN_DRAW.
10644
10645         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10646         (drawFromTo): added a new internal bool which is used by draw() and
10647         redraw() function.
10648         (general): some cursor drawing problems fixed.
10649
10650 2001-08-01  Juergen Vigna  <jug@sad.it>
10651
10652         * lyxfind.C (LyXFind): fixed
10653         (SearchForward): ditto
10654         (SearchBackward): ditto
10655
10656         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10657         spurius drawing of the cursor in the main area.
10658
10659         * text2.C (status): small fix which could lead to a segfault!
10660         (clearSelection): remove unneeded BufferView param.
10661
10662 2001-08-01  André Pönitz <poenitz@gmx.net>
10663
10664         * lyxfunc.C: small change due to changed mathed interface
10665
10666 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10667
10668         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10669
10670 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10671
10672         * lyxfunc.c: fail gracefully if file doesn't exist
10673
10674         * LyXSendto.C:
10675         * buffer.C:
10676         * lyxfunc.C:
10677         * BufferView_pimpl.C: IsDirWriteable() proto changed
10678
10679         * LyXView.C: fix updateWindowTitle() to store the last title
10680
10681 2001-07-31  Juergen Vigna  <jug@sad.it>
10682
10683         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10684         the font (wrong since using of Paragraph::highestFontInRange).
10685
10686         * paragraph.C (highestFontInRange): added a default_size parameter.
10687
10688         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10689         (setHeightOfRow): reformat
10690
10691 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10692
10693         * converter.[hC] + affected files: move to (inital-char)lowercase
10694         function names.
10695
10696         * ParagraphParameters.C (ParagraphParameters): remove commented code
10697
10698         * PainterBase.[Ch]: remove commented code
10699
10700         * LaTeXFeatures.h: add "bool floats" for float.sty
10701
10702         * LaTeXFeatures.C (LaTeXFeatures): init floats
10703         (require): handle float
10704         (getPackages): do it with floats
10705
10706 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10707
10708         * BufferView_pimpl.C (Dispatch): improve handling of
10709         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10710
10711         * commandtags.h: #include lyxfont.h here temporarily to avoid
10712         keybinding bug.
10713
10714         * bufferlist.h: include LString.h here.
10715
10716 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10717
10718         * text2.C (getStringToIndex): new method.
10719
10720 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10721
10722         * *: Reduced header file dependencies all over.
10723
10724 2001-07-30  Baruch Even  <baruch@lyx.org>
10725
10726         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10727
10728 2001-07-29  Baruch Even  <baruch@lyx.org>
10729
10730         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10731
10732 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10733
10734         * ParameterStruct.h (endif): add a default constructor to make
10735         sure that all variables is initialized.
10736
10737         * ParagraphParameters.C (ParagraphParameters): adjust
10738
10739 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10740
10741         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10742         index; also, check that there is something to index, and that it
10743         does not span over several paragraphs.
10744         (doubleClick): use WHOLE_WORD_STRICT for double click.
10745
10746         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10747
10748         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10749         scheme.
10750
10751 2001-07-26  Baruch Even  <baruch@lyx.org>
10752
10753         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10754         an InsetFig figure, backwards compatible reading of old figure code.
10755
10756 2001-07-27  Juergen Vigna  <jug@sad.it>
10757
10758         * text2.C: font.realize function adaption.
10759
10760         * text.C (draw): add a warnings lyxerr text if needed.
10761
10762         * layout.C: font.realize function adaption.
10763
10764         * language.C: add inherit_language and implement it's handlings
10765
10766         * bufferview_funcs.C (StyleReset): remove language parameter from
10767         font creation (should be language_inherit now).
10768
10769         * bufferparams.C (writeFile): handle ignore_language.
10770
10771         * paragraph.C (getFontSettings): the language has to be resolved
10772         otherwise we have problems in LyXFont!
10773
10774         * lyxfont.C (lyxWriteChanges): added document_language parameter
10775         (update): removed unneeded language parameter
10776
10777         * paragraph.C (validate): fixed wrong output of color-package when
10778         using interface colors for certain fonts in certain environments,
10779         which should not seen as that on the final output.
10780
10781 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10782
10783         * BufferView_pimpl.C:
10784         * Thesaurus.h:
10785         * Thesaurus.C:
10786         * Makefile.am:
10787         * commandtags.h:
10788         * LyXAction.C: add thesaurus support
10789
10790         * lyxfind.h:
10791         * lyxfind.C: add "once" parameter, for thesaurus, to not
10792           move to the next match
10793
10794 2001-07-26  Juergen Vigna  <jug@sad.it>
10795
10796         * lyxfont.C (realize): honor ignore_language too!
10797         (resolved): ditto.
10798
10799         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10800
10801         * text.C (draw): one place more for ignore_language to not draw
10802         itself!
10803
10804 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10805
10806         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10807
10808 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10809
10810         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10811         the minipage conversion problem.
10812
10813 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10814
10815         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10816         insert an inset.
10817
10818 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10819
10820         * BufferView.h: don't forward declare WorkArea
10821
10822         * BufferView.C: don't include WorkArea.h
10823
10824 2001-07-25  André Pönitz <poenitz@gmx.net>
10825
10826         * commandtags.h:
10827         * LyXAction.C:
10828         * lyxfunc.C:  new LFUN 'math-space'
10829
10830         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10831
10832 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10833
10834         * text2.C (toggleInset): call open/close
10835
10836 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10837
10838         * lyxfunc.C (dispatch): add debug for the disabled case
10839
10840         * font.C (buttonText): make similar to rectText
10841
10842         * buffer.C (readInset): comment out parsing of insetlist and
10843         insttheorem
10844
10845         * PainterBase.C (rectText): small correction
10846
10847         * BufferView_pimpl.C: comment out insettheorem and insetlist
10848         * LyXAction.C: ditto
10849         * commandtags.h: ditto
10850
10851 2001-07-24  Juergen Vigna  <jug@sad.it>
10852
10853         * text.C (draw): honor the ignore_language.
10854
10855         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10856
10857 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10858
10859         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10860         char inset.
10861
10862 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10863
10864         * lyxtext.h: remove unused (and unimplemented) methods
10865
10866 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10867
10868         * text.C (getVisibleRow): honor background color
10869
10870         * PainterBase.h:
10871         * Painter.h: remove default color argument for fillRectangle
10872
10873         * text.C (backgroundColor): new method
10874
10875 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10876
10877         * text.C (getVisibleRow): adjust
10878
10879         * font.[Ch] (rectText): new method, metrics
10880         (buttonText): new method, metrics
10881
10882         * PainterBase.[hC]: make rectText and buttonText always draw and take
10883         fewer paramteres.
10884
10885 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10886
10887         * ToolbarDefaults.C (read):
10888         * MenuBackend.C (read): allow escaping in all strings
10889
10890         * BufferView_pimpl.C (insertAndEditInset): new method.
10891         (Dispatch): use insertAndEditInset whenever appropriate.
10892
10893         * BufferView_pimpl.C (insertNote): removed
10894
10895         * BufferView_pimpl.C (smartQuote): new method, moved from
10896         BufferView; if an insetquote cannot be inserted, insert a '"'
10897         character instead.
10898
10899         * BufferView2.C: remove insertCorrectQuote();
10900
10901         * lyxfunc.C (getStatus): Add support for all remaingin
10902         inset-insert lfuns.
10903
10904         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10905
10906         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10907         command (necessary to pass " as parameter of self-insert.
10908
10909         * text.C (selectWordWhenUnderCursor):
10910         (selectWord): add word_location parameter
10911         (selectWordWhenUnderCursor): same + remove special code for word
10912         boundary.
10913         (selectNextWord): use kind() to guess type of insetspecialchar,
10914         not latex().
10915
10916         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10917         (insertErtContents): create ert insets as collapsed.
10918         (readInset): better compatibility code for Info inset.
10919
10920 2001-07-20  Juergen Vigna  <jug@sad.it>
10921
10922         * lyxfunc.C (dispatch): use always LyXFind now!
10923
10924         * text2.C (init): add a reinit flag so that the LyXText can be
10925         reinited instead of deleted and reallocated (used in InsetText).
10926
10927         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10928
10929         * text.C: ditto
10930
10931         * text2.C: ditto
10932
10933 2001-07-18  Juergen Vigna  <jug@sad.it>
10934
10935         * text.C (selectNextWord): handle insets inside inset by calling
10936         always the bv->text functions so that we can go up the_locking_inset!
10937
10938         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10939         in strange locations when inside an inset!
10940
10941         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10942         handling to include insets.
10943
10944         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10945
10946 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10947
10948         * LyXAction.C (init):
10949         * commandtags.h:
10950         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10951         LIGATURE_BREAK, since the name is so stupid.
10952
10953 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10954
10955         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10956         InsetInfos.
10957
10958         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10959
10960         * sp_form.[Ch]: remove.
10961
10962         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10963
10964         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10965         InsetInfo.
10966
10967         * src/buffer.C (readInset): ditto.
10968
10969 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10970
10971         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10972         menuSeparator(), endOfSentenceDot(), ldots() and
10973         hyphenationPoint(), which are therefore removed.
10974         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10975
10976         * LyXAction.C (init):
10977         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10978
10979         * paragraph.C (getWord): removed.
10980
10981         * BufferView_pimpl.C (Dispatch): use last word or selection for
10982         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10983
10984         * lyx_main.C (queryUserLyXDir): do not ask before creating
10985         user_dir, except if it has been named explicitely.
10986
10987 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10988
10989         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10990         a document of zero size.
10991
10992 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10993
10994         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10995         approriately in the c-tor and in require().
10996         (getPackages): output the appropriate LaTeX for natbib support.
10997
10998         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10999         variables "use_natbib" and "use_numerical_citations" when reading the
11000         LyX file.
11001         (readInset): read the various natbib cite commands.
11002         (validate): white-space change.
11003
11004         * bufferparams.[Ch]: new variables "bool use_natbib" and
11005         "bool use_numerical_citations".
11006         (writeFile): output them in the LyX file.
11007
11008 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11009
11010         * lyxfunc.C (getStatus): add support for all the inset insertion
11011         commands.
11012
11013         * text2.C (insertInset):
11014         * paragraph.C (insetAllowed):
11015         * BufferView_pimpl.C (insertInset): update to take in account the
11016         renaming of insertInsetAllowed
11017
11018         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11019
11020         * text2.C (getInset): new method. returns inset at cursor position.
11021
11022         * BufferView_pimpl.C (Dispatch): changes because of this.
11023
11024         * LyXAction.C (init): rename open-stuff to inset-toggle.
11025
11026         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11027
11028         * text2.C (toggleInset): renamed from openStuff; use
11029         Inset::open().
11030
11031 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11032
11033         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11034
11035         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11036
11037 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11038
11039         * buffer.C (readLyXformat2): Add filename to the error dialog
11040
11041 2001-07-18  Juergen Vigna  <jug@sad.it>
11042
11043         * tabular.C (GetCellNumber): put an assert here instead of the check!
11044
11045 2001-07-17  Juergen Vigna  <jug@sad.it>
11046
11047         * BufferView_pimpl.C (toggleSelection): adapted too.
11048
11049         * text.C (selectNextWord): adapted for use with insets.
11050         (selectSelectedWord): ditto
11051
11052 2001-07-17  Juergen Vigna  <jug@sad.it>
11053
11054         * sp_spell.C (PSpell): fix initialitation order.
11055
11056 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11057
11058         * paragraph.C: spacing
11059
11060 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11061
11062         * sp_spell.C: repair language selection for pspell
11063
11064 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11065
11066         * lyxfunc.h: change more methods to begin with lower char.
11067
11068 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11069
11070         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11071         for unknown layouts.
11072
11073 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11074
11075         * buffer.C (readLyXformat2): Generate an error dialog if there are
11076         unknown layouts.
11077
11078 2001-07-16  Juergen Vigna  <jug@sad.it>
11079
11080         * sp_spell.C: always compile ISpell part.
11081
11082         * lyxrc.C: added use_pspell entry and it's handling.
11083
11084 2001-07-13  Juergen Vigna  <jug@sad.it>
11085
11086         * sp_spell.C: removed double includes.
11087
11088 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11089
11090         Consistent use of Lsstream.h:
11091         * Lsstream.h: added using std::stringstream for consistencies sake.
11092
11093         * buffer.C: removed using std::stringstream
11094
11095         * lyxfont.C (stateText):
11096         * paragraph.C (asString):
11097         * text.C (selectNextWord, selectSelectedWord):
11098         * text2.C (setCounter):
11099         * vspace.C (asString, asLatexString):
11100         std::ostringstream -> ostringstream.
11101
11102 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11103
11104         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11105         * commandtags.h: add LFUN_HELP_ABOUTLYX
11106         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11107
11108 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11109
11110         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11111         cursorToggle()
11112         * lyx_gui_misc.C: remove spellchecker
11113         * lyxfunc.C: showSpellchecker
11114         * sp_base.h: added
11115         * sp_ispell.h: added
11116         * sp_pspell.h: added
11117         * sp_spell.C: added
11118         * sp_form.[Ch]: removed
11119         * spellchecker.[Ch]: removed
11120
11121 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11122
11123         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11124         is set.
11125         (simpleTeXSpecialChars): Simply print the input character without
11126         any special translation if pass_thru is set.
11127
11128         * layout.h: Added bool pass_thru to layout class for being able to
11129         implement pass through of a paragraph for Literate Programming.
11130
11131         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11132         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11133         * layout.C (Read): add "passthru" to list of layout tags and add
11134         code to set the pass_thru boolean when it is read.
11135
11136 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11137
11138         * trans_decl.h: remove allowed from KmodInfo
11139
11140         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11141         remove allowed code
11142         (Load): adjust
11143
11144         * paragraph_pimpl.C (erase): use boost::prior
11145
11146         * Painter.C (text): use data() instead of c_str() when length is
11147         also provided.
11148         * WorkArea.C (putClipboard): ditto
11149         * font.h (width): ditto
11150
11151         * BufferView2.C: use it-> instead of (*it). for iterators
11152         * texrow.C: ditto
11153         * paragraph_pimpl.C: ditto
11154         * paragraph.C: ditto
11155         * minibuffer.C: ditto
11156         * language.C: ditto
11157         * kbmap.C: ditto
11158         * encoding.C: ditto
11159         * counters.C: ditto
11160         * converter.C: ditto
11161         * chset.C: ditto
11162         * Variables.C: ditto
11163         * TextCache.C: ditto
11164         * MenuBackend.C: ditto
11165         * LyXAction.C: ditto
11166         * LColor.C: ditto
11167         * FloatList.C: ditto
11168         * DepTable.C: ditto
11169         * ColorHandler.C (LyXColorHandler): ditto
11170
11171 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11172
11173         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11174
11175         * text2.C (openStuff): reintroduce this method (which had been
11176         nuked in NEW_INSETS frenzy).
11177
11178         * lyxfunc.C (Dispatch): when an action has not been handled, use
11179         its name in the error message, not its number.
11180
11181         * paragraph.C (inInset): change method name to begin with lowercase.
11182
11183         * undo_funcs.C:
11184         * text2.C: updates because of this.
11185
11186 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11187
11188         * ToolbarDefaults.C (add): add spaces in error message
11189
11190 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11191
11192         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11193         (readLyXformat2): rename return_par to first_par, use lyxlex's
11194         pushToken and remove the manual push handling.
11195         (parseSingleLyXformat2Token): add another ert comp. variable:
11196         in_tabular, rename return_par to first_par. handle newlines better
11197
11198 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11199
11200         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11201
11202 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11203
11204         * text2.C (getParFromID): removed
11205
11206         * buffer.C (getParFromID): new method moved form lyxtext.
11207         * BufferView2.C (insertErrors): adjust
11208         (setCursorFromRow): adjust
11209         * BufferView_pimpl.C (restorePosition): adjust
11210         * lyxfunc.C (Dispatch): adjust
11211         * undo_funcs.C (textUndo): adjust
11212         (textRedo): adjust
11213         (textHandleUndo): adjust
11214         (textHandleUndo): adjust
11215
11216 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11217
11218         * buffer.C: up' the LYX_FORMAT
11219
11220         * lyxfont.h: turn NO_LATEX on as default
11221
11222         * buffer.C (insertErtContents): new methods of tex style compability.
11223         (parseSingleLyXformat2Token): use it several places.
11224         * tabular.C (OldFormatRead): and here
11225
11226 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11227
11228         * text2.C: remove some commented code.
11229         reindent file.
11230
11231         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11232         * trans.C: changes because of the above.
11233
11234 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11235
11236         * text2.C (setCounter): Fix counters bug with bibliography layout.
11237
11238 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11239
11240         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11241         own member functions
11242         (simpleTeXSpecialChars): ditto
11243
11244 2001-07-06  Juergen Vigna  <jug@sad.it>
11245
11246         * a lot of files: changed the access to LyXText::status and the
11247         call of undo-functions.
11248
11249         * undo.[Ch]: added a inset_id to the undo informations.
11250
11251         * undo_funcs.[Ch]: added and moved here all undo functions.
11252
11253         * lyxtext.h: give the status enum a weight, made status_ a private
11254         variable and made accessor functions for it, removed the whole bunch
11255         of undo-functions as they are now in their own file, make some
11256         functions publically available. Added function ownerParagraph with
11257         int parameter.
11258
11259         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11260         made InInset() a const function, added getParFromID() function.
11261
11262         * buffer.[Ch]: added const version for inset_iterator functions,
11263         added getInsetFromID() function.
11264
11265         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11266         changed undo functions for new version.
11267
11268 2001-07-05  Juergen Vigna  <jug@sad.it>
11269
11270         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11271         unknow mechanism does not call the proper constructor but only this
11272         one also if I request the other!?
11273
11274 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11275
11276         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11277
11278         * text2.C (LyXText): use initialization lists.
11279
11280         * lyxtext.h (Selection): initialize set_ and mark_
11281         (init): remove method
11282
11283 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11284
11285         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11286
11287 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11288
11289         * screen.[Ch]: change method names to begin with lowercase
11290
11291         * BufferView_pimpl.C (updateScrollbar): simplify further and
11292         hopefully make it a bit faster.
11293
11294 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11295
11296         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11297         calling directly xforms functions.
11298
11299         * Painter.C (Painter):
11300         * lyx_cb.C (MenuWrite):
11301         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11302         fl_display.
11303
11304         * lyx_gui.C: remove bogus guiruntime extern declaration.
11305
11306 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11307
11308         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11309         in NEW_INSETS
11310         (redoDrawingOfParagraph): ditto
11311         (redoParagraphs): ditto
11312         (cutSelection): don't create a object for CutAndPaste use the
11313         static method directly
11314         (pasteSelection): ditto
11315
11316         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11317         LyXview (+ rename)
11318
11319 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11320
11321         * modifications to some other files because of this.
11322
11323         * Makefile.am (lyx_SOURCES): add XFormsView
11324
11325         * XFormsView.[Ch]: new files
11326
11327         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11328         the main window. Move the gui dependent stuff to XFormsView
11329
11330 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11331
11332         * tabular.C (GetCellInset): update cur_cell also in the row/col
11333         version of this function.
11334
11335         * lyxfunc.C: no need to include figure_form.h here.
11336
11337         * FontLoader.h:
11338         * lyxfunc.h:
11339         * lyxscreen.h:
11340         * text2.C:
11341         * lyxvc.C: no need to include forms.h here.
11342
11343 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11344
11345         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11346
11347         * lyxfunc.C (Dispatch):
11348         * Spacing.C (set):
11349         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11350         constructor argument.
11351
11352 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11353
11354         * paragraph.C (Paragraph): dont't clear, and just set layout.
11355         (makeSameLayout): use params's copy contructor.
11356
11357         * ParagraphParameters.[Ch] (makeSame): delete method
11358
11359 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11360
11361         * Variables.[Ch]: fix indentation, rename set to isSet
11362
11363 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11364
11365         * lyxfunc.C (Dispatch): fix typo
11366
11367 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11368
11369         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11370         upper_bound.
11371
11372         * bufferlist.C: include assert.h for emergencyWrite().
11373
11374 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11375
11376         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11377           give up at last (bug #425202) !
11378
11379 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11380
11381         * lyx_gui_misc.C:
11382         * sp_form.h:
11383         * sp_form.C:
11384         * spellchecker.h:
11385         * spellchecker.C: strip spellchecker options and bring up
11386           preferences tab instead
11387
11388 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11389
11390         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11391         the istringstream constructor
11392
11393 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11394
11395         * paragraph.C (getLayout): fix return value
11396
11397         * paragraph.h: do not declare getLayout as inline.
11398
11399         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11400
11401 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11402
11403         * lyxcursor.h (operator<): new func
11404         (operator>): new func
11405         (operator>=): new func
11406         (operator<=): new func
11407
11408         * text.C (changeCase): use selection.start and selection.end
11409         (changeRegionCase): require from to be <= to. Require par to be a
11410         valid paragraph.
11411
11412         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11413
11414 2001-06-27  Juergen Vigna  <jug@sad.it>
11415
11416         * text.C (cursorLeftOneWord): changed to return the cursor and added
11417         overlay with BufferView * parameter which calls this one.
11418         (getWord): added
11419         (selectWord): use new getWord function.
11420         (changeCase): renamed from changeWordCase as and extended to work
11421         also on selections.
11422
11423         * lyxtext.h: added enum word_location
11424
11425         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11426         changeCase as this operates now also on selections.
11427
11428 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11429
11430         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11431
11432         * many files: send debug output to Debug::INFO instead of
11433         Debug::ANY.
11434
11435         * converter.C (View):
11436         (Convert):
11437         (Move): send debug output to Debug::FILES instead of console.
11438
11439 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11440
11441         * lyxfunc.C (getStatus): use func_status
11442
11443         * func_status.h: new header, describing the results of
11444         LyXFunc::getStatus;
11445
11446         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11447         LFUN_MATH_HALIGN.
11448
11449 2001-06-25  The LyX Project  <jug@sad.it>
11450
11451         * buffer.C (sgmlOpenTag):
11452         (sgmlCloseTag):
11453         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11454
11455 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11456
11457         * text2.C: remove some dead code
11458
11459         * tabular.C (GetCellInset): store the last cell checked (gotten)
11460
11461         * tabular.h: add the helper for the speedup
11462
11463         * lyxtext.h: remove some dead code
11464
11465 2001-06-26  The LyX Project  <Asger>
11466
11467         * paragraph.C: Change export to LaTeX of alignment to
11468         \begin{center} and family for better roundtrip work with reLyX.
11469
11470         * Tune the math drawing a bit.
11471
11472 2001-06-25  The LyX Project  <Asger>
11473
11474         * LColor.C (LColor): New color for math background. New color
11475         for buttons.
11476
11477 2001-06-25  The LyX Project  <jug@sad.it>
11478
11479         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11480
11481         * lyxfunc.C (Open):
11482         * bufferlist.C (newFile): do not restrict to files ending with
11483         .lyx
11484
11485         * BufferView_pimpl.C (MenuInsertLyXFile):
11486
11487 2001-06-24  The LyX Project  <jug@sad.it>
11488
11489         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11490         of compare_no_case
11491
11492 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11493
11494         * lyxtext.h: rename most methods to begin with a small char.
11495         Lots of changes because of this.
11496
11497         * paragraph.C (Paragraph): do not call fitToSize
11498         (erase): call Pimpl::erase
11499         (insertChar): call Pimpl::insertChar
11500         (insertInset): call Pipl::insertInset
11501         (breakParagraph): do not call fitToSize
11502         (breakParagraphConservative): do not call fitToSize
11503         (fitToSize): remove method
11504
11505         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11506
11507 2001-06-24  The LyX Project  <Asger>
11508
11509         * Fix Qt compilation^2
11510
11511 2001-06-24  The LyX Project  <jug@sad.it>
11512
11513         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11514         depthHook(getDepth()-1).
11515
11516         * paragraph.h:
11517         * ParagraphParameters.h:
11518         * ParameterStruct.h: change type of depth to unsigned int ==
11519         depth_type. Many adaptations to other files before of that.
11520
11521 2001-06-24  The LyX Project  <Asger>
11522
11523         * Fix Qt compilation.
11524
11525 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11526
11527         * paragraph.h: renamed several methods to begin with small letter.
11528         several changes to many parts of the code because of this.
11529
11530 2001-06-23  The LyX Project  <jug@sad.it>
11531
11532         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11533         rewritten to discard all double spaces when KeepEmpty is off
11534         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11535         to only handle newlines but not fiddle with spaces and friends.
11536
11537         * lyxfunc.C (MenuNew): when doing 'new from template', use
11538         template_path as default directory
11539
11540 2001-06-23  The LyX Project  <Asger>
11541
11542         * Clean-up of header file includes all over
11543         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11544
11545 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11546
11547         * paragraph.h: renamed from lyxparagraph.h
11548
11549 2001-06-23  Asger  <lyx@violet.home.sad.it>
11550
11551         * Buffer.h: Removed Buffer::resize
11552         * BufferList.h: Removed BufferList::resize
11553         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11554         the document lazily when we change the width, or the font settings.
11555
11556 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11557
11558         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11559
11560 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11561
11562         * buffer.h: remove out of date comment
11563
11564 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11565
11566         * lyxscreen.h:
11567         * screen.C: fix "theoretical" GC leak
11568
11569 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11570
11571         * LaTeX.C (scanAuxFile):
11572         (deplog): remove trailing \r when reading stream (useful under
11573         win32)
11574
11575 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11576
11577         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11578         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11579         and BufferView::theLockingInset(Inset*), so should use them and not
11580         access bv_->text->the_locking_inset directly.
11581
11582         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11583
11584 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11585
11586         * Makefile.am:
11587         * tex-defs.h: remove old unused file
11588
11589 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11590
11591         * BufferView_pimpl.C: fix typo, remove minibuffer message
11592           when buffer has loaded
11593
11594 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11595
11596         * lyxfunc.C (Dispatch): use stringstream
11597         (MenuNew): use stringstream
11598         (Open): use stringstream
11599
11600         * importer.C (Import): use stringstream
11601
11602         * bufferview_funcs.C (CurrentState): use stringstream
11603
11604         * LaTeX.C (run): use stringstream
11605
11606         * BufferView_pimpl.C (savePosition): use stringstream
11607         (restorePosition): use stringstream
11608         (MenuInsertLyXFile): use stringstream
11609
11610 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11611
11612         * BufferView.C:
11613         * Bullet.C:
11614         * ColorHandler.C:
11615         * FontInfo.C:
11616         * FontLoader.C:
11617         * LColor.C:
11618         * LaTeXFeatures.C:
11619         * Painter.C:
11620         * gettext.C:
11621         * lyx_gui_misc.C:
11622         * lyxserver.C:
11623         * vspace.C: removed // -*- C++ -*- as first line.
11624
11625         * lyxfind.h:
11626         * version.h: added // -*- C++ -*- as first line.
11627
11628 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11629
11630         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11631
11632         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11633         of string
11634
11635 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11636
11637         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11638         of floats.
11639
11640 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11641
11642         * gettext.C: include LString.h even when --disable-nls is on.
11643
11644 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11645
11646         * converter.h (Get): changed argument type from int to
11647         FormatList::size_type to avoid unnecessary conversion.
11648
11649         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11650         before using it.
11651
11652 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11653
11654         * gettext.h: include LString.h even when --disable-nls is on.
11655
11656 2001-06-07  Juergen Vigna  <jug@sad.it>
11657
11658         * text.C (BreakAgain): subst spaces with tabs.
11659
11660         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11661         (resizeInsetsLyXText): set force on resizeLyXText.
11662
11663 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11664
11665         * gettext.h (gettext_init):
11666         (locale_init): use a real definition instead of a macro
11667
11668 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11669
11670         * Bufferview_pimpl.C:
11671         * LColor.h:
11672         * LColor.C: further lcolor tidies
11673
11674 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11675
11676         * BufferView_pimpl.C (updateScrollbar): simplify.
11677
11678         * BufferView2.C: don't include insets/insetinfo.h, change
11679         prototype for insertInset and call the Pimpl version. let
11680         updateInset call Pimpl version.
11681
11682         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11683         gotoInset to BufferView::Pimpl
11684
11685 2001-06-01  Juergen Vigna  <jug@sad.it>
11686
11687         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11688         inside a LockingInset (is the update needed at all?).
11689
11690 2001-05-31  Juergen Vigna  <jug@sad.it>
11691
11692         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11693         here not the old one otherwise how should we compare it afterwards
11694         if it's the same!
11695
11696 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11697
11698         * lyxfont.C:
11699         * tabular.C:
11700         * tabular-old.C:
11701         * FontInfo.C: bring C functions into global namespace when
11702         necessary
11703
11704 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11705
11706         * LString.h: make sure config.h has been loaded before LString.h.
11707
11708         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11709         (one for each char read by EatLine!).
11710
11711         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11712         variables.
11713
11714 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11715
11716         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11717         to the same as the par we break from
11718
11719 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11720
11721         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11722
11723         * MenuBackend.C (expand): also create menu entries for wide
11724         versions of the floats.
11725
11726         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11727
11728         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11729
11730         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11731         frontends/Makefile.am
11732
11733         * text2.C: adjust
11734         * text.C: adjust
11735
11736
11737         * tabular.C (getTokenValue): add std::
11738
11739         * tabular-old.C (getTokenValue): add std::
11740         (getTokenValue): ditto
11741         (getTokenValue): ditto
11742
11743         * screen.C (ToggleSelection): adjust
11744
11745         * lyxtext.h: put selection cursors inside a Selection struct.
11746
11747         * lyxfunc.C (moveCursorUpdate): adjust
11748
11749         * lyxfont.C (latexWriteStartChanges): add std::
11750
11751         * lyxfind.C: adjust
11752
11753         * font.h: delete with(char const *, LyXFont const &)
11754
11755         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11756
11757         * FontInfo.C (getFontname): add std::
11758
11759         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11760         (workAreaButtonPress): adjust
11761         (tripleClick): adjust
11762         (update): adjust
11763         (moveCursorUpdate): adjust
11764         (Dispatch): adjust
11765
11766         * BufferView2.C (gotoInset): adjust
11767
11768 2001-05-30  Juergen Vigna  <jug@sad.it>
11769
11770         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11771         to check pspell I add this as default as I now have new pspell
11772         libraries and they seem to use this.
11773
11774 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * text2.C (CutSelection): make the cursor valid before the call to
11777         ClearSelection.
11778
11779 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11780
11781         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11782         relied on 0 terminated strings and other horrors. Bug found due to
11783         the new assert in lyxstring!
11784
11785         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11786         KP_ keys.
11787
11788 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11789
11790         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11791         to latinkeys.bind.
11792
11793         * lyxfunc.C (processKeySym): change method of getting to the
11794         self-insert char.
11795
11796         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11797         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11798         * BufferView_pimpl.[Ch]: here as private methods.
11799
11800 2001-05-28  Juergen Vigna  <jug@sad.it>
11801
11802         * text.C (SetHeightOfRow): added the update() call again as it is
11803         needed to initialize inset dimensions!
11804
11805 2001-05-16  Juergen Vigna  <jug@sad.it>
11806
11807         * text2.C (SetCharFont): Add new function with BufferView * and
11808         bool toggleall parameters for setting insets internal fonts.
11809         (SetFont): Freeze the undo as we may change fonts in Insets and
11810         all this change should be inside only one Undo!
11811
11812         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11813         setting font's in insets as for them we have the SetFont function!
11814
11815 2001-05-15  Juergen Vigna  <jug@sad.it>
11816
11817         * text2.C (ClearSelection): to be sure we REALLY don't have any
11818         selection anymore!
11819
11820         * tabular.C (TeXCellPreamble): fixed the left border problem for
11821         multicolumn cells.
11822
11823 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11824
11825         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11826         dependancy file
11827
11828 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11829
11830         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11831         LFUN_BREAKPARAGRAPH.
11832
11833         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11834         help test to "internal only", similar for LFUN_INSERT_URL
11835
11836         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11837         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11838         auto_region_delete and deadkeys.
11839
11840 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11841
11842         * LColor.h:
11843         * LColor.C: remove some dead entries, tidy a little
11844
11845 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11846
11847         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11848         commented code.
11849         (Dispatch): implement LFUN_ESCAPE
11850
11851         * commandtags.h: add LFUN_ESCAPE
11852
11853         * LyXAction.C (init): add entry for LFUN_ESCAPE
11854
11855         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11856         Remove commented code.
11857         (insertNote): moved here
11858         (open_new_inset): moved here
11859
11860         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11861         BufferView_pimpl
11862
11863 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11864
11865         * kbmap.C (findbinding): clean it up and make it work correctly.
11866
11867         * lyx_main.C (init): do not pass argc and argv as parameters
11868
11869 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11870
11871         * buffer.C: fix path for OS/2 & Win32
11872
11873         * lyx_gui.C:
11874         * lyx_main:
11875         * lyx_main.C: Added os:: class.
11876
11877         * os2_defines.h: update
11878
11879 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11882         better by trying again with reduced state.
11883
11884 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11885
11886         * lyxrc.C (read): print error about invalid key sequence only when
11887         debugging (because not all latinX keysyms are known to some X
11888         servers)
11889
11890         * kbsequence.C (getiso): add a few std:: qualifiers
11891         (getiso): comment out extra return statement.
11892
11893 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11894
11895         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11896         handling.
11897         (Dispatch): enhance the accent inset a bit. (not perfect)
11898
11899 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11900
11901         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11902
11903 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11904
11905         * bufferlist.C (emergencyWrite): fix assert() call
11906
11907 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11908
11909         * text.C (InsertChar): Added trivial patch to only send the "you
11910         can not do multiple spaces this way" message once during a
11911         session.
11912
11913 2001-05-08  Baruch Even  <baruch@lyx.org>
11914
11915         * Makefile.am: Changed order of libraries to get LyX to link properly
11916         with the gnome frontend.
11917
11918 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11919
11920         * LaTeXFeatures.h: add a std:: qualifier
11921
11922 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11923
11924         * paragraph.C (String): use stringstream
11925
11926 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11927
11928         * paragraph.C (writeFile): remove footflag arg
11929
11930         * buffer.C (makeLaTeXFile): use stringstream
11931         (latexParagraphs): remove footnot gurba
11932
11933         * LaTeXFeatures.C (getPackages): use stringstream
11934         (getMacros): likewise
11935         (getTClassPreamble): likewise
11936         (getFloatDefinitions): new method
11937
11938         * paragraph.C (writeFile): reindent
11939         (Erase): reindent
11940
11941         * WorkArea.h: revert the xpos + etc changes.
11942
11943         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11944
11945         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11946
11947         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11948         (pasteSelection): likewise
11949         * text2.C (CreateUndo): likewise
11950
11951 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11952
11953         * minibuffer.C (peek_event): temporarily reduce the functionality
11954         of the minibuffer (to allow args on lfuns)
11955
11956         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11957         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11958
11959         * buffer.C (readInset): add compability reading of old float
11960         lists, add reading of new style float list.
11961         (readInset): avoid reevaluation of inscmd.getCmdName()
11962         (getLists): reindent
11963
11964         * MenuBackend.C (MenuItem): implement parsing of
11965         md_floatlistinsert and md_floatinsert.
11966         (expand::LastFiles): move initalizaton of iterators out of loop,
11967         avoid reevaluation.
11968         (expand::Documents): introduce typdedef vector<string> Strings,
11969         and use it.
11970         (expand::ExportFormats): introduce typedef vector<Format const *>
11971         Formats, and use it.
11972         (expand): implement FloatListInsert and FloatInsert.
11973
11974         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11975         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11976         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11977
11978         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11979         handling.
11980         (Dispatch::LFUN_FLOAT_LIST): implement
11981
11982 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11983
11984         * LaTeX.C (run): Fix problem with --export code.
11985
11986 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11987
11988         * BufferView.[Ch] (workarea): removed.
11989         (getClipboard) new method; wrapper for workarea()->getClipboard()
11990
11991         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11992         bug.
11993
11994         * WorkArea.h (width, height, xpos, ypos): These methods all
11995         returned the dimensions of the work_area sub-area of WorkArea,
11996         resulting in a position error if the WorkArea were resized. Now
11997         return the dimensions of the entire WorkArea.
11998
11999         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12000
12001 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12002
12003         * LaTeX.C (deplog): correct the syntax of regex reg1
12004
12005 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12006
12007         * undo.C: remove !NEW_INSETS cruft
12008
12009 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12010
12011         * text2.C: remove !NEW_INSETS cruft
12012
12013         * text.C: remove !NEW_INSETS cruft
12014
12015         * tabular.C: remove !NEW_INSETS cruft
12016
12017         * spellchecker.C: remove !NEW_INSETS cruft
12018
12019         * lyxtext.h: remove !NEW_INSETS cruft
12020
12021         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12022
12023         * lyxfunc.C: remove !NEW_INSETS cruft
12024
12025         * lyxfind.C: remove !NEW_INSETS cruft
12026
12027         * lyx_cb.C: remove !NEW_INSETS cruft
12028
12029         * figureForm.C: remove  !NEW_INSETS cruft
12030
12031         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12032
12033         * buffer.[Ch]: remove !NEW_INSETS cruft
12034
12035         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12036
12037         * CutAndPaste.C: remove !NEW_INSETS cruft
12038
12039         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12040
12041         * BufferView2.C: remove !NEW_INSETS cruft
12042
12043         * BufferView.h: remove !NEW_INSETS cruft
12044
12045 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12046
12047         * Lsstream.h: include LString.h before the sstream headers to
12048         fix problem with gcc 2.95.3 and lyxstring
12049
12050 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12051
12052         * lyx_main.C: add using directives when needed for C functions
12053         declared in std:: namespace.
12054
12055 2001-04-27  Juergen Vigna  <jug@sad.it>
12056
12057         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12058         (SetHeightOfRow): comment out the update call should not be needed!
12059
12060 2001-04-13  Juergen Vigna  <jug@sad.it>
12061
12062         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12063         (LyXTabular): tried to minimize operator= operations (and realized
12064         hopfully Lars wish).
12065
12066 2001-04-27  Juergen Vigna  <jug@sad.it>
12067
12068         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12069
12070 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12071
12072         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12073
12074         * buffer.C (readInset): hack to make listof algorithm work
12075
12076         * BufferView_pimpl.C: hack to make listof algorithm work
12077
12078 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12079
12080         * LyXAction.C: removed all !NEW_INSETS cruft
12081         (init): moved lfun_item in method
12082
12083         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12084
12085 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12086
12087         * BufferView2.C (theLockingInset): white space.
12088
12089 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12090
12091         * minibuffer.C: include <iostream>
12092
12093         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12094
12095         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12096
12097         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12098
12099         * text.[Ch] (TransposeChars): new method
12100
12101 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * call message directly through LyXView instead of through LyXFunc
12104         * BufferView2.C: adjust
12105         * BufferView_pimpl.C: adjust
12106         * FontLoader.C: adjust
12107         * buffer.C: adjust
12108         * bufferview_funcs.C: adjust
12109         * converter.C: adjust
12110         * figureForm.C: adjust
12111         * importer.C: adjust
12112         * lyx_cb.C: adjust
12113         * lyx_gui_misc.C: adjust
12114         * lyxfunc.C: adjust
12115         * lyxvc.C: adjust
12116         * text2.C: adjust
12117         + more files in subdirs
12118
12119         * lyxparagraph.h (size): move up int file
12120         (GetLayout): ditto
12121
12122         * adjust all uses of Assert to lyx::Assert.
12123
12124         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12125         lyxfunctional in namespace lyx
12126         * layout.C (hasLayout): ditto
12127         (GetLayout): ditto
12128         (GetLayout): ditto
12129         (delete_layout): ditto
12130         (NumberOfClass): ditto
12131         * converter.C (GetFormat): ditto
12132         (GetNumber): ditto
12133         (Add): ditto
12134         (Delete): ditto
12135         (SetViewer): ditto
12136         * bufferlist.C (getFileNames): ditto
12137         (emergencyWriteAll): ditto
12138         (exists): ditto
12139         (getBuffer): ditto
12140         * MenuBackend.C (hasSubmenu): ditto
12141         (hasMenu): ditto
12142         (getMenu): ditto
12143         * BufferView_pimpl.C (getInsetByCode): ditto
12144
12145 2001-04-18  Juergen Vigna  <jug@sad.it>
12146
12147         * vspace.C (asLatexString): fixed the 100% problem.
12148
12149 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12150
12151         * lyxfunc.C (Dispatch):
12152         * minibuffer.C:
12153         * minibuffer.h: add a few std:: qualifiers
12154
12155 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12156
12157         * minibuffer.[Ch]: reimplement so that commands is initiated and
12158         run from lyxfunc, simplified som handling, and made the completion
12159         and history code for complete. wip.
12160
12161         * lyxfunc.C (processKeySym): call message
12162         (miniDispatch): new temporary method
12163         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12164         (LFUN_MESSAGE): implement
12165         (LFUN_MESSAGE_PUSH): implement
12166         (LFUN_MESSAGE_POP): implement
12167         (initMiniBuffer): the initial/defualt minibuffer message.
12168
12169         * lyxfont.[Ch]: inline some more getters
12170
12171         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12172
12173         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12174
12175         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12176         (AutoSave): use LFUN_MESSAGE
12177         (Reconfigure): ditto
12178
12179         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12180
12181         * figureForm.C: use LFUN_MESSAGE
12182
12183         * converter.C (runLaTeX): use LFUN_MESSAGE
12184
12185         * bufferview_funcs.C: use LFUN_MESSAGE
12186         (Melt): ditto
12187         (changeDepth): ditto
12188
12189         * bufferparams.h: use boost::
12190
12191         * bufferlist.h: inherit privately from noncopyable
12192
12193         * bufferlist.C (loadLyXFile): remove some commented code.
12194
12195         * buffer.C (runChktex): use LFUN_MESSAGE
12196
12197         * ShareContainer.h: inherit privately from noncopyable
12198
12199         * ParagraphParameters.[hC] (depth): inline it.
12200
12201         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12202         methods.
12203         (message): new method
12204         (messagePush): ditto
12205         (messagePop): ditto
12206         (show): init minibuffer
12207         (showState): direct call
12208
12209         * LaTeX.[Ch]: inherit privately from noncopyable
12210         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12211         instead of WriteStatus.
12212
12213         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12214
12215         * BufferView_pimpl.C (buffer): don't init minibuffer
12216         (workAreaButtonPress): use LFUN_MESSAGE
12217         (workAreaButtonRelease): ditto
12218         (savePosition): ditto
12219         (restorePosition): ditto
12220         (MenuInsertLyXFile): ditto
12221         (workAreaExpose): don't init minibuffer
12222         (update): remove commented code, simplify
12223
12224         * BufferView2.C (openStuff): use LFUN_MESSAGE
12225         (toggleFloat): ditto
12226         (menuUndo): ditto
12227         (menuRedo): ditto
12228         (copyEnvironment): ditto
12229         (pasteEnvironment): ditto
12230         (copy): ditto
12231         (cut): ditto
12232         (paste): ditto
12233         (gotoInset): ditto
12234         (updateInset): remove some commented code
12235
12236         * lastfiles.h: inherit privately from noncopyable
12237         * layout.h: ditto
12238         * lyx_gui.h: ditto
12239         * lyx_main.h: ditto
12240         * lyxlex.h: ditto
12241         * lyxlex_pimpl.h: ditto
12242
12243         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12244         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12245         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12246
12247         * LyXAction.h: inherit privately from noncopyable, add methods
12248         func_begin, func_end, returning iterators to the func map.
12249
12250         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12251         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12252         (func_begin): new method
12253         (func_end): new method
12254
12255         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12256         and not)
12257         (copySelection): ditto
12258         (pasteSelection): ditto
12259
12260         * BufferView.C: whitespace change
12261         * BufferView.h: inherit privately from noncopyable
12262
12263 2001-04-16  Allan Rae  <rae@lyx.org>
12264
12265         * tabular-old.C (l_getline):
12266         * spellchecker.C (sc_check_word):
12267         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12268         an unrecognised preprocessor directive.  So ensure they're wrapped.
12269
12270 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12271
12272         * src/exporter.C (Export): Give an error message when path to file
12273         contains spaces.
12274
12275 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12276
12277         * LaTeX.C (deplog): Always check that foundfile exists.
12278
12279 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12280
12281         * lyx_main.h:
12282         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12283
12284 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12285
12286         * tabular.[Ch] (getLabelList): implement new method
12287
12288         * minibuffer.h: comment ouf setTiimer
12289
12290         * minibuffer.C (ExecutingCB): constify res
12291         (peek_event): constify s
12292         (Set): constify ntext
12293         (Init): constify nicename
12294
12295         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12296
12297         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12298         (savePosition): use two params to Minibuffer::Set
12299         (restorePosition): ditto
12300
12301 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12302
12303         * lyx_main.C: include language.h
12304
12305         * Makefile.am (lyx_main.o): add language.h
12306
12307 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12308
12309         * exporter.C:
12310         * paragraph.C:
12311         * screen.C:
12312         * tabular.C:
12313         * CutAndPaste.C: include gettext.h
12314
12315         * lyxfont.h: remove old hack with ON and OFF.
12316
12317         * lyxparagraph.h:
12318         * lyxfont.h: do not include language.h...
12319
12320         * BufferView2.C:
12321         * LaTeXFeatures.C:
12322         * Painter.C:
12323         * bufferview_funcs.C:
12324         * font.C:
12325         * lyxfont.C:
12326         * text.C:
12327         * text2.C:
12328         * trans_mgr.C:
12329         * paragraph.C: ... but do it here instead
12330
12331 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12332
12333         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12334
12335         * tabular.C: small reformat
12336
12337         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12338         NEW_INSETS version
12339         (GetChar): ditto
12340         (BreakParagraph): ditto
12341         (SetOnlyLayout): ditto
12342         (SetLayout): ditto
12343
12344         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12345         with one arg less.
12346
12347         * lastfiles.C: removed most using decl, add std:: where needed
12348
12349         * buffer.C: ws changes
12350
12351         * MenuBackend.C (class compare_format): put into anon namespace
12352         (expand): constify label, names, action, action2
12353         (expand):
12354
12355         * text.C (SingleWidth): constify font
12356         (IsBoundary): constify rtl2
12357         (GetVisibleRow): constify ww
12358
12359         * LaTeX.C (deplog): constify logfile
12360
12361         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12362         start_x, end_x
12363         (workAreaExpose): constify widthChange, heightChange
12364
12365         * lyxrow.C (par): moved
12366         (height): moved
12367         (next): moved
12368         * lyxrow.h: as inlines here
12369
12370         * lyxfont.h (shape): moved from lyxfont.C
12371         (emph): moved from lyxfont.C
12372
12373         * lyxfont.C (LyXFont): use initialization list for all
12374         constructors
12375         (shape): move to lyxfont.h as inline
12376         (emph): move to lyxfont.h as inline
12377
12378
12379 2001-04-04  Juergen Vigna  <jug@sad.it>
12380
12381         * vspace.C: had to include stdio.h for use of sscanf
12382
12383 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12384
12385         * BufferView.h:
12386         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12387         independent of xforms.
12388
12389 2001-04-02  Juergen Vigna  <jug@sad.it>
12390
12391         * spellchecker.C: fixed namespace placing!
12392
12393 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12394
12395         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12396         the LyXParagraph * is 0.
12397
12398 2001-03-29  Juergen Vigna  <jug@sad.it>
12399
12400         * vspace.C: added support for %, c%, p%, l%.
12401         (stringFromUnit): added helper function.
12402         (asLatexString): changed to give right results for the %-values.
12403
12404         * buffer.C: convert the widthp in a width%.
12405
12406 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12407
12408         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12409         figureForm.[Ch].
12410
12411         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12412         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12413
12414         * lyx_cb.[Ch]: see above.
12415
12416         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12417         form1.[Ch].
12418
12419         * form1.[Ch]:
12420         * lyx.[Ch]: replaced by figure_form.[Ch].
12421
12422         * lyx_gui.C:
12423         * lyx_gui_misc.C:
12424         * lyxfunc.C: changed headers associated with above changes.
12425
12426 2001-03-27  Juergen Vigna  <jug@sad.it>
12427
12428         * BufferView_pimpl.C: set the temporary cursor right!
12429
12430 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12431
12432         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12433
12434 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12435
12436         * LString.h: removed "using std::getline"!
12437
12438         * BufferView_pimpl.C (Dispatch): changes due to changes in
12439         InsetInclude::Params.
12440
12441         * buffer.C (tag_name): removed redundant break statements as they were
12442         producing lots of warnings with my compiler.
12443
12444 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12445
12446         * LString.h: add "using std::getline" when using the real <string>.
12447
12448 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12449
12450         * buffer.C: removed bitset usage.
12451         PAR_TAG moved to an anonymous name space.
12452         (tag_name): new funtion, also in the anonymous namespace.
12453         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12454         (makeDocBookFile): clean code. Completed transition from string arrays
12455         to string vectors.
12456         (SimpleDocBookOnePar): code clean.
12457
12458 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12459
12460         * tabular.C: add some comments.
12461
12462 2001-03-22  Juergen Vigna  <jug@sad.it>
12463
12464         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12465         compatibility read a bit and fixed bug with minipage in different
12466         depth.
12467
12468 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12469
12470         * buffer.C (pop_tag): removed.
12471         (push_tag): removed.
12472         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12473         array replaced with vector. Added support for CDATA sections.
12474         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12475         at any nest level.
12476         (makeDocBookFile): XML conformant declaration of CDATA section,
12477         fixed bug related to <emphasis> in the first paragraph char.
12478         (sgmlOpenTag): exclude empty tags.
12479         (sgmlCloseTag): ditto.
12480
12481         * buffer.h (pop_tag): removed.
12482         (push_tag): removed.
12483
12484 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12485
12486         * language.h (Languages): added size_type and size().
12487
12488 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12489
12490         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12491         response on compability reading of minipages. One probliem is that
12492         the old usage of minipages was «flertydig»
12493
12494         * several files here and in subdirs: don't use static at file
12495         scope use anon namespaces instead.
12496
12497 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12498
12499         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12500         LaTeX output. This is necessary for Literate document
12501         processing.
12502
12503 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12504
12505         * buffer.C: insert hfill when needed.
12506
12507         * tabular.C (l_getline): use string::erase, small whitespace change.
12508
12509         * BufferView_pimpl.C: try the anon namespace.
12510         * WorkArea.C: ditto
12511
12512 2001-03-16  Juergen Vigna  <jug@sad.it>
12513
12514         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12515         otherwise it won't open options-dialogs.
12516
12517         * buffer.C: honor pextraWidth(p) on converting minipages.
12518
12519         * tabular.C (l_getline): changed the functions to strip trailing \r.
12520
12521 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12522
12523         * BufferView_pimpl.C:
12524         * minibuffer..C: added "using SigC::slot" declaration.
12525
12526 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12527
12528         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12529
12530         * text2.C: ditto
12531
12532         * text.C: ditto
12533
12534         * paragraph.C: ditto
12535
12536         * lyxtext.h: NO_PEXTRA
12537
12538         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12539
12540         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12541         * ParameterStruct.h: ditto
12542         * ParagraphParameters.h: ditto
12543         * lyxparagraph.h: ditto
12544
12545 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12546
12547         * buffer.C: add compability for minipage alignment.
12548         (latexParagraphs): remove unwanted pextra check.
12549
12550         * several files: remove CXX_WORKING_NAMESPACES
12551
12552         * buffer.C (pop_tag): tie is in namespace boost
12553
12554         * BufferView.h: noncopyable is in namespace boost
12555         * lyxlex.h: ditto
12556         * lyx_main.h: ditto
12557         * lyx_gui.h: ditto
12558         * layout.h: ditto
12559         * lastfiles.h: ditto
12560         * bufferlist.h: ditto
12561         * ShareContainer.h: ditto
12562         * LyXView.h: ditto
12563         * LyXAction.h: ditto
12564         * LaTeX.h: ditto
12565
12566 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12567
12568         * Merging changes from BRANCH_MVC back into HEAD.
12569
12570         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12571
12572 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12573
12574         * BufferView_pimpl.C: change from intl.C
12575
12576         * combox.h:
12577         * combox.C:
12578         * Makefile.am: move combox.*
12579
12580         * form1.h:
12581         * form1.C:
12582         * lyx_gui.C:
12583         * intl.h:
12584         * intl.C: remove dialog (covered by prefs)
12585
12586 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12587
12588         * lyxfunc.C (Dispatch): removed redundant break statement.
12589
12590 2001-03-14  Juergen Vigna  <jug@sad.it>
12591
12592         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12593
12594 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12595
12596         * buffer.C: add hack to fix compability reading of minipages.
12597
12598 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12599
12600         * buffer.C (getLists): Cleanup.
12601
12602 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12603
12604         * lyxfont.C (update): don't honor toggleall on font size.
12605
12606 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12607
12608         * bmtable.c:
12609         * bmtable.h:
12610         * Makefile.am: moved to frontends/xforms/
12611
12612         * lyx_gui_misc.C:
12613         * lyxfunc.C:
12614         * BufferView_pimpl.C: changes for moved mathpanel
12615
12616 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12617
12618         * gettext.h: fix gettext_init() in --disable-nls
12619
12620 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12621
12622         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12623
12624 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12625
12626         * lyx.C:
12627         * lyx.h: strip external form
12628
12629 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12630
12631         * BufferView_pimpl.C: add comment, destroySplash()
12632
12633 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12634
12635         * BufferView_pimpl.C:
12636         * LyXAction.C:
12637         * buffer.C:
12638         * commandtags.h:
12639         * lyxfunc.C: use re-worked insetinclude
12640
12641 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12642
12643         * buffer.C: add using std::stringstream.
12644
12645         * lyx_cb.C: readd using std::ios.
12646
12647         * buffer.C: add using std::map.
12648
12649         * BufferView_pimpl.C: add using std::vector.
12650
12651         * ShareContainer.h: add std:: to swap.
12652
12653         * buffer.h: add some typedefs
12654         * buffer.C (getLists): use them
12655         (getLists): renamed from getTocList.
12656         add a counter for the different float types and use it in the
12657         generated string.
12658         (getLists): use the same counter for the NEW_INSETS and the "non"
12659         NEW_INSETS
12660
12661         * lyx_cb.h: remove unused items, includes, using etc.
12662
12663         * ShareContainer.h: remove some commented code, add more comments
12664         and "documentation".
12665
12666 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12667
12668         * buffer.C (getTocList): make the list also when NEW_INSETS is
12669         defined.
12670
12671         * buffer.h: remove TocType
12672
12673         * buffer.C (getTocList): change to return a map<string,
12674         vector<TocItem> >, implement for dynamic number of list.
12675
12676         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12677         * text2.C (PasteSelection): adjust
12678         * CutAndPaste.C (pasteSelection): adjust
12679
12680         * FloatList.C (FloatList): update from the new_insets branch.
12681         * Floating.[Ch]: ditto
12682         * LaTeXFeatures.C: ditto
12683         * buffer.C: ditto
12684         * lyxlex_pimpl.C: ditto
12685
12686         * paragraph.C (Last): remove when NEW_INSETS is defined.
12687
12688         * other file: changes because of the above.
12689
12690 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12691
12692         * lyxparagraph.h: rename next to next_, previous to previous_,
12693         make them private for NEW_INSETS. Rename Next() to next(),
12694         Previous() to previous().
12695
12696         * other files: changes because of the above.
12697
12698 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12699
12700         * BufferView.h:
12701         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12702         problem.
12703
12704 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12705
12706         * main.C (main): pass lyx_localedir to gettext_init().
12707
12708         * gettext.h: remove locale_init and gettext_init macros
12709
12710         * gettext.C (locale_init): new function
12711         (gettext_init): new function
12712
12713         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12714         setlocale().
12715
12716 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12717
12718         * Moved credits to frontends:
12719         * credits.[Ch]: removed
12720         * credits_form.[Ch]: removed
12721         * lyx_gui_misc.C: remove credits stuff
12722         * Makefile.am:
12723
12724 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12725
12726         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12727
12728         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12729         unneeded destructor.
12730
12731         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12732         a standalone pointer again.
12733
12734         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12735
12736 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * Makefile.am:
12739         * filedlg.h:
12740         * filedlg.C:
12741         * LyXAction.C:
12742         * ToolbarDefaults.C:
12743         * bufferlist.C:
12744         * commandtags.h:
12745         * form1.C:
12746         * form1.h:
12747         * lyx_cb.C:
12748         * lyx_cb.h:
12749         * lyxfunc.h:
12750         * lyxfunc.C:
12751         * BufferView_pimpl.C: use new file dialog in GUII
12752
12753         * lyx_cb.h:
12754         * lyx_cb.C: remove LayoutsCB to Toolbar
12755
12756 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12757
12758         * ShareContainer.h (get): add std:: qualifier
12759
12760 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12761
12762         * ShareContainer.h: define a proper ShareContainer::value_type
12763         type (and use typename to please compaq cxx)
12764
12765 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12766
12767         * lyxparagraph.h: move serveral local vars to
12768         ParameterStruct/ParagraphParameters., use ShareContainer in
12769         FontTable., make vars in FontTable private and add getter and
12770         setter.
12771
12772         * paragraph.C: changes because of the above.
12773
12774         * lyxfont.h: remove copy constructor and copy assignment. (the
12775         default ones is ok), move number inside FontBits. move inlines to
12776         lyxfont.C
12777
12778         * lyxfont.C: add number to initializaton of statics, move several
12779         inlines here. constify several local vars. some whitespace
12780         cleanup. Dont hide outerscope variables.
12781
12782         * Spacing.h: add two new constructors to match the set methods.
12783
12784         * ShareContainer.h: new file, will perhaps be moved to support
12785
12786         * ParameterStruct.h: new file
12787
12788         * ParagraphParameters.h: new file
12789
12790         * ParagraphParameters.C: new file
12791
12792         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12793         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12794
12795         * BufferView_pimpl.C: ParagraphParameter changes.
12796         * buffer.C: Likewise.
12797         * bufferview_funcs.C: Likewise.
12798         * text.C: Likewise.
12799         * text2.C: Likewise.
12800
12801 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12802
12803         * lyxfind.C (LyXReplace): do not redefine default argument in
12804         implementation.
12805         (IsStringInText): ditto
12806         (SearchForward): ditto
12807         (SearchBackward): ditto
12808
12809 2001-03-06  Juergen Vigna  <jug@sad.it>
12810
12811         * lyxfind.C (IsStringInText): put parentes around expressions.
12812
12813 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12814
12815         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12816
12817 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12818
12819         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12820
12821         * stl_string_fwd.h: add comment
12822
12823         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12824
12825         * tabular.h:
12826         * tabular.C: remove unused DocBook methods
12827
12828         * intl.C:
12829         * language.C:
12830         * paragraph.C:
12831         * buffer.C:
12832         killed DO_USE_DEFAULT_LANGUAGE
12833
12834 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12835
12836         * lyx_gui.C: do not include language.h.
12837
12838         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12839         arguments in function implementation.
12840
12841 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12842
12843         * BufferView_pimpl.C: add <ctime>
12844
12845 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12846
12847         * BufferView_pimpl.C: add using std::find_if
12848
12849 2001-02-27  José Matos  <jamatos@fep.up.pt>
12850
12851         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12852         by OnlyPath.
12853
12854 2001-02-11  José Matos  <jamatos@fep.up.pt>
12855
12856         * buffer.C (makeDocBookFile): command styles now have a parameter as
12857         "title" by default.
12858
12859 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12860
12861         * layout_forms.[Ch]: removed
12862         * lyx_cb.[Ch]: out character
12863         * lyx_gui.C: out character
12864         * lyx_gui_misc.C: out character
12865         * bufferview_funcs.C: : out character,
12866         added toggleall as parameter in ToggleAndShow
12867
12868 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12869
12870         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12871
12872         * text2.C (SetCurrentFont): Disable number property at boundary.
12873
12874 2001-02-26  Juergen Vigna  <jug@sad.it>
12875
12876         * lyxfunc.C (getStatus): added a string argument override function so
12877         that this is correctly called from LyXFunc::Dispatch if it contains a
12878         do_not_use_argument which is used!
12879         (Dispatch): added check for "custom" export and call appropriate func.
12880
12881 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12882
12883         * lyxrc.C: Add language_command_local, language_use_babel and
12884         language_global_options.
12885
12886         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12887
12888         * buffer.C (makeLaTeXFile): Use language_use_babel and
12889         language_global_options.
12890
12891 2001-02-23  Juergen Vigna  <jug@sad.it>
12892
12893         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12894         which works with LyXText and putted it inside BufferView. Here now we
12895         only call for that part the BufferView::Dispatch() function.
12896
12897         * BufferView.C (Dispatch): added.
12898
12899         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12900         functions which needs to use a LyXText over from LyXFunc.
12901         (MenuInsertLyXFile): added
12902         (getInsetByCode): added
12903         (moveCursorUpdate): added
12904         (static TEXT): added
12905
12906 2001-02-22  Juergen Vigna  <jug@sad.it>
12907
12908         * BufferView_pimpl.C (update): call a status update to see if LyXText
12909         needs it.
12910
12911 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12912
12913         * vc-backend.C (revert): implement for CVS
12914         (getLog): implement for CVS
12915
12916 2001-02-20  Juergen Vigna  <jug@sad.it>
12917
12918         * text2.C (ClearSelection): added BufferView param for inset_owner call
12919
12920         * lyxfunc.C (TEXT): added this function and use it instead of
12921         directly owner->view()-text of getLyXText().
12922
12923 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12924
12925         * src/layout_forms.C: out preamble
12926         * src/layout_forms.h: out preamble
12927         * src/lyx_cb.C: out preamble
12928         * src/lyx_cb.h: out preamble
12929         * src/lyx_gui.C: out preamble
12930         * src/lyx_gui_misc.C: out preamble
12931         * src/lyxfunc.C: connect with guii preamble
12932
12933 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12934
12935         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12936
12937 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12938
12939         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12940         whether to run bibtex.
12941
12942 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12943
12944         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12945
12946 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12947
12948         * Makefile.am (lyx_SOURCES): removed bibforms.h
12949
12950         * vspace.h: doxygen
12951
12952         * text.C (GetVisibleRow): make several local vars const
12953
12954         * tabular.C: small cleanup.
12955
12956         * lyxserver.C (callback): use compare instead of strncmp
12957
12958         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12959         inlines to after class or to paragraph.C
12960
12961         * lyxfont.h: remove friend operator!=
12962
12963         * converter.h: move friend bool operator< to non friend and after
12964         class def.
12965
12966         * combox.h: small cleanup
12967
12968         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12969         to inlines after class def.
12970
12971         * buffer.C (pop_tag): use string operations instead of strcmp
12972
12973         * bmtable.c: doxygen, small cleanup
12974
12975         * LaTeX.h: remove friend operator==
12976
12977 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12978
12979         * screen.C:
12980         * lyxrc.[Ch]:
12981         * lyxfunc.C:
12982         * lyxfont.[Ch]:
12983         * lyx_cb.C:
12984         * intl.[Ch]:
12985         * commandtags.h:
12986         * buffer.C:
12987         * WorkArea.[Ch]:
12988         * LyXAction.C:
12989         * BufferView_pimpl.C:
12990         * BufferView.[Ch]: remove cruft
12991
12992 2001-02-14  Juergen Vigna  <jug@sad.it>
12993
12994         * lyxfunc.C: removed #if 0 unused code
12995
12996         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12997
12998         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12999
13000         * text2.C (SetSelection): added a BufferView * parameter
13001
13002 2001-02-13  Juergen Vigna  <jug@sad.it>
13003
13004         * lyxfunc.C (Dispatch): fixed protected blank problem.
13005         * BufferView2.C (protectedBlank): added LyxText * parameter.
13006
13007         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13008         (AppendColumn): same as above for column_info.
13009
13010         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13011         (moveCursorUpdate): use a LyXText param for support of InsetText.
13012
13013         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13014         (tripleClick): ditto
13015
13016         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13017
13018         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13019
13020         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13021
13022         * text2.C (SetSelection): set correct update status if inset_owner
13023         (ToggleFree): ditto
13024
13025 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13026
13027         * tabular.C: remove some commented code.
13028
13029 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13030
13031         * BufferView_pimpl.C: call hideSplash()
13032
13033         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13034
13035         * include_form.h:
13036         * bibforms.h: remove
13037
13038         * lyxfunc.C:
13039         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13040           add LFUN_CHILD_CREATE
13041
13042         * counters.h: fix tiny typo
13043
13044         * lyx_cb.C:
13045         * lyx.h:
13046         * lyx_gui.C:
13047         * lyx.C: move splash to frontends/xforms/
13048
13049         * lyx_gui_misc.C: move Include and Bibform to frontends
13050
13051         * lyxvc.h: clarify comment
13052
13053         * vspace.C: tiny housekeeping
13054
13055 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13056
13057         * text.C (PrepareToPrint): RTL Fix.
13058
13059         * paragraph.C (GetUChar): New method.
13060         (String):  Use GetUChar.
13061
13062         * buffer.C (asciiParagraph): Use GetUChar.
13063
13064 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13065
13066         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13067
13068 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13069
13070         * buffer.h:
13071         * buffer.C: rename to getLogName(), handle
13072           build log / latex log nicely
13073
13074 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13075
13076         * MenuBackend.C:
13077         * MenuBackend.h: remove support for reference menuitem type.
13078
13079 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13080
13081         * BufferView_pimpl.C: housekeeping
13082         * BufferView_pimpl.h:
13083         * LyXView.h:
13084         * Makefile.am:
13085         * Timeout.C:
13086         * Timeout.h:
13087         * minibuffer.h: move Timeout GUI-I
13088
13089 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13090
13091         * lyxrc.C (read): Update converters data-structures.
13092
13093 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13094
13095         * LaTeX.h (operator!=): add operator != for Aux_Info
13096
13097 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13098
13099         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13100
13101         * LaTeXLog.C: deleted, useful code moved to Buffer
13102
13103         * buffer.h:
13104         * buffer.C: new function getLatexLogName()
13105
13106         * lyx_gui_misc.C:
13107         * lyx_gui.C:
13108         * lyxvc.C:
13109         * lyxvc.h:
13110         * lyxfunc.C: use frontends for LaTeX and VC logs
13111
13112 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13113
13114         * LaTeX.h: yet another std:: that Allan forgot.
13115
13116         * Variables.C (set): renamed from isset(), because this clashes
13117         with some HP-UX macros (grr).
13118
13119 2001-02-06  Allan Rae  <rae@lyx.org>
13120
13121         * LaTeX.h: Another bug fix.  Missing std:: this time.
13122
13123 2001-02-04  Allan Rae  <rae@lyx.org>
13124
13125         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13126         floats problem. I've left it commented out because it's not quite
13127         correct.  It should also test that the current object is a table or
13128         figure inset.  But I haven't gotten around to figuring out how to do
13129         that.  I *think* it'll be something like: "table" == inset.type()
13130
13131         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13132         bool.
13133
13134 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13135
13136         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13137         all the citation/databases/styles in the auxilary file.
13138         (run): Rerun latex if there was a babel language error.
13139
13140 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13141
13142         * text.C (Backspace): Preserve the font when changing newline char
13143         with a space.
13144         (BreakParagraph): If the cursor is before a space, delete the space.
13145
13146         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13147
13148 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13149
13150         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13151         new argument (code).
13152         (ChangeCitationsIfUnique): New method.
13153
13154         * paragraph.C (GetPositionOfInset): Handle bibkey.
13155
13156 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13157
13158         * BufferView_pimpl.h: change type of Position::par_pos to
13159         LyXParagraph::size_type.
13160
13161 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13162
13163         * BufferView_pimpl.C (savePosition, restorePosition): Write
13164         messages to minibuffer.
13165
13166 2001-01-28  José Matos  <jamatos@fep.up.pt>
13167
13168         * buffer.C (makeDocBookFile): adds support for document language.
13169         A silly restriction on the name of LatexCommand types where removed.
13170         Added support for CDATA sections, allows to chars unescaped, used
13171         among others in code, to avoid escape < and >.
13172
13173 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13174
13175         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13176         saved positions instrad of a stack. Furthermore, a position is
13177         stored using paragraph id/paragraph position.
13178
13179         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13180         Remove LFUN_REF_BACK.
13181
13182 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13183
13184         * converter.C (dvipdfm_options): New method.
13185
13186 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13187
13188         * vspace.C (isValidLength): Fix for empty input string.
13189
13190 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13191
13192         * LyXAction.C (init): change description of LFUN_FIGURE to
13193         "Insert Graphics"
13194
13195 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13196
13197         * LaTeX.C: add using directive
13198
13199 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13200
13201         * MenuBackend.C (expand): Fix the sorting of the formats.
13202
13203 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13204
13205         * lyx_main.C: tiny error message fix
13206
13207 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13208
13209         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13210         calling fl_initialize(). This fixes the problem with ',' as
13211         decimal separator in text files.
13212
13213 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13214
13215         * trans.C (process): Fix the keymap bug.
13216
13217 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13218
13219         * LaTeX.C (scanAuxFiles): New method. Provides support for
13220         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13221         (scanLogFile) Scan for "run BibTeX" messages.
13222
13223         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13224         OT1 font encoding. Also, load the aecompl package if the ae
13225         package is loaded.
13226
13227         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13228
13229 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13230
13231         * texrow.C (increasePos): turn two error messages into debug
13232         messages.
13233
13234 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13235
13236         * LaTeX.C (scanAux): Handle the \@input macro.
13237         (runBibTeX): Use scanAux().
13238
13239         * language.C (latex_options_): New field.
13240
13241         * LaTeXFeatures.C (getMacros): Add language macros.
13242
13243         * buffer.C (makeLaTeXFile): Small fix.
13244
13245 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13246
13247         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13248
13249         * text2.C: add a using directive.
13250
13251 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13252
13253         * BufferView2.C:
13254         * lyx_gui_misc.h:
13255         * lyxfr1.C:
13256         * lyxfunc.C: kill LyXBell.
13257
13258 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13259
13260         * text.C (IsBoundary): Remove the error message
13261
13262         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13263
13264         * lyxrc.C (setDefaults): Correct initialization value for
13265         font_norm_type.
13266
13267 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13268
13269         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13270         gotoError().
13271
13272         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13273         and GotoNextNote().
13274
13275         * src/LyXAction.C: Added reference-next.
13276
13277         * text.C (InsertChar): Use contains instead of strchr.
13278
13279         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13280
13281 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13282
13283         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13284         alignment commands (when needed).
13285
13286         * text.C (InsertChar): Add ':' to number separator chars.