]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
f7f6e49167ca331e6812f6c5ae09038eebb2b78a
[lyx.git] / src / ChangeLog
1 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2
3         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
4
5         * Makefile.am: add lyxsocket.[Ch].
6
7         * lyx_main.C (error_handler): handle SIGPIPE.
8
9 2003-10-13  André Pönitz  <poenitz@gmx.net>
10
11         * BufferView_pimpl.C:
12         * lyxtext.h:
13         * text.C:
14         * text2.C:
15         * text3.C:
16         * undo_funcs.[Ch]: use paroffset_type instead of
17           ParagraphList::iterators to prevent multiple conversion
18           (and get a more robust interface)
19
20 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
21
22         * lyxfunc.C (dispatch): RESULT -> dispatch_result
23         * lyxtext.h: ditto
24         * text3.C (dispatch): ditto
25
26 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
27
28         * LaTeX.C (handleFoundFile): move the static to smaller scope,
29         move the onlyfile, use onlyfile instead of foundfile in a couple
30         of places.
31
32         * DepTable.C (update): flush the error stream a bit more
33
34 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
35
36         * lyxserver.C (callback): adjust
37
38         * lyxfunc.C (getStatus): add a missing brace in commented code
39         (ensureBufferClean): reindent
40         (dispatch): delete version taking a string
41
42 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
43
44         * LaTeX.C (deplog): move found file handlig from here...
45         (handleFoundFile): .. to new function here.
46         (deplog): make sure to discover several files mentioned on the
47         same log line.
48
49 2003-10-10  André Pönitz  <poenitz@gmx.net>
50
51         * lyxfunc.C:
52         * lyxtext.h:
53         * tabular.C:
54         * text.C:
55         * text2.C:
56         * text3.C: fix some of the tabular crashes
57
58 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
59
60         * MenuBackend.C (binding): put debug message into Debug::KBMAP
61
62         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
63
64 2003-10-09  André Pönitz  <poenitz@gmx.net>
65
66         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
67
68         * BufferView.C:
69         * BufferView_pimpl.C:
70         * bufferview_funcs.C:
71         * lyx_cb.C:
72         * lyxcursor.C:
73         * lyxfind.C:
74         * lyxfunc.C:
75         * lyxtext.h:
76         * text.C:
77         * text2.C:
78         * text3.C:
79         * text_funcs.[Ch]:
80         * textcursor.[Ch]:
81         * undo_funcs.C: adjust
82
83 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
84
85         * text2.C (incrementItemDepth): new function, use a backtracking
86         algorithm to discover the correct item depth.
87         (resetEnumCounterIfNeeded): new function, use a backtracking
88         algorithm to discover if counter reset is needed.
89         (setCounter): use them. Simplify a bit. Add different labels for
90         different item depths for itemize.
91
92         * paragraph.C (Paragraph): remove initialization of enumdepth
93         (operator=): ditto
94
95         * paragraph.h: get rid of enumdepth, and use itemdepth both for
96         enumerate and itemize. Change the type of itemdepth to signed char.
97
98 2003-10-08  André Pönitz  <poenitz@gmx.net>
99
100         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
101           thing assignable.
102         * text.C:
103         * text2.C: adjust
104
105         * tabular.[Ch]: fix crash after 'row-insert'
106
107 2003-10-08  Angus Leeming  <leeming@lyx.org>
108
109         Fix doxygen warnings.
110
111         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
112         Remove CutAndPaste:: prefix from header file declaration.
113
114         * LColor.h (fill): remove LColor:: prefix from declaration.
115
116         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
117         use lyx::depth_type rather than Paragraph::depth_type so that
118         header file and .C file match.
119
120         * converter.h (intToFormat): remove Converters:: prefix from declaration.
121
122         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
123         * aspell.C: \file aspell_local.C -> \file aspell.C
124         * gettext.C: \file gettext.C -> \file src/gettext.C
125         * gettext.h: \file gettext.h -> \file src/gettext.h
126         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
127         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
128         * text.C: \file text.C -> \file src/text.C
129
130         * toc.C: move comment so that doxygen is not confused.
131
132 2003-10-07  Angus Leeming  <leeming@lyx.org>
133
134         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
135
136 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
137
138         * aspell.C:
139         * aspell_local.h: add forgotten std::string's.
140
141 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
142
143         * LaTeXFeatures.C:
144         * LyXAction.C:
145         * factory.C:
146         * lfuns.h:
147         * lyxfunc.C:
148         * text3.C: The Box patch. Fancybox support, minipage, parbox
149
150 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
151
152         * CutAndPaste.h:
153         * DepTable.h:
154         * FloatList.h:
155         * LaTeXFeatures.h:
156         * ParagraphParameters.h:
157         * TextCache.h:
158         * Thesaurus.h:
159         * bufferlist.h:
160         * exporter.h:
161         * importer.h:
162         * lastfiles.h:
163         * lyxfind.h:
164         * lyxfont.h:
165         * lyxlex.h:
166         * lyxtextclasslist.h:
167         * messages.h:
168         * paragraph.h:
169         * paragraph_pimpl.C:
170         * textcursor.h: add <string> and other small fixes to make Lars'
171         std::string patch compile with STLport.
172
173 2003-10-06  Angus Leeming  <leeming@lyx.org>
174
175         * LColor.h: Add missing #include <string>.
176
177 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
178
179         * All most all file in all subdirs: Make <string> be the prefered
180         way of getting to std::string, add using declarations.
181
182 2003-10-06  André Pönitz  <poenitz@gmx.net>
183
184         * metricsinfo.C: initialize LyXFont before changing attribute.
185         (fixes the 'math in \emph is upright' bug)
186
187 2003-10-06  André Pönitz  <poenitz@gmx.net>
188
189         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
190
191 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
192
193         * graph.C:
194         * paragraph_pimpl.C: Small fixes to build using STLport
195
196 2003-10-02  André Pönitz  <poenitz@gmx.net>
197
198         * lyxfunc.C:
199         * text3.C: move handling of LFUN_DEPTH *; fix #1360
200
201 2003-10-01  André Pönitz  <poenitz@gmx.net>
202
203         * factory.C: assert early
204
205 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
206
207         * lyx_main.C: remove the global debug object
208
209         * debug.h: adjust for new debugstream
210
211         * debug.C: adjust for new debugstream and keep the global debug
212         object here.
213
214 2003-09-22  Angus Leeming  <leeming@lyx.org>
215
216         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
217         of g++ which otherwise complain that the scoped_ptr destructor can't delete
218         an incomplete class LyXFont.
219
220 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
221
222         * factory.C: bug fix in branches
223
224 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
225
226         * lyxfunc.C (processKeySym): adjust
227         (dispatch): adjust
228         (dispatch): change arg name from ev to func, adjust
229         (sendDispatchMessage): ditto
230
231         * lyx_main.C (defaultKeyBindings): adjust keybindings
232         (deadKeyBindings): ditto
233
234         * kbsequence.C (addkey): return a FuncRequest
235
236         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
237
238         * kbmap.C (bind): take a FuncRequest as arg, adjust
239         (read): adjust
240         (lookup): adjust
241         (defkey): change to take a FuncRequest as arg, adjust
242         (findbinding): take a FuncRequest as arg, adjust.
243
244         * funcrequest.h (operator=): added
245
246         * funcrequest.C (FuncRequest): default kb_action changed from
247         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
248
249         * buffer.C (dispatch): simplify
250         (dispatch): adjust to take a FuncRequest as arg, adjust
251
252         * boost.C (assertion_failed): change assertion message slightly
253
254         * ToolbarBackend.C (read): simplify
255
256         * MenuBackend.C (binding): adjust call to findbinding, add a
257         message if no binding is found.
258         (read): simplify
259         (expandToc): correct by adding a empty FuncRequest
260
261         * LyXAction.C: include <boost/assert.hpp>
262         (isPseudoAction): delete function
263         (LookupFunc): change name to...
264         (lookupFunc): this. change return type to FuncRequest.
265         (getActionName): take kb_action as arg, simplify
266         (funcHasFlag): add an assert, simplify.
267
268 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
269
270         * toc.C (action): return a FuncRequest, simplify
271
272         * lyxfunc.C (processKeySym): adjust
273         (getStatus): delete version that takes an int.
274         (getStatus): adjust
275         (dispatch): delete version that takes action as int
276         (dispatch): adjust
277         (sendDispatchMessage): simplify and adjust
278
279         * funcrequest.C (getArg): take unsigned int as arg
280
281         * ToolbarBackend.C (read): adjust
282         (add): delete version that takes func as a string.
283         (getIton): take a FuncRequest as arg
284
285         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
286         action.
287
288         * MenuBackend.C (MenuItem): add a new construct that only takes a
289         Kind, simplify the constructor use for submenus.
290         (add): adjust
291         (expandLastfiles): adjust
292         (expandDocuments): adjust
293         (expandFormats): adjust
294         (expandFloatListInsert): adjust
295         (expandFloatInsert): adjust
296         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
297
298         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
299         Remove class variables lyx_pseudo_map and lyx_arg_map
300
301         * LyXAction.C (searchActionArg): delete function
302         (getPseudoAction): delete function
303         (retrieveActionArg): delete function
304         (LookupFunc): make it return kb_action, simplify.
305         (getActionName): simplify
306
307         * factory.C (createInset): fix new bug
308
309 2003-09-19  Angus Leeming  <leeming@lyx.org>
310
311         * CutAndPaste.C (pasteSelection): remove fudge used to set the
312         masterFilename_ parameter in the include inset.
313
314         * factory.C (createInset): changes due to the changes to InsetInclude.
315
316 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
317
318         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
319
320 2003-09-18  Angus Leeming  <leeming@lyx.org>
321
322         * buffer.C:
323         * BufferView.C: pass the buffer when calling Inset::getLabelList,
324         Inset::fillWithBibKeys.
325         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
326
327 2003-09-18  Angus Leeming  <leeming@lyx.org>
328
329         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
330         variables.
331         (ctor): pass and store a 'Buffer const &'
332         (buffer): new member function.
333
334         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
335         '*this' to the LaTeXFeatures ctor.
336
337 2003-09-18  Angus Leeming  <leeming@lyx.org>
338
339         * LColor.h:
340         * lyxfont.C:
341         * lyxfont.h:
342         * lyxtext.h:
343         * text.C: rename EnumLColor as LColor_color.
344
345 2003-09-18  Angus Leeming  <leeming@lyx.org>
346
347         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
348         remove #include "insets/insetbase.h" from cursor.h.
349
350 2003-09-18  Angus Leeming  <leeming@lyx.org>
351
352         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
353         InsetOld_code to remove #include "inset.h".
354
355         * iterators.C: add #include "insets/inset.h"
356
357 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
358
359         * BufferView.C: remove more locking stuff that apparently doesn't
360         do anything sensible.
361
362 2003-09-16  André Pönitz  <poenitz@gmx.net>
363
364         * paragraph.[Ch]:
365         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
366           performance boost.
367
368 2003-09-16  Angus Leeming  <leeming@lyx.org>
369
370         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
371
372         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
373         arg/return type.
374
375         * paragraph.h: remove #include "lyxfont.h". Forward declare
376         LyXFont_size.
377
378 2003-09-16  Angus Leeming  <leeming@lyx.org>
379
380         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
381         of support/textutils.h.
382         (isWord): move the contents of support/textutils.h's IsWordChar here.
383
384         * buffer.C:
385         * lyxfind.C:
386         * rowpainter.C:
387         * text.C:
388         * text2.C: add #include "paragraph.h".
389
390         * rowpainter.C:
391         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
392
393 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
394
395         * main.C:
396         * lyx_main.C:
397         * lyx_cb.C:
398         * buffer.C:
399         * LaTeX.C: use namespace alias for lyx::support::os
400
401 2003-09-16  Angus Leeming  <leeming@lyx.org>
402
403         * bufferparams.C:
404         * bufferview_funcs.C:
405         * factory.C:
406         * lyxfunc.C:
407         * paragraph_pimpl.C:
408         * rowpainter.C:
409         * text.C: add #include "LColor.h".
410
411 2003-09-16  Angus Leeming  <leeming@lyx.org>
412
413         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
414         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
415         return LyXFont &.
416         Store the FontBits::color variable as an int rather than as an
417         LColor::colorso that we can move LColor.h out of the lyxfont.h header
418         file.
419
420         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
421         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
422         string calls together.
423
424         * lyxrc.C: add #include "LColor.h".
425
426 2003-09-15  Angus Leeming  <leeming@lyx.org>
427
428         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
429         a cow_ptr.
430
431 2003-09-15  Angus Leeming  <leeming@lyx.org>
432
433         * LColor.h: add an EnumLColor wrapper for LColor::color.
434
435         * lyxfont.[Ch] (color, setColor, realColor):
436         * lyxtext.h, text.C (backgroundColor):
437         pass EnumLColor args to/from the functions, rather than LColor::color
438         ones.
439
440         * lyxfont.h:
441         * lyxtext.h: forward declare EnumLColor.
442
443         * lyx_main.C: add #include "LColor.h".
444
445 2003-09-15  Angus Leeming  <leeming@lyx.org>
446
447         * .cvsignore: add lyx-gtk.
448
449 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
450
451         * Chktex.C
452         * LaTeX.C
453         * LaTeXFeatures.C
454         * ParagraphParameters.C
455         * Spacing.C
456         * buffer.C
457         * bufferparams.C
458         * bufferview_funcs.C
459         * chset.C
460         * counters.C
461         * funcrequest.C
462         * lyxfont.C
463         * lyxgluelength.C
464         * lyxlength.C
465         * paragraph.C
466         * paragraph_funcs.C
467         * text3.C
468         * vc-backend.C: remove usage of STRCONV
469
470 2003-09-15  Angus Leeming  <leeming@lyx.org>
471
472         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
473         explicitly define the color passed to the painter.
474
475 2003-09-15  Angus Leeming  <leeming@lyx.org>
476
477         * bufferparams.C (BufferParams): reorder member initializers to avoid
478         compiler warning.
479
480 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
481
482         * CutAndPaste.C (pasteSelection): remove an outdated #warning
483         * text.C (updateRowPositions): remove an unusual nop
484
485 2003-09-12  André Pönitz  <poenitz@gmx.net>
486
487         * BufferView_pimpl.C:
488         * Bullet.C:
489         * layout.h:
490         * lyxfunc.C:
491         * lyxlayout.[Ch]:
492         * lyxtextclass.C:
493         * rowpainter.C:
494         * text.C:
495         * text2.C:
496         * Counters.[Ch]: finish the 'automatic counters' job
497
498 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
499
500         * aspell.C: include <boost/assert.cpp> (compile fix)
501
502 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
503
504         * boost.C (assertion_failed): use lyx::support::abort instead of
505         assert.
506
507 2003-09-10  Angus Leeming  <leeming@lyx.org>
508
509         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
510         with their _fwd progeny.
511
512 2003-09-09  Angus Leeming  <leeming@lyx.org>
513
514         134 files throughtout the source tree: replace 'using namespace abc;'
515         directives with the appropriate 'using abc::xyz;' declarations.
516
517 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
518
519         * boost.C (emergencyCleanup): moved here from LAssert.c
520         (assertion_failed): new function, called by BOOST_ASSERT
521
522         * several files: change Assert to BOOST_ASSERT
523
524 2003-09-09  Angus Leeming  <leeming@lyx.org>
525
526         * buffer.[Ch]: Add an Impl class and move Buffer's member
527         variables into it. As a result move several header files out of
528         buffer.h.
529
530         Add header files to lots of .C files all over the tree as a result.
531
532 2003-09-09  Angus Leeming  <leeming@lyx.org>
533
534         * buffer.[Ch]: make Buffer's member variables private. Add
535         accessor functions.
536
537         Lots of changes all over the tree as a result.
538
539 2003-09-08  Angus Leeming  <leeming@lyx.org>
540
541         * graph.C: #include <config.h>.
542
543 2003-09-08  Angus Leeming  <leeming@lyx.org>
544
545         * BranchList.C:
546         * BufferView.C:
547         * BufferView_pimpl.C:
548         * CutAndPaste.C:
549         * DepTable.C:
550         * LaTeX.C:
551         * LaTeXFeatures.C:
552         * LyXAction.C:
553         * MenuBackend.C:
554         * TextCache.C:
555         * aspell.C:
556         * buffer.C:
557         * bufferlist.C:
558         * changes.C:
559         * chset.C:
560         * converter.C:
561         * counters.C:
562         * debug.C:
563         * graph.C:
564         * ispell.C:
565         * lyx_cb.C:
566         * lyxfind.C:
567         * lyxfunc.C:
568         * lyxlex_pimpl.C:
569         * lyxrc.C:
570         * lyxrow.C:
571         * paragraph.C:
572         * rowpainter.C:
573         * texrow.C:
574         * text.C:
575         * text2.C:
576         * toc.C: remove redundant using directives.
577
578 2003-09-07  Angus Leeming  <leeming@lyx.org>
579
580         * LaTeXFeatures.h: remove #include "support/types.h".
581         * ToolbarBackend.h: remove #include <algorithm>.
582         * changes.h: remove #include <ctime>.
583         * debug.h: remove #include <iosfwd>.
584         * graph.h: remove #include "support/std_string.h".
585         * lyx_main.h: remove #include <csignal>.
586         * lyxlex_pimpl.h: remove #include <fstream>.
587         * sgml.h: remove #include <algorithm>, <utility>.
588         * toc.h: remove #include "support/std_ostream.h".
589         Add #include <iosfwd>.
590
591 2003-09-07  Angus Leeming  <leeming@lyx.org>
592
593         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
594
595         * converter.h: forward declare LatexRunParams.
596         * encoding.h: remove #include "lyxrc.h".
597         * lyxtext.h: remove #include "LColor.h".
598         * lyxtextclass.h: remove #include "support/types.h".
599         * trans.h: remove #include "tex-accent.h".
600         * trans_mgr.h: remove #include "tex-accent.h".
601         * insets/inset.h: remove #include "support/types.h", <vector>.
602         * insets/insetcollapsable.h: remove #include "LColor.h".
603         * insets/insetinclude.h: remove #include "dimension.h".
604         * insets/insetlatexaccent.h: remove #include "dimension.h".
605         * insets/insetoptarg.h:: remove #include "insettext.h".
606         * insets/insettext.h: remove #include "dimension.h",
607         <boost/shared_ptr.hpp>
608
609         * insets/renderers.h: add #include "dimension.h".
610         * insets/updatableinset.h: add #include "support/types.h".
611
612         * many .C files: Associated changes.
613
614 2003-09-06  Angus Leeming  <leeming@lyx.org>
615
616         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
617         one, inside testInvariant.
618
619         * PrinterParams.C: new file.
620         * PrinterParams.[Ch]: move the function bodies out of line.
621
622 2003-09-06  Angus Leeming  <leeming@lyx.org>
623
624         * ParagraphParameters.h: forward declare ParameterStruct rather than
625         including its header file.
626         (depth): moved out-of-line.
627
628 2003-09-06  Angus Leeming  <leeming@lyx.org>
629
630         * BufferView_pimpl.h:
631         * kbmap.h:
632         * kbsequence.h:
633         * lyxfunc.h: forward declare LyXKeySym rather than
634         #include "frontends/LyXKeySym.h".
635
636         * BufferView_pimpl.C:
637         * kbmap.C:
638         * kbsequence.C:
639         * lyxfunc.C: associated changes.
640
641 2003-09-06  Angus Leeming  <leeming@lyx.org>
642
643         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
644         As a result, can remove the #include "insets/inset.h" from BufferView.h
645
646 2003-09-06  Angus Leeming  <leeming@lyx.org>
647
648         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
649         As a result, can remove the #include "insets/inset.h" from BufferView.h
650
651 2003-09-06  Angus Leeming  <leeming@lyx.org>
652
653         * buffer_funcs.C:
654         * buffer.h:
655         * bufferlist.C:
656         * BufferView.C:
657         * bufferview_funcs.C:
658         * BufferView_pimpl.C:
659         * CutAndPaste.C:
660         * lyx_cb.C:
661         * lyxfunc.C:
662         * paragraph.h:
663         * ParagraphParameters.C:
664         * tabular.C:
665         * text3.C:
666         * toc.C:
667         * undo_funcs.C:
668         * frontends/controllers/ControlDocument.C:
669         * insets/insetcaption.C: rearrange the #includes into some sort of
670         coherent order.
671
672         * buffer.h: remove #includes ErrorList.h, undo.h
673
674 2003-09-06  Angus Leeming  <leeming@lyx.org>
675
676         * support/types.h: add a 'depth_type' typedef, used to store the
677         nesting depth of a paragraph.
678
679         * paragraph.h:
680         * ParameterStruct.h: use this lyx::depth_type typedef rather than
681         defining explicitly.
682
683         * buffer.h:
684         * paragraph_funcs.h:
685         * ParagraphParameters.h:
686         * sgml.h: use lyx::depth_type rather than Paragraph or
687         ParameterStruct's depth_type.
688
689         * buffer.h
690         * paragraph_funcs.h: no need to #include paragraph.h anymore.
691
692         * BufferView.C:
693         * BufferView_pimpl.C:
694         * CutAndPaste.C:
695         * ParagraphParameters.C:
696         * buffer_funcs.C:
697         * bufferlist.C:
698         * bufferview_funcs.C:
699         * lyx_cb.C:
700         * lyxfunc.C:
701         * tabular.C:
702         * text3.C:
703         * toc.C:
704         * undo_funcs.C:
705         * frontends/LyXView.C:
706         * frontends/controllers/ControlDocument.C:
707         * frontends/controllers/ControlErrorList.C:
708         * insets/insetbibitem.C:
709         * insets/insetbranch.C:
710         * insets/insetcaption.C:
711         * insets/insetcollapsable.C:
712         * insets/insetenv.C:
713         * insets/insetert.C:
714         * insets/insetfloat.C:
715         * insets/insetfoot.C:
716         * insets/insetfootlike.C:
717         * insets/insetnewline.C:
718         * insets/insetquotes.C:
719         * insets/insettabular.C:
720         * insets/insettext.C:
721         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
722
723         * frontends/controllers/ControlChanges.C: #include "changes.h".
724
725 2003-09-06  Angus Leeming  <leeming@lyx.org>
726
727         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
728         than #including paragraph.h.
729
730         * ParagraphList.h:
731         * RowList.h: deleted. Superfluous.
732
733         * CutAndPaste.h:
734         * iterators.h:
735         * lyxcursor.h:
736         * lyxtext.h:
737         * text_funcs.h:
738         * undo.h:
739         * undo_funcs.h:
740         * insets/inset.h:
741         * insets/insettext.h: use ParagraphList_fwd.h rather than
742         ParagraphList.h.
743
744         * paragraph.h: don't forward declare ParagraphList.
745
746         * buffer.h:
747         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
748         rather than ParagraphList.h. paragraph.h is still needed for the
749         Paragraph::depth_type parameters.
750
751         * textcursor.h: enable it to compile stand-alone in light of the
752         above changes.
753
754         * bufferview_funcs.C:
755         * iterators.C:
756         * lyxfunc.C:
757         * lyxrow_funcs.C:
758         * paragraph.C:
759         * rowpainter.C:
760         * text.C:
761         * text2.C:
762         * text3.C:
763         * text_funcs.C:
764         * textcursor.C:
765         * undo.C:
766         * frontends/controllers/ControlParagraph.C:
767         * frontends/controllers/ControlTabular.C:
768         * insets/insetmarginal.C:
769         * insets/insetminipage.C:
770         * insets/insetnote.C:
771         * insets/insetoptarg.C: add header files needed to compile again.
772
773 2003-09-06  Angus Leeming  <leeming@lyx.org>
774
775         * RowList_fwd.h: new file, forward-declaring Row rather than
776         #including lyxrow.h.
777
778         * lyxrow_funcs.h:
779         * lyxtext.h:
780         * paragraph.h:
781         * insets/insettext.h: use it instead of RowList.h
782
783         * bufferview_funcs.C:
784         * lyxfunc.C:
785         * lyxrow_funcs.C:
786         * paragraph.C:
787         * rowpainter.C:
788         * text.C:
789         * text2.C:
790         * text3.C: #include "RowList.h".
791
792 2003-09-05  Angus Leeming  <leeming@lyx.org>
793
794         * factory.C (createInset):
795         * vspace.C (c-tor): replace sscanf call with an istringstream.
796         * ispell.C: re-add missing HP/UX headers.
797         * lyxserver.C: re-add missing  os2 headers.
798
799 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
800
801         * BranchList.C:
802         * graph.C:
803         * ispell.C:
804         * lastfiles.C:
805         * lyx_cb.C:
806         * lyxserver.C:
807         * texrow.C:
808         * text3.C: re-add missing system headers, needed for 2.95.2.
809
810 2003-09-05  Angus Leeming  <leeming@lyx.org>
811
812         Changes most place everywhere due to the removal of using directives
813         from support/std_sstream.h.
814
815 2003-09-05  Angus Leeming  <leeming@lyx.org>
816
817         Replace LString.h with support/std_string.h,
818         Lsstream.h with support/std_sstream.h,
819         support/LIstream.h with support/std_istream.h,
820         support/LOstream.h with support/std_ostream.h.
821
822         Changes resulting throughout the tree.
823
824 2003-09-05  Angus Leeming  <leeming@lyx.org>
825
826         * sgml.h: ensure that the header file can be compiled stand-alone.
827         * *.C: strip out redundant #includes. (320 in total.)
828
829 2003-09-04  Angus Leeming  <leeming@lyx.org>
830
831         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
832         here (from getPackages).
833
834         * debug.[Ch]: add a new EXTERNAL tag.
835
836 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
837
838         * text2.C (cursorEnd): simplify
839         (setCursor): adjust
840         (getColumnNearX): adjust
841
842         * text.C (computeBidiTables): adjust
843         (fill): adjust
844
845         * rowpainter.C (paintChars): adjust
846         (paintSelection): adjust
847         (paintChangeBar): adjust
848         (paintText): adjust
849
850         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
851         lastPos instead.
852         (numberOfSeparators): adjust
853
854 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
855
856         * LyXAction.C:
857         * box.[Ch]:
858         * lfuns.h:
859         * lyxfunc.C:
860         * text3.C: Restricts the mouse click functionality
861         of insets like bibtex, include, toc and floatlist to the visible
862         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
863         up the dialogs. Cursor has to be in front of the inset (i.e.
864         start of row) for this to function.
865
866 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
867
868         * bufferview_funcs.C (currentState): output row information
869
870 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
871
872         * bufferview_funcs.C (currentState): output paragraph position
873
874 2003-09-04  Angus Leeming  <leeming@lyx.org>
875
876         * FloatList.h: move out #include "Floating.h".
877         * LaTeX.h: move out #include "DepTable.h".
878         * LyXAction.h: move out #include "funcrequest.h".
879         * buffer.h: move out #include "author.h", "iterators.h".
880         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
881         * lyx_main.h: move out #include "errorlist.h".
882         * lyxfunc.h: move out #include "FuncStatus.h".
883         * lyxtext: move out #include "lyxcursor.h".
884         * paragraph_pimpl.h: move out #include "counters.h".
885
886 2003-09-03  Angus Leeming  <leeming@lyx.org>
887
888         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
889         preamble_snippets list, enabling us to add snippets to the preamble
890         only if the snippet was not there already.
891
892 2003-09-04  Angus Leeming  <leeming@lyx.org>
893
894         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
895
896 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
897
898         * lyxfunc.C (dispatch): if fitCursor did something be sure to
899         update
900
901 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
902
903         * BranchList.C: point fix, earlier forgotten
904
905 2003-09-02  Angus Leeming  <leeming@lyx.org>
906
907         * box.C (contains): renamed from 'contained' after a fantastic
908         amount of hot air.
909
910 2003-09-02  John Levon  <levon@movementarian.org>
911
912         * BufferView.C:
913         * lyxcursor.h:
914         * lyxcursor.C:
915         * lyxfunc.C:
916         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
917
918 2003-09-02  John Levon  <levon@movementarian.org>
919
920         * text2.C: simplification of cursorEnd(), including partial
921         fix for bug 1376
922
923 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
924
925         * buffer.C (readFile): add a space
926
927 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
928
929         * BufferView_pimpl.C (update): remove bogus fitCursor() call
930
931 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
932
933         * buffer.C (readFile): new function, take a filename and a
934         ParagraphList::iterator
935         (readFile): adjust
936         (readFile): adjust, make it private. don't use setStream, make
937         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
938         always contain the filename.
939
940         * BufferView.C (insertLyXFile): simplify and make it work for
941         gzipped files.
942
943 2003-08-30  John Levon  <levon@movementarian.org>
944
945         * Makefile.am: fix dist (from Kayvan)
946
947 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
948
949         * most files: change to use const Buffer refs
950
951 2003-08-27  André Pönitz  <poenitz@gmx.net>
952
953         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
954         on top of ownerPar().
955
956 2003-08-27  John Levon  <levon@movementarian.org>
957
958         * funcrequest.C: properly initialise POD members
959
960 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
961
962         * lyxtext.h (top_y): move top_y from here
963         * text.C:
964         * text2.C:
965         * text3.C:
966         * BufferView.[Ch]:
967         * BufferView_pimpl.[Ch]: to here
968         * frontends/screen.C:
969         * insets/insettabular.C:
970         * insets/insettext.C: adjust
971         * rowpainter.[Ch] (paintRows): remove LyXText & argument
972
973 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
974
975         * BufferView.[Ch]:
976         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
977
978 2003-08-26  André Pönitz  <poenitz@gmx.net>
979
980         * paragraph_func.[Ch] (outerPar): new function
981
982         * paragraph.C:
983         * paragraph_funcs.C:
984         * paragraph_funcs.h:
985         * paragraph_pimpl.C:
986         * text2.C: remove Inset::par_owner
987
988 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
989
990         * lyxrow_funcs.C:
991         * lyxtext.h:
992         * text.C:
993         * text2.C: eliminates the needFullRow/display() stuff
994         altogether, putting the logic in metrics/draw in the insets.
995
996 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
997
998         * text2.C (redoParagraphInternal, redoParagraphs):
999         * text.C (redoParagraph): add a call to updateRowPositions at the
1000         end of each 'metrics-like' call. Remove all others.
1001         (getRow): remove the 'y-computing' version.
1002         (getRowNearY): do not compute nor return the real y. Solve the
1003         'y < 0' problem and simplify.
1004
1005 2003-08-22  Angus Leeming  <leeming@lyx.org>
1006
1007         * *.[Ch]: clean-up of licence and author blurbs.
1008         Also move config.h out of a few .h files and into a few .C files.
1009
1010 2003-08-22  André Pönitz  <poenitz@gmx.net>
1011
1012         * lyxrow.[Ch]: add x_ and *fill_ members
1013
1014         * lyxtext.h:
1015         * text.C:
1016         * rowpainter.C:
1017         * text2.C: adjust/remove prepareToPrint() calls
1018
1019 2003-08-22  André Pönitz  <poenitz@gmx.net>
1020
1021         * lyxrow.[Ch]: add  end_ member
1022
1023         * lyxrow_funcs.C: use LyXRow::end_
1024
1025         * lyxtext.h (singleWidth): add LyXFont parameter
1026
1027         * rowpainter.C:
1028         * text2.C: adjust LyXText::singleWidth() calls
1029
1030         * text.C (redoParagraph): simplify row breaking logic
1031
1032
1033 2003-08-19  André Pönitz  <poenitz@gmx.net>
1034
1035         * funcrequest.C: initialize button_ member
1036
1037         * text3.C:
1038         * rowpainter.[Ch]: interface consolidation
1039
1040 2003-08-18  André Pönitz  <poenitz@gmx.net>
1041
1042         * BufferView.C:
1043         * BufferView_pimpl.C:
1044         * lyxfind.C:
1045         * paragraph_funcs.C:
1046         * rowpainter.C:
1047         * text3.C: remove LyXScreen::draw() and fitCursor calls
1048
1049         * BranchList.h: remove spurious semicolons
1050
1051         * MenuBackend.C: fix branchlist related crash
1052
1053 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1054
1055         * BranchList.[Ch]:
1056         * InsetList.[Ch]:
1057         * LColor.[Ch]:
1058         * LyXAction.C:
1059         * Makefile.am:
1060         * MenuBackend.[Ch]:
1061         * bufferparams.[Ch]:
1062         * factory.C:
1063         * lfuns.h:
1064         * lyxfunc.C:
1065         * text3.C: implements the 'branch inset'
1066         idea. This allows the output of various versions of a document
1067         from a single source version, selectively outputing or suppressing
1068         output of parts of the text.
1069         This implementation contains a 'branch list editor' in a separate
1070         tab of the document settings dialog. Branches are user definable
1071         and have a "display colour" to distinguish them on-screen.
1072
1073         ColorHandler was somewhat cleaned up.
1074         (1) make possible a dynamically growing LColor list by allowing
1075         the graphic context cache to grow along (vector);
1076         (2) eliminate an IMHO unnecessary step in colour allocation.
1077
1078 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1079
1080         * BufferView_pimpl.C: compile fix
1081
1082 2003-08-15  André Pönitz  <poenitz@gmx.net>
1083
1084         * rowpainter.C: remove extra metrics calls
1085
1086         * lyxtext.h: merge the two constructors into a single one,
1087           pass reference to owner's par list
1088
1089         * BufferView_pimpl.C:
1090         * text.C:
1091         * text2.C: adjust
1092
1093 2003-08-15  André Pönitz  <poenitz@gmx.net>
1094
1095         * lyxrow_funcs.[Ch]:
1096         * lyxtext.h:
1097         * paragraph.h:
1098         * paragraph_funcs.C:
1099         * rowpainter.C:
1100         * text.C:
1101         * text2.C:
1102         * text3.C:
1103         * text_funcs.C: split LyXText::rowlist_ into individual
1104         Paragraph::rows_ chunks
1105
1106         * BufferView.[Ch]:
1107         * BufferView_pimpl.[Ch]:
1108         * lyxfind.C:
1109         * lyxtext.h:
1110         * text3.C: remove toggleSelection()
1111
1112 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1113
1114         * bufferlist.C: beautify two alerts (shorter text of buttons)
1115         * buffer.C: Remove redundant ' ' from message
1116         * tabular.h:
1117         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1118         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1119         rename VALIGN_CENTER to VALIGN_MIDDLE
1120
1121 2003-08-11  André Pönitz  <poenitz@gmx.net>
1122
1123         * lyxtext.h (getPar):
1124         * text.C: new function
1125
1126 2003-08-11  André Pönitz  <poenitz@gmx.net>
1127
1128         * Makefile.am:
1129         * tracer.[Ch]: remove unneeded files
1130
1131         * InsetList.[Ch]: remove resizeInsetsLyXText()
1132
1133         * lyxtext.h:
1134         * text.C:
1135         * text2.C:
1136         * text3.C: merge insertParagraphs() and appendParagraph()
1137         remove breakAgain(), update()
1138
1139         * BufferView_pimpl.[Ch]:
1140         * bufferview_funcs.[Ch]:
1141         * lyxfunc.C:
1142         * paragraph.[Ch]:
1143         * rowpainter.C:
1144         * tabular.C: adjust after text & InsetList changes.
1145
1146 2003-08-08  André Pönitz  <poenitz@gmx.net>
1147
1148         * text.C (insertChar, backspace): replace rowlist fiddling
1149         with rebreak of full par
1150
1151         * lyxtext.h:
1152         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1153         checkParagraph, updateInset): removed
1154
1155 2003-08-07  André Pönitz  <poenitz@gmx.net>
1156
1157         * paragraph.C:
1158         * text3.C: merge some LFUN handlers, remove dead code
1159
1160 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1161
1162         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1163
1164 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1165
1166         * text2.C (DEPM): fix part of bug 1255 and 1256
1167
1168 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1169
1170         * BufferView_pimpl.C (workAreaDispatch): change to use
1171         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1172         that are no mouse related.
1173
1174 2003-08-05  André Pönitz  <poenitz@gmx.net>
1175
1176         * BufferView.[Ch]:
1177         * BufferView_pimpl.[Ch]:
1178         * bufferview_funcs.C:
1179         * text2.C:
1180         * text3.C: rip out "deep update"
1181
1182         * textcursor.[Ch] (last_sel_cursor): remove unused member
1183
1184 2003-08-04  André Pönitz  <poenitz@gmx.net>
1185
1186         * BufferView.[Ch]:
1187         * BufferView_pimpl.[Ch]:
1188         * ParagraphParameters.C:
1189         * bufferview_funcs.C:
1190         * lyx_cb.C:
1191         * lyxfind.C:
1192         * lyxfunc.C:
1193         * text.C:
1194         * text2.C:
1195         * text3.C: replace "complicated" BufferView::update(...) calls with
1196         simpler ones.
1197
1198         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1199
1200 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1201
1202         * Makefile.am (lyx_SOURCES): add paper.h
1203
1204 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1205
1206         * Makefile.am: move things around so that both lyx-qt and
1207         lyx-xforms can be built (according to --with-frontend). Then lyx
1208         is a symbolic link to lyx-[firstfrontend]
1209
1210 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1211
1212         * Always use std::endl with lyxerr
1213
1214 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1215
1216         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1217
1218 2003-08-01  André Pönitz  <poenitz@gmx.net>
1219
1220         * BufferView.[Ch]:
1221         * BufferView_pimpl.[Ch]:
1222         * lyxfunc.C:
1223         * text3.C: merge BufferView::repaint() and BufferView::update()
1224
1225 2003-08-01  José Matos  <jamatos@lyx.org>
1226
1227         * buffer.[Ch]: file_format is no longer a buffer data element.
1228
1229 2003-08-01  André Pönitz  <poenitz@gmx.net>
1230
1231         * BufferView.C:
1232         * lyxtext.h:
1233         * text.C:
1234         * text2.C: make redoParagraph more independent of current cursor
1235
1236         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1237         * text.C:
1238         * text2.C: remove unneeded members
1239
1240 2003-07-30  André Pönitz  <poenitz@gmx.net>
1241
1242         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1243
1244         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1245           create a single function...
1246
1247         * paragraph_funcs.C (moveItem): ... here.
1248
1249         * text.C:
1250           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1251
1252 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1253
1254         * LColor.[Ch]: Add comment and greyedout logical colors.
1255
1256 2003-07-30  André Pönitz  <poenitz@gmx.net>
1257
1258         * tabular.C: don't use Assert too heavily. This crashes where it
1259           shouldn't
1260
1261 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1262
1263         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1264         is disabled (bug 1232)
1265
1266 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1267
1268         * factory.C: limited 'arg' scope
1269
1270 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1271
1272         * factory.C: fixed Note submenu issues
1273
1274 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1275
1276         * factory.C: submenu for Note/Comment/Greyedout
1277
1278 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1279
1280         * lyx_main.C (LyX):
1281         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1282
1283 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1284
1285         * LaTeXFeatures.C:
1286         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1287         greyedout. Patch provided by Jürgen Spitzmüller.
1288
1289 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1290
1291         * kbmap.C (read): fix error message when reading bind files
1292
1293 2003-07-29  Angus Leeming  <leeming@lyx.org>
1294
1295         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1296         certainly does not do what it purports to do. I am doing it, and
1297         us, a favour by killing it.
1298
1299 2003-07-28  José Matos  <jamatos@lyx.org>
1300
1301         * buffer.C (readBody, do_writeFile):
1302         * paragraph.C(readParagraph): \end_document replaces \the_end.
1303
1304 2003-07-29  André Pönitz  <poenitz@gmx.net>
1305
1306         * BufferView.[Ch]:
1307         * BufferView_pimpl.[Ch]:
1308         * lyxfunc.C:
1309         * text2.C:
1310         * text3.C:
1311         * textcursor.[Ch]: remove toggleToggle & Co
1312
1313 2003-07-28  José Matos  <jamatos@fep.up.pt>
1314
1315         * buffer.C (readParagraph):
1316         * params_func (readParToken, readParagraph):
1317         * paragraph.C (write): \layout -> \begin_layout.
1318
1319 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1320
1321         * lyxlex_pimpl.C (setFile): clean up slightly.
1322
1323         * bufferparams.h: add compressed var
1324
1325         * buffer_funcs.C (readFile): adjust for LyXLex change
1326         (newFile): ditto + simplify
1327
1328         * buffer.C (writeFile): handle writing of compressed files
1329
1330         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1331         Check if the file is compressed and set a bufferparm if so.
1332
1333         * Makefile.am (lyx_LDADD): remove explicit -lz
1334
1335 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1336
1337         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1338         makeDocBookFile): put the real LyX version in the first line of
1339         the file
1340
1341         * version.h:
1342         * version.C.in: remove lyx_docversion
1343
1344         * tabular.C (write_attribute): add a template-based version to
1345         write enums properly
1346
1347 2003-07-28  André Pönitz  <poenitz@gmx.net>
1348
1349         * lyxtext.h:
1350         * text.C:
1351         * text2.C:
1352         * text3.C: use doubles again for x-coordinates. They are needed.
1353
1354 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1355
1356         * messages.C (getLocaleDir): use lyx_localedir()
1357
1358         * lyxlex_pimpl.C (setFile): compress stuff
1359
1360         * buffer.C (writeFile): add some compression stuff
1361         (do_writeFile): new func, dont call expliti close... will this
1362         breake anything?
1363
1364         * Makefile.am (lyx_LDADD): add -lz
1365
1366 2003-07-28  José Matos  <jamatos@fep.up.pt>
1367
1368         * buffer.C: increment file format.
1369         * paragraph_funcs (readParagraph, readParToken):
1370         * paragraph.C (readParagraph): add \end_layout.
1371
1372 2003-07-27  Angus Leeming  <leeming@lyx.org>
1373
1374         * Makefile.am: remove special casing for configure-time setting of
1375         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1376
1377         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1378         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1379
1380 2003-07-26  André Pönitz  <poenitz@gmx.net>
1381
1382         * paragraph_func.[Ch]:
1383         * paragraph.C (realizeFont): inline it whereever it is used
1384
1385         * rowpainter.C:
1386         * text.C:
1387         * text2.C:
1388         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1389
1390
1391 2003-07-26  André Pönitz  <poenitz@gmx.net>
1392
1393         *       lyxtext.h:
1394         * text.C:
1395         * text2.C: get rid of LyXText::need_break_row
1396
1397 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1398
1399         * toc.[Ch]: put namespace toc inside namespace lyx
1400
1401         * MenuBackend.C (expandToc2): adjust for lyx::toc
1402         (expandToc): ditto
1403
1404         * lyxfunc.C (dispatch): adjust for lyx::find
1405
1406         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1407         lyx::find instead. Reorganize a bit.
1408         (LyXReplace): rename to replace
1409         (LyXFind): rename to find
1410
1411         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1412         (dispatch): ditto
1413
1414 2003-07-26  André Pönitz  <poenitz@gmx.net>
1415
1416         * text.C (setHeightOfRow): restrict scope of temporary variable
1417
1418         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1419           code (never has been used?)
1420
1421 2003-07-27  Asger Alstrup  <alstrup@local>
1422
1423         * text.C (fill): Optimise algorithm to exploit that we can reuse
1424         the LyXFont for many characters.
1425         (setHeightOfRow): Same thing.
1426         (rowBreakPoint): Same thing.
1427
1428 2003-07-26  Asger Alstrup  <alstrup@local>
1429
1430         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1431
1432         * text.C (singleWidth): Spurious font copying in hot-spot
1433         singleWidth avoided. Reorder tests for arabic for efficiency.
1434
1435         * text.C (fill): handle empty paragraphs better.
1436
1437 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1438
1439         * ispell.C:
1440         * encoding.h: add includes
1441
1442         * lyxrc.C: remove reading of bind files
1443
1444         * lyx_main.C (init): setup bindings and menus only if we have a
1445         gui.
1446
1447         * kbmap.C (read): new method. Do the actual reading of bind
1448         files.
1449
1450         * converter.C (dvipdfm_options):
1451         * bufferparams.C:
1452         * lyxrc.C (read):
1453         (output): adapt PAPER_* enums.
1454
1455         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1456
1457         * bufferparams.h: remove paper-related enums from there
1458
1459         * paper.h: New file. A trivial header file to hold paper-related
1460         enums. It should later expand to contain many paper-related
1461         horrors access.
1462
1463         * lyxrc.C: declare extern displayTranslator
1464
1465 2003-07-27  José Matos  <jamatos@fep.up.pt>
1466
1467         * tabular.[Ch] (linuxdoc): add support for tables and figures
1468         (linuxdoc).
1469
1470 2003-07-27  José Matos  <jamatos@fep.up.pt>
1471
1472         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1473         consistency in both functions.
1474         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1475
1476 2003-07-26  Asger Alstrup  <alstrup@local>
1477
1478         * rowpainter.C (paintRows): Change algorithm to work directly on
1479         the insets rather than asking every character in the document
1480         whether its an inset.
1481
1482 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1483
1484         * buffer.C (openFileWrite): factorize some code
1485
1486 2003-07-26  Angus Leeming  <leeming@lyx.org>
1487
1488         * lyx_cb.C:
1489         * lyx_main.[Ch]: replace occurances of system_tempdir with
1490         os::getTmpDir().
1491
1492 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1493
1494         * rename Inset to InsetOld
1495
1496 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1497
1498         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1499         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1500         which I think is a bit clearer. EDIT is gone, since it was
1501         premature optimisation, and broken for mathed anyway.
1502         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1503         with cursor positioning in insets as well (math insets still do not
1504         work, but that's a different story anyway.) It mysteriously
1505         crashes sometimes with undo in the first paragraph, but I'm fairly
1506         confident that this is a compiler bug.
1507
1508 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1509
1510         * paragraph.C (Paragraph): adjust for new clone return type
1511         (operator==): ditto
1512         (copyIntoMinibuffer): ditto
1513
1514 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1515
1516         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1517         by not having a special case, and always doing a full rebreak of
1518         the document after undo.
1519
1520 2003-07-23  Angus Leeming  <leeming@lyx.org>
1521
1522         * factory.C (createInset): InsetExternal::setParams now takes a
1523         Buffer const * arg.
1524
1525 2003-07-23  Angus Leeming  <leeming@lyx.org>
1526
1527         * factory.C (createInset): changed interface to the external and
1528         graphics mailers' string2params functions.
1529
1530 2003-07-23  Angus Leeming  <leeming@lyx.org>
1531
1532         * factory.C (createInset): pass a
1533         Buffer const * parameter to InsetExternalMailer's string2params.
1534
1535 2003-07-22  John Levon  <levon@movementarian.org>
1536
1537         * Thesaurus.h: include the right aiksaurus header
1538
1539 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1540
1541         * MenuBackend.C (expand): check menu shortcuts unconditionally
1542
1543 2003-07-21  Angus Leeming  <leeming@lyx.org>
1544
1545         * factory.C (createInset): pass a
1546         buffer_path parameter to InsetGraphicsMailer's string2params.
1547
1548 2003-07-21  Angus Leeming  <leeming@lyx.org>
1549
1550         * BufferView_pimpl.C (buffer):
1551         * buffer.C (d-tor):
1552         * lyx_main.C (LyX):
1553         * lyxfunc.C (dispatch):
1554         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1555         rather than the grfx shortcut.
1556
1557 2003-07-21  André Pönitz  <poenitz@gmx.net>
1558
1559         * rowpainter.C: remove unused variables
1560
1561         * tabular_funcs.C:
1562         * tabular_funcs.h: move to tabular.C
1563         * Makefile.am: adjust
1564
1565         * tabular.[Ch]: basic optical cleaning
1566
1567         * author.h: pass references, not values
1568
1569 2003-07-18  André Pönitz  <poenitz@gmx.net>
1570
1571         * lyxtext.h:
1572         * metricsinfo.C:
1573         * metricsinfo.h:
1574         * rowpainter.C:
1575         * text.C:
1576         * text2.C:
1577         * text3.C: two-phase drawing for InsetText and InsetTabular
1578         some float -> int changes.
1579
1580 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1581
1582         * lyx_main.C: fix the fix
1583
1584 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1585
1586         * lyx_main.C: fix a crash in batch mode if no files specified
1587         * converter.C: ws
1588
1589 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1590
1591         * format.[Ch] (papersize): moved to BufferParams
1592         * converter.[Ch] (dvips_options): moved to BufferParams
1593         (dvipdfm_options): moved to anon namespace
1594         * bufferparams.[Ch]: added above functions.
1595
1596 2003-07-17  André Pönitz  <poenitz@gmx.net>
1597
1598         * lyxtext.h:
1599         * rowpainter.C:
1600         * text2.C: don't call inset->update() anymore
1601
1602         * metricsinfo.[Ch]: add convenience constructor
1603
1604 2003-07-16  André Pönitz  <poenitz@gmx.net>
1605
1606         * lyxcursor.[Ch]:
1607         * lyxfunc.[Ch]:
1608         * text.C:
1609         * text2.C: replace the LyXCursor::irow_ member with
1610          on-demand computation of the value
1611
1612 2003-07-16  John Levon  <levon@movementarian.org>
1613
1614         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1615
1616 2003-07-15  André Pönitz  <poenitz@gmx.net>
1617
1618         * text.C:
1619         * text2.C: remove no more needed refresh_row
1620
1621 2003-07-15  André Pönitz  <poenitz@gmx.net>
1622
1623         * lyxtext.h:
1624         * rowpainter.C:
1625         * text2.C:
1626         * text3.C: refresh_status tristate -> need_update bool
1627
1628 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1629
1630         * lyxtext.h (init): remove reinit argument (act as if always true)
1631         * text2.C: adjust to that
1632
1633 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1634
1635         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1636         * text3.C: use it to delete selections in some cases
1637         (bugs 441, 673, 702, 954).
1638
1639 2003-07-14  André Pönitz  <poenitz@gmx.net>
1640
1641         * rowpainter.[Ch]: reduce interface
1642
1643 2003-07-14  André Pönitz  <poenitz@gmx.net>
1644
1645         * BufferView_pimpl.C:
1646         * text2.C: adjust after removing unused BufferView * argument
1647
1648 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1649
1650         * text2.C (init): fix a crash fired on resize
1651
1652 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1653
1654         * buffer.[Ch]: added new closing signal
1655         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1656         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1657         BufferView::Pimpl via the closing the signal
1658
1659 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1660
1661         * buffer.[Ch]: take out all bv-related from buffer
1662         * BufferView.C:
1663         * BufferView_pimpl.[Ch]: connect to new signals
1664         * CutAndPaste.C: removed useless asserts
1665         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1666         * lyxvc.[Ch]:
1667         * vc-backend.[Ch]:
1668         * lyxfunc.C: moved view-related funciontality from vc here
1669         * paragraph.C: removed outdated comments
1670         * text.C: ws
1671
1672 2003-07-10  André Pönitz  <poenitz@gmx.net>
1673
1674         * BufferView_pimpl.C:
1675         * tabular.h:
1676         * tabular_funcs.C:
1677         * text.C:
1678         * text2.C: remove InsetText::InnerCache, clean up consequences
1679
1680 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1681
1682         * ispell.C: fix two typos in error messages
1683
1684 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1685
1686         * Extend Note inset to other forms of annotation like Comment
1687         and Greyedout. Right button click gives dialog.
1688
1689         Files modified or added (+):
1690
1691         * insetnote.[Ch]
1692         * FormNote.[Ch]      +
1693         * ControlNote.[Ch]   +
1694         * form_note.fd       +
1695         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1696         frontends/controllers
1697         * xforms/Dialogs.C
1698         * factory.C
1699
1700 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1701
1702         * aspell.C: add missing namespace lyx::support
1703
1704 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1705
1706         * BufferView.[Ch] (newFile): Add
1707         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1708         * LaTeX.[Ch] (message): added this signal and use it
1709         * buffer.[Ch] (busy, message): added these signals and use them
1710         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1711         * converter.C:
1712         * exporter.C:
1713         * format.C:
1714         * importer.C: use buffer signals instead of direct bv calling
1715         * lyx_cb.[Ch] (ShowMessage): removed
1716         * lyx_main.C:
1717         * lyxfunc.C:
1718         * paragraph_funcs.C:
1719         * text2.C: use buffer signals
1720
1721 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1722
1723         * introduce namespace lyx::graphics
1724
1725 2003-07-02  André Pönitz  <poenitz@gmx.net>
1726
1727         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1728
1729 2003-07-01  André Pönitz  <poenitz@gmx.net>
1730
1731         * text.C:
1732         * text2.C:
1733         * text3.C:
1734         * text_funcs.[Ch]:
1735         * textcursor.h:
1736         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1737           text*.C to text_func.C
1738
1739 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1740
1741         * introduce namespace lyx::support
1742
1743 2003-06-30  André Pönitz  <poenitz@gmx.net>
1744
1745         * Chktex.C:
1746         * funcrequest.C:
1747         * lyxtext.h:
1748         * text.C: re-enable --with-included-string
1749
1750 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1751
1752         * textcursor.C: add <config.h>
1753
1754         * text.C (getWord): remove const from word_location arg
1755
1756         * lyxvc.C (getLogFile): fix const type order
1757
1758         * lyxtext.h: remove const from word_location arg, add arg name
1759
1760         * lyxlayout.h: currect type on labeltype.
1761
1762         * importer.C: correct \file
1763
1764         * converter.C (intToFormat): use std:: on ret val, ws changes
1765
1766         * bufferlist.h: correct \file
1767
1768         * buffer.C (makeLinuxDocFile): fix const type order
1769         (makeDocBookFile): ditto
1770         (fillWithBibKeys): use std:: on stdlib args.
1771
1772         * CutAndPaste.C: fix authors.
1773         (availableSelections): use std:: on return vector
1774
1775 2003-06-27  André Pönitz  <poenitz@gmx.net>
1776
1777         * BufferView_pimpl.C:
1778         * bufferview_funcs.C:
1779         * lyxcursor.C:
1780         * lyxcursor.h:
1781         * lyxfunc.C:
1782         * lyxtext.h:
1783         * rowpainter.C:
1784         * text.C:
1785         * text2.C:
1786         * text3.C: remove LyXCursor::row_ member
1787
1788         * lyxtext.h:
1789         * text.C: rename fullRebreak() to partialRebreak() and implement
1790           a fullRebreak() that really bereks fully
1791
1792         * textcursor.h: new struct for cursor-related data
1793
1794 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1795
1796         * lyx_main.C (LyX): get full path of document loaded on the
1797         command line
1798
1799 2003-06-26  André Pönitz  <poenitz@gmx.net>
1800
1801         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1802           remove unused/broken operator>,<,>=.
1803
1804         *       text.C: remove only use of broken operator<= in an Assert().
1805
1806 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1807
1808         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1809         moved errorlist_.clear to showErrorList
1810
1811 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1812
1813         * converter.C (scanLog, runLaTeX):
1814         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1815         move the bv->showErrorList call to the callers
1816         * lyxfunc.C: i.e. here...
1817         * text2.C: and here
1818         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1819         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1820         namespace, the second to...
1821         * buffer_funcs (BufferFormat, parseErrors): added
1822         * errorlist.C (ErrorList(TeXErrors const &)): removed
1823
1824 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1825
1826         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1827
1828 2003-06-24  "Garst R. Reese" <reese@isn.net>
1829
1830         * debug.C: fix typo
1831
1832 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1833
1834         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1835
1836         * version.C.in: change docversion to 1.4
1837
1838 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1839
1840         * buffer.C: fix a bug just introduced
1841
1842 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1843
1844         * buffer.[Ch]: added the parseError signal and use it, removed
1845         sgmlError
1846         * BufferView.[Ch] (addError): moved to ...
1847         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1848         to the Buffer::parseError signal to catch (guess what) parse errors
1849         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1850
1851 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1852
1853         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1854         ability to create a buffer and to return an existing one from
1855         the list. Moved these functions to...
1856         * buffer_funcs.[Ch]: added
1857         * BufferView.[Ch] (loadLyXFile): added
1858         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1859         job removed from bufferlist::loadLyXFile.
1860         * buffer.C (setReadOnly): make it work without view
1861         (i.e added an if (users))
1862
1863 2003-06-19  Angus Leeming  <leeming@lyx.org>
1864
1865         * lfuns.h:
1866         * LyXAction.C (init):
1867         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1868         with LFUN_DIALOG_SHOW <name> <data>.
1869
1870 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1871
1872         * CutAndPaste.C (availableSelections): small compilation fix for
1873         ancient (gcc 2.9x) compilers
1874
1875 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1876
1877         * text3.C (cursorNext): add tmp var
1878
1879         * text2.C (updateCounters): for function calling out of for clause
1880         (replaceSelectionWithString): ditto
1881         (insertStringAsParagraphs): ditto
1882         (getColumnNearX): add tmp var
1883         (setCursorFromCoordinates): add tmp var
1884         (cursorDownParagraph): add tmp var
1885         (deleteEmptyParagraphMechanism): add tmp var
1886
1887         * text.C (insertChar): add tmp var
1888
1889         * rowpainter.C (paintDepthBar): add tmp var
1890
1891         * CutAndPaste.C (availableSelections): potentially check all
1892         paragraphs in a cut to fill the shown strings.
1893
1894 2003-06-18  André Pönitz  <poenitz@gmx.net>
1895
1896         * kbmap.[Ch]: use vector<> instead of list<>
1897
1898 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1899
1900         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1901         pasteSelection with index
1902
1903         * text2.C (pasteSelection): modify, call pasteSelection with index
1904
1905         * paragraph.C (asString): reimplement version with no interval to
1906         call the one with interval.
1907
1908         * lyxtext.h: add index arg to pasteSelection
1909
1910         * MenuBackend.C (MenuItem): handle PasteRecent
1911         (Menu::read::Menutags): add md_pasterecent
1912         (read): handle it
1913         (expandPasteRecent): new function
1914         (expand): use it
1915
1916         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1917
1918         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1919         the limited stack
1920         (availableSelections): new function
1921
1922 2003-06-17  Angus Leeming  <leeming@lyx.org>
1923
1924         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1925
1926 2003-06-17  Angus Leeming  <leeming@lyx.org>
1927
1928         * lfuns.h:
1929         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1930
1931         * lyxfunc.C (dispatch): invoke it.
1932
1933 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1934
1935         * iterators.C (operator++, ParPosition): reintroduce some
1936         const_cast for the benefit of older compilers.
1937
1938 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1939
1940         * text3.C (dispatch): do not modify clipboard when doing
1941         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1942         LFUN_DELETE_SKIP on a selection selection
1943
1944 2003-06-16  André Pönitz  <poenitz@gmx.net>
1945
1946         * BufferView.C:
1947         * buffer.C:
1948         * buffer.h:
1949         * paragraph.C:
1950         * tabular.[Ch]: IU of clone() and getLabelList();
1951
1952 2003-06-13  André Pönitz  <poenitz@gmx.net>
1953
1954         * tabular.h: compactification
1955
1956 2003-06-12  André Pönitz  <poenitz@gmx.net>
1957
1958         * tabular.C:
1959         * tabular.h:
1960         * tabular_funcs.h: some renaming plus whitespace
1961
1962 2003-06-12  André Pönitz  <poenitz@gmx.net>
1963
1964         * BufferView.C:
1965         * BufferView_pimpl.C:
1966         * CutAndPaste.C:
1967         * buffer.C:
1968         * iterators.[Ch]:
1969         * lyxfunc.C:
1970         * text.C:
1971         * toc.C: Return a Paragraph & for ParIterator::operator*()
1972
1973 2003-06-11  John Levon  <levon@movementarian.org>
1974
1975         * lyx_main.C:
1976         * ToolbarBackend.h:
1977         * ToolbarBackend.C: add "Toolbars" section and
1978         put the flags there
1979
1980 2003-06-10  Angus Leeming  <leeming@lyx.org>
1981
1982         * lfuns.h:
1983         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1984
1985         * lyxfunc.C (dispatch): invoke it.
1986
1987 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1988
1989         * main.C: protect <ios> with HAVE_IOS
1990         (main): protect sync_with_stdio with HAVE_IOS
1991
1992 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1993
1994         * text2.C (cutSelection): adjust
1995         (pasteSelection): adjust
1996
1997         * messages.C: handle get of empty string
1998
1999         * main.C (main): use sync_with_stdio(false)
2000
2001         * lyxfunc.C (dispatch): adjust
2002
2003         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2004         (WriteAs): remove unneeded BufferView arg.
2005
2006         * bufferparams.h: use correct types on papersize, papersize2 and
2007         paperpackage.
2008
2009         * bufferparams.C (readToken): adjust for type
2010         (writeLaTeX): add missing cases to switch.
2011
2012         * bufferlist.C (quitWriteBuffer): adjust
2013         (close): adjust
2014
2015         * buffer.C (asciiParagraph): remove some commented code.
2016
2017         * CutAndPaste.C: remove current_view extern variable.
2018         (cutSelection): add BufferParams arg.
2019         (eraseSelection): add BufferParams arg.
2020         (pasteSelection): add Buffer const & arg
2021
2022 2003-06-07  John Levon  <levon@movementarian.org>
2023
2024         * buffer.C:
2025         * paragraph_funcs.C:
2026         * paragraph_pimpl.C:
2027         * text.C:
2028         * text2.C:
2029         * paragraph.h:
2030         * paragraph.C: allow InsetERT to freely space lines,
2031         and some consolidation of code
2032
2033 2003-06-06  José Matos  <jamatos@fep.up.pt>
2034
2035         * buffer.C (makeDocBookFile): fix bug #821
2036
2037 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2038
2039         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2040
2041 2003-06-04  Angus Leeming  <leeming@lyx.org>
2042
2043         * buffer.C: bump format to 224.
2044
2045 2003-06-05  André Pönitz  <poenitz@gmx.net>
2046
2047         * text2.C (redoParagraphs): remove two const_cast<>
2048
2049 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2050
2051         * ParagraphList.h: remove last remnants of NO_STD_LIST
2052
2053 2003-06-03  Angus Leeming  <leeming@lyx.org>
2054
2055         * factory.C (createInset): small change to the way InsetExternal's params
2056         are set.
2057
2058 2003-06-04  André Pönitz  <poenitz@gmx.net>
2059
2060         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2061
2062         * paragraph_pimpl.h:
2063         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2064
2065         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2066
2067         * undo_funcs.C: make some simple cases of undo work again
2068
2069 2003-06-03  John Levon  <levon@movementarian.org>
2070
2071         * ispell.C: HPUX doesn't have sys/select.h
2072         (from Albert Chin)
2073
2074 2003-06-03  John Levon  <levon@movementarian.org>
2075
2076         * CutAndPaste.C: update tabular and include inset
2077         buffer references
2078
2079         * buffer.h:
2080         * paragraph.h:
2081         * paragraph.C: remove owningBuffer(), don't pass Buffer
2082         to clone()
2083
2084         * factory.C: insetGraphicsParams changed
2085
2086 2003-06-02  John Levon  <levon@movementarian.org>
2087
2088         * LyXAction.C:
2089         * factory.C:
2090         * lfuns.h:
2091         * lyxfunc.C:
2092         * text3.C: remove insetparent
2093
2094 2003-06-02  John Levon  <levon@movementarian.org>
2095
2096         * buffer.h:
2097         * buffer.C: fix inset_iterator.end(), move out of line
2098         (bug 1149)
2099
2100 2003-06-01  John Levon  <levon@movementarian.org>
2101
2102         * text3.C: use a proper cut/paste when doing inset
2103         insert (from Jürgen Spitzmüller)
2104
2105 2003-06-01  John Levon  <levon@movementarian.org>
2106
2107         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2108
2109 2003-05-30  André Pönitz  <poenitz@gmx.net>
2110
2111         * rowpainter.C: unify second drawing phase
2112
2113 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2114
2115         * trans_mgr.C: remove one case of current_view
2116
2117         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2118
2119         * paragraph_funcs.h: remove paragraph.h include
2120
2121         * paragraph.h: delete NO_STD_LIST stuff
2122
2123         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2124
2125         * buffer.h: remove paragraph.h include
2126
2127         * ParagraphList.C: delete file
2128
2129         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2130
2131         * toc.C (getTocList): adjust
2132
2133         * paragraph_pimpl.C (validate): adjust
2134
2135         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2136
2137         * paragraph.C (Paragraph): adjust
2138         (getPositionOfInset): use const_iterator, adjust
2139         (bibitem): use const_iterator, adjust
2140         (setInsetOwner): adjust
2141
2142         * iterators.C (operator++): adjust
2143
2144         * InsetList.[Ch]: Replace selfmade iterator with standard
2145         vector::iterator also introduce const_iterator. Remove getPos,
2146         getInset and setInset from InsetTable. Adjust accordingly.
2147
2148         * BufferView.C (lockInset): adjust
2149         (ChangeInsets): adjust
2150
2151         * tabular.[Ch]: delete commented same_id functions
2152
2153 2003-05-28  John Levon  <levon@movementarian.org>
2154
2155         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2156
2157 2003-05-28  André Pönitz  <poenitz@gmx.net>
2158
2159         * metricsinfo.[Ch]: remove 'fullredraw' member
2160
2161 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2162
2163         * lyxtextclass.C (operator): remove caching.
2164
2165 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2166
2167         * text3.C: adjust
2168
2169         * text2.C (cursorBottom): adjust
2170         (setCounter): use ParagraphList::find, adjust
2171
2172         * text.C (workWidth): use ParagraphList::find, adjust
2173
2174         * lyxcursor.C (LyXCursor): adjust
2175
2176         * buffer.C (inset_iterator): adjust
2177
2178         * ParagraphList.h: make iterator(value_type) private, make
2179         ParagraphList a friend of iterator.
2180
2181         * ParagraphList.C (find): new function
2182
2183         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2184
2185 2003-05-27  André Pönitz  <poenitz@gmx.net>
2186
2187         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2188
2189 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2190
2191         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2192
2193 2003-05-26  John Levon  <levon@movementarian.org>
2194
2195         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2196
2197 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2198
2199         * remove same_id from function signatures, adjust.
2200
2201 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2202
2203         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2204
2205         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2206
2207         * paragraph.C (Paragraph): get rid of same_ids parameter
2208
2209         * ParagraphList.C (insert): adjust
2210         (push_back): adjust
2211
2212 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2213
2214         * paragraph_funcs.C (breakParagraph): adjust
2215         (breakParagraphConservative): adjust
2216
2217         * buffer.C (readParagraph): adjust
2218
2219         * ParagraphList.C (insert): take a reference instead of a pointer
2220         (insert): adjust
2221
2222         * paragraph.[Ch] (id): new function
2223
2224         * bufferlist.C (newFile): adjust
2225
2226         * ParagraphList.C (ParagraphList): adjust
2227         (assign): adjust
2228         (push_back): take a reference instead of a pointer.
2229
2230         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2231
2232         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2233         instead.
2234
2235         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2236         set else use old code.
2237
2238         * ParagraphList.C: remove all NO_NEXT code and only compile this
2239         code of NO_STD_LIST is set.
2240
2241 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2242
2243         * BufferView_pimpl.C:
2244         * TextCache.C:
2245         * TextCache.h:
2246         * bufferlist.C:
2247         * errorlist.h:
2248         * format.C:
2249         * format.h:
2250         * graph.C:
2251         * lyxfunc.C:
2252         * lyxrc.C:
2253         * graphics/GraphicsConverter.C:
2254         * graphics/PreviewLoader.C: header adjustment
2255
2256 2003-05-23  Angus Leeming  <leeming@lyx.org>
2257
2258         * LaTeXFeatures.[Ch] (useBabel): new method.
2259         * bufferparams.C (writeLaTeX): use it.
2260
2261 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2262
2263         * ParagraphList.h (set): remove unused function.
2264
2265 2003-05-23  André Pönitz  <poenitz@gmx.net>
2266
2267         * BufferView.C:
2268         * BufferView_pimpl.C:
2269         * buffer.C:
2270         * buffer.h:
2271         * lyxfunc.C:
2272         * undo_funcs.C: setUndo reworked
2273
2274         * iterators.[Ch]: add access to topmost ParagraphList
2275
2276         * lyxtext.[Ch] (workWidth): add a const
2277
2278 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2279
2280         * texrow.[Ch] (increasePos): remove function
2281         * exporter.C (export): removed unused var and outdated comment
2282
2283 2003-05-23  Angus Leeming  <leeming@lyx.org>
2284
2285         * latexrunparams.h: rename fragile as moving_arg.
2286         * paragraph.C (simpleTeXOnePar): ditto.
2287         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2288
2289 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2290
2291         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2292         (createUndo): ditto
2293         (textUndoOrRedo): comment out a currently unused var.
2294
2295         * paragraph.h (NO_NEXT): enable NO_NEXT
2296
2297         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2298
2299         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2300
2301         * exporter.C (Export): adjust for removeAutoInsets removal.
2302
2303         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2304
2305         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2306
2307         * BufferView.[Ch] (removeAutoInsets): delete function
2308
2309 2003-05-22  Angus Leeming  <leeming@lyx.org>
2310
2311         * latexrunparams.h: add a free_spacing variable.
2312
2313         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2314         to pass moving_arg, as the data is stored in runparams.fragile.
2315
2316         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2317         to Inset::latexOptional or to simpleTeXOnePar.
2318
2319         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2320         free_spacing arg to Inset::latexOptional.
2321
2322         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2323         free_spacing arg.
2324
2325 2003-05-22  Angus Leeming  <leeming@lyx.org>
2326
2327         * latexrunparams.h: add fragile and use_babel variables.
2328
2329         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2330         * buffer.C (makeLaTeXFile): store this returned value in
2331         runparams.use_babel, thus passing it to the inset::latex methods.
2332
2333         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2334         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2335
2336         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2337         longer has a fragile arg, as it is stored in runparams.fragile.
2338
2339         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2340         moving_arg parameter as the data is stored in runparams.fragile.
2341
2342         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2343         a fragile parameter as the data is stored in runparams.fragile.
2344
2345 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2346
2347         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2348
2349 2003-05-22  Angus Leeming  <leeming@lyx.org>
2350
2351         * latexrunparams.h: add a 'bool nice' which defaults to false.
2352
2353         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2354         now encapsulated within runparams.
2355
2356         * bufferlist.C (updateIncludedTeXfiles):
2357         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2358
2359 2003-05-22  Angus Leeming  <leeming@lyx.org>
2360
2361         * latexrunparams.h: new file containing struct LatexRunParams.
2362         * Makefile.am: add new file.
2363
2364         * LaTeX.[Ch] (c-tor, run):
2365         * buffer.[Ch] (makeLaTeXFile):
2366         * bufferlist.[Ch] (updateIncludedTeXfiles):
2367         * converter.C (convert, scanLog):
2368         * converter.[Ch] (runLaTeX):
2369         * exporter.C (Export):
2370         * paragraph.[Ch] (simpleTeXOnePar):
2371         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2372         * paragraph_funcs.[Ch] (latexParagraphs):
2373         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2374         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2375         pass around a LatexRunParams parameter.
2376
2377 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2378
2379         * paragraph.[Ch]: remove unused constructor
2380
2381         * ParagraphList.C (erase): new function, taking two iterators
2382
2383 2003-05-22  André Pönitz  <poenitz@gmx.net>
2384
2385         * undo_funcs.C: remove duplicated code
2386
2387         * iterator.[Ch]: operator=
2388
2389 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2390
2391         * tabular.C (SetMultiColumn): ws changes
2392
2393         * rowpainter.C (paintFirst): get rid of a ->previous
2394
2395         * lyx_cb.C (getPossibleLabel): parlist simplification
2396
2397         * BufferView.C (ChangeInsets): simplify slightly.
2398
2399 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2400
2401         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2402         * lfuns.h: new LFUN_SPACE
2403         * lyxfunc.C: protected space has a new lfun
2404         * paragraph_funcs.C: read new space insets
2405         * text3.C:
2406         * factory.C: handle new space insets
2407
2408 2003-05-22  André Pönitz  <poenitz@gmx.net>
2409
2410         * BufferView.C:
2411         * BufferView_pimpl.C:
2412         * buffer.[Ch]:
2413         * lyxfunc.C:
2414         * undo_funcs.C: return a ParIterator from getParFromID.
2415
2416         * iterators.[Ch]: add two const's
2417
2418 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2419
2420         * toc.C (getTocList): adjust
2421
2422         * iterators.[Ch]: rework for parlist
2423
2424         * buffer.C (par_iterator_begin): adjust
2425         (par_iterator_end): adjust
2426
2427         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2428
2429         * BufferView.C (removeAutoInsets): adjust
2430         (ChangeInsets): adjust
2431
2432 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2433
2434         * text.C (top_y): fix bug 1110
2435
2436 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2437
2438         * errorlist.[Ch]: added
2439         * buffer.C:
2440         * BufferView.[Ch]:
2441         * BufferView_pimpl.C:
2442         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2443         instead
2444
2445 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2446
2447         * Makefile.am: ensure that lyx is relinked upon changes to the
2448         various "convenience" libs.
2449
2450 2003-05-20  Angus Leeming  <leeming@lyx.org>
2451
2452         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2453         files are compiled in alphabetical order again.
2454
2455         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2456
2457 2003-05-19  Angus Leeming  <leeming@lyx.org>
2458
2459         * gettext.[Ch]: remove "char const * _(char const *)".
2460
2461 2003-05-19  André Pönitz  <poenitz@gmx.net>
2462
2463         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2464
2465         * Makefile.am:
2466         * BufferView.C:
2467         * DepTable.h:
2468         * LaTeXFeatures.C:
2469         * buffer.C:
2470         * lyxfont.C:
2471         * lyxlex.h:
2472         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2473
2474 2003-05-19  André Pönitz  <poenitz@gmx.net>
2475
2476         * buffer.C:
2477         * lyxlayout.[Ch]:
2478         * lyxtextclass.[Ch]:
2479         * paragraph.C:
2480         * paragraph_funcs.[Ch]:
2481         * text2.C:
2482         * text3.C: more insetenv work
2483
2484 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2485
2486         * ParagraphParameters.C (params2string): small bug fixed
2487
2488 2003-05-16  André Pönitz  <poenitz@gmx.net>
2489
2490         * debug.C:
2491         * bufferview_funcs.C: patch from Kornel Benko to prevent
2492           crash when _(...) is called twice in a statement
2493
2494 2003-05-16  André Pönitz  <poenitz@gmx.net>
2495
2496         * BufferView.C:
2497         * lyxfunc.C:
2498         * text.C:
2499         * text2.C:
2500         * text3.C:
2501         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2502
2503 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2504
2505         * lyx_main.C (init): remove spurious static_cast
2506
2507 2003-05-14  André Pönitz  <poenitz@gmx.net>
2508
2509         * BufferView.C: fix format string
2510
2511 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2512
2513         * BufferView.[Ch] (insertErrors): removed
2514         * BufferView.[Ch] (showErrorList): added
2515         * buffer.C (runChkTeX):
2516         * converter.C (scanLog): call showErrorList instead of inserterrors
2517
2518 2003-05-13  André Pönitz  <poenitz@gmx.net>
2519
2520         * BufferView_pimpl.C:
2521         * buffer.C:
2522         * bufferview_func.C:
2523         * MenuBackend.C:
2524         * lyxfunc.C:
2525         * lyxrc.C:
2526         * tex-accent.C:
2527         * text3.C:
2528         * toc.C:
2529         * tabular_funcs.h: tostr() from its own header
2530
2531         * ParagraphParameters.C:
2532         * ToolbarBackend.C:
2533         * bufferparams.C:
2534         * format.C:
2535         * lyxlex_pimpl.C:
2536         * text3.C: STRCONV()
2537
2538 2003-05-12  André Pönitz  <poenitz@gmx.net>
2539
2540         * BufferView.C:
2541         * BufferView_pimpl.C:
2542         * CutAndPaste.C:
2543         * LaTeX.C:
2544         * LaTeXFeatures.C:
2545         * ParagraphParameters.C:
2546         * buffer.C:
2547         * bufferlist.C:
2548         * bufferparams.C:
2549         * bufferview_funcs.C:
2550         * converter.C:
2551         * counters.C:
2552         * debug.C:
2553         * exporter.C:
2554         * format.C:
2555         * importer.C:
2556         * lyx_cb.C:
2557         * lyx_main.C:
2558         * lyxfont.C:
2559         * lyxfunc.C:
2560         * lyxvc.C:
2561         * paragraph.C:
2562         * paragraph_funcs.C:
2563         * tabular.C:
2564         * tabular_funcs.C:
2565         * text2.C:
2566         * text3.C:  boost::format -> bformat  all over the place
2567
2568
2569 2003-05-09  André Pönitz  <poenitz@gmx.net>
2570
2571         * LColor.[Ch]: Pimpl the #include <map> away
2572
2573 2003-05-09  John Levon  <levon@movementarian.org>
2574
2575         * bufferlist.C: never remove emergency saves
2576
2577 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2578
2579         * Makefile.am: better lib building
2580
2581 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2582
2583         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2584         instead.
2585         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2586         (simpleTeXSpecialChars): adjust
2587         (simpleTeXSpecialChars): adjust
2588         * paragraph.C (simpleTeXOnePar): adjust
2589         * buffer.C (makeLaTeXFile): adjust
2590
2591         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2592
2593         * text2.C (changeDepth): parlist cleanup
2594         (getColumnNearX): ditto
2595
2596         * rowpainter.C (getLabelFont): parlist cleanup
2597
2598         * bufferlist.C (newFile): parlist cleanup
2599
2600         * CutAndPaste.C (eraseSelection): parlist cleanup
2601
2602         * BufferView_pimpl.C (trackChanges): parlist cleanup
2603         (dispatch): ditto
2604
2605         * BufferView.C (lockInset): parlist cleanup.
2606         (ChangeInsets): ditto
2607
2608 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2609
2610         * CutAndPaste.h: Update file header.
2611
2612         * CutAndPaste.C: Update file header.
2613         Store the parts cut out of the Document in a limited_stack.
2614         (copySelection): adjust
2615         (pasteSelection): new function, takes the index in the limited stack.
2616         (nrOfParagraphs): adjust
2617         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2618         simplify error inset insertion.
2619         (checkPastePossible): adjust
2620
2621 2003-05-06  John Levon  <levon@movementarian.org>
2622
2623         * text2.C: don't cast wrap inset to float
2624
2625 2003-05-05  André Pönitz  <poenitz@gmx.net>
2626
2627         * iterator.C:
2628         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2629
2630         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2631           few naked Paragraph *.
2632
2633 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2634
2635         * bufferparams.C: Output warning if a document with missing
2636         TeX document class is loaded
2637         * exporter.C: Disable TeX exports if the document class is missing
2638         * lyxtextclass.C:
2639         * lyxtextclass.h:
2640         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2641         isTeXClassAvailable()
2642
2643 2003-05-03  John Levon  <levon@movementarian.org>
2644
2645         * BufferView.h:
2646         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2647         explicit cursor show/hide
2648
2649         * BufferView_pimpl.h:
2650         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2651         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2652
2653         * lyxfunc.C: hide cursor before dispatching.
2654
2655         * lyx_cb.C:
2656         * lyxfind.C:
2657         * text.C:
2658         * text3.C: remove explicit cursor hides
2659
2660 2003-05-02  André Pönitz  <poenitz@gmx.net>
2661
2662         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2663
2664         * undo_funcs.C:
2665         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2666           linked lists
2667
2668         * text2.C: tiny whitespace
2669
2670 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * undo_funcs.C: almost only ws changes.
2673
2674         * ParagraphList.C (splice): just return if pl is empty.
2675
2676 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2677
2678         * ParagraphList.C (splice): new function.
2679
2680         * CutAndPaste.C (pasteSelection): use it
2681
2682 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2683
2684         * CutAndPaste.C (pasteSelection): remove the last next and
2685         previous from this file.
2686
2687 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2688
2689         * CutAndPaste.C (pasteSelection): more clean up, user proper
2690         ParagraphList functions for pasteing.
2691
2692         * ParagraphList.C (insert): new function, three arg insert
2693
2694 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2695
2696         * ParagraphList.C (insert): new function, three arg insert
2697
2698         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2699         not on paragraphs.
2700
2701 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2702
2703         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2704
2705 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2706
2707         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2708
2709 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2710
2711         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2712         (copySelection): clean up a bit.
2713         (pasteSelection): use make_pair
2714
2715         * ParagraphList.C (ParagraphList): implement copy constructor
2716         (operator=): implement, base on copy constructor.
2717         (assign): new func
2718
2719         * paragraph.C (erase): return a bool
2720
2721         * paragraph_pimpl.C (erasePos): remove function, move contents...
2722         (erase): ... here. Return a bool.
2723         (erase): call erase instead of erasePos.
2724
2725 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2726
2727         * ParagraphList.h: define PitPosPair
2728         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2729         ParagraphList, fix a bug on pasting multiple pars
2730         * text2.C: change interface to C&P
2731
2732 2003-04-30  André Pönitz  <poenitz@gmx.net>
2733
2734         * undo_func.C: revert part of yesterday's patch 2
2735
2736 2003-04-30  John Levon  <levon@movementarian.org>
2737
2738         * LColor.C: s/tabular/table/
2739
2740 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2741
2742         * text3.C (dispatch): do not convert iterator -> pointer
2743         * undo_funcs.C (setCursorParUndo): ditto
2744         * text_funcs.C (transposeChars): ditto
2745
2746         * text2.C (setLayout): ws changes only
2747
2748         * text.C (breakParagraph): do not convert iterator -> pointer
2749         (insertChar): ditto
2750         (acceptChange): ditto
2751         (rejectChange): ditto
2752         (changeCase): ditto
2753         (Delete): ditto
2754         (backspace): ditto
2755
2756         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2757         pointer
2758
2759 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2760
2761         * text3.C (gotoInset): YABG (yet another bad getChar)
2762
2763 2003-04-29  André Pönitz  <poenitz@gmx.net>
2764
2765         * paragraph.h: make operator= private unimplemented as long as
2766           it is unusable
2767
2768         * ParagraphList.C: whitespace
2769
2770         * paragraph.[Ch]:
2771         * paragraph_pimpl.[Ch]:
2772         * paragraph_funcs.C:
2773         * CutAndPaste.C:
2774         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2775
2776         * text2.C:
2777           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2778
2779 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2780
2781         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2782         * paragraph.[Ch] (erase):
2783         * paragraph_pimpl.[Ch] (erase): change return type and value
2784         * text2.C (cutSelection): some rework
2785
2786 2003-04-28  John Levon  <levon@movementarian.org>
2787
2788         * bufferlist.C: changes for unsaved changes dialog
2789
2790 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2791
2792         * bufferlist.C (newFile): set language (messages_) for new
2793         documents also.
2794
2795         * buffer.C (readFile): ws changes only.
2796
2797 2003-04-28  André Pönitz  <poenitz@gmx.net>
2798
2799         * undo_funcs.C:
2800         * lyxfunc.C:
2801         * buffer.[Ch]:
2802         * BufferView_pimpl.C:
2803         * BufferView.C: getParFromID related ParagraphList::iterator changes
2804
2805 2003-04-28  André Pönitz  <poenitz@gmx.net>
2806
2807         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2808           Changes
2809
2810 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2811
2812         * messages.C: remove one more localedir class variable.
2813
2814 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2815
2816         * messages.C (getLocaleDir): singleton generation function
2817         (Pimpl): use it.
2818         (Messages): add a default constructor.
2819
2820         * main.C (main): do not setup localedir here, do not call
2821         gettext_init.
2822
2823         * gettext.C (_): use it.
2824         (gettext_init): delete funciton
2825
2826 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2827
2828         * gettext.C (getLyXMessages): new singleton generating function.
2829
2830         * buffer.C (updateDocLang): adjust
2831
2832         * Makefile.am (messages.o): add target
2833         (main.o): remove target
2834
2835 2003-04-27  John Levon  <levon@movementarian.org>
2836
2837         * bufferlist.C:
2838         * lyx_cb.C:
2839         * lyxfunc.C:
2840         * lyxvc.C: specify cancel button in Alert::prompt
2841
2842 2003-04-26  John Levon  <levon@movementarian.org>
2843
2844         * text3.C:
2845         * lyxfunc.C:
2846         * lfuns.h:
2847         * LyXAction.C: add LFUN_INSET_SETTINGS
2848
2849         * lyxfunc.C: don't enable tabular-feature when there's
2850         just any locking inset
2851
2852 2003-04-26  John Levon  <levon@movementarian.org>
2853
2854         * bufferlist.C: re-add Cancel to buffer close question
2855
2856         * lyxfunc.C: fix import UI a bit
2857
2858 2003-04-25  John Levon  <levon@movementarian.org>
2859
2860         * gettext.C: remove the broken asserts for now
2861
2862 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2863
2864         * messages.C: make case where setlocale cannot comply work better.
2865
2866         * buffer.C (updateDocLang): new function
2867         (changeLanguage): use it
2868         (readFile): use it
2869
2870         * text2.C (setCounter): use B_ a bit.
2871
2872         * lyxlayout.C (Read): be sure to trim the label strings.
2873
2874         * messages.C (Messages): fix typo in comment
2875
2876         * buffer.C (readFile): set message_ after file is loaded.
2877         (makeDocBookFile): remove double return
2878         (changeLanguage): reset message_ upon language change.
2879         (B_): new func, use this to get translated buffer strings.
2880
2881         * main.C: add myself and Jean Marc as authors.
2882
2883 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2884
2885         * messages.[hC]: pimplify Messages, and three different pimpls to be
2886         used in different circumstances.
2887
2888         * gettext.[Ch]: change for use with new message code.
2889
2890 2003-04-24 André Pönitz <poenitz@gmx.net>
2891
2892         * factory.C: support for eqref
2893
2894 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2895
2896         * messages.[Ch]: add missing char
2897
2898         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2899
2900         * messages.[Ch]: New files
2901
2902 2003-04-18  John Levon  <levon@movementarian.org>
2903
2904         * BufferView.h:
2905         * BufferView.C:
2906         * BufferView_pimpl.C:
2907         * lfuns.h:
2908         * LyXAction.C:
2909         * lyxtext.h:
2910         * text2.C: remove layout-copy/paste (bug 778)
2911
2912 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2913
2914         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2915
2916 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2917
2918         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2919         if they succeed. Act accordingly.
2920
2921 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * text2.C (setCharFont): adjust
2924         (setCounter): adjust
2925         (insertStringAsLines): adjust
2926
2927         * text.C (leftMargin): adjust
2928         (setHeightOfRow): adjust
2929
2930         * rowpainter.C (paintFirst): adjust
2931         (paintLast): adjust
2932
2933         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2934         (outerHook): ditto
2935         (isFirstInSequence): ditto
2936         (getEndLabel): ditto
2937         (outerFont): adjust
2938
2939         * paragraph.C (getParLanguage): comment out some hard stuff.
2940
2941         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2942         (sgmlError): ditto
2943         (simpleDocBookOnePar): ditto
2944         (makeDocBookFile): use ParagraphList::iterator
2945
2946         * CutAndPaste.C (pasteSelection): adjust
2947
2948 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2949
2950         * text2.C (getFont): adjust
2951         (getLayoutFont): adjust
2952         (getLabelFont): adjust
2953
2954         * paragraph_funcs.C (TeXOnePar): adjust
2955
2956         * buffer.C (simpleLinuxDocOnePar): adjust
2957         (simpleDocBookOnePar): adjust
2958
2959         * CutAndPaste.C (pasteSelection): adjust
2960
2961         * BufferView.C (getEncoding): adjust
2962
2963         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2964
2965 2003-04-16  John Levon  <levon@movementarian.org>
2966
2967         * lyxfind.C: use parlist stuff for search/changes
2968
2969 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2970
2971         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2972
2973         * text2.C (deleteEmptyParagraphMechanism): adjust
2974
2975         * text2.[Ch] (ownerParagraph): delete func (both of them
2976
2977 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2978
2979         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2980
2981 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2982
2983         * ParagraphList.C: prepare for NO_NEXT
2984
2985 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2986
2987         * text2.C (getFont): adjust
2988         (getLayoutFont): adjust
2989         (getLabelFont): adjust
2990
2991         * paragraph.C (getFont): adjust
2992         (getLabelFont): adjust
2993         (getLayoutFont): adjust
2994
2995         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2996
2997 2003-04-15  John Levon  <levon@movementarian.org>
2998
2999         From Angus Leeming
3000
3001         * lyx_main.C: handle Include in .ui files
3002
3003 2003-04-15  John Levon  <levon@movementarian.org>
3004
3005         * MenuBackend.C: make the doc files length shorter
3006
3007         * ToolbarBackend.h:
3008         * ToolbarBackend.C: handle toolbar placement flags,
3009         Minibuffer
3010
3011 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3012
3013         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3014         adjust
3015
3016         * paragraph_funcs.C (TeXOnePar): adjust
3017
3018         * paragraph.C (getLabelFont): add outerfont arg, adjust
3019         (getLayoutFont): ditto
3020         (simpleTeXOnePar): adjust
3021
3022         * paragraph_pimpl.C (realizeFont): delete func
3023
3024 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3025
3026         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3027         row argument, constify cur argument.
3028
3029 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3030
3031         * text2.C (getFont): adjust
3032         (getLayoutFont): adjust
3033         (getLabelFont): adjust
3034
3035         * paragraph_funcs.C (TeXOnePar): adjust
3036         (outerFont): new func...
3037         (realizeFont): ...moved out from here, changed this to facilitate
3038         transition
3039
3040         * paragraph.C (getFont): take outerfont as arg, adjust
3041         (simpleTeXOnePar): add outerfont arg, adjust
3042
3043         * buffer.C (simpleLinuxDocOnePar): adjust
3044         (simpleDocBookOnePar): adjust
3045
3046         * CutAndPaste.C (pasteSelection): adjust
3047
3048         * BufferView.C (getEncoding): adjust
3049
3050 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3051
3052         * text2.C (setCharFont): adjust
3053         (setCounter): adjust
3054
3055         * text.C (leftMargin): adjust
3056         (setHeightOfRow): adjust
3057
3058         * rowpainter.C (paintFirst): adjust
3059         (paintLast): adjust
3060
3061         * paragraph_pimpl.C (realizeFont): adjust
3062
3063         * paragraph.C (isFirstInSequence): move from here...
3064         * paragraph_funcs.C (isFirstInSequence): ...to here
3065
3066         * paragraph.C (outerHook): move from here...
3067         * paragraph_funcs.C (outerHook): ...to here
3068
3069         * paragraph.C (depthHook): move from here...
3070         * paragraph_funcs.C (depthHook): ...to here
3071
3072         * paragraph.C (getEndLabel): move from here...
3073         * paragraph_funcs.C (getEndLabel): ...to here
3074
3075         * text2.C (realizeFont): move from here...
3076         * paragraph_funcs.C (realizeFont): ...to here
3077
3078 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3079
3080         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3081
3082 2003-04-14  Angus Leeming  <leeming@lyx.org>
3083
3084         * LColor.[Ch]: scrap LColor mathcursor.
3085
3086 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3087
3088         * lyxlex.[Ch] (text): delete function
3089         * trans.C (Load): adjust
3090         * paragraph_funcs.C (readParToken): adjust
3091
3092 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3093
3094         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3095         vector<char> instead of a char[].
3096
3097         * lyxlex_pimpl.C (getString): adjust
3098         (next): adjust
3099         (lex): use getString
3100         (eatLine): adjust
3101         (nextToken): adjust
3102
3103         * lyxlex.C (text): use pimpl_->getString()
3104         (getBool): ditto
3105         (findToken): ditto
3106
3107 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3108
3109         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3110         (makeFontEntriesLayoutSpecific): temp var for par.size()
3111         (setLayout): temp var for ownerParagraphs().end()
3112         (fullRebreak): temp var for rows().end()
3113         (selectionAsString): temp var for boost::next(startpit), realize
3114         that the while really is a regular for loop.
3115         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3116         setCursor in one place.
3117         (setParagraph): temp vr for ownerParagraphs().end()
3118         (updateCounters): make the while loop a for loop
3119         (cutSelection): temp var for ownerParagraphs().end()
3120         (updateInset): make the do {} while() a regular for loop
3121         (getCursorX): use temp vars
3122         (setCurrentFont): use temp vars
3123         (getColumnNearX): use temp vars
3124
3125 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3126
3127         * text.C (transformChar): use temp var for getChar
3128         (computeBidiTables): use temp var for row->par()
3129         (fill): move temp vars for row->par() and pit->layout() earlier in
3130         the function.
3131         (labelFill): use temp var for row->par()
3132         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3133         asc and desc, realize that pit never changes and that firstpit is
3134         just a duplicate and not needed. Exchange rit->par() with pit in a
3135         lot of places.
3136         (breakAgain): use a temp var for boost::next(rit)
3137         (breakAgainOneRow): ditto
3138         (breakParagraph): use a temp var for rows().begin()
3139         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3140         (cursorRightOneWord): use temp var for cursor.par() and
3141         cursor.pos(), remove usage of tmpcursor.
3142         (cursorLeftOneWord): use temp var for cursor.par() and
3143         cursor.pos() only set cur at end of function.
3144
3145 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3146
3147         * text.C, text2.C: exchange all usage of Paragraph::next with
3148         boost::next(ParagraphList::iterator)
3149
3150         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3151
3152         * text2.C (cursorTop): simplify implementation
3153         (cursorBottom): ditto
3154         (setParagraph): use ParagraphList::iterator
3155         (setCurrentFont): adjust
3156         (getColumnNearX): adjust
3157         (cursorRight): adjust
3158         (cursorLeft): remove usage of Paragraph::previous
3159         (cursorUpParagraph): ditto
3160         (deleteEmptyParagraphMechanism): slight cleanup
3161
3162         * text.C (isBoundary): take a Paragraph const & instead of a
3163         pointer as arg.
3164         (addressBreakPoint): ditto
3165         (leftMargin): remove usage of Paragraph::previous.
3166         (setHeightOfRow): ditto
3167         (cursorLeftOneWord): ditto
3168         (selectNextWordToSpellcheck): ditto
3169         (Delete): ditto
3170         (backspace): ditto
3171         (breakParagraph): remove one usage of Paragraph::next
3172         (redoParagraph): ditto
3173         (acceptChange): ditto
3174         (insertChar): adjust
3175         (rowBreakPoint): adjust
3176
3177         * bufferview_funcs.C (toggleAndShow): adjust
3178
3179 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3180
3181         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3182         methods to access it.
3183         * lyxtext.h:
3184         * text.C: Added updateRowPositions to compute all row positions.
3185         Make top_y and getRowNearY() to use the cached y position
3186
3187 2003-04-11  John Levon  <levon@movementarian.org>
3188
3189         * text.C (rowBreakPoint): reintroduce the labelEnd
3190         checks, code copied from the row fill stuff. Deep voodoo.
3191
3192         * text.C (fill): add a comment and debugging for the
3193         next poor soul.
3194
3195 2003-04-11  John Levon  <levon@movementarian.org>
3196
3197         * text.C: make sure fullrow insets get wrapped to the next line,
3198         even when they're in a manual label
3199
3200 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3201
3202         * text2.C (insertParagraph): make it take ParagraphList::iterator
3203         as arg.
3204         (setLayout): make it return ParagraphList::iterator
3205         (redoParagraphs): ditto
3206         (setCounter): ditto
3207         (checkParagraph): ditto
3208
3209         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3210
3211         * text2.C: adjust several funcs.
3212         (realizeFont): take a ParagraphList::iterator as arg.
3213         (getLayoutFont): ditto
3214         (getLabelFont): ditto
3215         (setCharFont): ditto
3216
3217         * text.C: adjust several funcs.
3218
3219 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3220
3221         * text.C (selectNextWordToSpellcheck): don't accidentally
3222         skip insets
3223
3224 2003-04-10  John Levon  <levon@movementarian.org>
3225
3226         * ToolbarBackend.C (getIcon): special handling for
3227         LFUN_MATH_DELIM
3228
3229 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3230
3231         * text2.C (cursorRight): a getChar assert fixed
3232
3233 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3234
3235         * text2.C (getFont): change to take a ParagraphList::iterator
3236         instead of Paragraph*
3237         Adjust several functions.
3238
3239         * text.C (transformChar): change to take a ParagraphList::iterator
3240         instead of Paragraph*
3241         (singleWidth): ditto
3242         Adjust several functions.
3243
3244         * rowpainter.C: adjust several functions
3245         * rowpainter.h:store a ParagraphList::iterator and not a
3246         Paragraph&.
3247
3248
3249 2003-04-09  John Levon  <levon@movementarian.org>
3250
3251         * lyxfunc.C:
3252         * lfuns.h:
3253         * LyXAction.h:
3254         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3255         and the "help" bits as well
3256
3257 2003-04-09  John Levon  <levon@movementarian.org>
3258
3259         * ToolbarBackend.h:
3260         * ToolbarBackend.C: allow multiple toolbars
3261
3262 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3263
3264         * undo_funcs.C (setCursorParUndo): adjust
3265
3266         * text_funcs.C (transposeChars): adjust
3267
3268         * text3.C (gotoNextInset): adjust
3269         (dispatch): adjust
3270
3271         * text2.C (setLayout): adjust
3272         (changeDepth): adjust
3273         (setFont): adjust
3274         (redoParagraphs): adjust
3275         (selectionAsString): adjust
3276         (setParagraph): adjust
3277         (insertInset): adjust
3278         (cutSelection): adjust
3279         (copySelection): adjust
3280         (pasteSelection): adjust
3281         (insertStringAsLines): adjust
3282         (updateInset): adjust
3283         (setCursor): change to take a ParagraphList::iterator parameter
3284         (setCursorIntern): change to take a ParagraphList::iterator parameter
3285         (setCurrentFont): adjust
3286         (cursorLeft): adjust
3287         (cursorRight): adjust
3288         (deleteEmptyParagraphMechanism): adjust
3289
3290         * text.C (breakParagraph): adjust
3291         (insertChar): adjust
3292         (acceptChange): adjust
3293         (rejectChange): adjust
3294         (selectNextWordToSpellcheck): adjust
3295         (changeCase): adjust
3296         (Delete): adjust
3297         (backspace): adjust
3298
3299         * lyxfind.C (SearchForward): adjust
3300         (SearchBackward): adjust
3301         (nextChange): adjust
3302
3303         * lyxcursor.C (par): adjust
3304
3305         * lyxcursor.h: store a ParagraphList::iterator instead of a
3306         Paragraph*
3307
3308         * lyx_cb.C (getPossibleLabel): adjust
3309
3310         * bufferview_funcs.C (toggleAndShow): adjust
3311
3312         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3313         (dispatch): adjust
3314
3315         * BufferView.C (removeAutoInsets): adjust
3316         (lockedInsetStoreUndo): adjust
3317
3318 2003-04-09  John Levon  <levon@movementarian.org>
3319
3320         * ToolbarBackend.C: try icon without argument
3321         if with argument fails
3322
3323 2003-04-08  John Levon  <levon@movementarian.org>
3324
3325         * ToolbarBackend.h:
3326         * ToolbarBackend.C: add getIcon(), handle tooltip,
3327         and change from "Icon" to "Item".
3328
3329 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3330
3331         * BufferView.C (lockInset): another bad getchar crunched
3332
3333 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3334
3335         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3336         again)
3337
3338 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3339
3340         * lyxfind.C (searchForward, searchBackwards): bug 782
3341
3342 2003-04-07  John Levon  <levon@movementarian.org>
3343
3344         * paragraph.C: remove dead comment
3345
3346         * text.C: remove troublesome depth-fiddling code
3347         in leftMargin() and rightMargin() (bug 1017)
3348
3349         * text.C: fix breaking of rows in nested lists
3350         (bug 1004)
3351
3352         * text2.C (updateCounters): fix up depth values
3353         (bug 1013)
3354
3355 2003-04-07  John Levon  <levon@movementarian.org>
3356
3357         * BufferView_pimpl.C: clear message when doc finishes resizing,
3358         and after a mouse event
3359
3360         * lyxfunc.C: clear message after exiting inset
3361
3362 2003-04-07  John Levon  <levon@movementarian.org>
3363
3364         * bufferview_funcs.C: show math status not outside
3365         status in the statusbar
3366
3367 2003-04-07  John Levon  <levon@movementarian.org>
3368
3369         * lyxfunc.C: note status changed after a depth change
3370
3371 2003-04-04  Angus Leeming  <leeming@lyx.org>
3372
3373         * LaTeX.h: move AuxInfo operator==, != out of line.
3374         Remove LaTeX virtual destructor; nothing derives from it.
3375         Move operator()() out of public area and rename it startscript().
3376         Change protected for private.
3377
3378 2003-04-04  Angus Leeming  <leeming@lyx.org>
3379
3380         * lyxfunc.C:
3381         * text2.C: remove unneeded #includes.
3382
3383 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3384
3385         * text2.C (dEPM): fix the heigth of the next row
3386
3387 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3388
3389         * text.C: squashed an invalid getChar requester + some ws changes
3390
3391 2003-04-03  John Levon  <levon@movementarian.org>
3392
3393         * bufferview_funcs.h:
3394         * bufferview_funcs.C:
3395         * lyxfunc.C:
3396         * lyxtext.h:
3397         * text2.C: make getStatus work for the env depth lfuns
3398
3399 2003-04-03  John Levon  <levon@movementarian.org>
3400
3401         * bufferview_funcs.h:
3402         * bufferview_funcs.C:
3403         * lyxfunc.C:
3404         * lyxtext.h:
3405         * text2.C: parlistize decDepth(), by merging it with incDepth()
3406
3407 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3408
3409         * lyxrow.h: store a ParagraphList::iterator instead of a
3410         Paragraph* and adjust other class functions to suit.
3411
3412         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3413         above.
3414
3415 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3416
3417         * text2.C (setCursor): do not anchor to cursor row for the time being
3418
3419 2003-04-02  John Levon  <levon@movementarian.org>
3420
3421         * LyXAction.C:
3422         * lfuns.h:
3423         * lyx_main.C:
3424         * lyxtext.h:
3425         * text.C:
3426         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3427
3428 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3429
3430         * paragraph.h: make ParagraphList and ParagraphList::iterator
3431         friends of Paragraph.
3432
3433         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3434
3435         * ParagraphList.C: Use the private next_ and previous_ from
3436         Paragraph.
3437
3438 2003-04-01  John Levon  <levon@movementarian.org>
3439
3440         * ToolbarBackend.h:
3441         * ToolbarBackend.C:
3442         * Makefile.am: rename, remove defaults gunk
3443
3444         * MenuBackend.h:
3445         * MenuBackend.C: remove defaults gunk
3446
3447         * Languages.h:
3448         * Languages.C: remove defaults gunk
3449
3450         * lyx_main.h:
3451         * lyx_main.C: error out if files couldn't be found.
3452
3453 2003-04-02  John Levon  <levon@movementarian.org>
3454
3455         * text2.C: make incDepth() use parlist
3456
3457 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3458
3459         * undo_funcs.C (firstUndoParagraph): adjust
3460
3461         * text3.C (gotoInset): adjust
3462         (dispatch): adjust, and rewrite loop.
3463
3464         * text2.C (init): adjust, and rewrite loop.
3465         (redoParagraphs): adjust
3466         (updateInset): adjust, and rewrite loop.
3467         (deleteEmptyParagraphMechanism): adjust
3468
3469         * tabular.C (LyXTabular): adjust
3470         (SetMultiColumn): adjust
3471         (TeXRow): adjust
3472
3473         * lyxtext.[Ch] (ownerParagraph): delete function
3474         (ownerParagraphs): new function returns a ParagraphList.
3475
3476         * BufferView.C (removeAutoInsets): adjust
3477         (insertErrors): adjust
3478         (setCursorFromRow): adjust
3479
3480 2003-04-01  Angus Leeming  <leeming@lyx.org>
3481
3482         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3483         in the frontends.
3484
3485 2003-04-02  John Levon  <levon@movementarian.org>
3486
3487         * lyxtext.h:
3488         * text.C:
3489         * Makefile.am:
3490         * text_funcs.h:
3491         * text_funcs.C: make transposeChars a free function
3492
3493         * lyxrow_funcs.C: remove wrong comment
3494
3495 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3496
3497         * lyxtext.h: adjust
3498         * rowpainter.C: adjust
3499         * text.C: adjust
3500         * text2.C: adjust
3501         * text3.C: adjust
3502
3503         * lyxrow_funcs. [Ch]: new files
3504
3505         * lyxrow.[Ch]: remove next and previous pointers
3506         (next,previous): remove accessor functions
3507         (isParEnd): move to lyxrow_funcs
3508         (lastPos): move to lyxrow_funcs
3509         (nextRowIsAllInset): move to lyxrow_funcs
3510         (lastPrintablePos): move to lyxrow_funcs
3511         (numberOfSeparators): move to lyxrow_funcs
3512         (numberOfHfills): move to lyxrow_funcs
3513         (numberOfLabelHfills): move to lyxrow_funcs
3514         (hfillExpansion): move to lyxrow_funcs
3515
3516         * lyxfunc.C: adjust
3517
3518         * bufferview_funcs.C (toggleAndShow): adjust
3519
3520         * RowList.h: Remove class RowList from file leave just a
3521         std::list<Row>.
3522
3523         * RowList.C: delete file
3524
3525         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3526         and lyxrow_funcs.h
3527
3528 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3529
3530         * text3.C (cursorPrevious): adjust
3531         (cursorNext): adjust
3532         (dispatch): adjust
3533
3534         * text2.C (redoHeightOfParagraph): adjust
3535         (redoDrawingOfParagraph): adjust
3536         (setCursor): adjust
3537
3538         * text.C (breakParagraph): adjust
3539         (insertChar): adjust
3540         (backspace): adjust
3541
3542         * rowpainter.C (RowPainter): adjust
3543         (leftMargin): simplify and adjust
3544         (most rowpainter functions): adjust.
3545
3546         * rowpainter.h: store the row as RowList::iterator not as Row*
3547
3548         * lyxcursor.C (row): taka RowList::iterator as arg
3549         (irow): ditto
3550
3551         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3552         of Row*.
3553
3554 2003-04-01  Angus Leeming  <leeming@lyx.org>
3555
3556         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3557         stuff like bool Bool.
3558
3559 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3560
3561         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3562         rewrite a loop
3563
3564 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3565
3566         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3567         RowList::iterator.
3568
3569         * lyxtext.h (rows): drop one version and leve a const variant that
3570         returns a RowList::iterator.
3571
3572 2003-03-31  Angus Leeming  <leeming@lyx.org>
3573
3574         * text.C (fill): ensure that the signature is the same as that in the
3575         header file.
3576
3577 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3578
3579         * text2.C (redoParagraphs): adjust
3580         (updateCounters): adjust
3581         (checkParagraph): adjust
3582         (getColumnNearX): adjust and reformat a bit.
3583
3584         * text.C (top_y): adjust
3585         (workWidth): adjust
3586         (leftMargin): adjust
3587         (prepareToPrint): adjust
3588         (getRow): adjust
3589         (getRowNearY): adjust
3590
3591         * lyxtext.h: make rowlist_ mutable.
3592
3593         * RowList.h: add const_iterator
3594         * RowList.C: adjust for RowList::const_iterator.
3595
3596         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3597         adjust.
3598
3599 2003-03-31  John Levon  <levon@movementarian.org>
3600
3601         * lyxrc.h:
3602         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3603
3604         * lyx_main.C: set default fonts from using lyx_gui funcs
3605
3606         * exporter.C: pdf_mode moved from lyxrc
3607
3608         * lyx_cb.C:
3609         * lyxfunc.C: changes from above
3610
3611 2003-03-31  John Levon  <levon@movementarian.org>
3612
3613         * lyx_main.C: fix to the last fix
3614
3615 2003-03-31  John Levon  <levon@movementarian.org>
3616
3617         * bufferlist.C: "Load original" -> "Load Original"
3618
3619         * converter.C:
3620         * exporter.C:
3621         * importer.C:
3622         * lyx_main.C:
3623         * format.C: more Alert cleanups
3624
3625 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3626
3627         * text2.C (removeParagraph): make it take a RowList::iterator as
3628         arg, adjust.
3629         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3630         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3631
3632         * text.C (anchor_row): make it take a RowList::iterator as arg,
3633         adjust.
3634         (computeBidiTables): make it take a const reference to Row instead
3635         of Row pointer, adjust.
3636         (leftMargin): make it take a RowList::iterator as arg, adjust.
3637         (rowBreakPoint): adjust
3638         (breakAgainOneRow): make it take a RowList::iterator as arg,
3639         adjust.
3640         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3641
3642         * bufferview_funcs.C (toggleAndShow): adjust
3643
3644 2003-03-30  John Levon  <levon@movementarian.org>
3645
3646         * Makefile.am:
3647         * BoostFormat.h:
3648         * boost-inst.C: moved to support
3649
3650         * several files: changes as a result
3651
3652 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3653
3654         * text2.C (LyXText): adjust.
3655         (init): adjust
3656         (removeRow): make it take a RowList::iterator as arg, adjust.
3657         (fullRebreak): adjust
3658         (deleteEmptyParagraphMechanism): adjust
3659         (clearPaint): adjust
3660         (postPaint): adjust
3661
3662         * text.C (top_y): adjust
3663         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3664         (breakAgain): make it take a RowList::iterator as arg, adjust.
3665         (breakParagraph): adjust
3666         (insertChar): adjust
3667         (backspace): adjust
3668
3669         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3670         need_break_row, and refresh_row.
3671
3672         * text3.C (dispatch): adjust
3673
3674         * text2.C (checkParagraph): adjust
3675         (setCursor): adjust
3676         (setCursorFromCoordinates): adjust
3677
3678         * text.C (top_y): adjust
3679         (workWidth): adjust
3680         (getRow): make it return a RowList::iterator, adjust
3681         (getRowNearY): make it return a RowList::iterator, adjust
3682
3683         * text2.C (init): adjust
3684         (insertRow): remove function
3685         (insertParagraph): adjust
3686         (redoParagraphs): adjust
3687         (fullRebreak): adjust
3688         (updateCounters): adjust
3689
3690         * text.C (top_y): rewrite to use RowList iterators.
3691         (top_y): adjust
3692         (setHeightOfRow): rewrite to sue RowList iterators.
3693         (appendParagraph): adjust
3694         (breakAgain): adjust
3695         (breakAgainOneRow): adjust
3696         (breakParagraph): adjust
3697         (getRow): adjust
3698         (getRowNearY): adjust, and remove commented code.
3699
3700         * lyxtext.h (firstRow): delete function
3701         (lastRow): delete function
3702         (rows): new function (const and non-const versions.)
3703         (insertRow): delete function
3704
3705         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3706
3707 2003-03-29  John Levon  <levon@movementarian.org>
3708
3709         * BufferView_pimpl.C: always update scrollbar top
3710         because pasting text when we're anchored could mean we
3711         miss an update altogether
3712
3713 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3714
3715         * text2.C (init): use rowlist_.end() and not 0.
3716         (insertRow): change to take a RowList::iterator as arg, adjust
3717         for this.
3718         (insertParagraph): change to take a RowList::iterator as arg,
3719         adjust for this.
3720         (redoParagraphs): remove some debug msgs.
3721
3722         * text.C (appendParagraph): change to take a RowList::iterator
3723         arg, adjust for this.
3724         (breakAgain): add an assert
3725         (breakAgainOneRow): ditto
3726
3727 2003-03-29  John Levon  <levon@movementarian.org>
3728
3729         * text2.C: do not clear selection after inc/decDepth
3730         (bug 550)
3731
3732 2003-03-29  John Levon  <levon@movementarian.org>
3733
3734         * BufferView.C:
3735         * buffer.C: fix broken strerrors according to Lars
3736
3737 2003-03-29  John Levon  <levon@movementarian.org>
3738
3739         * converters.C: more Alert cleanups
3740
3741 2003-03-29  John Levon  <levon@movementarian.org>
3742
3743         * bufferview_funcs.C: remove pointless Alert
3744
3745         * buffer.C: fix confusing error message when
3746         a template is chmoded 000
3747
3748 2003-03-29  John Levon  <levon@movementarian.org>
3749
3750         * BufferView.C:
3751         * BufferView.h:
3752         * BufferView_pimpl.C: Alert fixes
3753
3754         * Makefile.am:
3755         * tabular.C:
3756         * tabular-old.C: remove unused table compat reading
3757
3758 2003-03-29  John Levon  <levon@movementarian.org>
3759
3760         * BufferView.C:
3761         * buffer.C:
3762         * lyx_cb.h:
3763         * lyx_cb.C: more Alert cleanups
3764
3765         * lyxfunc.C: don't allow chktex if not latex document
3766
3767 2003-03-29  John Levon  <levon@movementarian.org>
3768
3769         * lyx_cb.C:
3770         * BufferView.C:
3771         * buffer.C: warnings pushed down from support/,
3772         kill err_alert
3773
3774 2003-03-29  John Levon  <levon@movementarian.org>
3775
3776         * lyxfunc.C: safety check for C-r (revert)
3777
3778 2003-03-29  John Levon  <levon@movementarian.org>
3779
3780         * bufferlist.h:
3781         * bufferlist.C: several UI fixes using Alert::prompt.
3782         Fix the pointless looping quit code. Fix stupid revert
3783         behaviour (bug 938)
3784
3785         * lyxvc.h:
3786         * lyxvc.C:
3787         * lyx_cb.C: use Alert::prompt
3788
3789         * lyx_main.C: remove a silly question
3790
3791         * lyxfunc.C: remove a couple of silly questions,
3792         use Alert::prompt
3793
3794 2003-03-28  John Levon  <levon@movementarian.org>
3795
3796         * text2.C: fix bug 974 (End on empty par)
3797
3798 2003-03-28  John Levon  <levon@movementarian.org>
3799
3800         * BufferView_pimpl.C:
3801         * LyXAction.C:
3802         * lfuns.h: remove do-nothing math greek lfuns
3803
3804 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * lyxgluelength.h (isValidGlueLength): add default arg on
3807         parameter 2. Remove default arg from friend in class.
3808
3809         * lyxlength.h (isValidLength): add default arg on parameter 2.
3810         Remove default arg from friend in class.
3811
3812         * text2.C (LyXText): adjust, initialize refresh_row.
3813         (init): adjust
3814         (removeRow): adjust
3815         (insertRow): adjust
3816         (insertParagraph): adjst
3817         (redoParagraphs): adjust
3818         (fullRebreak): adjust
3819         (updateCounters): adjust
3820         (deleteEmptyParagraphMechanism): first attempt at fixing a
3821         crashing bug.
3822
3823         * text.C (top_y): adjust
3824         (setHeightOfRow): adjust
3825         (getRow): adjust
3826         (getRowNearY): adjust
3827
3828         * lyxtext.h: include RowList.h
3829         (~LyXText): not needed anymore, deleted.
3830         (firstRow): modify for RowList
3831         (lastRow): new function
3832         Delete firstrow and lastrow class variables, add a Rowlist
3833         rowlist_ class variable.
3834
3835         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3836         paragraph is empty.
3837
3838         * RowList.C (insert): fix case where it == begin().
3839
3840 2003-03-26  Angus Leeming  <leeming@lyx.org>
3841
3842         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3843         the thesaurus dialog.
3844
3845 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3846
3847         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3848
3849         * RowList.[Ch]: new files
3850
3851         * ParagraphList.C (erase): handle the case where it == begin
3852         correctly.
3853
3854 2003-03-25  John Levon  <levon@movementarian.org>
3855
3856         * Makefile.am:
3857         * aspell_local.h:
3858         * aspell.C: add new aspell support
3859
3860         * lyxrc.h:
3861         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3862         have it accessible.
3863
3864 2003-03-25  Angus Leeming  <leeming@lyx.org>
3865
3866         * lfuns.h:
3867         * LyXAction.C (init): new LFUN_INSET_INSERT.
3868
3869         * BufferView_pimpl.C (dispatch): split out part of the
3870         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3871
3872         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3873         LFUN_INSET_APPLY.
3874
3875 2003-03-25  Angus Leeming  <leeming@lyx.org>
3876
3877         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3878
3879 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3880
3881         * text2.C:
3882         * text3.C: remove useless row->height(0)
3883
3884 2003-03-25  John Levon  <levon@movementarian.org>
3885
3886         * lyxtext.h:
3887         * text2.C:
3888         * text3.C: rename the refreshing stuff to better names
3889
3890 2003-03-24  John Levon  <levon@movementarian.org>
3891
3892         * BufferView_pimpl.h:
3893         * BufferView_pimpl.C: update layout choice on a mouse
3894         press/release
3895
3896 2003-03-23  John Levon  <levon@movementarian.org>
3897
3898         * Makefile.am: fix commandtags.h reference
3899
3900 2003-03-22  John Levon  <levon@movementarian.org>
3901
3902         * BufferView_pimpl.C:
3903         * lyxtext.h:
3904         * rowpainter.C:
3905         * rowpainter.h:
3906         * text.C:
3907         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3908
3909 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3910
3911         * lyxtext.h:
3912         * text.C: take the rtl methods out of line
3913
3914 2003-03-21 André Pönitz <poenitz@gmx.net>
3915
3916         * metricsinfo.[Ch]: new files containing structures to be passed around
3917         during the two-phase-drawing...
3918
3919 2003-03-21 André Pönitz <poenitz@gmx.net>
3920
3921         * lyxtextclass.C: read 'environment' tag.
3922
3923 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3924
3925         * text2.C (removeRow): fix bug 964
3926
3927 2003-03-20  John Levon  <levon@movementarian.org>
3928
3929         * rowpainter.C:
3930         * text.C:
3931         * text2.C: paint cleanups. Inset::update() dropped font
3932         parameter
3933
3934 2003-03-19  John Levon  <levon@movementarian.org>
3935
3936         * lyxfunc.C: only fitcursor/markDirty if available()
3937
3938 2003-03-19  John Levon  <levon@movementarian.org>
3939
3940         * commandtags.h: rename to ...
3941
3942         * lfuns.h: ... this, and renumber / cleanup
3943
3944 2003-03-19  John Levon  <levon@movementarian.org>
3945
3946         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3947         fit the cursor after an lfun
3948
3949         * BufferView.h:
3950         * BufferView.C:
3951         * BufferView_pimpl.h:
3952         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3953
3954         * LyXAction.C: layout-character should have ReadOnly
3955
3956         * ParagraphParameters.C:
3957         * buffer.C:
3958         * bufferview_funcs.C:
3959         * lyx_cb.C:
3960         * lyxfind.C:
3961         * lyxtext.h:
3962         * text.C:
3963         * text2.C:
3964         * text3.C:
3965         * undo_funcs.C: changes from above
3966
3967 2003-03-18  John Levon  <levon@movementarian.org>
3968
3969         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3970         remove it from update()
3971
3972         * lyxfunc.C: update layout choice after an lfun
3973
3974         * text3.C: remove extra updateLayoutChoice()s
3975
3976 2003-03-18  John Levon  <levon@movementarian.org>
3977
3978         * text.C: top_y change means full repaint, fix
3979         a drawing bug with cursor movement
3980
3981 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3982
3983         * lyxtext.h:
3984         * text.C:
3985         * text2.C: anchor row on setCursor
3986
3987 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3988
3989         * lyxtext.h: remove almost all mutable keywords
3990         * text.C:
3991         * text2.C:
3992         * text3.C: remove const keywords accordingly
3993
3994 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3995
3996         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3997         anon namespace
3998         (TeXEnvironment): ditto
3999         (TeXOnePar): ditto
4000
4001 2003-03-17  John Levon  <levon@movementarian.org>
4002
4003         * text.C (rowBreakPoint): remove attempt to fix displayed
4004         math insets inside a manual label
4005
4006 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4007
4008         * lyxtext.h: remove BufferView* as first arg from almost all class
4009         functions.
4010         * other files: adjust.
4011
4012 2003-03-17  John Levon  <levon@movementarian.org>
4013
4014         * lyxtext.h:
4015         * undo_funcs.C:
4016         * text2.C: more paint cleanups
4017
4018         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4019
4020         * rowpainter.h:
4021         * rowpainter.C: remove "smart" background painting code
4022
4023 2003-03-16  John Levon  <levon@movementarian.org>
4024
4025         * lyxtext.h:
4026         * text.C:
4027         * text2.C:
4028         * text3.C: add helper functions for setting refresh_row/y
4029
4030 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4031
4032         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4033         newline inset which *can* get inserted in the pass_thru layouts.
4034         This is primarily for literate documents.
4035
4036 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4037
4038         * buffer.C: increment LYX_FORMAT to 223
4039
4040 2003-03-14 André Pönitz <poenitz@gmx.net>
4041
4042         * textclass.h: prepare for environment handling, ws changes
4043         * lyxlayout.C: read latexheader and latexfooter tags
4044
4045 2003-03-14  John Levon  <levon@movementarian.org>
4046
4047         * text2.C: rewrite ::status() a bit
4048
4049 2003-03-13  John Levon  <levon@movementarian.org>
4050
4051         * lyxtext.h: add some docs
4052
4053 2003-03-13  John Levon  <levon@movementarian.org>
4054
4055         * lyxtext.h:
4056         * text.C:
4057         * text2.C:
4058         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4059
4060 2003-03-13  John Levon  <levon@movementarian.org>
4061
4062         * text3.C: fix appendix redrawing
4063
4064 2003-03-13  John Levon  <levon@movementarian.org>
4065
4066         * text.C (setHeightOfRow):
4067         * rowpainter.h:
4068         * rowpainter.C: make appendix mark have the text
4069           "Appendix" so the user knows what it is
4070
4071         * LColor.h:
4072         * LColor.C: s/appendixline/appendix/ from above
4073
4074 2003-03-13  John Levon  <levon@movementarian.org>
4075
4076         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4077
4078         * text.C: fix a getChar(pos) bug properly
4079
4080 2003-03-13  Angus Leeming  <leeming@lyx.org>
4081
4082         * commandtags.h:
4083         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4084         Probably only temporary. Let's see how things pan out.
4085
4086         * BufferView.C (unlockInset):
4087         * BufferView_pimpl.C (fitCursor):
4088         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4089
4090         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4091         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4092
4093         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4094         new functions that convert ParagraphParameters to and from a string.
4095
4096         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4097         BufferView::Pimpl's dispatch.
4098         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4099
4100 2003-03-13 André Pönitz <poenitz@gmx.net>
4101
4102         * lyxfunc.C:
4103         * text3.C:
4104         * factory.C: make it aware of InsetEnv
4105
4106 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4107
4108         * text2.C (setCursor): never ask for one past last
4109         (setCursor): add some debugging messages.
4110
4111         * text.C (singleWidth): never ask for one past last
4112         (singleWidth): ditto
4113         (leftMargin): ditto
4114         (rightMargin): ditto
4115         (rowBreakPoint): ditto
4116         (setHeightOfRow): ditto
4117         (prepareToPrint): ditto
4118
4119         * rowpainter.C (paintBackground): never ask for one past last
4120         (paintText): never ask for one past last
4121
4122         * paragraph_pimpl.C (getChar): make the assert stricter, never
4123         allow the one past last pos to be taken
4124
4125         * paragraph.C (getChar): ws changes only
4126
4127         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4128         (numberOfSeparators): ditto
4129         (numberOfHfills): ditto
4130
4131 2003-03-12  John Levon  <levon@movementarian.org>
4132
4133         * author.h:
4134         * author.C:
4135         * bufferparams.h:
4136         * bufferparams.C:
4137         * paragraph_funcs.C: fix per-buffer authorlists
4138
4139 2003-03-12  John Levon  <levon@movementarian.org>
4140
4141         * text.C: fix newline in right address
4142
4143 2003-03-12  Angus Leeming  <leeming@lyx.org>
4144
4145         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4146         duplicate those in LyXFunc::dispatch.
4147
4148         * commandtags.h:
4149         * LyXAction.C:
4150         * ToolbarDefaults.C:
4151         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4152         Add LFUN_FONTFREE_UPDATE.
4153
4154         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4155         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4156
4157         * bufferview_func.[Ch]: several new functions to facilliate
4158         transfer of data to and from the character dialog.
4159
4160 2003-03-12  John Levon  <levon@movementarian.org>
4161
4162         * buffer.C:
4163         * paragraph.h:
4164         * paragraph.C:
4165         * paragraph_funcs.C:
4166         * paragraph_pimpl.C:
4167         * sgml.C:
4168         * tabular.C:
4169         * text.C:
4170         * text3.C: remove META_NEWLINE in favour of an inset
4171
4172         * rowpainter.h:
4173         * rowpainter.C: remove paintNewline (done by inset)
4174
4175 2003-03-12  John Levon  <levon@movementarian.org>
4176
4177         * paragraph_pimpl.C: complain about bad getChar()s
4178         for a while at least
4179
4180 2003-03-12  John Levon  <levon@movementarian.org>
4181
4182         * buffer.h:
4183         * buffer.C: move paragraph read into a separate function,
4184         a little renaming to reflect that.
4185
4186         * bufferparams.h:
4187         * bufferparams.C: remove the author_ids map, not necessary now
4188
4189         * factory.h:
4190         * factory.C: moved Buffer::readInset to here
4191
4192         * paragraph_funcs.h:
4193         * paragraph_funcs.C: readParagraph free function moved from
4194         buffer.C
4195
4196         * tabular.C: name change
4197
4198 2003-03-12  John Levon  <levon@movementarian.org>
4199
4200         * buffer.C:
4201         * ParagraphParameters.C: move par params input to
4202         a read() method
4203
4204         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4205         behave like a normal read from the stream wrt reading
4206         a line vs. a \\token
4207
4208 2003-03-12  John Levon  <levon@movementarian.org>
4209
4210         * paragraph.C:
4211         * ParagraphParameters.h:
4212         * ParagraphParameters.C: move output code to a
4213         ::write() method
4214
4215 2003-03-12  John Levon  <levon@movementarian.org>
4216
4217         * BufferView.C (insertLyXFile):
4218         * buffer.h:
4219         * buffer.C:
4220         * tabular.C: use a parlist iterator for creating the
4221           document.
4222
4223 2003-03-12  John Levon  <levon@movementarian.org>
4224
4225         * buffer.C: make current_change static local not
4226           static file-scope
4227
4228 2003-03-12  John Levon  <levon@movementarian.org>
4229
4230         * buffer.C: fix insertStringAsLines for change tracking
4231
4232 2003-03-12  John Levon  <levon@movementarian.org>
4233
4234         * BufferView.C:
4235         * tabular.C:
4236         * buffer.h:
4237         * buffer.C:
4238         * bufferparams.h:
4239         * bufferparams.C: move author list into params. Rename some
4240           functions. Move the header reading into a separate token
4241           loop. Move the header token reading into BufferParams.
4242
4243 2003-03-12  John Levon  <levon@movementarian.org>
4244
4245         * changes.C: put debug inside lyxerr.debugging() checks
4246
4247 2003-03-11 André Pönitz <poenitz@gmx.net>
4248
4249         * factory.C: make it aware of InsetHFill
4250
4251 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4252
4253         * buffer.C (latexParagraphs): move function from here...
4254         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4255         args.
4256
4257 2003-03-10  Angus Leeming  <leeming@lyx.org>
4258
4259         * LyXAction.C (init): fix bug in poplating array with multiple entries
4260         with the same LFUN (spotted by JMarc).
4261
4262 2003-03-10  John Levon  <levon@movementarian.org>
4263
4264         * text.C:
4265         * text2.C: move getColumnNearX() near its
4266         only call site
4267
4268 2003-03-10  John Levon  <levon@movementarian.org>
4269
4270         * text.C: fix break before a minipage
4271
4272 2003-03-10  John Levon  <levon@movementarian.org>
4273
4274         * text.C: fix the last commit
4275
4276 2003-03-09  John Levon  <levon@movementarian.org>
4277
4278         * lyxtext.h:
4279         * text.C:
4280         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4281         bug 365 (don't break before insets unless needed). Don't
4282         return a value > last under any circumstances.
4283
4284 2003-03-09  Angus Leeming  <leeming@lyx.org>
4285
4286         * BufferView_pimpl.C (trackChanges, dispatch): call
4287         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4288
4289 2003-03-09  Angus Leeming  <leeming@lyx.org>
4290
4291         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4292         than Dialogs::showAboutlyx().
4293
4294 2003-03-09  Angus Leeming  <leeming@lyx.org>
4295
4296         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4297         than Dialogs::showTabularCreate().
4298
4299 2003-03-09  John Levon  <levon@movementarian.org>
4300
4301         * lyxtext.h:
4302         * text.C:
4303         * text2.C: 3rd arg to nextBreakPoint was always the same.
4304           Use references.
4305
4306 2003-03-08  John Levon  <levon@movementarian.org>
4307
4308         * lyxrow.C:
4309         * paragraph.C:
4310         * paragraph.h:
4311         * rowpainter.C:
4312         * text.C:
4313         * text2.C: Remove the "main" bit from the "main body"
4314           notion.
4315
4316 2003-03-08  John Levon  <levon@movementarian.org>
4317
4318         * text.C (leftMargin): The left margin of an empty
4319         manual label paragraph should not include the label width
4320         string length.
4321
4322         * text.C (prepareToPrint): don't attempt to measure hfills
4323         for empty manual label paragraphs - the answer should be 0
4324
4325 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4326
4327         * CutAndPaste.C: remove commented code and reindent.
4328
4329 2003-03-08  John Levon  <levon@movementarian.org>
4330
4331         * lyxfunc.h:
4332         * lyxfunc.C: move reloadBuffer()
4333
4334         * BufferView.h:
4335         * BufferView.C: to here
4336
4337         * lyxvc.C: add comment
4338
4339         * vc-backend.h:
4340         * vc-backend.C: call bv->reload() to avoid
4341           getStatus() check on MENURELOAD
4342
4343 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4344
4345         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4346         to an old format .dep file.
4347
4348 2003-03-07  Angus Leeming  <leeming@lyx.org>
4349
4350         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4351         when the LFUN_MOUSE_RELEASE should have been handled by
4352         inset->localDispatch.
4353
4354 2003-03-07  Angus Leeming  <leeming@lyx.org>
4355
4356         * BufferView_pimpl.C (dispatch):
4357         * LyXAction.C (init):
4358         * ToolbarDefaults.C (init):
4359         * commandtags.h:
4360         * lyxfunc.C (getStatus):
4361         remove LFUN_INSET_GRAPHICS.
4362
4363         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4364
4365 2003-03-07  Angus Leeming  <leeming@lyx.org>
4366
4367         * commandtags.h:
4368         * LyXAction.C (init):
4369         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4370
4371         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4372
4373         * commandtags.h:
4374         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4375
4376         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4377         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4378
4379 2003-03-07  Angus Leeming  <leeming@lyx.org>
4380
4381         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4382         remove "ert".
4383
4384 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4385
4386         * ParagraphList.C (front): new function
4387         (back): implement
4388
4389 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4390
4391         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4392         and top_row_offset_. removed var first_y.
4393         * text.C (top_y):
4394         * text2.C (LyXText, removeRow):
4395         * text3.C:
4396         * BufferView_pimpl.C:
4397         use these methods instead of using first_y
4398
4399 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * text2.C (pasteSelection): adjust for checkPastePossible
4402
4403         * CutAndPaste.C: remove Paragraph * buf and replace with
4404         ParagraphList paragraphs.
4405         (DeleteBuffer): delete
4406         (cutSelection): change the tc type to textclass_type
4407         (copySelection): change the tc type to textclass_type
4408         (copySelection): adjust for ParagraphList
4409         (pasteSelection): change the tc type to textclass_type
4410         (pasteSelection): adjust for Paragraphlist
4411         (nrOfParagraphs): simplify for ParagraphList
4412         (checkPastePossible): simplify for ParagraphList
4413         (checkPastePossible): remove unused arg
4414
4415         * ParagraphList.C (insert): handle the case where there are no
4416         paragraphs yet.
4417
4418         * CutAndPaste.h: make CutAndPaste a namespace.
4419
4420         * text3.C (dispatch): adjust
4421
4422         * text.C (breakParagraph): add a ParagraphList as arg
4423
4424         * paragraph_funcs.C (breakParagraph): change to take a
4425         BufferParams and a ParagraphList as args.
4426         (breakParagraphConservative): ditto
4427         (mergeParagraph): ditto
4428         (TeXDeeper): add a ParagraphList arg
4429         (TeXEnvironment): ditto
4430         (TeXOnePar): ditto
4431
4432         * buffer.C (readLyXformat2): adjust
4433         (insertStringAsLines): adjust
4434         (latexParagraphs): adjust
4435
4436         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4437         (cutSelection): adjust
4438         (pasteSelection): adjust
4439
4440         * BufferView_pimpl.C (insertInset): adjust
4441
4442 2003-03-05  Angus Leeming  <leeming@lyx.org>
4443
4444         * commandtags.h:
4445         * LyXAction.C (init):
4446         * BufferView_pimpl.C (dispatch):
4447         * lyxfunc.C (getStatus):
4448         remove LFUN_CHILD_INSERT.
4449
4450         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4451
4452 2003-03-05  Angus Leeming  <leeming@lyx.org>
4453
4454         * commandtags.h:
4455         * LyXAction.C (init):
4456         * src/factory.C (createInset):
4457         * lyxfunc.C (getStatus):
4458         * text3.C (dispatch):
4459         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4460
4461         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4462
4463 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4464
4465         * ParagraphList.C (insert): handle insert right before end()
4466         (erase): fix cases where it can be first or last paragraph.
4467
4468 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4469
4470         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4471         Paragraph::next and Paragraph::previous
4472         (TeXOnePar): ditto
4473
4474         * text.C (breakParagraph): adjust
4475
4476         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4477         BufferParams& as arg.
4478         (breakParagraph): use ParagraphList::insert
4479         (breakParagraphConservative): take a Buffer* instead of a
4480         BufferParams& as arg.
4481         (breakParagraphConservative): use ParagraphList::insert.
4482
4483         * buffer.C (insertStringAsLines): un-const it
4484         (insertStringAsLines): adjust
4485
4486         * ParagraphList.C (insert): new function
4487
4488         * CutAndPaste.C (pasteSelection): adjust
4489
4490         * text.C (backspace): adjust
4491
4492         * tabular.C (SetMultiColumn): adjust
4493
4494         * CutAndPaste.C (cutSelection): adjust
4495         (pasteSelection): adjust
4496
4497         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4498         Buffer const * as arg
4499
4500         * ParagraphList.C (erase): new function
4501         * paragraph_funcs.C (mergeParagraph): use it
4502         (mergeParagraph): make it take a Buffer* instead of a
4503         BufferParams* as arg
4504
4505         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4506         as arg
4507         (breakParagraphConservative): ditto
4508
4509         * paragraph.h: remove the breakParagraph friend
4510
4511         * paragraph.C (eraseIntern): new function
4512         (setChange): new function
4513
4514         * paragraph_funcs.C (mergeParagraph): make it take a
4515         ParagraphList::iterator instead of a Paragraph *, adjust
4516         accordingly.
4517
4518         * paragraph.h: move an #endif so that the change tracking stuff
4519         also works in the NO_NEXT case.
4520
4521 2003-03-04  Angus Leeming  <leeming@lyx.org>
4522
4523         * commandtags.h:
4524         * LyXAction.C: new LFUN_INSET_MODIFY.
4525
4526         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4527         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4528
4529 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4530
4531         * several files: ws changes only
4532
4533         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4534         (TeXEnvironment): ditto
4535         (TeXDeeper): ditto
4536
4537         * buffer.C (makeLaTeXFile): adjust
4538         (latexParagraphs): make it take ParagraphList::iterator as args
4539
4540 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * buffer.C (latexParagraphs): adjust
4543
4544         * paragraph.C (TeXOnePar): move function...
4545         (optArgInset): move function...
4546         (TeXEnvironment): move function...
4547         * paragraph_pimpl.C (TeXDeeper): move function...
4548         * paragraph_funcs.C: ...here
4549
4550         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4551
4552 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4553
4554         * buffer.C (readInset): remove compability code for old Figure and
4555         InsetInfo insets
4556
4557 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4558
4559         * buffer.C: ws changes
4560         (readInset):
4561
4562         * BufferView_pimpl.C: ditto
4563         * author.C: ditto
4564         * buffer.h: ditto
4565         * bufferlist.h: ditto
4566         * changes.h: ditto
4567         * lyxfunc.C: ditto
4568
4569 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4570
4571         * converter.[Ch]: split into itself +
4572         * graph.[Ch]
4573         * format.[Ch]
4574         * Makefile.am: += graph.[Ch] + format.[Ch]
4575         * MenuBackend.C
4576         * buffer.C
4577         * exporter.C
4578         * importer.C
4579         * lyx_main.C
4580         * lyxfunc.C
4581         * lyxrc.C: added #include "format.h"
4582
4583 2003-02-27  Angus Leeming  <leeming@lyx.org>
4584
4585         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4586           a label.
4587
4588         * factory.C (createInset): add "label" to the factory.
4589
4590         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4591           string and do no more.
4592
4593 2003-02-27  Angus Leeming  <leeming@lyx.org>
4594
4595         * commandtags.h:
4596         * LyXAction.C (init):
4597         * factory.C (createInset):
4598         * BufferView_pimpl.C (dispatch):
4599           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4600
4601         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4602
4603         * lyxfunc.C (dispatch):
4604         * text3.C (dispatch): pass name to params2string.
4605
4606 2003-02-26  Angus Leeming  <leeming@lyx.org>
4607
4608         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4609           blocks together.
4610           Rearrange the ~includes. Strip out the unnecessary ones.
4611
4612         * factory.C (createInset): reformat.
4613           create new insets for the various LFUN_XYZ_APPLY lfuns.
4614
4615 2003-02-26  John Levon  <levon@movementarian.org>
4616
4617         * lyxrow.h:
4618         * lyxrow.C: add isParStart,isParEnd helpers
4619
4620         * paragraph.h: make isInserted/DeletedText take refs
4621
4622         * paragraph_funcs.h:
4623         * paragraph_funcs.C: remove #if 0'd code
4624
4625         * lyxtext.h:
4626         * text3.C:
4627         * text2.C:
4628         * text.C: use lyxrow helpers above.
4629           Move draw and paint routines to RowPainter.
4630           Make several methods use refs not pointers.
4631           Make backgroundColor() const.
4632           Add markChangeInDraw(), isInInset().
4633           Merge changeRegionCase into changeCase.
4634           Make workWidth() shouldn't-happen code into an Assert.
4635
4636         * rowpainter.h:
4637         * rowpainter.C: new class for painting a row.
4638
4639         * vspace.h:
4640         * vspace.C: make inPixels take a ref
4641
4642 2003-02-26  Angus Leeming  <leeming@lyx.org>
4643
4644         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4645         LFUN_REF_APPLY.
4646
4647 2003-02-25  John Levon  <levon@movementarian.org>
4648
4649         * ispell.C: give the forked command a more accurate name
4650
4651 2003-02-22  John Levon  <levon@movementarian.org>
4652
4653         * toc.h:
4654         * toc.C: make TocItem store an id not a Paragraph *
4655           (bug #913)
4656
4657 2003-02-21  Angus Leeming  <leeming@lyx.org>
4658
4659         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4660           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4661           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4662           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4663           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4664           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4665
4666         * BufferView_pimpl.C (dispatch):
4667         * LyXAction.C (init):
4668         * factory.C (createInset):
4669         * lyxfunc.C (getStatus, dispatch):
4670         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4671
4672 2003-02-21  Angus Leeming  <leeming@lyx.org>
4673
4674         * BufferView_pimpl.C (MenuInsertLyXFile):
4675         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4676         * lyxfunc.C (menuNew, open, doImport):
4677           no longer pass a LyXView & to fileDlg.
4678
4679 2003-02-21  Angus Leeming  <leeming@lyx.org>
4680
4681         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4682         * LyXAction.C: change, BIBKEY to BIBITEM.
4683         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4684         Change InsetBibKey to InsetBibitem.
4685         Change BIBKEY_CODE to BIBITEM_CODE.
4686         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4687         * factory.C: replace insetbib.h with insetbibitem.h.
4688         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4689         * paragraph.C: replace insetbib.h with insetbibitem.h.
4690         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4691         Change bibkey() to bibitem().
4692         * text.C: remove insetbib.h.
4693         * text2.C: replace insetbib.h with insetbibitem.h.
4694         change bibkey() to bibitem().
4695         * text3.C: remove insetbib.h.
4696         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4697
4698 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4699
4700         * lyxrc.C (output): enclose user email in quotes (in case there are
4701         several words)
4702
4703 2003-02-18  John Levon  <levon@movementarian.org>
4704
4705         * buffer.h: add std::
4706
4707 2003-02-17  John Levon  <levon@movementarian.org>
4708
4709         * SpellBase.h:
4710         * ispell.h:
4711         * ispell.C:
4712         * pspell.h:
4713         * pspell.C: reworking. Especially in ispell, a large
4714           number of clean ups and bug fixes.
4715
4716         * lyxfunc.C: fix revert to behave sensibly
4717
4718 2003-02-17 André Pönitz <poenitz@gmx.net>
4719
4720         * LyXAction.C:
4721         * commandtags.h: new LFUN_INSERT_BIBKEY
4722
4723         * layout.h:
4724         * lyxlayout.C:
4725         * buffer.C:
4726         * factory.C:
4727         * text.C:
4728         * text2.C:
4729         * text3.C:
4730         * paragraph.[Ch]:
4731         * paragraph_func.C: remove special bibkey handling
4732
4733 2003-02-17  John Levon  <levon@movementarian.org>
4734
4735         * text.C (Delete): fix case where delete at the end of
4736           the very first paragraph would not merge the pars
4737
4738 2003-02-17  John Levon  <levon@movementarian.org>
4739
4740         * lyxrow.C: fix lastPrintablePos()
4741
4742 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4743
4744         * bufferparams.C (writeLaTeX): add a std:here
4745
4746         * buffer.C: and remove a using directive there
4747
4748 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4749
4750         * buffer.C (makeLaTeXFile): move the code that generates the
4751           preamble...
4752
4753         * bufferparams.C (writeLaTeX): ... in this new method
4754
4755         * LaTeXFeatures.C (getEncodingSet): make const
4756           (getLanguages): make const
4757
4758         * MenuBackend.C (binding): returns the binding associated to this
4759           action
4760           (add): sets the status of each item by calling getStatus. Adds
4761           some intelligence.
4762           (read): add support for OptSubMenu
4763           (expand): remove extra separator at the end of expanded menu
4764
4765 2003-02-15  John Levon  <levon@movementarian.org>
4766
4767         * BufferView.C:
4768         * BufferView_pimpl.C:
4769         * bufferlist.h:
4770         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4771           inset code that had no actual effect. Remove unneeded status
4772           code.
4773
4774 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4775
4776         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4777           in preamble
4778
4779 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4780
4781         * text.C (drawLengthMarker): also draw an arrow marker for
4782           symbolic lengths (medskip...)
4783
4784 2003-02-14  John Levon  <levon@movementarian.org>
4785
4786         * tabular.h:
4787         * tabular.C: better method names
4788
4789 2003-02-14  John Levon  <levon@movementarian.org>
4790
4791         * BufferView_pimpl.C:
4792         * bufferlist.C:
4793         * buffer.C:
4794         * converter.C:
4795         * lyx_cb.C:
4796         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4797           it's a more accurate name. Remove some pointless uses.
4798
4799 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4800
4801         * text2.C (LyXText): change order of initilizers to shut off
4802           warnings
4803
4804 2003-02-14  John Levon  <levon@movementarian.org>
4805
4806         * buffer.C: use ParIterator for getParFromID()
4807
4808         * paragraph.h:
4809         * paragraph.C:
4810         * paragraph_pimpl.h:
4811         * paragraph_pimpl.C: remove unused getParFromID()
4812
4813 2003-02-14  John Levon  <levon@movementarian.org>
4814
4815         * buffer.C: remove some very old #if 0'd parse code
4816
4817 2003-02-13  John Levon  <levon@movementarian.org>
4818
4819         * text.h:
4820         * text.C:
4821         * text2.C: move hfillExpansion(), numberOfSeparators(),
4822           rowLast(), rowLastPrintable(), numberofHfills(),
4823           numberOfLabelHfills() ...
4824
4825         * lyxrow.h:
4826         * lyxrow.C: ... to member functions here.
4827
4828         * paragraph.h:
4829         * paragraph.C:
4830         * lyxtext.h:
4831         * text.C: remove LyXText::beginningOfMainBody(), and call
4832           p->beginningOfMainBody() directly. Move the check for
4833           LABEL_MANUAL into the latter.
4834
4835         * text.h:
4836         * text.C:
4837         * text2.C:
4838         * vspace.C:
4839         * BufferView.h:
4840         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4841
4842         * text.h:
4843         * text.C:
4844         * text2.C:
4845         * text3.C:
4846         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4847           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4848
4849 2003-02-13  John Levon  <levon@movementarian.org>
4850
4851         * CutAndPaste.C: remove debug
4852
4853 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4854
4855         * paragraph.C (asString): remove two unused variables
4856
4857         * lyxtextclass.C (readTitleType):
4858           (Read):
4859           (LyXTextClass): handle new members titletype_ and titlename_
4860
4861         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4862
4863 2003-02-09  John Levon  <levon@movementarian.org>
4864
4865         * buffer.h:
4866         * buffer.C: replace hand-coded list with a map for the dep clean
4867
4868 2003-02-08  John Levon  <levon@movementarian.org>
4869
4870         * LaTeX.C: consolidate code into showRunMessage() helper
4871
4872 2003-02-08  John Levon  <levon@movementarian.org>
4873
4874         * lyxfind.C:
4875         * lyxtext.h:
4876         * text2.C:
4877         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4878           and pass the size in explicitly
4879
4880         * BufferView_pimpl.h:
4881         * BufferView_pimpl.C:
4882         * BufferView.h:
4883         * BufferView.C: add getCurrentChange()
4884
4885         * BufferView_pimpl.h:
4886         * BufferView_pimpl.C: handle change lfuns
4887
4888         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4889           for changes. Mark pasted paragraphs as new.
4890
4891         * support/lyxtime.h:
4892         * support/lyxtime.C:
4893         * DepTable.C: abstract time_t as lyx::time_type
4894
4895         * LColor.h:
4896         * LColor.C: add colours for new text, deleted text, changebars
4897
4898         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4899           package use "usenames" option.
4900
4901         * commandtags.h:
4902         * lyxfunc.C:
4903         * LyXAction.C: add change lfuns
4904
4905         * Makefile.am:
4906         * author.h:
4907         * author.C: author handling
4908
4909         * buffer.h:
4910         * buffer.C: add a per-buffer author list, with first entry as
4911           current author. Handle new .lyx tokens for change tracking. Output
4912           author list to .lyx file. Output dvipost stuff to .tex preamble.
4913           Bump lyx format to 222.
4914
4915         * bufferlist.h:
4916         * bufferlist.C: add setCurrentAuthor() to reset current author details
4917           in all buffers.
4918
4919         * bufferparams.h:
4920         * bufferparams.C: add param for tracking
4921
4922         * bufferview_funcs.C: output change info in minibuffer
4923
4924         * Makefile.am:
4925         * changes.h:
4926         * changes.C: add change-tracking structure
4927
4928         * debug.h:
4929         * debug.C: add CHANGES debug flag
4930
4931         * lyxfind.h:
4932         * lyxfind.C: add code for finding the next change piece
4933
4934         * lyxrc.h:
4935         * lyxrc.C: add user_name and user_email
4936
4937         * lyxrow.h:
4938         * lyxrow.C: add a metric for the top of the text line
4939
4940         * lyxtext.h:
4941         * text.C: implement accept/rejectChange()
4942
4943         * lyxtext.h:
4944         * text.C: paint changebars. Paint new/deleted text in the chosen
4945         colours. Strike through deleted text.
4946
4947         * paragraph.h:
4948         * paragraph.C:
4949         * paragraph_pimpl.h:
4950         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4951           in the current change to the insert functions. Rework erase to
4952           mark text as deleted, adding an eraseIntern() and a range-based
4953           erase(). Implement per-paragraph change lookup and
4954           accept/reject.
4955
4956         * paragraph_funcs.C: Fixup paste for change tracking.
4957
4958         * tabular.C: mark added row/columns as new.
4959
4960         * text.C: fix rowLast() to never return -1. Don't allow
4961           spellchecking of deleted text. Track transpose changes. Don't
4962           allow paragraph break or merge where appropriate.
4963
4964         * text2.C: leave cursor at end of selection after a cut.
4965
4966 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4967
4968         * text.C (getLengthMarkerHeight):
4969         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4970         visible on screen too.
4971
4972 2003-02-07  John Levon  <levon@movementarian.org>
4973
4974         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4975
4976 2003-02-05  Angus Leeming  <leeming@lyx.org>
4977
4978         * lyxserver.C (read_ready): revert my patch of 11 September last year
4979         as it sends PC cpu through the roof. Presumably this means that
4980         the lyxserver will no longer run on an Alpha...
4981
4982 2003-01-30  Angus Leeming  <leeming@lyx.org>
4983
4984         * factory.C (createInset): create an InsetCommandParam of type "index"
4985         and use it to 'do the right thing'.
4986
4987         * text2.C (getStringToIndex): ensure that cursor position is always
4988         reset to the reset_cursor position.
4989
4990 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4991
4992         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4993         disabled.
4994
4995 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4996
4997         * bufferview.C:
4998         * lyxcb.C:
4999         * lyxfunc.C: Output messages with identical spelling, punctuation,
5000         and spaces
5001
5002 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5003
5004         * MenuBackend.C (expandFormats): List only viewable export formats
5005         in "View" menu
5006
5007         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5008         message
5009
5010         * lyxfunc.C (getStatus): Make sure that formats other than
5011         "fax" can also be disabled
5012
5013 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5014
5015         * text3.C (dispatch): put the lfuns that insert insets in 3
5016         groups, and call doInsertInset with appropriate arguments.
5017         (doInsertInset): new function, that creates an inset and inserts
5018         it according to some boolean parameters.
5019
5020 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5021
5022         * buffer.C (readFile): remember to pass on 'par' when calling
5023         readFile recursively.
5024
5025 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5026
5027         * MenuBackend.C (expandFormats): add "..." to import formats.
5028
5029 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5030
5031         * paragraph.C (asString): Remove XForms RTL hacks.
5032
5033 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5034         * buffer.C: fix typo
5035
5036 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5037
5038         * Makefile.am (LIBS): delete var
5039         (lyx_LDADD): add @LIBS@ here instead.
5040
5041 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5042
5043         * Clarify the meaning of "wheel mouse jump"
5044
5045 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5046
5047         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5048         tabular in a float
5049
5050 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5051
5052         * importer.C (Loaders): do not preallocate 3 elements in the
5053         vector, since one ends up with 6 elements otherwise
5054
5055 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5056
5057         * DepTable.C (write): write the file name as last element of the
5058         .dep file (because it may contain spaces)
5059         (read): read info in the right order
5060
5061 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5062
5063         * paragraph_pimpl.C (simpleTeXBlanks):
5064         (simpleTeXSpecialChars):
5065         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5066
5067         * tabular.C (latex): add some missing case statements. Reindent.
5068
5069         * MenuBackend.C (expandToc): remove unused variable.
5070
5071 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5072
5073         * LColor.C:
5074         * LaTeX.C:
5075         * LyXAction.C:
5076         * MenuBackend.C:
5077         * buffer.C:
5078         * exporter.C:
5079         * lyxfunc.C:
5080         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5081         and the like.
5082
5083 2003-01-05  John Levon  <levon@movementarian.org>
5084
5085         * BufferView.h:
5086         * BufferView.C: add getEncoding()
5087
5088         * kbsequence.h:
5089         * kbsequence.C: do not store last keypress
5090
5091         * lyxfunc.h:
5092         * lyxfunc.C: store last keypress here instead. Pass encoding
5093           to getISOEncoded()
5094
5095 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5096
5097         * lyx_main.C (init): remove annoying error message when following
5098         symbolic links (bug #780)
5099
5100 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5101
5102         * text.C (insertChar):
5103         * lyxrc.C (getDescription): remove extra spaces
5104
5105 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5106
5107         * lyxrc.C (getDescription): remove extra spaces
5108
5109 2002-12-20  John Levon  <levon@movementarian.org>
5110
5111         * text3.C: hack fix for page up/down across tall rows
5112
5113 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5114
5115         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5116         not been invoked
5117
5118 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5119
5120         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5121         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5122         thesaurus is not compiled in
5123
5124 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5125
5126         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5127
5128 2002-12-16  Angus Leeming  <leeming@lyx.org>
5129
5130         * lyxrc.[Ch]:
5131         * lyx_main.C (init): remove override_x_deadkeys stuff.
5132
5133 2002-12-12  John Levon  <levon@movementarian.org>
5134
5135         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5136           insert. Only remove shift modifier under strict
5137           circumstances.
5138
5139 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5140
5141         * MenuBackend.C (expandToc): fix crash.
5142
5143 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5144
5145         * MenuBackend.C (expandToc): gettext on float names.
5146
5147 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5148
5149         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5150         implement bool empty() [bug 490]
5151
5152 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5153
5154         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5155
5156 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5157
5158         * several files: ws changes
5159
5160 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5161
5162         * text2.C (setCounter): clean up a bit, use boost.format.
5163         (updateCounters): initialize par upon declaration.
5164
5165         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5166         if the layout exists. We do not just store the layout any more.
5167         (SwitchLayoutsBetweenClasses): use boost.format
5168
5169 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5170
5171         * converter.C (convert): if from and to files are the same, use a
5172         temporary files as intermediary
5173
5174 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5175
5176         * commandtags.h:
5177         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5178
5179 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5180
5181         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5182
5183 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5184
5185         * tabular.C (asciiPrintCell): use string(size, char) instead of
5186         explicit loop.
5187
5188         * sgml.C (openTag): fix order of arguments to string constructor
5189         (closeTag): ditto
5190
5191         * lyxfunc.C (dispatch): use boost.format
5192
5193         * lots of files: change "c" -> 'c'
5194
5195 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5196
5197         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5198
5199 2002-11-25  Angus Leeming  <leeming@lyx.org>
5200
5201         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5202
5203         * lyx_main.C (init): compile fix.
5204
5205 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5206
5207         * lyx_cb.C (start): boost.formatify
5208         do not include <iostream>
5209
5210         * lengthcommon.C: ws only
5211
5212         * boost-inst.C,BoostFormat.h: add more explict instantations
5213
5214 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5215
5216         * lots of files: handle USE_BOOST_FORMAT
5217
5218 2002-11-21  John Levon  <levon@movementarian.org>
5219
5220         * pspell.C: fix compile
5221
5222 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5223
5224         * lyxfunc.C (dispatch): use boost::format
5225         (open): ditto
5226         (doImport): ditto
5227
5228         * lyxfont.C (stateText): use boost::format
5229
5230         * lyx_main.C (LyX): use boost::format
5231         (init): ditto
5232         (queryUserLyXDir): ditto
5233         (readRcFile): ditto
5234         (parse_dbg): ditto
5235         (typedef boost::function): use the recommened syntax.
5236
5237         * importer.C (Import): use boost::format
5238
5239         * debug.C (showLevel): use boost::format
5240
5241         * converter.C (view): use boost::format
5242         (convert): ditto
5243         (move): ditto
5244         (scanLog): ditto
5245
5246         * bufferview_funcs.C (currentState): use boost::format
5247
5248         * bufferlist.C (emergencyWrite): use boost::format
5249
5250         * buffer.C (readLyXformat2): use boost::format
5251         (parseSingleLyXformat2Token): ditto
5252
5253         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5254
5255         * LaTeX.C (run): use boost::format
5256
5257         * Chktex.C (scanLogFile): use boost::format
5258
5259         * BufferView_pimpl.C (savePosition): use boost::format
5260         (restorePosition): ditto
5261         (MenuInsertLyXFile): ditto
5262
5263         * BoostFormat.h: help file for explicit instation.
5264
5265 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5266
5267         * tabular.C (latex): Support for block alignment in fixed width
5268         columns.
5269
5270 2002-11-17  John Levon  <levon@movementarian.org>
5271
5272         * BufferView_pimpl.C:
5273         * lyx_cb.C:
5274         * lyxfunc.C: split filedialog into open/save
5275
5276 2002-11-08  Juergen Vigna  <jug@sad.it>
5277
5278         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5279         by my last patch (hopefully).
5280
5281 2002-11-08  John Levon  <levon@movementarian.org>
5282
5283         * iterators.h:
5284         * iterators.C:
5285         * buffer.h:
5286         * buffer.C:
5287         * paragraph.h:
5288         * paragraph.C:
5289         * toc.h:
5290         * toc.C: ParConstIterator, and use it (from Lars)
5291
5292 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5293
5294         * lyxtextclass.[Ch]: revise and add doxygen comments
5295
5296 2002-11-07  John Levon  <levon@movementarian.org>
5297
5298         * text.C: fix progress value for spellchecker
5299
5300         * toc.C: fix navigate menu for insetwrap inside minipage
5301
5302         * paragraph_funcs.C: added FIXME for suspect code
5303
5304 2002-11-07  John Levon  <levon@movementarian.org>
5305
5306         * BufferView_pimpl.C: fix redrawing of insets
5307           on buffer switch
5308
5309 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5310
5311         * text2.C (updateCounters): fix bug 668
5312
5313 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5314
5315         * text3.C (dispatch): Do not make the buffer dirty when moving the
5316         cursor.
5317
5318 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5319
5320         * vc-backend.C: STRCONV
5321         (scanMaster): ditto
5322
5323         * text2.C (setCounter): STRCONV
5324
5325         * paragraph.C (asString): STRCONV
5326
5327         * lyxlength.C (asString): STRCONV
5328         (asLatexString): ditto
5329
5330         * lyxgluelength.C (asString): STRCONV
5331         (asLatexString): ditto
5332
5333         * lyxfunc.C (dispatch): STRCONV
5334         (open): ditto
5335
5336         * lyxfont.C (stateText): STRCONV
5337
5338         * importer.C (Import): STRCONV
5339
5340         * counters.C (labelItem): STRCONV
5341         (numberLabel): ditto
5342         (numberLabel): remove unused ostringstream o
5343
5344         * chset.C: STRCONV
5345         (loadFile): ditto
5346
5347         * bufferview_funcs.C (currentState): STRCONV
5348
5349         * buffer.C (readFile): STRCONV
5350         (asciiParagraph): ditto
5351         (makeLaTeXFile): ditto
5352
5353         * Spacing.C (writeEnvirBegin): STRCONV
5354
5355         * LaTeXFeatures.C (getLanguages): STRCONV
5356         (getPackages): ditto
5357         (getMacros): ditto
5358         (getBabelOptions): ditto
5359         (getTClassPreamble): ditto
5360         (getLyXSGMLEntities): ditto
5361         (getIncludedFiles): ditto
5362
5363         * LaTeX.C: STRCONV
5364         (run): ditto
5365         (scanAuxFile): ditto
5366         (deplog): ditto
5367
5368         * LString.h: add the STRCONV macros
5369
5370         * BufferView_pimpl.C (savePosition): STRCONV
5371         (restorePosition): ditto
5372         (MenuInsertLyXFile): ditto
5373
5374         * vc-backend.C (scanMaster): change from submatch[...] to
5375         submatch.str(...)
5376
5377         * funcrequest.C: include config.h
5378
5379         * factory.C: include config.h
5380
5381         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5382
5383         * box.C: include config.h
5384
5385         * LaTeX.C (scanAuxFile): change from submatch[...] to
5386         submatch.str(...)
5387         (deplog): ditto
5388
5389 2002-10-25  Angus Leeming  <leeming@lyx.org>
5390
5391         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5392
5393         * ispell.[Ch] (setError): new method.
5394         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5395         Use setError() insetead of goto END.
5396
5397         * lyx_cb.C (AutoSave): move out child process into new class
5398         AutoSaveBuffer.
5399
5400 2002-10-30  John Levon  <levon@movementarian.org>
5401
5402         * text3.C: make start appendix undoable
5403
5404 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5405
5406         * lyxlength.C (inPixels): Fix returned value.
5407
5408         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5409         environment.
5410
5411 2002-10-24  Angus Leeming  <leeming@lyx.org>
5412
5413         * lyxgluelength.h: no need to forward declare BufferParams
5414         or BufferView, so don't.
5415
5416 2002-10-21  John Levon  <levon@movementarian.org>
5417
5418         * BufferView.C: menuUndo ->undo, redo
5419
5420         * BufferView.h: document, remove dead, make some methods private
5421
5422         * paragraph_funcs.h:
5423         * paragraph_funcs.C:
5424         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5425
5426         * buffer.h:
5427         * buffer.C:
5428         * sgml.h:
5429         * sgml.C: move sgml open/close tag into sgml.C
5430
5431         * bufferview_funcs.h: unused prototype
5432
5433         * lyxfunc.h:
5434         * lyxfunc.C: remove unused
5435
5436         * lyxtext.h:
5437         * text.C: remove unused
5438
5439 2002-10-21  John Levon  <levon@movementarian.org>
5440
5441         * BufferView.h:
5442         * BufferView.C:
5443         * BufferView_pimpl.h:
5444         * BufferView_pimpl.C: fix mouse wheel handling based on
5445           patch from Darren Freeman
5446
5447 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5448
5449         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5450
5451 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5452
5453         * lyxlength.C (inPixels): Fix hanfling of negative length.
5454         Fix LyXLength::MU case.
5455
5456 2002-10-16  John Levon  <levon@movementarian.org>
5457
5458         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5459
5460 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5461
5462         * converter.C (view): add support for $$i (file name) and $$p
5463         (file path) for the viewer command. If $$i is not specified, then
5464         it is appended to the command (for compatibility with old syntax)
5465
5466 2002-10-14  Juergen Vigna  <jug@sad.it>
5467
5468         * undo_funcs.C (textHandleUndo): alter the order in which the
5469         new undopar is added to the LyXText, as we have to set first
5470         the right prev/next and then add it as otherwise the rebuild of
5471         LyXText is not correct. Also reset the cursor to the right paragraph,
5472         with this IMO we could remove the hack in "redoParagraphs()".
5473
5474 2002-10-09  Angus Leeming  <leeming@lyx.org>
5475
5476         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5477         to turn off an optimisation if a new inset is to be inserted.
5478
5479 2002-10-11 André Pönitz <poenitz@gmx.net>
5480
5481         * lyxtext.h: make some functions public to allow access
5482         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5483
5484 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5485
5486         * text3.C (dispatch): when changing layout, avoid an infinite loop
5487         [bug #652]
5488
5489 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5490
5491         * lyxrc.C (read): treat a viewer or converter command of "none" as
5492         if it were empty.
5493
5494         * MenuBackend.C (expandFormats): for an update, also allow the
5495         formats that are not viewable
5496
5497         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5498         script if it is newer than the lyxrc.defaults in user directory
5499
5500 2002-10-07 André Pönitz <poenitz@gmx.net>
5501
5502         * text.C: Vitaly Lipatov's small i18n fix
5503
5504 2002-09-25  Angus Leeming  <leeming@lyx.org>
5505
5506         * ispell.h: doxygen fix.
5507
5508 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5509
5510         * buffer.h (readFile): Add a new argument to the method, to allow
5511         reading of old-format templates.
5512
5513 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5514
5515         * toc.C (getTocList): Get TOC from InsetWrap.
5516
5517 2002-09-16  John Levon  <levon@movementarian.org>
5518
5519         * lyxfunc.C: check tabular for cut/copy too
5520
5521 2002-09-12  John Levon  <levon@movementarian.org>
5522
5523         * LyXAction.C: tidy
5524
5525         * factory.h:
5526         * factory.C: add header
5527
5528         * paragraph_funcs.h:
5529         * paragraph_funcs.C: cleanup
5530
5531 2002-09-11  John Levon  <levon@movementarian.org>
5532
5533         * PrinterParams.h: odd/even default to true
5534
5535 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5536
5537         * PrinterParams.h: update printer parameters for new xforms dialog
5538
5539 2002-09-11  Angus Leeming  <leeming@lyx.org>
5540
5541         * lyxserver.C (read_ready): re-write to make it more transparent
5542         and to make it work in coherent fashion under Tru64 Unix.
5543
5544 2002-09-11  André Pönitz <poenitz@gmx.net>
5545
5546         * commandtags.h:
5547         * LyXAction.C:
5548         * text3.C: implement LFUN_WORDSEL
5549
5550 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5551
5552         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5553         make floatlist_ a boost::shared_ptr<FloatList>
5554
5555         * lyxtextclass.C: include FloatList.h
5556         (LyXTextClass): initialize floatlist_
5557         (TextClassTags): add TC_NOFLOAT
5558         (Read): match "nofloat" to TC_NOFLOAT and use it.
5559         (readFloat): modify call to floatlist_
5560         (floats): ditto
5561         (floats): ditto
5562
5563         * FloatList.[Ch] (FloatList): remove commented out float
5564         initialization.
5565         (erase): new function
5566
5567 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5568
5569         * MenuBackend.C (expandToc): fix crash when there is no document
5570         open
5571
5572 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5573
5574         * many files: Add insetwrap.
5575
5576 2002-09-09  John Levon  <levon@movementarian.org>
5577
5578         * text2.C: remove confusing and awkward depth wraparound
5579
5580 2002-09-09  John Levon  <levon@movementarian.org>
5581
5582         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5583
5584         * buffer.h:
5585         * buffer.C: remove getIncludeonlyList()
5586
5587         * paragraph.C:
5588         * lyxfunc.C: remove headers
5589
5590 2002-09-09  Juergen Vigna  <jug@sad.it>
5591
5592         * text.C (getColumnNearX): fix form Michael this is most
5593         probably a cut&paste bug.
5594
5595 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5596
5597         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5598
5599         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5600         references, ws changes.
5601
5602         * text2.C (init): update counters after init
5603         (insertParagraph): no need to set counter on idividual paragraphs.
5604         (setCounter): access the counters object in the textclass object
5605         on in the buffer object.
5606         (updateCounters): ditto
5607
5608         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5609         shared_ptr<Counters> to avoid loading counters.h in all
5610         compilation units.
5611         (LyXTextClass): initialize ctrs_
5612         (TextClassTags): add TC_COUNTER, and ...
5613         (Read): use it here.
5614         (CounterTags): new tags
5615         (readCounter): new function
5616         (counters): new funtion
5617         (defaultLayoutName): return a const reference
5618
5619         * counters.C (Counters): remove contructor
5620         (newCounter): remove a couple of unneeded statements.
5621         (newCounter): simplify a bit.
5622         (numberLabel): some small formatting changes.
5623
5624         * buffer.[Ch]: remove all traces of counters, move the Counters
5625         object to the LyXTextClass.
5626
5627 2002-09-06  Alain Castera  <castera@in2p3.fr>
5628
5629         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5630         package to set the horizontal alignment on fixed width columns.
5631
5632         * lyx_sty.C:
5633         * lyx_sty.h: added tabularnewline macro def.
5634
5635         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5636
5637 2002-09-06  John Levon  <levon@movementarian.org>
5638
5639         * LyXAction.C: tooltips for sub/superscript
5640
5641         * MenuBackend.C: a bit more verbose
5642
5643         * lyxfunc.C: tiny clean
5644
5645         * undo_funcs.C: document undo_frozen
5646
5647 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5648
5649         * counters.C (Counters): add missing algorithm counter.
5650
5651         * text2.C (setCounter): lookup the counter with layouts latexname
5652         instead of by section number.
5653         (setCounter): use a hackish way to lookup the correct enum
5654         counter.
5655         a float name->type change
5656         reset enum couners with counter name directly instead of depth value.
5657
5658         * counters.C (Counters): remove the push_backs, change to use the
5659         float type not the float name.
5660         (labelItem): remove unused string, float name->type change
5661
5662         * counters.h: don't include vector, loose the enums and sects vectors
5663
5664 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5665
5666         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5667         (Read): add float->TC_FLOAT to textclassTags
5668         (Read): and handle it in the switch
5669         (readFloat): new function
5670
5671         * FloatList.C (FloatList): comment out the hardcoded float
5672         definitions.
5673
5674         * lyxlayout.h: ws change.
5675
5676 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5677
5678         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5679
5680 2002-09-03  Angus Leeming  <leeming@lyx.org>
5681
5682         * BufferView_pimpl.h: qualified name is not allowed in member
5683         declaration: WorkArea & Pimpl::workarea() const;
5684
5685         * factory.C: added using std::endl directive.
5686
5687         * text3.C: added using std::find and std::vector directives.
5688
5689 2002-08-29  André Pönitz <poenitz@gmx.net>
5690
5691         * lyxtext.h:
5692         * text2.C: remove unused member number_of_rows
5693
5694         * Makefile.am:
5695         * BufferView2.C: remove file, move contents to...
5696         * BufferView.C: ... here
5697
5698         * BufferView_pimpl.C:
5699         * factory.C: move more inset creation to factory
5700
5701         * vspace.C: avoid direct usage of LyXText, ws changes
5702
5703         * BufferView.[Ch]:
5704                 don't provide direct access to WorkArea, use two simple
5705                 acessors haveSelction() and workHeight() instead
5706
5707
5708 2002-08-29  John Levon  <levon@movementarian.org>
5709
5710         * BufferView_pimpl.C (dispatch): do not continue when
5711           no buffer
5712
5713 2002-08-28  André Pönitz <poenitz@gmx.net>
5714
5715         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5716
5717         * BufferView.h:
5718         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5719
5720 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5721
5722         * buffer.C: increment LYX_FORMAT to 221
5723
5724         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5725         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5726
5727         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5728
5729         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5730
5731 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5732
5733         * factory.C (createInset): use LyXTextClass::floats
5734
5735         * MenuBackend.C (expandFloatListInsert):
5736         (expandFloatInsert):
5737         (expandToc):
5738
5739         * text2.C (setCounter):
5740
5741         * LaTeXFeatures.C (useFloat):
5742         (getFloatDefinitions):
5743
5744         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5745
5746         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5747         floatlist_, with accessor floats().
5748
5749         * FloatList.h: remove global FloatList
5750
5751 2002-08-26  André Pönitz <poenitz@gmx.net>
5752
5753         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5754
5755         * BufferView.h:
5756         * BufferView2.C:
5757         * BufferView_pimpl.C:
5758         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5759
5760 2002-08-25  John Levon  <levon@movementarian.org>
5761
5762         * LyXAction.C: fix margin note description
5763
5764 2002-08-24  John Levon  <levon@movementarian.org>
5765
5766         * buffer.C:
5767         * bufferlist.C:
5768         * bufferview_funcs.C:
5769         * lyxfont.C:
5770         * undo_funcs.C: cleanups
5771
5772         * lyxfunc.C: disable CUT/COPY when no selection
5773
5774 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5775
5776         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5777         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5778
5779         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5780         Add backward compatibility to "mono", "gray" and "no".
5781
5782 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5783
5784         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5785         (and file_format >= 200).
5786
5787 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5788
5789         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5790
5791 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5792
5793         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5794
5795 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5796
5797         * BufferView_pimpl.C:
5798         * LyXAction.C:
5799         * buffer.C:
5800         * commandtags.h:
5801         * lyxfunc.C:
5802         * paragraph.[Ch]:
5803         * text2.C:
5804         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5805         inset and code to make it  work with the paragraph code. The inset
5806         can be anywhere in the paragraph, but will only do the expected
5807         thing in LaTeX if the layout file contains the parameter line
5808                         OptionalArgs    1
5809         (or more generally, a nonzero value) for that layout.
5810
5811 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * paragraph.h: remove the declaration of undefined counters class
5814         function.
5815
5816 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5817
5818         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5819         Dr. Richard Hawkins.
5820
5821 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5822
5823         * paragraph_funcs.h: remove some unneeded includes
5824
5825         * text.C (backspace): pasteParagraph now in global scipe
5826
5827         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5828         (pasteSelection): ditto
5829
5830         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5831         * paragraph_funcs.C (pasteParagraph): ... here
5832
5833 2002-08-20  André Pönitz <poenitz@gmx.net>
5834
5835         * commandtags.h: new LFUNs for swapping/copying table row/colums
5836
5837         * LyXAction.C:
5838         * lyxfunc.C: support for new lfuns
5839
5840 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5841
5842         * tabular.C:
5843         * buffer.[Ch]: remove NO_COMPABILITY stuff
5844
5845 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * boost.C (throw_exception): new file, with helper function for
5848         boost compiled without exceptions.
5849
5850         * paragraph.h:
5851         * lyxlength.C:
5852         * buffer.C:
5853         * ParameterStruct.h:
5854         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5855
5856         * bufferlist.C (emergencyWriteAll): use boost bind
5857
5858         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5859
5860         * text.C: include paragraph_funcs.h
5861         (breakParagraph): breakParagraph is now in global scope
5862
5863         * paragraph_funcs.[Ch]: new files
5864
5865         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5866         global scope
5867
5868         * buffer.C: include paragraph_funcs.h
5869         (insertStringAsLines): breakParagraph is now in global scope
5870
5871         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5872         paragraph_funcs.C
5873
5874         * CutAndPaste.C: include paragraph_funcs.h
5875         (cutSelection): breakParagraphConservative is now in global scope
5876         (pasteSelection): ditto
5877
5878         * buffer.h: declare oprator== and operator!= for
5879         Buffer::inset_iterator
5880
5881         * bufferlist.C (emergencyWrite): don't use fmt(...)
5882
5883         * text3.C: add using std::endl
5884
5885         * BufferView.C (moveCursorUpdate): remove default arg
5886
5887 2002-08-20  André Pönitz <poenitz@gmx.net>
5888
5889         * buffer.[Ch]: move inline functions to .C
5890
5891         * BufferView2.C:
5892         * BufferView_pimpl.C:
5893         * text.C:
5894         * buffer.[Ch]: use improved inset_iterator
5895
5896         * buffer.C:
5897         * paragraph.[Ch]: write one paragraph at a time
5898
5899 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5900
5901         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5902         style if style is not specified.
5903
5904 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5905
5906         * text2.C (setCounter): when searching for right label for a
5907         caption, make sure to recurse to parent insets (so that a caption
5908         in a minipage in a figure float works) (bug #568)
5909
5910 2002-08-20  André Pönitz <poenitz@gmx.net>
5911
5912         * text3.C: new file for LyXText::dispatch() and helpers
5913
5914         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5915
5916         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5917
5918 2002-08-19  André Pönitz <poenitz@gmx.net>
5919
5920         * lyxtext.h:
5921         * text.C: new LyXText::dispatch()
5922
5923         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5924
5925 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5926
5927         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5928
5929         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5930         Hebrew text.
5931
5932 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5933
5934         * Makefile.am: use $(variables) instead of @substitutions@
5935
5936 2002-08-15  André Pönitz <poenitz@gmx.net>
5937
5938         * lyxfunc.C:
5939         * BufferView_pimpl.C: streamlining mathed <-> outer world
5940         interaction
5941
5942         * commandtags.h:
5943         * LyXAction.C: remove unused LFUN_MATH
5944
5945 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5946
5947         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5948
5949 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5950
5951         * paragraph.C (Paragraph): reformat a bit
5952         (cutIntoMinibuffer): use builtin InsetList function instad of
5953         doing it manually.
5954         (getInset): ditto
5955
5956         * buffer.C: include boost/bind.hpp, add using std::for_each
5957         (writeFileAscii): use ParagraphList iterators
5958         (validate): use for_each for validate traversal of paragraphs
5959         (getBibkeyList): use ParagraphList iterators
5960         (resizeInsets): use for_each to resizeInsetsLyXText for all
5961         paragraphs.
5962         (getParFromID): use ParagraphList iterators
5963
5964         * BufferView2.C (lockInset): use paragraph list and iterators
5965
5966 2002-08-14  John Levon  <levon@movementarian.org>
5967
5968         * lyxserver.C: remove spurious xforms include
5969
5970 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5971
5972         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5973
5974 2002-08-13  André Pönitz <poenitz@gmx.net>
5975
5976         * LyXAction.[Ch]:
5977         * lyxfunc.C: further cleaning
5978
5979 2002-08-13  André Pönitz <poenitz@gmx.net>
5980
5981         * funcrequest.h: new constructor
5982
5983         * funcrequest.C: move stuff here from .h
5984
5985         * Makefile.am:
5986         * BufferView_pimpl.C:
5987         * LyXAction.C:
5988         * toc.C:
5989         * lyxfunc.C: subsequent changes
5990
5991         * lyxfunc.h: new view() member function
5992
5993         * lyxfunc.C: subsequent changes
5994
5995 2002-08-13  Angus Leeming  <leeming@lyx.org>
5996
5997         * BufferView2.C:
5998         * BufferView_pimpl.C:
5999         * buffer.C:
6000         * converter.C:
6001         * importer.C:
6002         * lyxfunc.C:
6003         * lyxvc.C:
6004         * toc.C:
6005         * vc-backend.C:
6006         changes due to the changed LyXView interface that now returns references
6007         to member variables not pointers.
6008
6009 2002-08-13  Angus Leeming  <leeming@lyx.org>
6010
6011         * WordLangTuple (word, lang_code): return references to strings,
6012         not strings.
6013
6014         * BufferView.h:
6015         * SpellBase.h:
6016         * lyxtext.h: forward-declare WordLangTuple.
6017
6018         * BufferView2.C:
6019         * ispell.C:
6020         * pspell.C:
6021         * text.C: #include "WordLangTuple.h".
6022
6023         * lyxtext.h:
6024         * text.C: (selectNextWordToSpellcheck): constify return type.
6025
6026 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6027
6028         * buffer.C:
6029         * buffer.h:
6030         * lyxtext.h:
6031         * paragraph.C:
6032         * paragraph_pimpl.h:
6033         * text.C:
6034         * text2.C:
6035         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6036         suggested by Angus.
6037         Made updateCounter always count from start of buffer, and removed
6038         second argument (par).
6039         Reverted floats number display to '#'. Perhaps I'll try again when the
6040         code base is sanitized a bit.
6041
6042 2002-08-12  Angus Leeming  <leeming@lyx.org>
6043
6044         * buffer.[Ch] (getLabelList): constify.
6045
6046 2002-08-07  André Pönitz <poenitz@gmx.net>
6047
6048         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6049
6050         * funcrequest.h: extension to keep mouse (x,y) position
6051
6052 2002-08-12  Juergen Vigna  <jug@sad.it>
6053
6054         * BufferView2.C (insertErrors): forbid undo when inserting error
6055         insets.
6056
6057         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6058
6059 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6060
6061         * ParagraphList.[Ch]: new files
6062
6063         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6064
6065         * BufferView2.C (lockInset): ParagraphList changes
6066         * toc.C: ditto
6067         * text2.C: ditto
6068         * bufferlist.C: ditto
6069         * buffer.h: ditto
6070         * buffer.C: ditto
6071
6072 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6073
6074         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6075         unused class variable counter_,
6076
6077         * paragraph.[Ch] (getFirstCounter): delete unused function
6078
6079         * counters.C: include LAssert.h
6080         (reset): add a new function with no arg, change other version to
6081         not have def. arg and to not allow empty arg.
6082
6083         * text2.C (setCounter): remove empty arg from call to Counters::reset
6084
6085 2002-08-11  John Levon  <levon@movementarian.org>
6086
6087         * Makefile.am: add WordLangTuple.h
6088
6089 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6090
6091         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6092         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6093
6094         * insets/insettext.C: InsetList changes
6095
6096         * graphics/GraphicsSupport.C (operator()): InsetList changes
6097
6098         * toc.C (getTocList): InsetList changes
6099
6100         * paragraph_pimpl.[Ch]: InsetList changes
6101
6102         * paragraph.[Ch]: InsetList changes
6103
6104         * buffer.C (inset_iterator): InsetList changes
6105         (setParagraph): ditto
6106         * buffer.h (inset_iterator): ditto
6107         * iterators.C (operator++): ditto
6108         * iterators.h: ditto
6109
6110         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6111
6112         * InsetList.[Ch]: new files, most InsetList handling moved out of
6113         paragraph.C.
6114
6115         * BufferView2.C (removeAutoInsets): InsetList changes
6116         (lockInset): ditto
6117         (ChangeInsets): ditto
6118
6119 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6120
6121         * paragraph_pimpl.h (empty): new function
6122
6123         * paragraph.[Ch] (empty): new function
6124
6125         * other files: use the new Paragraph::empty function
6126
6127 2002-08-09  John Levon  <levon@movementarian.org>
6128
6129         * lyxtext.h: remove unused refresh_height
6130
6131 2002-08-09  John Levon  <levon@movementarian.org>
6132
6133         * Makefile.am:
6134         * sgml.h:
6135         * sgml.C:
6136         * buffer.C:
6137         * paragraph.h:
6138         * paragraph.C: move sgml char escaping out of paragraph
6139
6140         * paragraph.h:
6141         * paragraph.C: remove id setter
6142
6143         * buffer.C:
6144         * paragraph.C:
6145         * paragraph_pimpl.C: remove dead tex_code_break_column
6146
6147         * bufferview_funcs.C: small cleanup
6148
6149         * lyxfunc.C: remove dead proto
6150
6151         * lyxtext.h: make some stuff private. Remove some dead stuff.
6152
6153         * lyxgluelength.C: make as[LyX]String() readable
6154
6155 2002-08-08  John Levon  <levon@movementarian.org>
6156
6157         * LyXAction.h:
6158         * LyXAction.C:
6159         * MenuBackend.C:
6160         * ToolbarDefaults.C:
6161         * lyxfunc.C:
6162         * lyxrc.C:
6163         * toc.C: lyxaction cleanup
6164
6165 2002-08-08  John Levon  <levon@movementarian.org>
6166
6167         * BufferView2.C: small cleanup
6168
6169         * lyxfind.h:
6170         * lyxfind.C: move unnecessary header into the .C
6171
6172 2002-08-08  John Levon  <levon@movementarian.org>
6173
6174         * funcrequest.h: just tedious nonsense
6175
6176         * lyx_main.h:
6177         * lyx_main.C: cleanups
6178
6179         * buffer.C:
6180         * vspace.C: remove dead header lyx_main.h
6181
6182 2002-08-07  Angus Leeming  <leeming@lyx.org>
6183
6184         * Paragraph.[Ch]:
6185         * paragraph_pimpl.h:
6186         Forward declare class Counters in paragraph.h by moving the ctrs member
6187         variable into Paragraph::Pimpl.
6188         (counters): new method, returning a reference to pimpl_->ctrs.
6189
6190         * text2.C: ensuing changes.
6191
6192 2002-08-07  John Levon  <levon@movementarian.org>
6193
6194         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6195
6196         * BufferView_pimpl.C: announce X selection on double/triple
6197           click
6198
6199         * lyx_main.C: use correct bool in batch dispatch
6200
6201         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6202
6203 2002-08-07  André Pönitz <poenitz@gmx.net>
6204
6205         * funcrequest.h: new class to wrap a kb_action and its argument
6206
6207         * BufferView.[Ch]:
6208         * BufferView_pimpl[Ch]:
6209         * LaTeX.C:
6210         * LyXAction.[Ch]:
6211         * lyxfunc.[Ch]:
6212         * lyxrc.C: subsequent changes
6213
6214
6215 2002-08-07  John Levon  <levon@movementarian.org>
6216
6217         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6218           document options change.
6219
6220 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6221
6222         * counters.[Ch]
6223         * text2.C
6224         * paragraph.[Ch]
6225         * makefile.am: move counters functionality over from
6226         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6227
6228 2002-08-06  John Levon  <levon@movementarian.org>
6229
6230         * WordLangTuple.h: new file for word + language code tuple
6231
6232         * SpellBase.h:
6233         * pspell.h:
6234         * pspell.C:
6235         * ispell.h:
6236         * ispell.C:
6237         * lyxtext.h:
6238         * text.C:
6239         * text2.C:
6240         * BufferView.h:
6241         * BufferView2.C: use WordLangTuple
6242
6243         * layout.h:
6244         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6245
6246 2002-08-06  John Levon  <levon@movementarian.org>
6247
6248         * lyx_main.C: fix cmdline batch handling
6249
6250 2002-08-06  André Pönitz <poenitz@gmx.net>
6251
6252         * lyxrc.C: set default for show_banner to true
6253
6254 2002-08-06  John Levon  <levon@movementarian.org>
6255
6256         * pspell.C: fix a crash, and allow new aspell to work
6257
6258 2002-08-06  John Levon  <levon@movementarian.org>
6259
6260         * lyxfunc.C:
6261         * kbmap.C: small cleanup
6262
6263         * vspace.h:
6264         * vspace.C: add const
6265
6266 2002-08-05  John Levon  <levon@movementarian.org>
6267
6268         * LyXAction.C: back to tabular-insert
6269
6270 2002-08-04  John Levon  <levon@movementarian.org>
6271
6272         * BufferView.h:
6273         * BufferView.C: cosmetic change
6274
6275         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6276
6277         * bufferlist.C:
6278         * buffer.h:
6279         * buffer.C:
6280         * lyxcb.h:
6281         * lyxcb.C:
6282         * lyxserver.C:
6283         * lyxvc.C:
6284         * vc-backend.C:
6285         * BufferView2.C: purge all "Lyx" not "LyX" strings
6286
6287         * lyxcursor.h:
6288         * lyxcursor.C: attempt to add some documentation
6289
6290         * lyxfunc.C:
6291         * commandtags.h:
6292         * LyXAction.C:
6293         * ToolbarDefaults.C:
6294         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6295           merge with LFUN_TABULAR_INSERT
6296
6297         * Makefile.am:
6298         * SpellBase.h:
6299         * ispell.h:
6300         * ispell.C:
6301         * pspell.h:
6302         * pspell.C: split up i/pspell implementations into separate
6303           files, many cleanups
6304
6305         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6306
6307         * text2.C: some cleanup
6308
6309         * lyxfunc.C: don't check for isp_command == "none" any more, it
6310           didn't make any sense
6311
6312 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6313
6314         * counters.[Ch]
6315         * text2.C
6316         * paragraph.[Ch]
6317         * makefile.am: move counters functionality over
6318         from text2.C/paragraph.[Ch] to counters.[Ch], and
6319         make proper C++.
6320 2002-08-02  John Levon  <levon@movementarian.org>
6321
6322         * buffer.C: s/lyxconvert/lyx2lyx/
6323
6324 2002-08-02  Angus Leeming  <leeming@lyx.org>
6325
6326         * lyxlex.C: revert John's change as it breaks reading of the user
6327         preamble.
6328
6329 2002-08-02  Angus Leeming  <leeming@lyx.org>
6330
6331         * importer.C (Import):
6332         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6333         changes due to LyXView::view() now returning a boost::shared_ptr.
6334
6335 2002-08-02  John Levon  <levon@movementarian.org>
6336
6337         * lyxlex.C: small cleanup
6338
6339 2002-08-02  John Levon  <levon@movementarian.org>
6340
6341         * text2.C (status): small cleanup, no logic change
6342
6343 2002-08-01  John Levon  <levon@movementarian.org>
6344
6345         * buffer.h:
6346         * buffer.C (writeFile): don't output alerts, caller
6347           handles this
6348
6349         * bufferlist.C:
6350         * lyx_cb.C: from above
6351
6352         * lyxfunc.C: allow to open non-existent files
6353
6354 2002-07-31  John Levon  <levon@movementarian.org>
6355
6356         * lyxserver.C: don't let incidental errors get
6357           in the way (errno)
6358
6359 2002-07-30  John Levon  <levon@movementarian.org>
6360
6361         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6362
6363 2002-07-30  John Levon  <levon@movementarian.org>
6364
6365         * lyxserver.h:
6366         * lyxserver.C: remove I/O callback too
6367
6368 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6369
6370         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6371         log.
6372
6373 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6374
6375         * many files: strip,frontStrip -> trim,ltrim,rtrim
6376
6377 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6378
6379         * PrinterParams.h: remove extern containsOnly, and include
6380         support/lstrings.h instead.
6381
6382         * LaTeX.C (scanAuxFile): modify because of strip changes
6383         (deplog): ditto
6384         * buffer.C (makeLaTeXFile): ditto
6385         * bufferparams.C (writeFile): ditt
6386         * lyxfont.C (stateText): ditto
6387         * lyxserver.C (read_ready): ditto
6388         * vc-backend.C (scanMaster): ditto
6389
6390         * BufferView_pimpl.h: ws changes
6391
6392         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6393
6394 2002-07-26  André Pönitz <poenitz@gmx.net>
6395
6396         * kb_sequence.C: remove unnedred usings
6397
6398 2002-07-26  Juergen Vigna  <jug@sad.it>
6399
6400         * lyxfind.C (LyXReplace): we have to check better if the returned
6401         text is not of theLockingInset()->getLockingInset().
6402
6403 2002-07-25  Juergen Vigna  <jug@sad.it>
6404
6405         * lyxfind.C (LyXReplace): don't replace if we don't get the
6406         right LyXText.
6407
6408         * undo_funcs.C (createUndo): remove debugging code.
6409
6410 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6411
6412         * buffer.C (parseSingleLyXformat2Token): Use default placement
6413         when reading old floats.
6414
6415         * FloatList.C (FloatList): Change the default placement of figure
6416         and tables to "tbp".
6417
6418 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6419
6420         * MenuBackend.C: using std::max
6421
6422 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6423
6424         * MenuBackend.C (expandToc):
6425         (expandToc2): code moved from xforms menu frontend. It is now
6426         generic and TOCs are transparent to menu frontends.
6427
6428 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6429
6430         * toc.C (getTocList): protect against buf=0
6431
6432         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6433         Menu as first parameter. Now, this calls itself recursively to
6434         expand a whole tree (this will be useful for TOC handling)
6435         (expandFloatInsert): remove 'wide' version of floats
6436
6437         * MenuBackend.h (submenuname): returns the name of the submenu.
6438         (submenu): returns the submenu itself, provided it has been
6439         created by MenuBackend::expand
6440
6441 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6442
6443         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6444         insets which have noFontChange == true. (bug #172)
6445
6446 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6447
6448         * BufferView_pimpl.C: add connection objects and use them...
6449         (Pimpl): here.
6450
6451 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6452
6453         * MenuBackend.C (expandLastfiles):
6454         (expandDocuments):
6455         (expandFormats):
6456         (expandFloatListInsert):
6457         (expandFloatInsert):
6458         (expand): split expand in parts
6459
6460 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6461
6462         * lyx_gui.C: use lyx_gui::exit()
6463
6464 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6465
6466         * LyXAction.C: show the failing pseudo action
6467
6468 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6469
6470         * buffer.C (readFile): Run the lyxconvert script in order to read
6471         old files.
6472
6473 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6474
6475         * LyXAction.C:
6476         * commandtags.h:
6477         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6478
6479 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6480
6481         * LyXAction.C:
6482         * commandtags.h:
6483         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6484
6485 2002-07-22  Herbert Voss  <voss@lyx.org>
6486
6487         * lengthcommon.C:
6488         * lyxlength.[Ch]: add support for the vertical lengths
6489
6490 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6491
6492         * toc.[Ch]: std:: fixes
6493
6494 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6495
6496         * lyxrc.C: do not include lyx_main.h
6497
6498         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6499         for layouts
6500
6501         * lyxrc.C:
6502         * encoding.C:
6503         * bufferlist.C:
6504         * BufferView2.C: include "lyxlex.h"
6505
6506         * tabular.h:
6507         * bufferparams.h: do not #include "lyxlex.h"
6508
6509         * lyxtextclasslist.C (Add): remove method
6510         (classlist): renamed to classlist_
6511
6512         * paragraph_pimpl.C:
6513         * paragraph.C:
6514         * text2.C:
6515         * CutAndPaste.C:
6516         * bufferview_funcs.C:
6517         * bufferlist.C:
6518         * text.C:
6519         * LaTeXFeatures.C:
6520         * buffer.C:
6521         * toc.C (getTocList): use BufferParams::getLyXTextClass
6522
6523         * toc.C (getTocList): use InsetFloat::addToToc
6524
6525         * toc.[Ch]: new files, containing helper functions to handle table
6526         of contents
6527
6528         * lyxfunc.C (dispatch): no need to remove spaces around command
6529         given as a string
6530         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6531         first command of the sequence; it is not very clever, but I do not
6532         have a better idea, actually
6533
6534         * LyXAction.C (LookupFunc): make sure to remove space at the
6535         beginning and end of the command
6536
6537 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6538
6539         * MenuBackend.C (getMenubar): new method: return the menubar of
6540         this menu set
6541         (read): treat differently reading of menu and menubar (in
6542         particular, the menubar has no name now)
6543         (Menu::menubar): remove
6544
6545         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6546         saving is finished
6547
6548 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6549
6550         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6551         a bibitem inset in a RTL paragraph.
6552
6553 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6554
6555         * paragraph_pimpl.C: constify
6556
6557         * BufferView_pimpl.C:
6558         * LaTeX.C:
6559         * lyxfunc.C: fix dispatch in a nicer way
6560
6561 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6562
6563         * lyxfunc.C (dispatch):
6564         * BufferView_pimpl.C:
6565         * BufferView_pimpl.h:
6566         * BufferView.C:
6567         * BufferView.h: rename Dispatch() to dispatch()
6568
6569         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6570
6571         * lyxlayout.C (Read): honor DependsOn tag
6572
6573         * lyxlayout.[Ch] (depends_on): new method
6574
6575         * version.C.in: update lyx_docversion
6576
6577         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6578
6579         * paragraph.C (validate): remove from here...
6580         * paragraph_pimpl.C (validate): ... and move here
6581         (isTextAt): make it const
6582
6583         * buffer.C (getLists): ws cleanup
6584
6585 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6586
6587         * language.C (read): Use iso8859-1 encoding in latex_lang
6588         (this prevents LyX from crashing when using iso10646-1 encoding).
6589
6590 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6591
6592         * text2.C (toggleInset): if cursor is inside an inset, close the
6593         inset and leave cursor _after_ it
6594
6595 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6596
6597         * lyxfunc.C: move minibuffer completion handling out of here
6598
6599 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6600
6601         * BufferView_pimpl.C:
6602         * LaTeX.C: fix dispatch calls
6603
6604 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6605
6606         * text.C (drawChars): Fix Arabic text rendering.
6607
6608 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6609
6610         * LyXAction.C:
6611         * commandtags.h:
6612         * lyxfunc.C: remove message-push/pop
6613
6614         * lyxserver.C:
6615         * lyxfunc.h:
6616         * lyxfunc.C: rationalise some code by removing verboseDispatch
6617           in favour of a bool argument to dispatch()
6618
6619 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6620
6621         * lyx_main.C (init): make sure to read symlinks as absolute paths
6622
6623 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6624
6625         * lyxfunc.h:
6626         * lyxfunc.C: no need for commandshortcut to be a member
6627
6628 2002-07-15  André Pönitz <poenitz@gmx.net>
6629
6630         * converter.C: add support for $$s (scripts from lib/scripts dir)
6631         * lyx_main.C: white space
6632
6633 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6634
6635         * bufferlist.C:
6636         * lyxrc.h:
6637         * lyxrc.C: remove second exit confirmation
6638
6639 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6640
6641         * BufferView.h:
6642         * BufferView.C:
6643         * BufferView2.C:
6644         * BufferView_pimpl.h:
6645         * BufferView_pimpl.C:
6646         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6647
6648 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6649
6650         * MenuBackend.C (expand): add numeric shortcuts to document menu
6651
6652         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6653
6654 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6655
6656         * lyxfont.C (setLyXFamily):
6657         (setLyXSeries):
6658         (setLyXShape):
6659         (setLyXSize):
6660         (setLyXMisc):
6661         (lyxRead):
6662         * debug.C (value):
6663         * buffer.C (asciiParagraph): use ascii_lowercase
6664
6665 2002-07-15  Mike Fabian  <mfabian@suse.de>
6666
6667         * lyxlex_pimpl.C (search_kw):
6668         * lyxlex.C (getLongString):
6669         * converter.h (operator<):
6670         * converter.C (operator<):
6671         * buffer.C (parseSingleLyXformat2Token):
6672         (asciiParagraph):
6673         * ToolbarDefaults.C (read):
6674         * MenuBackend.C (checkShortcuts):
6675         (read):
6676         * LColor.C (getFromGUIName):
6677         (getFromLyXName): use the compare_ascii_no_case instead of
6678         compare_no_case, because in turkish, 'i' is not the lowercase
6679         version of 'I', and thus turkish locale breaks parsing of tags.
6680
6681 2002-07-16  Angus Leeming  <leeming@lyx.org>
6682
6683         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6684         now takes a Buffer const & argument.
6685
6686 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6687
6688         * BufferView.C (resize): check there's a buffer to resize
6689
6690 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6691
6692         * lyxfunc.C: remove dead code
6693
6694         * lyxserver.h:
6695         * lyxserver.C: use lyx_guii::set_read_callback
6696
6697 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6698
6699         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6700         an inset in a RTL paragraph.
6701
6702 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6703
6704         * lyxfunc.C: repaint after a font size update
6705
6706 2002-07-15  André Pönitz <poenitz@gmx.net>
6707
6708         * lyxlength.C: inBP should be able to return negative values
6709
6710 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6711
6712         * lyxfunc.C: use lyx_gui::update_fonts()
6713
6714 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6715
6716         * lyxfunc.C: use lyx_gui::update_color()
6717
6718 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6719
6720         * bufferlist.C:
6721         * lyxfunc.h:
6722         * lyxfunc.C:
6723         * lyxrc.h:
6724         * lyxrc.C: remove file->new asks for name option, and let
6725           buffer-new take an argument
6726
6727 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6728
6729         * BufferView_pimpl.C: remove unneeded extra repaint()
6730
6731 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6732
6733         * LyXAction.C: allow command-sequence with NoBuffer
6734
6735         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6736
6737 2002-07-10  Angus Leeming  <leeming@lyx.org>
6738
6739         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6740
6741 2002-07-09  Angus Leeming  <leeming@lyx.org>
6742
6743         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6744
6745 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6746
6747         * lengthcommon.h: whitespace
6748
6749         * lyxfunc.C: update scrollbar after goto paragraph
6750
6751         * lyxtext.h: factor out page break drawing, and fix it so
6752           page break/added space paints as selected nicely
6753
6754 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6755
6756         * BufferView_pimpl.C: add FIXMEs, clean up a little
6757
6758 2002-07-09  André Pönitz <poenitz@gmx.net>
6759
6760         * lyxfont.[Ch]: support for wasy symbols
6761
6762 2002-07-08  André Pönitz <poenitz@gmx.net>
6763
6764         * BufferView_pimpl.C: apply John's patch for #93.
6765
6766 2002-07-05  Angus Leeming  <leeming@lyx.org>
6767
6768         * BufferView_pimpl.C (buffer): generate previews if desired.
6769
6770         * LColor.h: add "preview" to the color enum.
6771
6772         * LColor.C (LColor): add a corresponding entry to the items array.
6773
6774         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6775         with this buffer.
6776
6777 2002-07-05  Angus Leeming  <leeming@lyx.org>
6778
6779         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6780         The body of the code is now in the method that is passed an ostream &
6781         rather than a file name.
6782         Pass an additional only_preamble parameter, useful for the forthcoming
6783         preview stuff.
6784
6785 2002-07-03  André Pönitz <poenitz@gmx.net>
6786
6787         * lyxfunc.C: simplify getStatus() a bit for math stuff
6788
6789 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6790
6791         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6792
6793 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6794
6795         * text.C (changeRegionCase): do not change case of all the
6796         document when region ends at paragraph end (bug #461)
6797
6798 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6799
6800         * paragraph.C (startTeXParParams):
6801         (endTeXParParams): add \protect when necessary
6802
6803 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6804
6805         * BufferView_pimpl.C (workAreaExpose): remove warning
6806
6807 2002-06-27  Angus Leeming  <leeming@lyx.org>
6808
6809         * Makefile.am: add lyxlayout_ptr_fwd.h.
6810
6811 2002-06-26  André Pönitz <poenitz@gmx.net>
6812
6813         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6814
6815 2002-06-25  Angus Leeming  <leeming@lyx.org>
6816
6817         * lyxfunc.C (dispatch): Comment out the call to
6818         grfx::GCache::changeDisplay. The method no longer exists now that the
6819         pixmap generation part of the graphics loader has been moved into
6820         InsetGraphics.
6821
6822 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6823
6824         * text2.C: layout as layout
6825
6826         * text.C: layout as layout
6827
6828         * tabular.C (OldFormatRead): layout as layout
6829
6830         * paragraph_pimpl.C (TeXDeeper): layout as layout
6831         (realizeFont): layout as layout
6832
6833         * paragraph.C (writeFile): layout as layout
6834         (validate): layout as layout
6835         (getFont): layout as layout
6836         (getLabelFont): layout as layout
6837         (getLayoutFont): layout as layout
6838         (breakParagraph): layout as layout
6839         (stripLeadingSpaces): layout as layout
6840         (getEndLabel): layout as layout
6841         (getMaxDepthAfter): layout as layout
6842         (applyLayout): layout as layout
6843         (TeXOnePar): layout as layout
6844         (simpleTeXOnePar): layout as layout
6845         (TeXEnvironment): layout as layout
6846         (layout): layout as layout
6847         (layout): layout as layout
6848
6849         * lyxtextclass.C (compare_name): new functor to work with
6850         shared_ptr, layout as layout
6851         (Read): layout as layout
6852         (hasLayout): layout as layout
6853         (operator): layout as layout
6854         (delete_layout): layout as layout
6855         (defaultLayout): layout as layout
6856
6857         * lyxlayout_ptr_fwd.h: new file
6858
6859         * lyxlayout.C (Read): layout as layout
6860
6861         * lyx_cb.C (MenuInsertLabel): layout as layout
6862
6863         * bufferlist.C (newFile): layout as layout
6864
6865         * buffer.C (readLyXformat2): layout as layout
6866         (parseSingleLyXformat2Token): layout as layout
6867         (insertStringAsLines): layout as layout
6868         (asciiParagraph): layout as layout
6869         (latexParagraphs): layout as layout
6870         (makeLinuxDocFile): layout as layout
6871         (simpleLinuxDocOnePar): layout as layout
6872         (makeDocBookFile): layout as layout
6873         (simpleDocBookOnePar): layout as layout
6874         (getLists): layout as layout
6875
6876         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6877
6878         * CutAndPaste.C (cutSelection): layout as layout
6879         (pasteSelection): layout as layout
6880         (SwitchLayoutsBetweenClasses): layout as layout
6881
6882         * BufferView_pimpl.C (Dispatch): layout as layout
6883         (smartQuote): layout as layout
6884
6885         * BufferView2.C (unlockInset): layout as layout
6886
6887 2002-06-24  André Pönitz <poenitz@gmx.net>
6888
6889         * lyxfunc.C: fix #487
6890
6891 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6892
6893         * lyxrc.h:
6894         * lyxrc.C:
6895         * lyxfunc.C: remove display_shortcuts, show_banner
6896
6897 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6898
6899         * Buffer_pimpl.C: oops, update on resize
6900
6901 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6902
6903         * buffer.C:
6904         * converter.C:
6905         * exporter.C:
6906         * lyxfunc.C:
6907         * BufferView.h:
6908         * BufferView.C: use repaint()
6909
6910         * BufferView_pimpl.h:
6911         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6912           as it's a clearer description. Remove superfluous
6913           redraws.
6914
6915 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6916
6917         * text.C: fix bug 488. Not ideal, but getting
6918           getWord() to work properly for the insets that
6919           matter is more difficult ...
6920
6921 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6922
6923         * BufferView_pimpl.C:
6924         * LyXAction.C:
6925         * commandtags.h:
6926         * lyxfunc.C: remove the six million index lyxfuncs to just
6927           one, and DTRT (bug 458)
6928
6929 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6930
6931         * BufferView.h:
6932         * BufferView.C:
6933         * BufferView_pimpl.h:
6934         * BufferView_pimpl.C: clean up resize() stuff,
6935           and unnecessary updateScreen()s
6936
6937 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6938
6939         * BufferView.h:
6940         * BufferView.C:
6941         * BufferView_pimpl.h:
6942         * BufferView_pimpl.C:
6943         * lyxfind.h:
6944         * lyxfind.C:
6945         * minibuffer.C: remove focus management of workarea,
6946           not needed. Use screen's greyOut()
6947
6948 2002-06-17  Herbert Voss  <voss@lyx.org>
6949
6950         * converter.C: (convert) do not post a message, when converting
6951         fails, let the calling function decide what to do in this case
6952
6953 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6954
6955         * lyxfunc.C: tidy up a little
6956
6957 2002-06-16    <alstrup@diku.dk>
6958
6959         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6960         Got rid of FORMS_H_LOCATION include. Now we are
6961         GUII.
6962
6963 2002-06-15  LyX Development team  <lyx@rilke>
6964
6965         * buffer.[Ch] (sgmlOpenTag):
6966         (sgmlCloseTag): Added support for avoiding pernicious mixed
6967         content. Return number of lines written.
6968
6969         (makeLinuxDocFile):
6970         (makeDocBookFile): Fixed calls to sgml*Tag.
6971         Simple white space clean.
6972
6973         (simpleDocBookOnePar): Simple white space clean.
6974
6975         * tabular.[Ch] (docBook): Renamed to docbook and got another
6976         argument to related with the pernicious mixed content.
6977
6978         (docbookRow): Fixed calls for docbook inset method.
6979
6980 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6981
6982         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6983         so it's X11 independent.
6984
6985         * kb*.[Ch]: ditto.
6986
6987         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6988
6989 2002-06-15  Lyx Development team  <lyx@electronia>
6990
6991         * intl.h: Renamed getTrans to getTransManager.
6992
6993 2002-06-14  Angus Leeming  <leeming@lyx.org>
6994
6995         * Makefile.am: nuke forgotten stl_string_fwd.h.
6996
6997 2002-06-12  Angus Leeming  <leeming@lyx.org>
6998
6999         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7000
7001 2002-06-13  Angus Leeming  <leeming@lyx.org>
7002
7003         * LaTeX.C:
7004         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7005
7006 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7007
7008         * kbmap.C (getiso): add support for cyrillic and greek
7009
7010 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7011
7012         * BufferView.h:
7013         * BufferView.C:
7014         * BufferView_pimpl.h:
7015         * BufferView_pimpl.C: move bogus scrolling logic
7016           to xforms
7017
7018 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7019
7020         * lyxfunc.C:
7021         * BufferView_pimpl.C: view->resize() change
7022
7023 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7024
7025         * BufferView_pimpl.C: topCursorVisible
7026           prototype change
7027
7028 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7029
7030         * Makefile.am:
7031         * lyx_gui.h:
7032         * lyx_gui.C: move to frontends/
7033
7034         * main.C:
7035         * lyx_main.h:
7036         * lyx_main.C: changes from above
7037
7038 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7039
7040         * intl.C:
7041         * intl.h:
7042         * kbmap.C:
7043         * kbsequence.C:
7044         * lyx_cb.C:
7045         * lyx_main.C: minor tidy
7046
7047 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7048
7049         * BufferView_pimpl.h:
7050         * BufferView_pimpl.C:
7051         * BufferView.h:
7052         * BufferView.C: make painter() const,
7053           remove dead code
7054
7055         * BufferView2.C: use screen() accessor
7056
7057         * lyx_main.h:
7058         * lyx_main.C: some minor cleanup
7059
7060 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7061
7062         * BufferView_pimpl.h:
7063         * BufferView_pimpl.C: remove enter/leaveView,
7064           use workHeight()
7065
7066 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7067
7068         * BufferView.h:
7069         * BufferView.C:
7070         * BufferView2.C:
7071         * BufferView_pimpl.h:
7072         * BufferView_pimpl.C: only construct screen once,
7073           rename
7074
7075         * lyxrc.C: remove pointless comment
7076
7077 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7078
7079         * BufferView.h:
7080         * BufferView.C: remove active() and belowMouse()
7081
7082         * BufferView_pimpl.h:
7083         * BufferView_pimpl.C: use workarea() not workarea_,
7084           and make it use a scoped_ptr instead
7085
7086 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7087
7088         * lyx_gui.C: add debug message on BadWindow
7089
7090 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7091
7092         * sp_spell.C: fdopen is not part of the C++ standard.
7093
7094         * paragraph.C (InsetIterator): use >= instead of ==
7095
7096 2002-06-07  Angus Leeming  <leeming@lyx.org>
7097
7098         Fixes needed to compile with Compaq cxx 6.5.
7099         * BufferView_pimpl.C:
7100         * DepTable.C:
7101         * buffer.C:
7102         * converter.C:
7103         * encoding.C:
7104         * lyx_gui.C:
7105         * lyx_main.C:
7106         * lyxtextclasslist.C:
7107         * minibuffer.C:
7108         * sp_spell.C:
7109         * tabular_funcs.C:
7110         * vc-backend.C:
7111         all c-library variables have been moved into namespace std. Wrap
7112         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7113
7114         * lyxlength.C:
7115         * tabular-old.C:
7116         * tabular.C:
7117         Add a using std::abs declaration.
7118
7119         * kbmap.h (modifier_pair):
7120         * paragraph.h (InsetTable, InsetList):
7121         * lyxfont.h (FontBits):
7122         type definition made public.
7123
7124         * bufferlist.C (emergencyWriteAll): the compiler complains that
7125         there is more than one possible lyx::class_fun template to choose from.
7126         I re-named the void specialisation as lyx::void_class_fun.
7127
7128         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7129
7130         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7131         the compiler is is unable to find tostr in write_attribute.
7132
7133 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7134
7135         * buffer.C (sgmlError): hide #warning
7136
7137 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7138
7139         * xtl/*: get rid of xtl, which is not in use anyway
7140
7141         * LyXAction.C (init):
7142         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7143         were unimplemented xtl experimentation
7144
7145 2002-06-04  André Pönitz <poenitz@gmx.net>
7146
7147         * lyxfunc.C: disable array operation on simple formulae
7148
7149 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7150
7151         * converter.C: constify a bit
7152
7153 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7154
7155         * lyx_gui.C: check xforms version correctly
7156
7157 2002-04-30  Herbert Voss  <voss@lyx.org>
7158
7159         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7160         "keep" option
7161
7162 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7163
7164         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7165           attempt to register it with a VCS)
7166
7167 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7168
7169         * lyx_main.C (init): honor variables LYX_DIR_13x and
7170         LYX_USERDIR_13x
7171
7172 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7173
7174         * buffer.h:
7175         * buffer.C:
7176         * lyx_main.C: fix a crash on bad command line,
7177           and give a useful exit status on error
7178
7179         * lyxfunc.C (doImport): allow -i lyx to work
7180
7181 2002-03-30  André Pönitz <poenitz@gmx.net>
7182
7183         * lyxfunc.C: mathed font changes
7184
7185 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7186
7187         * LaTeX.C:
7188         * importer.h:
7189         * importer.C:
7190         * lyx_sty.h:
7191         * lyx_sty.C:
7192         * lyxlex.C:
7193         * lyxrow.h:
7194         * lyxtext.h:
7195         * paragraph.h:
7196         * paragraph.C:
7197         * texrow.h:
7198         * texrow.C:
7199         * text.C:
7200         * trans_mgr.h: srcdocs, and some minor cleanups
7201
7202 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7203
7204         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7205         call getFont all the time)
7206
7207 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7208
7209         * switch from SigC signals to boost::signals
7210
7211 2002-05-29  André Pönitz <poenitz@gmx.net>
7212
7213         * paragraph_pimpl.C (getChar): don't call size() too often...
7214
7215 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7216
7217         * paragraph_pimpl.C (insertChar): do not try to update tables when
7218         appending (pos == size())
7219
7220         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7221         in order to reduce drastically the number of comparisons needed to
7222         parse a large document
7223
7224 2002-05-29  André Pönitz <poenitz@gmx.net>
7225
7226         * text.C:
7227         * text2.C:
7228         * lyxtextclass.C:
7229         * sp_pspell.h:
7230         * textclasslist.[Ch]:
7231         * sp_ispell.h: whitespace change
7232
7233 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7234
7235         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7236         lyxaction directly now.
7237
7238 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7239
7240         * trans.C:
7241         * lyxfont.C:
7242         * lyxvc.C: remove unused headers
7243
7244 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7245
7246         * Makefile.am:
7247         * buffer.h:
7248         * undostack.h:
7249         * undostack.C:
7250         * undo_funcs.h:
7251         * undo_funcs.C: some cleanups. Use shared_ptr
7252           and a template for the undo stacks.
7253
7254 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7255
7256         * BufferView_pimpl.h:
7257         * BufferView_pimpl.C:
7258         * kbmap.h:
7259         * kbmap.C:
7260         * kbsequence.h:
7261         * kbsequence.C:
7262         * lyxfunc.h:
7263         * lyxfunc.C:
7264         * text2.C: use key_state/mouse_state
7265
7266 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7267
7268         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7269         and LSubstring
7270
7271         * chset.C: change include order
7272         (loadFile): use boost regex and get rid of LRegex and LSubstring
7273
7274         * Makefile.am (BOOST_LIBS): new variable
7275         (lyx_LDADD): use it
7276
7277         * LaTeX.C: change include order.
7278         (scanAuxFile): use boost regex and get rid of LRegex and
7279         LSubstring
7280         (deplog): ditto
7281
7282 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7283
7284         * ColorHandler.h:
7285         * ColorHandler.C:
7286         * FontInfo.h:
7287         * FontInfo.C: moved to frontends/xforms/
7288
7289         * FontLoader.h:
7290         * FontLoader.C: moved into frontends for GUIIzation
7291
7292         * Makefile.am:
7293         * lyx_gui.C:
7294         * lyxfont.C:
7295         * lyxfunc.C: changes from above
7296
7297 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7298
7299         * LColor.C: remove spurious X include
7300
7301         * BufferView_pimpl.C:
7302         * Makefile.am:
7303         * font.h:
7304         * font.C:
7305         * text.C:
7306         * text2.C: move font metrics to frontends/
7307
7308 2002-05-24  Juergen Vigna  <jug@sad.it>
7309
7310         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7311         setting the undo_cursor.
7312
7313         * ParagraphParameters.h: include local includes first.
7314
7315 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7316
7317         * BufferView_pimpl.C:
7318         * BufferView_pimpl.h:
7319         * Makefile.am:
7320         * WorkArea.h:
7321         * WorkArea.C:
7322         * screen.C: move WorkArea into frontends/
7323
7324         * lyxscreen.h:
7325         * screen.C:
7326         * text.C:
7327         * BufferView.C:
7328         * BufferView2.C: move LyXScreen into frontends/
7329
7330         * lyxlookup.h:
7331         * lyxlookup.C:
7332         * lyx_gui.C: move lyxlookup into frontends/xforms/
7333
7334 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7335
7336         * BufferView2.C:
7337         * BufferView_pimpl.C:
7338         * FontLoader.C:
7339         * LyXView.h:
7340         * LyXView.C:
7341         * Makefile.am:
7342         * WorkArea.C:
7343         * XFormsView.h:
7344         * XFormsView.C:
7345         * buffer.C:
7346         * bufferlist.C:
7347         * bufferview_funcs.C:
7348         * converter.C:
7349         * importer.C:
7350         * lyx_cb.C:
7351         * lyx_gui.C:
7352         * lyx_main.C:
7353         * lyx_find.C:
7354         * lyxfunc.C:
7355         * lyxvc.C:
7356         * minibuffer.C:
7357         * text.C:
7358         * text2.C:
7359         * trans.C:
7360         * vc-backend.C: move LyX/XFormsView into frontends/
7361
7362 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7363
7364         * Makefile.am:
7365         * PainterBase.C:
7366         * PainterBase.h:
7367         * Painter.C:
7368         * Painter.h:
7369         * WorkArea.C:
7370         * WorkArea.h:
7371         * screen.C:
7372         * tabular.C:
7373         * text.C:
7374         * text2.C: move Painter to frontends/
7375
7376 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7377
7378         * buffer.C: comment out some some code that depend upon lyx_format
7379         < 220
7380
7381         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7382         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7383
7384         * buffer.h (NO_COMPABILITY): turn off compability
7385
7386         * ColorHandler.C: include scoped_array.hpp
7387
7388         * font.C: Use more specific smart_ptr header.
7389         * Painter.C: ditto
7390         * gettext.C: ditto
7391         * ShareContainer.h: ditto
7392         * lyx_main.h: ditto
7393         * kbmap.h: ditto
7394         * FontInfo.h: ditto
7395         * BufferView_pimpl.h: ditto
7396         * ColorHandler.h: ditto
7397
7398         * kbmap.C (defkey): change call to shared_ptr::reset
7399
7400 2002-05-21  Juergen Vigna  <jug@sad.it>
7401
7402         * buffer.C (insertErtContents): fix to insert ert asis if it is
7403         non empty. Skip it completely if it contains only whitespaces.
7404
7405 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7406
7407         * BufferView_pimpl.C:
7408         * BufferView2.C: clear selection on paste (bug 393)
7409
7410 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7411
7412         * DepTable.C: include ctime
7413
7414 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7415
7416         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7417
7418 2002-05-14  Juergen Vigna  <jug@sad.it>
7419
7420         * text.C (breakParagraph): fixed function to honor the keepempty
7421         layout in the right maner and also to permit the right breaking
7422         algorithm on empty or non empyt keepempty paragraphs.
7423
7424         * paragraph.C (breakParagraph): we have to check also if the par
7425         is really empty (!size()) for isempty otherwise we do the wrong
7426         paragraph break.
7427
7428 2002-05-10  Juergen Vigna  <jug@sad.it>
7429
7430         * buffer.[Ch] : The following are only changes to the ert
7431         compatibility read reading old LaTeX layout and font stuff and
7432         convert it to ERTInsets.
7433
7434         * buffer.h: added isErtInset().
7435
7436         * buffer.C (struct ErtComp): add a fromlayout bool to check
7437         if we're inside a LaTeX layout.
7438         (isErtInset): new helper function.
7439         (insertErtContents): look for other ert insets before this one
7440         and insert the contents there, so that we don't have subsequent
7441         ERT insets with nothing between them. This way we create only one
7442         inset with multiple paragraphs. Also check if we don't insert only
7443         spaces ' ' as they are ignored anyway afterwards in the .tex file
7444         so if we have only spaces we will ignore this latex part in the
7445         new file.
7446         (parseSingleLyXformat2Token \\layout): better compatibility when
7447         reading layout-latex stuff.
7448         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7449         language tag.
7450         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7451         stuff after reading the inset only get the information back from
7452         the stack.
7453
7454 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7455
7456         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7457
7458         * LaTeXFeatures.C (getBabelOptions): New method.
7459
7460 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7461
7462         * BufferView_pimpl.C (Dispatch): work around missing argument for
7463         'layout'
7464
7465 2002-05-08  Juergen Vigna  <jug@sad.it>
7466
7467         * text.C (leftMargin): handle paragraph leftindent.
7468
7469         * paragraph.C (writeFile): write the new \\leftindent tag.
7470         (validate): handle leftindent code.
7471         (TeXEnvironment): handle paragraphleftindent code again.
7472
7473         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7474
7475         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7476         for paragrap_extra indent code and new token \\leftindent.
7477         (latexParagraphs): handle the leftindent as environment.
7478
7479         * ParameterStruct.h: added leftindent support.
7480
7481         * ParagraphParameters.C (leftIndent): added support functions for
7482         the paragraph left indent.
7483
7484         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7485         more appropriate.
7486
7487 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7488
7489         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7490         inside insetERT.
7491
7492         * text.C (computeBidiTables): No bidi in insetERT.
7493
7494         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7495         in RTL documents.
7496
7497 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7498
7499         * version.C.in: pre 5
7500
7501 2002-05-02  José Matos  <jamatos@fep.up.pt>
7502         * buffer.C (makeDocBookFile): white space changes, add newline to
7503         command styles.
7504         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7505
7506         * tabular.C (docBook): fix typo.
7507
7508 2002-05-03  Juergen Vigna  <jug@sad.it>
7509
7510         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7511         change in LyXText as we can not be sure it was not freed.
7512         (drawOneRow): remove unused code.
7513
7514         * text.C (drawInset): redo the calculation of the need_break_row as
7515         it could have a row which was already freed.
7516         (draw): look at the return value of drawInset and return false if
7517         it also returned false.
7518         (paintRowText): look at the return value of draw and return false if
7519         it also returned false.
7520
7521         * lyxtext.h: added bool return type to drawInset() and draw() so that
7522         if we have a change in the row so that the rowbreak has to be redone
7523         we abort drawing as it will be called again.
7524
7525 2002-05-02  Juergen Vigna  <jug@sad.it>
7526
7527         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7528         a change in the maintext also if we're inside an inset.
7529         (Dispatch): set the cursor again after a break line and after the
7530         screen has been updated as it could be we're in a different row.
7531
7532         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7533         to set the cursor behind the pargraph with > size().
7534         (setCursor): check also for the same paragraph when checking where
7535         to put the cursor if we have a NFR inset.
7536
7537         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7538         parts of layout read further up as it still was in the wrong
7539         position.
7540
7541 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7542
7543         * screen.C (drawFromTo): change sine fullRebreak always return
7544         true.
7545
7546         * buffer.C (parseSingleLyXformat2Token): reindent some
7547
7548         * BufferView_pimpl.C (update): change since fullRebreak always
7549         return true.
7550         (Dispatch): git rid of the last hardcoded "Standard"s.
7551
7552 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7553
7554         * text2.[Ch] (fullRebreak): make it return void now that we always
7555         returned true.
7556
7557 2002-04-30  Juergen Vigna  <jug@sad.it>
7558
7559         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7560         ert compatibility check for "latex" layout.
7561
7562 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7563
7564         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7565         minipages: use col% instead of p%, and also use the current font.
7566         (makeLaTeXFile): Fix use babel condition.
7567         (parseSingleLyXformat2Token): Correct font when reading old floats.
7568
7569 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7570
7571         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7572         inserting list of floats.
7573
7574 2002-04-25  Herbert Voss  <voss@lyx.org>
7575
7576         * MenuBackend.C (expand): don't add the graphics extensions to the
7577         export menu
7578
7579 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7580
7581         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7582         non-existing layout, do not complain if it was the default layout
7583         of the original class (bug #342)
7584
7585 2002-04-24  Juergen Vigna  <jug@sad.it>
7586
7587         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7588         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7589
7590 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7591
7592         * buffer.C (getBibkeyList): If using \bibliography, return the
7593         option field with the reference itself. Enables us to provide natbib
7594         support when using \bibliography.
7595
7596 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7597
7598         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7599
7600         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7601         natbib is provided by the LaTeX class.
7602
7603 2002-04-23  Juergen Vigna  <jug@sad.it>
7604
7605         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7606         Wakeup functions.
7607
7608         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7609
7610 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7611
7612         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7613
7614         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7615         ensuremath around textordmasculine, textordfeminine and
7616         textdegree.
7617
7618 2002-04-19  Juergen Vigna  <jug@sad.it>
7619
7620         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7621         reinitializing the buffer otherwise row-dimensions may be wrong.
7622         (update): reset also the selection cursors if they do exits otherwise
7623         their x/y positions may be wrong.
7624
7625         * text2.C (cursorDown): don't enter the inset if we came from a row
7626         above and are one row over the inset.
7627
7628         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7629         really leaving an inset.
7630
7631 2002-04-18  Juergen Vigna  <jug@sad.it>
7632
7633         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7634         of the selected paragraph does not have the selected layout also if
7635         the last one had!
7636
7637         * text2.C (setLayout): fixed bug which did not change last selected
7638         paragraph.
7639
7640         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7641         changed the read and substituted \\end_float with \\end_inset!
7642
7643         * BufferView_pimpl.C (cursorPrevious):
7644         (cursorNext): fixed to make it work with rows heigher than the work
7645         area without moving the cursor only the draw of the row.
7646         (workAreaMotionNotify): fix jumping over high rows.
7647
7648 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7649
7650         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7651         Ressler.
7652
7653 2002-04-16  Juergen Vigna  <jug@sad.it>
7654
7655         * text2.C (setCursor): set also the irow().
7656         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7657         (cursorUp):
7658         (cursorDown): support for locking an inset if the x_fix value goes
7659         inside it. That way I can transverse insets too with cursor up/down.
7660
7661         * lyxrow.h: added irow helper function same as other (i) functions.
7662
7663         * BufferView_pimpl.C (cursorPrevious):
7664         (cursorNext): fixed for insets!
7665
7666 2002-04-15  Juergen Vigna  <jug@sad.it>
7667
7668         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7669         position otherwise it is wrong in some cases.
7670
7671         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7672         inside the inset before the call.
7673
7674 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7675
7676         * buffer.[Ch] (getBibkeyList): make it const.
7677
7678 2002-04-12  Juergen Vigna  <jug@sad.it>
7679
7680         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7681
7682         * text2.C (getCursorX): new helper function
7683         (setCursor): compute also ix_
7684         (setCursorFromCoordinates): set also ix.
7685
7686         * lyxcursor.h: added ix_ and helper functions.
7687
7688         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7689
7690         * buffer.C (insertStringAsLines): dont break paragraph if the this
7691         paragraph is inside an inset which does not permit it!
7692
7693         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7694         also with no chars on this paragraph.
7695         (paintRowText): only paint stuff if it's inside the workarea!
7696
7697         * paragraph.C (breakParagraph): honor keepempty flag and break the
7698         paragraph always below not above.
7699
7700         * BufferView2.C (unlockInset): update the paragraph layout on inset
7701         unlock as we changed paragraph in such a case.
7702
7703         * lyxfind.C (LyXFind): clear the former selection if not found!
7704
7705         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7706         again called in insertChar().
7707
7708         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7709         an inset which uses the whole row!
7710         (rightMargin): ditto.
7711         (insertChar): force a rebreak if we inserted an inset!
7712
7713 2002-03-28  Herbert Voss  <voss@lyx.org>
7714
7715         * lyxlength.[Ch]: add inBP() to get the right PS-point
7716         units (BigPoint). With inPixels we have rounding errors
7717
7718 2002-04-11  Juergen Vigna  <jug@sad.it>
7719
7720         * text2.C (setCursorFromCoordinates): set iy to the right value.
7721         (setCursor): add check if row->previous exists!
7722
7723         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7724         an old float_type as this was the case in the old code!
7725
7726         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7727
7728         * BufferView2.C (showLockedInsetCursor): use iy
7729         (fitLockedInsetCursor): ditto
7730
7731         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7732         locked insets as there we have the right value now.
7733
7734         * lyxcursor.C: added iy_ variable and iy functions to set to the
7735         baseline of cursor-y of the locked inset.
7736
7737         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7738         (setCursor): fixed for insets which need a full row.
7739
7740         * text.C (rowLastPrintable): don't ignore the last space when before
7741         an inset which needs a full row.
7742         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7743         as last character of a row when before a inset which needs a full row.
7744
7745 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7746
7747         * version.C.in: update date
7748
7749         * text2.C (fullRebreak): try to always return true and see what
7750         happens...
7751
7752 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7753
7754         * MenuBackend.C (expand): use Floating::listName
7755
7756         * FloatList.C (FloatList): add listName argument to the built-in
7757         floats
7758
7759         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7760         text associated with the float.
7761
7762 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7763
7764         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7765
7766 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7767
7768         * ShareContainer.h: add a couple of missing typenames.
7769
7770 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7771
7772         * lyxrc.C (getDescription): use _() correctly rather than N_().
7773
7774 2002-03-28  Herbert Voss  <voss@lyx.org>
7775
7776         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7777         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7778
7779 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7780
7781         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7782         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7783
7784 2002-03-29  Juergen Vigna  <jug@sad.it>
7785
7786         * lyxfunc.C (dispatch): add a missing fitCursor call.
7787
7788         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7789         it was scrolled by a cursor move, so return the bool status.
7790
7791         * BufferView.C (fitCursor): return the bool flag also to the outside
7792         world as this is needed.
7793
7794         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7795
7796         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7797         call the edit() as it is not needed (and wrong) IMO.
7798         (workAreaButtonPress): set the screen_first variable before evt.
7799         unlock the inset as this may change screen_first and then we have
7800         a wrong y position for the click!
7801
7802 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7803
7804         * MenuBackend.C (expand): another translation that I missed
7805
7806 2002-03-28  Juergen Vigna  <jug@sad.it>
7807
7808         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7809
7810         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7811
7812 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7813
7814         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7815
7816         * MenuBackend.C (expand): fix export/view/update when there is no
7817         document open.
7818
7819 2002-03-27  Herbert Voss  <voss@lyx.org>
7820
7821         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7822         and text%
7823
7824 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7825
7826         * bufferview_funcs.C (currentState): only show paragraph number
7827         for is DEVEL_VERSION is set.
7828
7829         * lyxfunc.C (dispatch): put warning in INFO channel
7830
7831         * MenuBackend.C (expand): translate the name of floats
7832
7833         * FloatList.C (FloatList): mark the float names for translation
7834
7835         * converter.C (convert): use LibScriptSearch
7836
7837 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7838
7839         * MenuBackend.C (defaults): fix default menu (we might as well get
7840         rid of it...)
7841
7842 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7843
7844         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7845         directory.
7846
7847 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7848
7849         * lyxvc.C: reorder includes.
7850
7851 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7852
7853         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7854           properly
7855
7856 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7857
7858         * CutAndPaste.C: change layouts earlier on paste
7859           to avoid crashing when calling getFont()
7860
7861 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7862
7863         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7864         irritating #error.
7865
7866 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7867
7868         * WorkArea.C: remove 'Pending' debug message.
7869
7870         * most files: ws cleanup
7871
7872         * buffer.[Ch]: ws changes
7873
7874         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7875
7876 2002-03-21  Juergen Vigna  <jug@sad.it>
7877
7878         * tabular.C (SetMultiColumn): collapse also the contents of the
7879         cells and set the last border right. Added a Buffer const * param.
7880
7881 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7882
7883         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7884         linking or not.
7885
7886 2002-03-19  Juergen Vigna  <jug@sad.it>
7887
7888         * text2.C (clearSelection): reset also xsel_cache.
7889
7890         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7891         where it needs to be called (John tells us to do so too :)
7892         (selectionLost): reset sel_cache.
7893
7894         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7895
7896 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7897
7898         * text2.C (setCursorIntern): put debuging code in INSETS channel
7899
7900 2002-03-19  André Pönitz <poenitz@gmx.net>
7901
7902         * lyxfunc.C: tiny whitespace change
7903
7904 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7905
7906         * ToolbarDefaults.C (init):
7907         * LyXAction.C (init):
7908         * commandtags.h:
7909         * BufferView_pimpl.C (Dispatch):
7910         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7911
7912 2002-03-19  Allan Rae  <rae@lyx.org>
7913
7914         * exporter.C (Export): removeAutoInsets before doing anything else.
7915         While I've just introduced a dependency on BufferView this really is
7916         the best place to clean the buffer otherwise you need to cleanup in
7917         a dozen places before calling export or cleanup in a dozen functions
7918         that export calls.
7919
7920         * converter.C (runLaTeX):
7921         (scanLog): Better handling of removeAutoInsets and screen updates.
7922
7923         * lyxfunc.C (dispatch): small whitespace changes
7924
7925 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7926
7927         * WorkArea.C (C_WorkAreaEvent): return a value.
7928         (event_cb): return 1 if we handled the event, 0 otherwise.
7929
7930         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7931
7932 2002-03-18  Juergen Vigna  <jug@sad.it>
7933
7934         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7935         (GetAdditionalWidth): ditto.
7936         (RightLine): ditto.
7937         (LeftLine): ditto.
7938
7939         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7940         inset if we're there actually (probably not used right now but this
7941         is the direction to go for unifying code).
7942         (paste): disable code to clear the selection.
7943
7944         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7945         inside an InsetText and move the check further up as it is in the
7946         wrong place.
7947
7948         * text2.C (pasteSelection): set a selection over the pasted text.
7949
7950 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7951
7952         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7953         and libgraphics to build on Cygwin.
7954
7955 2002-03-15  Juergen Vigna  <jug@sad.it>
7956
7957         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7958         inserting an Inset into the paragraph. I know this is not the best
7959         fix but we already use current_view in CutAndPaste so we will remove
7960         all of it's using at the same time.
7961
7962         * buffer.C (sgmlError): deactivated function till it is rewritten in
7963         the right mode, now it can create problems.
7964
7965         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7966         before accessing it.
7967
7968 2002-03-14  Juergen Vigna  <jug@sad.it>
7969
7970         * undo_funcs.C (textHandleUndo): do the right thing when updating
7971         the inset after the undo/redo.
7972
7973         * text2.C (setCursor): just some testcode for #44 not ready yet.
7974
7975         * undo_funcs.C (textHandleUndo): set the next() and previous()
7976         pointers of the paragraph to 0 before deleting otherwise we have
7977         problems with the Paragraph::[destructor].
7978
7979         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7980         on a paragraph insertion.
7981
7982 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7983
7984         * buffer.C (asciiParagraph): use += operator for char append to
7985         string.
7986
7987         * paragraph.C (getFontSettings): compare >= not just >
7988         (highestFontInRange): ditto
7989         (setFont): ditto
7990
7991 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7992
7993         * paragraph.C: change several algorithm to be more appripriate for
7994         the problem domain. This is lookip in FontList and in the InsetList.
7995
7996 2002-03-13  André Pönitz <poenitz@gmx.net>
7997
7998         * commandtags.h:
7999         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8000
8001 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8002
8003         * commandtags.h:
8004         * LyXAction.C:
8005         * lyxfunc.C:
8006         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8007
8008 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8009
8010         * Painter.C (display): anon helper function, adjust code for this
8011         change.
8012         (pixmap): remove function.
8013
8014         * Painter.h: remove private display variable.
8015
8016         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8017
8018 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8019
8020         * WorkArea.[Ch]: remove figinset_canvas cruft.
8021
8022 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8023
8024         * lyxtextclass.C (operator): add one item cache optimization.
8025
8026         * bufferlist.h: doxy changes
8027
8028         * bufferlist.C: ws changes
8029
8030         * DepTable.[Ch] (ext_exist): place const in the right spot.
8031
8032         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8033         call resizeInsets.
8034         (workAreaExpose): call resizeInsets when the with BufferView changes.
8035         (Dispatch): adjust for protectedBlank removal
8036         (specialChar): call updateInset if the insert went ok.
8037
8038         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8039         specialChar instead.
8040
8041         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8042
8043         * BufferView.h: doxy change
8044
8045         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8046
8047         * lyxtextclass.C (operator[]): remove non-const version
8048         (defaultLayout): remove non-const version
8049
8050 2002-03-12  Juergen Vigna  <jug@sad.it>
8051
8052         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8053         did resize the LyXText too.
8054
8055         * buffer.C (readLyXformat2): set layout information on newly allocated
8056         paragraphs.
8057
8058         * tabular.C (OldFormatRead): set layout information on the paragraph.
8059
8060 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8061
8062         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8063
8064 2002-03-11  Juergen Vigna  <jug@sad.it>
8065
8066         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8067         plainly wrong.
8068         (resizeCurrentBuffer): force also the insets to resize themselfes.
8069         (moveCursorUpdate): fixed up for InsetText.
8070
8071 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8072
8073         * commandtags.h:
8074         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8075         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8076         value of Dialogs::tooltipsEnabled().
8077         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8078
8079 2002-03-08  Juergen Vigna  <jug@sad.it>
8080
8081         * BufferView_pimpl.C (updateInset): update inset inside inset also
8082         if it isn't inside theLockingInset().
8083
8084 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8085
8086         * buffer.C (asciiParagraph): redo some of the word and line length
8087         handling.
8088         (getLists): look for Caption instead of caption.
8089
8090 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8091
8092         * buffer.C (Buffer): initialize niceFile to true
8093         (makeLaTeXFile):
8094         (makeLinuxDocFile):
8095         (makeDocBookFile): make sure niceFile is true on exit
8096
8097 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8098
8099         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8100
8101 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8102
8103         * LyXSendto.C: remove.
8104         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8105         * lyx_gui.C: remove now-redundant comment.
8106         * ColorHandler.h: remove forward declaration of class WorkArea.
8107         * lyxfunc.C: remove #include "WorkArea.h".
8108
8109 2002-03-07  Juergen Vigna  <jug@sad.it>
8110
8111         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8112         got moved away with the DEPM and also set the inset_owner always
8113         right which before could have been omitted.
8114
8115 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8116
8117         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8118         wanted layout is not found.
8119
8120 2002-03-07  Juergen Vigna  <jug@sad.it>
8121
8122         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8123
8124 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8125
8126         * paragraph.C (breakParagraph): use default layout not layout of
8127         prev paragraph.
8128         (Paragraph): clear ParagraphParameters.
8129
8130 2002-03-06  Juergen Vigna  <jug@sad.it>
8131
8132         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8133         otherwise it would not be a valid lenght. Fixed a special case in
8134         the minipage compatibility read where we end the document with a
8135         minipage.
8136
8137         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8138         was set as it could be 0 for InsetTexts first entry.
8139
8140 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8141
8142         * paragraph.C (writeFile): if layout is empty write out
8143         defaultLayoutName().
8144
8145         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8146         file without named layout we set layout to defaultLayoutName().
8147
8148 2002-03-06  Juergen Vigna  <jug@sad.it>
8149
8150         * CutAndPaste.C (copySelection): set layout for new paragraph.
8151
8152         * text.C (prepareToPrint): leave ERT inset left aligned
8153         (leftMargin): don't indent paragraphs inside ERT insets
8154
8155 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8156
8157         * paragraph.C (breakParagraph): dont call clear do the work manually
8158
8159         * paragraph.[Ch] (clear): remove function
8160
8161 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8162
8163         * paragraph.C (Paragraph): dont call clear, the work has already
8164         been done.
8165
8166         * lyxtextclass.C (operator): assert if n is empty
8167
8168         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8169         work manually instead.
8170
8171 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8172
8173         * BufferView_pimpl.C: protect selectionLost against text == 0
8174
8175 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8176
8177         * text.C (breakParagraph): fix a setting layout to '0' problem.
8178
8179 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8180
8181         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8182         final location of file, for the included files, and graphics.
8183
8184 2002-03-05  Juergen Vigna  <jug@sad.it>
8185
8186         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8187
8188 2002-03-04  Juergen Vigna  <jug@sad.it>
8189
8190         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8191
8192         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8193         last column of multicolumn cells.
8194         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8195
8196 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8197
8198         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8199         file if it doesn't go to a temporary file.
8200
8201         * buffer.C (sgmlOpenTag):
8202         (sgmlCloseTag):  remove extra newline insertion.
8203
8204 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8205
8206         * text.C (getRowNearY): comment out debug msg
8207
8208 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8209
8210         * text2.C: first -> first_y
8211
8212         * text.C (getRowNearY): add some attemts at a possible
8213         optimization, not working.
8214
8215         * tabular.[Ch]: add BufferParams to several function so that newly
8216         created paragraph can be initialized to he default layotu for the
8217         buffers textclass.
8218
8219         * tabular-old.C (ReadOld): add buf->params to call of Init
8220
8221         * screen.C: rename text->first to text->first_y
8222
8223         * paragraph.C (breakParagraph): always set layout in the broken
8224         paragraph
8225
8226         * lyxtextclass.C (Read): remove lowercase
8227         (hasLayout): ditto
8228         (operator): ditto
8229         (delete_layout): ditto
8230
8231         * lyxtext.h: rename first -> first_y
8232
8233         * lyxlayout.C (Read): remove lowercase
8234         (name): ditto
8235         (setName): ditto
8236         (obsoleted_by): ditto
8237
8238         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8239
8240         * buffer.C (insertErtContents): add params are to InsetERT
8241         (parseSingleLyXformat2Token): add code to check if a paragraphs
8242         layout really exist.
8243         (parseSingleLyXformat2Token): add params to several inset
8244         constructors
8245         (asciiParagraph): remove lowercase, do the layout comparisons with
8246         no_case
8247
8248         * BufferView_pimpl.C (cursorNext): first -> first_y
8249         (resizeCurrentBuffer): first -> first_y
8250         (updateScrollbar): first -> first_y
8251         (scrollCB): first -> first_y
8252         (workAreaMotionNotify): first -> first_y
8253         (workAreaButtonPress): first -> first_y
8254         (checkInsetHit): first -> first_y
8255         (cursorPrevious): first -> first_y
8256         (cursorNext): first -> first_y
8257         (Dispatch): add buffer_->params to severl inset contructors
8258
8259 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8260
8261         * lyxlayout.C (Read): remove some debug info that I forgot.
8262
8263         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8264         clean up the code slightly.
8265         (makeLinuxDocFile): ditto
8266         (makeDocBookFile): ditto
8267
8268         * text2.C: layout as string
8269
8270         * text.C: layout as string
8271
8272         * paragraph_pimpl.C: layout as string
8273
8274         * paragraph.[Ch]: layout as string
8275
8276         * lyxtextclasslist.[Ch]: layout as string
8277
8278         * lyxtextclass.[Ch]: layout as string
8279
8280         * lyxtext.h: layout as string
8281
8282         * lyxlayout.[Ch]: layout as string
8283
8284         * lyx_cb.C: layout as string
8285
8286         * bufferview_funcs.C: layout as string
8287
8288         * bufferparams.C: layout as string
8289
8290         * buffer.C: layout as string
8291
8292         * LyXView.[Ch]: layout as string
8293
8294         * LaTeXFeatures.[Ch]: layout as string
8295
8296         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8297
8298         * BufferView_pimpl.C: change current_layout to string, remove
8299         lyx::layout_type.
8300         (Dispatch):
8301         (smartQuote):
8302         (insertInset):
8303         (workAreaButtonRelease): layout as string
8304
8305         * BufferView2.C (unlockInset): adjust
8306
8307         * vspace.C (asLatexCommand): use an explict temp variable.
8308
8309 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8310
8311         * Makefile.am: use FRONTEND_*
8312
8313 2002-03-01  Juergen Vigna  <jug@sad.it>
8314
8315         * tabular.C (SetWidthOfMulticolCell): changed to something better
8316         I hope but still work in progress.
8317         (recalculateMulticolumnsOfColumn): renamed function from
8318         recalculateMulticolCells as it is more appropriate now.
8319         (SetWidthOfCell): calculate multicols better.
8320
8321 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8322
8323         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8324
8325         * lyxfunc.C (processKeySym): print sequence also if it is
8326         `deleted' (complete)
8327
8328         * kbsequence.C (print): print sequence even if it is deleted
8329         (complete would be a better word, actually).
8330
8331         * lyxfunc.C (dispatch): print complete options after a prefix key
8332
8333         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8334
8335 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8336
8337         * text2.C (setCharFont): eliminate setCharFont code duplication.
8338
8339 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8340
8341         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8342         LFUN_TABULAR_FEATURE (bug #177)
8343
8344 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8345
8346         * Makefile.am: remove figure.h
8347
8348 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8349
8350         * Bufferview_pimpl.C:
8351         * CutAndPasteC:
8352         * LaTeX.C:
8353         * LyXSendto.C:
8354         * buffer.C:
8355         * bufferlist.C:
8356         * converter.C:
8357         * language.C:
8358         * lyxfunc.C:
8359         * lyxvc.C:
8360         * paragraph.C:
8361         * text.C:
8362         * text2.C: remove #include "lyx_gui_misc.h".
8363
8364         * LaTeX.C: added #include <cstdio>
8365
8366 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8367
8368         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8369         that the paragraph following this one can have.
8370
8371         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8372
8373         * vspace.C (asLatexCommand): fix bogus gcc warning
8374
8375         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8376
8377 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8378
8379         * text2.C (setLayout): get rid of redundant code
8380
8381 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8382
8383         * text2.C (incDepth): make sure depth cannot be increased beyond
8384         reasonable values.
8385
8386 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8387
8388         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8389         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8390
8391         * PainterBase.h (image):
8392         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8393         a LyXImage const *.
8394
8395 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8396
8397         * BufferView.C:
8398         * BufferView.h:
8399         * BufferView_pimpl.C:
8400         * BufferView_pimpl.h:
8401         * LaTeXFeatures.C:
8402         * LyXAction.C:
8403         * LyXView.C:
8404         * Makefile.am:
8405         * UpdateList.h:
8406         * UpdateList.C:
8407         * buffer.C:
8408         * figure.h:
8409         * figureForm.C:
8410         * figureForm.h:
8411         * figure_form.C:
8412         * figure_form.h:
8413         * lyx_cb.C:
8414         * lyx_gui.C:
8415         * lyx_gui_misc.C:
8416         * lyxfunc.C:
8417         * sp_base.h:
8418         * sp_ispell.h:
8419         * sp_pspell.h:
8420         * sp_spell.C: remove fig inset, and the crap house of
8421           cards that follows it
8422
8423 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8424
8425         * Makefile.am:
8426         * lyxserver.C:
8427         * os2_defines.h:
8428         * os2_errortable.h:
8429         * nt_defines.h: move .h into support/
8430
8431         * vms_defines.h: remove
8432
8433         * WorkArea.C: add space in debug output
8434
8435         * text2.C:
8436         * paragraph.C:
8437         * buffer.C: add WITH_WARNINGS
8438
8439         * vc-backend.h:
8440         * vc-backend.C:
8441         * bufferlist.C: s/retrive/retrieve/, add docs
8442
8443         * vspace.h:
8444         * vspace.C:
8445         * kbmap.h:
8446         * lyxlength.h:
8447         * lyxgluelength.h:
8448         * length_common.h:
8449         * chset.h:
8450         * chset.C: add docs
8451
8452         * lyxgui.C: add ID to X error handler
8453
8454         * lyxtestclass.c: fix typo
8455
8456 2002-02-26  Juergen Vigna  <jug@sad.it>
8457
8458         * tabular_funcs.C (write_attribute): changed so that some default
8459         attributes are not written at all.
8460         (getTokenValue): set default values before trying to read the
8461         value so we have the return value always set as default if we don't
8462         find the token we search for.
8463
8464         * tabular.C (Write): write bools as bools not as strings!
8465
8466 2002-02-22  Juergen Vigna  <jug@sad.it>
8467
8468         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8469         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8470
8471         * text.C (leftMargin): don't add an indent for paragraphs inside
8472         tabular cells (fix #208).
8473
8474 2002-02-21  José Matos  <jamatos@fep.up.pt>
8475
8476         * tabular.C (docBook): fixed support for long tables.
8477
8478 2002-02-20  Juergen Vigna  <jug@sad.it>
8479
8480         * text2.C (getFont): get the drawing font of the Inset if this
8481         paragraph is inside an inset (only important for InsetERT for now).
8482
8483         * buffer.C (insertErtContents): use new lanugage params in ERT
8484         constructor.
8485
8486         * CutAndPaste.C: commenting out seemingly uneeded code.
8487
8488 2002-02-19  Allan Rae  <rae@lyx.org>
8489
8490         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8491         Iterators might be simple to use but they also get invalidated.
8492         (removeAutoInsets): renamed saved cursor tracking variables and added
8493         some comments to clarify what everything does.
8494
8495 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8496
8497         * Chktex.C:
8498         * LaTeX.C:
8499         * LyXSendto.C:
8500         * converter.C:
8501         * lyx_cb.C:
8502         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8503         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8504
8505         * lyxfunc.C:
8506         * vc-backend.h: remove #include "support/syscall.h"
8507
8508         * LaTeX.C:
8509         * LyXSendto.C:
8510         * converter.C: rearrange #includes in Lars' approved fashion.
8511
8512         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8513         forward declare class Timeout in the header file.
8514
8515         * XFormsView.C: changes due to the above.
8516
8517         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8518         similar to LyXView.
8519
8520         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8521         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8522
8523 2002-02-18  José Matos  <jamatos@fep.up.pt>
8524
8525         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8526         insets contents.
8527
8528 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8529
8530         * a lot of small ws changes
8531         * add a lot of using std::XXX
8532         * use std construcs some places where approp.
8533         * use some exisint stuff from lyxfunctional where approp.
8534         * Make file changes to use partial linking (lets test this now...)
8535
8536 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8537
8538         * Chktex.C:
8539         * buffer.C:
8540         remove #include "support/syscontr.h" as it's redundant. Always has been.
8541
8542         * Chktex.C:
8543         * LaTeX.C:
8544         * LyXSendto.C:
8545         * converter.C:
8546         * lyx_cb.C:
8547         * vc-backend.C:
8548         change Systemcalls::System to Systemcalls::Wait and
8549         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8550         No change of functionality, just reflects the stripped down Systemcalls
8551         class.
8552
8553 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8554
8555         * debug.[Ch]: add a GRAPHICS type to the enum.
8556
8557 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8558
8559         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8560
8561         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8562         there is an inset.
8563
8564 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8565
8566         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8567         match the changes below.
8568
8569         * text2.C (toggleInset): if there is not editable inset at cursor
8570         position, try to see if cursor is _inside_ a collapsable inset
8571         and close it.
8572
8573 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8574
8575         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8576         document menu has a nice checkbox
8577
8578 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8579
8580         * lyxlength.C (asLatexString): change PW to output as percent of
8581         \textwidth.
8582
8583         * lengthcommon.C: change '%' to 't%'
8584
8585         * lyxfunc.C (dispatch): a few comments from Martin
8586
8587 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8588
8589         * WorkArea.h:
8590         * WorkArea.C:
8591         * BufferView_pimpl.h:
8592         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8593           the X selection.
8594
8595 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8596
8597         * vspace.C (inPixels): fix compiler warning
8598
8599 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8600
8601         * lyxfunc.C (getStatus): fix status message for disabled commands.
8602
8603 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8604
8605         * BufferView_pimpl.C: fix crash on close buffer
8606         during selection (#227)
8607
8608 2002-01-27  Herbert Voss  <voss@lyx.org>
8609
8610         * buffer.C: link old Figure to new graphic inset
8611
8612 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8613
8614         * FontLoader.C (getFontinfo): Change the latex font names in order
8615         to match the names of type1inst.
8616
8617 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8618
8619         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8620
8621         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8622         (extchanged): ditto
8623         (ext_exist): ditto
8624         (remove_files_with_extension): ditto
8625         (remove_file): ditto
8626         (write): ditto
8627
8628         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8629         document is smaller than the work area height. Do not initialize
8630         static variables to 0.
8631
8632 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8633
8634         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8635
8636         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8637         LFUN_LAYOUT_PARAGRAPHS.
8638
8639         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8640         tabular. It is possible to provide a possible cell, which will
8641         typically be the actcell from the corresponding insettabular
8642
8643         * lyxfunc.C (getStatus): small cleanup; disable
8644         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8645         true
8646
8647 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8648
8649         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8650
8651         * paragraph.C (startTeXParParams):
8652         (endTeXParParams): new methods. The LaTeX code to
8653         start/end paragraph formatting
8654         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8655         empty (fixes bug #200)
8656
8657         * vspace.C (inPixels): adapt to the change below
8658         (inPixels): [later] more cleanups (remove unused variables)
8659
8660         * lyxlength.C (inPixels): change to use a width and a height as
8661         parameter.
8662
8663 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8664
8665         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8666         Replaced with \paperwidth
8667
8668         * DepTable.C (insert): add std:: qualifier
8669
8670 2002-01-18  Allan Rae  <rae@lyx.org>
8671
8672         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8673         updated also?
8674
8675         * text.C (drawInset): Turned out I didn't know enough about how
8676         rebreaking worked.  This fixes most of the redraw problems.  I see
8677         an occasional cursor trail when a line is broken now and the cursor
8678         placement can seem out by a few pixels also after a rebreak.
8679
8680 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8681
8682         * buffer.C (parseSingleLyXformat2Token): update because minipage
8683         width is now a LyXLength
8684
8685         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8686
8687         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8688         math insets
8689
8690 2002-01-17  Juergen Vigna  <jug@sad.it>
8691
8692         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8693
8694         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8695         is set correctly and the inset is updated correctly.
8696
8697 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8698
8699         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8700         the beginning of the loop.
8701
8702 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8703
8704         * lyxrc.C: improve help for use_scalable_fonts
8705
8706 2002-01-17  Allan Rae  <rae@lyx.org>
8707
8708         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8709
8710 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8711
8712         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8713         make sure to set their inset_owner to the right value (bug #171)
8714
8715 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8716
8717         * DepTable.h
8718         * DepTable.C: Implement mtime checking to reduce time spent doing
8719         CRCs.
8720
8721 2002-01-16  Juergen Vigna  <jug@sad.it>
8722
8723         * tabular.C (GetAdditionalHeight): one of error fixed.
8724
8725         * lyxrc.C (output): small fix in writing use_pspell.
8726
8727 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8728
8729         * sp_base.h: #include LString.h
8730
8731 2002-01-16  Allan Rae  <rae@lyx.org>
8732
8733         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8734         Can someone check this please?
8735
8736         * text.C (drawInset): It was possible that p.row would be removed by
8737         breakAgainOneRow upsetting a few other settings.  There may be another
8738         small tweak possible by setting need_break_row = 0 when p.row has been
8739         removed but I don't know enough about the logic here.
8740
8741 2002-01-15  Allan Rae  <rae@lyx.org>
8742
8743         * text.C (insertChar): removed conditional truism.
8744
8745         * BufferView2.C (removeAutoInsets): More tweaks.
8746         cur_par_prev could be a stray pointer.  Check for trailing empty line
8747         in case last line was cur_par and only had an error inset on it.
8748
8749 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8750
8751         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8752         absolute
8753
8754         * vc-backend.C (most methods):
8755         * exporter.C (Export):
8756         * converter.C (convert):
8757         (runLaTeX):
8758         * LyXSendto.C (SendtoApplyCB):
8759         * lyxfunc.C (dispatch):
8760         (menuNew):
8761         (open):
8762         (doImport):
8763         * lyx_cb.C (AutoSave):
8764         (InsertAsciiFile):
8765         * BufferView_pimpl.C (MenuInsertLyXFile):
8766         * buffer.C (runChktex): use Buffer::filePath().
8767
8768         * buffer.h: rename filename to filename_; rename filepath to
8769         filepath_ and make it private
8770         (filePath): new method
8771
8772         * buffer.C (writeFile): use fileName()
8773         (getLatexName):
8774
8775         * lyx_main.C (init): fix starting  of LyX when the binary is a
8776         link from so,ewhere else.
8777
8778         * minibuffer.C: include <cctype> for isprint
8779
8780 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8781
8782         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8783         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8784         name clash with InsetCollapsable's width function.
8785
8786 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8787
8788         * lastfiles.C: include <iterator>
8789
8790 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8791
8792         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8793         std::count.
8794
8795         * buffer.C (makeLaTeXFile): ditto.
8796         Also make loop operation more transparent.
8797
8798 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8799
8800         * ToolbarDefaults.C: remove trailing comma closing namespace.
8801
8802         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8803
8804         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8805         as in WorkArea.
8806
8807         * trans.C (Load): comment out unused variable, allowed.
8808
8809 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8810
8811         * minibuffer.[Ch] (append_char): new method to recieve input from the
8812         drop-down completion browser. If a key was pressed, then recieve this
8813         char and append it to the existing string.
8814         (peek_event): modify the positioning data passed to the completion
8815         browser so that it can be placed above the minibuffer rather than below.
8816 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8817
8818         * LyXAction.C (init): alloe error-next for readonly documents.
8819
8820         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8821         count.
8822
8823 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8824
8825         * bufferlist.C (readFile): create the buffer _after_ checking that
8826         the file exists.
8827
8828         * lyxfunc.C (verboseDispatch): fix handling of arguments
8829
8830         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8831
8832         * lyxrc.C: use string::erase() instead of initializing to "".
8833
8834
8835 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8836
8837         * BufferView_pimpl.h:
8838         * BufferView_pimpl.C:
8839         * WorkArea.h:
8840         * WorkArea.C:
8841         * text2.C: tell X when we have made a selection for copying
8842
8843 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8844
8845         * BufferView_pimpl.C (MenuInsertLyXFile):
8846         * lyxfunc.C (menuNew):
8847         (open):
8848         (doImport): add shortcuts to directory buttons
8849
8850         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8851         open a float)
8852
8853         * lyxfunc.C (setStatusMessage):
8854         (getStatusMessage): new methods
8855         (getStatus):use setStatusMessage instead of setErrorMessage
8856         (dispatch): when function is disabled, set error message here
8857         [instead of in getStatus previously]
8858
8859         * BufferView_pimpl.C (workAreaButtonRelease): update
8860         toolbar/menubar here too.
8861
8862 2002-01-13  Allan Rae  <rae@lyx.org>
8863
8864         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8865         Now seems indestructible.  Remaining task is to audit all other
8866         code affected by deleteEmptyParagraphMechanism.  One small quirk
8867         left is that an empty document with an error in the preamble can
8868         be made to report an error but no error box appears.  I don't know
8869         where it goes.
8870         (removeAutoInsets): Improved comments.
8871
8872 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8873
8874         * Thesaurus.h:
8875         * Thesaurus.C: update for Aiksaurus 0.14
8876
8877 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8878
8879         * text2.C (firstParagraph): removed member function, all uses
8880         replaces with ownerParagraph
8881         (redoParagraphs): here
8882         (updateInset): here
8883         (toggleAppendix): here
8884         * BufferView2.C (insertErrors): here
8885         (setCursorFromRow): here
8886
8887 2002-01-13  Allan Rae  <rae@lyx.org>
8888
8889         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8890         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8891         There is still a way to segfault this although you may have to do this
8892         multiple times: Have an InsetERT with an unknown command in it.
8893         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8894         <down-arrow>, <Enter> again, View->DVI, BANG!
8895
8896         * text2.C (setCursor):
8897         (deleteEmptyParagraphMechanism):
8898         * lyxtext.h (setCursor):
8899         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8900         Making use of the return value may help fix other bugs.
8901
8902 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8903
8904         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8905
8906         * LyXView.C (updateMenubar): call MenuBar::update here
8907         (updateToolbar): but not here
8908         (showState): do not update toolbar/menubar
8909
8910         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8911         should need to care about that.
8912
8913         * lyxfunc.C (verboseDispatch): simplify a bit
8914         (getStatus): have a version which takes a pseudoaction, and
8915         another which requires a (kb_action,string).
8916
8917         * LyXAction.C (retrieveActionArg): make it work also when action
8918         is not a pseudo-action.
8919         (getActionName): simplify a bit
8920         (helpText):
8921
8922 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8923
8924         * lyxfunc.C (verboseDispatch): new families of methods with
8925         several ways to specify a command and a bool to indicate whether
8926         the command name and shortcut should be displayed in minibuffer
8927         (eventually, we could extend that to a finer bitmask like
8928         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8929         (dispatch): the pristine dispatch command which just, well,
8930         dispatchs! Note it still sets its result to minibuffer; I'm not
8931         sure we want that.
8932
8933         * lyxfunc.h: remove setHintMessage
8934
8935         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8936
8937 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8938
8939         * BufferView_pimpl.C (specialChar): delete new inset if we have
8940         not been able to insert it.
8941
8942         * kbmap.C: revert to using int instead of kb_action, since all we
8943         are dealing with is pseudo-actions.
8944
8945         * LyXAction.C (searchActionArg): change to return int instead of
8946         kb_action, since the result is a pseudoaction.
8947
8948 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8949
8950         * buffer.C (insertErtContents): Fix (partially) the font bug.
8951
8952 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8953
8954         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8955         as the other one is broken on my machine!
8956
8957 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8958
8959         * commandtags.h:
8960         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8961
8962 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8963
8964         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8965         reflect their actual use. Provide compatibility code for older lyxrc
8966         files.
8967
8968         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8969         FL_NORMAL_STYLE.
8970         change names of popup font variables in line with the changes to lyxrc.C
8971
8972 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8973
8974         * buffer.C (asciiParagraph): avoid outputing a word twice after
8975         an inset.
8976
8977         * lyxrc.C (getDescription): document that document_path and
8978         template_path can be empty.
8979
8980 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8981
8982         * LaTeXFeatures.C (getMacros):
8983         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8984
8985         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8986
8987         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8988         getPackages.
8989         (getPackages): rename feature "floats" to "float". Use an array to
8990         iterate over 'simple' features (i.e. just a \usepackage). Add
8991         handling of "amsmath" (renamed from "amsstyle").
8992
8993 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8994
8995         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8996         features list.
8997
8998 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8999
9000         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9001         FuncStaus::FuncStatus & FuncStaus::some_method().
9002
9003 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9004
9005         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9006         of the func_satus stuff. Edited and massaged in various ways by
9007         JMarc.
9008
9009         * lyxfunc.C (getStatus): use FuncStatus
9010
9011 2002-01-08  Juergen Vigna  <jug@sad.it>
9012
9013         * text.C (nextBreakPoint): use function Inset::isChar().
9014
9015         * paragraph.C (TeXOnePar): use function
9016         Inset::forceDefaultParagraphs.
9017
9018         * buffer.C (latexParagraphs): use function
9019         Inset::forceDefaultParagraphs.
9020
9021 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9022
9023         * lyx_gui.C (init): set the style of the menu popups to
9024         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9025
9026 2002-01-07  Juergen Vigna  <jug@sad.it>
9027
9028         * text.C (setHeightOfRow): small fix
9029         (prepareToPrint): don't look at alignment if we don't have the place
9030         for doing it.
9031
9032 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9033
9034         * box.C: New file. Move the Box methods and functions out of box.h,
9035         following Lars' suggestion.
9036
9037 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9038
9039         * box.h: #include "support/LOstream.h", needed for inlined function.
9040
9041         * lyxtextclass.C:
9042         * lyxtextclasslist.C: added some using std declarations.
9043
9044 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9045
9046         * box.h: make signed dimensions to allow insets wider than
9047           the screen (bug #162)
9048
9049         * BufferView_pimpl.C: add some insetHit debug
9050
9051 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9052
9053         * vc-backend.C: add FIXME
9054
9055 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9056
9057         * lyxfunc.C (getStatus): enable code for showing math font status
9058         in toolbar/menu.
9059
9060 2002-01-07  Juergen Vigna  <jug@sad.it>
9061
9062         * text.C (nextBreakPoint): removed debug output not needed anymore.
9063
9064 2002-01-06  Juergen Vigna  <jug@sad.it>
9065
9066         * text.C (nextBreakPoint): fixed up this function we had this bug
9067         since ever but now hopefully we break row better.
9068         (insertChar): we have to check if an inset is the next char as it
9069         could now happen that a large inset is causing a break.
9070
9071 2002-01-05  Juergen Vigna  <jug@sad.it>
9072
9073         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9074         if it doesn't like to be drawed.
9075
9076 2002-01-04  Juergen Vigna  <jug@sad.it>
9077
9078         * BufferView2.C (lockInset): forgot to set a cursor.
9079
9080         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9081
9082 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9083
9084         * FormMathsPanel.C:
9085         * FormMathsPanel.h
9086         * MathsSymbols.C:
9087         * form_maths_panel.C:
9088         * form_maths_panel.h:
9089         * form_maths_panel.fd: implemented sub- and super- buttons in math
9090         panel.
9091
9092         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9093         (or ^ space) to be used as in TeX (req'd by André).
9094
9095         * lyxfunc.C: Allow ^ and _ again to be used both as
9096         super/subscript (mathed) and as themselves (in text).
9097
9098 2002-01-03  Allan Rae  <rae@lyx.org>
9099
9100         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9101         "LyX" or the filename of the current buffer if it has one.  This is a
9102         modified form of John Levon's patch.
9103
9104         * XFormsView.C (setWindowTitle): also set icon title.
9105
9106         * LyXView.h (setWindowTitle): signature changed.
9107         * XFormsView.h (setWindowTitle): ditto.
9108
9109 2002-01-02  Juergen Vigna  <jug@sad.it>
9110
9111         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9112
9113 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9114
9115         * screen.C (topCursorVisible): introduce a temp var for
9116         text->cursor.row(), handle the case where this row is null. (kindo
9117         hachish)
9118
9119         * text2.C (setCursor): add a couple of asserts.
9120
9121         * paragraph.h (inset_iterator): add -> operator
9122
9123         * paragraph.[Ch] (autoDeleteInsets): remove member function
9124
9125         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9126         cursor pos correctly and handle inset deletion by itself.
9127         (insertErrors): move iterator declaration out of for expression
9128
9129         * lyxtextclass.C: add <algorithm>
9130
9131         * Makefile.am: added the new files to sources, removed layout.C
9132
9133         * layout.C: removed file
9134
9135         * layout.h: remove LYX_DUMMY_LAYOUT
9136
9137         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9138         layout.
9139
9140         * lyxlayout.[Ch]:
9141         * lyxtextclass.[Ch]:
9142         * lyxtextclasslist.[Ch]: new files
9143
9144         * include order changes to a lot of files, also changes because of
9145         the six new files.
9146
9147 2001-12-27  Juergen Vigna  <jug@sad.it>
9148
9149         * buffer.C (asciiParagraph): more fixes.
9150
9151         * tabular.C (ascii): make ascii export support export of only the
9152         data separated by a column-delimiter.
9153         (ascii): better support for ascii export.
9154
9155         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9156
9157 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9158
9159         * tabular_funcs.C: use a "using std::getline" instead of the
9160         previous fix from Angus (necessary for cxx + lyxstring)
9161
9162 2001-12-24  Juergen Vigna  <jug@sad.it>
9163
9164         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9165
9166         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9167         problems. First check a minipage also if we have some ert-contents
9168         (not only on par->size(), second set the right depth of the paragraph
9169         on the relink to the root-paragraph-list!
9170
9171         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9172         which then did not anymore update the main paragraphs on undo/redo!
9173
9174 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9175
9176         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9177         code. Support all font-changing funcs (even those which are not in
9178         menu currently). Support for reporting font settings in
9179         mathed (disabled until Andre provides a function on mathed's side).
9180
9181         * func_status.h (toggle): small helper function to set toggle
9182         state on a flag.
9183
9184 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9185
9186         * tabular_funcs.C: getline -> std::getline
9187
9188 2001-12-21  Juergen Vigna  <jug@sad.it>
9189
9190         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9191         accessed and could be 0 (I couldn't generate this but it seems
9192         Michael could!).
9193
9194 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9195
9196         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9197         * tabular_funcs.h: here and include iosfwd
9198
9199 2001-12-20  Juergen Vigna  <jug@sad.it>
9200
9201         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9202         inside inset but undo_par was.
9203
9204 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9205
9206         * Thesaurus.C: always include <config.h> in sources.
9207
9208         * Painter.h:
9209         * lyxlookup.h:
9210         * box.h: do not include <config.h> in header files
9211
9212         * text.C (paintLastRow): remove unused variable
9213
9214         * text.C (transformChar):
9215         (insertChar):
9216         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9217
9218         * Painter.C (text):
9219         * font.C (width): rewrite to use uppercase() instead of
9220         islower/toupper.
9221
9222         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9223
9224 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9225
9226         * lyxfind.C: clean up of find failure position change
9227
9228 2001-12-20  Juergen Vigna  <jug@sad.it>
9229
9230         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9231
9232         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9233         (TeXRow): added to LaTeX a single tabular row.
9234         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9235         (Latex): simplified and finally good LT-h/f support.
9236         (various_functions): just small adaptions for LT-h/f support.
9237
9238         * tabular_funcs.[hC]: added and moved here all not classfunctions
9239         of LyXTabular.
9240
9241 2001-12-19  Juergen Vigna  <jug@sad.it>
9242
9243         * tabular.[Ch]: better support for longtabular options (not finished
9244         yet!)
9245
9246 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9247
9248         * text.C (paintLastRow): use the label font instead of the font of
9249         the last character to compute the size of *_BOX. This makes more
9250         sense and avoids a crash with empty paragraphs.
9251         Use Painter::rectangle to draw EMPTY_BOX.
9252
9253 2001-12-19  Juergen Vigna  <jug@sad.it>
9254
9255         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9256         the paragraphs if the replaced paragraph is not the first one!
9257         Tried to delete not used paragraphs but does not work yet so for
9258         now it's inside #ifdef's and by default off!
9259
9260 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9261
9262         * MenuBackend.C: include "lyx_main.h" instead of declaring
9263         lastfiles (actually was declared as LastFiles* instead of a
9264         scoped_ptr).
9265
9266 2001-12-17  Juergen Vigna  <jug@sad.it>
9267
9268         * tabular.C (AppendColumn): applied John's fix
9269
9270 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9271
9272         * BufferView.h:
9273         * BufferView.C:
9274         * BufferView_pimpl.h:
9275         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9276
9277         * Makefile.am:
9278         * box.h: new start of class for above
9279
9280         * lyxfunc.C: ignore space-only minibuffer dispatches.
9281           Show the command name when it doesn't exist
9282
9283         * minibuffer.C: don't add empty lines to the history
9284
9285         * minibuffer.C: add a space on dropdown completion
9286
9287 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9288
9289         * text.C: fix line above/below drawing in insets
9290
9291 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9292
9293         * lyxlength.C (LyXLength): Initialize private variables.
9294
9295 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9296
9297         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9298         when inserting error insets.
9299
9300 2001-12-13  Juergen Vigna  <jug@sad.it>
9301
9302         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9303         actually sometimes the before-paragraph.
9304         (setUndo): don't clear the redostack if we're not actually undoing!
9305
9306 2001-12-06  Juergen Vigna  <jug@sad.it>
9307
9308         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9309         and fixed redoing of main paragraph, so we can use it now ;)
9310
9311         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9312
9313 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9314
9315         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9316         Juergen's request
9317
9318 2001-12-13  André Pönitz <poenitz@gmx.net>
9319
9320         * undostack.[Ch]:
9321         * undo_func.C: minor cleanup
9322
9323 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9324
9325         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9326         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9327         font in urw-fonts package which is marked as -urw-fontspecific and
9328         does not work (incidentally, changing the encoding in the
9329         fonts.dir of this package to -adobe-fontspecific fixes the
9330         problem).
9331
9332         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9333         is a crash when undoing first paragraph (Juergen, please take a
9334         look). THis does not mean the undo fix is wrong, just that it
9335         uncovers problems.
9336
9337         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9338         the (Paragraph*) version when needed instead of duplicating the
9339         code.
9340
9341         * text.C (workWidth): use Inset::parOwner to find out where the
9342         inset has been inserted. This is a huge performance gain for large
9343         documents with lots of insets. If Inset::parOwner is not set, fall
9344         back on the brute force method
9345
9346         * paragraph_pimpl.C (insertInset):
9347         * paragraph.C (Paragraph):
9348         (cutIntoMinibuffer): set parOwner of insets when
9349         inserting/removing them
9350
9351         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9352
9353 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9354
9355         * commandtags.h:
9356         * LyXAction.C:
9357         * lyx_main.C:
9358         * lyxfunc.C:
9359         * mathed/formulabase.C:
9360         * mathed/math_cursor.[Ch]:
9361         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9362
9363
9364 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9365
9366         * lyxlength.[Ch] (operator!=): new function
9367
9368 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9369
9370         * text.C (workWidth): use Inset::parOwner to find out where the
9371         inset has been inserted. This is a huge performance gain for large
9372         documents with lots of insets. If Inset::parOwner is not set, fall
9373         back on the brute force method
9374
9375         * paragraph_pimpl.C (insertInset):
9376         * paragraph.C (Paragraph):
9377         (cutIntoMinibuffer): set parOwner of insets when
9378         inserting/removing them
9379
9380         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9381
9382 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9383
9384         * tabular-old.C (getTokenValue):
9385         * tabular.C (getTokenValue):
9386         (write_attribute): new versions for LyXLength
9387         (everywhere): adjust the use of widths
9388
9389         * tabular.h: change the type of widths from string to LyXLength
9390
9391 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9392
9393         * paragraph.C: fixed missing line number count when exporting
9394         Environments to LaTeX file
9395
9396         * buffer.C: added informational message for checking line numbers.
9397
9398 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9399
9400         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9401         paragraph, do the 'double space' part, but not the 'empty
9402         paragraph' one.
9403
9404         * text.C (workWidth): small optimization
9405         (getLengthMarkerHeight): use minimal size for negative lengths.
9406
9407 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9408
9409         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9410
9411         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9412
9413 2001-12-11  André Pönitz <poenitz@gmx.net>
9414
9415         * FontLoader.C:
9416         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9417
9418 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9419
9420         * text2.C: keep selection on a setFont()
9421
9422 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9423
9424         * lyx_cb.C: another bv->text misuse, from insert label
9425
9426 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9427
9428         * kbsequence.h:
9429         * kbsequence.C: re-instate nmodifier mask
9430
9431 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9432
9433         * lyx_main.h: make lyxGUI private.
9434
9435 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9436
9437         * lyxfind.C: place the cursor correctly on failed search
9438
9439 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9440
9441         * text.C (getLengthMarkerHeight): for small heights, the arrows
9442         are not always on top/bottom of the text
9443         (drawLengthMarker): smaller arrows; take the left margin in
9444         account; draw also vfills.
9445         (paintFirstRow):
9446         (paintLastRow): remove special code for vfill and standard spaces,
9447         since everything is handled in drawLengthMarker now.
9448
9449 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9450
9451         * buffer.C (insertErtContents): try to handle font and language
9452         interaction a bit better.g
9453
9454         * ColorHandler.C (updateColor): change the hash to cover the whole
9455         LColor enum, ws cleanup
9456         (getGCLinepars): ditto
9457         (getGCLinepars): only lookup in the linecache once.
9458
9459 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9460
9461         * iterators.C (operator++): Make the iterator more robust
9462
9463         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9464         (John's patch)
9465         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9466
9467 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9468
9469         * lyxtext.h:
9470         * text.C: better added space drawing
9471
9472 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9473
9474         * LyXView.C:
9475         * BufferView2.C: fix layout combo update on inset unlock
9476
9477 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9478
9479         * Makefile.am: don't compile unused files
9480
9481 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9482
9483         * lyxfunc.C:
9484         * commandtags.h:
9485         * LyXAction.C: remove old LFUN_LAYOUTNO
9486
9487 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9488
9489         * paragraph_pimpl.h:
9490         * paragraph_pimpl.C: isTextAt() doesn't need font param
9491
9492 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9493
9494         * lyxlex.h:
9495         * lyxlex.C: little cleanup
9496
9497 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9498
9499         * BufferView_pimpl.C: fix insertAscii for insets
9500
9501 2001-12-05  Juergen Vigna  <jug@sad.it>
9502
9503         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9504         set the right font on the "multi" paragraph paste!
9505
9506 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9507
9508         * trans_decl.h:
9509         * trans_mgr.[Ch]:
9510         * trans.[Ch]:
9511         * lyxgluelength.C:
9512         * lyxlength.C: remove out-commented code.
9513
9514         * BufferView_pimpl:
9515         * CutAndPaste.C:
9516         * DepTable.C:
9517         * buffer.C:
9518         * chset.C:
9519         * lastfiles.C:
9520         * lyxlex.C:
9521         * lyxlex_pimpl.C:
9522         * lyxserver.C:
9523         * screen.C:
9524         * tabular-old.C:
9525         * tabular.C:
9526         * text.C:
9527         * trans_mgr.C:
9528         * vc-backend.C: change "while(" to "while ("
9529
9530         * lyxlength.[Ch]: add zero function to check if length is zero or
9531         not
9532         * lyxgluelength.C: use it
9533
9534 2001-12-05  Allan Rae  <rae@lyx.org>
9535
9536         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9537         Works for 2.95.3, from what I understand of Garst's reports this should
9538         work for other g++ versions.  We're screwed if the abs(int) definition
9539         changed between bugfix releases of gcc.
9540
9541 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9542
9543         * text.C: fix chapter label offset !
9544
9545 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9546
9547         * lyxtext.h:
9548         * text.C: fix hfill at end of line, clean up
9549
9550 2001-12-04  Juergen Vigna  <jug@sad.it>
9551
9552         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9553         that we force an update of the inset and it's owners if neccessary.
9554
9555 2001-12-03  Juergen Vigna  <jug@sad.it>
9556
9557         * text.C (rowLast): simplified code
9558
9559 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9560
9561         * lyxfunc.C: fix show options on timeout
9562
9563 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9564
9565         * screen.C (topCursorVisible): scroll half a page when the cursor
9566         reached top of bottom of screen
9567
9568 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9569
9570         * minibuffer.C: deactivate on loss of focus
9571
9572 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9573
9574         * vspace.[Ch] (operator!=): add operator.
9575
9576 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9577
9578         * BufferView_pimpl.C: refuse to open an inset when
9579         there's a selection.
9580
9581 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9582
9583         * BufferView_pimpl.C: allow to click on RHS of full row insets
9584
9585 2001-11-30  Juergen Vigna  <jug@sad.it>
9586
9587         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9588         insets for undo reasons.
9589
9590 2001-11-28  André Pönitz <poenitz@gmx.net>
9591
9592         * vspace.[Ch]: cosmetical changes
9593
9594 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9595
9596         * LyXAction.h:
9597         * LyXAction.C:
9598         * lyxfunc.h:
9599         * lyxfunc.C:
9600         * kbmap.h:
9601         * kbmap.C:
9602         * lyxrc.C:
9603         * kbsequence.h:
9604         * kbsequence.C: part re-write of old kb code
9605
9606         * Painter.C:
9607         * WorkArea.C: remove Lgb_bug_find_hack
9608
9609 2001-11-30  José Matos <jamatos@fep.up.pt>
9610
9611         * buffer.C (makeDocBookFile): add a comment to point a hack.
9612         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9613         Fixed a double write of labels.
9614
9615 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9616
9617         * LaTeX.C:
9618         * LaTeX.h Fixed bug in LaTeX class where it would not
9619         re-run latex if no depfiles were changed, but the .dvi was removed.
9620
9621 2001-11-28  André Pönitz <poenitz@gmx.net>
9622
9623         * all the files from the change on 2001/11/26:
9624         use lyx::layout_type instead of LyXTextClass::size_type
9625         use lyx::textclass_type instead of LyXTextClassList::size_type
9626
9627 2001-11-29  Juergen Vigna  <jug@sad.it>
9628
9629         * text.C: added support for paragraph::isFreeSpacing()
9630
9631         * buffer.C: same as above
9632
9633         * paragraph.h: inserted isFreeSpacing() function to enable
9634         FreeSpacing inside InsetERT.
9635
9636         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9637         of the paragraph's in the cut/copy buffer to 0!
9638
9639         * text2.C (removeRow): remove the assert as it can!
9640
9641         * lyxtext.h: added helper function firstRow returning firstrow and
9642         made firstrow private again.
9643
9644         * BufferView2.C (lockInset): don't relock if we're already locked!
9645
9646         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9647         the only paragraph.
9648         (removeRow): added Assert::(firstrow)
9649
9650         * debug.C: forgot to add INSETTEXT here.
9651
9652 2001-11-28  Juergen Vigna  <jug@sad.it>
9653
9654         * sp_spell.C (initialize): changed error text to more general
9655         spellchecker command use (not only ispell!)
9656
9657         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9658
9659         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9660
9661 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9662
9663         * vspace.C: initialise lyxgluelength on failure
9664
9665 2001-11-28  Allan Rae  <rae@lyx.org>
9666
9667         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9668         declaration & definition that looks like a function declaration.
9669
9670 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9671
9672         * BufferView2.C (copy):
9673         (copyEnvironment): do not clear the selection when doing a copy.
9674
9675         * text.C (paintFirstRow): compilation fix
9676
9677 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9678
9679         * tabular.C (Latex): correct line count when writing latex.
9680
9681 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9682
9683         * paragraph_pimpl.h:
9684         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9685           bug a bit
9686
9687 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9688
9689         * text.C:
9690         * LColor.h:
9691         * LColor.C: change vfillline->added_space
9692
9693         * text.C: add markers and text for added space
9694
9695         * vspace.C: fix comment
9696
9697 2001-11-28  André Pönitz <poenitz@gmx.net>
9698
9699         * paragraph.C: whitespace changes
9700         * all the other files from the change on 2001/11/26:
9701         change *::pos_type into lyx::pos_type
9702
9703 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9704
9705         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9706         language of the document when inserting error insets.
9707
9708 2001-11-26  André Pönitz <poenitz@gmx.net>
9709
9710         * BufferView_pimpl.[Ch]:
9711         *       CutAndPaste.C:
9712         * buffer.[Ch]:
9713         * lyxcursor.[Ch]:
9714         * lyxfind.C:
9715         * lyxfunc.C:
9716         * lyxrow.[Ch]:
9717         * paragraph.[Ch]:
9718         * paragraph_pimpl.[Ch]:
9719         * sp_spell.C:
9720         * text.C:
9721         * text2.C: reduce header dependencies, introduce type for positions
9722
9723 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9724
9725         * <various>: change to use Alert.h
9726
9727 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9728
9729         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9730         when encountering an unknown token.
9731         (readLyXformat2): Show an error message if there were unknown tokens.
9732
9733 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9734
9735         * BufferView2.C:
9736         * BufferView_pimpl.C:
9737         * buffer.C:
9738         * paragraph.h:
9739         * text.C:
9740         * text2.C: use par->isInset()
9741
9742 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * paragraph_pimpl.h:
9745         * paragraph_pimpl.C: cleanup
9746
9747 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9748
9749         * text2.C (removeRow):
9750         * text.C (setHeightOfRow): remove useless (and costly) call to
9751         getRow.
9752
9753 2001-11-20  Allan Rae  <rae@lyx.org>
9754
9755         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9756         Now need Inset*::checkInsertChar() to return true for appropriate
9757         cases so that the characters in the minibuffer will actually be
9758         inserted.
9759
9760 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9761
9762         * text.C: change the order of the includes.
9763         (workWidth): initialize it at once.
9764         (workWidth): make maxw unsigned
9765         (setHeightOfRow): remove unused variable (inset)
9766         (selectSelectedWord): remove unused variable (inset)
9767         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9768
9769 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9770
9771         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9772         server is not running.
9773         (openConnection):
9774         (closeConnection): add debug info when server is disabled.
9775
9776         * ColorHandler.C (getGCForeground): send debug message to GUI
9777         channel.
9778
9779         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9780
9781         * kbmap.C (bind): modify because return conventions of
9782         kb_sequence::parse have changed.
9783
9784         * kbsequence.C (parse): only ignore spaces and not any stupid
9785         control character. This avoids tests like s[i] <= ' ', which are
9786         guaranteed to fail with 8bit characters and signed chars.
9787         Change return code to string::npos when there have been no error
9788         (0 was a bad idea when error is at first character)
9789
9790 2001-11-14  José Matos  <jamatos@fep.up.pt>
9791
9792         * buffer.h:
9793         * buffer.C (simpleDocBookOnePar): removed unused argument.
9794
9795 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9796
9797         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9798         insets which are part of a word. Paragraph::isLetter takes care of
9799         that now. Use Paragraph::isInset to identify insets.
9800         (selectSelectedWord): do not test for hyphenation break.
9801
9802         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9803         that protected spaces are considered as spaces.
9804
9805         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9806         Inset::isLetter.
9807
9808 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9809
9810         * lyxserver.h:
9811         * lyxserver.C: fix it. and small cleanup.
9812
9813 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9814
9815         * BufferView_pimpl.C: use inline helpers
9816
9817         * LaTeXFeatures.h:
9818         * LaTeXFeatures.C: fix typos
9819
9820         * Spacing.h:
9821         * Spacing.C: move spacing_string into class
9822
9823         * ToolbarDefaults.C: move stuff into namespace anon
9824
9825         * layout.h: update enum
9826
9827         * lyxfunc.C: use better debug
9828
9829         * minibuffer.h: fix typo
9830
9831         * debug.h:
9832         * debug.C:
9833         * WorkArea.C: add and use Debug::WORKAREA
9834
9835         * lyxtext.h:
9836         * text.C:
9837         * text2.C: code re-organisation, inline helpers
9838
9839 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9840
9841         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9842         std::vector.empty().
9843
9844 2001-11-09  Allan Rae  <rae@lyx.org>
9845
9846         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9847         '\n's after tables.  Tabular and ERT inset work now makes this no
9848         longer necessary.
9849
9850 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9851
9852         * minibuffer.h:
9853         * minibuffer.C: fix crash, improve drop-down completion
9854
9855 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9856
9857         * lyxserver.h:
9858         * lyxserver.C: invalidate fd's when doing endPipe()
9859
9860 2001-11-08  José Matos  <jamatos@fep.up.pt>
9861
9862         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9863         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9864
9865         * paragraph.h:
9866         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9867
9868 2001-11-07  José Matos  <jamatos@fep.up.pt>
9869
9870         * buffer.h:
9871         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9872         const qualifier.
9873
9874         * buffer.C (sgmlOpenTag):
9875         * buffer.C (sgmlCloseTag): removed debug info.
9876
9877         * buffer.h (sgmlOpenTag):
9878         * buffer.h (sgmlCloseTag): made public.
9879
9880 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9881
9882         * buffer.C (saveParamsAsDefaults):
9883         * lyx_cb.C (MenuLayoutSave): remove
9884
9885         * LyXAction.C (init):
9886         * commandtags.h:
9887         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9888
9889 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9890
9891         * buffer.C (setPaperStuff): removed from here...
9892
9893         * bufferparams.C (setPaperStuff): ... and moved there.
9894
9895 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9896
9897         * minibuffer.h:
9898         * minibuffer.C:
9899         * XFormsView.C: add support for drop-down completion
9900
9901 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9902
9903         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9904         commands.
9905
9906 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9907
9908         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9909         disabled.
9910
9911 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9912
9913         * lyx_main.C: change ref to known bugs
9914
9915 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9916
9917         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9918         to work around older babel problems.
9919
9920 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9921
9922         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9923
9924 2001-10-24  Juergen Vigna  <jug@sad.it>
9925
9926         * tabular-old.C (ReadOld): below variable changes reflected.
9927
9928         * tabular.[Ch]: added ltType struct for longtable header/footer
9929         defines and changed all instances where they are used. Added
9930         future support for double top/bottom rows.
9931
9932 2001-10-24  José Matos  <jamatos@fep.up.pt>
9933
9934         * buffer.h (docbookHandleCaption):
9935         * buffer.C (docbookHandleCaption): removed unused function.
9936         (makeDocBookFile): moved docbook supported version to v4.1.
9937
9938 2001-10-24  José Matos  <jamatos@fep.up.pt>
9939
9940         * tabular.h:
9941         * tabular.C (docbookRow): new function to export docbook code of a row.
9942         (DocBook): now honors the longtable flags.
9943
9944 2001-10-23  José Matos  <jamatos@fep.up.pt>
9945
9946         * LaTeXFeatures.h:
9947         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9948         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9949
9950         * buffer.C (makeLinuxDocFile):
9951         (makeDocBookFile): reworked the preamble, more clean, and with
9952         support for lyx defined entities. Changed the document declaration
9953         to be more XML friendly.
9954
9955         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9956         if we need to output XML that should be done with a filter.
9957
9958 2001-10-22  Juergen Vigna  <jug@sad.it>
9959
9960         * sp_pspell.h (class PSpell): add alive function needed in the
9961         controller to see if the spellchecker could be started.
9962
9963 2001-10-22  Juergen Vigna  <jug@sad.it>
9964
9965         * buffer.C (insertStringAsLines): modify the font for inserting
9966         chars in certain conditions by calling checkInsertChar(font).
9967
9968 2001-10-19  Juergen Vigna  <jug@sad.it>
9969
9970         * text.C (workWidth): use getRow instead of wrong algorithm.
9971         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9972
9973 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9974
9975         * lyxserver.h:
9976         * lyxserver.C:
9977         * lyx_main.h:
9978         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9979
9980 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9981
9982         * text.C (workWidth): do not search for the exact row when
9983         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9984         optimization for big documents.
9985
9986 2001-10-18  Juergen Vigna  <jug@sad.it>
9987
9988         * text.C (workWidth): new function with added Inset * parameter.
9989
9990 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9991
9992         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9993
9994         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9995         change return type of getColumnNearX.
9996
9997
9998         * text.C (changeRegionCase): use uppercase/lowercase instead of
9999         toupper/tolower.
10000         (leftMargin):
10001         (rightMargin): simplify code by factoring out the uses of
10002         textclasslist.
10003         (labelFill):
10004         (numberOfHfills):
10005         (setHeightOfRow):
10006         (appendParagraph): use Paragraph::size_type
10007
10008 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10009
10010         * vspace.C (asLatexString): add a missing break
10011
10012 2001-10-15  Herbert Voss  <voss@perce.de>
10013
10014         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10015
10016 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10017
10018         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10019         is not available.
10020
10021 2001-10-10  André Pönitz <poenitz@gmx.net>
10022
10023         * lyxfunc.C: removed greek_kb_flag.
10024
10025 2001-10-10  Herbert Voss  <voss@perce.de>
10026
10027         * lyx_main.C: delete global string help_lyxdir.
10028
10029 2001-10-09  Herbert Voss  <voss@perce.de>
10030
10031         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10032
10033         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10034
10035         * lyx_main.C: added global string help_lyxdir.
10036
10037         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10038
10039 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10040
10041         * lyxrc.C (set_font_norm_type): support iso8859-4
10042
10043 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10044
10045         * LaTeX.C (deplog): add another regex for MikTeX
10046
10047 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10048
10049         * lyxrc.C (set_font_norm_type): support iso8859-3
10050
10051 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10052
10053         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10054
10055         * LaTeXFeatures.C: remove special case of french and index
10056
10057         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10058         before \begin{document}). This solves several incompatibilities.
10059
10060 2001-10-03  Garst Reese  <reese@isn.net>
10061
10062         * lyx_cb.C: change CheckTex error msg.
10063
10064 2001-10-03  José Matos  <jamatos@fep.up.pt>
10065
10066         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10067
10068 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10069
10070         * .cvsignore: update
10071
10072         * lyx_main.C (commandLineVersionInfo): use new style version info.
10073
10074         * buffer.C (writeFile):
10075         (makeLaTeXFile):
10076         (makeLinuxDocFile):
10077         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10078
10079         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10080
10081         * version.h: update to use stuff in version.C
10082
10083         * version.C.in: new file. Contains version information determined
10084         at compile time. This is a merging of version.h and
10085         version_info.h.in.
10086
10087 2001-10-03  Juergen Vigna  <jug@sad.it>
10088
10089         * BufferView_pimpl.C (update): don't change "dirty" status in
10090         updateInset call.
10091
10092 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10093
10094         * WorkArea.C (c-tor): re-position version string slightly.
10095
10096 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10097
10098         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10099         revert to previous code.
10100
10101         WorkArea.[Ch]: (show, destroySplash): methods removed.
10102
10103         WorkArea.C: rework code so that it's an amalgam of the codes before and
10104         after the splash screen was moved to WorkArea.
10105
10106 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10107
10108         * lyxrc.C (read):
10109         * vspace.C (inPixels):
10110         (lyx_advance):
10111         * kbmap.C (bind):
10112         * buffer.C (insertStringAsLines):
10113         (asciiParagraph): fix types to be large enough
10114
10115         * lyxlex_pimpl.h: change member status from short to int
10116
10117         * layout.h: fix type of endlabeltype
10118
10119         * kbmap.C (bind):
10120         * kbsequence.C (parse): change return type to string::size_type
10121
10122         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10123         variable
10124
10125         * Bullet.C (bulletSize):
10126         (bulletEntry): do not use short ints as parameters
10127
10128         * BufferView2.C (insertLyXFile): change a char to an int.
10129
10130         * WorkArea.C (WorkArea): remove unneeded floats in computation
10131
10132 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10133
10134         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10135
10136         * paragraph.C (asString): Do not ignore newline/hfill chars when
10137         copying to the clipboard.
10138
10139 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10140
10141         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10142         after a multi-line inset.
10143
10144 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10145
10146         * paragraph.C (validate): Set NeedLyXFootnoteCode
10147
10148 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10149
10150         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10151         and decrease-error to decrease.
10152
10153 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10154
10155         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10156         it more readable (should be equivalent)
10157
10158 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10159
10160         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10161
10162 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10163
10164         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10165         of a cursor (row, etc.) after a character has been deleted
10166         (deleteEmptyParagraphMechanism): call the method above on _all_
10167         cursors held by the LyXText when a double space has been
10168         detected/deleted.
10169
10170 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10171
10172         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10173         pixmap.
10174         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10175
10176         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10177         background. Use greyOut() and the new show() methods to toggle between
10178         the foreground and background. Add code to remove the splash after
10179         its initial showing.
10180
10181         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10182         (create_forms): no longer call Dialogs::showSplash.
10183
10184 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10185
10186         * .cvsignore: add version_info.h
10187
10188 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10189
10190         * version_info.h.in: new file
10191
10192         * Makefile.am: add version_info.h.in
10193
10194         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10195         version_info.h instead of VERSION_INFO
10196
10197 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10198
10199         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10200         The ERT inset now returns string().
10201
10202 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10203
10204         * lyxtext.h, text.C (selectNextWord): renamed as
10205         selectNextWordToSpellcheck.
10206
10207         * text.C (selectNextWordToSpellcheck): Modified to not select
10208         words inside an ERT inset.
10209
10210 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10211
10212         * lyx_cb.C (MenuLayoutSave): change a bit the question
10213
10214         * sp_base.h: include <sys/types.h>
10215
10216 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10217
10218         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10219
10220 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10221
10222         * several files: fix typos in user-visible strings
10223
10224 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10225
10226         * text2.C (pasteSelection): do not set the selection, since it
10227         will be cleared later. Actually, the intent was to fix the way the
10228         selection was set, but I figured rmoving the code was just as good.
10229
10230 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10231
10232         * FontLoader.C (available): Check if font is available without
10233         loading the font.
10234
10235 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10236
10237         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10238
10239 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10240
10241         * lyxrc.[Ch]: added display_graphics variable and associated code.
10242
10243 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10244
10245         * bufferparams.C (hasClassDefaults): new method. Returns true if
10246         the buffer parameters correspond to known class defaults
10247
10248 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10249
10250         * XFormsView.C (show): set minimum size to the main window.
10251
10252 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10253
10254         * text2.C (copySelection):
10255         (cutSelection):
10256         * lyxfind.C (LyXReplace):
10257         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10258         LyXText::selectionAsString.
10259
10260         * paragraph.C (asString): add "label" argument to the second form
10261
10262         * text2.C (selectionAsString): add "label" argument and pass it to
10263         Paragraph::asString.
10264
10265 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10266
10267         * lyx_main.C (commandLineHelp): remove version information
10268
10269 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10270
10271         * lyx_main.C: add -version commandline option
10272
10273 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10274
10275         * paragraph.h: make the optional constructor arg required instead.
10276         some modifications to other files because of this.
10277
10278         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10279
10280         * lyxserver.C (C_LyXComm_callback): make it static
10281
10282         * lyx_main.C (error_handler): make it static
10283
10284         * lyx_gui.C (LyX_XErrHandler): make it static
10285
10286         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10287
10288         * WorkArea.C: make the extern "C" methods static.
10289
10290         * Makefile.am (lyx_LDADD): simplify
10291
10292 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10293
10294         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10295         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10296
10297         * LyXAction.C (init):
10298         * lyxfunc.C (dispatch): associated code removal.
10299
10300 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10301
10302         * lyxfont.h (isSymbolFont): shut off warning
10303
10304         * text.C (setHeightOfRow):
10305         (getVisibleRow): fix crash with empty paragraphs which have a
10306         bottom line
10307
10308 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10309
10310         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10311         code.
10312
10313 2001-09-04  José Matos  <jamatos@fep.up.pt>
10314         * buffer.C
10315         * buffer.h
10316         * tabular.C (docbook): rename docBook method to docbook.
10317
10318 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10319
10320         * Makefile.am: add dependencies to main.o.
10321
10322 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10323
10324         * FontLoader.C (available): Return false if !lyxrc.use_gui
10325
10326 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10327
10328         * FontInfo.C (query):
10329         * converter.C (view):
10330         * importer.C (Import):
10331         * exporter.C (Export): Can not -> cannot.
10332
10333 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * BufferView_pimpl.C: allow to create index inset even if
10336           string is empty
10337
10338 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10339
10340         * buffer.C (getLists): replace boost::tie code with an explicit pair
10341         as boost::tie can break some compilers.
10342
10343         * iterators.h: Added a std:: declaration to the return type of
10344         ParIterator::size.
10345
10346 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10347
10348         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10349           case.
10350
10351 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10352
10353         * iterators.[Ch]: New files. Provide paragraph iterators.
10354
10355         * buffer.C (changeLanguage): Use paragraph iterators.
10356         (isMultiLingual): ditto
10357
10358         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10359
10360 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10361
10362         * FontLoader.C: Support for cmr font.
10363
10364 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10365
10366         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10367         (available): New method.
10368
10369         * FontInfo.C (getFontname): Use scalable fonts even when
10370         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10371         found.
10372
10373 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10374
10375         * converter.C (Formats::view): reverted! Incorrect fix.
10376
10377 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10378
10379         * converter.C (Formats::view): only output the -paper option
10380         if the dvi viewer is xdvi, thereby fixing bug #233429.
10381
10382 2001-08-23  Herbert Voss  <voss@perce>
10383
10384         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10385
10386 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10387
10388         * Spacing.h (Spacing): Set space to Default on in the default
10389         constructor.
10390
10391 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10392
10393         * vc-backend.h (RCS::versionString): add RCS to version
10394         (CVS::versionString): add CVS to version
10395
10396         * vc-backend.C (scanMaster): do not add CVS to version.
10397         (scanMaster): do not add RCS to version
10398
10399         * lyxvc.C (versionString): new method
10400
10401         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10402
10403 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10404
10405         * Spacing.C (set): initialize fval
10406
10407 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10408
10409         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10410         " or \.
10411
10412 2001-08-16  Juergen Vigna  <jug@sad.it>
10413
10414         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10415
10416 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10417
10418         * BufferView_pimpl.C:
10419         * figureForm.C:
10420         * lyxtext.h:
10421         * text2.C: setParagraph takes linespacing now
10422
10423 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10424
10425         * LyxAction.C: add internal LFUN_CITATION_INSERT
10426
10427         * LyXView.C: actually apply fix
10428
10429         * bufferlist.C: fix open non-existent file
10430
10431         * lyxfind.C: fix indentation
10432
10433         * lyxfunc.C: remove unneeded assert, fix typo
10434
10435 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10436
10437         * MenuBackend.C: use "Floatname List"
10438
10439 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10440
10441         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10442         when converting LaTeX layout to insetERT.
10443         Generate a non-collapsed float when reading old float
10444
10445 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10446
10447         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10448         ERT insets.
10449
10450 2001-08-13  Juergen Vigna  <jug@sad.it>
10451
10452         * text.C (fill): return 0 instead of 20 as this seems to be the more
10453         correct value.
10454
10455 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10456
10457         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10458         lyxrc.font_norm.
10459
10460 2001-08-13  Juergen Vigna  <jug@sad.it>
10461
10462         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10463         casesensitive off.
10464         (SearchBackward): comment out the unlocking of the inset_owner this
10465         should not be needed!
10466
10467 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10468
10469         * Many files: Remove inherit_language, and add latex_language
10470
10471         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10472         collapsible insets.
10473
10474 2001-08-10  Juergen Vigna  <jug@sad.it>
10475
10476         * text.C (prepareToPrint): fixed hfill-width in draw!
10477
10478         * BufferView2.C (selectLastWord): save the selection cursor as this
10479         now is cleared in the function LyXText::clearSelection!
10480
10481 2001-08-08  Juergen Vigna  <jug@sad.it>
10482
10483         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10484         BACKSPACE type functions.
10485
10486         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10487         is only cutted from the document but not put in the cut-buffer, where
10488         still the old stuff should be.
10489
10490         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10491
10492         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10493
10494         * tabular.C (SetWidthOfCell): fixed special case where the width
10495         was not updated!
10496         (LeftLine): handle '|' in align_special.
10497         (RightLine): ditto
10498         (LeftAlreadyDrawed): ditto
10499         (SetWidthOfCell): ditto
10500
10501 2001-08-07  Juergen Vigna  <jug@sad.it>
10502
10503         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10504
10505 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10506
10507         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10508         * lyxlex.[hC]: ditto
10509
10510 2001-08-06  Juergen Vigna  <jug@sad.it>
10511
10512         * text.C (getVisibleRow): fix up row clearing a bit.
10513
10514 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10515
10516         * minibuffer.C: make sure the X server sees the changes in the input.
10517
10518 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10519
10520         * paragraph.C (getFont): split into...
10521         (getLabelFont): this
10522         (getLayoutFont): and this
10523         * paragraph_pimpl.C (realizeFont): calling this
10524
10525         * text2.C (getFont): split into...
10526         (getLayoutFont): this
10527         (getLabelFont): and this
10528         (realizeFont): all three calling this
10529
10530         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10531         files where used.
10532
10533 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10534
10535         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10536
10537 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10538
10539         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10540         layouts from the Quote inset insertion.
10541
10542 2001-08-03  Juergen Vigna  <jug@sad.it>
10543
10544         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10545
10546         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10547         only if status not is already CHANGED_IN_DRAW (second level).
10548
10549         * text.C (draw): don't set the need_break_row when inside an
10550         InsetText LyXText.
10551
10552 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10553
10554         * buffer.C (parseSingleLyXformat2Token): handle more latex
10555         conversion cases.
10556
10557         * bufferview_funcs.[hC]: change function names to
10558         begin with small char, adjust other files.
10559
10560 2001-08-02  André Pönitz <poenitz@gmx.net>
10561
10562         * lyxfunc.C:
10563         BufferView_pimpl.C: remove broken special code for math-greek
10564
10565 2001-08-02  Juergen Vigna  <jug@sad.it>
10566
10567         * BufferView_pimpl.C (update): redone this function so that we
10568         update the text again if there was a CHANGE_IN_DRAW.
10569
10570         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10571         (drawFromTo): added a new internal bool which is used by draw() and
10572         redraw() function.
10573         (general): some cursor drawing problems fixed.
10574
10575 2001-08-01  Juergen Vigna  <jug@sad.it>
10576
10577         * lyxfind.C (LyXFind): fixed
10578         (SearchForward): ditto
10579         (SearchBackward): ditto
10580
10581         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10582         spurius drawing of the cursor in the main area.
10583
10584         * text2.C (status): small fix which could lead to a segfault!
10585         (clearSelection): remove unneeded BufferView param.
10586
10587 2001-08-01  André Pönitz <poenitz@gmx.net>
10588
10589         * lyxfunc.C: small change due to changed mathed interface
10590
10591 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10592
10593         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10594
10595 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10596
10597         * lyxfunc.c: fail gracefully if file doesn't exist
10598
10599         * LyXSendto.C:
10600         * buffer.C:
10601         * lyxfunc.C:
10602         * BufferView_pimpl.C: IsDirWriteable() proto changed
10603
10604         * LyXView.C: fix updateWindowTitle() to store the last title
10605
10606 2001-07-31  Juergen Vigna  <jug@sad.it>
10607
10608         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10609         the font (wrong since using of Paragraph::highestFontInRange).
10610
10611         * paragraph.C (highestFontInRange): added a default_size parameter.
10612
10613         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10614         (setHeightOfRow): reformat
10615
10616 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10617
10618         * converter.[hC] + affected files: move to (inital-char)lowercase
10619         function names.
10620
10621         * ParagraphParameters.C (ParagraphParameters): remove commented code
10622
10623         * PainterBase.[Ch]: remove commented code
10624
10625         * LaTeXFeatures.h: add "bool floats" for float.sty
10626
10627         * LaTeXFeatures.C (LaTeXFeatures): init floats
10628         (require): handle float
10629         (getPackages): do it with floats
10630
10631 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10632
10633         * BufferView_pimpl.C (Dispatch): improve handling of
10634         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10635
10636         * commandtags.h: #include lyxfont.h here temporarily to avoid
10637         keybinding bug.
10638
10639         * bufferlist.h: include LString.h here.
10640
10641 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10642
10643         * text2.C (getStringToIndex): new method.
10644
10645 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10646
10647         * *: Reduced header file dependencies all over.
10648
10649 2001-07-30  Baruch Even  <baruch@lyx.org>
10650
10651         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10652
10653 2001-07-29  Baruch Even  <baruch@lyx.org>
10654
10655         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10656
10657 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10658
10659         * ParameterStruct.h (endif): add a default constructor to make
10660         sure that all variables is initialized.
10661
10662         * ParagraphParameters.C (ParagraphParameters): adjust
10663
10664 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10665
10666         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10667         index; also, check that there is something to index, and that it
10668         does not span over several paragraphs.
10669         (doubleClick): use WHOLE_WORD_STRICT for double click.
10670
10671         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10672
10673         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10674         scheme.
10675
10676 2001-07-26  Baruch Even  <baruch@lyx.org>
10677
10678         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10679         an InsetFig figure, backwards compatible reading of old figure code.
10680
10681 2001-07-27  Juergen Vigna  <jug@sad.it>
10682
10683         * text2.C: font.realize function adaption.
10684
10685         * text.C (draw): add a warnings lyxerr text if needed.
10686
10687         * layout.C: font.realize function adaption.
10688
10689         * language.C: add inherit_language and implement it's handlings
10690
10691         * bufferview_funcs.C (StyleReset): remove language parameter from
10692         font creation (should be language_inherit now).
10693
10694         * bufferparams.C (writeFile): handle ignore_language.
10695
10696         * paragraph.C (getFontSettings): the language has to be resolved
10697         otherwise we have problems in LyXFont!
10698
10699         * lyxfont.C (lyxWriteChanges): added document_language parameter
10700         (update): removed unneeded language parameter
10701
10702         * paragraph.C (validate): fixed wrong output of color-package when
10703         using interface colors for certain fonts in certain environments,
10704         which should not seen as that on the final output.
10705
10706 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10707
10708         * BufferView_pimpl.C:
10709         * Thesaurus.h:
10710         * Thesaurus.C:
10711         * Makefile.am:
10712         * commandtags.h:
10713         * LyXAction.C: add thesaurus support
10714
10715         * lyxfind.h:
10716         * lyxfind.C: add "once" parameter, for thesaurus, to not
10717           move to the next match
10718
10719 2001-07-26  Juergen Vigna  <jug@sad.it>
10720
10721         * lyxfont.C (realize): honor ignore_language too!
10722         (resolved): ditto.
10723
10724         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10725
10726         * text.C (draw): one place more for ignore_language to not draw
10727         itself!
10728
10729 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10730
10731         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10732
10733 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10734
10735         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10736         the minipage conversion problem.
10737
10738 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10739
10740         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10741         insert an inset.
10742
10743 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10744
10745         * BufferView.h: don't forward declare WorkArea
10746
10747         * BufferView.C: don't include WorkArea.h
10748
10749 2001-07-25  André Pönitz <poenitz@gmx.net>
10750
10751         * commandtags.h:
10752         * LyXAction.C:
10753         * lyxfunc.C:  new LFUN 'math-space'
10754
10755         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10756
10757 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10758
10759         * text2.C (toggleInset): call open/close
10760
10761 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10762
10763         * lyxfunc.C (dispatch): add debug for the disabled case
10764
10765         * font.C (buttonText): make similar to rectText
10766
10767         * buffer.C (readInset): comment out parsing of insetlist and
10768         insttheorem
10769
10770         * PainterBase.C (rectText): small correction
10771
10772         * BufferView_pimpl.C: comment out insettheorem and insetlist
10773         * LyXAction.C: ditto
10774         * commandtags.h: ditto
10775
10776 2001-07-24  Juergen Vigna  <jug@sad.it>
10777
10778         * text.C (draw): honor the ignore_language.
10779
10780         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10781
10782 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10783
10784         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10785         char inset.
10786
10787 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10788
10789         * lyxtext.h: remove unused (and unimplemented) methods
10790
10791 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10792
10793         * text.C (getVisibleRow): honor background color
10794
10795         * PainterBase.h:
10796         * Painter.h: remove default color argument for fillRectangle
10797
10798         * text.C (backgroundColor): new method
10799
10800 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10801
10802         * text.C (getVisibleRow): adjust
10803
10804         * font.[Ch] (rectText): new method, metrics
10805         (buttonText): new method, metrics
10806
10807         * PainterBase.[hC]: make rectText and buttonText always draw and take
10808         fewer paramteres.
10809
10810 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10811
10812         * ToolbarDefaults.C (read):
10813         * MenuBackend.C (read): allow escaping in all strings
10814
10815         * BufferView_pimpl.C (insertAndEditInset): new method.
10816         (Dispatch): use insertAndEditInset whenever appropriate.
10817
10818         * BufferView_pimpl.C (insertNote): removed
10819
10820         * BufferView_pimpl.C (smartQuote): new method, moved from
10821         BufferView; if an insetquote cannot be inserted, insert a '"'
10822         character instead.
10823
10824         * BufferView2.C: remove insertCorrectQuote();
10825
10826         * lyxfunc.C (getStatus): Add support for all remaingin
10827         inset-insert lfuns.
10828
10829         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10830
10831         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10832         command (necessary to pass " as parameter of self-insert.
10833
10834         * text.C (selectWordWhenUnderCursor):
10835         (selectWord): add word_location parameter
10836         (selectWordWhenUnderCursor): same + remove special code for word
10837         boundary.
10838         (selectNextWord): use kind() to guess type of insetspecialchar,
10839         not latex().
10840
10841         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10842         (insertErtContents): create ert insets as collapsed.
10843         (readInset): better compatibility code for Info inset.
10844
10845 2001-07-20  Juergen Vigna  <jug@sad.it>
10846
10847         * lyxfunc.C (dispatch): use always LyXFind now!
10848
10849         * text2.C (init): add a reinit flag so that the LyXText can be
10850         reinited instead of deleted and reallocated (used in InsetText).
10851
10852         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10853
10854         * text.C: ditto
10855
10856         * text2.C: ditto
10857
10858 2001-07-18  Juergen Vigna  <jug@sad.it>
10859
10860         * text.C (selectNextWord): handle insets inside inset by calling
10861         always the bv->text functions so that we can go up the_locking_inset!
10862
10863         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10864         in strange locations when inside an inset!
10865
10866         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10867         handling to include insets.
10868
10869         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10870
10871 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10872
10873         * LyXAction.C (init):
10874         * commandtags.h:
10875         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10876         LIGATURE_BREAK, since the name is so stupid.
10877
10878 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10879
10880         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10881         InsetInfos.
10882
10883         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10884
10885         * sp_form.[Ch]: remove.
10886
10887         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10888
10889         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10890         InsetInfo.
10891
10892         * src/buffer.C (readInset): ditto.
10893
10894 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10895
10896         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10897         menuSeparator(), endOfSentenceDot(), ldots() and
10898         hyphenationPoint(), which are therefore removed.
10899         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10900
10901         * LyXAction.C (init):
10902         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10903
10904         * paragraph.C (getWord): removed.
10905
10906         * BufferView_pimpl.C (Dispatch): use last word or selection for
10907         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10908
10909         * lyx_main.C (queryUserLyXDir): do not ask before creating
10910         user_dir, except if it has been named explicitely.
10911
10912 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10913
10914         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10915         a document of zero size.
10916
10917 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10918
10919         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10920         approriately in the c-tor and in require().
10921         (getPackages): output the appropriate LaTeX for natbib support.
10922
10923         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10924         variables "use_natbib" and "use_numerical_citations" when reading the
10925         LyX file.
10926         (readInset): read the various natbib cite commands.
10927         (validate): white-space change.
10928
10929         * bufferparams.[Ch]: new variables "bool use_natbib" and
10930         "bool use_numerical_citations".
10931         (writeFile): output them in the LyX file.
10932
10933 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10934
10935         * lyxfunc.C (getStatus): add support for all the inset insertion
10936         commands.
10937
10938         * text2.C (insertInset):
10939         * paragraph.C (insetAllowed):
10940         * BufferView_pimpl.C (insertInset): update to take in account the
10941         renaming of insertInsetAllowed
10942
10943         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10944
10945         * text2.C (getInset): new method. returns inset at cursor position.
10946
10947         * BufferView_pimpl.C (Dispatch): changes because of this.
10948
10949         * LyXAction.C (init): rename open-stuff to inset-toggle.
10950
10951         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10952
10953         * text2.C (toggleInset): renamed from openStuff; use
10954         Inset::open().
10955
10956 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10957
10958         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10959
10960         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10961
10962 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10963
10964         * buffer.C (readLyXformat2): Add filename to the error dialog
10965
10966 2001-07-18  Juergen Vigna  <jug@sad.it>
10967
10968         * tabular.C (GetCellNumber): put an assert here instead of the check!
10969
10970 2001-07-17  Juergen Vigna  <jug@sad.it>
10971
10972         * BufferView_pimpl.C (toggleSelection): adapted too.
10973
10974         * text.C (selectNextWord): adapted for use with insets.
10975         (selectSelectedWord): ditto
10976
10977 2001-07-17  Juergen Vigna  <jug@sad.it>
10978
10979         * sp_spell.C (PSpell): fix initialitation order.
10980
10981 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10982
10983         * paragraph.C: spacing
10984
10985 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10986
10987         * sp_spell.C: repair language selection for pspell
10988
10989 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10990
10991         * lyxfunc.h: change more methods to begin with lower char.
10992
10993 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10994
10995         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10996         for unknown layouts.
10997
10998 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10999
11000         * buffer.C (readLyXformat2): Generate an error dialog if there are
11001         unknown layouts.
11002
11003 2001-07-16  Juergen Vigna  <jug@sad.it>
11004
11005         * sp_spell.C: always compile ISpell part.
11006
11007         * lyxrc.C: added use_pspell entry and it's handling.
11008
11009 2001-07-13  Juergen Vigna  <jug@sad.it>
11010
11011         * sp_spell.C: removed double includes.
11012
11013 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11014
11015         Consistent use of Lsstream.h:
11016         * Lsstream.h: added using std::stringstream for consistencies sake.
11017
11018         * buffer.C: removed using std::stringstream
11019
11020         * lyxfont.C (stateText):
11021         * paragraph.C (asString):
11022         * text.C (selectNextWord, selectSelectedWord):
11023         * text2.C (setCounter):
11024         * vspace.C (asString, asLatexString):
11025         std::ostringstream -> ostringstream.
11026
11027 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11028
11029         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11030         * commandtags.h: add LFUN_HELP_ABOUTLYX
11031         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11032
11033 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11034
11035         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11036         cursorToggle()
11037         * lyx_gui_misc.C: remove spellchecker
11038         * lyxfunc.C: showSpellchecker
11039         * sp_base.h: added
11040         * sp_ispell.h: added
11041         * sp_pspell.h: added
11042         * sp_spell.C: added
11043         * sp_form.[Ch]: removed
11044         * spellchecker.[Ch]: removed
11045
11046 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11047
11048         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11049         is set.
11050         (simpleTeXSpecialChars): Simply print the input character without
11051         any special translation if pass_thru is set.
11052
11053         * layout.h: Added bool pass_thru to layout class for being able to
11054         implement pass through of a paragraph for Literate Programming.
11055
11056         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11057         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11058         * layout.C (Read): add "passthru" to list of layout tags and add
11059         code to set the pass_thru boolean when it is read.
11060
11061 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11062
11063         * trans_decl.h: remove allowed from KmodInfo
11064
11065         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11066         remove allowed code
11067         (Load): adjust
11068
11069         * paragraph_pimpl.C (erase): use boost::prior
11070
11071         * Painter.C (text): use data() instead of c_str() when length is
11072         also provided.
11073         * WorkArea.C (putClipboard): ditto
11074         * font.h (width): ditto
11075
11076         * BufferView2.C: use it-> instead of (*it). for iterators
11077         * texrow.C: ditto
11078         * paragraph_pimpl.C: ditto
11079         * paragraph.C: ditto
11080         * minibuffer.C: ditto
11081         * language.C: ditto
11082         * kbmap.C: ditto
11083         * encoding.C: ditto
11084         * counters.C: ditto
11085         * converter.C: ditto
11086         * chset.C: ditto
11087         * Variables.C: ditto
11088         * TextCache.C: ditto
11089         * MenuBackend.C: ditto
11090         * LyXAction.C: ditto
11091         * LColor.C: ditto
11092         * FloatList.C: ditto
11093         * DepTable.C: ditto
11094         * ColorHandler.C (LyXColorHandler): ditto
11095
11096 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11097
11098         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11099
11100         * text2.C (openStuff): reintroduce this method (which had been
11101         nuked in NEW_INSETS frenzy).
11102
11103         * lyxfunc.C (Dispatch): when an action has not been handled, use
11104         its name in the error message, not its number.
11105
11106         * paragraph.C (inInset): change method name to begin with lowercase.
11107
11108         * undo_funcs.C:
11109         * text2.C: updates because of this.
11110
11111 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11112
11113         * ToolbarDefaults.C (add): add spaces in error message
11114
11115 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11116
11117         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11118         (readLyXformat2): rename return_par to first_par, use lyxlex's
11119         pushToken and remove the manual push handling.
11120         (parseSingleLyXformat2Token): add another ert comp. variable:
11121         in_tabular, rename return_par to first_par. handle newlines better
11122
11123 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11124
11125         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11126
11127 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11128
11129         * text2.C (getParFromID): removed
11130
11131         * buffer.C (getParFromID): new method moved form lyxtext.
11132         * BufferView2.C (insertErrors): adjust
11133         (setCursorFromRow): adjust
11134         * BufferView_pimpl.C (restorePosition): adjust
11135         * lyxfunc.C (Dispatch): adjust
11136         * undo_funcs.C (textUndo): adjust
11137         (textRedo): adjust
11138         (textHandleUndo): adjust
11139         (textHandleUndo): adjust
11140
11141 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11142
11143         * buffer.C: up' the LYX_FORMAT
11144
11145         * lyxfont.h: turn NO_LATEX on as default
11146
11147         * buffer.C (insertErtContents): new methods of tex style compability.
11148         (parseSingleLyXformat2Token): use it several places.
11149         * tabular.C (OldFormatRead): and here
11150
11151 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11152
11153         * text2.C: remove some commented code.
11154         reindent file.
11155
11156         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11157         * trans.C: changes because of the above.
11158
11159 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11160
11161         * text2.C (setCounter): Fix counters bug with bibliography layout.
11162
11163 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11164
11165         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11166         own member functions
11167         (simpleTeXSpecialChars): ditto
11168
11169 2001-07-06  Juergen Vigna  <jug@sad.it>
11170
11171         * a lot of files: changed the access to LyXText::status and the
11172         call of undo-functions.
11173
11174         * undo.[Ch]: added a inset_id to the undo informations.
11175
11176         * undo_funcs.[Ch]: added and moved here all undo functions.
11177
11178         * lyxtext.h: give the status enum a weight, made status_ a private
11179         variable and made accessor functions for it, removed the whole bunch
11180         of undo-functions as they are now in their own file, make some
11181         functions publically available. Added function ownerParagraph with
11182         int parameter.
11183
11184         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11185         made InInset() a const function, added getParFromID() function.
11186
11187         * buffer.[Ch]: added const version for inset_iterator functions,
11188         added getInsetFromID() function.
11189
11190         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11191         changed undo functions for new version.
11192
11193 2001-07-05  Juergen Vigna  <jug@sad.it>
11194
11195         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11196         unknow mechanism does not call the proper constructor but only this
11197         one also if I request the other!?
11198
11199 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11200
11201         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11202
11203         * text2.C (LyXText): use initialization lists.
11204
11205         * lyxtext.h (Selection): initialize set_ and mark_
11206         (init): remove method
11207
11208 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11209
11210         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11211
11212 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11213
11214         * screen.[Ch]: change method names to begin with lowercase
11215
11216         * BufferView_pimpl.C (updateScrollbar): simplify further and
11217         hopefully make it a bit faster.
11218
11219 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11220
11221         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11222         calling directly xforms functions.
11223
11224         * Painter.C (Painter):
11225         * lyx_cb.C (MenuWrite):
11226         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11227         fl_display.
11228
11229         * lyx_gui.C: remove bogus guiruntime extern declaration.
11230
11231 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11232
11233         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11234         in NEW_INSETS
11235         (redoDrawingOfParagraph): ditto
11236         (redoParagraphs): ditto
11237         (cutSelection): don't create a object for CutAndPaste use the
11238         static method directly
11239         (pasteSelection): ditto
11240
11241         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11242         LyXview (+ rename)
11243
11244 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11245
11246         * modifications to some other files because of this.
11247
11248         * Makefile.am (lyx_SOURCES): add XFormsView
11249
11250         * XFormsView.[Ch]: new files
11251
11252         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11253         the main window. Move the gui dependent stuff to XFormsView
11254
11255 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11256
11257         * tabular.C (GetCellInset): update cur_cell also in the row/col
11258         version of this function.
11259
11260         * lyxfunc.C: no need to include figure_form.h here.
11261
11262         * FontLoader.h:
11263         * lyxfunc.h:
11264         * lyxscreen.h:
11265         * text2.C:
11266         * lyxvc.C: no need to include forms.h here.
11267
11268 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11269
11270         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11271
11272         * lyxfunc.C (Dispatch):
11273         * Spacing.C (set):
11274         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11275         constructor argument.
11276
11277 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11278
11279         * paragraph.C (Paragraph): dont't clear, and just set layout.
11280         (makeSameLayout): use params's copy contructor.
11281
11282         * ParagraphParameters.[Ch] (makeSame): delete method
11283
11284 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11285
11286         * Variables.[Ch]: fix indentation, rename set to isSet
11287
11288 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11289
11290         * lyxfunc.C (Dispatch): fix typo
11291
11292 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11293
11294         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11295         upper_bound.
11296
11297         * bufferlist.C: include assert.h for emergencyWrite().
11298
11299 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11300
11301         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11302           give up at last (bug #425202) !
11303
11304 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11305
11306         * lyx_gui_misc.C:
11307         * sp_form.h:
11308         * sp_form.C:
11309         * spellchecker.h:
11310         * spellchecker.C: strip spellchecker options and bring up
11311           preferences tab instead
11312
11313 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11314
11315         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11316         the istringstream constructor
11317
11318 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11319
11320         * paragraph.C (getLayout): fix return value
11321
11322         * paragraph.h: do not declare getLayout as inline.
11323
11324         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11325
11326 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11327
11328         * lyxcursor.h (operator<): new func
11329         (operator>): new func
11330         (operator>=): new func
11331         (operator<=): new func
11332
11333         * text.C (changeCase): use selection.start and selection.end
11334         (changeRegionCase): require from to be <= to. Require par to be a
11335         valid paragraph.
11336
11337         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11338
11339 2001-06-27  Juergen Vigna  <jug@sad.it>
11340
11341         * text.C (cursorLeftOneWord): changed to return the cursor and added
11342         overlay with BufferView * parameter which calls this one.
11343         (getWord): added
11344         (selectWord): use new getWord function.
11345         (changeCase): renamed from changeWordCase as and extended to work
11346         also on selections.
11347
11348         * lyxtext.h: added enum word_location
11349
11350         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11351         changeCase as this operates now also on selections.
11352
11353 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11354
11355         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11356
11357         * many files: send debug output to Debug::INFO instead of
11358         Debug::ANY.
11359
11360         * converter.C (View):
11361         (Convert):
11362         (Move): send debug output to Debug::FILES instead of console.
11363
11364 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11365
11366         * lyxfunc.C (getStatus): use func_status
11367
11368         * func_status.h: new header, describing the results of
11369         LyXFunc::getStatus;
11370
11371         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11372         LFUN_MATH_HALIGN.
11373
11374 2001-06-25  The LyX Project  <jug@sad.it>
11375
11376         * buffer.C (sgmlOpenTag):
11377         (sgmlCloseTag):
11378         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11379
11380 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11381
11382         * text2.C: remove some dead code
11383
11384         * tabular.C (GetCellInset): store the last cell checked (gotten)
11385
11386         * tabular.h: add the helper for the speedup
11387
11388         * lyxtext.h: remove some dead code
11389
11390 2001-06-26  The LyX Project  <Asger>
11391
11392         * paragraph.C: Change export to LaTeX of alignment to
11393         \begin{center} and family for better roundtrip work with reLyX.
11394
11395         * Tune the math drawing a bit.
11396
11397 2001-06-25  The LyX Project  <Asger>
11398
11399         * LColor.C (LColor): New color for math background. New color
11400         for buttons.
11401
11402 2001-06-25  The LyX Project  <jug@sad.it>
11403
11404         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11405
11406         * lyxfunc.C (Open):
11407         * bufferlist.C (newFile): do not restrict to files ending with
11408         .lyx
11409
11410         * BufferView_pimpl.C (MenuInsertLyXFile):
11411
11412 2001-06-24  The LyX Project  <jug@sad.it>
11413
11414         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11415         of compare_no_case
11416
11417 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11418
11419         * lyxtext.h: rename most methods to begin with a small char.
11420         Lots of changes because of this.
11421
11422         * paragraph.C (Paragraph): do not call fitToSize
11423         (erase): call Pimpl::erase
11424         (insertChar): call Pimpl::insertChar
11425         (insertInset): call Pipl::insertInset
11426         (breakParagraph): do not call fitToSize
11427         (breakParagraphConservative): do not call fitToSize
11428         (fitToSize): remove method
11429
11430         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11431
11432 2001-06-24  The LyX Project  <Asger>
11433
11434         * Fix Qt compilation^2
11435
11436 2001-06-24  The LyX Project  <jug@sad.it>
11437
11438         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11439         depthHook(getDepth()-1).
11440
11441         * paragraph.h:
11442         * ParagraphParameters.h:
11443         * ParameterStruct.h: change type of depth to unsigned int ==
11444         depth_type. Many adaptations to other files before of that.
11445
11446 2001-06-24  The LyX Project  <Asger>
11447
11448         * Fix Qt compilation.
11449
11450 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11451
11452         * paragraph.h: renamed several methods to begin with small letter.
11453         several changes to many parts of the code because of this.
11454
11455 2001-06-23  The LyX Project  <jug@sad.it>
11456
11457         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11458         rewritten to discard all double spaces when KeepEmpty is off
11459         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11460         to only handle newlines but not fiddle with spaces and friends.
11461
11462         * lyxfunc.C (MenuNew): when doing 'new from template', use
11463         template_path as default directory
11464
11465 2001-06-23  The LyX Project  <Asger>
11466
11467         * Clean-up of header file includes all over
11468         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11469
11470 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11471
11472         * paragraph.h: renamed from lyxparagraph.h
11473
11474 2001-06-23  Asger  <lyx@violet.home.sad.it>
11475
11476         * Buffer.h: Removed Buffer::resize
11477         * BufferList.h: Removed BufferList::resize
11478         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11479         the document lazily when we change the width, or the font settings.
11480
11481 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11482
11483         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11484
11485 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11486
11487         * buffer.h: remove out of date comment
11488
11489 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11490
11491         * lyxscreen.h:
11492         * screen.C: fix "theoretical" GC leak
11493
11494 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11495
11496         * LaTeX.C (scanAuxFile):
11497         (deplog): remove trailing \r when reading stream (useful under
11498         win32)
11499
11500 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11501
11502         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11503         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11504         and BufferView::theLockingInset(Inset*), so should use them and not
11505         access bv_->text->the_locking_inset directly.
11506
11507         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11508
11509 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11510
11511         * Makefile.am:
11512         * tex-defs.h: remove old unused file
11513
11514 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11515
11516         * BufferView_pimpl.C: fix typo, remove minibuffer message
11517           when buffer has loaded
11518
11519 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11520
11521         * lyxfunc.C (Dispatch): use stringstream
11522         (MenuNew): use stringstream
11523         (Open): use stringstream
11524
11525         * importer.C (Import): use stringstream
11526
11527         * bufferview_funcs.C (CurrentState): use stringstream
11528
11529         * LaTeX.C (run): use stringstream
11530
11531         * BufferView_pimpl.C (savePosition): use stringstream
11532         (restorePosition): use stringstream
11533         (MenuInsertLyXFile): use stringstream
11534
11535 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11536
11537         * BufferView.C:
11538         * Bullet.C:
11539         * ColorHandler.C:
11540         * FontInfo.C:
11541         * FontLoader.C:
11542         * LColor.C:
11543         * LaTeXFeatures.C:
11544         * Painter.C:
11545         * gettext.C:
11546         * lyx_gui_misc.C:
11547         * lyxserver.C:
11548         * vspace.C: removed // -*- C++ -*- as first line.
11549
11550         * lyxfind.h:
11551         * version.h: added // -*- C++ -*- as first line.
11552
11553 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11554
11555         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11556
11557         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11558         of string
11559
11560 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11561
11562         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11563         of floats.
11564
11565 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11566
11567         * gettext.C: include LString.h even when --disable-nls is on.
11568
11569 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11570
11571         * converter.h (Get): changed argument type from int to
11572         FormatList::size_type to avoid unnecessary conversion.
11573
11574         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11575         before using it.
11576
11577 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11578
11579         * gettext.h: include LString.h even when --disable-nls is on.
11580
11581 2001-06-07  Juergen Vigna  <jug@sad.it>
11582
11583         * text.C (BreakAgain): subst spaces with tabs.
11584
11585         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11586         (resizeInsetsLyXText): set force on resizeLyXText.
11587
11588 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11589
11590         * gettext.h (gettext_init):
11591         (locale_init): use a real definition instead of a macro
11592
11593 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11594
11595         * Bufferview_pimpl.C:
11596         * LColor.h:
11597         * LColor.C: further lcolor tidies
11598
11599 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11600
11601         * BufferView_pimpl.C (updateScrollbar): simplify.
11602
11603         * BufferView2.C: don't include insets/insetinfo.h, change
11604         prototype for insertInset and call the Pimpl version. let
11605         updateInset call Pimpl version.
11606
11607         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11608         gotoInset to BufferView::Pimpl
11609
11610 2001-06-01  Juergen Vigna  <jug@sad.it>
11611
11612         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11613         inside a LockingInset (is the update needed at all?).
11614
11615 2001-05-31  Juergen Vigna  <jug@sad.it>
11616
11617         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11618         here not the old one otherwise how should we compare it afterwards
11619         if it's the same!
11620
11621 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11622
11623         * lyxfont.C:
11624         * tabular.C:
11625         * tabular-old.C:
11626         * FontInfo.C: bring C functions into global namespace when
11627         necessary
11628
11629 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11630
11631         * LString.h: make sure config.h has been loaded before LString.h.
11632
11633         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11634         (one for each char read by EatLine!).
11635
11636         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11637         variables.
11638
11639 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11640
11641         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11642         to the same as the par we break from
11643
11644 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11645
11646         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11647
11648         * MenuBackend.C (expand): also create menu entries for wide
11649         versions of the floats.
11650
11651         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11652
11653         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11654
11655         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11656         frontends/Makefile.am
11657
11658         * text2.C: adjust
11659         * text.C: adjust
11660
11661
11662         * tabular.C (getTokenValue): add std::
11663
11664         * tabular-old.C (getTokenValue): add std::
11665         (getTokenValue): ditto
11666         (getTokenValue): ditto
11667
11668         * screen.C (ToggleSelection): adjust
11669
11670         * lyxtext.h: put selection cursors inside a Selection struct.
11671
11672         * lyxfunc.C (moveCursorUpdate): adjust
11673
11674         * lyxfont.C (latexWriteStartChanges): add std::
11675
11676         * lyxfind.C: adjust
11677
11678         * font.h: delete with(char const *, LyXFont const &)
11679
11680         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11681
11682         * FontInfo.C (getFontname): add std::
11683
11684         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11685         (workAreaButtonPress): adjust
11686         (tripleClick): adjust
11687         (update): adjust
11688         (moveCursorUpdate): adjust
11689         (Dispatch): adjust
11690
11691         * BufferView2.C (gotoInset): adjust
11692
11693 2001-05-30  Juergen Vigna  <jug@sad.it>
11694
11695         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11696         to check pspell I add this as default as I now have new pspell
11697         libraries and they seem to use this.
11698
11699 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11700
11701         * text2.C (CutSelection): make the cursor valid before the call to
11702         ClearSelection.
11703
11704 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11705
11706         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11707         relied on 0 terminated strings and other horrors. Bug found due to
11708         the new assert in lyxstring!
11709
11710         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11711         KP_ keys.
11712
11713 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11714
11715         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11716         to latinkeys.bind.
11717
11718         * lyxfunc.C (processKeySym): change method of getting to the
11719         self-insert char.
11720
11721         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11722         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11723         * BufferView_pimpl.[Ch]: here as private methods.
11724
11725 2001-05-28  Juergen Vigna  <jug@sad.it>
11726
11727         * text.C (SetHeightOfRow): added the update() call again as it is
11728         needed to initialize inset dimensions!
11729
11730 2001-05-16  Juergen Vigna  <jug@sad.it>
11731
11732         * text2.C (SetCharFont): Add new function with BufferView * and
11733         bool toggleall parameters for setting insets internal fonts.
11734         (SetFont): Freeze the undo as we may change fonts in Insets and
11735         all this change should be inside only one Undo!
11736
11737         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11738         setting font's in insets as for them we have the SetFont function!
11739
11740 2001-05-15  Juergen Vigna  <jug@sad.it>
11741
11742         * text2.C (ClearSelection): to be sure we REALLY don't have any
11743         selection anymore!
11744
11745         * tabular.C (TeXCellPreamble): fixed the left border problem for
11746         multicolumn cells.
11747
11748 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11749
11750         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11751         dependancy file
11752
11753 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11754
11755         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11756         LFUN_BREAKPARAGRAPH.
11757
11758         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11759         help test to "internal only", similar for LFUN_INSERT_URL
11760
11761         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11762         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11763         auto_region_delete and deadkeys.
11764
11765 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11766
11767         * LColor.h:
11768         * LColor.C: remove some dead entries, tidy a little
11769
11770 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11771
11772         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11773         commented code.
11774         (Dispatch): implement LFUN_ESCAPE
11775
11776         * commandtags.h: add LFUN_ESCAPE
11777
11778         * LyXAction.C (init): add entry for LFUN_ESCAPE
11779
11780         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11781         Remove commented code.
11782         (insertNote): moved here
11783         (open_new_inset): moved here
11784
11785         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11786         BufferView_pimpl
11787
11788 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11789
11790         * kbmap.C (findbinding): clean it up and make it work correctly.
11791
11792         * lyx_main.C (init): do not pass argc and argv as parameters
11793
11794 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11795
11796         * buffer.C: fix path for OS/2 & Win32
11797
11798         * lyx_gui.C:
11799         * lyx_main:
11800         * lyx_main.C: Added os:: class.
11801
11802         * os2_defines.h: update
11803
11804 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11805
11806         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11807         better by trying again with reduced state.
11808
11809 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11810
11811         * lyxrc.C (read): print error about invalid key sequence only when
11812         debugging (because not all latinX keysyms are known to some X
11813         servers)
11814
11815         * kbsequence.C (getiso): add a few std:: qualifiers
11816         (getiso): comment out extra return statement.
11817
11818 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11819
11820         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11821         handling.
11822         (Dispatch): enhance the accent inset a bit. (not perfect)
11823
11824 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11825
11826         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11827
11828 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11829
11830         * bufferlist.C (emergencyWrite): fix assert() call
11831
11832 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11833
11834         * text.C (InsertChar): Added trivial patch to only send the "you
11835         can not do multiple spaces this way" message once during a
11836         session.
11837
11838 2001-05-08  Baruch Even  <baruch@lyx.org>
11839
11840         * Makefile.am: Changed order of libraries to get LyX to link properly
11841         with the gnome frontend.
11842
11843 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11844
11845         * LaTeXFeatures.h: add a std:: qualifier
11846
11847 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11848
11849         * paragraph.C (String): use stringstream
11850
11851 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11852
11853         * paragraph.C (writeFile): remove footflag arg
11854
11855         * buffer.C (makeLaTeXFile): use stringstream
11856         (latexParagraphs): remove footnot gurba
11857
11858         * LaTeXFeatures.C (getPackages): use stringstream
11859         (getMacros): likewise
11860         (getTClassPreamble): likewise
11861         (getFloatDefinitions): new method
11862
11863         * paragraph.C (writeFile): reindent
11864         (Erase): reindent
11865
11866         * WorkArea.h: revert the xpos + etc changes.
11867
11868         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11869
11870         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11871
11872         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11873         (pasteSelection): likewise
11874         * text2.C (CreateUndo): likewise
11875
11876 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11877
11878         * minibuffer.C (peek_event): temporarily reduce the functionality
11879         of the minibuffer (to allow args on lfuns)
11880
11881         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11882         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11883
11884         * buffer.C (readInset): add compability reading of old float
11885         lists, add reading of new style float list.
11886         (readInset): avoid reevaluation of inscmd.getCmdName()
11887         (getLists): reindent
11888
11889         * MenuBackend.C (MenuItem): implement parsing of
11890         md_floatlistinsert and md_floatinsert.
11891         (expand::LastFiles): move initalizaton of iterators out of loop,
11892         avoid reevaluation.
11893         (expand::Documents): introduce typdedef vector<string> Strings,
11894         and use it.
11895         (expand::ExportFormats): introduce typedef vector<Format const *>
11896         Formats, and use it.
11897         (expand): implement FloatListInsert and FloatInsert.
11898
11899         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11900         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11901         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11902
11903         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11904         handling.
11905         (Dispatch::LFUN_FLOAT_LIST): implement
11906
11907 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11908
11909         * LaTeX.C (run): Fix problem with --export code.
11910
11911 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11912
11913         * BufferView.[Ch] (workarea): removed.
11914         (getClipboard) new method; wrapper for workarea()->getClipboard()
11915
11916         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11917         bug.
11918
11919         * WorkArea.h (width, height, xpos, ypos): These methods all
11920         returned the dimensions of the work_area sub-area of WorkArea,
11921         resulting in a position error if the WorkArea were resized. Now
11922         return the dimensions of the entire WorkArea.
11923
11924         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11925
11926 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11927
11928         * LaTeX.C (deplog): correct the syntax of regex reg1
11929
11930 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11931
11932         * undo.C: remove !NEW_INSETS cruft
11933
11934 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11935
11936         * text2.C: remove !NEW_INSETS cruft
11937
11938         * text.C: remove !NEW_INSETS cruft
11939
11940         * tabular.C: remove !NEW_INSETS cruft
11941
11942         * spellchecker.C: remove !NEW_INSETS cruft
11943
11944         * lyxtext.h: remove !NEW_INSETS cruft
11945
11946         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11947
11948         * lyxfunc.C: remove !NEW_INSETS cruft
11949
11950         * lyxfind.C: remove !NEW_INSETS cruft
11951
11952         * lyx_cb.C: remove !NEW_INSETS cruft
11953
11954         * figureForm.C: remove  !NEW_INSETS cruft
11955
11956         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11957
11958         * buffer.[Ch]: remove !NEW_INSETS cruft
11959
11960         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11961
11962         * CutAndPaste.C: remove !NEW_INSETS cruft
11963
11964         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11965
11966         * BufferView2.C: remove !NEW_INSETS cruft
11967
11968         * BufferView.h: remove !NEW_INSETS cruft
11969
11970 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11971
11972         * Lsstream.h: include LString.h before the sstream headers to
11973         fix problem with gcc 2.95.3 and lyxstring
11974
11975 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11976
11977         * lyx_main.C: add using directives when needed for C functions
11978         declared in std:: namespace.
11979
11980 2001-04-27  Juergen Vigna  <jug@sad.it>
11981
11982         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11983         (SetHeightOfRow): comment out the update call should not be needed!
11984
11985 2001-04-13  Juergen Vigna  <jug@sad.it>
11986
11987         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11988         (LyXTabular): tried to minimize operator= operations (and realized
11989         hopfully Lars wish).
11990
11991 2001-04-27  Juergen Vigna  <jug@sad.it>
11992
11993         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11994
11995 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11998
11999         * buffer.C (readInset): hack to make listof algorithm work
12000
12001         * BufferView_pimpl.C: hack to make listof algorithm work
12002
12003 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12004
12005         * LyXAction.C: removed all !NEW_INSETS cruft
12006         (init): moved lfun_item in method
12007
12008         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12009
12010 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12011
12012         * BufferView2.C (theLockingInset): white space.
12013
12014 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12015
12016         * minibuffer.C: include <iostream>
12017
12018         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12019
12020         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12021
12022         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12023
12024         * text.[Ch] (TransposeChars): new method
12025
12026 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12027
12028         * call message directly through LyXView instead of through LyXFunc
12029         * BufferView2.C: adjust
12030         * BufferView_pimpl.C: adjust
12031         * FontLoader.C: adjust
12032         * buffer.C: adjust
12033         * bufferview_funcs.C: adjust
12034         * converter.C: adjust
12035         * figureForm.C: adjust
12036         * importer.C: adjust
12037         * lyx_cb.C: adjust
12038         * lyx_gui_misc.C: adjust
12039         * lyxfunc.C: adjust
12040         * lyxvc.C: adjust
12041         * text2.C: adjust
12042         + more files in subdirs
12043
12044         * lyxparagraph.h (size): move up int file
12045         (GetLayout): ditto
12046
12047         * adjust all uses of Assert to lyx::Assert.
12048
12049         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12050         lyxfunctional in namespace lyx
12051         * layout.C (hasLayout): ditto
12052         (GetLayout): ditto
12053         (GetLayout): ditto
12054         (delete_layout): ditto
12055         (NumberOfClass): ditto
12056         * converter.C (GetFormat): ditto
12057         (GetNumber): ditto
12058         (Add): ditto
12059         (Delete): ditto
12060         (SetViewer): ditto
12061         * bufferlist.C (getFileNames): ditto
12062         (emergencyWriteAll): ditto
12063         (exists): ditto
12064         (getBuffer): ditto
12065         * MenuBackend.C (hasSubmenu): ditto
12066         (hasMenu): ditto
12067         (getMenu): ditto
12068         * BufferView_pimpl.C (getInsetByCode): ditto
12069
12070 2001-04-18  Juergen Vigna  <jug@sad.it>
12071
12072         * vspace.C (asLatexString): fixed the 100% problem.
12073
12074 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12075
12076         * lyxfunc.C (Dispatch):
12077         * minibuffer.C:
12078         * minibuffer.h: add a few std:: qualifiers
12079
12080 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12081
12082         * minibuffer.[Ch]: reimplement so that commands is initiated and
12083         run from lyxfunc, simplified som handling, and made the completion
12084         and history code for complete. wip.
12085
12086         * lyxfunc.C (processKeySym): call message
12087         (miniDispatch): new temporary method
12088         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12089         (LFUN_MESSAGE): implement
12090         (LFUN_MESSAGE_PUSH): implement
12091         (LFUN_MESSAGE_POP): implement
12092         (initMiniBuffer): the initial/defualt minibuffer message.
12093
12094         * lyxfont.[Ch]: inline some more getters
12095
12096         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12097
12098         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12099
12100         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12101         (AutoSave): use LFUN_MESSAGE
12102         (Reconfigure): ditto
12103
12104         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12105
12106         * figureForm.C: use LFUN_MESSAGE
12107
12108         * converter.C (runLaTeX): use LFUN_MESSAGE
12109
12110         * bufferview_funcs.C: use LFUN_MESSAGE
12111         (Melt): ditto
12112         (changeDepth): ditto
12113
12114         * bufferparams.h: use boost::
12115
12116         * bufferlist.h: inherit privately from noncopyable
12117
12118         * bufferlist.C (loadLyXFile): remove some commented code.
12119
12120         * buffer.C (runChktex): use LFUN_MESSAGE
12121
12122         * ShareContainer.h: inherit privately from noncopyable
12123
12124         * ParagraphParameters.[hC] (depth): inline it.
12125
12126         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12127         methods.
12128         (message): new method
12129         (messagePush): ditto
12130         (messagePop): ditto
12131         (show): init minibuffer
12132         (showState): direct call
12133
12134         * LaTeX.[Ch]: inherit privately from noncopyable
12135         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12136         instead of WriteStatus.
12137
12138         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12139
12140         * BufferView_pimpl.C (buffer): don't init minibuffer
12141         (workAreaButtonPress): use LFUN_MESSAGE
12142         (workAreaButtonRelease): ditto
12143         (savePosition): ditto
12144         (restorePosition): ditto
12145         (MenuInsertLyXFile): ditto
12146         (workAreaExpose): don't init minibuffer
12147         (update): remove commented code, simplify
12148
12149         * BufferView2.C (openStuff): use LFUN_MESSAGE
12150         (toggleFloat): ditto
12151         (menuUndo): ditto
12152         (menuRedo): ditto
12153         (copyEnvironment): ditto
12154         (pasteEnvironment): ditto
12155         (copy): ditto
12156         (cut): ditto
12157         (paste): ditto
12158         (gotoInset): ditto
12159         (updateInset): remove some commented code
12160
12161         * lastfiles.h: inherit privately from noncopyable
12162         * layout.h: ditto
12163         * lyx_gui.h: ditto
12164         * lyx_main.h: ditto
12165         * lyxlex.h: ditto
12166         * lyxlex_pimpl.h: ditto
12167
12168         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12169         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12170         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12171
12172         * LyXAction.h: inherit privately from noncopyable, add methods
12173         func_begin, func_end, returning iterators to the func map.
12174
12175         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12176         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12177         (func_begin): new method
12178         (func_end): new method
12179
12180         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12181         and not)
12182         (copySelection): ditto
12183         (pasteSelection): ditto
12184
12185         * BufferView.C: whitespace change
12186         * BufferView.h: inherit privately from noncopyable
12187
12188 2001-04-16  Allan Rae  <rae@lyx.org>
12189
12190         * tabular-old.C (l_getline):
12191         * spellchecker.C (sc_check_word):
12192         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12193         an unrecognised preprocessor directive.  So ensure they're wrapped.
12194
12195 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12196
12197         * src/exporter.C (Export): Give an error message when path to file
12198         contains spaces.
12199
12200 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12201
12202         * LaTeX.C (deplog): Always check that foundfile exists.
12203
12204 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12205
12206         * lyx_main.h:
12207         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12208
12209 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12210
12211         * tabular.[Ch] (getLabelList): implement new method
12212
12213         * minibuffer.h: comment ouf setTiimer
12214
12215         * minibuffer.C (ExecutingCB): constify res
12216         (peek_event): constify s
12217         (Set): constify ntext
12218         (Init): constify nicename
12219
12220         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12221
12222         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12223         (savePosition): use two params to Minibuffer::Set
12224         (restorePosition): ditto
12225
12226 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12227
12228         * lyx_main.C: include language.h
12229
12230         * Makefile.am (lyx_main.o): add language.h
12231
12232 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12233
12234         * exporter.C:
12235         * paragraph.C:
12236         * screen.C:
12237         * tabular.C:
12238         * CutAndPaste.C: include gettext.h
12239
12240         * lyxfont.h: remove old hack with ON and OFF.
12241
12242         * lyxparagraph.h:
12243         * lyxfont.h: do not include language.h...
12244
12245         * BufferView2.C:
12246         * LaTeXFeatures.C:
12247         * Painter.C:
12248         * bufferview_funcs.C:
12249         * font.C:
12250         * lyxfont.C:
12251         * text.C:
12252         * text2.C:
12253         * trans_mgr.C:
12254         * paragraph.C: ... but do it here instead
12255
12256 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12257
12258         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12259
12260         * tabular.C: small reformat
12261
12262         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12263         NEW_INSETS version
12264         (GetChar): ditto
12265         (BreakParagraph): ditto
12266         (SetOnlyLayout): ditto
12267         (SetLayout): ditto
12268
12269         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12270         with one arg less.
12271
12272         * lastfiles.C: removed most using decl, add std:: where needed
12273
12274         * buffer.C: ws changes
12275
12276         * MenuBackend.C (class compare_format): put into anon namespace
12277         (expand): constify label, names, action, action2
12278         (expand):
12279
12280         * text.C (SingleWidth): constify font
12281         (IsBoundary): constify rtl2
12282         (GetVisibleRow): constify ww
12283
12284         * LaTeX.C (deplog): constify logfile
12285
12286         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12287         start_x, end_x
12288         (workAreaExpose): constify widthChange, heightChange
12289
12290         * lyxrow.C (par): moved
12291         (height): moved
12292         (next): moved
12293         * lyxrow.h: as inlines here
12294
12295         * lyxfont.h (shape): moved from lyxfont.C
12296         (emph): moved from lyxfont.C
12297
12298         * lyxfont.C (LyXFont): use initialization list for all
12299         constructors
12300         (shape): move to lyxfont.h as inline
12301         (emph): move to lyxfont.h as inline
12302
12303
12304 2001-04-04  Juergen Vigna  <jug@sad.it>
12305
12306         * vspace.C: had to include stdio.h for use of sscanf
12307
12308 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12309
12310         * BufferView.h:
12311         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12312         independent of xforms.
12313
12314 2001-04-02  Juergen Vigna  <jug@sad.it>
12315
12316         * spellchecker.C: fixed namespace placing!
12317
12318 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12319
12320         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12321         the LyXParagraph * is 0.
12322
12323 2001-03-29  Juergen Vigna  <jug@sad.it>
12324
12325         * vspace.C: added support for %, c%, p%, l%.
12326         (stringFromUnit): added helper function.
12327         (asLatexString): changed to give right results for the %-values.
12328
12329         * buffer.C: convert the widthp in a width%.
12330
12331 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12332
12333         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12334         figureForm.[Ch].
12335
12336         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12337         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12338
12339         * lyx_cb.[Ch]: see above.
12340
12341         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12342         form1.[Ch].
12343
12344         * form1.[Ch]:
12345         * lyx.[Ch]: replaced by figure_form.[Ch].
12346
12347         * lyx_gui.C:
12348         * lyx_gui_misc.C:
12349         * lyxfunc.C: changed headers associated with above changes.
12350
12351 2001-03-27  Juergen Vigna  <jug@sad.it>
12352
12353         * BufferView_pimpl.C: set the temporary cursor right!
12354
12355 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12356
12357         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12358
12359 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12360
12361         * LString.h: removed "using std::getline"!
12362
12363         * BufferView_pimpl.C (Dispatch): changes due to changes in
12364         InsetInclude::Params.
12365
12366         * buffer.C (tag_name): removed redundant break statements as they were
12367         producing lots of warnings with my compiler.
12368
12369 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12370
12371         * LString.h: add "using std::getline" when using the real <string>.
12372
12373 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12374
12375         * buffer.C: removed bitset usage.
12376         PAR_TAG moved to an anonymous name space.
12377         (tag_name): new funtion, also in the anonymous namespace.
12378         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12379         (makeDocBookFile): clean code. Completed transition from string arrays
12380         to string vectors.
12381         (SimpleDocBookOnePar): code clean.
12382
12383 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12384
12385         * tabular.C: add some comments.
12386
12387 2001-03-22  Juergen Vigna  <jug@sad.it>
12388
12389         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12390         compatibility read a bit and fixed bug with minipage in different
12391         depth.
12392
12393 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12394
12395         * buffer.C (pop_tag): removed.
12396         (push_tag): removed.
12397         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12398         array replaced with vector. Added support for CDATA sections.
12399         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12400         at any nest level.
12401         (makeDocBookFile): XML conformant declaration of CDATA section,
12402         fixed bug related to <emphasis> in the first paragraph char.
12403         (sgmlOpenTag): exclude empty tags.
12404         (sgmlCloseTag): ditto.
12405
12406         * buffer.h (pop_tag): removed.
12407         (push_tag): removed.
12408
12409 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12410
12411         * language.h (Languages): added size_type and size().
12412
12413 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12414
12415         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12416         response on compability reading of minipages. One probliem is that
12417         the old usage of minipages was «flertydig»
12418
12419         * several files here and in subdirs: don't use static at file
12420         scope use anon namespaces instead.
12421
12422 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12423
12424         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12425         LaTeX output. This is necessary for Literate document
12426         processing.
12427
12428 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12429
12430         * buffer.C: insert hfill when needed.
12431
12432         * tabular.C (l_getline): use string::erase, small whitespace change.
12433
12434         * BufferView_pimpl.C: try the anon namespace.
12435         * WorkArea.C: ditto
12436
12437 2001-03-16  Juergen Vigna  <jug@sad.it>
12438
12439         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12440         otherwise it won't open options-dialogs.
12441
12442         * buffer.C: honor pextraWidth(p) on converting minipages.
12443
12444         * tabular.C (l_getline): changed the functions to strip trailing \r.
12445
12446 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12447
12448         * BufferView_pimpl.C:
12449         * minibuffer..C: added "using SigC::slot" declaration.
12450
12451 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12452
12453         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12454
12455         * text2.C: ditto
12456
12457         * text.C: ditto
12458
12459         * paragraph.C: ditto
12460
12461         * lyxtext.h: NO_PEXTRA
12462
12463         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12464
12465         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12466         * ParameterStruct.h: ditto
12467         * ParagraphParameters.h: ditto
12468         * lyxparagraph.h: ditto
12469
12470 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12471
12472         * buffer.C: add compability for minipage alignment.
12473         (latexParagraphs): remove unwanted pextra check.
12474
12475         * several files: remove CXX_WORKING_NAMESPACES
12476
12477         * buffer.C (pop_tag): tie is in namespace boost
12478
12479         * BufferView.h: noncopyable is in namespace boost
12480         * lyxlex.h: ditto
12481         * lyx_main.h: ditto
12482         * lyx_gui.h: ditto
12483         * layout.h: ditto
12484         * lastfiles.h: ditto
12485         * bufferlist.h: ditto
12486         * ShareContainer.h: ditto
12487         * LyXView.h: ditto
12488         * LyXAction.h: ditto
12489         * LaTeX.h: ditto
12490
12491 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12492
12493         * Merging changes from BRANCH_MVC back into HEAD.
12494
12495         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12496
12497 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12498
12499         * BufferView_pimpl.C: change from intl.C
12500
12501         * combox.h:
12502         * combox.C:
12503         * Makefile.am: move combox.*
12504
12505         * form1.h:
12506         * form1.C:
12507         * lyx_gui.C:
12508         * intl.h:
12509         * intl.C: remove dialog (covered by prefs)
12510
12511 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12512
12513         * lyxfunc.C (Dispatch): removed redundant break statement.
12514
12515 2001-03-14  Juergen Vigna  <jug@sad.it>
12516
12517         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12518
12519 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12520
12521         * buffer.C: add hack to fix compability reading of minipages.
12522
12523 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12524
12525         * buffer.C (getLists): Cleanup.
12526
12527 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12528
12529         * lyxfont.C (update): don't honor toggleall on font size.
12530
12531 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12532
12533         * bmtable.c:
12534         * bmtable.h:
12535         * Makefile.am: moved to frontends/xforms/
12536
12537         * lyx_gui_misc.C:
12538         * lyxfunc.C:
12539         * BufferView_pimpl.C: changes for moved mathpanel
12540
12541 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12542
12543         * gettext.h: fix gettext_init() in --disable-nls
12544
12545 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12546
12547         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12548
12549 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12550
12551         * lyx.C:
12552         * lyx.h: strip external form
12553
12554 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12555
12556         * BufferView_pimpl.C: add comment, destroySplash()
12557
12558 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12559
12560         * BufferView_pimpl.C:
12561         * LyXAction.C:
12562         * buffer.C:
12563         * commandtags.h:
12564         * lyxfunc.C: use re-worked insetinclude
12565
12566 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12567
12568         * buffer.C: add using std::stringstream.
12569
12570         * lyx_cb.C: readd using std::ios.
12571
12572         * buffer.C: add using std::map.
12573
12574         * BufferView_pimpl.C: add using std::vector.
12575
12576         * ShareContainer.h: add std:: to swap.
12577
12578         * buffer.h: add some typedefs
12579         * buffer.C (getLists): use them
12580         (getLists): renamed from getTocList.
12581         add a counter for the different float types and use it in the
12582         generated string.
12583         (getLists): use the same counter for the NEW_INSETS and the "non"
12584         NEW_INSETS
12585
12586         * lyx_cb.h: remove unused items, includes, using etc.
12587
12588         * ShareContainer.h: remove some commented code, add more comments
12589         and "documentation".
12590
12591 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12592
12593         * buffer.C (getTocList): make the list also when NEW_INSETS is
12594         defined.
12595
12596         * buffer.h: remove TocType
12597
12598         * buffer.C (getTocList): change to return a map<string,
12599         vector<TocItem> >, implement for dynamic number of list.
12600
12601         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12602         * text2.C (PasteSelection): adjust
12603         * CutAndPaste.C (pasteSelection): adjust
12604
12605         * FloatList.C (FloatList): update from the new_insets branch.
12606         * Floating.[Ch]: ditto
12607         * LaTeXFeatures.C: ditto
12608         * buffer.C: ditto
12609         * lyxlex_pimpl.C: ditto
12610
12611         * paragraph.C (Last): remove when NEW_INSETS is defined.
12612
12613         * other file: changes because of the above.
12614
12615 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12616
12617         * lyxparagraph.h: rename next to next_, previous to previous_,
12618         make them private for NEW_INSETS. Rename Next() to next(),
12619         Previous() to previous().
12620
12621         * other files: changes because of the above.
12622
12623 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12624
12625         * BufferView.h:
12626         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12627         problem.
12628
12629 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12630
12631         * main.C (main): pass lyx_localedir to gettext_init().
12632
12633         * gettext.h: remove locale_init and gettext_init macros
12634
12635         * gettext.C (locale_init): new function
12636         (gettext_init): new function
12637
12638         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12639         setlocale().
12640
12641 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12642
12643         * Moved credits to frontends:
12644         * credits.[Ch]: removed
12645         * credits_form.[Ch]: removed
12646         * lyx_gui_misc.C: remove credits stuff
12647         * Makefile.am:
12648
12649 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12650
12651         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12652
12653         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12654         unneeded destructor.
12655
12656         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12657         a standalone pointer again.
12658
12659         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12660
12661 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * Makefile.am:
12664         * filedlg.h:
12665         * filedlg.C:
12666         * LyXAction.C:
12667         * ToolbarDefaults.C:
12668         * bufferlist.C:
12669         * commandtags.h:
12670         * form1.C:
12671         * form1.h:
12672         * lyx_cb.C:
12673         * lyx_cb.h:
12674         * lyxfunc.h:
12675         * lyxfunc.C:
12676         * BufferView_pimpl.C: use new file dialog in GUII
12677
12678         * lyx_cb.h:
12679         * lyx_cb.C: remove LayoutsCB to Toolbar
12680
12681 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12682
12683         * ShareContainer.h (get): add std:: qualifier
12684
12685 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12686
12687         * ShareContainer.h: define a proper ShareContainer::value_type
12688         type (and use typename to please compaq cxx)
12689
12690 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12691
12692         * lyxparagraph.h: move serveral local vars to
12693         ParameterStruct/ParagraphParameters., use ShareContainer in
12694         FontTable., make vars in FontTable private and add getter and
12695         setter.
12696
12697         * paragraph.C: changes because of the above.
12698
12699         * lyxfont.h: remove copy constructor and copy assignment. (the
12700         default ones is ok), move number inside FontBits. move inlines to
12701         lyxfont.C
12702
12703         * lyxfont.C: add number to initializaton of statics, move several
12704         inlines here. constify several local vars. some whitespace
12705         cleanup. Dont hide outerscope variables.
12706
12707         * Spacing.h: add two new constructors to match the set methods.
12708
12709         * ShareContainer.h: new file, will perhaps be moved to support
12710
12711         * ParameterStruct.h: new file
12712
12713         * ParagraphParameters.h: new file
12714
12715         * ParagraphParameters.C: new file
12716
12717         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12718         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12719
12720         * BufferView_pimpl.C: ParagraphParameter changes.
12721         * buffer.C: Likewise.
12722         * bufferview_funcs.C: Likewise.
12723         * text.C: Likewise.
12724         * text2.C: Likewise.
12725
12726 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12727
12728         * lyxfind.C (LyXReplace): do not redefine default argument in
12729         implementation.
12730         (IsStringInText): ditto
12731         (SearchForward): ditto
12732         (SearchBackward): ditto
12733
12734 2001-03-06  Juergen Vigna  <jug@sad.it>
12735
12736         * lyxfind.C (IsStringInText): put parentes around expressions.
12737
12738 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12739
12740         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12741
12742 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12745
12746         * stl_string_fwd.h: add comment
12747
12748         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12749
12750         * tabular.h:
12751         * tabular.C: remove unused DocBook methods
12752
12753         * intl.C:
12754         * language.C:
12755         * paragraph.C:
12756         * buffer.C:
12757         killed DO_USE_DEFAULT_LANGUAGE
12758
12759 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12760
12761         * lyx_gui.C: do not include language.h.
12762
12763         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12764         arguments in function implementation.
12765
12766 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12767
12768         * BufferView_pimpl.C: add <ctime>
12769
12770 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12771
12772         * BufferView_pimpl.C: add using std::find_if
12773
12774 2001-02-27  José Matos  <jamatos@fep.up.pt>
12775
12776         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12777         by OnlyPath.
12778
12779 2001-02-11  José Matos  <jamatos@fep.up.pt>
12780
12781         * buffer.C (makeDocBookFile): command styles now have a parameter as
12782         "title" by default.
12783
12784 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12785
12786         * layout_forms.[Ch]: removed
12787         * lyx_cb.[Ch]: out character
12788         * lyx_gui.C: out character
12789         * lyx_gui_misc.C: out character
12790         * bufferview_funcs.C: : out character,
12791         added toggleall as parameter in ToggleAndShow
12792
12793 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12794
12795         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12796
12797         * text2.C (SetCurrentFont): Disable number property at boundary.
12798
12799 2001-02-26  Juergen Vigna  <jug@sad.it>
12800
12801         * lyxfunc.C (getStatus): added a string argument override function so
12802         that this is correctly called from LyXFunc::Dispatch if it contains a
12803         do_not_use_argument which is used!
12804         (Dispatch): added check for "custom" export and call appropriate func.
12805
12806 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12807
12808         * lyxrc.C: Add language_command_local, language_use_babel and
12809         language_global_options.
12810
12811         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12812
12813         * buffer.C (makeLaTeXFile): Use language_use_babel and
12814         language_global_options.
12815
12816 2001-02-23  Juergen Vigna  <jug@sad.it>
12817
12818         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12819         which works with LyXText and putted it inside BufferView. Here now we
12820         only call for that part the BufferView::Dispatch() function.
12821
12822         * BufferView.C (Dispatch): added.
12823
12824         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12825         functions which needs to use a LyXText over from LyXFunc.
12826         (MenuInsertLyXFile): added
12827         (getInsetByCode): added
12828         (moveCursorUpdate): added
12829         (static TEXT): added
12830
12831 2001-02-22  Juergen Vigna  <jug@sad.it>
12832
12833         * BufferView_pimpl.C (update): call a status update to see if LyXText
12834         needs it.
12835
12836 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12837
12838         * vc-backend.C (revert): implement for CVS
12839         (getLog): implement for CVS
12840
12841 2001-02-20  Juergen Vigna  <jug@sad.it>
12842
12843         * text2.C (ClearSelection): added BufferView param for inset_owner call
12844
12845         * lyxfunc.C (TEXT): added this function and use it instead of
12846         directly owner->view()-text of getLyXText().
12847
12848 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12849
12850         * src/layout_forms.C: out preamble
12851         * src/layout_forms.h: out preamble
12852         * src/lyx_cb.C: out preamble
12853         * src/lyx_cb.h: out preamble
12854         * src/lyx_gui.C: out preamble
12855         * src/lyx_gui_misc.C: out preamble
12856         * src/lyxfunc.C: connect with guii preamble
12857
12858 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12859
12860         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12861
12862 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12863
12864         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12865         whether to run bibtex.
12866
12867 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12868
12869         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12870
12871 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12872
12873         * Makefile.am (lyx_SOURCES): removed bibforms.h
12874
12875         * vspace.h: doxygen
12876
12877         * text.C (GetVisibleRow): make several local vars const
12878
12879         * tabular.C: small cleanup.
12880
12881         * lyxserver.C (callback): use compare instead of strncmp
12882
12883         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12884         inlines to after class or to paragraph.C
12885
12886         * lyxfont.h: remove friend operator!=
12887
12888         * converter.h: move friend bool operator< to non friend and after
12889         class def.
12890
12891         * combox.h: small cleanup
12892
12893         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12894         to inlines after class def.
12895
12896         * buffer.C (pop_tag): use string operations instead of strcmp
12897
12898         * bmtable.c: doxygen, small cleanup
12899
12900         * LaTeX.h: remove friend operator==
12901
12902 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12903
12904         * screen.C:
12905         * lyxrc.[Ch]:
12906         * lyxfunc.C:
12907         * lyxfont.[Ch]:
12908         * lyx_cb.C:
12909         * intl.[Ch]:
12910         * commandtags.h:
12911         * buffer.C:
12912         * WorkArea.[Ch]:
12913         * LyXAction.C:
12914         * BufferView_pimpl.C:
12915         * BufferView.[Ch]: remove cruft
12916
12917 2001-02-14  Juergen Vigna  <jug@sad.it>
12918
12919         * lyxfunc.C: removed #if 0 unused code
12920
12921         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12922
12923         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12924
12925         * text2.C (SetSelection): added a BufferView * parameter
12926
12927 2001-02-13  Juergen Vigna  <jug@sad.it>
12928
12929         * lyxfunc.C (Dispatch): fixed protected blank problem.
12930         * BufferView2.C (protectedBlank): added LyxText * parameter.
12931
12932         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12933         (AppendColumn): same as above for column_info.
12934
12935         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12936         (moveCursorUpdate): use a LyXText param for support of InsetText.
12937
12938         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12939         (tripleClick): ditto
12940
12941         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12942
12943         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12944
12945         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12946
12947         * text2.C (SetSelection): set correct update status if inset_owner
12948         (ToggleFree): ditto
12949
12950 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12951
12952         * tabular.C: remove some commented code.
12953
12954 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12955
12956         * BufferView_pimpl.C: call hideSplash()
12957
12958         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12959
12960         * include_form.h:
12961         * bibforms.h: remove
12962
12963         * lyxfunc.C:
12964         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12965           add LFUN_CHILD_CREATE
12966
12967         * counters.h: fix tiny typo
12968
12969         * lyx_cb.C:
12970         * lyx.h:
12971         * lyx_gui.C:
12972         * lyx.C: move splash to frontends/xforms/
12973
12974         * lyx_gui_misc.C: move Include and Bibform to frontends
12975
12976         * lyxvc.h: clarify comment
12977
12978         * vspace.C: tiny housekeeping
12979
12980 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12981
12982         * text.C (PrepareToPrint): RTL Fix.
12983
12984         * paragraph.C (GetUChar): New method.
12985         (String):  Use GetUChar.
12986
12987         * buffer.C (asciiParagraph): Use GetUChar.
12988
12989 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12990
12991         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12992
12993 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12994
12995         * buffer.h:
12996         * buffer.C: rename to getLogName(), handle
12997           build log / latex log nicely
12998
12999 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13000
13001         * MenuBackend.C:
13002         * MenuBackend.h: remove support for reference menuitem type.
13003
13004 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13005
13006         * BufferView_pimpl.C: housekeeping
13007         * BufferView_pimpl.h:
13008         * LyXView.h:
13009         * Makefile.am:
13010         * Timeout.C:
13011         * Timeout.h:
13012         * minibuffer.h: move Timeout GUI-I
13013
13014 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13015
13016         * lyxrc.C (read): Update converters data-structures.
13017
13018 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13019
13020         * LaTeX.h (operator!=): add operator != for Aux_Info
13021
13022 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13023
13024         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13025
13026         * LaTeXLog.C: deleted, useful code moved to Buffer
13027
13028         * buffer.h:
13029         * buffer.C: new function getLatexLogName()
13030
13031         * lyx_gui_misc.C:
13032         * lyx_gui.C:
13033         * lyxvc.C:
13034         * lyxvc.h:
13035         * lyxfunc.C: use frontends for LaTeX and VC logs
13036
13037 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13038
13039         * LaTeX.h: yet another std:: that Allan forgot.
13040
13041         * Variables.C (set): renamed from isset(), because this clashes
13042         with some HP-UX macros (grr).
13043
13044 2001-02-06  Allan Rae  <rae@lyx.org>
13045
13046         * LaTeX.h: Another bug fix.  Missing std:: this time.
13047
13048 2001-02-04  Allan Rae  <rae@lyx.org>
13049
13050         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13051         floats problem. I've left it commented out because it's not quite
13052         correct.  It should also test that the current object is a table or
13053         figure inset.  But I haven't gotten around to figuring out how to do
13054         that.  I *think* it'll be something like: "table" == inset.type()
13055
13056         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13057         bool.
13058
13059 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13060
13061         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13062         all the citation/databases/styles in the auxilary file.
13063         (run): Rerun latex if there was a babel language error.
13064
13065 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13066
13067         * text.C (Backspace): Preserve the font when changing newline char
13068         with a space.
13069         (BreakParagraph): If the cursor is before a space, delete the space.
13070
13071         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13072
13073 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13074
13075         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13076         new argument (code).
13077         (ChangeCitationsIfUnique): New method.
13078
13079         * paragraph.C (GetPositionOfInset): Handle bibkey.
13080
13081 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13082
13083         * BufferView_pimpl.h: change type of Position::par_pos to
13084         LyXParagraph::size_type.
13085
13086 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13087
13088         * BufferView_pimpl.C (savePosition, restorePosition): Write
13089         messages to minibuffer.
13090
13091 2001-01-28  José Matos  <jamatos@fep.up.pt>
13092
13093         * buffer.C (makeDocBookFile): adds support for document language.
13094         A silly restriction on the name of LatexCommand types where removed.
13095         Added support for CDATA sections, allows to chars unescaped, used
13096         among others in code, to avoid escape < and >.
13097
13098 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13099
13100         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13101         saved positions instrad of a stack. Furthermore, a position is
13102         stored using paragraph id/paragraph position.
13103
13104         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13105         Remove LFUN_REF_BACK.
13106
13107 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13108
13109         * converter.C (dvipdfm_options): New method.
13110
13111 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13112
13113         * vspace.C (isValidLength): Fix for empty input string.
13114
13115 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13116
13117         * LyXAction.C (init): change description of LFUN_FIGURE to
13118         "Insert Graphics"
13119
13120 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13121
13122         * LaTeX.C: add using directive
13123
13124 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13125
13126         * MenuBackend.C (expand): Fix the sorting of the formats.
13127
13128 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13129
13130         * lyx_main.C: tiny error message fix
13131
13132 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13133
13134         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13135         calling fl_initialize(). This fixes the problem with ',' as
13136         decimal separator in text files.
13137
13138 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13139
13140         * trans.C (process): Fix the keymap bug.
13141
13142 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13143
13144         * LaTeX.C (scanAuxFiles): New method. Provides support for
13145         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13146         (scanLogFile) Scan for "run BibTeX" messages.
13147
13148         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13149         OT1 font encoding. Also, load the aecompl package if the ae
13150         package is loaded.
13151
13152         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13153
13154 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13155
13156         * texrow.C (increasePos): turn two error messages into debug
13157         messages.
13158
13159 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13160
13161         * LaTeX.C (scanAux): Handle the \@input macro.
13162         (runBibTeX): Use scanAux().
13163
13164         * language.C (latex_options_): New field.
13165
13166         * LaTeXFeatures.C (getMacros): Add language macros.
13167
13168         * buffer.C (makeLaTeXFile): Small fix.
13169
13170 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13171
13172         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13173
13174         * text2.C: add a using directive.
13175
13176 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13177
13178         * BufferView2.C:
13179         * lyx_gui_misc.h:
13180         * lyxfr1.C:
13181         * lyxfunc.C: kill LyXBell.
13182
13183 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13184
13185         * text.C (IsBoundary): Remove the error message
13186
13187         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13188
13189         * lyxrc.C (setDefaults): Correct initialization value for
13190         font_norm_type.
13191
13192 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13193
13194         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13195         gotoError().
13196
13197         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13198         and GotoNextNote().
13199
13200         * src/LyXAction.C: Added reference-next.
13201
13202         * text.C (InsertChar): Use contains instead of strchr.
13203
13204         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13205
13206 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13207
13208         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13209         alignment commands (when needed).
13210
13211         * text.C (InsertChar): Add ':' to number separator chars.