]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
add missing bits to gtk port
[lyx.git] / src / ChangeLog
1
2 2003-10-15  André Pönitz  <poenitz@gmx.net>
3
4         * iterators.[Ch]:
5         * iterators.[Ch]:
6         * undo.[Ch]: make undo aware of inner insets
7
8 2003-10-14  Angus Leeming  <leeming@lyx.org>
9
10         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
11         static member functions LyX::ref() and LyX::cref.
12         (lastfiles): new accessor functions for the new lastfiles_ member var.
13         (addLyXView, views_): add a new LyXView to the list of views_.
14         (updateInset): loop over all LyXViews to call their own updateInset
15         member function, returning a pointer to the Buffer owning the inset.
16
17         * BufferView_pimpl.C (loadLyXFile):
18         * MenuBackend.C (expandLastfiles):
19         * bufferlist.C (MenuWrite, QuitLyX):
20         lastfiles is no longer a global variable.
21         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
22
23         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
24         static function. Access through LyX::cref().emergencyCleanup().
25
26 2003-10-14  André Pönitz  <poenitz@gmx.net>
27
28         * iterators.[Ch]: new direct access to innermost LyXText and Inset
29
30         * undo.[Ch]: restoring part of 'undo in insets'
31
32         * Makefile.am:
33         * undo_funcs.[Ch]: merge with undo.[Ch]
34
35         * tabular.C: small cleansing stuff
36
37 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
38
39         * paragraph_funcs.C (readParToken): report unknown insets as error
40         boxes. Use the outer paragraph as location (also for unknown
41         tokens).
42
43         * factory.C (readInset): do not abort on reading an unknown inset. 
44         Eat it and return 0.
45
46 2003-10-13  Angus Leeming  <leeming@lyx.org>
47
48         * lyx_main.C (LyX): remove call to setDisplayTranslator().
49
50         * lyxrc.C: displayTranslator is now a function,
51         declared in GraphicsTypes.h.
52
53 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
54
55         * format.C: new placeholder $$a to pass the socket address.
56
57         * bufferlist.[Ch]: new function getBufferFromTmp.
58
59         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
60           files in the temporary dir.
61
62 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
63
64         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
65
66         * Makefile.am: add lyxsocket.[Ch].
67
68         * lyx_main.C (error_handler): handle SIGPIPE.
69
70 2003-10-13  André Pönitz  <poenitz@gmx.net>
71
72         * BufferView_pimpl.C:
73         * lyxtext.h:
74         * text.C:
75         * text2.C:
76         * text3.C:
77         * undo_funcs.[Ch]: use paroffset_type instead of
78           ParagraphList::iterators to prevent multiple conversion
79           (and get a more robust interface)
80
81 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
82
83         * lyxfunc.C (dispatch): RESULT -> dispatch_result
84         * lyxtext.h: ditto
85         * text3.C (dispatch): ditto
86
87 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
88
89         * LaTeX.C (handleFoundFile): move the static to smaller scope,
90         move the onlyfile, use onlyfile instead of foundfile in a couple
91         of places.
92
93         * DepTable.C (update): flush the error stream a bit more
94
95 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
96
97         * lyxserver.C (callback): adjust
98
99         * lyxfunc.C (getStatus): add a missing brace in commented code
100         (ensureBufferClean): reindent
101         (dispatch): delete version taking a string
102
103 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
104
105         * LaTeX.C (deplog): move found file handlig from here...
106         (handleFoundFile): .. to new function here.
107         (deplog): make sure to discover several files mentioned on the
108         same log line.
109
110 2003-10-10  André Pönitz  <poenitz@gmx.net>
111
112         * lyxfunc.C:
113         * lyxtext.h:
114         * tabular.C:
115         * text.C:
116         * text2.C:
117         * text3.C: fix some of the tabular crashes
118
119 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
120
121         * MenuBackend.C (binding): put debug message into Debug::KBMAP
122
123         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
124
125 2003-10-09  André Pönitz  <poenitz@gmx.net>
126
127         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
128
129         * BufferView.C:
130         * BufferView_pimpl.C:
131         * bufferview_funcs.C:
132         * lyx_cb.C:
133         * lyxcursor.C:
134         * lyxfind.C:
135         * lyxfunc.C:
136         * lyxtext.h:
137         * text.C:
138         * text2.C:
139         * text3.C:
140         * text_funcs.[Ch]:
141         * textcursor.[Ch]:
142         * undo_funcs.C: adjust
143
144 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
145
146         * text2.C (incrementItemDepth): new function, use a backtracking
147         algorithm to discover the correct item depth.
148         (resetEnumCounterIfNeeded): new function, use a backtracking
149         algorithm to discover if counter reset is needed.
150         (setCounter): use them. Simplify a bit. Add different labels for
151         different item depths for itemize.
152
153         * paragraph.C (Paragraph): remove initialization of enumdepth
154         (operator=): ditto
155
156         * paragraph.h: get rid of enumdepth, and use itemdepth both for
157         enumerate and itemize. Change the type of itemdepth to signed char.
158
159 2003-10-08  André Pönitz  <poenitz@gmx.net>
160
161         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
162           thing assignable.
163         * text.C:
164         * text2.C: adjust
165
166         * tabular.[Ch]: fix crash after 'row-insert'
167
168 2003-10-08  Angus Leeming  <leeming@lyx.org>
169
170         Fix doxygen warnings.
171
172         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
173         Remove CutAndPaste:: prefix from header file declaration.
174
175         * LColor.h (fill): remove LColor:: prefix from declaration.
176
177         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
178         use lyx::depth_type rather than Paragraph::depth_type so that
179         header file and .C file match.
180
181         * converter.h (intToFormat): remove Converters:: prefix from declaration.
182
183         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
184         * aspell.C: \file aspell_local.C -> \file aspell.C
185         * gettext.C: \file gettext.C -> \file src/gettext.C
186         * gettext.h: \file gettext.h -> \file src/gettext.h
187         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
188         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
189         * text.C: \file text.C -> \file src/text.C
190
191         * toc.C: move comment so that doxygen is not confused.
192
193 2003-10-07  Angus Leeming  <leeming@lyx.org>
194
195         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
196
197 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
198
199         * aspell.C:
200         * aspell_local.h: add forgotten std::string's.
201
202 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
203
204         * LaTeXFeatures.C:
205         * LyXAction.C:
206         * factory.C:
207         * lfuns.h:
208         * lyxfunc.C:
209         * text3.C: The Box patch. Fancybox support, minipage, parbox
210
211 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
212
213         * CutAndPaste.h:
214         * DepTable.h:
215         * FloatList.h:
216         * LaTeXFeatures.h:
217         * ParagraphParameters.h:
218         * TextCache.h:
219         * Thesaurus.h:
220         * bufferlist.h:
221         * exporter.h:
222         * importer.h:
223         * lastfiles.h:
224         * lyxfind.h:
225         * lyxfont.h:
226         * lyxlex.h:
227         * lyxtextclasslist.h:
228         * messages.h:
229         * paragraph.h:
230         * paragraph_pimpl.C:
231         * textcursor.h: add <string> and other small fixes to make Lars'
232         std::string patch compile with STLport.
233
234 2003-10-06  Angus Leeming  <leeming@lyx.org>
235
236         * LColor.h: Add missing #include <string>.
237
238 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
239
240         * All most all file in all subdirs: Make <string> be the prefered
241         way of getting to std::string, add using declarations.
242
243 2003-10-06  André Pönitz  <poenitz@gmx.net>
244
245         * metricsinfo.C: initialize LyXFont before changing attribute.
246         (fixes the 'math in \emph is upright' bug)
247
248 2003-10-06  André Pönitz  <poenitz@gmx.net>
249
250         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
251
252 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
253
254         * graph.C:
255         * paragraph_pimpl.C: Small fixes to build using STLport
256
257 2003-10-02  André Pönitz  <poenitz@gmx.net>
258
259         * lyxfunc.C:
260         * text3.C: move handling of LFUN_DEPTH *; fix #1360
261
262 2003-10-01  André Pönitz  <poenitz@gmx.net>
263
264         * factory.C: assert early
265
266 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
267
268         * lyx_main.C: remove the global debug object
269
270         * debug.h: adjust for new debugstream
271
272         * debug.C: adjust for new debugstream and keep the global debug
273         object here.
274
275 2003-09-22  Angus Leeming  <leeming@lyx.org>
276
277         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
278         of g++ which otherwise complain that the scoped_ptr destructor can't delete
279         an incomplete class LyXFont.
280
281 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
282
283         * factory.C: bug fix in branches
284
285 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
286
287         * lyxfunc.C (processKeySym): adjust
288         (dispatch): adjust
289         (dispatch): change arg name from ev to func, adjust
290         (sendDispatchMessage): ditto
291
292         * lyx_main.C (defaultKeyBindings): adjust keybindings
293         (deadKeyBindings): ditto
294
295         * kbsequence.C (addkey): return a FuncRequest
296
297         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
298
299         * kbmap.C (bind): take a FuncRequest as arg, adjust
300         (read): adjust
301         (lookup): adjust
302         (defkey): change to take a FuncRequest as arg, adjust
303         (findbinding): take a FuncRequest as arg, adjust.
304
305         * funcrequest.h (operator=): added
306
307         * funcrequest.C (FuncRequest): default kb_action changed from
308         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
309
310         * buffer.C (dispatch): simplify
311         (dispatch): adjust to take a FuncRequest as arg, adjust
312
313         * boost.C (assertion_failed): change assertion message slightly
314
315         * ToolbarBackend.C (read): simplify
316
317         * MenuBackend.C (binding): adjust call to findbinding, add a
318         message if no binding is found.
319         (read): simplify
320         (expandToc): correct by adding a empty FuncRequest
321
322         * LyXAction.C: include <boost/assert.hpp>
323         (isPseudoAction): delete function
324         (LookupFunc): change name to...
325         (lookupFunc): this. change return type to FuncRequest.
326         (getActionName): take kb_action as arg, simplify
327         (funcHasFlag): add an assert, simplify.
328
329 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
330
331         * toc.C (action): return a FuncRequest, simplify
332
333         * lyxfunc.C (processKeySym): adjust
334         (getStatus): delete version that takes an int.
335         (getStatus): adjust
336         (dispatch): delete version that takes action as int
337         (dispatch): adjust
338         (sendDispatchMessage): simplify and adjust
339
340         * funcrequest.C (getArg): take unsigned int as arg
341
342         * ToolbarBackend.C (read): adjust
343         (add): delete version that takes func as a string.
344         (getIton): take a FuncRequest as arg
345
346         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
347         action.
348
349         * MenuBackend.C (MenuItem): add a new construct that only takes a
350         Kind, simplify the constructor use for submenus.
351         (add): adjust
352         (expandLastfiles): adjust
353         (expandDocuments): adjust
354         (expandFormats): adjust
355         (expandFloatListInsert): adjust
356         (expandFloatInsert): adjust
357         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
358
359         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
360         Remove class variables lyx_pseudo_map and lyx_arg_map
361
362         * LyXAction.C (searchActionArg): delete function
363         (getPseudoAction): delete function
364         (retrieveActionArg): delete function
365         (LookupFunc): make it return kb_action, simplify.
366         (getActionName): simplify
367
368         * factory.C (createInset): fix new bug
369
370 2003-09-19  Angus Leeming  <leeming@lyx.org>
371
372         * CutAndPaste.C (pasteSelection): remove fudge used to set the
373         masterFilename_ parameter in the include inset.
374
375         * factory.C (createInset): changes due to the changes to InsetInclude.
376
377 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
378
379         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
380
381 2003-09-18  Angus Leeming  <leeming@lyx.org>
382
383         * buffer.C:
384         * BufferView.C: pass the buffer when calling Inset::getLabelList,
385         Inset::fillWithBibKeys.
386         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
387
388 2003-09-18  Angus Leeming  <leeming@lyx.org>
389
390         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
391         variables.
392         (ctor): pass and store a 'Buffer const &'
393         (buffer): new member function.
394
395         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
396         '*this' to the LaTeXFeatures ctor.
397
398 2003-09-18  Angus Leeming  <leeming@lyx.org>
399
400         * LColor.h:
401         * lyxfont.C:
402         * lyxfont.h:
403         * lyxtext.h:
404         * text.C: rename EnumLColor as LColor_color.
405
406 2003-09-18  Angus Leeming  <leeming@lyx.org>
407
408         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
409         remove #include "insets/insetbase.h" from cursor.h.
410
411 2003-09-18  Angus Leeming  <leeming@lyx.org>
412
413         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
414         InsetOld_code to remove #include "inset.h".
415
416         * iterators.C: add #include "insets/inset.h"
417
418 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
419
420         * BufferView.C: remove more locking stuff that apparently doesn't
421         do anything sensible.
422
423 2003-09-16  André Pönitz  <poenitz@gmx.net>
424
425         * paragraph.[Ch]:
426         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
427           performance boost.
428
429 2003-09-16  Angus Leeming  <leeming@lyx.org>
430
431         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
432
433         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
434         arg/return type.
435
436         * paragraph.h: remove #include "lyxfont.h". Forward declare
437         LyXFont_size.
438
439 2003-09-16  Angus Leeming  <leeming@lyx.org>
440
441         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
442         of support/textutils.h.
443         (isWord): move the contents of support/textutils.h's IsWordChar here.
444
445         * buffer.C:
446         * lyxfind.C:
447         * rowpainter.C:
448         * text.C:
449         * text2.C: add #include "paragraph.h".
450
451         * rowpainter.C:
452         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
453
454 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
455
456         * main.C:
457         * lyx_main.C:
458         * lyx_cb.C:
459         * buffer.C:
460         * LaTeX.C: use namespace alias for lyx::support::os
461
462 2003-09-16  Angus Leeming  <leeming@lyx.org>
463
464         * bufferparams.C:
465         * bufferview_funcs.C:
466         * factory.C:
467         * lyxfunc.C:
468         * paragraph_pimpl.C:
469         * rowpainter.C:
470         * text.C: add #include "LColor.h".
471
472 2003-09-16  Angus Leeming  <leeming@lyx.org>
473
474         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
475         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
476         return LyXFont &.
477         Store the FontBits::color variable as an int rather than as an
478         LColor::colorso that we can move LColor.h out of the lyxfont.h header
479         file.
480
481         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
482         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
483         string calls together.
484
485         * lyxrc.C: add #include "LColor.h".
486
487 2003-09-15  Angus Leeming  <leeming@lyx.org>
488
489         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
490         a cow_ptr.
491
492 2003-09-15  Angus Leeming  <leeming@lyx.org>
493
494         * LColor.h: add an EnumLColor wrapper for LColor::color.
495
496         * lyxfont.[Ch] (color, setColor, realColor):
497         * lyxtext.h, text.C (backgroundColor):
498         pass EnumLColor args to/from the functions, rather than LColor::color
499         ones.
500
501         * lyxfont.h:
502         * lyxtext.h: forward declare EnumLColor.
503
504         * lyx_main.C: add #include "LColor.h".
505
506 2003-09-15  Angus Leeming  <leeming@lyx.org>
507
508         * .cvsignore: add lyx-gtk.
509
510 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
511
512         * Chktex.C
513         * LaTeX.C
514         * LaTeXFeatures.C
515         * ParagraphParameters.C
516         * Spacing.C
517         * buffer.C
518         * bufferparams.C
519         * bufferview_funcs.C
520         * chset.C
521         * counters.C
522         * funcrequest.C
523         * lyxfont.C
524         * lyxgluelength.C
525         * lyxlength.C
526         * paragraph.C
527         * paragraph_funcs.C
528         * text3.C
529         * vc-backend.C: remove usage of STRCONV
530
531 2003-09-15  Angus Leeming  <leeming@lyx.org>
532
533         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
534         explicitly define the color passed to the painter.
535
536 2003-09-15  Angus Leeming  <leeming@lyx.org>
537
538         * bufferparams.C (BufferParams): reorder member initializers to avoid
539         compiler warning.
540
541 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
542
543         * CutAndPaste.C (pasteSelection): remove an outdated #warning
544         * text.C (updateRowPositions): remove an unusual nop
545
546 2003-09-12  André Pönitz  <poenitz@gmx.net>
547
548         * BufferView_pimpl.C:
549         * Bullet.C:
550         * layout.h:
551         * lyxfunc.C:
552         * lyxlayout.[Ch]:
553         * lyxtextclass.C:
554         * rowpainter.C:
555         * text.C:
556         * text2.C:
557         * Counters.[Ch]: finish the 'automatic counters' job
558
559 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
560
561         * aspell.C: include <boost/assert.cpp> (compile fix)
562
563 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
564
565         * boost.C (assertion_failed): use lyx::support::abort instead of
566         assert.
567
568 2003-09-10  Angus Leeming  <leeming@lyx.org>
569
570         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
571         with their _fwd progeny.
572
573 2003-09-09  Angus Leeming  <leeming@lyx.org>
574
575         134 files throughtout the source tree: replace 'using namespace abc;'
576         directives with the appropriate 'using abc::xyz;' declarations.
577
578 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
579
580         * boost.C (emergencyCleanup): moved here from LAssert.c
581         (assertion_failed): new function, called by BOOST_ASSERT
582
583         * several files: change Assert to BOOST_ASSERT
584
585 2003-09-09  Angus Leeming  <leeming@lyx.org>
586
587         * buffer.[Ch]: Add an Impl class and move Buffer's member
588         variables into it. As a result move several header files out of
589         buffer.h.
590
591         Add header files to lots of .C files all over the tree as a result.
592
593 2003-09-09  Angus Leeming  <leeming@lyx.org>
594
595         * buffer.[Ch]: make Buffer's member variables private. Add
596         accessor functions.
597
598         Lots of changes all over the tree as a result.
599
600 2003-09-08  Angus Leeming  <leeming@lyx.org>
601
602         * graph.C: #include <config.h>.
603
604 2003-09-08  Angus Leeming  <leeming@lyx.org>
605
606         * BranchList.C:
607         * BufferView.C:
608         * BufferView_pimpl.C:
609         * CutAndPaste.C:
610         * DepTable.C:
611         * LaTeX.C:
612         * LaTeXFeatures.C:
613         * LyXAction.C:
614         * MenuBackend.C:
615         * TextCache.C:
616         * aspell.C:
617         * buffer.C:
618         * bufferlist.C:
619         * changes.C:
620         * chset.C:
621         * converter.C:
622         * counters.C:
623         * debug.C:
624         * graph.C:
625         * ispell.C:
626         * lyx_cb.C:
627         * lyxfind.C:
628         * lyxfunc.C:
629         * lyxlex_pimpl.C:
630         * lyxrc.C:
631         * lyxrow.C:
632         * paragraph.C:
633         * rowpainter.C:
634         * texrow.C:
635         * text.C:
636         * text2.C:
637         * toc.C: remove redundant using directives.
638
639 2003-09-07  Angus Leeming  <leeming@lyx.org>
640
641         * LaTeXFeatures.h: remove #include "support/types.h".
642         * ToolbarBackend.h: remove #include <algorithm>.
643         * changes.h: remove #include <ctime>.
644         * debug.h: remove #include <iosfwd>.
645         * graph.h: remove #include "support/std_string.h".
646         * lyx_main.h: remove #include <csignal>.
647         * lyxlex_pimpl.h: remove #include <fstream>.
648         * sgml.h: remove #include <algorithm>, <utility>.
649         * toc.h: remove #include "support/std_ostream.h".
650         Add #include <iosfwd>.
651
652 2003-09-07  Angus Leeming  <leeming@lyx.org>
653
654         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
655
656         * converter.h: forward declare LatexRunParams.
657         * encoding.h: remove #include "lyxrc.h".
658         * lyxtext.h: remove #include "LColor.h".
659         * lyxtextclass.h: remove #include "support/types.h".
660         * trans.h: remove #include "tex-accent.h".
661         * trans_mgr.h: remove #include "tex-accent.h".
662         * insets/inset.h: remove #include "support/types.h", <vector>.
663         * insets/insetcollapsable.h: remove #include "LColor.h".
664         * insets/insetinclude.h: remove #include "dimension.h".
665         * insets/insetlatexaccent.h: remove #include "dimension.h".
666         * insets/insetoptarg.h:: remove #include "insettext.h".
667         * insets/insettext.h: remove #include "dimension.h",
668         <boost/shared_ptr.hpp>
669
670         * insets/renderers.h: add #include "dimension.h".
671         * insets/updatableinset.h: add #include "support/types.h".
672
673         * many .C files: Associated changes.
674
675 2003-09-06  Angus Leeming  <leeming@lyx.org>
676
677         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
678         one, inside testInvariant.
679
680         * PrinterParams.C: new file.
681         * PrinterParams.[Ch]: move the function bodies out of line.
682
683 2003-09-06  Angus Leeming  <leeming@lyx.org>
684
685         * ParagraphParameters.h: forward declare ParameterStruct rather than
686         including its header file.
687         (depth): moved out-of-line.
688
689 2003-09-06  Angus Leeming  <leeming@lyx.org>
690
691         * BufferView_pimpl.h:
692         * kbmap.h:
693         * kbsequence.h:
694         * lyxfunc.h: forward declare LyXKeySym rather than
695         #include "frontends/LyXKeySym.h".
696
697         * BufferView_pimpl.C:
698         * kbmap.C:
699         * kbsequence.C:
700         * lyxfunc.C: associated changes.
701
702 2003-09-06  Angus Leeming  <leeming@lyx.org>
703
704         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
705         As a result, can remove the #include "insets/inset.h" from BufferView.h
706
707 2003-09-06  Angus Leeming  <leeming@lyx.org>
708
709         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
710         As a result, can remove the #include "insets/inset.h" from BufferView.h
711
712 2003-09-06  Angus Leeming  <leeming@lyx.org>
713
714         * buffer_funcs.C:
715         * buffer.h:
716         * bufferlist.C:
717         * BufferView.C:
718         * bufferview_funcs.C:
719         * BufferView_pimpl.C:
720         * CutAndPaste.C:
721         * lyx_cb.C:
722         * lyxfunc.C:
723         * paragraph.h:
724         * ParagraphParameters.C:
725         * tabular.C:
726         * text3.C:
727         * toc.C:
728         * undo_funcs.C:
729         * frontends/controllers/ControlDocument.C:
730         * insets/insetcaption.C: rearrange the #includes into some sort of
731         coherent order.
732
733         * buffer.h: remove #includes ErrorList.h, undo.h
734
735 2003-09-06  Angus Leeming  <leeming@lyx.org>
736
737         * support/types.h: add a 'depth_type' typedef, used to store the
738         nesting depth of a paragraph.
739
740         * paragraph.h:
741         * ParameterStruct.h: use this lyx::depth_type typedef rather than
742         defining explicitly.
743
744         * buffer.h:
745         * paragraph_funcs.h:
746         * ParagraphParameters.h:
747         * sgml.h: use lyx::depth_type rather than Paragraph or
748         ParameterStruct's depth_type.
749
750         * buffer.h
751         * paragraph_funcs.h: no need to #include paragraph.h anymore.
752
753         * BufferView.C:
754         * BufferView_pimpl.C:
755         * CutAndPaste.C:
756         * ParagraphParameters.C:
757         * buffer_funcs.C:
758         * bufferlist.C:
759         * bufferview_funcs.C:
760         * lyx_cb.C:
761         * lyxfunc.C:
762         * tabular.C:
763         * text3.C:
764         * toc.C:
765         * undo_funcs.C:
766         * frontends/LyXView.C:
767         * frontends/controllers/ControlDocument.C:
768         * frontends/controllers/ControlErrorList.C:
769         * insets/insetbibitem.C:
770         * insets/insetbranch.C:
771         * insets/insetcaption.C:
772         * insets/insetcollapsable.C:
773         * insets/insetenv.C:
774         * insets/insetert.C:
775         * insets/insetfloat.C:
776         * insets/insetfoot.C:
777         * insets/insetfootlike.C:
778         * insets/insetnewline.C:
779         * insets/insetquotes.C:
780         * insets/insettabular.C:
781         * insets/insettext.C:
782         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
783
784         * frontends/controllers/ControlChanges.C: #include "changes.h".
785
786 2003-09-06  Angus Leeming  <leeming@lyx.org>
787
788         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
789         than #including paragraph.h.
790
791         * ParagraphList.h:
792         * RowList.h: deleted. Superfluous.
793
794         * CutAndPaste.h:
795         * iterators.h:
796         * lyxcursor.h:
797         * lyxtext.h:
798         * text_funcs.h:
799         * undo.h:
800         * undo_funcs.h:
801         * insets/inset.h:
802         * insets/insettext.h: use ParagraphList_fwd.h rather than
803         ParagraphList.h.
804
805         * paragraph.h: don't forward declare ParagraphList.
806
807         * buffer.h:
808         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
809         rather than ParagraphList.h. paragraph.h is still needed for the
810         Paragraph::depth_type parameters.
811
812         * textcursor.h: enable it to compile stand-alone in light of the
813         above changes.
814
815         * bufferview_funcs.C:
816         * iterators.C:
817         * lyxfunc.C:
818         * lyxrow_funcs.C:
819         * paragraph.C:
820         * rowpainter.C:
821         * text.C:
822         * text2.C:
823         * text3.C:
824         * text_funcs.C:
825         * textcursor.C:
826         * undo.C:
827         * frontends/controllers/ControlParagraph.C:
828         * frontends/controllers/ControlTabular.C:
829         * insets/insetmarginal.C:
830         * insets/insetminipage.C:
831         * insets/insetnote.C:
832         * insets/insetoptarg.C: add header files needed to compile again.
833
834 2003-09-06  Angus Leeming  <leeming@lyx.org>
835
836         * RowList_fwd.h: new file, forward-declaring Row rather than
837         #including lyxrow.h.
838
839         * lyxrow_funcs.h:
840         * lyxtext.h:
841         * paragraph.h:
842         * insets/insettext.h: use it instead of RowList.h
843
844         * bufferview_funcs.C:
845         * lyxfunc.C:
846         * lyxrow_funcs.C:
847         * paragraph.C:
848         * rowpainter.C:
849         * text.C:
850         * text2.C:
851         * text3.C: #include "RowList.h".
852
853 2003-09-05  Angus Leeming  <leeming@lyx.org>
854
855         * factory.C (createInset):
856         * vspace.C (c-tor): replace sscanf call with an istringstream.
857         * ispell.C: re-add missing HP/UX headers.
858         * lyxserver.C: re-add missing  os2 headers.
859
860 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
861
862         * BranchList.C:
863         * graph.C:
864         * ispell.C:
865         * lastfiles.C:
866         * lyx_cb.C:
867         * lyxserver.C:
868         * texrow.C:
869         * text3.C: re-add missing system headers, needed for 2.95.2.
870
871 2003-09-05  Angus Leeming  <leeming@lyx.org>
872
873         Changes most place everywhere due to the removal of using directives
874         from support/std_sstream.h.
875
876 2003-09-05  Angus Leeming  <leeming@lyx.org>
877
878         Replace LString.h with support/std_string.h,
879         Lsstream.h with support/std_sstream.h,
880         support/LIstream.h with support/std_istream.h,
881         support/LOstream.h with support/std_ostream.h.
882
883         Changes resulting throughout the tree.
884
885 2003-09-05  Angus Leeming  <leeming@lyx.org>
886
887         * sgml.h: ensure that the header file can be compiled stand-alone.
888         * *.C: strip out redundant #includes. (320 in total.)
889
890 2003-09-04  Angus Leeming  <leeming@lyx.org>
891
892         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
893         here (from getPackages).
894
895         * debug.[Ch]: add a new EXTERNAL tag.
896
897 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
898
899         * text2.C (cursorEnd): simplify
900         (setCursor): adjust
901         (getColumnNearX): adjust
902
903         * text.C (computeBidiTables): adjust
904         (fill): adjust
905
906         * rowpainter.C (paintChars): adjust
907         (paintSelection): adjust
908         (paintChangeBar): adjust
909         (paintText): adjust
910
911         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
912         lastPos instead.
913         (numberOfSeparators): adjust
914
915 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
916
917         * LyXAction.C:
918         * box.[Ch]:
919         * lfuns.h:
920         * lyxfunc.C:
921         * text3.C: Restricts the mouse click functionality
922         of insets like bibtex, include, toc and floatlist to the visible
923         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
924         up the dialogs. Cursor has to be in front of the inset (i.e.
925         start of row) for this to function.
926
927 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
928
929         * bufferview_funcs.C (currentState): output row information
930
931 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
932
933         * bufferview_funcs.C (currentState): output paragraph position
934
935 2003-09-04  Angus Leeming  <leeming@lyx.org>
936
937         * FloatList.h: move out #include "Floating.h".
938         * LaTeX.h: move out #include "DepTable.h".
939         * LyXAction.h: move out #include "funcrequest.h".
940         * buffer.h: move out #include "author.h", "iterators.h".
941         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
942         * lyx_main.h: move out #include "errorlist.h".
943         * lyxfunc.h: move out #include "FuncStatus.h".
944         * lyxtext: move out #include "lyxcursor.h".
945         * paragraph_pimpl.h: move out #include "counters.h".
946
947 2003-09-03  Angus Leeming  <leeming@lyx.org>
948
949         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
950         preamble_snippets list, enabling us to add snippets to the preamble
951         only if the snippet was not there already.
952
953 2003-09-04  Angus Leeming  <leeming@lyx.org>
954
955         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
956
957 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
958
959         * lyxfunc.C (dispatch): if fitCursor did something be sure to
960         update
961
962 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
963
964         * BranchList.C: point fix, earlier forgotten
965
966 2003-09-02  Angus Leeming  <leeming@lyx.org>
967
968         * box.C (contains): renamed from 'contained' after a fantastic
969         amount of hot air.
970
971 2003-09-02  John Levon  <levon@movementarian.org>
972
973         * BufferView.C:
974         * lyxcursor.h:
975         * lyxcursor.C:
976         * lyxfunc.C:
977         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
978
979 2003-09-02  John Levon  <levon@movementarian.org>
980
981         * text2.C: simplification of cursorEnd(), including partial
982         fix for bug 1376
983
984 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
985
986         * buffer.C (readFile): add a space
987
988 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
989
990         * BufferView_pimpl.C (update): remove bogus fitCursor() call
991
992 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
993
994         * buffer.C (readFile): new function, take a filename and a
995         ParagraphList::iterator
996         (readFile): adjust
997         (readFile): adjust, make it private. don't use setStream, make
998         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
999         always contain the filename.
1000
1001         * BufferView.C (insertLyXFile): simplify and make it work for
1002         gzipped files.
1003
1004 2003-08-30  John Levon  <levon@movementarian.org>
1005
1006         * Makefile.am: fix dist (from Kayvan)
1007
1008 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1009
1010         * most files: change to use const Buffer refs
1011
1012 2003-08-27  André Pönitz  <poenitz@gmx.net>
1013
1014         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1015         on top of ownerPar().
1016
1017 2003-08-27  John Levon  <levon@movementarian.org>
1018
1019         * funcrequest.C: properly initialise POD members
1020
1021 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1022
1023         * lyxtext.h (top_y): move top_y from here
1024         * text.C:
1025         * text2.C:
1026         * text3.C:
1027         * BufferView.[Ch]:
1028         * BufferView_pimpl.[Ch]: to here
1029         * frontends/screen.C:
1030         * insets/insettabular.C:
1031         * insets/insettext.C: adjust
1032         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1033
1034 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1035
1036         * BufferView.[Ch]:
1037         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1038
1039 2003-08-26  André Pönitz  <poenitz@gmx.net>
1040
1041         * paragraph_func.[Ch] (outerPar): new function
1042
1043         * paragraph.C:
1044         * paragraph_funcs.C:
1045         * paragraph_funcs.h:
1046         * paragraph_pimpl.C:
1047         * text2.C: remove Inset::par_owner
1048
1049 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1050
1051         * lyxrow_funcs.C:
1052         * lyxtext.h:
1053         * text.C:
1054         * text2.C: eliminates the needFullRow/display() stuff
1055         altogether, putting the logic in metrics/draw in the insets.
1056
1057 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1058
1059         * text2.C (redoParagraphInternal, redoParagraphs):
1060         * text.C (redoParagraph): add a call to updateRowPositions at the
1061         end of each 'metrics-like' call. Remove all others.
1062         (getRow): remove the 'y-computing' version.
1063         (getRowNearY): do not compute nor return the real y. Solve the
1064         'y < 0' problem and simplify.
1065
1066 2003-08-22  Angus Leeming  <leeming@lyx.org>
1067
1068         * *.[Ch]: clean-up of licence and author blurbs.
1069         Also move config.h out of a few .h files and into a few .C files.
1070
1071 2003-08-22  André Pönitz  <poenitz@gmx.net>
1072
1073         * lyxrow.[Ch]: add x_ and *fill_ members
1074
1075         * lyxtext.h:
1076         * text.C:
1077         * rowpainter.C:
1078         * text2.C: adjust/remove prepareToPrint() calls
1079
1080 2003-08-22  André Pönitz  <poenitz@gmx.net>
1081
1082         * lyxrow.[Ch]: add  end_ member
1083
1084         * lyxrow_funcs.C: use LyXRow::end_
1085
1086         * lyxtext.h (singleWidth): add LyXFont parameter
1087
1088         * rowpainter.C:
1089         * text2.C: adjust LyXText::singleWidth() calls
1090
1091         * text.C (redoParagraph): simplify row breaking logic
1092
1093
1094 2003-08-19  André Pönitz  <poenitz@gmx.net>
1095
1096         * funcrequest.C: initialize button_ member
1097
1098         * text3.C:
1099         * rowpainter.[Ch]: interface consolidation
1100
1101 2003-08-18  André Pönitz  <poenitz@gmx.net>
1102
1103         * BufferView.C:
1104         * BufferView_pimpl.C:
1105         * lyxfind.C:
1106         * paragraph_funcs.C:
1107         * rowpainter.C:
1108         * text3.C: remove LyXScreen::draw() and fitCursor calls
1109
1110         * BranchList.h: remove spurious semicolons
1111
1112         * MenuBackend.C: fix branchlist related crash
1113
1114 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1115
1116         * BranchList.[Ch]:
1117         * InsetList.[Ch]:
1118         * LColor.[Ch]:
1119         * LyXAction.C:
1120         * Makefile.am:
1121         * MenuBackend.[Ch]:
1122         * bufferparams.[Ch]:
1123         * factory.C:
1124         * lfuns.h:
1125         * lyxfunc.C:
1126         * text3.C: implements the 'branch inset'
1127         idea. This allows the output of various versions of a document
1128         from a single source version, selectively outputing or suppressing
1129         output of parts of the text.
1130         This implementation contains a 'branch list editor' in a separate
1131         tab of the document settings dialog. Branches are user definable
1132         and have a "display colour" to distinguish them on-screen.
1133
1134         ColorHandler was somewhat cleaned up.
1135         (1) make possible a dynamically growing LColor list by allowing
1136         the graphic context cache to grow along (vector);
1137         (2) eliminate an IMHO unnecessary step in colour allocation.
1138
1139 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1140
1141         * BufferView_pimpl.C: compile fix
1142
1143 2003-08-15  André Pönitz  <poenitz@gmx.net>
1144
1145         * rowpainter.C: remove extra metrics calls
1146
1147         * lyxtext.h: merge the two constructors into a single one,
1148           pass reference to owner's par list
1149
1150         * BufferView_pimpl.C:
1151         * text.C:
1152         * text2.C: adjust
1153
1154 2003-08-15  André Pönitz  <poenitz@gmx.net>
1155
1156         * lyxrow_funcs.[Ch]:
1157         * lyxtext.h:
1158         * paragraph.h:
1159         * paragraph_funcs.C:
1160         * rowpainter.C:
1161         * text.C:
1162         * text2.C:
1163         * text3.C:
1164         * text_funcs.C: split LyXText::rowlist_ into individual
1165         Paragraph::rows_ chunks
1166
1167         * BufferView.[Ch]:
1168         * BufferView_pimpl.[Ch]:
1169         * lyxfind.C:
1170         * lyxtext.h:
1171         * text3.C: remove toggleSelection()
1172
1173 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1174
1175         * bufferlist.C: beautify two alerts (shorter text of buttons)
1176         * buffer.C: Remove redundant ' ' from message
1177         * tabular.h:
1178         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1179         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1180         rename VALIGN_CENTER to VALIGN_MIDDLE
1181
1182 2003-08-11  André Pönitz  <poenitz@gmx.net>
1183
1184         * lyxtext.h (getPar):
1185         * text.C: new function
1186
1187 2003-08-11  André Pönitz  <poenitz@gmx.net>
1188
1189         * Makefile.am:
1190         * tracer.[Ch]: remove unneeded files
1191
1192         * InsetList.[Ch]: remove resizeInsetsLyXText()
1193
1194         * lyxtext.h:
1195         * text.C:
1196         * text2.C:
1197         * text3.C: merge insertParagraphs() and appendParagraph()
1198         remove breakAgain(), update()
1199
1200         * BufferView_pimpl.[Ch]:
1201         * bufferview_funcs.[Ch]:
1202         * lyxfunc.C:
1203         * paragraph.[Ch]:
1204         * rowpainter.C:
1205         * tabular.C: adjust after text & InsetList changes.
1206
1207 2003-08-08  André Pönitz  <poenitz@gmx.net>
1208
1209         * text.C (insertChar, backspace): replace rowlist fiddling
1210         with rebreak of full par
1211
1212         * lyxtext.h:
1213         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1214         checkParagraph, updateInset): removed
1215
1216 2003-08-07  André Pönitz  <poenitz@gmx.net>
1217
1218         * paragraph.C:
1219         * text3.C: merge some LFUN handlers, remove dead code
1220
1221 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1222
1223         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1224
1225 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1226
1227         * text2.C (DEPM): fix part of bug 1255 and 1256
1228
1229 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1230
1231         * BufferView_pimpl.C (workAreaDispatch): change to use
1232         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1233         that are no mouse related.
1234
1235 2003-08-05  André Pönitz  <poenitz@gmx.net>
1236
1237         * BufferView.[Ch]:
1238         * BufferView_pimpl.[Ch]:
1239         * bufferview_funcs.C:
1240         * text2.C:
1241         * text3.C: rip out "deep update"
1242
1243         * textcursor.[Ch] (last_sel_cursor): remove unused member
1244
1245 2003-08-04  André Pönitz  <poenitz@gmx.net>
1246
1247         * BufferView.[Ch]:
1248         * BufferView_pimpl.[Ch]:
1249         * ParagraphParameters.C:
1250         * bufferview_funcs.C:
1251         * lyx_cb.C:
1252         * lyxfind.C:
1253         * lyxfunc.C:
1254         * text.C:
1255         * text2.C:
1256         * text3.C: replace "complicated" BufferView::update(...) calls with
1257         simpler ones.
1258
1259         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1260
1261 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1262
1263         * Makefile.am (lyx_SOURCES): add paper.h
1264
1265 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1266
1267         * Makefile.am: move things around so that both lyx-qt and
1268         lyx-xforms can be built (according to --with-frontend). Then lyx
1269         is a symbolic link to lyx-[firstfrontend]
1270
1271 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1272
1273         * Always use std::endl with lyxerr
1274
1275 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1276
1277         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1278
1279 2003-08-01  André Pönitz  <poenitz@gmx.net>
1280
1281         * BufferView.[Ch]:
1282         * BufferView_pimpl.[Ch]:
1283         * lyxfunc.C:
1284         * text3.C: merge BufferView::repaint() and BufferView::update()
1285
1286 2003-08-01  José Matos  <jamatos@lyx.org>
1287
1288         * buffer.[Ch]: file_format is no longer a buffer data element.
1289
1290 2003-08-01  André Pönitz  <poenitz@gmx.net>
1291
1292         * BufferView.C:
1293         * lyxtext.h:
1294         * text.C:
1295         * text2.C: make redoParagraph more independent of current cursor
1296
1297         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1298         * text.C:
1299         * text2.C: remove unneeded members
1300
1301 2003-07-30  André Pönitz  <poenitz@gmx.net>
1302
1303         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1304
1305         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1306           create a single function...
1307
1308         * paragraph_funcs.C (moveItem): ... here.
1309
1310         * text.C:
1311           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1312
1313 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1314
1315         * LColor.[Ch]: Add comment and greyedout logical colors.
1316
1317 2003-07-30  André Pönitz  <poenitz@gmx.net>
1318
1319         * tabular.C: don't use Assert too heavily. This crashes where it
1320           shouldn't
1321
1322 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1323
1324         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1325         is disabled (bug 1232)
1326
1327 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1328
1329         * factory.C: limited 'arg' scope
1330
1331 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1332
1333         * factory.C: fixed Note submenu issues
1334
1335 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1336
1337         * factory.C: submenu for Note/Comment/Greyedout
1338
1339 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1340
1341         * lyx_main.C (LyX):
1342         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1343
1344 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1345
1346         * LaTeXFeatures.C:
1347         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1348         greyedout. Patch provided by Jürgen Spitzmüller.
1349
1350 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1351
1352         * kbmap.C (read): fix error message when reading bind files
1353
1354 2003-07-29  Angus Leeming  <leeming@lyx.org>
1355
1356         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1357         certainly does not do what it purports to do. I am doing it, and
1358         us, a favour by killing it.
1359
1360 2003-07-28  José Matos  <jamatos@lyx.org>
1361
1362         * buffer.C (readBody, do_writeFile):
1363         * paragraph.C(readParagraph): \end_document replaces \the_end.
1364
1365 2003-07-29  André Pönitz  <poenitz@gmx.net>
1366
1367         * BufferView.[Ch]:
1368         * BufferView_pimpl.[Ch]:
1369         * lyxfunc.C:
1370         * text2.C:
1371         * text3.C:
1372         * textcursor.[Ch]: remove toggleToggle & Co
1373
1374 2003-07-28  José Matos  <jamatos@fep.up.pt>
1375
1376         * buffer.C (readParagraph):
1377         * params_func (readParToken, readParagraph):
1378         * paragraph.C (write): \layout -> \begin_layout.
1379
1380 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1381
1382         * lyxlex_pimpl.C (setFile): clean up slightly.
1383
1384         * bufferparams.h: add compressed var
1385
1386         * buffer_funcs.C (readFile): adjust for LyXLex change
1387         (newFile): ditto + simplify
1388
1389         * buffer.C (writeFile): handle writing of compressed files
1390
1391         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1392         Check if the file is compressed and set a bufferparm if so.
1393
1394         * Makefile.am (lyx_LDADD): remove explicit -lz
1395
1396 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1397
1398         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1399         makeDocBookFile): put the real LyX version in the first line of
1400         the file
1401
1402         * version.h:
1403         * version.C.in: remove lyx_docversion
1404
1405         * tabular.C (write_attribute): add a template-based version to
1406         write enums properly
1407
1408 2003-07-28  André Pönitz  <poenitz@gmx.net>
1409
1410         * lyxtext.h:
1411         * text.C:
1412         * text2.C:
1413         * text3.C: use doubles again for x-coordinates. They are needed.
1414
1415 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1416
1417         * messages.C (getLocaleDir): use lyx_localedir()
1418
1419         * lyxlex_pimpl.C (setFile): compress stuff
1420
1421         * buffer.C (writeFile): add some compression stuff
1422         (do_writeFile): new func, dont call expliti close... will this
1423         breake anything?
1424
1425         * Makefile.am (lyx_LDADD): add -lz
1426
1427 2003-07-28  José Matos  <jamatos@fep.up.pt>
1428
1429         * buffer.C: increment file format.
1430         * paragraph_funcs (readParagraph, readParToken):
1431         * paragraph.C (readParagraph): add \end_layout.
1432
1433 2003-07-27  Angus Leeming  <leeming@lyx.org>
1434
1435         * Makefile.am: remove special casing for configure-time setting of
1436         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1437
1438         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1439         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1440
1441 2003-07-26  André Pönitz  <poenitz@gmx.net>
1442
1443         * paragraph_func.[Ch]:
1444         * paragraph.C (realizeFont): inline it whereever it is used
1445
1446         * rowpainter.C:
1447         * text.C:
1448         * text2.C:
1449         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1450
1451
1452 2003-07-26  André Pönitz  <poenitz@gmx.net>
1453
1454         *       lyxtext.h:
1455         * text.C:
1456         * text2.C: get rid of LyXText::need_break_row
1457
1458 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1459
1460         * toc.[Ch]: put namespace toc inside namespace lyx
1461
1462         * MenuBackend.C (expandToc2): adjust for lyx::toc
1463         (expandToc): ditto
1464
1465         * lyxfunc.C (dispatch): adjust for lyx::find
1466
1467         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1468         lyx::find instead. Reorganize a bit.
1469         (LyXReplace): rename to replace
1470         (LyXFind): rename to find
1471
1472         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1473         (dispatch): ditto
1474
1475 2003-07-26  André Pönitz  <poenitz@gmx.net>
1476
1477         * text.C (setHeightOfRow): restrict scope of temporary variable
1478
1479         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1480           code (never has been used?)
1481
1482 2003-07-27  Asger Alstrup  <alstrup@local>
1483
1484         * text.C (fill): Optimise algorithm to exploit that we can reuse
1485         the LyXFont for many characters.
1486         (setHeightOfRow): Same thing.
1487         (rowBreakPoint): Same thing.
1488
1489 2003-07-26  Asger Alstrup  <alstrup@local>
1490
1491         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1492
1493         * text.C (singleWidth): Spurious font copying in hot-spot
1494         singleWidth avoided. Reorder tests for arabic for efficiency.
1495
1496         * text.C (fill): handle empty paragraphs better.
1497
1498 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1499
1500         * ispell.C:
1501         * encoding.h: add includes
1502
1503         * lyxrc.C: remove reading of bind files
1504
1505         * lyx_main.C (init): setup bindings and menus only if we have a
1506         gui.
1507
1508         * kbmap.C (read): new method. Do the actual reading of bind
1509         files.
1510
1511         * converter.C (dvipdfm_options):
1512         * bufferparams.C:
1513         * lyxrc.C (read):
1514         (output): adapt PAPER_* enums.
1515
1516         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1517
1518         * bufferparams.h: remove paper-related enums from there
1519
1520         * paper.h: New file. A trivial header file to hold paper-related
1521         enums. It should later expand to contain many paper-related
1522         horrors access.
1523
1524         * lyxrc.C: declare extern displayTranslator
1525
1526 2003-07-27  José Matos  <jamatos@fep.up.pt>
1527
1528         * tabular.[Ch] (linuxdoc): add support for tables and figures
1529         (linuxdoc).
1530
1531 2003-07-27  José Matos  <jamatos@fep.up.pt>
1532
1533         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1534         consistency in both functions.
1535         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1536
1537 2003-07-26  Asger Alstrup  <alstrup@local>
1538
1539         * rowpainter.C (paintRows): Change algorithm to work directly on
1540         the insets rather than asking every character in the document
1541         whether its an inset.
1542
1543 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1544
1545         * buffer.C (openFileWrite): factorize some code
1546
1547 2003-07-26  Angus Leeming  <leeming@lyx.org>
1548
1549         * lyx_cb.C:
1550         * lyx_main.[Ch]: replace occurances of system_tempdir with
1551         os::getTmpDir().
1552
1553 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1554
1555         * rename Inset to InsetOld
1556
1557 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1558
1559         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1560         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1561         which I think is a bit clearer. EDIT is gone, since it was
1562         premature optimisation, and broken for mathed anyway.
1563         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1564         with cursor positioning in insets as well (math insets still do not
1565         work, but that's a different story anyway.) It mysteriously
1566         crashes sometimes with undo in the first paragraph, but I'm fairly
1567         confident that this is a compiler bug.
1568
1569 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1570
1571         * paragraph.C (Paragraph): adjust for new clone return type
1572         (operator==): ditto
1573         (copyIntoMinibuffer): ditto
1574
1575 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1576
1577         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1578         by not having a special case, and always doing a full rebreak of
1579         the document after undo.
1580
1581 2003-07-23  Angus Leeming  <leeming@lyx.org>
1582
1583         * factory.C (createInset): InsetExternal::setParams now takes a
1584         Buffer const * arg.
1585
1586 2003-07-23  Angus Leeming  <leeming@lyx.org>
1587
1588         * factory.C (createInset): changed interface to the external and
1589         graphics mailers' string2params functions.
1590
1591 2003-07-23  Angus Leeming  <leeming@lyx.org>
1592
1593         * factory.C (createInset): pass a
1594         Buffer const * parameter to InsetExternalMailer's string2params.
1595
1596 2003-07-22  John Levon  <levon@movementarian.org>
1597
1598         * Thesaurus.h: include the right aiksaurus header
1599
1600 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1601
1602         * MenuBackend.C (expand): check menu shortcuts unconditionally
1603
1604 2003-07-21  Angus Leeming  <leeming@lyx.org>
1605
1606         * factory.C (createInset): pass a
1607         buffer_path parameter to InsetGraphicsMailer's string2params.
1608
1609 2003-07-21  Angus Leeming  <leeming@lyx.org>
1610
1611         * BufferView_pimpl.C (buffer):
1612         * buffer.C (d-tor):
1613         * lyx_main.C (LyX):
1614         * lyxfunc.C (dispatch):
1615         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1616         rather than the grfx shortcut.
1617
1618 2003-07-21  André Pönitz  <poenitz@gmx.net>
1619
1620         * rowpainter.C: remove unused variables
1621
1622         * tabular_funcs.C:
1623         * tabular_funcs.h: move to tabular.C
1624         * Makefile.am: adjust
1625
1626         * tabular.[Ch]: basic optical cleaning
1627
1628         * author.h: pass references, not values
1629
1630 2003-07-18  André Pönitz  <poenitz@gmx.net>
1631
1632         * lyxtext.h:
1633         * metricsinfo.C:
1634         * metricsinfo.h:
1635         * rowpainter.C:
1636         * text.C:
1637         * text2.C:
1638         * text3.C: two-phase drawing for InsetText and InsetTabular
1639         some float -> int changes.
1640
1641 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1642
1643         * lyx_main.C: fix the fix
1644
1645 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1646
1647         * lyx_main.C: fix a crash in batch mode if no files specified
1648         * converter.C: ws
1649
1650 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1651
1652         * format.[Ch] (papersize): moved to BufferParams
1653         * converter.[Ch] (dvips_options): moved to BufferParams
1654         (dvipdfm_options): moved to anon namespace
1655         * bufferparams.[Ch]: added above functions.
1656
1657 2003-07-17  André Pönitz  <poenitz@gmx.net>
1658
1659         * lyxtext.h:
1660         * rowpainter.C:
1661         * text2.C: don't call inset->update() anymore
1662
1663         * metricsinfo.[Ch]: add convenience constructor
1664
1665 2003-07-16  André Pönitz  <poenitz@gmx.net>
1666
1667         * lyxcursor.[Ch]:
1668         * lyxfunc.[Ch]:
1669         * text.C:
1670         * text2.C: replace the LyXCursor::irow_ member with
1671          on-demand computation of the value
1672
1673 2003-07-16  John Levon  <levon@movementarian.org>
1674
1675         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1676
1677 2003-07-15  André Pönitz  <poenitz@gmx.net>
1678
1679         * text.C:
1680         * text2.C: remove no more needed refresh_row
1681
1682 2003-07-15  André Pönitz  <poenitz@gmx.net>
1683
1684         * lyxtext.h:
1685         * rowpainter.C:
1686         * text2.C:
1687         * text3.C: refresh_status tristate -> need_update bool
1688
1689 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1690
1691         * lyxtext.h (init): remove reinit argument (act as if always true)
1692         * text2.C: adjust to that
1693
1694 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1695
1696         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1697         * text3.C: use it to delete selections in some cases
1698         (bugs 441, 673, 702, 954).
1699
1700 2003-07-14  André Pönitz  <poenitz@gmx.net>
1701
1702         * rowpainter.[Ch]: reduce interface
1703
1704 2003-07-14  André Pönitz  <poenitz@gmx.net>
1705
1706         * BufferView_pimpl.C:
1707         * text2.C: adjust after removing unused BufferView * argument
1708
1709 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1710
1711         * text2.C (init): fix a crash fired on resize
1712
1713 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1714
1715         * buffer.[Ch]: added new closing signal
1716         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1717         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1718         BufferView::Pimpl via the closing the signal
1719
1720 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1721
1722         * buffer.[Ch]: take out all bv-related from buffer
1723         * BufferView.C:
1724         * BufferView_pimpl.[Ch]: connect to new signals
1725         * CutAndPaste.C: removed useless asserts
1726         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1727         * lyxvc.[Ch]:
1728         * vc-backend.[Ch]:
1729         * lyxfunc.C: moved view-related funciontality from vc here
1730         * paragraph.C: removed outdated comments
1731         * text.C: ws
1732
1733 2003-07-10  André Pönitz  <poenitz@gmx.net>
1734
1735         * BufferView_pimpl.C:
1736         * tabular.h:
1737         * tabular_funcs.C:
1738         * text.C:
1739         * text2.C: remove InsetText::InnerCache, clean up consequences
1740
1741 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1742
1743         * ispell.C: fix two typos in error messages
1744
1745 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1746
1747         * Extend Note inset to other forms of annotation like Comment
1748         and Greyedout. Right button click gives dialog.
1749
1750         Files modified or added (+):
1751
1752         * insetnote.[Ch]
1753         * FormNote.[Ch]      +
1754         * ControlNote.[Ch]   +
1755         * form_note.fd       +
1756         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1757         frontends/controllers
1758         * xforms/Dialogs.C
1759         * factory.C
1760
1761 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1762
1763         * aspell.C: add missing namespace lyx::support
1764
1765 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1766
1767         * BufferView.[Ch] (newFile): Add
1768         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1769         * LaTeX.[Ch] (message): added this signal and use it
1770         * buffer.[Ch] (busy, message): added these signals and use them
1771         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1772         * converter.C:
1773         * exporter.C:
1774         * format.C:
1775         * importer.C: use buffer signals instead of direct bv calling
1776         * lyx_cb.[Ch] (ShowMessage): removed
1777         * lyx_main.C:
1778         * lyxfunc.C:
1779         * paragraph_funcs.C:
1780         * text2.C: use buffer signals
1781
1782 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1783
1784         * introduce namespace lyx::graphics
1785
1786 2003-07-02  André Pönitz  <poenitz@gmx.net>
1787
1788         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1789
1790 2003-07-01  André Pönitz  <poenitz@gmx.net>
1791
1792         * text.C:
1793         * text2.C:
1794         * text3.C:
1795         * text_funcs.[Ch]:
1796         * textcursor.h:
1797         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1798           text*.C to text_func.C
1799
1800 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1801
1802         * introduce namespace lyx::support
1803
1804 2003-06-30  André Pönitz  <poenitz@gmx.net>
1805
1806         * Chktex.C:
1807         * funcrequest.C:
1808         * lyxtext.h:
1809         * text.C: re-enable --with-included-string
1810
1811 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1812
1813         * textcursor.C: add <config.h>
1814
1815         * text.C (getWord): remove const from word_location arg
1816
1817         * lyxvc.C (getLogFile): fix const type order
1818
1819         * lyxtext.h: remove const from word_location arg, add arg name
1820
1821         * lyxlayout.h: currect type on labeltype.
1822
1823         * importer.C: correct \file
1824
1825         * converter.C (intToFormat): use std:: on ret val, ws changes
1826
1827         * bufferlist.h: correct \file
1828
1829         * buffer.C (makeLinuxDocFile): fix const type order
1830         (makeDocBookFile): ditto
1831         (fillWithBibKeys): use std:: on stdlib args.
1832
1833         * CutAndPaste.C: fix authors.
1834         (availableSelections): use std:: on return vector
1835
1836 2003-06-27  André Pönitz  <poenitz@gmx.net>
1837
1838         * BufferView_pimpl.C:
1839         * bufferview_funcs.C:
1840         * lyxcursor.C:
1841         * lyxcursor.h:
1842         * lyxfunc.C:
1843         * lyxtext.h:
1844         * rowpainter.C:
1845         * text.C:
1846         * text2.C:
1847         * text3.C: remove LyXCursor::row_ member
1848
1849         * lyxtext.h:
1850         * text.C: rename fullRebreak() to partialRebreak() and implement
1851           a fullRebreak() that really bereks fully
1852
1853         * textcursor.h: new struct for cursor-related data
1854
1855 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1856
1857         * lyx_main.C (LyX): get full path of document loaded on the
1858         command line
1859
1860 2003-06-26  André Pönitz  <poenitz@gmx.net>
1861
1862         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1863           remove unused/broken operator>,<,>=.
1864
1865         *       text.C: remove only use of broken operator<= in an Assert().
1866
1867 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1868
1869         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1870         moved errorlist_.clear to showErrorList
1871
1872 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1873
1874         * converter.C (scanLog, runLaTeX):
1875         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1876         move the bv->showErrorList call to the callers
1877         * lyxfunc.C: i.e. here...
1878         * text2.C: and here
1879         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1880         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1881         namespace, the second to...
1882         * buffer_funcs (BufferFormat, parseErrors): added
1883         * errorlist.C (ErrorList(TeXErrors const &)): removed
1884
1885 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1886
1887         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1888
1889 2003-06-24  "Garst R. Reese" <reese@isn.net>
1890
1891         * debug.C: fix typo
1892
1893 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1894
1895         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1896
1897         * version.C.in: change docversion to 1.4
1898
1899 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1900
1901         * buffer.C: fix a bug just introduced
1902
1903 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1904
1905         * buffer.[Ch]: added the parseError signal and use it, removed
1906         sgmlError
1907         * BufferView.[Ch] (addError): moved to ...
1908         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1909         to the Buffer::parseError signal to catch (guess what) parse errors
1910         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1911
1912 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1913
1914         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1915         ability to create a buffer and to return an existing one from
1916         the list. Moved these functions to...
1917         * buffer_funcs.[Ch]: added
1918         * BufferView.[Ch] (loadLyXFile): added
1919         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1920         job removed from bufferlist::loadLyXFile.
1921         * buffer.C (setReadOnly): make it work without view
1922         (i.e added an if (users))
1923
1924 2003-06-19  Angus Leeming  <leeming@lyx.org>
1925
1926         * lfuns.h:
1927         * LyXAction.C (init):
1928         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1929         with LFUN_DIALOG_SHOW <name> <data>.
1930
1931 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1932
1933         * CutAndPaste.C (availableSelections): small compilation fix for
1934         ancient (gcc 2.9x) compilers
1935
1936 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1937
1938         * text3.C (cursorNext): add tmp var
1939
1940         * text2.C (updateCounters): for function calling out of for clause
1941         (replaceSelectionWithString): ditto
1942         (insertStringAsParagraphs): ditto
1943         (getColumnNearX): add tmp var
1944         (setCursorFromCoordinates): add tmp var
1945         (cursorDownParagraph): add tmp var
1946         (deleteEmptyParagraphMechanism): add tmp var
1947
1948         * text.C (insertChar): add tmp var
1949
1950         * rowpainter.C (paintDepthBar): add tmp var
1951
1952         * CutAndPaste.C (availableSelections): potentially check all
1953         paragraphs in a cut to fill the shown strings.
1954
1955 2003-06-18  André Pönitz  <poenitz@gmx.net>
1956
1957         * kbmap.[Ch]: use vector<> instead of list<>
1958
1959 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1960
1961         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1962         pasteSelection with index
1963
1964         * text2.C (pasteSelection): modify, call pasteSelection with index
1965
1966         * paragraph.C (asString): reimplement version with no interval to
1967         call the one with interval.
1968
1969         * lyxtext.h: add index arg to pasteSelection
1970
1971         * MenuBackend.C (MenuItem): handle PasteRecent
1972         (Menu::read::Menutags): add md_pasterecent
1973         (read): handle it
1974         (expandPasteRecent): new function
1975         (expand): use it
1976
1977         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1978
1979         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1980         the limited stack
1981         (availableSelections): new function
1982
1983 2003-06-17  Angus Leeming  <leeming@lyx.org>
1984
1985         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1986
1987 2003-06-17  Angus Leeming  <leeming@lyx.org>
1988
1989         * lfuns.h:
1990         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1991
1992         * lyxfunc.C (dispatch): invoke it.
1993
1994 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1995
1996         * iterators.C (operator++, ParPosition): reintroduce some
1997         const_cast for the benefit of older compilers.
1998
1999 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2000
2001         * text3.C (dispatch): do not modify clipboard when doing
2002         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2003         LFUN_DELETE_SKIP on a selection selection
2004
2005 2003-06-16  André Pönitz  <poenitz@gmx.net>
2006
2007         * BufferView.C:
2008         * buffer.C:
2009         * buffer.h:
2010         * paragraph.C:
2011         * tabular.[Ch]: IU of clone() and getLabelList();
2012
2013 2003-06-13  André Pönitz  <poenitz@gmx.net>
2014
2015         * tabular.h: compactification
2016
2017 2003-06-12  André Pönitz  <poenitz@gmx.net>
2018
2019         * tabular.C:
2020         * tabular.h:
2021         * tabular_funcs.h: some renaming plus whitespace
2022
2023 2003-06-12  André Pönitz  <poenitz@gmx.net>
2024
2025         * BufferView.C:
2026         * BufferView_pimpl.C:
2027         * CutAndPaste.C:
2028         * buffer.C:
2029         * iterators.[Ch]:
2030         * lyxfunc.C:
2031         * text.C:
2032         * toc.C: Return a Paragraph & for ParIterator::operator*()
2033
2034 2003-06-11  John Levon  <levon@movementarian.org>
2035
2036         * lyx_main.C:
2037         * ToolbarBackend.h:
2038         * ToolbarBackend.C: add "Toolbars" section and
2039         put the flags there
2040
2041 2003-06-10  Angus Leeming  <leeming@lyx.org>
2042
2043         * lfuns.h:
2044         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2045
2046         * lyxfunc.C (dispatch): invoke it.
2047
2048 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2049
2050         * main.C: protect <ios> with HAVE_IOS
2051         (main): protect sync_with_stdio with HAVE_IOS
2052
2053 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2054
2055         * text2.C (cutSelection): adjust
2056         (pasteSelection): adjust
2057
2058         * messages.C: handle get of empty string
2059
2060         * main.C (main): use sync_with_stdio(false)
2061
2062         * lyxfunc.C (dispatch): adjust
2063
2064         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2065         (WriteAs): remove unneeded BufferView arg.
2066
2067         * bufferparams.h: use correct types on papersize, papersize2 and
2068         paperpackage.
2069
2070         * bufferparams.C (readToken): adjust for type
2071         (writeLaTeX): add missing cases to switch.
2072
2073         * bufferlist.C (quitWriteBuffer): adjust
2074         (close): adjust
2075
2076         * buffer.C (asciiParagraph): remove some commented code.
2077
2078         * CutAndPaste.C: remove current_view extern variable.
2079         (cutSelection): add BufferParams arg.
2080         (eraseSelection): add BufferParams arg.
2081         (pasteSelection): add Buffer const & arg
2082
2083 2003-06-07  John Levon  <levon@movementarian.org>
2084
2085         * buffer.C:
2086         * paragraph_funcs.C:
2087         * paragraph_pimpl.C:
2088         * text.C:
2089         * text2.C:
2090         * paragraph.h:
2091         * paragraph.C: allow InsetERT to freely space lines,
2092         and some consolidation of code
2093
2094 2003-06-06  José Matos  <jamatos@fep.up.pt>
2095
2096         * buffer.C (makeDocBookFile): fix bug #821
2097
2098 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2099
2100         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2101
2102 2003-06-04  Angus Leeming  <leeming@lyx.org>
2103
2104         * buffer.C: bump format to 224.
2105
2106 2003-06-05  André Pönitz  <poenitz@gmx.net>
2107
2108         * text2.C (redoParagraphs): remove two const_cast<>
2109
2110 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2111
2112         * ParagraphList.h: remove last remnants of NO_STD_LIST
2113
2114 2003-06-03  Angus Leeming  <leeming@lyx.org>
2115
2116         * factory.C (createInset): small change to the way InsetExternal's params
2117         are set.
2118
2119 2003-06-04  André Pönitz  <poenitz@gmx.net>
2120
2121         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2122
2123         * paragraph_pimpl.h:
2124         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2125
2126         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2127
2128         * undo_funcs.C: make some simple cases of undo work again
2129
2130 2003-06-03  John Levon  <levon@movementarian.org>
2131
2132         * ispell.C: HPUX doesn't have sys/select.h
2133         (from Albert Chin)
2134
2135 2003-06-03  John Levon  <levon@movementarian.org>
2136
2137         * CutAndPaste.C: update tabular and include inset
2138         buffer references
2139
2140         * buffer.h:
2141         * paragraph.h:
2142         * paragraph.C: remove owningBuffer(), don't pass Buffer
2143         to clone()
2144
2145         * factory.C: insetGraphicsParams changed
2146
2147 2003-06-02  John Levon  <levon@movementarian.org>
2148
2149         * LyXAction.C:
2150         * factory.C:
2151         * lfuns.h:
2152         * lyxfunc.C:
2153         * text3.C: remove insetparent
2154
2155 2003-06-02  John Levon  <levon@movementarian.org>
2156
2157         * buffer.h:
2158         * buffer.C: fix inset_iterator.end(), move out of line
2159         (bug 1149)
2160
2161 2003-06-01  John Levon  <levon@movementarian.org>
2162
2163         * text3.C: use a proper cut/paste when doing inset
2164         insert (from Jürgen Spitzmüller)
2165
2166 2003-06-01  John Levon  <levon@movementarian.org>
2167
2168         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2169
2170 2003-05-30  André Pönitz  <poenitz@gmx.net>
2171
2172         * rowpainter.C: unify second drawing phase
2173
2174 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2175
2176         * trans_mgr.C: remove one case of current_view
2177
2178         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2179
2180         * paragraph_funcs.h: remove paragraph.h include
2181
2182         * paragraph.h: delete NO_STD_LIST stuff
2183
2184         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2185
2186         * buffer.h: remove paragraph.h include
2187
2188         * ParagraphList.C: delete file
2189
2190         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2191
2192         * toc.C (getTocList): adjust
2193
2194         * paragraph_pimpl.C (validate): adjust
2195
2196         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2197
2198         * paragraph.C (Paragraph): adjust
2199         (getPositionOfInset): use const_iterator, adjust
2200         (bibitem): use const_iterator, adjust
2201         (setInsetOwner): adjust
2202
2203         * iterators.C (operator++): adjust
2204
2205         * InsetList.[Ch]: Replace selfmade iterator with standard
2206         vector::iterator also introduce const_iterator. Remove getPos,
2207         getInset and setInset from InsetTable. Adjust accordingly.
2208
2209         * BufferView.C (lockInset): adjust
2210         (ChangeInsets): adjust
2211
2212         * tabular.[Ch]: delete commented same_id functions
2213
2214 2003-05-28  John Levon  <levon@movementarian.org>
2215
2216         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2217
2218 2003-05-28  André Pönitz  <poenitz@gmx.net>
2219
2220         * metricsinfo.[Ch]: remove 'fullredraw' member
2221
2222 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2223
2224         * lyxtextclass.C (operator): remove caching.
2225
2226 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2227
2228         * text3.C: adjust
2229
2230         * text2.C (cursorBottom): adjust
2231         (setCounter): use ParagraphList::find, adjust
2232
2233         * text.C (workWidth): use ParagraphList::find, adjust
2234
2235         * lyxcursor.C (LyXCursor): adjust
2236
2237         * buffer.C (inset_iterator): adjust
2238
2239         * ParagraphList.h: make iterator(value_type) private, make
2240         ParagraphList a friend of iterator.
2241
2242         * ParagraphList.C (find): new function
2243
2244         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2245
2246 2003-05-27  André Pönitz  <poenitz@gmx.net>
2247
2248         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2249
2250 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2251
2252         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2253
2254 2003-05-26  John Levon  <levon@movementarian.org>
2255
2256         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2257
2258 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2259
2260         * remove same_id from function signatures, adjust.
2261
2262 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2263
2264         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2265
2266         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2267
2268         * paragraph.C (Paragraph): get rid of same_ids parameter
2269
2270         * ParagraphList.C (insert): adjust
2271         (push_back): adjust
2272
2273 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2274
2275         * paragraph_funcs.C (breakParagraph): adjust
2276         (breakParagraphConservative): adjust
2277
2278         * buffer.C (readParagraph): adjust
2279
2280         * ParagraphList.C (insert): take a reference instead of a pointer
2281         (insert): adjust
2282
2283         * paragraph.[Ch] (id): new function
2284
2285         * bufferlist.C (newFile): adjust
2286
2287         * ParagraphList.C (ParagraphList): adjust
2288         (assign): adjust
2289         (push_back): take a reference instead of a pointer.
2290
2291         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2292
2293         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2294         instead.
2295
2296         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2297         set else use old code.
2298
2299         * ParagraphList.C: remove all NO_NEXT code and only compile this
2300         code of NO_STD_LIST is set.
2301
2302 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2303
2304         * BufferView_pimpl.C:
2305         * TextCache.C:
2306         * TextCache.h:
2307         * bufferlist.C:
2308         * errorlist.h:
2309         * format.C:
2310         * format.h:
2311         * graph.C:
2312         * lyxfunc.C:
2313         * lyxrc.C:
2314         * graphics/GraphicsConverter.C:
2315         * graphics/PreviewLoader.C: header adjustment
2316
2317 2003-05-23  Angus Leeming  <leeming@lyx.org>
2318
2319         * LaTeXFeatures.[Ch] (useBabel): new method.
2320         * bufferparams.C (writeLaTeX): use it.
2321
2322 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2323
2324         * ParagraphList.h (set): remove unused function.
2325
2326 2003-05-23  André Pönitz  <poenitz@gmx.net>
2327
2328         * BufferView.C:
2329         * BufferView_pimpl.C:
2330         * buffer.C:
2331         * buffer.h:
2332         * lyxfunc.C:
2333         * undo_funcs.C: setUndo reworked
2334
2335         * iterators.[Ch]: add access to topmost ParagraphList
2336
2337         * lyxtext.[Ch] (workWidth): add a const
2338
2339 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2340
2341         * texrow.[Ch] (increasePos): remove function
2342         * exporter.C (export): removed unused var and outdated comment
2343
2344 2003-05-23  Angus Leeming  <leeming@lyx.org>
2345
2346         * latexrunparams.h: rename fragile as moving_arg.
2347         * paragraph.C (simpleTeXOnePar): ditto.
2348         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2349
2350 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2351
2352         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2353         (createUndo): ditto
2354         (textUndoOrRedo): comment out a currently unused var.
2355
2356         * paragraph.h (NO_NEXT): enable NO_NEXT
2357
2358         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2359
2360         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2361
2362         * exporter.C (Export): adjust for removeAutoInsets removal.
2363
2364         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2365
2366         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2367
2368         * BufferView.[Ch] (removeAutoInsets): delete function
2369
2370 2003-05-22  Angus Leeming  <leeming@lyx.org>
2371
2372         * latexrunparams.h: add a free_spacing variable.
2373
2374         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2375         to pass moving_arg, as the data is stored in runparams.fragile.
2376
2377         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2378         to Inset::latexOptional or to simpleTeXOnePar.
2379
2380         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2381         free_spacing arg to Inset::latexOptional.
2382
2383         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2384         free_spacing arg.
2385
2386 2003-05-22  Angus Leeming  <leeming@lyx.org>
2387
2388         * latexrunparams.h: add fragile and use_babel variables.
2389
2390         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2391         * buffer.C (makeLaTeXFile): store this returned value in
2392         runparams.use_babel, thus passing it to the inset::latex methods.
2393
2394         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2395         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2396
2397         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2398         longer has a fragile arg, as it is stored in runparams.fragile.
2399
2400         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2401         moving_arg parameter as the data is stored in runparams.fragile.
2402
2403         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2404         a fragile parameter as the data is stored in runparams.fragile.
2405
2406 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2407
2408         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2409
2410 2003-05-22  Angus Leeming  <leeming@lyx.org>
2411
2412         * latexrunparams.h: add a 'bool nice' which defaults to false.
2413
2414         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2415         now encapsulated within runparams.
2416
2417         * bufferlist.C (updateIncludedTeXfiles):
2418         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2419
2420 2003-05-22  Angus Leeming  <leeming@lyx.org>
2421
2422         * latexrunparams.h: new file containing struct LatexRunParams.
2423         * Makefile.am: add new file.
2424
2425         * LaTeX.[Ch] (c-tor, run):
2426         * buffer.[Ch] (makeLaTeXFile):
2427         * bufferlist.[Ch] (updateIncludedTeXfiles):
2428         * converter.C (convert, scanLog):
2429         * converter.[Ch] (runLaTeX):
2430         * exporter.C (Export):
2431         * paragraph.[Ch] (simpleTeXOnePar):
2432         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2433         * paragraph_funcs.[Ch] (latexParagraphs):
2434         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2435         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2436         pass around a LatexRunParams parameter.
2437
2438 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2439
2440         * paragraph.[Ch]: remove unused constructor
2441
2442         * ParagraphList.C (erase): new function, taking two iterators
2443
2444 2003-05-22  André Pönitz  <poenitz@gmx.net>
2445
2446         * undo_funcs.C: remove duplicated code
2447
2448         * iterator.[Ch]: operator=
2449
2450 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2451
2452         * tabular.C (SetMultiColumn): ws changes
2453
2454         * rowpainter.C (paintFirst): get rid of a ->previous
2455
2456         * lyx_cb.C (getPossibleLabel): parlist simplification
2457
2458         * BufferView.C (ChangeInsets): simplify slightly.
2459
2460 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2461
2462         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2463         * lfuns.h: new LFUN_SPACE
2464         * lyxfunc.C: protected space has a new lfun
2465         * paragraph_funcs.C: read new space insets
2466         * text3.C:
2467         * factory.C: handle new space insets
2468
2469 2003-05-22  André Pönitz  <poenitz@gmx.net>
2470
2471         * BufferView.C:
2472         * BufferView_pimpl.C:
2473         * buffer.[Ch]:
2474         * lyxfunc.C:
2475         * undo_funcs.C: return a ParIterator from getParFromID.
2476
2477         * iterators.[Ch]: add two const's
2478
2479 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2480
2481         * toc.C (getTocList): adjust
2482
2483         * iterators.[Ch]: rework for parlist
2484
2485         * buffer.C (par_iterator_begin): adjust
2486         (par_iterator_end): adjust
2487
2488         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2489
2490         * BufferView.C (removeAutoInsets): adjust
2491         (ChangeInsets): adjust
2492
2493 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2494
2495         * text.C (top_y): fix bug 1110
2496
2497 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2498
2499         * errorlist.[Ch]: added
2500         * buffer.C:
2501         * BufferView.[Ch]:
2502         * BufferView_pimpl.C:
2503         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2504         instead
2505
2506 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2507
2508         * Makefile.am: ensure that lyx is relinked upon changes to the
2509         various "convenience" libs.
2510
2511 2003-05-20  Angus Leeming  <leeming@lyx.org>
2512
2513         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2514         files are compiled in alphabetical order again.
2515
2516         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2517
2518 2003-05-19  Angus Leeming  <leeming@lyx.org>
2519
2520         * gettext.[Ch]: remove "char const * _(char const *)".
2521
2522 2003-05-19  André Pönitz  <poenitz@gmx.net>
2523
2524         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2525
2526         * Makefile.am:
2527         * BufferView.C:
2528         * DepTable.h:
2529         * LaTeXFeatures.C:
2530         * buffer.C:
2531         * lyxfont.C:
2532         * lyxlex.h:
2533         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2534
2535 2003-05-19  André Pönitz  <poenitz@gmx.net>
2536
2537         * buffer.C:
2538         * lyxlayout.[Ch]:
2539         * lyxtextclass.[Ch]:
2540         * paragraph.C:
2541         * paragraph_funcs.[Ch]:
2542         * text2.C:
2543         * text3.C: more insetenv work
2544
2545 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2546
2547         * ParagraphParameters.C (params2string): small bug fixed
2548
2549 2003-05-16  André Pönitz  <poenitz@gmx.net>
2550
2551         * debug.C:
2552         * bufferview_funcs.C: patch from Kornel Benko to prevent
2553           crash when _(...) is called twice in a statement
2554
2555 2003-05-16  André Pönitz  <poenitz@gmx.net>
2556
2557         * BufferView.C:
2558         * lyxfunc.C:
2559         * text.C:
2560         * text2.C:
2561         * text3.C:
2562         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2563
2564 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2565
2566         * lyx_main.C (init): remove spurious static_cast
2567
2568 2003-05-14  André Pönitz  <poenitz@gmx.net>
2569
2570         * BufferView.C: fix format string
2571
2572 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2573
2574         * BufferView.[Ch] (insertErrors): removed
2575         * BufferView.[Ch] (showErrorList): added
2576         * buffer.C (runChkTeX):
2577         * converter.C (scanLog): call showErrorList instead of inserterrors
2578
2579 2003-05-13  André Pönitz  <poenitz@gmx.net>
2580
2581         * BufferView_pimpl.C:
2582         * buffer.C:
2583         * bufferview_func.C:
2584         * MenuBackend.C:
2585         * lyxfunc.C:
2586         * lyxrc.C:
2587         * tex-accent.C:
2588         * text3.C:
2589         * toc.C:
2590         * tabular_funcs.h: tostr() from its own header
2591
2592         * ParagraphParameters.C:
2593         * ToolbarBackend.C:
2594         * bufferparams.C:
2595         * format.C:
2596         * lyxlex_pimpl.C:
2597         * text3.C: STRCONV()
2598
2599 2003-05-12  André Pönitz  <poenitz@gmx.net>
2600
2601         * BufferView.C:
2602         * BufferView_pimpl.C:
2603         * CutAndPaste.C:
2604         * LaTeX.C:
2605         * LaTeXFeatures.C:
2606         * ParagraphParameters.C:
2607         * buffer.C:
2608         * bufferlist.C:
2609         * bufferparams.C:
2610         * bufferview_funcs.C:
2611         * converter.C:
2612         * counters.C:
2613         * debug.C:
2614         * exporter.C:
2615         * format.C:
2616         * importer.C:
2617         * lyx_cb.C:
2618         * lyx_main.C:
2619         * lyxfont.C:
2620         * lyxfunc.C:
2621         * lyxvc.C:
2622         * paragraph.C:
2623         * paragraph_funcs.C:
2624         * tabular.C:
2625         * tabular_funcs.C:
2626         * text2.C:
2627         * text3.C:  boost::format -> bformat  all over the place
2628
2629
2630 2003-05-09  André Pönitz  <poenitz@gmx.net>
2631
2632         * LColor.[Ch]: Pimpl the #include <map> away
2633
2634 2003-05-09  John Levon  <levon@movementarian.org>
2635
2636         * bufferlist.C: never remove emergency saves
2637
2638 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2639
2640         * Makefile.am: better lib building
2641
2642 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2643
2644         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2645         instead.
2646         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2647         (simpleTeXSpecialChars): adjust
2648         (simpleTeXSpecialChars): adjust
2649         * paragraph.C (simpleTeXOnePar): adjust
2650         * buffer.C (makeLaTeXFile): adjust
2651
2652         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2653
2654         * text2.C (changeDepth): parlist cleanup
2655         (getColumnNearX): ditto
2656
2657         * rowpainter.C (getLabelFont): parlist cleanup
2658
2659         * bufferlist.C (newFile): parlist cleanup
2660
2661         * CutAndPaste.C (eraseSelection): parlist cleanup
2662
2663         * BufferView_pimpl.C (trackChanges): parlist cleanup
2664         (dispatch): ditto
2665
2666         * BufferView.C (lockInset): parlist cleanup.
2667         (ChangeInsets): ditto
2668
2669 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2670
2671         * CutAndPaste.h: Update file header.
2672
2673         * CutAndPaste.C: Update file header.
2674         Store the parts cut out of the Document in a limited_stack.
2675         (copySelection): adjust
2676         (pasteSelection): new function, takes the index in the limited stack.
2677         (nrOfParagraphs): adjust
2678         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2679         simplify error inset insertion.
2680         (checkPastePossible): adjust
2681
2682 2003-05-06  John Levon  <levon@movementarian.org>
2683
2684         * text2.C: don't cast wrap inset to float
2685
2686 2003-05-05  André Pönitz  <poenitz@gmx.net>
2687
2688         * iterator.C:
2689         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2690
2691         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2692           few naked Paragraph *.
2693
2694 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2695
2696         * bufferparams.C: Output warning if a document with missing
2697         TeX document class is loaded
2698         * exporter.C: Disable TeX exports if the document class is missing
2699         * lyxtextclass.C:
2700         * lyxtextclass.h:
2701         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2702         isTeXClassAvailable()
2703
2704 2003-05-03  John Levon  <levon@movementarian.org>
2705
2706         * BufferView.h:
2707         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2708         explicit cursor show/hide
2709
2710         * BufferView_pimpl.h:
2711         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2712         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2713
2714         * lyxfunc.C: hide cursor before dispatching.
2715
2716         * lyx_cb.C:
2717         * lyxfind.C:
2718         * text.C:
2719         * text3.C: remove explicit cursor hides
2720
2721 2003-05-02  André Pönitz  <poenitz@gmx.net>
2722
2723         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2724
2725         * undo_funcs.C:
2726         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2727           linked lists
2728
2729         * text2.C: tiny whitespace
2730
2731 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2732
2733         * undo_funcs.C: almost only ws changes.
2734
2735         * ParagraphList.C (splice): just return if pl is empty.
2736
2737 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2738
2739         * ParagraphList.C (splice): new function.
2740
2741         * CutAndPaste.C (pasteSelection): use it
2742
2743 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2744
2745         * CutAndPaste.C (pasteSelection): remove the last next and
2746         previous from this file.
2747
2748 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2749
2750         * CutAndPaste.C (pasteSelection): more clean up, user proper
2751         ParagraphList functions for pasteing.
2752
2753         * ParagraphList.C (insert): new function, three arg insert
2754
2755 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2756
2757         * ParagraphList.C (insert): new function, three arg insert
2758
2759         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2760         not on paragraphs.
2761
2762 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2763
2764         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2765
2766 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2767
2768         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2769
2770 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2771
2772         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2773         (copySelection): clean up a bit.
2774         (pasteSelection): use make_pair
2775
2776         * ParagraphList.C (ParagraphList): implement copy constructor
2777         (operator=): implement, base on copy constructor.
2778         (assign): new func
2779
2780         * paragraph.C (erase): return a bool
2781
2782         * paragraph_pimpl.C (erasePos): remove function, move contents...
2783         (erase): ... here. Return a bool.
2784         (erase): call erase instead of erasePos.
2785
2786 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2787
2788         * ParagraphList.h: define PitPosPair
2789         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2790         ParagraphList, fix a bug on pasting multiple pars
2791         * text2.C: change interface to C&P
2792
2793 2003-04-30  André Pönitz  <poenitz@gmx.net>
2794
2795         * undo_func.C: revert part of yesterday's patch 2
2796
2797 2003-04-30  John Levon  <levon@movementarian.org>
2798
2799         * LColor.C: s/tabular/table/
2800
2801 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2802
2803         * text3.C (dispatch): do not convert iterator -> pointer
2804         * undo_funcs.C (setCursorParUndo): ditto
2805         * text_funcs.C (transposeChars): ditto
2806
2807         * text2.C (setLayout): ws changes only
2808
2809         * text.C (breakParagraph): do not convert iterator -> pointer
2810         (insertChar): ditto
2811         (acceptChange): ditto
2812         (rejectChange): ditto
2813         (changeCase): ditto
2814         (Delete): ditto
2815         (backspace): ditto
2816
2817         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2818         pointer
2819
2820 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2821
2822         * text3.C (gotoInset): YABG (yet another bad getChar)
2823
2824 2003-04-29  André Pönitz  <poenitz@gmx.net>
2825
2826         * paragraph.h: make operator= private unimplemented as long as
2827           it is unusable
2828
2829         * ParagraphList.C: whitespace
2830
2831         * paragraph.[Ch]:
2832         * paragraph_pimpl.[Ch]:
2833         * paragraph_funcs.C:
2834         * CutAndPaste.C:
2835         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2836
2837         * text2.C:
2838           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2839
2840 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2841
2842         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2843         * paragraph.[Ch] (erase):
2844         * paragraph_pimpl.[Ch] (erase): change return type and value
2845         * text2.C (cutSelection): some rework
2846
2847 2003-04-28  John Levon  <levon@movementarian.org>
2848
2849         * bufferlist.C: changes for unsaved changes dialog
2850
2851 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2852
2853         * bufferlist.C (newFile): set language (messages_) for new
2854         documents also.
2855
2856         * buffer.C (readFile): ws changes only.
2857
2858 2003-04-28  André Pönitz  <poenitz@gmx.net>
2859
2860         * undo_funcs.C:
2861         * lyxfunc.C:
2862         * buffer.[Ch]:
2863         * BufferView_pimpl.C:
2864         * BufferView.C: getParFromID related ParagraphList::iterator changes
2865
2866 2003-04-28  André Pönitz  <poenitz@gmx.net>
2867
2868         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2869           Changes
2870
2871 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * messages.C: remove one more localedir class variable.
2874
2875 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2876
2877         * messages.C (getLocaleDir): singleton generation function
2878         (Pimpl): use it.
2879         (Messages): add a default constructor.
2880
2881         * main.C (main): do not setup localedir here, do not call
2882         gettext_init.
2883
2884         * gettext.C (_): use it.
2885         (gettext_init): delete funciton
2886
2887 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2888
2889         * gettext.C (getLyXMessages): new singleton generating function.
2890
2891         * buffer.C (updateDocLang): adjust
2892
2893         * Makefile.am (messages.o): add target
2894         (main.o): remove target
2895
2896 2003-04-27  John Levon  <levon@movementarian.org>
2897
2898         * bufferlist.C:
2899         * lyx_cb.C:
2900         * lyxfunc.C:
2901         * lyxvc.C: specify cancel button in Alert::prompt
2902
2903 2003-04-26  John Levon  <levon@movementarian.org>
2904
2905         * text3.C:
2906         * lyxfunc.C:
2907         * lfuns.h:
2908         * LyXAction.C: add LFUN_INSET_SETTINGS
2909
2910         * lyxfunc.C: don't enable tabular-feature when there's
2911         just any locking inset
2912
2913 2003-04-26  John Levon  <levon@movementarian.org>
2914
2915         * bufferlist.C: re-add Cancel to buffer close question
2916
2917         * lyxfunc.C: fix import UI a bit
2918
2919 2003-04-25  John Levon  <levon@movementarian.org>
2920
2921         * gettext.C: remove the broken asserts for now
2922
2923 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2924
2925         * messages.C: make case where setlocale cannot comply work better.
2926
2927         * buffer.C (updateDocLang): new function
2928         (changeLanguage): use it
2929         (readFile): use it
2930
2931         * text2.C (setCounter): use B_ a bit.
2932
2933         * lyxlayout.C (Read): be sure to trim the label strings.
2934
2935         * messages.C (Messages): fix typo in comment
2936
2937         * buffer.C (readFile): set message_ after file is loaded.
2938         (makeDocBookFile): remove double return
2939         (changeLanguage): reset message_ upon language change.
2940         (B_): new func, use this to get translated buffer strings.
2941
2942         * main.C: add myself and Jean Marc as authors.
2943
2944 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * messages.[hC]: pimplify Messages, and three different pimpls to be
2947         used in different circumstances.
2948
2949         * gettext.[Ch]: change for use with new message code.
2950
2951 2003-04-24 André Pönitz <poenitz@gmx.net>
2952
2953         * factory.C: support for eqref
2954
2955 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2956
2957         * messages.[Ch]: add missing char
2958
2959         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2960
2961         * messages.[Ch]: New files
2962
2963 2003-04-18  John Levon  <levon@movementarian.org>
2964
2965         * BufferView.h:
2966         * BufferView.C:
2967         * BufferView_pimpl.C:
2968         * lfuns.h:
2969         * LyXAction.C:
2970         * lyxtext.h:
2971         * text2.C: remove layout-copy/paste (bug 778)
2972
2973 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2974
2975         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2976
2977 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2978
2979         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2980         if they succeed. Act accordingly.
2981
2982 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2983
2984         * text2.C (setCharFont): adjust
2985         (setCounter): adjust
2986         (insertStringAsLines): adjust
2987
2988         * text.C (leftMargin): adjust
2989         (setHeightOfRow): adjust
2990
2991         * rowpainter.C (paintFirst): adjust
2992         (paintLast): adjust
2993
2994         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2995         (outerHook): ditto
2996         (isFirstInSequence): ditto
2997         (getEndLabel): ditto
2998         (outerFont): adjust
2999
3000         * paragraph.C (getParLanguage): comment out some hard stuff.
3001
3002         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3003         (sgmlError): ditto
3004         (simpleDocBookOnePar): ditto
3005         (makeDocBookFile): use ParagraphList::iterator
3006
3007         * CutAndPaste.C (pasteSelection): adjust
3008
3009 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3010
3011         * text2.C (getFont): adjust
3012         (getLayoutFont): adjust
3013         (getLabelFont): adjust
3014
3015         * paragraph_funcs.C (TeXOnePar): adjust
3016
3017         * buffer.C (simpleLinuxDocOnePar): adjust
3018         (simpleDocBookOnePar): adjust
3019
3020         * CutAndPaste.C (pasteSelection): adjust
3021
3022         * BufferView.C (getEncoding): adjust
3023
3024         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3025
3026 2003-04-16  John Levon  <levon@movementarian.org>
3027
3028         * lyxfind.C: use parlist stuff for search/changes
3029
3030 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3031
3032         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3033
3034         * text2.C (deleteEmptyParagraphMechanism): adjust
3035
3036         * text2.[Ch] (ownerParagraph): delete func (both of them
3037
3038 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3039
3040         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3041
3042 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3043
3044         * ParagraphList.C: prepare for NO_NEXT
3045
3046 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3047
3048         * text2.C (getFont): adjust
3049         (getLayoutFont): adjust
3050         (getLabelFont): adjust
3051
3052         * paragraph.C (getFont): adjust
3053         (getLabelFont): adjust
3054         (getLayoutFont): adjust
3055
3056         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3057
3058 2003-04-15  John Levon  <levon@movementarian.org>
3059
3060         From Angus Leeming
3061
3062         * lyx_main.C: handle Include in .ui files
3063
3064 2003-04-15  John Levon  <levon@movementarian.org>
3065
3066         * MenuBackend.C: make the doc files length shorter
3067
3068         * ToolbarBackend.h:
3069         * ToolbarBackend.C: handle toolbar placement flags,
3070         Minibuffer
3071
3072 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3073
3074         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3075         adjust
3076
3077         * paragraph_funcs.C (TeXOnePar): adjust
3078
3079         * paragraph.C (getLabelFont): add outerfont arg, adjust
3080         (getLayoutFont): ditto
3081         (simpleTeXOnePar): adjust
3082
3083         * paragraph_pimpl.C (realizeFont): delete func
3084
3085 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3086
3087         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3088         row argument, constify cur argument.
3089
3090 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3091
3092         * text2.C (getFont): adjust
3093         (getLayoutFont): adjust
3094         (getLabelFont): adjust
3095
3096         * paragraph_funcs.C (TeXOnePar): adjust
3097         (outerFont): new func...
3098         (realizeFont): ...moved out from here, changed this to facilitate
3099         transition
3100
3101         * paragraph.C (getFont): take outerfont as arg, adjust
3102         (simpleTeXOnePar): add outerfont arg, adjust
3103
3104         * buffer.C (simpleLinuxDocOnePar): adjust
3105         (simpleDocBookOnePar): adjust
3106
3107         * CutAndPaste.C (pasteSelection): adjust
3108
3109         * BufferView.C (getEncoding): adjust
3110
3111 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3112
3113         * text2.C (setCharFont): adjust
3114         (setCounter): adjust
3115
3116         * text.C (leftMargin): adjust
3117         (setHeightOfRow): adjust
3118
3119         * rowpainter.C (paintFirst): adjust
3120         (paintLast): adjust
3121
3122         * paragraph_pimpl.C (realizeFont): adjust
3123
3124         * paragraph.C (isFirstInSequence): move from here...
3125         * paragraph_funcs.C (isFirstInSequence): ...to here
3126
3127         * paragraph.C (outerHook): move from here...
3128         * paragraph_funcs.C (outerHook): ...to here
3129
3130         * paragraph.C (depthHook): move from here...
3131         * paragraph_funcs.C (depthHook): ...to here
3132
3133         * paragraph.C (getEndLabel): move from here...
3134         * paragraph_funcs.C (getEndLabel): ...to here
3135
3136         * text2.C (realizeFont): move from here...
3137         * paragraph_funcs.C (realizeFont): ...to here
3138
3139 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3140
3141         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3142
3143 2003-04-14  Angus Leeming  <leeming@lyx.org>
3144
3145         * LColor.[Ch]: scrap LColor mathcursor.
3146
3147 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3148
3149         * lyxlex.[Ch] (text): delete function
3150         * trans.C (Load): adjust
3151         * paragraph_funcs.C (readParToken): adjust
3152
3153 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3154
3155         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3156         vector<char> instead of a char[].
3157
3158         * lyxlex_pimpl.C (getString): adjust
3159         (next): adjust
3160         (lex): use getString
3161         (eatLine): adjust
3162         (nextToken): adjust
3163
3164         * lyxlex.C (text): use pimpl_->getString()
3165         (getBool): ditto
3166         (findToken): ditto
3167
3168 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3169
3170         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3171         (makeFontEntriesLayoutSpecific): temp var for par.size()
3172         (setLayout): temp var for ownerParagraphs().end()
3173         (fullRebreak): temp var for rows().end()
3174         (selectionAsString): temp var for boost::next(startpit), realize
3175         that the while really is a regular for loop.
3176         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3177         setCursor in one place.
3178         (setParagraph): temp vr for ownerParagraphs().end()
3179         (updateCounters): make the while loop a for loop
3180         (cutSelection): temp var for ownerParagraphs().end()
3181         (updateInset): make the do {} while() a regular for loop
3182         (getCursorX): use temp vars
3183         (setCurrentFont): use temp vars
3184         (getColumnNearX): use temp vars
3185
3186 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3187
3188         * text.C (transformChar): use temp var for getChar
3189         (computeBidiTables): use temp var for row->par()
3190         (fill): move temp vars for row->par() and pit->layout() earlier in
3191         the function.
3192         (labelFill): use temp var for row->par()
3193         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3194         asc and desc, realize that pit never changes and that firstpit is
3195         just a duplicate and not needed. Exchange rit->par() with pit in a
3196         lot of places.
3197         (breakAgain): use a temp var for boost::next(rit)
3198         (breakAgainOneRow): ditto
3199         (breakParagraph): use a temp var for rows().begin()
3200         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3201         (cursorRightOneWord): use temp var for cursor.par() and
3202         cursor.pos(), remove usage of tmpcursor.
3203         (cursorLeftOneWord): use temp var for cursor.par() and
3204         cursor.pos() only set cur at end of function.
3205
3206 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3207
3208         * text.C, text2.C: exchange all usage of Paragraph::next with
3209         boost::next(ParagraphList::iterator)
3210
3211         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3212
3213         * text2.C (cursorTop): simplify implementation
3214         (cursorBottom): ditto
3215         (setParagraph): use ParagraphList::iterator
3216         (setCurrentFont): adjust
3217         (getColumnNearX): adjust
3218         (cursorRight): adjust
3219         (cursorLeft): remove usage of Paragraph::previous
3220         (cursorUpParagraph): ditto
3221         (deleteEmptyParagraphMechanism): slight cleanup
3222
3223         * text.C (isBoundary): take a Paragraph const & instead of a
3224         pointer as arg.
3225         (addressBreakPoint): ditto
3226         (leftMargin): remove usage of Paragraph::previous.
3227         (setHeightOfRow): ditto
3228         (cursorLeftOneWord): ditto
3229         (selectNextWordToSpellcheck): ditto
3230         (Delete): ditto
3231         (backspace): ditto
3232         (breakParagraph): remove one usage of Paragraph::next
3233         (redoParagraph): ditto
3234         (acceptChange): ditto
3235         (insertChar): adjust
3236         (rowBreakPoint): adjust
3237
3238         * bufferview_funcs.C (toggleAndShow): adjust
3239
3240 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3241
3242         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3243         methods to access it.
3244         * lyxtext.h:
3245         * text.C: Added updateRowPositions to compute all row positions.
3246         Make top_y and getRowNearY() to use the cached y position
3247
3248 2003-04-11  John Levon  <levon@movementarian.org>
3249
3250         * text.C (rowBreakPoint): reintroduce the labelEnd
3251         checks, code copied from the row fill stuff. Deep voodoo.
3252
3253         * text.C (fill): add a comment and debugging for the
3254         next poor soul.
3255
3256 2003-04-11  John Levon  <levon@movementarian.org>
3257
3258         * text.C: make sure fullrow insets get wrapped to the next line,
3259         even when they're in a manual label
3260
3261 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3262
3263         * text2.C (insertParagraph): make it take ParagraphList::iterator
3264         as arg.
3265         (setLayout): make it return ParagraphList::iterator
3266         (redoParagraphs): ditto
3267         (setCounter): ditto
3268         (checkParagraph): ditto
3269
3270         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3271
3272         * text2.C: adjust several funcs.
3273         (realizeFont): take a ParagraphList::iterator as arg.
3274         (getLayoutFont): ditto
3275         (getLabelFont): ditto
3276         (setCharFont): ditto
3277
3278         * text.C: adjust several funcs.
3279
3280 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3281
3282         * text.C (selectNextWordToSpellcheck): don't accidentally
3283         skip insets
3284
3285 2003-04-10  John Levon  <levon@movementarian.org>
3286
3287         * ToolbarBackend.C (getIcon): special handling for
3288         LFUN_MATH_DELIM
3289
3290 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3291
3292         * text2.C (cursorRight): a getChar assert fixed
3293
3294 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3295
3296         * text2.C (getFont): change to take a ParagraphList::iterator
3297         instead of Paragraph*
3298         Adjust several functions.
3299
3300         * text.C (transformChar): change to take a ParagraphList::iterator
3301         instead of Paragraph*
3302         (singleWidth): ditto
3303         Adjust several functions.
3304
3305         * rowpainter.C: adjust several functions
3306         * rowpainter.h:store a ParagraphList::iterator and not a
3307         Paragraph&.
3308
3309
3310 2003-04-09  John Levon  <levon@movementarian.org>
3311
3312         * lyxfunc.C:
3313         * lfuns.h:
3314         * LyXAction.h:
3315         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3316         and the "help" bits as well
3317
3318 2003-04-09  John Levon  <levon@movementarian.org>
3319
3320         * ToolbarBackend.h:
3321         * ToolbarBackend.C: allow multiple toolbars
3322
3323 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3324
3325         * undo_funcs.C (setCursorParUndo): adjust
3326
3327         * text_funcs.C (transposeChars): adjust
3328
3329         * text3.C (gotoNextInset): adjust
3330         (dispatch): adjust
3331
3332         * text2.C (setLayout): adjust
3333         (changeDepth): adjust
3334         (setFont): adjust
3335         (redoParagraphs): adjust
3336         (selectionAsString): adjust
3337         (setParagraph): adjust
3338         (insertInset): adjust
3339         (cutSelection): adjust
3340         (copySelection): adjust
3341         (pasteSelection): adjust
3342         (insertStringAsLines): adjust
3343         (updateInset): adjust
3344         (setCursor): change to take a ParagraphList::iterator parameter
3345         (setCursorIntern): change to take a ParagraphList::iterator parameter
3346         (setCurrentFont): adjust
3347         (cursorLeft): adjust
3348         (cursorRight): adjust
3349         (deleteEmptyParagraphMechanism): adjust
3350
3351         * text.C (breakParagraph): adjust
3352         (insertChar): adjust
3353         (acceptChange): adjust
3354         (rejectChange): adjust
3355         (selectNextWordToSpellcheck): adjust
3356         (changeCase): adjust
3357         (Delete): adjust
3358         (backspace): adjust
3359
3360         * lyxfind.C (SearchForward): adjust
3361         (SearchBackward): adjust
3362         (nextChange): adjust
3363
3364         * lyxcursor.C (par): adjust
3365
3366         * lyxcursor.h: store a ParagraphList::iterator instead of a
3367         Paragraph*
3368
3369         * lyx_cb.C (getPossibleLabel): adjust
3370
3371         * bufferview_funcs.C (toggleAndShow): adjust
3372
3373         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3374         (dispatch): adjust
3375
3376         * BufferView.C (removeAutoInsets): adjust
3377         (lockedInsetStoreUndo): adjust
3378
3379 2003-04-09  John Levon  <levon@movementarian.org>
3380
3381         * ToolbarBackend.C: try icon without argument
3382         if with argument fails
3383
3384 2003-04-08  John Levon  <levon@movementarian.org>
3385
3386         * ToolbarBackend.h:
3387         * ToolbarBackend.C: add getIcon(), handle tooltip,
3388         and change from "Icon" to "Item".
3389
3390 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3391
3392         * BufferView.C (lockInset): another bad getchar crunched
3393
3394 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3395
3396         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3397         again)
3398
3399 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3400
3401         * lyxfind.C (searchForward, searchBackwards): bug 782
3402
3403 2003-04-07  John Levon  <levon@movementarian.org>
3404
3405         * paragraph.C: remove dead comment
3406
3407         * text.C: remove troublesome depth-fiddling code
3408         in leftMargin() and rightMargin() (bug 1017)
3409
3410         * text.C: fix breaking of rows in nested lists
3411         (bug 1004)
3412
3413         * text2.C (updateCounters): fix up depth values
3414         (bug 1013)
3415
3416 2003-04-07  John Levon  <levon@movementarian.org>
3417
3418         * BufferView_pimpl.C: clear message when doc finishes resizing,
3419         and after a mouse event
3420
3421         * lyxfunc.C: clear message after exiting inset
3422
3423 2003-04-07  John Levon  <levon@movementarian.org>
3424
3425         * bufferview_funcs.C: show math status not outside
3426         status in the statusbar
3427
3428 2003-04-07  John Levon  <levon@movementarian.org>
3429
3430         * lyxfunc.C: note status changed after a depth change
3431
3432 2003-04-04  Angus Leeming  <leeming@lyx.org>
3433
3434         * LaTeX.h: move AuxInfo operator==, != out of line.
3435         Remove LaTeX virtual destructor; nothing derives from it.
3436         Move operator()() out of public area and rename it startscript().
3437         Change protected for private.
3438
3439 2003-04-04  Angus Leeming  <leeming@lyx.org>
3440
3441         * lyxfunc.C:
3442         * text2.C: remove unneeded #includes.
3443
3444 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3445
3446         * text2.C (dEPM): fix the heigth of the next row
3447
3448 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3449
3450         * text.C: squashed an invalid getChar requester + some ws changes
3451
3452 2003-04-03  John Levon  <levon@movementarian.org>
3453
3454         * bufferview_funcs.h:
3455         * bufferview_funcs.C:
3456         * lyxfunc.C:
3457         * lyxtext.h:
3458         * text2.C: make getStatus work for the env depth lfuns
3459
3460 2003-04-03  John Levon  <levon@movementarian.org>
3461
3462         * bufferview_funcs.h:
3463         * bufferview_funcs.C:
3464         * lyxfunc.C:
3465         * lyxtext.h:
3466         * text2.C: parlistize decDepth(), by merging it with incDepth()
3467
3468 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3469
3470         * lyxrow.h: store a ParagraphList::iterator instead of a
3471         Paragraph* and adjust other class functions to suit.
3472
3473         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3474         above.
3475
3476 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3477
3478         * text2.C (setCursor): do not anchor to cursor row for the time being
3479
3480 2003-04-02  John Levon  <levon@movementarian.org>
3481
3482         * LyXAction.C:
3483         * lfuns.h:
3484         * lyx_main.C:
3485         * lyxtext.h:
3486         * text.C:
3487         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3488
3489 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3490
3491         * paragraph.h: make ParagraphList and ParagraphList::iterator
3492         friends of Paragraph.
3493
3494         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3495
3496         * ParagraphList.C: Use the private next_ and previous_ from
3497         Paragraph.
3498
3499 2003-04-01  John Levon  <levon@movementarian.org>
3500
3501         * ToolbarBackend.h:
3502         * ToolbarBackend.C:
3503         * Makefile.am: rename, remove defaults gunk
3504
3505         * MenuBackend.h:
3506         * MenuBackend.C: remove defaults gunk
3507
3508         * Languages.h:
3509         * Languages.C: remove defaults gunk
3510
3511         * lyx_main.h:
3512         * lyx_main.C: error out if files couldn't be found.
3513
3514 2003-04-02  John Levon  <levon@movementarian.org>
3515
3516         * text2.C: make incDepth() use parlist
3517
3518 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3519
3520         * undo_funcs.C (firstUndoParagraph): adjust
3521
3522         * text3.C (gotoInset): adjust
3523         (dispatch): adjust, and rewrite loop.
3524
3525         * text2.C (init): adjust, and rewrite loop.
3526         (redoParagraphs): adjust
3527         (updateInset): adjust, and rewrite loop.
3528         (deleteEmptyParagraphMechanism): adjust
3529
3530         * tabular.C (LyXTabular): adjust
3531         (SetMultiColumn): adjust
3532         (TeXRow): adjust
3533
3534         * lyxtext.[Ch] (ownerParagraph): delete function
3535         (ownerParagraphs): new function returns a ParagraphList.
3536
3537         * BufferView.C (removeAutoInsets): adjust
3538         (insertErrors): adjust
3539         (setCursorFromRow): adjust
3540
3541 2003-04-01  Angus Leeming  <leeming@lyx.org>
3542
3543         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3544         in the frontends.
3545
3546 2003-04-02  John Levon  <levon@movementarian.org>
3547
3548         * lyxtext.h:
3549         * text.C:
3550         * Makefile.am:
3551         * text_funcs.h:
3552         * text_funcs.C: make transposeChars a free function
3553
3554         * lyxrow_funcs.C: remove wrong comment
3555
3556 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3557
3558         * lyxtext.h: adjust
3559         * rowpainter.C: adjust
3560         * text.C: adjust
3561         * text2.C: adjust
3562         * text3.C: adjust
3563
3564         * lyxrow_funcs. [Ch]: new files
3565
3566         * lyxrow.[Ch]: remove next and previous pointers
3567         (next,previous): remove accessor functions
3568         (isParEnd): move to lyxrow_funcs
3569         (lastPos): move to lyxrow_funcs
3570         (nextRowIsAllInset): move to lyxrow_funcs
3571         (lastPrintablePos): move to lyxrow_funcs
3572         (numberOfSeparators): move to lyxrow_funcs
3573         (numberOfHfills): move to lyxrow_funcs
3574         (numberOfLabelHfills): move to lyxrow_funcs
3575         (hfillExpansion): move to lyxrow_funcs
3576
3577         * lyxfunc.C: adjust
3578
3579         * bufferview_funcs.C (toggleAndShow): adjust
3580
3581         * RowList.h: Remove class RowList from file leave just a
3582         std::list<Row>.
3583
3584         * RowList.C: delete file
3585
3586         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3587         and lyxrow_funcs.h
3588
3589 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * text3.C (cursorPrevious): adjust
3592         (cursorNext): adjust
3593         (dispatch): adjust
3594
3595         * text2.C (redoHeightOfParagraph): adjust
3596         (redoDrawingOfParagraph): adjust
3597         (setCursor): adjust
3598
3599         * text.C (breakParagraph): adjust
3600         (insertChar): adjust
3601         (backspace): adjust
3602
3603         * rowpainter.C (RowPainter): adjust
3604         (leftMargin): simplify and adjust
3605         (most rowpainter functions): adjust.
3606
3607         * rowpainter.h: store the row as RowList::iterator not as Row*
3608
3609         * lyxcursor.C (row): taka RowList::iterator as arg
3610         (irow): ditto
3611
3612         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3613         of Row*.
3614
3615 2003-04-01  Angus Leeming  <leeming@lyx.org>
3616
3617         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3618         stuff like bool Bool.
3619
3620 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3621
3622         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3623         rewrite a loop
3624
3625 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3626
3627         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3628         RowList::iterator.
3629
3630         * lyxtext.h (rows): drop one version and leve a const variant that
3631         returns a RowList::iterator.
3632
3633 2003-03-31  Angus Leeming  <leeming@lyx.org>
3634
3635         * text.C (fill): ensure that the signature is the same as that in the
3636         header file.
3637
3638 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3639
3640         * text2.C (redoParagraphs): adjust
3641         (updateCounters): adjust
3642         (checkParagraph): adjust
3643         (getColumnNearX): adjust and reformat a bit.
3644
3645         * text.C (top_y): adjust
3646         (workWidth): adjust
3647         (leftMargin): adjust
3648         (prepareToPrint): adjust
3649         (getRow): adjust
3650         (getRowNearY): adjust
3651
3652         * lyxtext.h: make rowlist_ mutable.
3653
3654         * RowList.h: add const_iterator
3655         * RowList.C: adjust for RowList::const_iterator.
3656
3657         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3658         adjust.
3659
3660 2003-03-31  John Levon  <levon@movementarian.org>
3661
3662         * lyxrc.h:
3663         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3664
3665         * lyx_main.C: set default fonts from using lyx_gui funcs
3666
3667         * exporter.C: pdf_mode moved from lyxrc
3668
3669         * lyx_cb.C:
3670         * lyxfunc.C: changes from above
3671
3672 2003-03-31  John Levon  <levon@movementarian.org>
3673
3674         * lyx_main.C: fix to the last fix
3675
3676 2003-03-31  John Levon  <levon@movementarian.org>
3677
3678         * bufferlist.C: "Load original" -> "Load Original"
3679
3680         * converter.C:
3681         * exporter.C:
3682         * importer.C:
3683         * lyx_main.C:
3684         * format.C: more Alert cleanups
3685
3686 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3687
3688         * text2.C (removeParagraph): make it take a RowList::iterator as
3689         arg, adjust.
3690         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3691         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3692
3693         * text.C (anchor_row): make it take a RowList::iterator as arg,
3694         adjust.
3695         (computeBidiTables): make it take a const reference to Row instead
3696         of Row pointer, adjust.
3697         (leftMargin): make it take a RowList::iterator as arg, adjust.
3698         (rowBreakPoint): adjust
3699         (breakAgainOneRow): make it take a RowList::iterator as arg,
3700         adjust.
3701         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3702
3703         * bufferview_funcs.C (toggleAndShow): adjust
3704
3705 2003-03-30  John Levon  <levon@movementarian.org>
3706
3707         * Makefile.am:
3708         * BoostFormat.h:
3709         * boost-inst.C: moved to support
3710
3711         * several files: changes as a result
3712
3713 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3714
3715         * text2.C (LyXText): adjust.
3716         (init): adjust
3717         (removeRow): make it take a RowList::iterator as arg, adjust.
3718         (fullRebreak): adjust
3719         (deleteEmptyParagraphMechanism): adjust
3720         (clearPaint): adjust
3721         (postPaint): adjust
3722
3723         * text.C (top_y): adjust
3724         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3725         (breakAgain): make it take a RowList::iterator as arg, adjust.
3726         (breakParagraph): adjust
3727         (insertChar): adjust
3728         (backspace): adjust
3729
3730         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3731         need_break_row, and refresh_row.
3732
3733         * text3.C (dispatch): adjust
3734
3735         * text2.C (checkParagraph): adjust
3736         (setCursor): adjust
3737         (setCursorFromCoordinates): adjust
3738
3739         * text.C (top_y): adjust
3740         (workWidth): adjust
3741         (getRow): make it return a RowList::iterator, adjust
3742         (getRowNearY): make it return a RowList::iterator, adjust
3743
3744         * text2.C (init): adjust
3745         (insertRow): remove function
3746         (insertParagraph): adjust
3747         (redoParagraphs): adjust
3748         (fullRebreak): adjust
3749         (updateCounters): adjust
3750
3751         * text.C (top_y): rewrite to use RowList iterators.
3752         (top_y): adjust
3753         (setHeightOfRow): rewrite to sue RowList iterators.
3754         (appendParagraph): adjust
3755         (breakAgain): adjust
3756         (breakAgainOneRow): adjust
3757         (breakParagraph): adjust
3758         (getRow): adjust
3759         (getRowNearY): adjust, and remove commented code.
3760
3761         * lyxtext.h (firstRow): delete function
3762         (lastRow): delete function
3763         (rows): new function (const and non-const versions.)
3764         (insertRow): delete function
3765
3766         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3767
3768 2003-03-29  John Levon  <levon@movementarian.org>
3769
3770         * BufferView_pimpl.C: always update scrollbar top
3771         because pasting text when we're anchored could mean we
3772         miss an update altogether
3773
3774 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3775
3776         * text2.C (init): use rowlist_.end() and not 0.
3777         (insertRow): change to take a RowList::iterator as arg, adjust
3778         for this.
3779         (insertParagraph): change to take a RowList::iterator as arg,
3780         adjust for this.
3781         (redoParagraphs): remove some debug msgs.
3782
3783         * text.C (appendParagraph): change to take a RowList::iterator
3784         arg, adjust for this.
3785         (breakAgain): add an assert
3786         (breakAgainOneRow): ditto
3787
3788 2003-03-29  John Levon  <levon@movementarian.org>
3789
3790         * text2.C: do not clear selection after inc/decDepth
3791         (bug 550)
3792
3793 2003-03-29  John Levon  <levon@movementarian.org>
3794
3795         * BufferView.C:
3796         * buffer.C: fix broken strerrors according to Lars
3797
3798 2003-03-29  John Levon  <levon@movementarian.org>
3799
3800         * converters.C: more Alert cleanups
3801
3802 2003-03-29  John Levon  <levon@movementarian.org>
3803
3804         * bufferview_funcs.C: remove pointless Alert
3805
3806         * buffer.C: fix confusing error message when
3807         a template is chmoded 000
3808
3809 2003-03-29  John Levon  <levon@movementarian.org>
3810
3811         * BufferView.C:
3812         * BufferView.h:
3813         * BufferView_pimpl.C: Alert fixes
3814
3815         * Makefile.am:
3816         * tabular.C:
3817         * tabular-old.C: remove unused table compat reading
3818
3819 2003-03-29  John Levon  <levon@movementarian.org>
3820
3821         * BufferView.C:
3822         * buffer.C:
3823         * lyx_cb.h:
3824         * lyx_cb.C: more Alert cleanups
3825
3826         * lyxfunc.C: don't allow chktex if not latex document
3827
3828 2003-03-29  John Levon  <levon@movementarian.org>
3829
3830         * lyx_cb.C:
3831         * BufferView.C:
3832         * buffer.C: warnings pushed down from support/,
3833         kill err_alert
3834
3835 2003-03-29  John Levon  <levon@movementarian.org>
3836
3837         * lyxfunc.C: safety check for C-r (revert)
3838
3839 2003-03-29  John Levon  <levon@movementarian.org>
3840
3841         * bufferlist.h:
3842         * bufferlist.C: several UI fixes using Alert::prompt.
3843         Fix the pointless looping quit code. Fix stupid revert
3844         behaviour (bug 938)
3845
3846         * lyxvc.h:
3847         * lyxvc.C:
3848         * lyx_cb.C: use Alert::prompt
3849
3850         * lyx_main.C: remove a silly question
3851
3852         * lyxfunc.C: remove a couple of silly questions,
3853         use Alert::prompt
3854
3855 2003-03-28  John Levon  <levon@movementarian.org>
3856
3857         * text2.C: fix bug 974 (End on empty par)
3858
3859 2003-03-28  John Levon  <levon@movementarian.org>
3860
3861         * BufferView_pimpl.C:
3862         * LyXAction.C:
3863         * lfuns.h: remove do-nothing math greek lfuns
3864
3865 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * lyxgluelength.h (isValidGlueLength): add default arg on
3868         parameter 2. Remove default arg from friend in class.
3869
3870         * lyxlength.h (isValidLength): add default arg on parameter 2.
3871         Remove default arg from friend in class.
3872
3873         * text2.C (LyXText): adjust, initialize refresh_row.
3874         (init): adjust
3875         (removeRow): adjust
3876         (insertRow): adjust
3877         (insertParagraph): adjst
3878         (redoParagraphs): adjust
3879         (fullRebreak): adjust
3880         (updateCounters): adjust
3881         (deleteEmptyParagraphMechanism): first attempt at fixing a
3882         crashing bug.
3883
3884         * text.C (top_y): adjust
3885         (setHeightOfRow): adjust
3886         (getRow): adjust
3887         (getRowNearY): adjust
3888
3889         * lyxtext.h: include RowList.h
3890         (~LyXText): not needed anymore, deleted.
3891         (firstRow): modify for RowList
3892         (lastRow): new function
3893         Delete firstrow and lastrow class variables, add a Rowlist
3894         rowlist_ class variable.
3895
3896         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3897         paragraph is empty.
3898
3899         * RowList.C (insert): fix case where it == begin().
3900
3901 2003-03-26  Angus Leeming  <leeming@lyx.org>
3902
3903         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3904         the thesaurus dialog.
3905
3906 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3907
3908         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3909
3910         * RowList.[Ch]: new files
3911
3912         * ParagraphList.C (erase): handle the case where it == begin
3913         correctly.
3914
3915 2003-03-25  John Levon  <levon@movementarian.org>
3916
3917         * Makefile.am:
3918         * aspell_local.h:
3919         * aspell.C: add new aspell support
3920
3921         * lyxrc.h:
3922         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3923         have it accessible.
3924
3925 2003-03-25  Angus Leeming  <leeming@lyx.org>
3926
3927         * lfuns.h:
3928         * LyXAction.C (init): new LFUN_INSET_INSERT.
3929
3930         * BufferView_pimpl.C (dispatch): split out part of the
3931         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3932
3933         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3934         LFUN_INSET_APPLY.
3935
3936 2003-03-25  Angus Leeming  <leeming@lyx.org>
3937
3938         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3939
3940 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3941
3942         * text2.C:
3943         * text3.C: remove useless row->height(0)
3944
3945 2003-03-25  John Levon  <levon@movementarian.org>
3946
3947         * lyxtext.h:
3948         * text2.C:
3949         * text3.C: rename the refreshing stuff to better names
3950
3951 2003-03-24  John Levon  <levon@movementarian.org>
3952
3953         * BufferView_pimpl.h:
3954         * BufferView_pimpl.C: update layout choice on a mouse
3955         press/release
3956
3957 2003-03-23  John Levon  <levon@movementarian.org>
3958
3959         * Makefile.am: fix commandtags.h reference
3960
3961 2003-03-22  John Levon  <levon@movementarian.org>
3962
3963         * BufferView_pimpl.C:
3964         * lyxtext.h:
3965         * rowpainter.C:
3966         * rowpainter.h:
3967         * text.C:
3968         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3969
3970 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3971
3972         * lyxtext.h:
3973         * text.C: take the rtl methods out of line
3974
3975 2003-03-21 André Pönitz <poenitz@gmx.net>
3976
3977         * metricsinfo.[Ch]: new files containing structures to be passed around
3978         during the two-phase-drawing...
3979
3980 2003-03-21 André Pönitz <poenitz@gmx.net>
3981
3982         * lyxtextclass.C: read 'environment' tag.
3983
3984 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3985
3986         * text2.C (removeRow): fix bug 964
3987
3988 2003-03-20  John Levon  <levon@movementarian.org>
3989
3990         * rowpainter.C:
3991         * text.C:
3992         * text2.C: paint cleanups. Inset::update() dropped font
3993         parameter
3994
3995 2003-03-19  John Levon  <levon@movementarian.org>
3996
3997         * lyxfunc.C: only fitcursor/markDirty if available()
3998
3999 2003-03-19  John Levon  <levon@movementarian.org>
4000
4001         * commandtags.h: rename to ...
4002
4003         * lfuns.h: ... this, and renumber / cleanup
4004
4005 2003-03-19  John Levon  <levon@movementarian.org>
4006
4007         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4008         fit the cursor after an lfun
4009
4010         * BufferView.h:
4011         * BufferView.C:
4012         * BufferView_pimpl.h:
4013         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4014
4015         * LyXAction.C: layout-character should have ReadOnly
4016
4017         * ParagraphParameters.C:
4018         * buffer.C:
4019         * bufferview_funcs.C:
4020         * lyx_cb.C:
4021         * lyxfind.C:
4022         * lyxtext.h:
4023         * text.C:
4024         * text2.C:
4025         * text3.C:
4026         * undo_funcs.C: changes from above
4027
4028 2003-03-18  John Levon  <levon@movementarian.org>
4029
4030         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4031         remove it from update()
4032
4033         * lyxfunc.C: update layout choice after an lfun
4034
4035         * text3.C: remove extra updateLayoutChoice()s
4036
4037 2003-03-18  John Levon  <levon@movementarian.org>
4038
4039         * text.C: top_y change means full repaint, fix
4040         a drawing bug with cursor movement
4041
4042 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4043
4044         * lyxtext.h:
4045         * text.C:
4046         * text2.C: anchor row on setCursor
4047
4048 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4049
4050         * lyxtext.h: remove almost all mutable keywords
4051         * text.C:
4052         * text2.C:
4053         * text3.C: remove const keywords accordingly
4054
4055 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4056
4057         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4058         anon namespace
4059         (TeXEnvironment): ditto
4060         (TeXOnePar): ditto
4061
4062 2003-03-17  John Levon  <levon@movementarian.org>
4063
4064         * text.C (rowBreakPoint): remove attempt to fix displayed
4065         math insets inside a manual label
4066
4067 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4068
4069         * lyxtext.h: remove BufferView* as first arg from almost all class
4070         functions.
4071         * other files: adjust.
4072
4073 2003-03-17  John Levon  <levon@movementarian.org>
4074
4075         * lyxtext.h:
4076         * undo_funcs.C:
4077         * text2.C: more paint cleanups
4078
4079         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4080
4081         * rowpainter.h:
4082         * rowpainter.C: remove "smart" background painting code
4083
4084 2003-03-16  John Levon  <levon@movementarian.org>
4085
4086         * lyxtext.h:
4087         * text.C:
4088         * text2.C:
4089         * text3.C: add helper functions for setting refresh_row/y
4090
4091 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4092
4093         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4094         newline inset which *can* get inserted in the pass_thru layouts.
4095         This is primarily for literate documents.
4096
4097 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4098
4099         * buffer.C: increment LYX_FORMAT to 223
4100
4101 2003-03-14 André Pönitz <poenitz@gmx.net>
4102
4103         * textclass.h: prepare for environment handling, ws changes
4104         * lyxlayout.C: read latexheader and latexfooter tags
4105
4106 2003-03-14  John Levon  <levon@movementarian.org>
4107
4108         * text2.C: rewrite ::status() a bit
4109
4110 2003-03-13  John Levon  <levon@movementarian.org>
4111
4112         * lyxtext.h: add some docs
4113
4114 2003-03-13  John Levon  <levon@movementarian.org>
4115
4116         * lyxtext.h:
4117         * text.C:
4118         * text2.C:
4119         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4120
4121 2003-03-13  John Levon  <levon@movementarian.org>
4122
4123         * text3.C: fix appendix redrawing
4124
4125 2003-03-13  John Levon  <levon@movementarian.org>
4126
4127         * text.C (setHeightOfRow):
4128         * rowpainter.h:
4129         * rowpainter.C: make appendix mark have the text
4130           "Appendix" so the user knows what it is
4131
4132         * LColor.h:
4133         * LColor.C: s/appendixline/appendix/ from above
4134
4135 2003-03-13  John Levon  <levon@movementarian.org>
4136
4137         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4138
4139         * text.C: fix a getChar(pos) bug properly
4140
4141 2003-03-13  Angus Leeming  <leeming@lyx.org>
4142
4143         * commandtags.h:
4144         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4145         Probably only temporary. Let's see how things pan out.
4146
4147         * BufferView.C (unlockInset):
4148         * BufferView_pimpl.C (fitCursor):
4149         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4150
4151         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4152         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4153
4154         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4155         new functions that convert ParagraphParameters to and from a string.
4156
4157         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4158         BufferView::Pimpl's dispatch.
4159         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4160
4161 2003-03-13 André Pönitz <poenitz@gmx.net>
4162
4163         * lyxfunc.C:
4164         * text3.C:
4165         * factory.C: make it aware of InsetEnv
4166
4167 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4168
4169         * text2.C (setCursor): never ask for one past last
4170         (setCursor): add some debugging messages.
4171
4172         * text.C (singleWidth): never ask for one past last
4173         (singleWidth): ditto
4174         (leftMargin): ditto
4175         (rightMargin): ditto
4176         (rowBreakPoint): ditto
4177         (setHeightOfRow): ditto
4178         (prepareToPrint): ditto
4179
4180         * rowpainter.C (paintBackground): never ask for one past last
4181         (paintText): never ask for one past last
4182
4183         * paragraph_pimpl.C (getChar): make the assert stricter, never
4184         allow the one past last pos to be taken
4185
4186         * paragraph.C (getChar): ws changes only
4187
4188         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4189         (numberOfSeparators): ditto
4190         (numberOfHfills): ditto
4191
4192 2003-03-12  John Levon  <levon@movementarian.org>
4193
4194         * author.h:
4195         * author.C:
4196         * bufferparams.h:
4197         * bufferparams.C:
4198         * paragraph_funcs.C: fix per-buffer authorlists
4199
4200 2003-03-12  John Levon  <levon@movementarian.org>
4201
4202         * text.C: fix newline in right address
4203
4204 2003-03-12  Angus Leeming  <leeming@lyx.org>
4205
4206         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4207         duplicate those in LyXFunc::dispatch.
4208
4209         * commandtags.h:
4210         * LyXAction.C:
4211         * ToolbarDefaults.C:
4212         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4213         Add LFUN_FONTFREE_UPDATE.
4214
4215         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4216         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4217
4218         * bufferview_func.[Ch]: several new functions to facilliate
4219         transfer of data to and from the character dialog.
4220
4221 2003-03-12  John Levon  <levon@movementarian.org>
4222
4223         * buffer.C:
4224         * paragraph.h:
4225         * paragraph.C:
4226         * paragraph_funcs.C:
4227         * paragraph_pimpl.C:
4228         * sgml.C:
4229         * tabular.C:
4230         * text.C:
4231         * text3.C: remove META_NEWLINE in favour of an inset
4232
4233         * rowpainter.h:
4234         * rowpainter.C: remove paintNewline (done by inset)
4235
4236 2003-03-12  John Levon  <levon@movementarian.org>
4237
4238         * paragraph_pimpl.C: complain about bad getChar()s
4239         for a while at least
4240
4241 2003-03-12  John Levon  <levon@movementarian.org>
4242
4243         * buffer.h:
4244         * buffer.C: move paragraph read into a separate function,
4245         a little renaming to reflect that.
4246
4247         * bufferparams.h:
4248         * bufferparams.C: remove the author_ids map, not necessary now
4249
4250         * factory.h:
4251         * factory.C: moved Buffer::readInset to here
4252
4253         * paragraph_funcs.h:
4254         * paragraph_funcs.C: readParagraph free function moved from
4255         buffer.C
4256
4257         * tabular.C: name change
4258
4259 2003-03-12  John Levon  <levon@movementarian.org>
4260
4261         * buffer.C:
4262         * ParagraphParameters.C: move par params input to
4263         a read() method
4264
4265         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4266         behave like a normal read from the stream wrt reading
4267         a line vs. a \\token
4268
4269 2003-03-12  John Levon  <levon@movementarian.org>
4270
4271         * paragraph.C:
4272         * ParagraphParameters.h:
4273         * ParagraphParameters.C: move output code to a
4274         ::write() method
4275
4276 2003-03-12  John Levon  <levon@movementarian.org>
4277
4278         * BufferView.C (insertLyXFile):
4279         * buffer.h:
4280         * buffer.C:
4281         * tabular.C: use a parlist iterator for creating the
4282           document.
4283
4284 2003-03-12  John Levon  <levon@movementarian.org>
4285
4286         * buffer.C: make current_change static local not
4287           static file-scope
4288
4289 2003-03-12  John Levon  <levon@movementarian.org>
4290
4291         * buffer.C: fix insertStringAsLines for change tracking
4292
4293 2003-03-12  John Levon  <levon@movementarian.org>
4294
4295         * BufferView.C:
4296         * tabular.C:
4297         * buffer.h:
4298         * buffer.C:
4299         * bufferparams.h:
4300         * bufferparams.C: move author list into params. Rename some
4301           functions. Move the header reading into a separate token
4302           loop. Move the header token reading into BufferParams.
4303
4304 2003-03-12  John Levon  <levon@movementarian.org>
4305
4306         * changes.C: put debug inside lyxerr.debugging() checks
4307
4308 2003-03-11 André Pönitz <poenitz@gmx.net>
4309
4310         * factory.C: make it aware of InsetHFill
4311
4312 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4313
4314         * buffer.C (latexParagraphs): move function from here...
4315         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4316         args.
4317
4318 2003-03-10  Angus Leeming  <leeming@lyx.org>
4319
4320         * LyXAction.C (init): fix bug in poplating array with multiple entries
4321         with the same LFUN (spotted by JMarc).
4322
4323 2003-03-10  John Levon  <levon@movementarian.org>
4324
4325         * text.C:
4326         * text2.C: move getColumnNearX() near its
4327         only call site
4328
4329 2003-03-10  John Levon  <levon@movementarian.org>
4330
4331         * text.C: fix break before a minipage
4332
4333 2003-03-10  John Levon  <levon@movementarian.org>
4334
4335         * text.C: fix the last commit
4336
4337 2003-03-09  John Levon  <levon@movementarian.org>
4338
4339         * lyxtext.h:
4340         * text.C:
4341         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4342         bug 365 (don't break before insets unless needed). Don't
4343         return a value > last under any circumstances.
4344
4345 2003-03-09  Angus Leeming  <leeming@lyx.org>
4346
4347         * BufferView_pimpl.C (trackChanges, dispatch): call
4348         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4349
4350 2003-03-09  Angus Leeming  <leeming@lyx.org>
4351
4352         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4353         than Dialogs::showAboutlyx().
4354
4355 2003-03-09  Angus Leeming  <leeming@lyx.org>
4356
4357         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4358         than Dialogs::showTabularCreate().
4359
4360 2003-03-09  John Levon  <levon@movementarian.org>
4361
4362         * lyxtext.h:
4363         * text.C:
4364         * text2.C: 3rd arg to nextBreakPoint was always the same.
4365           Use references.
4366
4367 2003-03-08  John Levon  <levon@movementarian.org>
4368
4369         * lyxrow.C:
4370         * paragraph.C:
4371         * paragraph.h:
4372         * rowpainter.C:
4373         * text.C:
4374         * text2.C: Remove the "main" bit from the "main body"
4375           notion.
4376
4377 2003-03-08  John Levon  <levon@movementarian.org>
4378
4379         * text.C (leftMargin): The left margin of an empty
4380         manual label paragraph should not include the label width
4381         string length.
4382
4383         * text.C (prepareToPrint): don't attempt to measure hfills
4384         for empty manual label paragraphs - the answer should be 0
4385
4386 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4387
4388         * CutAndPaste.C: remove commented code and reindent.
4389
4390 2003-03-08  John Levon  <levon@movementarian.org>
4391
4392         * lyxfunc.h:
4393         * lyxfunc.C: move reloadBuffer()
4394
4395         * BufferView.h:
4396         * BufferView.C: to here
4397
4398         * lyxvc.C: add comment
4399
4400         * vc-backend.h:
4401         * vc-backend.C: call bv->reload() to avoid
4402           getStatus() check on MENURELOAD
4403
4404 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4405
4406         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4407         to an old format .dep file.
4408
4409 2003-03-07  Angus Leeming  <leeming@lyx.org>
4410
4411         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4412         when the LFUN_MOUSE_RELEASE should have been handled by
4413         inset->localDispatch.
4414
4415 2003-03-07  Angus Leeming  <leeming@lyx.org>
4416
4417         * BufferView_pimpl.C (dispatch):
4418         * LyXAction.C (init):
4419         * ToolbarDefaults.C (init):
4420         * commandtags.h:
4421         * lyxfunc.C (getStatus):
4422         remove LFUN_INSET_GRAPHICS.
4423
4424         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4425
4426 2003-03-07  Angus Leeming  <leeming@lyx.org>
4427
4428         * commandtags.h:
4429         * LyXAction.C (init):
4430         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4431
4432         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4433
4434         * commandtags.h:
4435         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4436
4437         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4438         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4439
4440 2003-03-07  Angus Leeming  <leeming@lyx.org>
4441
4442         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4443         remove "ert".
4444
4445 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4446
4447         * ParagraphList.C (front): new function
4448         (back): implement
4449
4450 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4451
4452         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4453         and top_row_offset_. removed var first_y.
4454         * text.C (top_y):
4455         * text2.C (LyXText, removeRow):
4456         * text3.C:
4457         * BufferView_pimpl.C:
4458         use these methods instead of using first_y
4459
4460 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4461
4462         * text2.C (pasteSelection): adjust for checkPastePossible
4463
4464         * CutAndPaste.C: remove Paragraph * buf and replace with
4465         ParagraphList paragraphs.
4466         (DeleteBuffer): delete
4467         (cutSelection): change the tc type to textclass_type
4468         (copySelection): change the tc type to textclass_type
4469         (copySelection): adjust for ParagraphList
4470         (pasteSelection): change the tc type to textclass_type
4471         (pasteSelection): adjust for Paragraphlist
4472         (nrOfParagraphs): simplify for ParagraphList
4473         (checkPastePossible): simplify for ParagraphList
4474         (checkPastePossible): remove unused arg
4475
4476         * ParagraphList.C (insert): handle the case where there are no
4477         paragraphs yet.
4478
4479         * CutAndPaste.h: make CutAndPaste a namespace.
4480
4481         * text3.C (dispatch): adjust
4482
4483         * text.C (breakParagraph): add a ParagraphList as arg
4484
4485         * paragraph_funcs.C (breakParagraph): change to take a
4486         BufferParams and a ParagraphList as args.
4487         (breakParagraphConservative): ditto
4488         (mergeParagraph): ditto
4489         (TeXDeeper): add a ParagraphList arg
4490         (TeXEnvironment): ditto
4491         (TeXOnePar): ditto
4492
4493         * buffer.C (readLyXformat2): adjust
4494         (insertStringAsLines): adjust
4495         (latexParagraphs): adjust
4496
4497         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4498         (cutSelection): adjust
4499         (pasteSelection): adjust
4500
4501         * BufferView_pimpl.C (insertInset): adjust
4502
4503 2003-03-05  Angus Leeming  <leeming@lyx.org>
4504
4505         * commandtags.h:
4506         * LyXAction.C (init):
4507         * BufferView_pimpl.C (dispatch):
4508         * lyxfunc.C (getStatus):
4509         remove LFUN_CHILD_INSERT.
4510
4511         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4512
4513 2003-03-05  Angus Leeming  <leeming@lyx.org>
4514
4515         * commandtags.h:
4516         * LyXAction.C (init):
4517         * src/factory.C (createInset):
4518         * lyxfunc.C (getStatus):
4519         * text3.C (dispatch):
4520         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4521
4522         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4523
4524 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4525
4526         * ParagraphList.C (insert): handle insert right before end()
4527         (erase): fix cases where it can be first or last paragraph.
4528
4529 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4530
4531         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4532         Paragraph::next and Paragraph::previous
4533         (TeXOnePar): ditto
4534
4535         * text.C (breakParagraph): adjust
4536
4537         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4538         BufferParams& as arg.
4539         (breakParagraph): use ParagraphList::insert
4540         (breakParagraphConservative): take a Buffer* instead of a
4541         BufferParams& as arg.
4542         (breakParagraphConservative): use ParagraphList::insert.
4543
4544         * buffer.C (insertStringAsLines): un-const it
4545         (insertStringAsLines): adjust
4546
4547         * ParagraphList.C (insert): new function
4548
4549         * CutAndPaste.C (pasteSelection): adjust
4550
4551         * text.C (backspace): adjust
4552
4553         * tabular.C (SetMultiColumn): adjust
4554
4555         * CutAndPaste.C (cutSelection): adjust
4556         (pasteSelection): adjust
4557
4558         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4559         Buffer const * as arg
4560
4561         * ParagraphList.C (erase): new function
4562         * paragraph_funcs.C (mergeParagraph): use it
4563         (mergeParagraph): make it take a Buffer* instead of a
4564         BufferParams* as arg
4565
4566         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4567         as arg
4568         (breakParagraphConservative): ditto
4569
4570         * paragraph.h: remove the breakParagraph friend
4571
4572         * paragraph.C (eraseIntern): new function
4573         (setChange): new function
4574
4575         * paragraph_funcs.C (mergeParagraph): make it take a
4576         ParagraphList::iterator instead of a Paragraph *, adjust
4577         accordingly.
4578
4579         * paragraph.h: move an #endif so that the change tracking stuff
4580         also works in the NO_NEXT case.
4581
4582 2003-03-04  Angus Leeming  <leeming@lyx.org>
4583
4584         * commandtags.h:
4585         * LyXAction.C: new LFUN_INSET_MODIFY.
4586
4587         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4588         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4589
4590 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4591
4592         * several files: ws changes only
4593
4594         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4595         (TeXEnvironment): ditto
4596         (TeXDeeper): ditto
4597
4598         * buffer.C (makeLaTeXFile): adjust
4599         (latexParagraphs): make it take ParagraphList::iterator as args
4600
4601 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4602
4603         * buffer.C (latexParagraphs): adjust
4604
4605         * paragraph.C (TeXOnePar): move function...
4606         (optArgInset): move function...
4607         (TeXEnvironment): move function...
4608         * paragraph_pimpl.C (TeXDeeper): move function...
4609         * paragraph_funcs.C: ...here
4610
4611         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4612
4613 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4614
4615         * buffer.C (readInset): remove compability code for old Figure and
4616         InsetInfo insets
4617
4618 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4619
4620         * buffer.C: ws changes
4621         (readInset):
4622
4623         * BufferView_pimpl.C: ditto
4624         * author.C: ditto
4625         * buffer.h: ditto
4626         * bufferlist.h: ditto
4627         * changes.h: ditto
4628         * lyxfunc.C: ditto
4629
4630 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4631
4632         * converter.[Ch]: split into itself +
4633         * graph.[Ch]
4634         * format.[Ch]
4635         * Makefile.am: += graph.[Ch] + format.[Ch]
4636         * MenuBackend.C
4637         * buffer.C
4638         * exporter.C
4639         * importer.C
4640         * lyx_main.C
4641         * lyxfunc.C
4642         * lyxrc.C: added #include "format.h"
4643
4644 2003-02-27  Angus Leeming  <leeming@lyx.org>
4645
4646         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4647           a label.
4648
4649         * factory.C (createInset): add "label" to the factory.
4650
4651         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4652           string and do no more.
4653
4654 2003-02-27  Angus Leeming  <leeming@lyx.org>
4655
4656         * commandtags.h:
4657         * LyXAction.C (init):
4658         * factory.C (createInset):
4659         * BufferView_pimpl.C (dispatch):
4660           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4661
4662         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4663
4664         * lyxfunc.C (dispatch):
4665         * text3.C (dispatch): pass name to params2string.
4666
4667 2003-02-26  Angus Leeming  <leeming@lyx.org>
4668
4669         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4670           blocks together.
4671           Rearrange the ~includes. Strip out the unnecessary ones.
4672
4673         * factory.C (createInset): reformat.
4674           create new insets for the various LFUN_XYZ_APPLY lfuns.
4675
4676 2003-02-26  John Levon  <levon@movementarian.org>
4677
4678         * lyxrow.h:
4679         * lyxrow.C: add isParStart,isParEnd helpers
4680
4681         * paragraph.h: make isInserted/DeletedText take refs
4682
4683         * paragraph_funcs.h:
4684         * paragraph_funcs.C: remove #if 0'd code
4685
4686         * lyxtext.h:
4687         * text3.C:
4688         * text2.C:
4689         * text.C: use lyxrow helpers above.
4690           Move draw and paint routines to RowPainter.
4691           Make several methods use refs not pointers.
4692           Make backgroundColor() const.
4693           Add markChangeInDraw(), isInInset().
4694           Merge changeRegionCase into changeCase.
4695           Make workWidth() shouldn't-happen code into an Assert.
4696
4697         * rowpainter.h:
4698         * rowpainter.C: new class for painting a row.
4699
4700         * vspace.h:
4701         * vspace.C: make inPixels take a ref
4702
4703 2003-02-26  Angus Leeming  <leeming@lyx.org>
4704
4705         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4706         LFUN_REF_APPLY.
4707
4708 2003-02-25  John Levon  <levon@movementarian.org>
4709
4710         * ispell.C: give the forked command a more accurate name
4711
4712 2003-02-22  John Levon  <levon@movementarian.org>
4713
4714         * toc.h:
4715         * toc.C: make TocItem store an id not a Paragraph *
4716           (bug #913)
4717
4718 2003-02-21  Angus Leeming  <leeming@lyx.org>
4719
4720         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4721           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4722           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4723           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4724           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4725           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4726
4727         * BufferView_pimpl.C (dispatch):
4728         * LyXAction.C (init):
4729         * factory.C (createInset):
4730         * lyxfunc.C (getStatus, dispatch):
4731         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4732
4733 2003-02-21  Angus Leeming  <leeming@lyx.org>
4734
4735         * BufferView_pimpl.C (MenuInsertLyXFile):
4736         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4737         * lyxfunc.C (menuNew, open, doImport):
4738           no longer pass a LyXView & to fileDlg.
4739
4740 2003-02-21  Angus Leeming  <leeming@lyx.org>
4741
4742         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4743         * LyXAction.C: change, BIBKEY to BIBITEM.
4744         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4745         Change InsetBibKey to InsetBibitem.
4746         Change BIBKEY_CODE to BIBITEM_CODE.
4747         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4748         * factory.C: replace insetbib.h with insetbibitem.h.
4749         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4750         * paragraph.C: replace insetbib.h with insetbibitem.h.
4751         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4752         Change bibkey() to bibitem().
4753         * text.C: remove insetbib.h.
4754         * text2.C: replace insetbib.h with insetbibitem.h.
4755         change bibkey() to bibitem().
4756         * text3.C: remove insetbib.h.
4757         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4758
4759 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4760
4761         * lyxrc.C (output): enclose user email in quotes (in case there are
4762         several words)
4763
4764 2003-02-18  John Levon  <levon@movementarian.org>
4765
4766         * buffer.h: add std::
4767
4768 2003-02-17  John Levon  <levon@movementarian.org>
4769
4770         * SpellBase.h:
4771         * ispell.h:
4772         * ispell.C:
4773         * pspell.h:
4774         * pspell.C: reworking. Especially in ispell, a large
4775           number of clean ups and bug fixes.
4776
4777         * lyxfunc.C: fix revert to behave sensibly
4778
4779 2003-02-17 André Pönitz <poenitz@gmx.net>
4780
4781         * LyXAction.C:
4782         * commandtags.h: new LFUN_INSERT_BIBKEY
4783
4784         * layout.h:
4785         * lyxlayout.C:
4786         * buffer.C:
4787         * factory.C:
4788         * text.C:
4789         * text2.C:
4790         * text3.C:
4791         * paragraph.[Ch]:
4792         * paragraph_func.C: remove special bibkey handling
4793
4794 2003-02-17  John Levon  <levon@movementarian.org>
4795
4796         * text.C (Delete): fix case where delete at the end of
4797           the very first paragraph would not merge the pars
4798
4799 2003-02-17  John Levon  <levon@movementarian.org>
4800
4801         * lyxrow.C: fix lastPrintablePos()
4802
4803 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4804
4805         * bufferparams.C (writeLaTeX): add a std:here
4806
4807         * buffer.C: and remove a using directive there
4808
4809 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4810
4811         * buffer.C (makeLaTeXFile): move the code that generates the
4812           preamble...
4813
4814         * bufferparams.C (writeLaTeX): ... in this new method
4815
4816         * LaTeXFeatures.C (getEncodingSet): make const
4817           (getLanguages): make const
4818
4819         * MenuBackend.C (binding): returns the binding associated to this
4820           action
4821           (add): sets the status of each item by calling getStatus. Adds
4822           some intelligence.
4823           (read): add support for OptSubMenu
4824           (expand): remove extra separator at the end of expanded menu
4825
4826 2003-02-15  John Levon  <levon@movementarian.org>
4827
4828         * BufferView.C:
4829         * BufferView_pimpl.C:
4830         * bufferlist.h:
4831         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4832           inset code that had no actual effect. Remove unneeded status
4833           code.
4834
4835 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4836
4837         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4838           in preamble
4839
4840 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4841
4842         * text.C (drawLengthMarker): also draw an arrow marker for
4843           symbolic lengths (medskip...)
4844
4845 2003-02-14  John Levon  <levon@movementarian.org>
4846
4847         * tabular.h:
4848         * tabular.C: better method names
4849
4850 2003-02-14  John Levon  <levon@movementarian.org>
4851
4852         * BufferView_pimpl.C:
4853         * bufferlist.C:
4854         * buffer.C:
4855         * converter.C:
4856         * lyx_cb.C:
4857         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4858           it's a more accurate name. Remove some pointless uses.
4859
4860 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4861
4862         * text2.C (LyXText): change order of initilizers to shut off
4863           warnings
4864
4865 2003-02-14  John Levon  <levon@movementarian.org>
4866
4867         * buffer.C: use ParIterator for getParFromID()
4868
4869         * paragraph.h:
4870         * paragraph.C:
4871         * paragraph_pimpl.h:
4872         * paragraph_pimpl.C: remove unused getParFromID()
4873
4874 2003-02-14  John Levon  <levon@movementarian.org>
4875
4876         * buffer.C: remove some very old #if 0'd parse code
4877
4878 2003-02-13  John Levon  <levon@movementarian.org>
4879
4880         * text.h:
4881         * text.C:
4882         * text2.C: move hfillExpansion(), numberOfSeparators(),
4883           rowLast(), rowLastPrintable(), numberofHfills(),
4884           numberOfLabelHfills() ...
4885
4886         * lyxrow.h:
4887         * lyxrow.C: ... to member functions here.
4888
4889         * paragraph.h:
4890         * paragraph.C:
4891         * lyxtext.h:
4892         * text.C: remove LyXText::beginningOfMainBody(), and call
4893           p->beginningOfMainBody() directly. Move the check for
4894           LABEL_MANUAL into the latter.
4895
4896         * text.h:
4897         * text.C:
4898         * text2.C:
4899         * vspace.C:
4900         * BufferView.h:
4901         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4902
4903         * text.h:
4904         * text.C:
4905         * text2.C:
4906         * text3.C:
4907         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4908           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4909
4910 2003-02-13  John Levon  <levon@movementarian.org>
4911
4912         * CutAndPaste.C: remove debug
4913
4914 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4915
4916         * paragraph.C (asString): remove two unused variables
4917
4918         * lyxtextclass.C (readTitleType):
4919           (Read):
4920           (LyXTextClass): handle new members titletype_ and titlename_
4921
4922         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4923
4924 2003-02-09  John Levon  <levon@movementarian.org>
4925
4926         * buffer.h:
4927         * buffer.C: replace hand-coded list with a map for the dep clean
4928
4929 2003-02-08  John Levon  <levon@movementarian.org>
4930
4931         * LaTeX.C: consolidate code into showRunMessage() helper
4932
4933 2003-02-08  John Levon  <levon@movementarian.org>
4934
4935         * lyxfind.C:
4936         * lyxtext.h:
4937         * text2.C:
4938         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4939           and pass the size in explicitly
4940
4941         * BufferView_pimpl.h:
4942         * BufferView_pimpl.C:
4943         * BufferView.h:
4944         * BufferView.C: add getCurrentChange()
4945
4946         * BufferView_pimpl.h:
4947         * BufferView_pimpl.C: handle change lfuns
4948
4949         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4950           for changes. Mark pasted paragraphs as new.
4951
4952         * support/lyxtime.h:
4953         * support/lyxtime.C:
4954         * DepTable.C: abstract time_t as lyx::time_type
4955
4956         * LColor.h:
4957         * LColor.C: add colours for new text, deleted text, changebars
4958
4959         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4960           package use "usenames" option.
4961
4962         * commandtags.h:
4963         * lyxfunc.C:
4964         * LyXAction.C: add change lfuns
4965
4966         * Makefile.am:
4967         * author.h:
4968         * author.C: author handling
4969
4970         * buffer.h:
4971         * buffer.C: add a per-buffer author list, with first entry as
4972           current author. Handle new .lyx tokens for change tracking. Output
4973           author list to .lyx file. Output dvipost stuff to .tex preamble.
4974           Bump lyx format to 222.
4975
4976         * bufferlist.h:
4977         * bufferlist.C: add setCurrentAuthor() to reset current author details
4978           in all buffers.
4979
4980         * bufferparams.h:
4981         * bufferparams.C: add param for tracking
4982
4983         * bufferview_funcs.C: output change info in minibuffer
4984
4985         * Makefile.am:
4986         * changes.h:
4987         * changes.C: add change-tracking structure
4988
4989         * debug.h:
4990         * debug.C: add CHANGES debug flag
4991
4992         * lyxfind.h:
4993         * lyxfind.C: add code for finding the next change piece
4994
4995         * lyxrc.h:
4996         * lyxrc.C: add user_name and user_email
4997
4998         * lyxrow.h:
4999         * lyxrow.C: add a metric for the top of the text line
5000
5001         * lyxtext.h:
5002         * text.C: implement accept/rejectChange()
5003
5004         * lyxtext.h:
5005         * text.C: paint changebars. Paint new/deleted text in the chosen
5006         colours. Strike through deleted text.
5007
5008         * paragraph.h:
5009         * paragraph.C:
5010         * paragraph_pimpl.h:
5011         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5012           in the current change to the insert functions. Rework erase to
5013           mark text as deleted, adding an eraseIntern() and a range-based
5014           erase(). Implement per-paragraph change lookup and
5015           accept/reject.
5016
5017         * paragraph_funcs.C: Fixup paste for change tracking.
5018
5019         * tabular.C: mark added row/columns as new.
5020
5021         * text.C: fix rowLast() to never return -1. Don't allow
5022           spellchecking of deleted text. Track transpose changes. Don't
5023           allow paragraph break or merge where appropriate.
5024
5025         * text2.C: leave cursor at end of selection after a cut.
5026
5027 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5028
5029         * text.C (getLengthMarkerHeight):
5030         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5031         visible on screen too.
5032
5033 2003-02-07  John Levon  <levon@movementarian.org>
5034
5035         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5036
5037 2003-02-05  Angus Leeming  <leeming@lyx.org>
5038
5039         * lyxserver.C (read_ready): revert my patch of 11 September last year
5040         as it sends PC cpu through the roof. Presumably this means that
5041         the lyxserver will no longer run on an Alpha...
5042
5043 2003-01-30  Angus Leeming  <leeming@lyx.org>
5044
5045         * factory.C (createInset): create an InsetCommandParam of type "index"
5046         and use it to 'do the right thing'.
5047
5048         * text2.C (getStringToIndex): ensure that cursor position is always
5049         reset to the reset_cursor position.
5050
5051 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5052
5053         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5054         disabled.
5055
5056 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5057
5058         * bufferview.C:
5059         * lyxcb.C:
5060         * lyxfunc.C: Output messages with identical spelling, punctuation,
5061         and spaces
5062
5063 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5064
5065         * MenuBackend.C (expandFormats): List only viewable export formats
5066         in "View" menu
5067
5068         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5069         message
5070
5071         * lyxfunc.C (getStatus): Make sure that formats other than
5072         "fax" can also be disabled
5073
5074 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5075
5076         * text3.C (dispatch): put the lfuns that insert insets in 3
5077         groups, and call doInsertInset with appropriate arguments.
5078         (doInsertInset): new function, that creates an inset and inserts
5079         it according to some boolean parameters.
5080
5081 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5082
5083         * buffer.C (readFile): remember to pass on 'par' when calling
5084         readFile recursively.
5085
5086 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5087
5088         * MenuBackend.C (expandFormats): add "..." to import formats.
5089
5090 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5091
5092         * paragraph.C (asString): Remove XForms RTL hacks.
5093
5094 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5095         * buffer.C: fix typo
5096
5097 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5098
5099         * Makefile.am (LIBS): delete var
5100         (lyx_LDADD): add @LIBS@ here instead.
5101
5102 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5103
5104         * Clarify the meaning of "wheel mouse jump"
5105
5106 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5107
5108         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5109         tabular in a float
5110
5111 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5112
5113         * importer.C (Loaders): do not preallocate 3 elements in the
5114         vector, since one ends up with 6 elements otherwise
5115
5116 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5117
5118         * DepTable.C (write): write the file name as last element of the
5119         .dep file (because it may contain spaces)
5120         (read): read info in the right order
5121
5122 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5123
5124         * paragraph_pimpl.C (simpleTeXBlanks):
5125         (simpleTeXSpecialChars):
5126         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5127
5128         * tabular.C (latex): add some missing case statements. Reindent.
5129
5130         * MenuBackend.C (expandToc): remove unused variable.
5131
5132 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5133
5134         * LColor.C:
5135         * LaTeX.C:
5136         * LyXAction.C:
5137         * MenuBackend.C:
5138         * buffer.C:
5139         * exporter.C:
5140         * lyxfunc.C:
5141         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5142         and the like.
5143
5144 2003-01-05  John Levon  <levon@movementarian.org>
5145
5146         * BufferView.h:
5147         * BufferView.C: add getEncoding()
5148
5149         * kbsequence.h:
5150         * kbsequence.C: do not store last keypress
5151
5152         * lyxfunc.h:
5153         * lyxfunc.C: store last keypress here instead. Pass encoding
5154           to getISOEncoded()
5155
5156 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5157
5158         * lyx_main.C (init): remove annoying error message when following
5159         symbolic links (bug #780)
5160
5161 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5162
5163         * text.C (insertChar):
5164         * lyxrc.C (getDescription): remove extra spaces
5165
5166 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5167
5168         * lyxrc.C (getDescription): remove extra spaces
5169
5170 2002-12-20  John Levon  <levon@movementarian.org>
5171
5172         * text3.C: hack fix for page up/down across tall rows
5173
5174 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5175
5176         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5177         not been invoked
5178
5179 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5180
5181         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5182         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5183         thesaurus is not compiled in
5184
5185 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5186
5187         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5188
5189 2002-12-16  Angus Leeming  <leeming@lyx.org>
5190
5191         * lyxrc.[Ch]:
5192         * lyx_main.C (init): remove override_x_deadkeys stuff.
5193
5194 2002-12-12  John Levon  <levon@movementarian.org>
5195
5196         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5197           insert. Only remove shift modifier under strict
5198           circumstances.
5199
5200 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * MenuBackend.C (expandToc): fix crash.
5203
5204 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5205
5206         * MenuBackend.C (expandToc): gettext on float names.
5207
5208 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5209
5210         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5211         implement bool empty() [bug 490]
5212
5213 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5214
5215         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5216
5217 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5218
5219         * several files: ws changes
5220
5221 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5222
5223         * text2.C (setCounter): clean up a bit, use boost.format.
5224         (updateCounters): initialize par upon declaration.
5225
5226         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5227         if the layout exists. We do not just store the layout any more.
5228         (SwitchLayoutsBetweenClasses): use boost.format
5229
5230 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5231
5232         * converter.C (convert): if from and to files are the same, use a
5233         temporary files as intermediary
5234
5235 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5236
5237         * commandtags.h:
5238         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5239
5240 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5241
5242         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5243
5244 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5245
5246         * tabular.C (asciiPrintCell): use string(size, char) instead of
5247         explicit loop.
5248
5249         * sgml.C (openTag): fix order of arguments to string constructor
5250         (closeTag): ditto
5251
5252         * lyxfunc.C (dispatch): use boost.format
5253
5254         * lots of files: change "c" -> 'c'
5255
5256 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5257
5258         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5259
5260 2002-11-25  Angus Leeming  <leeming@lyx.org>
5261
5262         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5263
5264         * lyx_main.C (init): compile fix.
5265
5266 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5267
5268         * lyx_cb.C (start): boost.formatify
5269         do not include <iostream>
5270
5271         * lengthcommon.C: ws only
5272
5273         * boost-inst.C,BoostFormat.h: add more explict instantations
5274
5275 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5276
5277         * lots of files: handle USE_BOOST_FORMAT
5278
5279 2002-11-21  John Levon  <levon@movementarian.org>
5280
5281         * pspell.C: fix compile
5282
5283 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5284
5285         * lyxfunc.C (dispatch): use boost::format
5286         (open): ditto
5287         (doImport): ditto
5288
5289         * lyxfont.C (stateText): use boost::format
5290
5291         * lyx_main.C (LyX): use boost::format
5292         (init): ditto
5293         (queryUserLyXDir): ditto
5294         (readRcFile): ditto
5295         (parse_dbg): ditto
5296         (typedef boost::function): use the recommened syntax.
5297
5298         * importer.C (Import): use boost::format
5299
5300         * debug.C (showLevel): use boost::format
5301
5302         * converter.C (view): use boost::format
5303         (convert): ditto
5304         (move): ditto
5305         (scanLog): ditto
5306
5307         * bufferview_funcs.C (currentState): use boost::format
5308
5309         * bufferlist.C (emergencyWrite): use boost::format
5310
5311         * buffer.C (readLyXformat2): use boost::format
5312         (parseSingleLyXformat2Token): ditto
5313
5314         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5315
5316         * LaTeX.C (run): use boost::format
5317
5318         * Chktex.C (scanLogFile): use boost::format
5319
5320         * BufferView_pimpl.C (savePosition): use boost::format
5321         (restorePosition): ditto
5322         (MenuInsertLyXFile): ditto
5323
5324         * BoostFormat.h: help file for explicit instation.
5325
5326 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5327
5328         * tabular.C (latex): Support for block alignment in fixed width
5329         columns.
5330
5331 2002-11-17  John Levon  <levon@movementarian.org>
5332
5333         * BufferView_pimpl.C:
5334         * lyx_cb.C:
5335         * lyxfunc.C: split filedialog into open/save
5336
5337 2002-11-08  Juergen Vigna  <jug@sad.it>
5338
5339         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5340         by my last patch (hopefully).
5341
5342 2002-11-08  John Levon  <levon@movementarian.org>
5343
5344         * iterators.h:
5345         * iterators.C:
5346         * buffer.h:
5347         * buffer.C:
5348         * paragraph.h:
5349         * paragraph.C:
5350         * toc.h:
5351         * toc.C: ParConstIterator, and use it (from Lars)
5352
5353 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5354
5355         * lyxtextclass.[Ch]: revise and add doxygen comments
5356
5357 2002-11-07  John Levon  <levon@movementarian.org>
5358
5359         * text.C: fix progress value for spellchecker
5360
5361         * toc.C: fix navigate menu for insetwrap inside minipage
5362
5363         * paragraph_funcs.C: added FIXME for suspect code
5364
5365 2002-11-07  John Levon  <levon@movementarian.org>
5366
5367         * BufferView_pimpl.C: fix redrawing of insets
5368           on buffer switch
5369
5370 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5371
5372         * text2.C (updateCounters): fix bug 668
5373
5374 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5375
5376         * text3.C (dispatch): Do not make the buffer dirty when moving the
5377         cursor.
5378
5379 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5380
5381         * vc-backend.C: STRCONV
5382         (scanMaster): ditto
5383
5384         * text2.C (setCounter): STRCONV
5385
5386         * paragraph.C (asString): STRCONV
5387
5388         * lyxlength.C (asString): STRCONV
5389         (asLatexString): ditto
5390
5391         * lyxgluelength.C (asString): STRCONV
5392         (asLatexString): ditto
5393
5394         * lyxfunc.C (dispatch): STRCONV
5395         (open): ditto
5396
5397         * lyxfont.C (stateText): STRCONV
5398
5399         * importer.C (Import): STRCONV
5400
5401         * counters.C (labelItem): STRCONV
5402         (numberLabel): ditto
5403         (numberLabel): remove unused ostringstream o
5404
5405         * chset.C: STRCONV
5406         (loadFile): ditto
5407
5408         * bufferview_funcs.C (currentState): STRCONV
5409
5410         * buffer.C (readFile): STRCONV
5411         (asciiParagraph): ditto
5412         (makeLaTeXFile): ditto
5413
5414         * Spacing.C (writeEnvirBegin): STRCONV
5415
5416         * LaTeXFeatures.C (getLanguages): STRCONV
5417         (getPackages): ditto
5418         (getMacros): ditto
5419         (getBabelOptions): ditto
5420         (getTClassPreamble): ditto
5421         (getLyXSGMLEntities): ditto
5422         (getIncludedFiles): ditto
5423
5424         * LaTeX.C: STRCONV
5425         (run): ditto
5426         (scanAuxFile): ditto
5427         (deplog): ditto
5428
5429         * LString.h: add the STRCONV macros
5430
5431         * BufferView_pimpl.C (savePosition): STRCONV
5432         (restorePosition): ditto
5433         (MenuInsertLyXFile): ditto
5434
5435         * vc-backend.C (scanMaster): change from submatch[...] to
5436         submatch.str(...)
5437
5438         * funcrequest.C: include config.h
5439
5440         * factory.C: include config.h
5441
5442         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5443
5444         * box.C: include config.h
5445
5446         * LaTeX.C (scanAuxFile): change from submatch[...] to
5447         submatch.str(...)
5448         (deplog): ditto
5449
5450 2002-10-25  Angus Leeming  <leeming@lyx.org>
5451
5452         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5453
5454         * ispell.[Ch] (setError): new method.
5455         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5456         Use setError() insetead of goto END.
5457
5458         * lyx_cb.C (AutoSave): move out child process into new class
5459         AutoSaveBuffer.
5460
5461 2002-10-30  John Levon  <levon@movementarian.org>
5462
5463         * text3.C: make start appendix undoable
5464
5465 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5466
5467         * lyxlength.C (inPixels): Fix returned value.
5468
5469         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5470         environment.
5471
5472 2002-10-24  Angus Leeming  <leeming@lyx.org>
5473
5474         * lyxgluelength.h: no need to forward declare BufferParams
5475         or BufferView, so don't.
5476
5477 2002-10-21  John Levon  <levon@movementarian.org>
5478
5479         * BufferView.C: menuUndo ->undo, redo
5480
5481         * BufferView.h: document, remove dead, make some methods private
5482
5483         * paragraph_funcs.h:
5484         * paragraph_funcs.C:
5485         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5486
5487         * buffer.h:
5488         * buffer.C:
5489         * sgml.h:
5490         * sgml.C: move sgml open/close tag into sgml.C
5491
5492         * bufferview_funcs.h: unused prototype
5493
5494         * lyxfunc.h:
5495         * lyxfunc.C: remove unused
5496
5497         * lyxtext.h:
5498         * text.C: remove unused
5499
5500 2002-10-21  John Levon  <levon@movementarian.org>
5501
5502         * BufferView.h:
5503         * BufferView.C:
5504         * BufferView_pimpl.h:
5505         * BufferView_pimpl.C: fix mouse wheel handling based on
5506           patch from Darren Freeman
5507
5508 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5509
5510         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5511
5512 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5513
5514         * lyxlength.C (inPixels): Fix hanfling of negative length.
5515         Fix LyXLength::MU case.
5516
5517 2002-10-16  John Levon  <levon@movementarian.org>
5518
5519         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5520
5521 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5522
5523         * converter.C (view): add support for $$i (file name) and $$p
5524         (file path) for the viewer command. If $$i is not specified, then
5525         it is appended to the command (for compatibility with old syntax)
5526
5527 2002-10-14  Juergen Vigna  <jug@sad.it>
5528
5529         * undo_funcs.C (textHandleUndo): alter the order in which the
5530         new undopar is added to the LyXText, as we have to set first
5531         the right prev/next and then add it as otherwise the rebuild of
5532         LyXText is not correct. Also reset the cursor to the right paragraph,
5533         with this IMO we could remove the hack in "redoParagraphs()".
5534
5535 2002-10-09  Angus Leeming  <leeming@lyx.org>
5536
5537         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5538         to turn off an optimisation if a new inset is to be inserted.
5539
5540 2002-10-11 André Pönitz <poenitz@gmx.net>
5541
5542         * lyxtext.h: make some functions public to allow access
5543         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5544
5545 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5546
5547         * text3.C (dispatch): when changing layout, avoid an infinite loop
5548         [bug #652]
5549
5550 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5551
5552         * lyxrc.C (read): treat a viewer or converter command of "none" as
5553         if it were empty.
5554
5555         * MenuBackend.C (expandFormats): for an update, also allow the
5556         formats that are not viewable
5557
5558         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5559         script if it is newer than the lyxrc.defaults in user directory
5560
5561 2002-10-07 André Pönitz <poenitz@gmx.net>
5562
5563         * text.C: Vitaly Lipatov's small i18n fix
5564
5565 2002-09-25  Angus Leeming  <leeming@lyx.org>
5566
5567         * ispell.h: doxygen fix.
5568
5569 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5570
5571         * buffer.h (readFile): Add a new argument to the method, to allow
5572         reading of old-format templates.
5573
5574 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5575
5576         * toc.C (getTocList): Get TOC from InsetWrap.
5577
5578 2002-09-16  John Levon  <levon@movementarian.org>
5579
5580         * lyxfunc.C: check tabular for cut/copy too
5581
5582 2002-09-12  John Levon  <levon@movementarian.org>
5583
5584         * LyXAction.C: tidy
5585
5586         * factory.h:
5587         * factory.C: add header
5588
5589         * paragraph_funcs.h:
5590         * paragraph_funcs.C: cleanup
5591
5592 2002-09-11  John Levon  <levon@movementarian.org>
5593
5594         * PrinterParams.h: odd/even default to true
5595
5596 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5597
5598         * PrinterParams.h: update printer parameters for new xforms dialog
5599
5600 2002-09-11  Angus Leeming  <leeming@lyx.org>
5601
5602         * lyxserver.C (read_ready): re-write to make it more transparent
5603         and to make it work in coherent fashion under Tru64 Unix.
5604
5605 2002-09-11  André Pönitz <poenitz@gmx.net>
5606
5607         * commandtags.h:
5608         * LyXAction.C:
5609         * text3.C: implement LFUN_WORDSEL
5610
5611 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5612
5613         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5614         make floatlist_ a boost::shared_ptr<FloatList>
5615
5616         * lyxtextclass.C: include FloatList.h
5617         (LyXTextClass): initialize floatlist_
5618         (TextClassTags): add TC_NOFLOAT
5619         (Read): match "nofloat" to TC_NOFLOAT and use it.
5620         (readFloat): modify call to floatlist_
5621         (floats): ditto
5622         (floats): ditto
5623
5624         * FloatList.[Ch] (FloatList): remove commented out float
5625         initialization.
5626         (erase): new function
5627
5628 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5629
5630         * MenuBackend.C (expandToc): fix crash when there is no document
5631         open
5632
5633 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5634
5635         * many files: Add insetwrap.
5636
5637 2002-09-09  John Levon  <levon@movementarian.org>
5638
5639         * text2.C: remove confusing and awkward depth wraparound
5640
5641 2002-09-09  John Levon  <levon@movementarian.org>
5642
5643         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5644
5645         * buffer.h:
5646         * buffer.C: remove getIncludeonlyList()
5647
5648         * paragraph.C:
5649         * lyxfunc.C: remove headers
5650
5651 2002-09-09  Juergen Vigna  <jug@sad.it>
5652
5653         * text.C (getColumnNearX): fix form Michael this is most
5654         probably a cut&paste bug.
5655
5656 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5657
5658         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5659
5660         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5661         references, ws changes.
5662
5663         * text2.C (init): update counters after init
5664         (insertParagraph): no need to set counter on idividual paragraphs.
5665         (setCounter): access the counters object in the textclass object
5666         on in the buffer object.
5667         (updateCounters): ditto
5668
5669         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5670         shared_ptr<Counters> to avoid loading counters.h in all
5671         compilation units.
5672         (LyXTextClass): initialize ctrs_
5673         (TextClassTags): add TC_COUNTER, and ...
5674         (Read): use it here.
5675         (CounterTags): new tags
5676         (readCounter): new function
5677         (counters): new funtion
5678         (defaultLayoutName): return a const reference
5679
5680         * counters.C (Counters): remove contructor
5681         (newCounter): remove a couple of unneeded statements.
5682         (newCounter): simplify a bit.
5683         (numberLabel): some small formatting changes.
5684
5685         * buffer.[Ch]: remove all traces of counters, move the Counters
5686         object to the LyXTextClass.
5687
5688 2002-09-06  Alain Castera  <castera@in2p3.fr>
5689
5690         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5691         package to set the horizontal alignment on fixed width columns.
5692
5693         * lyx_sty.C:
5694         * lyx_sty.h: added tabularnewline macro def.
5695
5696         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5697
5698 2002-09-06  John Levon  <levon@movementarian.org>
5699
5700         * LyXAction.C: tooltips for sub/superscript
5701
5702         * MenuBackend.C: a bit more verbose
5703
5704         * lyxfunc.C: tiny clean
5705
5706         * undo_funcs.C: document undo_frozen
5707
5708 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5709
5710         * counters.C (Counters): add missing algorithm counter.
5711
5712         * text2.C (setCounter): lookup the counter with layouts latexname
5713         instead of by section number.
5714         (setCounter): use a hackish way to lookup the correct enum
5715         counter.
5716         a float name->type change
5717         reset enum couners with counter name directly instead of depth value.
5718
5719         * counters.C (Counters): remove the push_backs, change to use the
5720         float type not the float name.
5721         (labelItem): remove unused string, float name->type change
5722
5723         * counters.h: don't include vector, loose the enums and sects vectors
5724
5725 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5726
5727         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5728         (Read): add float->TC_FLOAT to textclassTags
5729         (Read): and handle it in the switch
5730         (readFloat): new function
5731
5732         * FloatList.C (FloatList): comment out the hardcoded float
5733         definitions.
5734
5735         * lyxlayout.h: ws change.
5736
5737 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5738
5739         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5740
5741 2002-09-03  Angus Leeming  <leeming@lyx.org>
5742
5743         * BufferView_pimpl.h: qualified name is not allowed in member
5744         declaration: WorkArea & Pimpl::workarea() const;
5745
5746         * factory.C: added using std::endl directive.
5747
5748         * text3.C: added using std::find and std::vector directives.
5749
5750 2002-08-29  André Pönitz <poenitz@gmx.net>
5751
5752         * lyxtext.h:
5753         * text2.C: remove unused member number_of_rows
5754
5755         * Makefile.am:
5756         * BufferView2.C: remove file, move contents to...
5757         * BufferView.C: ... here
5758
5759         * BufferView_pimpl.C:
5760         * factory.C: move more inset creation to factory
5761
5762         * vspace.C: avoid direct usage of LyXText, ws changes
5763
5764         * BufferView.[Ch]:
5765                 don't provide direct access to WorkArea, use two simple
5766                 acessors haveSelction() and workHeight() instead
5767
5768
5769 2002-08-29  John Levon  <levon@movementarian.org>
5770
5771         * BufferView_pimpl.C (dispatch): do not continue when
5772           no buffer
5773
5774 2002-08-28  André Pönitz <poenitz@gmx.net>
5775
5776         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5777
5778         * BufferView.h:
5779         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5780
5781 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5782
5783         * buffer.C: increment LYX_FORMAT to 221
5784
5785         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5786         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5787
5788         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5789
5790         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5791
5792 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5793
5794         * factory.C (createInset): use LyXTextClass::floats
5795
5796         * MenuBackend.C (expandFloatListInsert):
5797         (expandFloatInsert):
5798         (expandToc):
5799
5800         * text2.C (setCounter):
5801
5802         * LaTeXFeatures.C (useFloat):
5803         (getFloatDefinitions):
5804
5805         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5806
5807         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5808         floatlist_, with accessor floats().
5809
5810         * FloatList.h: remove global FloatList
5811
5812 2002-08-26  André Pönitz <poenitz@gmx.net>
5813
5814         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5815
5816         * BufferView.h:
5817         * BufferView2.C:
5818         * BufferView_pimpl.C:
5819         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5820
5821 2002-08-25  John Levon  <levon@movementarian.org>
5822
5823         * LyXAction.C: fix margin note description
5824
5825 2002-08-24  John Levon  <levon@movementarian.org>
5826
5827         * buffer.C:
5828         * bufferlist.C:
5829         * bufferview_funcs.C:
5830         * lyxfont.C:
5831         * undo_funcs.C: cleanups
5832
5833         * lyxfunc.C: disable CUT/COPY when no selection
5834
5835 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5836
5837         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5838         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5839
5840         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5841         Add backward compatibility to "mono", "gray" and "no".
5842
5843 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5844
5845         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5846         (and file_format >= 200).
5847
5848 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5849
5850         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5851
5852 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5853
5854         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5855
5856 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5857
5858         * BufferView_pimpl.C:
5859         * LyXAction.C:
5860         * buffer.C:
5861         * commandtags.h:
5862         * lyxfunc.C:
5863         * paragraph.[Ch]:
5864         * text2.C:
5865         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5866         inset and code to make it  work with the paragraph code. The inset
5867         can be anywhere in the paragraph, but will only do the expected
5868         thing in LaTeX if the layout file contains the parameter line
5869                         OptionalArgs    1
5870         (or more generally, a nonzero value) for that layout.
5871
5872 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5873
5874         * paragraph.h: remove the declaration of undefined counters class
5875         function.
5876
5877 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5878
5879         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5880         Dr. Richard Hawkins.
5881
5882 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5883
5884         * paragraph_funcs.h: remove some unneeded includes
5885
5886         * text.C (backspace): pasteParagraph now in global scipe
5887
5888         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5889         (pasteSelection): ditto
5890
5891         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5892         * paragraph_funcs.C (pasteParagraph): ... here
5893
5894 2002-08-20  André Pönitz <poenitz@gmx.net>
5895
5896         * commandtags.h: new LFUNs for swapping/copying table row/colums
5897
5898         * LyXAction.C:
5899         * lyxfunc.C: support for new lfuns
5900
5901 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5902
5903         * tabular.C:
5904         * buffer.[Ch]: remove NO_COMPABILITY stuff
5905
5906 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5907
5908         * boost.C (throw_exception): new file, with helper function for
5909         boost compiled without exceptions.
5910
5911         * paragraph.h:
5912         * lyxlength.C:
5913         * buffer.C:
5914         * ParameterStruct.h:
5915         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5916
5917         * bufferlist.C (emergencyWriteAll): use boost bind
5918
5919         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5920
5921         * text.C: include paragraph_funcs.h
5922         (breakParagraph): breakParagraph is now in global scope
5923
5924         * paragraph_funcs.[Ch]: new files
5925
5926         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5927         global scope
5928
5929         * buffer.C: include paragraph_funcs.h
5930         (insertStringAsLines): breakParagraph is now in global scope
5931
5932         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5933         paragraph_funcs.C
5934
5935         * CutAndPaste.C: include paragraph_funcs.h
5936         (cutSelection): breakParagraphConservative is now in global scope
5937         (pasteSelection): ditto
5938
5939         * buffer.h: declare oprator== and operator!= for
5940         Buffer::inset_iterator
5941
5942         * bufferlist.C (emergencyWrite): don't use fmt(...)
5943
5944         * text3.C: add using std::endl
5945
5946         * BufferView.C (moveCursorUpdate): remove default arg
5947
5948 2002-08-20  André Pönitz <poenitz@gmx.net>
5949
5950         * buffer.[Ch]: move inline functions to .C
5951
5952         * BufferView2.C:
5953         * BufferView_pimpl.C:
5954         * text.C:
5955         * buffer.[Ch]: use improved inset_iterator
5956
5957         * buffer.C:
5958         * paragraph.[Ch]: write one paragraph at a time
5959
5960 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5961
5962         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5963         style if style is not specified.
5964
5965 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5966
5967         * text2.C (setCounter): when searching for right label for a
5968         caption, make sure to recurse to parent insets (so that a caption
5969         in a minipage in a figure float works) (bug #568)
5970
5971 2002-08-20  André Pönitz <poenitz@gmx.net>
5972
5973         * text3.C: new file for LyXText::dispatch() and helpers
5974
5975         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5976
5977         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5978
5979 2002-08-19  André Pönitz <poenitz@gmx.net>
5980
5981         * lyxtext.h:
5982         * text.C: new LyXText::dispatch()
5983
5984         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5985
5986 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5987
5988         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5989
5990         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5991         Hebrew text.
5992
5993 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5994
5995         * Makefile.am: use $(variables) instead of @substitutions@
5996
5997 2002-08-15  André Pönitz <poenitz@gmx.net>
5998
5999         * lyxfunc.C:
6000         * BufferView_pimpl.C: streamlining mathed <-> outer world
6001         interaction
6002
6003         * commandtags.h:
6004         * LyXAction.C: remove unused LFUN_MATH
6005
6006 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6007
6008         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6009
6010 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6011
6012         * paragraph.C (Paragraph): reformat a bit
6013         (cutIntoMinibuffer): use builtin InsetList function instad of
6014         doing it manually.
6015         (getInset): ditto
6016
6017         * buffer.C: include boost/bind.hpp, add using std::for_each
6018         (writeFileAscii): use ParagraphList iterators
6019         (validate): use for_each for validate traversal of paragraphs
6020         (getBibkeyList): use ParagraphList iterators
6021         (resizeInsets): use for_each to resizeInsetsLyXText for all
6022         paragraphs.
6023         (getParFromID): use ParagraphList iterators
6024
6025         * BufferView2.C (lockInset): use paragraph list and iterators
6026
6027 2002-08-14  John Levon  <levon@movementarian.org>
6028
6029         * lyxserver.C: remove spurious xforms include
6030
6031 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6032
6033         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6034
6035 2002-08-13  André Pönitz <poenitz@gmx.net>
6036
6037         * LyXAction.[Ch]:
6038         * lyxfunc.C: further cleaning
6039
6040 2002-08-13  André Pönitz <poenitz@gmx.net>
6041
6042         * funcrequest.h: new constructor
6043
6044         * funcrequest.C: move stuff here from .h
6045
6046         * Makefile.am:
6047         * BufferView_pimpl.C:
6048         * LyXAction.C:
6049         * toc.C:
6050         * lyxfunc.C: subsequent changes
6051
6052         * lyxfunc.h: new view() member function
6053
6054         * lyxfunc.C: subsequent changes
6055
6056 2002-08-13  Angus Leeming  <leeming@lyx.org>
6057
6058         * BufferView2.C:
6059         * BufferView_pimpl.C:
6060         * buffer.C:
6061         * converter.C:
6062         * importer.C:
6063         * lyxfunc.C:
6064         * lyxvc.C:
6065         * toc.C:
6066         * vc-backend.C:
6067         changes due to the changed LyXView interface that now returns references
6068         to member variables not pointers.
6069
6070 2002-08-13  Angus Leeming  <leeming@lyx.org>
6071
6072         * WordLangTuple (word, lang_code): return references to strings,
6073         not strings.
6074
6075         * BufferView.h:
6076         * SpellBase.h:
6077         * lyxtext.h: forward-declare WordLangTuple.
6078
6079         * BufferView2.C:
6080         * ispell.C:
6081         * pspell.C:
6082         * text.C: #include "WordLangTuple.h".
6083
6084         * lyxtext.h:
6085         * text.C: (selectNextWordToSpellcheck): constify return type.
6086
6087 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6088
6089         * buffer.C:
6090         * buffer.h:
6091         * lyxtext.h:
6092         * paragraph.C:
6093         * paragraph_pimpl.h:
6094         * text.C:
6095         * text2.C:
6096         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6097         suggested by Angus.
6098         Made updateCounter always count from start of buffer, and removed
6099         second argument (par).
6100         Reverted floats number display to '#'. Perhaps I'll try again when the
6101         code base is sanitized a bit.
6102
6103 2002-08-12  Angus Leeming  <leeming@lyx.org>
6104
6105         * buffer.[Ch] (getLabelList): constify.
6106
6107 2002-08-07  André Pönitz <poenitz@gmx.net>
6108
6109         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6110
6111         * funcrequest.h: extension to keep mouse (x,y) position
6112
6113 2002-08-12  Juergen Vigna  <jug@sad.it>
6114
6115         * BufferView2.C (insertErrors): forbid undo when inserting error
6116         insets.
6117
6118         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6119
6120 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6121
6122         * ParagraphList.[Ch]: new files
6123
6124         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6125
6126         * BufferView2.C (lockInset): ParagraphList changes
6127         * toc.C: ditto
6128         * text2.C: ditto
6129         * bufferlist.C: ditto
6130         * buffer.h: ditto
6131         * buffer.C: ditto
6132
6133 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6134
6135         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6136         unused class variable counter_,
6137
6138         * paragraph.[Ch] (getFirstCounter): delete unused function
6139
6140         * counters.C: include LAssert.h
6141         (reset): add a new function with no arg, change other version to
6142         not have def. arg and to not allow empty arg.
6143
6144         * text2.C (setCounter): remove empty arg from call to Counters::reset
6145
6146 2002-08-11  John Levon  <levon@movementarian.org>
6147
6148         * Makefile.am: add WordLangTuple.h
6149
6150 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6151
6152         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6153         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6154
6155         * insets/insettext.C: InsetList changes
6156
6157         * graphics/GraphicsSupport.C (operator()): InsetList changes
6158
6159         * toc.C (getTocList): InsetList changes
6160
6161         * paragraph_pimpl.[Ch]: InsetList changes
6162
6163         * paragraph.[Ch]: InsetList changes
6164
6165         * buffer.C (inset_iterator): InsetList changes
6166         (setParagraph): ditto
6167         * buffer.h (inset_iterator): ditto
6168         * iterators.C (operator++): ditto
6169         * iterators.h: ditto
6170
6171         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6172
6173         * InsetList.[Ch]: new files, most InsetList handling moved out of
6174         paragraph.C.
6175
6176         * BufferView2.C (removeAutoInsets): InsetList changes
6177         (lockInset): ditto
6178         (ChangeInsets): ditto
6179
6180 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6181
6182         * paragraph_pimpl.h (empty): new function
6183
6184         * paragraph.[Ch] (empty): new function
6185
6186         * other files: use the new Paragraph::empty function
6187
6188 2002-08-09  John Levon  <levon@movementarian.org>
6189
6190         * lyxtext.h: remove unused refresh_height
6191
6192 2002-08-09  John Levon  <levon@movementarian.org>
6193
6194         * Makefile.am:
6195         * sgml.h:
6196         * sgml.C:
6197         * buffer.C:
6198         * paragraph.h:
6199         * paragraph.C: move sgml char escaping out of paragraph
6200
6201         * paragraph.h:
6202         * paragraph.C: remove id setter
6203
6204         * buffer.C:
6205         * paragraph.C:
6206         * paragraph_pimpl.C: remove dead tex_code_break_column
6207
6208         * bufferview_funcs.C: small cleanup
6209
6210         * lyxfunc.C: remove dead proto
6211
6212         * lyxtext.h: make some stuff private. Remove some dead stuff.
6213
6214         * lyxgluelength.C: make as[LyX]String() readable
6215
6216 2002-08-08  John Levon  <levon@movementarian.org>
6217
6218         * LyXAction.h:
6219         * LyXAction.C:
6220         * MenuBackend.C:
6221         * ToolbarDefaults.C:
6222         * lyxfunc.C:
6223         * lyxrc.C:
6224         * toc.C: lyxaction cleanup
6225
6226 2002-08-08  John Levon  <levon@movementarian.org>
6227
6228         * BufferView2.C: small cleanup
6229
6230         * lyxfind.h:
6231         * lyxfind.C: move unnecessary header into the .C
6232
6233 2002-08-08  John Levon  <levon@movementarian.org>
6234
6235         * funcrequest.h: just tedious nonsense
6236
6237         * lyx_main.h:
6238         * lyx_main.C: cleanups
6239
6240         * buffer.C:
6241         * vspace.C: remove dead header lyx_main.h
6242
6243 2002-08-07  Angus Leeming  <leeming@lyx.org>
6244
6245         * Paragraph.[Ch]:
6246         * paragraph_pimpl.h:
6247         Forward declare class Counters in paragraph.h by moving the ctrs member
6248         variable into Paragraph::Pimpl.
6249         (counters): new method, returning a reference to pimpl_->ctrs.
6250
6251         * text2.C: ensuing changes.
6252
6253 2002-08-07  John Levon  <levon@movementarian.org>
6254
6255         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6256
6257         * BufferView_pimpl.C: announce X selection on double/triple
6258           click
6259
6260         * lyx_main.C: use correct bool in batch dispatch
6261
6262         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6263
6264 2002-08-07  André Pönitz <poenitz@gmx.net>
6265
6266         * funcrequest.h: new class to wrap a kb_action and its argument
6267
6268         * BufferView.[Ch]:
6269         * BufferView_pimpl[Ch]:
6270         * LaTeX.C:
6271         * LyXAction.[Ch]:
6272         * lyxfunc.[Ch]:
6273         * lyxrc.C: subsequent changes
6274
6275
6276 2002-08-07  John Levon  <levon@movementarian.org>
6277
6278         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6279           document options change.
6280
6281 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6282
6283         * counters.[Ch]
6284         * text2.C
6285         * paragraph.[Ch]
6286         * makefile.am: move counters functionality over from
6287         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6288
6289 2002-08-06  John Levon  <levon@movementarian.org>
6290
6291         * WordLangTuple.h: new file for word + language code tuple
6292
6293         * SpellBase.h:
6294         * pspell.h:
6295         * pspell.C:
6296         * ispell.h:
6297         * ispell.C:
6298         * lyxtext.h:
6299         * text.C:
6300         * text2.C:
6301         * BufferView.h:
6302         * BufferView2.C: use WordLangTuple
6303
6304         * layout.h:
6305         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6306
6307 2002-08-06  John Levon  <levon@movementarian.org>
6308
6309         * lyx_main.C: fix cmdline batch handling
6310
6311 2002-08-06  André Pönitz <poenitz@gmx.net>
6312
6313         * lyxrc.C: set default for show_banner to true
6314
6315 2002-08-06  John Levon  <levon@movementarian.org>
6316
6317         * pspell.C: fix a crash, and allow new aspell to work
6318
6319 2002-08-06  John Levon  <levon@movementarian.org>
6320
6321         * lyxfunc.C:
6322         * kbmap.C: small cleanup
6323
6324         * vspace.h:
6325         * vspace.C: add const
6326
6327 2002-08-05  John Levon  <levon@movementarian.org>
6328
6329         * LyXAction.C: back to tabular-insert
6330
6331 2002-08-04  John Levon  <levon@movementarian.org>
6332
6333         * BufferView.h:
6334         * BufferView.C: cosmetic change
6335
6336         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6337
6338         * bufferlist.C:
6339         * buffer.h:
6340         * buffer.C:
6341         * lyxcb.h:
6342         * lyxcb.C:
6343         * lyxserver.C:
6344         * lyxvc.C:
6345         * vc-backend.C:
6346         * BufferView2.C: purge all "Lyx" not "LyX" strings
6347
6348         * lyxcursor.h:
6349         * lyxcursor.C: attempt to add some documentation
6350
6351         * lyxfunc.C:
6352         * commandtags.h:
6353         * LyXAction.C:
6354         * ToolbarDefaults.C:
6355         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6356           merge with LFUN_TABULAR_INSERT
6357
6358         * Makefile.am:
6359         * SpellBase.h:
6360         * ispell.h:
6361         * ispell.C:
6362         * pspell.h:
6363         * pspell.C: split up i/pspell implementations into separate
6364           files, many cleanups
6365
6366         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6367
6368         * text2.C: some cleanup
6369
6370         * lyxfunc.C: don't check for isp_command == "none" any more, it
6371           didn't make any sense
6372
6373 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6374
6375         * counters.[Ch]
6376         * text2.C
6377         * paragraph.[Ch]
6378         * makefile.am: move counters functionality over
6379         from text2.C/paragraph.[Ch] to counters.[Ch], and
6380         make proper C++.
6381 2002-08-02  John Levon  <levon@movementarian.org>
6382
6383         * buffer.C: s/lyxconvert/lyx2lyx/
6384
6385 2002-08-02  Angus Leeming  <leeming@lyx.org>
6386
6387         * lyxlex.C: revert John's change as it breaks reading of the user
6388         preamble.
6389
6390 2002-08-02  Angus Leeming  <leeming@lyx.org>
6391
6392         * importer.C (Import):
6393         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6394         changes due to LyXView::view() now returning a boost::shared_ptr.
6395
6396 2002-08-02  John Levon  <levon@movementarian.org>
6397
6398         * lyxlex.C: small cleanup
6399
6400 2002-08-02  John Levon  <levon@movementarian.org>
6401
6402         * text2.C (status): small cleanup, no logic change
6403
6404 2002-08-01  John Levon  <levon@movementarian.org>
6405
6406         * buffer.h:
6407         * buffer.C (writeFile): don't output alerts, caller
6408           handles this
6409
6410         * bufferlist.C:
6411         * lyx_cb.C: from above
6412
6413         * lyxfunc.C: allow to open non-existent files
6414
6415 2002-07-31  John Levon  <levon@movementarian.org>
6416
6417         * lyxserver.C: don't let incidental errors get
6418           in the way (errno)
6419
6420 2002-07-30  John Levon  <levon@movementarian.org>
6421
6422         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6423
6424 2002-07-30  John Levon  <levon@movementarian.org>
6425
6426         * lyxserver.h:
6427         * lyxserver.C: remove I/O callback too
6428
6429 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6430
6431         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6432         log.
6433
6434 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6435
6436         * many files: strip,frontStrip -> trim,ltrim,rtrim
6437
6438 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6439
6440         * PrinterParams.h: remove extern containsOnly, and include
6441         support/lstrings.h instead.
6442
6443         * LaTeX.C (scanAuxFile): modify because of strip changes
6444         (deplog): ditto
6445         * buffer.C (makeLaTeXFile): ditto
6446         * bufferparams.C (writeFile): ditt
6447         * lyxfont.C (stateText): ditto
6448         * lyxserver.C (read_ready): ditto
6449         * vc-backend.C (scanMaster): ditto
6450
6451         * BufferView_pimpl.h: ws changes
6452
6453         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6454
6455 2002-07-26  André Pönitz <poenitz@gmx.net>
6456
6457         * kb_sequence.C: remove unnedred usings
6458
6459 2002-07-26  Juergen Vigna  <jug@sad.it>
6460
6461         * lyxfind.C (LyXReplace): we have to check better if the returned
6462         text is not of theLockingInset()->getLockingInset().
6463
6464 2002-07-25  Juergen Vigna  <jug@sad.it>
6465
6466         * lyxfind.C (LyXReplace): don't replace if we don't get the
6467         right LyXText.
6468
6469         * undo_funcs.C (createUndo): remove debugging code.
6470
6471 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6472
6473         * buffer.C (parseSingleLyXformat2Token): Use default placement
6474         when reading old floats.
6475
6476         * FloatList.C (FloatList): Change the default placement of figure
6477         and tables to "tbp".
6478
6479 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6480
6481         * MenuBackend.C: using std::max
6482
6483 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6484
6485         * MenuBackend.C (expandToc):
6486         (expandToc2): code moved from xforms menu frontend. It is now
6487         generic and TOCs are transparent to menu frontends.
6488
6489 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6490
6491         * toc.C (getTocList): protect against buf=0
6492
6493         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6494         Menu as first parameter. Now, this calls itself recursively to
6495         expand a whole tree (this will be useful for TOC handling)
6496         (expandFloatInsert): remove 'wide' version of floats
6497
6498         * MenuBackend.h (submenuname): returns the name of the submenu.
6499         (submenu): returns the submenu itself, provided it has been
6500         created by MenuBackend::expand
6501
6502 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6503
6504         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6505         insets which have noFontChange == true. (bug #172)
6506
6507 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6508
6509         * BufferView_pimpl.C: add connection objects and use them...
6510         (Pimpl): here.
6511
6512 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6513
6514         * MenuBackend.C (expandLastfiles):
6515         (expandDocuments):
6516         (expandFormats):
6517         (expandFloatListInsert):
6518         (expandFloatInsert):
6519         (expand): split expand in parts
6520
6521 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6522
6523         * lyx_gui.C: use lyx_gui::exit()
6524
6525 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6526
6527         * LyXAction.C: show the failing pseudo action
6528
6529 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6530
6531         * buffer.C (readFile): Run the lyxconvert script in order to read
6532         old files.
6533
6534 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6535
6536         * LyXAction.C:
6537         * commandtags.h:
6538         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6539
6540 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6541
6542         * LyXAction.C:
6543         * commandtags.h:
6544         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6545
6546 2002-07-22  Herbert Voss  <voss@lyx.org>
6547
6548         * lengthcommon.C:
6549         * lyxlength.[Ch]: add support for the vertical lengths
6550
6551 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6552
6553         * toc.[Ch]: std:: fixes
6554
6555 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6556
6557         * lyxrc.C: do not include lyx_main.h
6558
6559         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6560         for layouts
6561
6562         * lyxrc.C:
6563         * encoding.C:
6564         * bufferlist.C:
6565         * BufferView2.C: include "lyxlex.h"
6566
6567         * tabular.h:
6568         * bufferparams.h: do not #include "lyxlex.h"
6569
6570         * lyxtextclasslist.C (Add): remove method
6571         (classlist): renamed to classlist_
6572
6573         * paragraph_pimpl.C:
6574         * paragraph.C:
6575         * text2.C:
6576         * CutAndPaste.C:
6577         * bufferview_funcs.C:
6578         * bufferlist.C:
6579         * text.C:
6580         * LaTeXFeatures.C:
6581         * buffer.C:
6582         * toc.C (getTocList): use BufferParams::getLyXTextClass
6583
6584         * toc.C (getTocList): use InsetFloat::addToToc
6585
6586         * toc.[Ch]: new files, containing helper functions to handle table
6587         of contents
6588
6589         * lyxfunc.C (dispatch): no need to remove spaces around command
6590         given as a string
6591         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6592         first command of the sequence; it is not very clever, but I do not
6593         have a better idea, actually
6594
6595         * LyXAction.C (LookupFunc): make sure to remove space at the
6596         beginning and end of the command
6597
6598 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6599
6600         * MenuBackend.C (getMenubar): new method: return the menubar of
6601         this menu set
6602         (read): treat differently reading of menu and menubar (in
6603         particular, the menubar has no name now)
6604         (Menu::menubar): remove
6605
6606         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6607         saving is finished
6608
6609 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6610
6611         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6612         a bibitem inset in a RTL paragraph.
6613
6614 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6615
6616         * paragraph_pimpl.C: constify
6617
6618         * BufferView_pimpl.C:
6619         * LaTeX.C:
6620         * lyxfunc.C: fix dispatch in a nicer way
6621
6622 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6623
6624         * lyxfunc.C (dispatch):
6625         * BufferView_pimpl.C:
6626         * BufferView_pimpl.h:
6627         * BufferView.C:
6628         * BufferView.h: rename Dispatch() to dispatch()
6629
6630         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6631
6632         * lyxlayout.C (Read): honor DependsOn tag
6633
6634         * lyxlayout.[Ch] (depends_on): new method
6635
6636         * version.C.in: update lyx_docversion
6637
6638         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6639
6640         * paragraph.C (validate): remove from here...
6641         * paragraph_pimpl.C (validate): ... and move here
6642         (isTextAt): make it const
6643
6644         * buffer.C (getLists): ws cleanup
6645
6646 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6647
6648         * language.C (read): Use iso8859-1 encoding in latex_lang
6649         (this prevents LyX from crashing when using iso10646-1 encoding).
6650
6651 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6652
6653         * text2.C (toggleInset): if cursor is inside an inset, close the
6654         inset and leave cursor _after_ it
6655
6656 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6657
6658         * lyxfunc.C: move minibuffer completion handling out of here
6659
6660 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6661
6662         * BufferView_pimpl.C:
6663         * LaTeX.C: fix dispatch calls
6664
6665 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6666
6667         * text.C (drawChars): Fix Arabic text rendering.
6668
6669 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6670
6671         * LyXAction.C:
6672         * commandtags.h:
6673         * lyxfunc.C: remove message-push/pop
6674
6675         * lyxserver.C:
6676         * lyxfunc.h:
6677         * lyxfunc.C: rationalise some code by removing verboseDispatch
6678           in favour of a bool argument to dispatch()
6679
6680 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6681
6682         * lyx_main.C (init): make sure to read symlinks as absolute paths
6683
6684 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6685
6686         * lyxfunc.h:
6687         * lyxfunc.C: no need for commandshortcut to be a member
6688
6689 2002-07-15  André Pönitz <poenitz@gmx.net>
6690
6691         * converter.C: add support for $$s (scripts from lib/scripts dir)
6692         * lyx_main.C: white space
6693
6694 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6695
6696         * bufferlist.C:
6697         * lyxrc.h:
6698         * lyxrc.C: remove second exit confirmation
6699
6700 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6701
6702         * BufferView.h:
6703         * BufferView.C:
6704         * BufferView2.C:
6705         * BufferView_pimpl.h:
6706         * BufferView_pimpl.C:
6707         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6708
6709 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6710
6711         * MenuBackend.C (expand): add numeric shortcuts to document menu
6712
6713         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6714
6715 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6716
6717         * lyxfont.C (setLyXFamily):
6718         (setLyXSeries):
6719         (setLyXShape):
6720         (setLyXSize):
6721         (setLyXMisc):
6722         (lyxRead):
6723         * debug.C (value):
6724         * buffer.C (asciiParagraph): use ascii_lowercase
6725
6726 2002-07-15  Mike Fabian  <mfabian@suse.de>
6727
6728         * lyxlex_pimpl.C (search_kw):
6729         * lyxlex.C (getLongString):
6730         * converter.h (operator<):
6731         * converter.C (operator<):
6732         * buffer.C (parseSingleLyXformat2Token):
6733         (asciiParagraph):
6734         * ToolbarDefaults.C (read):
6735         * MenuBackend.C (checkShortcuts):
6736         (read):
6737         * LColor.C (getFromGUIName):
6738         (getFromLyXName): use the compare_ascii_no_case instead of
6739         compare_no_case, because in turkish, 'i' is not the lowercase
6740         version of 'I', and thus turkish locale breaks parsing of tags.
6741
6742 2002-07-16  Angus Leeming  <leeming@lyx.org>
6743
6744         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6745         now takes a Buffer const & argument.
6746
6747 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6748
6749         * BufferView.C (resize): check there's a buffer to resize
6750
6751 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6752
6753         * lyxfunc.C: remove dead code
6754
6755         * lyxserver.h:
6756         * lyxserver.C: use lyx_guii::set_read_callback
6757
6758 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6759
6760         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6761         an inset in a RTL paragraph.
6762
6763 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6764
6765         * lyxfunc.C: repaint after a font size update
6766
6767 2002-07-15  André Pönitz <poenitz@gmx.net>
6768
6769         * lyxlength.C: inBP should be able to return negative values
6770
6771 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6772
6773         * lyxfunc.C: use lyx_gui::update_fonts()
6774
6775 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6776
6777         * lyxfunc.C: use lyx_gui::update_color()
6778
6779 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6780
6781         * bufferlist.C:
6782         * lyxfunc.h:
6783         * lyxfunc.C:
6784         * lyxrc.h:
6785         * lyxrc.C: remove file->new asks for name option, and let
6786           buffer-new take an argument
6787
6788 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6789
6790         * BufferView_pimpl.C: remove unneeded extra repaint()
6791
6792 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6793
6794         * LyXAction.C: allow command-sequence with NoBuffer
6795
6796         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6797
6798 2002-07-10  Angus Leeming  <leeming@lyx.org>
6799
6800         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6801
6802 2002-07-09  Angus Leeming  <leeming@lyx.org>
6803
6804         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6805
6806 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6807
6808         * lengthcommon.h: whitespace
6809
6810         * lyxfunc.C: update scrollbar after goto paragraph
6811
6812         * lyxtext.h: factor out page break drawing, and fix it so
6813           page break/added space paints as selected nicely
6814
6815 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6816
6817         * BufferView_pimpl.C: add FIXMEs, clean up a little
6818
6819 2002-07-09  André Pönitz <poenitz@gmx.net>
6820
6821         * lyxfont.[Ch]: support for wasy symbols
6822
6823 2002-07-08  André Pönitz <poenitz@gmx.net>
6824
6825         * BufferView_pimpl.C: apply John's patch for #93.
6826
6827 2002-07-05  Angus Leeming  <leeming@lyx.org>
6828
6829         * BufferView_pimpl.C (buffer): generate previews if desired.
6830
6831         * LColor.h: add "preview" to the color enum.
6832
6833         * LColor.C (LColor): add a corresponding entry to the items array.
6834
6835         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6836         with this buffer.
6837
6838 2002-07-05  Angus Leeming  <leeming@lyx.org>
6839
6840         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6841         The body of the code is now in the method that is passed an ostream &
6842         rather than a file name.
6843         Pass an additional only_preamble parameter, useful for the forthcoming
6844         preview stuff.
6845
6846 2002-07-03  André Pönitz <poenitz@gmx.net>
6847
6848         * lyxfunc.C: simplify getStatus() a bit for math stuff
6849
6850 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6851
6852         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6853
6854 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6855
6856         * text.C (changeRegionCase): do not change case of all the
6857         document when region ends at paragraph end (bug #461)
6858
6859 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6860
6861         * paragraph.C (startTeXParParams):
6862         (endTeXParParams): add \protect when necessary
6863
6864 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6865
6866         * BufferView_pimpl.C (workAreaExpose): remove warning
6867
6868 2002-06-27  Angus Leeming  <leeming@lyx.org>
6869
6870         * Makefile.am: add lyxlayout_ptr_fwd.h.
6871
6872 2002-06-26  André Pönitz <poenitz@gmx.net>
6873
6874         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6875
6876 2002-06-25  Angus Leeming  <leeming@lyx.org>
6877
6878         * lyxfunc.C (dispatch): Comment out the call to
6879         grfx::GCache::changeDisplay. The method no longer exists now that the
6880         pixmap generation part of the graphics loader has been moved into
6881         InsetGraphics.
6882
6883 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6884
6885         * text2.C: layout as layout
6886
6887         * text.C: layout as layout
6888
6889         * tabular.C (OldFormatRead): layout as layout
6890
6891         * paragraph_pimpl.C (TeXDeeper): layout as layout
6892         (realizeFont): layout as layout
6893
6894         * paragraph.C (writeFile): layout as layout
6895         (validate): layout as layout
6896         (getFont): layout as layout
6897         (getLabelFont): layout as layout
6898         (getLayoutFont): layout as layout
6899         (breakParagraph): layout as layout
6900         (stripLeadingSpaces): layout as layout
6901         (getEndLabel): layout as layout
6902         (getMaxDepthAfter): layout as layout
6903         (applyLayout): layout as layout
6904         (TeXOnePar): layout as layout
6905         (simpleTeXOnePar): layout as layout
6906         (TeXEnvironment): layout as layout
6907         (layout): layout as layout
6908         (layout): layout as layout
6909
6910         * lyxtextclass.C (compare_name): new functor to work with
6911         shared_ptr, layout as layout
6912         (Read): layout as layout
6913         (hasLayout): layout as layout
6914         (operator): layout as layout
6915         (delete_layout): layout as layout
6916         (defaultLayout): layout as layout
6917
6918         * lyxlayout_ptr_fwd.h: new file
6919
6920         * lyxlayout.C (Read): layout as layout
6921
6922         * lyx_cb.C (MenuInsertLabel): layout as layout
6923
6924         * bufferlist.C (newFile): layout as layout
6925
6926         * buffer.C (readLyXformat2): layout as layout
6927         (parseSingleLyXformat2Token): layout as layout
6928         (insertStringAsLines): layout as layout
6929         (asciiParagraph): layout as layout
6930         (latexParagraphs): layout as layout
6931         (makeLinuxDocFile): layout as layout
6932         (simpleLinuxDocOnePar): layout as layout
6933         (makeDocBookFile): layout as layout
6934         (simpleDocBookOnePar): layout as layout
6935         (getLists): layout as layout
6936
6937         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6938
6939         * CutAndPaste.C (cutSelection): layout as layout
6940         (pasteSelection): layout as layout
6941         (SwitchLayoutsBetweenClasses): layout as layout
6942
6943         * BufferView_pimpl.C (Dispatch): layout as layout
6944         (smartQuote): layout as layout
6945
6946         * BufferView2.C (unlockInset): layout as layout
6947
6948 2002-06-24  André Pönitz <poenitz@gmx.net>
6949
6950         * lyxfunc.C: fix #487
6951
6952 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6953
6954         * lyxrc.h:
6955         * lyxrc.C:
6956         * lyxfunc.C: remove display_shortcuts, show_banner
6957
6958 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6959
6960         * Buffer_pimpl.C: oops, update on resize
6961
6962 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6963
6964         * buffer.C:
6965         * converter.C:
6966         * exporter.C:
6967         * lyxfunc.C:
6968         * BufferView.h:
6969         * BufferView.C: use repaint()
6970
6971         * BufferView_pimpl.h:
6972         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6973           as it's a clearer description. Remove superfluous
6974           redraws.
6975
6976 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6977
6978         * text.C: fix bug 488. Not ideal, but getting
6979           getWord() to work properly for the insets that
6980           matter is more difficult ...
6981
6982 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6983
6984         * BufferView_pimpl.C:
6985         * LyXAction.C:
6986         * commandtags.h:
6987         * lyxfunc.C: remove the six million index lyxfuncs to just
6988           one, and DTRT (bug 458)
6989
6990 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6991
6992         * BufferView.h:
6993         * BufferView.C:
6994         * BufferView_pimpl.h:
6995         * BufferView_pimpl.C: clean up resize() stuff,
6996           and unnecessary updateScreen()s
6997
6998 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6999
7000         * BufferView.h:
7001         * BufferView.C:
7002         * BufferView_pimpl.h:
7003         * BufferView_pimpl.C:
7004         * lyxfind.h:
7005         * lyxfind.C:
7006         * minibuffer.C: remove focus management of workarea,
7007           not needed. Use screen's greyOut()
7008
7009 2002-06-17  Herbert Voss  <voss@lyx.org>
7010
7011         * converter.C: (convert) do not post a message, when converting
7012         fails, let the calling function decide what to do in this case
7013
7014 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7015
7016         * lyxfunc.C: tidy up a little
7017
7018 2002-06-16    <alstrup@diku.dk>
7019
7020         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7021         Got rid of FORMS_H_LOCATION include. Now we are
7022         GUII.
7023
7024 2002-06-15  LyX Development team  <lyx@rilke>
7025
7026         * buffer.[Ch] (sgmlOpenTag):
7027         (sgmlCloseTag): Added support for avoiding pernicious mixed
7028         content. Return number of lines written.
7029
7030         (makeLinuxDocFile):
7031         (makeDocBookFile): Fixed calls to sgml*Tag.
7032         Simple white space clean.
7033
7034         (simpleDocBookOnePar): Simple white space clean.
7035
7036         * tabular.[Ch] (docBook): Renamed to docbook and got another
7037         argument to related with the pernicious mixed content.
7038
7039         (docbookRow): Fixed calls for docbook inset method.
7040
7041 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7042
7043         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7044         so it's X11 independent.
7045
7046         * kb*.[Ch]: ditto.
7047
7048         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7049
7050 2002-06-15  Lyx Development team  <lyx@electronia>
7051
7052         * intl.h: Renamed getTrans to getTransManager.
7053
7054 2002-06-14  Angus Leeming  <leeming@lyx.org>
7055
7056         * Makefile.am: nuke forgotten stl_string_fwd.h.
7057
7058 2002-06-12  Angus Leeming  <leeming@lyx.org>
7059
7060         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7061
7062 2002-06-13  Angus Leeming  <leeming@lyx.org>
7063
7064         * LaTeX.C:
7065         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7066
7067 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7068
7069         * kbmap.C (getiso): add support for cyrillic and greek
7070
7071 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7072
7073         * BufferView.h:
7074         * BufferView.C:
7075         * BufferView_pimpl.h:
7076         * BufferView_pimpl.C: move bogus scrolling logic
7077           to xforms
7078
7079 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7080
7081         * lyxfunc.C:
7082         * BufferView_pimpl.C: view->resize() change
7083
7084 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7085
7086         * BufferView_pimpl.C: topCursorVisible
7087           prototype change
7088
7089 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7090
7091         * Makefile.am:
7092         * lyx_gui.h:
7093         * lyx_gui.C: move to frontends/
7094
7095         * main.C:
7096         * lyx_main.h:
7097         * lyx_main.C: changes from above
7098
7099 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7100
7101         * intl.C:
7102         * intl.h:
7103         * kbmap.C:
7104         * kbsequence.C:
7105         * lyx_cb.C:
7106         * lyx_main.C: minor tidy
7107
7108 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7109
7110         * BufferView_pimpl.h:
7111         * BufferView_pimpl.C:
7112         * BufferView.h:
7113         * BufferView.C: make painter() const,
7114           remove dead code
7115
7116         * BufferView2.C: use screen() accessor
7117
7118         * lyx_main.h:
7119         * lyx_main.C: some minor cleanup
7120
7121 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7122
7123         * BufferView_pimpl.h:
7124         * BufferView_pimpl.C: remove enter/leaveView,
7125           use workHeight()
7126
7127 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7128
7129         * BufferView.h:
7130         * BufferView.C:
7131         * BufferView2.C:
7132         * BufferView_pimpl.h:
7133         * BufferView_pimpl.C: only construct screen once,
7134           rename
7135
7136         * lyxrc.C: remove pointless comment
7137
7138 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7139
7140         * BufferView.h:
7141         * BufferView.C: remove active() and belowMouse()
7142
7143         * BufferView_pimpl.h:
7144         * BufferView_pimpl.C: use workarea() not workarea_,
7145           and make it use a scoped_ptr instead
7146
7147 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7148
7149         * lyx_gui.C: add debug message on BadWindow
7150
7151 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7152
7153         * sp_spell.C: fdopen is not part of the C++ standard.
7154
7155         * paragraph.C (InsetIterator): use >= instead of ==
7156
7157 2002-06-07  Angus Leeming  <leeming@lyx.org>
7158
7159         Fixes needed to compile with Compaq cxx 6.5.
7160         * BufferView_pimpl.C:
7161         * DepTable.C:
7162         * buffer.C:
7163         * converter.C:
7164         * encoding.C:
7165         * lyx_gui.C:
7166         * lyx_main.C:
7167         * lyxtextclasslist.C:
7168         * minibuffer.C:
7169         * sp_spell.C:
7170         * tabular_funcs.C:
7171         * vc-backend.C:
7172         all c-library variables have been moved into namespace std. Wrap
7173         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7174
7175         * lyxlength.C:
7176         * tabular-old.C:
7177         * tabular.C:
7178         Add a using std::abs declaration.
7179
7180         * kbmap.h (modifier_pair):
7181         * paragraph.h (InsetTable, InsetList):
7182         * lyxfont.h (FontBits):
7183         type definition made public.
7184
7185         * bufferlist.C (emergencyWriteAll): the compiler complains that
7186         there is more than one possible lyx::class_fun template to choose from.
7187         I re-named the void specialisation as lyx::void_class_fun.
7188
7189         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7190
7191         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7192         the compiler is is unable to find tostr in write_attribute.
7193
7194 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7195
7196         * buffer.C (sgmlError): hide #warning
7197
7198 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7199
7200         * xtl/*: get rid of xtl, which is not in use anyway
7201
7202         * LyXAction.C (init):
7203         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7204         were unimplemented xtl experimentation
7205
7206 2002-06-04  André Pönitz <poenitz@gmx.net>
7207
7208         * lyxfunc.C: disable array operation on simple formulae
7209
7210 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7211
7212         * converter.C: constify a bit
7213
7214 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7215
7216         * lyx_gui.C: check xforms version correctly
7217
7218 2002-04-30  Herbert Voss  <voss@lyx.org>
7219
7220         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7221         "keep" option
7222
7223 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7224
7225         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7226           attempt to register it with a VCS)
7227
7228 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7229
7230         * lyx_main.C (init): honor variables LYX_DIR_13x and
7231         LYX_USERDIR_13x
7232
7233 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7234
7235         * buffer.h:
7236         * buffer.C:
7237         * lyx_main.C: fix a crash on bad command line,
7238           and give a useful exit status on error
7239
7240         * lyxfunc.C (doImport): allow -i lyx to work
7241
7242 2002-03-30  André Pönitz <poenitz@gmx.net>
7243
7244         * lyxfunc.C: mathed font changes
7245
7246 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7247
7248         * LaTeX.C:
7249         * importer.h:
7250         * importer.C:
7251         * lyx_sty.h:
7252         * lyx_sty.C:
7253         * lyxlex.C:
7254         * lyxrow.h:
7255         * lyxtext.h:
7256         * paragraph.h:
7257         * paragraph.C:
7258         * texrow.h:
7259         * texrow.C:
7260         * text.C:
7261         * trans_mgr.h: srcdocs, and some minor cleanups
7262
7263 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7264
7265         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7266         call getFont all the time)
7267
7268 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7269
7270         * switch from SigC signals to boost::signals
7271
7272 2002-05-29  André Pönitz <poenitz@gmx.net>
7273
7274         * paragraph_pimpl.C (getChar): don't call size() too often...
7275
7276 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7277
7278         * paragraph_pimpl.C (insertChar): do not try to update tables when
7279         appending (pos == size())
7280
7281         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7282         in order to reduce drastically the number of comparisons needed to
7283         parse a large document
7284
7285 2002-05-29  André Pönitz <poenitz@gmx.net>
7286
7287         * text.C:
7288         * text2.C:
7289         * lyxtextclass.C:
7290         * sp_pspell.h:
7291         * textclasslist.[Ch]:
7292         * sp_ispell.h: whitespace change
7293
7294 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7295
7296         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7297         lyxaction directly now.
7298
7299 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7300
7301         * trans.C:
7302         * lyxfont.C:
7303         * lyxvc.C: remove unused headers
7304
7305 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7306
7307         * Makefile.am:
7308         * buffer.h:
7309         * undostack.h:
7310         * undostack.C:
7311         * undo_funcs.h:
7312         * undo_funcs.C: some cleanups. Use shared_ptr
7313           and a template for the undo stacks.
7314
7315 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7316
7317         * BufferView_pimpl.h:
7318         * BufferView_pimpl.C:
7319         * kbmap.h:
7320         * kbmap.C:
7321         * kbsequence.h:
7322         * kbsequence.C:
7323         * lyxfunc.h:
7324         * lyxfunc.C:
7325         * text2.C: use key_state/mouse_state
7326
7327 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7328
7329         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7330         and LSubstring
7331
7332         * chset.C: change include order
7333         (loadFile): use boost regex and get rid of LRegex and LSubstring
7334
7335         * Makefile.am (BOOST_LIBS): new variable
7336         (lyx_LDADD): use it
7337
7338         * LaTeX.C: change include order.
7339         (scanAuxFile): use boost regex and get rid of LRegex and
7340         LSubstring
7341         (deplog): ditto
7342
7343 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7344
7345         * ColorHandler.h:
7346         * ColorHandler.C:
7347         * FontInfo.h:
7348         * FontInfo.C: moved to frontends/xforms/
7349
7350         * FontLoader.h:
7351         * FontLoader.C: moved into frontends for GUIIzation
7352
7353         * Makefile.am:
7354         * lyx_gui.C:
7355         * lyxfont.C:
7356         * lyxfunc.C: changes from above
7357
7358 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7359
7360         * LColor.C: remove spurious X include
7361
7362         * BufferView_pimpl.C:
7363         * Makefile.am:
7364         * font.h:
7365         * font.C:
7366         * text.C:
7367         * text2.C: move font metrics to frontends/
7368
7369 2002-05-24  Juergen Vigna  <jug@sad.it>
7370
7371         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7372         setting the undo_cursor.
7373
7374         * ParagraphParameters.h: include local includes first.
7375
7376 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7377
7378         * BufferView_pimpl.C:
7379         * BufferView_pimpl.h:
7380         * Makefile.am:
7381         * WorkArea.h:
7382         * WorkArea.C:
7383         * screen.C: move WorkArea into frontends/
7384
7385         * lyxscreen.h:
7386         * screen.C:
7387         * text.C:
7388         * BufferView.C:
7389         * BufferView2.C: move LyXScreen into frontends/
7390
7391         * lyxlookup.h:
7392         * lyxlookup.C:
7393         * lyx_gui.C: move lyxlookup into frontends/xforms/
7394
7395 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7396
7397         * BufferView2.C:
7398         * BufferView_pimpl.C:
7399         * FontLoader.C:
7400         * LyXView.h:
7401         * LyXView.C:
7402         * Makefile.am:
7403         * WorkArea.C:
7404         * XFormsView.h:
7405         * XFormsView.C:
7406         * buffer.C:
7407         * bufferlist.C:
7408         * bufferview_funcs.C:
7409         * converter.C:
7410         * importer.C:
7411         * lyx_cb.C:
7412         * lyx_gui.C:
7413         * lyx_main.C:
7414         * lyx_find.C:
7415         * lyxfunc.C:
7416         * lyxvc.C:
7417         * minibuffer.C:
7418         * text.C:
7419         * text2.C:
7420         * trans.C:
7421         * vc-backend.C: move LyX/XFormsView into frontends/
7422
7423 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7424
7425         * Makefile.am:
7426         * PainterBase.C:
7427         * PainterBase.h:
7428         * Painter.C:
7429         * Painter.h:
7430         * WorkArea.C:
7431         * WorkArea.h:
7432         * screen.C:
7433         * tabular.C:
7434         * text.C:
7435         * text2.C: move Painter to frontends/
7436
7437 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7438
7439         * buffer.C: comment out some some code that depend upon lyx_format
7440         < 220
7441
7442         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7443         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7444
7445         * buffer.h (NO_COMPABILITY): turn off compability
7446
7447         * ColorHandler.C: include scoped_array.hpp
7448
7449         * font.C: Use more specific smart_ptr header.
7450         * Painter.C: ditto
7451         * gettext.C: ditto
7452         * ShareContainer.h: ditto
7453         * lyx_main.h: ditto
7454         * kbmap.h: ditto
7455         * FontInfo.h: ditto
7456         * BufferView_pimpl.h: ditto
7457         * ColorHandler.h: ditto
7458
7459         * kbmap.C (defkey): change call to shared_ptr::reset
7460
7461 2002-05-21  Juergen Vigna  <jug@sad.it>
7462
7463         * buffer.C (insertErtContents): fix to insert ert asis if it is
7464         non empty. Skip it completely if it contains only whitespaces.
7465
7466 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7467
7468         * BufferView_pimpl.C:
7469         * BufferView2.C: clear selection on paste (bug 393)
7470
7471 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7472
7473         * DepTable.C: include ctime
7474
7475 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7476
7477         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7478
7479 2002-05-14  Juergen Vigna  <jug@sad.it>
7480
7481         * text.C (breakParagraph): fixed function to honor the keepempty
7482         layout in the right maner and also to permit the right breaking
7483         algorithm on empty or non empyt keepempty paragraphs.
7484
7485         * paragraph.C (breakParagraph): we have to check also if the par
7486         is really empty (!size()) for isempty otherwise we do the wrong
7487         paragraph break.
7488
7489 2002-05-10  Juergen Vigna  <jug@sad.it>
7490
7491         * buffer.[Ch] : The following are only changes to the ert
7492         compatibility read reading old LaTeX layout and font stuff and
7493         convert it to ERTInsets.
7494
7495         * buffer.h: added isErtInset().
7496
7497         * buffer.C (struct ErtComp): add a fromlayout bool to check
7498         if we're inside a LaTeX layout.
7499         (isErtInset): new helper function.
7500         (insertErtContents): look for other ert insets before this one
7501         and insert the contents there, so that we don't have subsequent
7502         ERT insets with nothing between them. This way we create only one
7503         inset with multiple paragraphs. Also check if we don't insert only
7504         spaces ' ' as they are ignored anyway afterwards in the .tex file
7505         so if we have only spaces we will ignore this latex part in the
7506         new file.
7507         (parseSingleLyXformat2Token \\layout): better compatibility when
7508         reading layout-latex stuff.
7509         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7510         language tag.
7511         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7512         stuff after reading the inset only get the information back from
7513         the stack.
7514
7515 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7516
7517         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7518
7519         * LaTeXFeatures.C (getBabelOptions): New method.
7520
7521 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7522
7523         * BufferView_pimpl.C (Dispatch): work around missing argument for
7524         'layout'
7525
7526 2002-05-08  Juergen Vigna  <jug@sad.it>
7527
7528         * text.C (leftMargin): handle paragraph leftindent.
7529
7530         * paragraph.C (writeFile): write the new \\leftindent tag.
7531         (validate): handle leftindent code.
7532         (TeXEnvironment): handle paragraphleftindent code again.
7533
7534         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7535
7536         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7537         for paragrap_extra indent code and new token \\leftindent.
7538         (latexParagraphs): handle the leftindent as environment.
7539
7540         * ParameterStruct.h: added leftindent support.
7541
7542         * ParagraphParameters.C (leftIndent): added support functions for
7543         the paragraph left indent.
7544
7545         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7546         more appropriate.
7547
7548 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7549
7550         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7551         inside insetERT.
7552
7553         * text.C (computeBidiTables): No bidi in insetERT.
7554
7555         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7556         in RTL documents.
7557
7558 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7559
7560         * version.C.in: pre 5
7561
7562 2002-05-02  José Matos  <jamatos@fep.up.pt>
7563         * buffer.C (makeDocBookFile): white space changes, add newline to
7564         command styles.
7565         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7566
7567         * tabular.C (docBook): fix typo.
7568
7569 2002-05-03  Juergen Vigna  <jug@sad.it>
7570
7571         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7572         change in LyXText as we can not be sure it was not freed.
7573         (drawOneRow): remove unused code.
7574
7575         * text.C (drawInset): redo the calculation of the need_break_row as
7576         it could have a row which was already freed.
7577         (draw): look at the return value of drawInset and return false if
7578         it also returned false.
7579         (paintRowText): look at the return value of draw and return false if
7580         it also returned false.
7581
7582         * lyxtext.h: added bool return type to drawInset() and draw() so that
7583         if we have a change in the row so that the rowbreak has to be redone
7584         we abort drawing as it will be called again.
7585
7586 2002-05-02  Juergen Vigna  <jug@sad.it>
7587
7588         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7589         a change in the maintext also if we're inside an inset.
7590         (Dispatch): set the cursor again after a break line and after the
7591         screen has been updated as it could be we're in a different row.
7592
7593         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7594         to set the cursor behind the pargraph with > size().
7595         (setCursor): check also for the same paragraph when checking where
7596         to put the cursor if we have a NFR inset.
7597
7598         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7599         parts of layout read further up as it still was in the wrong
7600         position.
7601
7602 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7603
7604         * screen.C (drawFromTo): change sine fullRebreak always return
7605         true.
7606
7607         * buffer.C (parseSingleLyXformat2Token): reindent some
7608
7609         * BufferView_pimpl.C (update): change since fullRebreak always
7610         return true.
7611         (Dispatch): git rid of the last hardcoded "Standard"s.
7612
7613 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7614
7615         * text2.[Ch] (fullRebreak): make it return void now that we always
7616         returned true.
7617
7618 2002-04-30  Juergen Vigna  <jug@sad.it>
7619
7620         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7621         ert compatibility check for "latex" layout.
7622
7623 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7624
7625         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7626         minipages: use col% instead of p%, and also use the current font.
7627         (makeLaTeXFile): Fix use babel condition.
7628         (parseSingleLyXformat2Token): Correct font when reading old floats.
7629
7630 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7631
7632         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7633         inserting list of floats.
7634
7635 2002-04-25  Herbert Voss  <voss@lyx.org>
7636
7637         * MenuBackend.C (expand): don't add the graphics extensions to the
7638         export menu
7639
7640 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7641
7642         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7643         non-existing layout, do not complain if it was the default layout
7644         of the original class (bug #342)
7645
7646 2002-04-24  Juergen Vigna  <jug@sad.it>
7647
7648         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7649         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7650
7651 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7652
7653         * buffer.C (getBibkeyList): If using \bibliography, return the
7654         option field with the reference itself. Enables us to provide natbib
7655         support when using \bibliography.
7656
7657 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7658
7659         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7660
7661         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7662         natbib is provided by the LaTeX class.
7663
7664 2002-04-23  Juergen Vigna  <jug@sad.it>
7665
7666         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7667         Wakeup functions.
7668
7669         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7670
7671 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7672
7673         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7674
7675         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7676         ensuremath around textordmasculine, textordfeminine and
7677         textdegree.
7678
7679 2002-04-19  Juergen Vigna  <jug@sad.it>
7680
7681         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7682         reinitializing the buffer otherwise row-dimensions may be wrong.
7683         (update): reset also the selection cursors if they do exits otherwise
7684         their x/y positions may be wrong.
7685
7686         * text2.C (cursorDown): don't enter the inset if we came from a row
7687         above and are one row over the inset.
7688
7689         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7690         really leaving an inset.
7691
7692 2002-04-18  Juergen Vigna  <jug@sad.it>
7693
7694         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7695         of the selected paragraph does not have the selected layout also if
7696         the last one had!
7697
7698         * text2.C (setLayout): fixed bug which did not change last selected
7699         paragraph.
7700
7701         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7702         changed the read and substituted \\end_float with \\end_inset!
7703
7704         * BufferView_pimpl.C (cursorPrevious):
7705         (cursorNext): fixed to make it work with rows heigher than the work
7706         area without moving the cursor only the draw of the row.
7707         (workAreaMotionNotify): fix jumping over high rows.
7708
7709 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7710
7711         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7712         Ressler.
7713
7714 2002-04-16  Juergen Vigna  <jug@sad.it>
7715
7716         * text2.C (setCursor): set also the irow().
7717         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7718         (cursorUp):
7719         (cursorDown): support for locking an inset if the x_fix value goes
7720         inside it. That way I can transverse insets too with cursor up/down.
7721
7722         * lyxrow.h: added irow helper function same as other (i) functions.
7723
7724         * BufferView_pimpl.C (cursorPrevious):
7725         (cursorNext): fixed for insets!
7726
7727 2002-04-15  Juergen Vigna  <jug@sad.it>
7728
7729         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7730         position otherwise it is wrong in some cases.
7731
7732         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7733         inside the inset before the call.
7734
7735 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7736
7737         * buffer.[Ch] (getBibkeyList): make it const.
7738
7739 2002-04-12  Juergen Vigna  <jug@sad.it>
7740
7741         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7742
7743         * text2.C (getCursorX): new helper function
7744         (setCursor): compute also ix_
7745         (setCursorFromCoordinates): set also ix.
7746
7747         * lyxcursor.h: added ix_ and helper functions.
7748
7749         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7750
7751         * buffer.C (insertStringAsLines): dont break paragraph if the this
7752         paragraph is inside an inset which does not permit it!
7753
7754         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7755         also with no chars on this paragraph.
7756         (paintRowText): only paint stuff if it's inside the workarea!
7757
7758         * paragraph.C (breakParagraph): honor keepempty flag and break the
7759         paragraph always below not above.
7760
7761         * BufferView2.C (unlockInset): update the paragraph layout on inset
7762         unlock as we changed paragraph in such a case.
7763
7764         * lyxfind.C (LyXFind): clear the former selection if not found!
7765
7766         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7767         again called in insertChar().
7768
7769         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7770         an inset which uses the whole row!
7771         (rightMargin): ditto.
7772         (insertChar): force a rebreak if we inserted an inset!
7773
7774 2002-03-28  Herbert Voss  <voss@lyx.org>
7775
7776         * lyxlength.[Ch]: add inBP() to get the right PS-point
7777         units (BigPoint). With inPixels we have rounding errors
7778
7779 2002-04-11  Juergen Vigna  <jug@sad.it>
7780
7781         * text2.C (setCursorFromCoordinates): set iy to the right value.
7782         (setCursor): add check if row->previous exists!
7783
7784         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7785         an old float_type as this was the case in the old code!
7786
7787         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7788
7789         * BufferView2.C (showLockedInsetCursor): use iy
7790         (fitLockedInsetCursor): ditto
7791
7792         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7793         locked insets as there we have the right value now.
7794
7795         * lyxcursor.C: added iy_ variable and iy functions to set to the
7796         baseline of cursor-y of the locked inset.
7797
7798         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7799         (setCursor): fixed for insets which need a full row.
7800
7801         * text.C (rowLastPrintable): don't ignore the last space when before
7802         an inset which needs a full row.
7803         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7804         as last character of a row when before a inset which needs a full row.
7805
7806 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7807
7808         * version.C.in: update date
7809
7810         * text2.C (fullRebreak): try to always return true and see what
7811         happens...
7812
7813 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7814
7815         * MenuBackend.C (expand): use Floating::listName
7816
7817         * FloatList.C (FloatList): add listName argument to the built-in
7818         floats
7819
7820         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7821         text associated with the float.
7822
7823 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7824
7825         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7826
7827 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7828
7829         * ShareContainer.h: add a couple of missing typenames.
7830
7831 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7832
7833         * lyxrc.C (getDescription): use _() correctly rather than N_().
7834
7835 2002-03-28  Herbert Voss  <voss@lyx.org>
7836
7837         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7838         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7839
7840 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7841
7842         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7843         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7844
7845 2002-03-29  Juergen Vigna  <jug@sad.it>
7846
7847         * lyxfunc.C (dispatch): add a missing fitCursor call.
7848
7849         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7850         it was scrolled by a cursor move, so return the bool status.
7851
7852         * BufferView.C (fitCursor): return the bool flag also to the outside
7853         world as this is needed.
7854
7855         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7856
7857         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7858         call the edit() as it is not needed (and wrong) IMO.
7859         (workAreaButtonPress): set the screen_first variable before evt.
7860         unlock the inset as this may change screen_first and then we have
7861         a wrong y position for the click!
7862
7863 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7864
7865         * MenuBackend.C (expand): another translation that I missed
7866
7867 2002-03-28  Juergen Vigna  <jug@sad.it>
7868
7869         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7870
7871         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7872
7873 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7874
7875         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7876
7877         * MenuBackend.C (expand): fix export/view/update when there is no
7878         document open.
7879
7880 2002-03-27  Herbert Voss  <voss@lyx.org>
7881
7882         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7883         and text%
7884
7885 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7886
7887         * bufferview_funcs.C (currentState): only show paragraph number
7888         for is DEVEL_VERSION is set.
7889
7890         * lyxfunc.C (dispatch): put warning in INFO channel
7891
7892         * MenuBackend.C (expand): translate the name of floats
7893
7894         * FloatList.C (FloatList): mark the float names for translation
7895
7896         * converter.C (convert): use LibScriptSearch
7897
7898 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7899
7900         * MenuBackend.C (defaults): fix default menu (we might as well get
7901         rid of it...)
7902
7903 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7904
7905         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7906         directory.
7907
7908 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7909
7910         * lyxvc.C: reorder includes.
7911
7912 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7913
7914         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7915           properly
7916
7917 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7918
7919         * CutAndPaste.C: change layouts earlier on paste
7920           to avoid crashing when calling getFont()
7921
7922 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7923
7924         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7925         irritating #error.
7926
7927 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7928
7929         * WorkArea.C: remove 'Pending' debug message.
7930
7931         * most files: ws cleanup
7932
7933         * buffer.[Ch]: ws changes
7934
7935         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7936
7937 2002-03-21  Juergen Vigna  <jug@sad.it>
7938
7939         * tabular.C (SetMultiColumn): collapse also the contents of the
7940         cells and set the last border right. Added a Buffer const * param.
7941
7942 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7943
7944         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7945         linking or not.
7946
7947 2002-03-19  Juergen Vigna  <jug@sad.it>
7948
7949         * text2.C (clearSelection): reset also xsel_cache.
7950
7951         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7952         where it needs to be called (John tells us to do so too :)
7953         (selectionLost): reset sel_cache.
7954
7955         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7956
7957 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7958
7959         * text2.C (setCursorIntern): put debuging code in INSETS channel
7960
7961 2002-03-19  André Pönitz <poenitz@gmx.net>
7962
7963         * lyxfunc.C: tiny whitespace change
7964
7965 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7966
7967         * ToolbarDefaults.C (init):
7968         * LyXAction.C (init):
7969         * commandtags.h:
7970         * BufferView_pimpl.C (Dispatch):
7971         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7972
7973 2002-03-19  Allan Rae  <rae@lyx.org>
7974
7975         * exporter.C (Export): removeAutoInsets before doing anything else.
7976         While I've just introduced a dependency on BufferView this really is
7977         the best place to clean the buffer otherwise you need to cleanup in
7978         a dozen places before calling export or cleanup in a dozen functions
7979         that export calls.
7980
7981         * converter.C (runLaTeX):
7982         (scanLog): Better handling of removeAutoInsets and screen updates.
7983
7984         * lyxfunc.C (dispatch): small whitespace changes
7985
7986 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7987
7988         * WorkArea.C (C_WorkAreaEvent): return a value.
7989         (event_cb): return 1 if we handled the event, 0 otherwise.
7990
7991         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7992
7993 2002-03-18  Juergen Vigna  <jug@sad.it>
7994
7995         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7996         (GetAdditionalWidth): ditto.
7997         (RightLine): ditto.
7998         (LeftLine): ditto.
7999
8000         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8001         inset if we're there actually (probably not used right now but this
8002         is the direction to go for unifying code).
8003         (paste): disable code to clear the selection.
8004
8005         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8006         inside an InsetText and move the check further up as it is in the
8007         wrong place.
8008
8009         * text2.C (pasteSelection): set a selection over the pasted text.
8010
8011 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8012
8013         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8014         and libgraphics to build on Cygwin.
8015
8016 2002-03-15  Juergen Vigna  <jug@sad.it>
8017
8018         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8019         inserting an Inset into the paragraph. I know this is not the best
8020         fix but we already use current_view in CutAndPaste so we will remove
8021         all of it's using at the same time.
8022
8023         * buffer.C (sgmlError): deactivated function till it is rewritten in
8024         the right mode, now it can create problems.
8025
8026         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8027         before accessing it.
8028
8029 2002-03-14  Juergen Vigna  <jug@sad.it>
8030
8031         * undo_funcs.C (textHandleUndo): do the right thing when updating
8032         the inset after the undo/redo.
8033
8034         * text2.C (setCursor): just some testcode for #44 not ready yet.
8035
8036         * undo_funcs.C (textHandleUndo): set the next() and previous()
8037         pointers of the paragraph to 0 before deleting otherwise we have
8038         problems with the Paragraph::[destructor].
8039
8040         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8041         on a paragraph insertion.
8042
8043 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8044
8045         * buffer.C (asciiParagraph): use += operator for char append to
8046         string.
8047
8048         * paragraph.C (getFontSettings): compare >= not just >
8049         (highestFontInRange): ditto
8050         (setFont): ditto
8051
8052 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8053
8054         * paragraph.C: change several algorithm to be more appripriate for
8055         the problem domain. This is lookip in FontList and in the InsetList.
8056
8057 2002-03-13  André Pönitz <poenitz@gmx.net>
8058
8059         * commandtags.h:
8060         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8061
8062 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8063
8064         * commandtags.h:
8065         * LyXAction.C:
8066         * lyxfunc.C:
8067         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8068
8069 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8070
8071         * Painter.C (display): anon helper function, adjust code for this
8072         change.
8073         (pixmap): remove function.
8074
8075         * Painter.h: remove private display variable.
8076
8077         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8078
8079 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8080
8081         * WorkArea.[Ch]: remove figinset_canvas cruft.
8082
8083 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8084
8085         * lyxtextclass.C (operator): add one item cache optimization.
8086
8087         * bufferlist.h: doxy changes
8088
8089         * bufferlist.C: ws changes
8090
8091         * DepTable.[Ch] (ext_exist): place const in the right spot.
8092
8093         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8094         call resizeInsets.
8095         (workAreaExpose): call resizeInsets when the with BufferView changes.
8096         (Dispatch): adjust for protectedBlank removal
8097         (specialChar): call updateInset if the insert went ok.
8098
8099         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8100         specialChar instead.
8101
8102         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8103
8104         * BufferView.h: doxy change
8105
8106         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8107
8108         * lyxtextclass.C (operator[]): remove non-const version
8109         (defaultLayout): remove non-const version
8110
8111 2002-03-12  Juergen Vigna  <jug@sad.it>
8112
8113         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8114         did resize the LyXText too.
8115
8116         * buffer.C (readLyXformat2): set layout information on newly allocated
8117         paragraphs.
8118
8119         * tabular.C (OldFormatRead): set layout information on the paragraph.
8120
8121 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8122
8123         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8124
8125 2002-03-11  Juergen Vigna  <jug@sad.it>
8126
8127         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8128         plainly wrong.
8129         (resizeCurrentBuffer): force also the insets to resize themselfes.
8130         (moveCursorUpdate): fixed up for InsetText.
8131
8132 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8133
8134         * commandtags.h:
8135         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8136         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8137         value of Dialogs::tooltipsEnabled().
8138         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8139
8140 2002-03-08  Juergen Vigna  <jug@sad.it>
8141
8142         * BufferView_pimpl.C (updateInset): update inset inside inset also
8143         if it isn't inside theLockingInset().
8144
8145 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8146
8147         * buffer.C (asciiParagraph): redo some of the word and line length
8148         handling.
8149         (getLists): look for Caption instead of caption.
8150
8151 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8152
8153         * buffer.C (Buffer): initialize niceFile to true
8154         (makeLaTeXFile):
8155         (makeLinuxDocFile):
8156         (makeDocBookFile): make sure niceFile is true on exit
8157
8158 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8159
8160         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8161
8162 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8163
8164         * LyXSendto.C: remove.
8165         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8166         * lyx_gui.C: remove now-redundant comment.
8167         * ColorHandler.h: remove forward declaration of class WorkArea.
8168         * lyxfunc.C: remove #include "WorkArea.h".
8169
8170 2002-03-07  Juergen Vigna  <jug@sad.it>
8171
8172         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8173         got moved away with the DEPM and also set the inset_owner always
8174         right which before could have been omitted.
8175
8176 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8177
8178         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8179         wanted layout is not found.
8180
8181 2002-03-07  Juergen Vigna  <jug@sad.it>
8182
8183         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8184
8185 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8186
8187         * paragraph.C (breakParagraph): use default layout not layout of
8188         prev paragraph.
8189         (Paragraph): clear ParagraphParameters.
8190
8191 2002-03-06  Juergen Vigna  <jug@sad.it>
8192
8193         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8194         otherwise it would not be a valid lenght. Fixed a special case in
8195         the minipage compatibility read where we end the document with a
8196         minipage.
8197
8198         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8199         was set as it could be 0 for InsetTexts first entry.
8200
8201 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8202
8203         * paragraph.C (writeFile): if layout is empty write out
8204         defaultLayoutName().
8205
8206         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8207         file without named layout we set layout to defaultLayoutName().
8208
8209 2002-03-06  Juergen Vigna  <jug@sad.it>
8210
8211         * CutAndPaste.C (copySelection): set layout for new paragraph.
8212
8213         * text.C (prepareToPrint): leave ERT inset left aligned
8214         (leftMargin): don't indent paragraphs inside ERT insets
8215
8216 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8217
8218         * paragraph.C (breakParagraph): dont call clear do the work manually
8219
8220         * paragraph.[Ch] (clear): remove function
8221
8222 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8223
8224         * paragraph.C (Paragraph): dont call clear, the work has already
8225         been done.
8226
8227         * lyxtextclass.C (operator): assert if n is empty
8228
8229         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8230         work manually instead.
8231
8232 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8233
8234         * BufferView_pimpl.C: protect selectionLost against text == 0
8235
8236 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8237
8238         * text.C (breakParagraph): fix a setting layout to '0' problem.
8239
8240 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8241
8242         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8243         final location of file, for the included files, and graphics.
8244
8245 2002-03-05  Juergen Vigna  <jug@sad.it>
8246
8247         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8248
8249 2002-03-04  Juergen Vigna  <jug@sad.it>
8250
8251         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8252
8253         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8254         last column of multicolumn cells.
8255         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8256
8257 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8258
8259         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8260         file if it doesn't go to a temporary file.
8261
8262         * buffer.C (sgmlOpenTag):
8263         (sgmlCloseTag):  remove extra newline insertion.
8264
8265 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8266
8267         * text.C (getRowNearY): comment out debug msg
8268
8269 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8270
8271         * text2.C: first -> first_y
8272
8273         * text.C (getRowNearY): add some attemts at a possible
8274         optimization, not working.
8275
8276         * tabular.[Ch]: add BufferParams to several function so that newly
8277         created paragraph can be initialized to he default layotu for the
8278         buffers textclass.
8279
8280         * tabular-old.C (ReadOld): add buf->params to call of Init
8281
8282         * screen.C: rename text->first to text->first_y
8283
8284         * paragraph.C (breakParagraph): always set layout in the broken
8285         paragraph
8286
8287         * lyxtextclass.C (Read): remove lowercase
8288         (hasLayout): ditto
8289         (operator): ditto
8290         (delete_layout): ditto
8291
8292         * lyxtext.h: rename first -> first_y
8293
8294         * lyxlayout.C (Read): remove lowercase
8295         (name): ditto
8296         (setName): ditto
8297         (obsoleted_by): ditto
8298
8299         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8300
8301         * buffer.C (insertErtContents): add params are to InsetERT
8302         (parseSingleLyXformat2Token): add code to check if a paragraphs
8303         layout really exist.
8304         (parseSingleLyXformat2Token): add params to several inset
8305         constructors
8306         (asciiParagraph): remove lowercase, do the layout comparisons with
8307         no_case
8308
8309         * BufferView_pimpl.C (cursorNext): first -> first_y
8310         (resizeCurrentBuffer): first -> first_y
8311         (updateScrollbar): first -> first_y
8312         (scrollCB): first -> first_y
8313         (workAreaMotionNotify): first -> first_y
8314         (workAreaButtonPress): first -> first_y
8315         (checkInsetHit): first -> first_y
8316         (cursorPrevious): first -> first_y
8317         (cursorNext): first -> first_y
8318         (Dispatch): add buffer_->params to severl inset contructors
8319
8320 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8321
8322         * lyxlayout.C (Read): remove some debug info that I forgot.
8323
8324         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8325         clean up the code slightly.
8326         (makeLinuxDocFile): ditto
8327         (makeDocBookFile): ditto
8328
8329         * text2.C: layout as string
8330
8331         * text.C: layout as string
8332
8333         * paragraph_pimpl.C: layout as string
8334
8335         * paragraph.[Ch]: layout as string
8336
8337         * lyxtextclasslist.[Ch]: layout as string
8338
8339         * lyxtextclass.[Ch]: layout as string
8340
8341         * lyxtext.h: layout as string
8342
8343         * lyxlayout.[Ch]: layout as string
8344
8345         * lyx_cb.C: layout as string
8346
8347         * bufferview_funcs.C: layout as string
8348
8349         * bufferparams.C: layout as string
8350
8351         * buffer.C: layout as string
8352
8353         * LyXView.[Ch]: layout as string
8354
8355         * LaTeXFeatures.[Ch]: layout as string
8356
8357         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8358
8359         * BufferView_pimpl.C: change current_layout to string, remove
8360         lyx::layout_type.
8361         (Dispatch):
8362         (smartQuote):
8363         (insertInset):
8364         (workAreaButtonRelease): layout as string
8365
8366         * BufferView2.C (unlockInset): adjust
8367
8368         * vspace.C (asLatexCommand): use an explict temp variable.
8369
8370 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8371
8372         * Makefile.am: use FRONTEND_*
8373
8374 2002-03-01  Juergen Vigna  <jug@sad.it>
8375
8376         * tabular.C (SetWidthOfMulticolCell): changed to something better
8377         I hope but still work in progress.
8378         (recalculateMulticolumnsOfColumn): renamed function from
8379         recalculateMulticolCells as it is more appropriate now.
8380         (SetWidthOfCell): calculate multicols better.
8381
8382 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8383
8384         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8385
8386         * lyxfunc.C (processKeySym): print sequence also if it is
8387         `deleted' (complete)
8388
8389         * kbsequence.C (print): print sequence even if it is deleted
8390         (complete would be a better word, actually).
8391
8392         * lyxfunc.C (dispatch): print complete options after a prefix key
8393
8394         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8395
8396 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8397
8398         * text2.C (setCharFont): eliminate setCharFont code duplication.
8399
8400 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8401
8402         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8403         LFUN_TABULAR_FEATURE (bug #177)
8404
8405 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8406
8407         * Makefile.am: remove figure.h
8408
8409 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8410
8411         * Bufferview_pimpl.C:
8412         * CutAndPasteC:
8413         * LaTeX.C:
8414         * LyXSendto.C:
8415         * buffer.C:
8416         * bufferlist.C:
8417         * converter.C:
8418         * language.C:
8419         * lyxfunc.C:
8420         * lyxvc.C:
8421         * paragraph.C:
8422         * text.C:
8423         * text2.C: remove #include "lyx_gui_misc.h".
8424
8425         * LaTeX.C: added #include <cstdio>
8426
8427 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8428
8429         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8430         that the paragraph following this one can have.
8431
8432         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8433
8434         * vspace.C (asLatexCommand): fix bogus gcc warning
8435
8436         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8437
8438 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8439
8440         * text2.C (setLayout): get rid of redundant code
8441
8442 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8443
8444         * text2.C (incDepth): make sure depth cannot be increased beyond
8445         reasonable values.
8446
8447 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8448
8449         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8450         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8451
8452         * PainterBase.h (image):
8453         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8454         a LyXImage const *.
8455
8456 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8457
8458         * BufferView.C:
8459         * BufferView.h:
8460         * BufferView_pimpl.C:
8461         * BufferView_pimpl.h:
8462         * LaTeXFeatures.C:
8463         * LyXAction.C:
8464         * LyXView.C:
8465         * Makefile.am:
8466         * UpdateList.h:
8467         * UpdateList.C:
8468         * buffer.C:
8469         * figure.h:
8470         * figureForm.C:
8471         * figureForm.h:
8472         * figure_form.C:
8473         * figure_form.h:
8474         * lyx_cb.C:
8475         * lyx_gui.C:
8476         * lyx_gui_misc.C:
8477         * lyxfunc.C:
8478         * sp_base.h:
8479         * sp_ispell.h:
8480         * sp_pspell.h:
8481         * sp_spell.C: remove fig inset, and the crap house of
8482           cards that follows it
8483
8484 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8485
8486         * Makefile.am:
8487         * lyxserver.C:
8488         * os2_defines.h:
8489         * os2_errortable.h:
8490         * nt_defines.h: move .h into support/
8491
8492         * vms_defines.h: remove
8493
8494         * WorkArea.C: add space in debug output
8495
8496         * text2.C:
8497         * paragraph.C:
8498         * buffer.C: add WITH_WARNINGS
8499
8500         * vc-backend.h:
8501         * vc-backend.C:
8502         * bufferlist.C: s/retrive/retrieve/, add docs
8503
8504         * vspace.h:
8505         * vspace.C:
8506         * kbmap.h:
8507         * lyxlength.h:
8508         * lyxgluelength.h:
8509         * length_common.h:
8510         * chset.h:
8511         * chset.C: add docs
8512
8513         * lyxgui.C: add ID to X error handler
8514
8515         * lyxtestclass.c: fix typo
8516
8517 2002-02-26  Juergen Vigna  <jug@sad.it>
8518
8519         * tabular_funcs.C (write_attribute): changed so that some default
8520         attributes are not written at all.
8521         (getTokenValue): set default values before trying to read the
8522         value so we have the return value always set as default if we don't
8523         find the token we search for.
8524
8525         * tabular.C (Write): write bools as bools not as strings!
8526
8527 2002-02-22  Juergen Vigna  <jug@sad.it>
8528
8529         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8530         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8531
8532         * text.C (leftMargin): don't add an indent for paragraphs inside
8533         tabular cells (fix #208).
8534
8535 2002-02-21  José Matos  <jamatos@fep.up.pt>
8536
8537         * tabular.C (docBook): fixed support for long tables.
8538
8539 2002-02-20  Juergen Vigna  <jug@sad.it>
8540
8541         * text2.C (getFont): get the drawing font of the Inset if this
8542         paragraph is inside an inset (only important for InsetERT for now).
8543
8544         * buffer.C (insertErtContents): use new lanugage params in ERT
8545         constructor.
8546
8547         * CutAndPaste.C: commenting out seemingly uneeded code.
8548
8549 2002-02-19  Allan Rae  <rae@lyx.org>
8550
8551         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8552         Iterators might be simple to use but they also get invalidated.
8553         (removeAutoInsets): renamed saved cursor tracking variables and added
8554         some comments to clarify what everything does.
8555
8556 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8557
8558         * Chktex.C:
8559         * LaTeX.C:
8560         * LyXSendto.C:
8561         * converter.C:
8562         * lyx_cb.C:
8563         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8564         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8565
8566         * lyxfunc.C:
8567         * vc-backend.h: remove #include "support/syscall.h"
8568
8569         * LaTeX.C:
8570         * LyXSendto.C:
8571         * converter.C: rearrange #includes in Lars' approved fashion.
8572
8573         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8574         forward declare class Timeout in the header file.
8575
8576         * XFormsView.C: changes due to the above.
8577
8578         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8579         similar to LyXView.
8580
8581         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8582         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8583
8584 2002-02-18  José Matos  <jamatos@fep.up.pt>
8585
8586         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8587         insets contents.
8588
8589 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8590
8591         * a lot of small ws changes
8592         * add a lot of using std::XXX
8593         * use std construcs some places where approp.
8594         * use some exisint stuff from lyxfunctional where approp.
8595         * Make file changes to use partial linking (lets test this now...)
8596
8597 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8598
8599         * Chktex.C:
8600         * buffer.C:
8601         remove #include "support/syscontr.h" as it's redundant. Always has been.
8602
8603         * Chktex.C:
8604         * LaTeX.C:
8605         * LyXSendto.C:
8606         * converter.C:
8607         * lyx_cb.C:
8608         * vc-backend.C:
8609         change Systemcalls::System to Systemcalls::Wait and
8610         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8611         No change of functionality, just reflects the stripped down Systemcalls
8612         class.
8613
8614 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8615
8616         * debug.[Ch]: add a GRAPHICS type to the enum.
8617
8618 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8619
8620         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8621
8622         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8623         there is an inset.
8624
8625 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8626
8627         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8628         match the changes below.
8629
8630         * text2.C (toggleInset): if there is not editable inset at cursor
8631         position, try to see if cursor is _inside_ a collapsable inset
8632         and close it.
8633
8634 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8635
8636         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8637         document menu has a nice checkbox
8638
8639 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8640
8641         * lyxlength.C (asLatexString): change PW to output as percent of
8642         \textwidth.
8643
8644         * lengthcommon.C: change '%' to 't%'
8645
8646         * lyxfunc.C (dispatch): a few comments from Martin
8647
8648 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8649
8650         * WorkArea.h:
8651         * WorkArea.C:
8652         * BufferView_pimpl.h:
8653         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8654           the X selection.
8655
8656 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8657
8658         * vspace.C (inPixels): fix compiler warning
8659
8660 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8661
8662         * lyxfunc.C (getStatus): fix status message for disabled commands.
8663
8664 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8665
8666         * BufferView_pimpl.C: fix crash on close buffer
8667         during selection (#227)
8668
8669 2002-01-27  Herbert Voss  <voss@lyx.org>
8670
8671         * buffer.C: link old Figure to new graphic inset
8672
8673 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8674
8675         * FontLoader.C (getFontinfo): Change the latex font names in order
8676         to match the names of type1inst.
8677
8678 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8679
8680         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8681
8682         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8683         (extchanged): ditto
8684         (ext_exist): ditto
8685         (remove_files_with_extension): ditto
8686         (remove_file): ditto
8687         (write): ditto
8688
8689         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8690         document is smaller than the work area height. Do not initialize
8691         static variables to 0.
8692
8693 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8694
8695         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8696
8697         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8698         LFUN_LAYOUT_PARAGRAPHS.
8699
8700         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8701         tabular. It is possible to provide a possible cell, which will
8702         typically be the actcell from the corresponding insettabular
8703
8704         * lyxfunc.C (getStatus): small cleanup; disable
8705         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8706         true
8707
8708 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8709
8710         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8711
8712         * paragraph.C (startTeXParParams):
8713         (endTeXParParams): new methods. The LaTeX code to
8714         start/end paragraph formatting
8715         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8716         empty (fixes bug #200)
8717
8718         * vspace.C (inPixels): adapt to the change below
8719         (inPixels): [later] more cleanups (remove unused variables)
8720
8721         * lyxlength.C (inPixels): change to use a width and a height as
8722         parameter.
8723
8724 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8725
8726         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8727         Replaced with \paperwidth
8728
8729         * DepTable.C (insert): add std:: qualifier
8730
8731 2002-01-18  Allan Rae  <rae@lyx.org>
8732
8733         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8734         updated also?
8735
8736         * text.C (drawInset): Turned out I didn't know enough about how
8737         rebreaking worked.  This fixes most of the redraw problems.  I see
8738         an occasional cursor trail when a line is broken now and the cursor
8739         placement can seem out by a few pixels also after a rebreak.
8740
8741 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8742
8743         * buffer.C (parseSingleLyXformat2Token): update because minipage
8744         width is now a LyXLength
8745
8746         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8747
8748         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8749         math insets
8750
8751 2002-01-17  Juergen Vigna  <jug@sad.it>
8752
8753         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8754
8755         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8756         is set correctly and the inset is updated correctly.
8757
8758 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8759
8760         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8761         the beginning of the loop.
8762
8763 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8764
8765         * lyxrc.C: improve help for use_scalable_fonts
8766
8767 2002-01-17  Allan Rae  <rae@lyx.org>
8768
8769         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8770
8771 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8772
8773         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8774         make sure to set their inset_owner to the right value (bug #171)
8775
8776 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8777
8778         * DepTable.h
8779         * DepTable.C: Implement mtime checking to reduce time spent doing
8780         CRCs.
8781
8782 2002-01-16  Juergen Vigna  <jug@sad.it>
8783
8784         * tabular.C (GetAdditionalHeight): one of error fixed.
8785
8786         * lyxrc.C (output): small fix in writing use_pspell.
8787
8788 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8789
8790         * sp_base.h: #include LString.h
8791
8792 2002-01-16  Allan Rae  <rae@lyx.org>
8793
8794         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8795         Can someone check this please?
8796
8797         * text.C (drawInset): It was possible that p.row would be removed by
8798         breakAgainOneRow upsetting a few other settings.  There may be another
8799         small tweak possible by setting need_break_row = 0 when p.row has been
8800         removed but I don't know enough about the logic here.
8801
8802 2002-01-15  Allan Rae  <rae@lyx.org>
8803
8804         * text.C (insertChar): removed conditional truism.
8805
8806         * BufferView2.C (removeAutoInsets): More tweaks.
8807         cur_par_prev could be a stray pointer.  Check for trailing empty line
8808         in case last line was cur_par and only had an error inset on it.
8809
8810 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8811
8812         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8813         absolute
8814
8815         * vc-backend.C (most methods):
8816         * exporter.C (Export):
8817         * converter.C (convert):
8818         (runLaTeX):
8819         * LyXSendto.C (SendtoApplyCB):
8820         * lyxfunc.C (dispatch):
8821         (menuNew):
8822         (open):
8823         (doImport):
8824         * lyx_cb.C (AutoSave):
8825         (InsertAsciiFile):
8826         * BufferView_pimpl.C (MenuInsertLyXFile):
8827         * buffer.C (runChktex): use Buffer::filePath().
8828
8829         * buffer.h: rename filename to filename_; rename filepath to
8830         filepath_ and make it private
8831         (filePath): new method
8832
8833         * buffer.C (writeFile): use fileName()
8834         (getLatexName):
8835
8836         * lyx_main.C (init): fix starting  of LyX when the binary is a
8837         link from so,ewhere else.
8838
8839         * minibuffer.C: include <cctype> for isprint
8840
8841 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8842
8843         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8844         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8845         name clash with InsetCollapsable's width function.
8846
8847 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8848
8849         * lastfiles.C: include <iterator>
8850
8851 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8852
8853         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8854         std::count.
8855
8856         * buffer.C (makeLaTeXFile): ditto.
8857         Also make loop operation more transparent.
8858
8859 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8860
8861         * ToolbarDefaults.C: remove trailing comma closing namespace.
8862
8863         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8864
8865         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8866         as in WorkArea.
8867
8868         * trans.C (Load): comment out unused variable, allowed.
8869
8870 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8871
8872         * minibuffer.[Ch] (append_char): new method to recieve input from the
8873         drop-down completion browser. If a key was pressed, then recieve this
8874         char and append it to the existing string.
8875         (peek_event): modify the positioning data passed to the completion
8876         browser so that it can be placed above the minibuffer rather than below.
8877 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8878
8879         * LyXAction.C (init): alloe error-next for readonly documents.
8880
8881         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8882         count.
8883
8884 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8885
8886         * bufferlist.C (readFile): create the buffer _after_ checking that
8887         the file exists.
8888
8889         * lyxfunc.C (verboseDispatch): fix handling of arguments
8890
8891         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8892
8893         * lyxrc.C: use string::erase() instead of initializing to "".
8894
8895
8896 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8897
8898         * BufferView_pimpl.h:
8899         * BufferView_pimpl.C:
8900         * WorkArea.h:
8901         * WorkArea.C:
8902         * text2.C: tell X when we have made a selection for copying
8903
8904 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8905
8906         * BufferView_pimpl.C (MenuInsertLyXFile):
8907         * lyxfunc.C (menuNew):
8908         (open):
8909         (doImport): add shortcuts to directory buttons
8910
8911         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8912         open a float)
8913
8914         * lyxfunc.C (setStatusMessage):
8915         (getStatusMessage): new methods
8916         (getStatus):use setStatusMessage instead of setErrorMessage
8917         (dispatch): when function is disabled, set error message here
8918         [instead of in getStatus previously]
8919
8920         * BufferView_pimpl.C (workAreaButtonRelease): update
8921         toolbar/menubar here too.
8922
8923 2002-01-13  Allan Rae  <rae@lyx.org>
8924
8925         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8926         Now seems indestructible.  Remaining task is to audit all other
8927         code affected by deleteEmptyParagraphMechanism.  One small quirk
8928         left is that an empty document with an error in the preamble can
8929         be made to report an error but no error box appears.  I don't know
8930         where it goes.
8931         (removeAutoInsets): Improved comments.
8932
8933 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8934
8935         * Thesaurus.h:
8936         * Thesaurus.C: update for Aiksaurus 0.14
8937
8938 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8939
8940         * text2.C (firstParagraph): removed member function, all uses
8941         replaces with ownerParagraph
8942         (redoParagraphs): here
8943         (updateInset): here
8944         (toggleAppendix): here
8945         * BufferView2.C (insertErrors): here
8946         (setCursorFromRow): here
8947
8948 2002-01-13  Allan Rae  <rae@lyx.org>
8949
8950         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8951         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8952         There is still a way to segfault this although you may have to do this
8953         multiple times: Have an InsetERT with an unknown command in it.
8954         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8955         <down-arrow>, <Enter> again, View->DVI, BANG!
8956
8957         * text2.C (setCursor):
8958         (deleteEmptyParagraphMechanism):
8959         * lyxtext.h (setCursor):
8960         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8961         Making use of the return value may help fix other bugs.
8962
8963 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8964
8965         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8966
8967         * LyXView.C (updateMenubar): call MenuBar::update here
8968         (updateToolbar): but not here
8969         (showState): do not update toolbar/menubar
8970
8971         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8972         should need to care about that.
8973
8974         * lyxfunc.C (verboseDispatch): simplify a bit
8975         (getStatus): have a version which takes a pseudoaction, and
8976         another which requires a (kb_action,string).
8977
8978         * LyXAction.C (retrieveActionArg): make it work also when action
8979         is not a pseudo-action.
8980         (getActionName): simplify a bit
8981         (helpText):
8982
8983 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8984
8985         * lyxfunc.C (verboseDispatch): new families of methods with
8986         several ways to specify a command and a bool to indicate whether
8987         the command name and shortcut should be displayed in minibuffer
8988         (eventually, we could extend that to a finer bitmask like
8989         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8990         (dispatch): the pristine dispatch command which just, well,
8991         dispatchs! Note it still sets its result to minibuffer; I'm not
8992         sure we want that.
8993
8994         * lyxfunc.h: remove setHintMessage
8995
8996         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8997
8998 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8999
9000         * BufferView_pimpl.C (specialChar): delete new inset if we have
9001         not been able to insert it.
9002
9003         * kbmap.C: revert to using int instead of kb_action, since all we
9004         are dealing with is pseudo-actions.
9005
9006         * LyXAction.C (searchActionArg): change to return int instead of
9007         kb_action, since the result is a pseudoaction.
9008
9009 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9010
9011         * buffer.C (insertErtContents): Fix (partially) the font bug.
9012
9013 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9014
9015         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9016         as the other one is broken on my machine!
9017
9018 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9019
9020         * commandtags.h:
9021         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9022
9023 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9024
9025         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9026         reflect their actual use. Provide compatibility code for older lyxrc
9027         files.
9028
9029         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9030         FL_NORMAL_STYLE.
9031         change names of popup font variables in line with the changes to lyxrc.C
9032
9033 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9034
9035         * buffer.C (asciiParagraph): avoid outputing a word twice after
9036         an inset.
9037
9038         * lyxrc.C (getDescription): document that document_path and
9039         template_path can be empty.
9040
9041 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9042
9043         * LaTeXFeatures.C (getMacros):
9044         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9045
9046         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9047
9048         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9049         getPackages.
9050         (getPackages): rename feature "floats" to "float". Use an array to
9051         iterate over 'simple' features (i.e. just a \usepackage). Add
9052         handling of "amsmath" (renamed from "amsstyle").
9053
9054 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9055
9056         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9057         features list.
9058
9059 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9060
9061         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9062         FuncStaus::FuncStatus & FuncStaus::some_method().
9063
9064 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9065
9066         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9067         of the func_satus stuff. Edited and massaged in various ways by
9068         JMarc.
9069
9070         * lyxfunc.C (getStatus): use FuncStatus
9071
9072 2002-01-08  Juergen Vigna  <jug@sad.it>
9073
9074         * text.C (nextBreakPoint): use function Inset::isChar().
9075
9076         * paragraph.C (TeXOnePar): use function
9077         Inset::forceDefaultParagraphs.
9078
9079         * buffer.C (latexParagraphs): use function
9080         Inset::forceDefaultParagraphs.
9081
9082 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9083
9084         * lyx_gui.C (init): set the style of the menu popups to
9085         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9086
9087 2002-01-07  Juergen Vigna  <jug@sad.it>
9088
9089         * text.C (setHeightOfRow): small fix
9090         (prepareToPrint): don't look at alignment if we don't have the place
9091         for doing it.
9092
9093 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9094
9095         * box.C: New file. Move the Box methods and functions out of box.h,
9096         following Lars' suggestion.
9097
9098 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9099
9100         * box.h: #include "support/LOstream.h", needed for inlined function.
9101
9102         * lyxtextclass.C:
9103         * lyxtextclasslist.C: added some using std declarations.
9104
9105 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9106
9107         * box.h: make signed dimensions to allow insets wider than
9108           the screen (bug #162)
9109
9110         * BufferView_pimpl.C: add some insetHit debug
9111
9112 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9113
9114         * vc-backend.C: add FIXME
9115
9116 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9117
9118         * lyxfunc.C (getStatus): enable code for showing math font status
9119         in toolbar/menu.
9120
9121 2002-01-07  Juergen Vigna  <jug@sad.it>
9122
9123         * text.C (nextBreakPoint): removed debug output not needed anymore.
9124
9125 2002-01-06  Juergen Vigna  <jug@sad.it>
9126
9127         * text.C (nextBreakPoint): fixed up this function we had this bug
9128         since ever but now hopefully we break row better.
9129         (insertChar): we have to check if an inset is the next char as it
9130         could now happen that a large inset is causing a break.
9131
9132 2002-01-05  Juergen Vigna  <jug@sad.it>
9133
9134         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9135         if it doesn't like to be drawed.
9136
9137 2002-01-04  Juergen Vigna  <jug@sad.it>
9138
9139         * BufferView2.C (lockInset): forgot to set a cursor.
9140
9141         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9142
9143 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9144
9145         * FormMathsPanel.C:
9146         * FormMathsPanel.h
9147         * MathsSymbols.C:
9148         * form_maths_panel.C:
9149         * form_maths_panel.h:
9150         * form_maths_panel.fd: implemented sub- and super- buttons in math
9151         panel.
9152
9153         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9154         (or ^ space) to be used as in TeX (req'd by André).
9155
9156         * lyxfunc.C: Allow ^ and _ again to be used both as
9157         super/subscript (mathed) and as themselves (in text).
9158
9159 2002-01-03  Allan Rae  <rae@lyx.org>
9160
9161         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9162         "LyX" or the filename of the current buffer if it has one.  This is a
9163         modified form of John Levon's patch.
9164
9165         * XFormsView.C (setWindowTitle): also set icon title.
9166
9167         * LyXView.h (setWindowTitle): signature changed.
9168         * XFormsView.h (setWindowTitle): ditto.
9169
9170 2002-01-02  Juergen Vigna  <jug@sad.it>
9171
9172         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9173
9174 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9175
9176         * screen.C (topCursorVisible): introduce a temp var for
9177         text->cursor.row(), handle the case where this row is null. (kindo
9178         hachish)
9179
9180         * text2.C (setCursor): add a couple of asserts.
9181
9182         * paragraph.h (inset_iterator): add -> operator
9183
9184         * paragraph.[Ch] (autoDeleteInsets): remove member function
9185
9186         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9187         cursor pos correctly and handle inset deletion by itself.
9188         (insertErrors): move iterator declaration out of for expression
9189
9190         * lyxtextclass.C: add <algorithm>
9191
9192         * Makefile.am: added the new files to sources, removed layout.C
9193
9194         * layout.C: removed file
9195
9196         * layout.h: remove LYX_DUMMY_LAYOUT
9197
9198         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9199         layout.
9200
9201         * lyxlayout.[Ch]:
9202         * lyxtextclass.[Ch]:
9203         * lyxtextclasslist.[Ch]: new files
9204
9205         * include order changes to a lot of files, also changes because of
9206         the six new files.
9207
9208 2001-12-27  Juergen Vigna  <jug@sad.it>
9209
9210         * buffer.C (asciiParagraph): more fixes.
9211
9212         * tabular.C (ascii): make ascii export support export of only the
9213         data separated by a column-delimiter.
9214         (ascii): better support for ascii export.
9215
9216         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9217
9218 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9219
9220         * tabular_funcs.C: use a "using std::getline" instead of the
9221         previous fix from Angus (necessary for cxx + lyxstring)
9222
9223 2001-12-24  Juergen Vigna  <jug@sad.it>
9224
9225         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9226
9227         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9228         problems. First check a minipage also if we have some ert-contents
9229         (not only on par->size(), second set the right depth of the paragraph
9230         on the relink to the root-paragraph-list!
9231
9232         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9233         which then did not anymore update the main paragraphs on undo/redo!
9234
9235 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9236
9237         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9238         code. Support all font-changing funcs (even those which are not in
9239         menu currently). Support for reporting font settings in
9240         mathed (disabled until Andre provides a function on mathed's side).
9241
9242         * func_status.h (toggle): small helper function to set toggle
9243         state on a flag.
9244
9245 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9246
9247         * tabular_funcs.C: getline -> std::getline
9248
9249 2001-12-21  Juergen Vigna  <jug@sad.it>
9250
9251         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9252         accessed and could be 0 (I couldn't generate this but it seems
9253         Michael could!).
9254
9255 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9256
9257         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9258         * tabular_funcs.h: here and include iosfwd
9259
9260 2001-12-20  Juergen Vigna  <jug@sad.it>
9261
9262         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9263         inside inset but undo_par was.
9264
9265 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9266
9267         * Thesaurus.C: always include <config.h> in sources.
9268
9269         * Painter.h:
9270         * lyxlookup.h:
9271         * box.h: do not include <config.h> in header files
9272
9273         * text.C (paintLastRow): remove unused variable
9274
9275         * text.C (transformChar):
9276         (insertChar):
9277         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9278
9279         * Painter.C (text):
9280         * font.C (width): rewrite to use uppercase() instead of
9281         islower/toupper.
9282
9283         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9284
9285 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9286
9287         * lyxfind.C: clean up of find failure position change
9288
9289 2001-12-20  Juergen Vigna  <jug@sad.it>
9290
9291         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9292
9293         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9294         (TeXRow): added to LaTeX a single tabular row.
9295         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9296         (Latex): simplified and finally good LT-h/f support.
9297         (various_functions): just small adaptions for LT-h/f support.
9298
9299         * tabular_funcs.[hC]: added and moved here all not classfunctions
9300         of LyXTabular.
9301
9302 2001-12-19  Juergen Vigna  <jug@sad.it>
9303
9304         * tabular.[Ch]: better support for longtabular options (not finished
9305         yet!)
9306
9307 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9308
9309         * text.C (paintLastRow): use the label font instead of the font of
9310         the last character to compute the size of *_BOX. This makes more
9311         sense and avoids a crash with empty paragraphs.
9312         Use Painter::rectangle to draw EMPTY_BOX.
9313
9314 2001-12-19  Juergen Vigna  <jug@sad.it>
9315
9316         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9317         the paragraphs if the replaced paragraph is not the first one!
9318         Tried to delete not used paragraphs but does not work yet so for
9319         now it's inside #ifdef's and by default off!
9320
9321 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9322
9323         * MenuBackend.C: include "lyx_main.h" instead of declaring
9324         lastfiles (actually was declared as LastFiles* instead of a
9325         scoped_ptr).
9326
9327 2001-12-17  Juergen Vigna  <jug@sad.it>
9328
9329         * tabular.C (AppendColumn): applied John's fix
9330
9331 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9332
9333         * BufferView.h:
9334         * BufferView.C:
9335         * BufferView_pimpl.h:
9336         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9337
9338         * Makefile.am:
9339         * box.h: new start of class for above
9340
9341         * lyxfunc.C: ignore space-only minibuffer dispatches.
9342           Show the command name when it doesn't exist
9343
9344         * minibuffer.C: don't add empty lines to the history
9345
9346         * minibuffer.C: add a space on dropdown completion
9347
9348 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9349
9350         * text.C: fix line above/below drawing in insets
9351
9352 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9353
9354         * lyxlength.C (LyXLength): Initialize private variables.
9355
9356 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9357
9358         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9359         when inserting error insets.
9360
9361 2001-12-13  Juergen Vigna  <jug@sad.it>
9362
9363         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9364         actually sometimes the before-paragraph.
9365         (setUndo): don't clear the redostack if we're not actually undoing!
9366
9367 2001-12-06  Juergen Vigna  <jug@sad.it>
9368
9369         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9370         and fixed redoing of main paragraph, so we can use it now ;)
9371
9372         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9373
9374 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9375
9376         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9377         Juergen's request
9378
9379 2001-12-13  André Pönitz <poenitz@gmx.net>
9380
9381         * undostack.[Ch]:
9382         * undo_func.C: minor cleanup
9383
9384 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9385
9386         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9387         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9388         font in urw-fonts package which is marked as -urw-fontspecific and
9389         does not work (incidentally, changing the encoding in the
9390         fonts.dir of this package to -adobe-fontspecific fixes the
9391         problem).
9392
9393         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9394         is a crash when undoing first paragraph (Juergen, please take a
9395         look). THis does not mean the undo fix is wrong, just that it
9396         uncovers problems.
9397
9398         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9399         the (Paragraph*) version when needed instead of duplicating the
9400         code.
9401
9402         * text.C (workWidth): use Inset::parOwner to find out where the
9403         inset has been inserted. This is a huge performance gain for large
9404         documents with lots of insets. If Inset::parOwner is not set, fall
9405         back on the brute force method
9406
9407         * paragraph_pimpl.C (insertInset):
9408         * paragraph.C (Paragraph):
9409         (cutIntoMinibuffer): set parOwner of insets when
9410         inserting/removing them
9411
9412         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9413
9414 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9415
9416         * commandtags.h:
9417         * LyXAction.C:
9418         * lyx_main.C:
9419         * lyxfunc.C:
9420         * mathed/formulabase.C:
9421         * mathed/math_cursor.[Ch]:
9422         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9423
9424
9425 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9426
9427         * lyxlength.[Ch] (operator!=): new function
9428
9429 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9430
9431         * text.C (workWidth): use Inset::parOwner to find out where the
9432         inset has been inserted. This is a huge performance gain for large
9433         documents with lots of insets. If Inset::parOwner is not set, fall
9434         back on the brute force method
9435
9436         * paragraph_pimpl.C (insertInset):
9437         * paragraph.C (Paragraph):
9438         (cutIntoMinibuffer): set parOwner of insets when
9439         inserting/removing them
9440
9441         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9442
9443 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9444
9445         * tabular-old.C (getTokenValue):
9446         * tabular.C (getTokenValue):
9447         (write_attribute): new versions for LyXLength
9448         (everywhere): adjust the use of widths
9449
9450         * tabular.h: change the type of widths from string to LyXLength
9451
9452 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9453
9454         * paragraph.C: fixed missing line number count when exporting
9455         Environments to LaTeX file
9456
9457         * buffer.C: added informational message for checking line numbers.
9458
9459 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9460
9461         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9462         paragraph, do the 'double space' part, but not the 'empty
9463         paragraph' one.
9464
9465         * text.C (workWidth): small optimization
9466         (getLengthMarkerHeight): use minimal size for negative lengths.
9467
9468 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9469
9470         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9471
9472         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9473
9474 2001-12-11  André Pönitz <poenitz@gmx.net>
9475
9476         * FontLoader.C:
9477         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9478
9479 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9480
9481         * text2.C: keep selection on a setFont()
9482
9483 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9484
9485         * lyx_cb.C: another bv->text misuse, from insert label
9486
9487 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9488
9489         * kbsequence.h:
9490         * kbsequence.C: re-instate nmodifier mask
9491
9492 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9493
9494         * lyx_main.h: make lyxGUI private.
9495
9496 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9497
9498         * lyxfind.C: place the cursor correctly on failed search
9499
9500 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9501
9502         * text.C (getLengthMarkerHeight): for small heights, the arrows
9503         are not always on top/bottom of the text
9504         (drawLengthMarker): smaller arrows; take the left margin in
9505         account; draw also vfills.
9506         (paintFirstRow):
9507         (paintLastRow): remove special code for vfill and standard spaces,
9508         since everything is handled in drawLengthMarker now.
9509
9510 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9511
9512         * buffer.C (insertErtContents): try to handle font and language
9513         interaction a bit better.g
9514
9515         * ColorHandler.C (updateColor): change the hash to cover the whole
9516         LColor enum, ws cleanup
9517         (getGCLinepars): ditto
9518         (getGCLinepars): only lookup in the linecache once.
9519
9520 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9521
9522         * iterators.C (operator++): Make the iterator more robust
9523
9524         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9525         (John's patch)
9526         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9527
9528 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9529
9530         * lyxtext.h:
9531         * text.C: better added space drawing
9532
9533 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9534
9535         * LyXView.C:
9536         * BufferView2.C: fix layout combo update on inset unlock
9537
9538 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9539
9540         * Makefile.am: don't compile unused files
9541
9542 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9543
9544         * lyxfunc.C:
9545         * commandtags.h:
9546         * LyXAction.C: remove old LFUN_LAYOUTNO
9547
9548 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9549
9550         * paragraph_pimpl.h:
9551         * paragraph_pimpl.C: isTextAt() doesn't need font param
9552
9553 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9554
9555         * lyxlex.h:
9556         * lyxlex.C: little cleanup
9557
9558 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9559
9560         * BufferView_pimpl.C: fix insertAscii for insets
9561
9562 2001-12-05  Juergen Vigna  <jug@sad.it>
9563
9564         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9565         set the right font on the "multi" paragraph paste!
9566
9567 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9568
9569         * trans_decl.h:
9570         * trans_mgr.[Ch]:
9571         * trans.[Ch]:
9572         * lyxgluelength.C:
9573         * lyxlength.C: remove out-commented code.
9574
9575         * BufferView_pimpl:
9576         * CutAndPaste.C:
9577         * DepTable.C:
9578         * buffer.C:
9579         * chset.C:
9580         * lastfiles.C:
9581         * lyxlex.C:
9582         * lyxlex_pimpl.C:
9583         * lyxserver.C:
9584         * screen.C:
9585         * tabular-old.C:
9586         * tabular.C:
9587         * text.C:
9588         * trans_mgr.C:
9589         * vc-backend.C: change "while(" to "while ("
9590
9591         * lyxlength.[Ch]: add zero function to check if length is zero or
9592         not
9593         * lyxgluelength.C: use it
9594
9595 2001-12-05  Allan Rae  <rae@lyx.org>
9596
9597         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9598         Works for 2.95.3, from what I understand of Garst's reports this should
9599         work for other g++ versions.  We're screwed if the abs(int) definition
9600         changed between bugfix releases of gcc.
9601
9602 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9603
9604         * text.C: fix chapter label offset !
9605
9606 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9607
9608         * lyxtext.h:
9609         * text.C: fix hfill at end of line, clean up
9610
9611 2001-12-04  Juergen Vigna  <jug@sad.it>
9612
9613         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9614         that we force an update of the inset and it's owners if neccessary.
9615
9616 2001-12-03  Juergen Vigna  <jug@sad.it>
9617
9618         * text.C (rowLast): simplified code
9619
9620 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9621
9622         * lyxfunc.C: fix show options on timeout
9623
9624 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9625
9626         * screen.C (topCursorVisible): scroll half a page when the cursor
9627         reached top of bottom of screen
9628
9629 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9630
9631         * minibuffer.C: deactivate on loss of focus
9632
9633 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9634
9635         * vspace.[Ch] (operator!=): add operator.
9636
9637 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9638
9639         * BufferView_pimpl.C: refuse to open an inset when
9640         there's a selection.
9641
9642 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9643
9644         * BufferView_pimpl.C: allow to click on RHS of full row insets
9645
9646 2001-11-30  Juergen Vigna  <jug@sad.it>
9647
9648         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9649         insets for undo reasons.
9650
9651 2001-11-28  André Pönitz <poenitz@gmx.net>
9652
9653         * vspace.[Ch]: cosmetical changes
9654
9655 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9656
9657         * LyXAction.h:
9658         * LyXAction.C:
9659         * lyxfunc.h:
9660         * lyxfunc.C:
9661         * kbmap.h:
9662         * kbmap.C:
9663         * lyxrc.C:
9664         * kbsequence.h:
9665         * kbsequence.C: part re-write of old kb code
9666
9667         * Painter.C:
9668         * WorkArea.C: remove Lgb_bug_find_hack
9669
9670 2001-11-30  José Matos <jamatos@fep.up.pt>
9671
9672         * buffer.C (makeDocBookFile): add a comment to point a hack.
9673         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9674         Fixed a double write of labels.
9675
9676 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9677
9678         * LaTeX.C:
9679         * LaTeX.h Fixed bug in LaTeX class where it would not
9680         re-run latex if no depfiles were changed, but the .dvi was removed.
9681
9682 2001-11-28  André Pönitz <poenitz@gmx.net>
9683
9684         * all the files from the change on 2001/11/26:
9685         use lyx::layout_type instead of LyXTextClass::size_type
9686         use lyx::textclass_type instead of LyXTextClassList::size_type
9687
9688 2001-11-29  Juergen Vigna  <jug@sad.it>
9689
9690         * text.C: added support for paragraph::isFreeSpacing()
9691
9692         * buffer.C: same as above
9693
9694         * paragraph.h: inserted isFreeSpacing() function to enable
9695         FreeSpacing inside InsetERT.
9696
9697         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9698         of the paragraph's in the cut/copy buffer to 0!
9699
9700         * text2.C (removeRow): remove the assert as it can!
9701
9702         * lyxtext.h: added helper function firstRow returning firstrow and
9703         made firstrow private again.
9704
9705         * BufferView2.C (lockInset): don't relock if we're already locked!
9706
9707         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9708         the only paragraph.
9709         (removeRow): added Assert::(firstrow)
9710
9711         * debug.C: forgot to add INSETTEXT here.
9712
9713 2001-11-28  Juergen Vigna  <jug@sad.it>
9714
9715         * sp_spell.C (initialize): changed error text to more general
9716         spellchecker command use (not only ispell!)
9717
9718         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9719
9720         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9721
9722 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9723
9724         * vspace.C: initialise lyxgluelength on failure
9725
9726 2001-11-28  Allan Rae  <rae@lyx.org>
9727
9728         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9729         declaration & definition that looks like a function declaration.
9730
9731 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9732
9733         * BufferView2.C (copy):
9734         (copyEnvironment): do not clear the selection when doing a copy.
9735
9736         * text.C (paintFirstRow): compilation fix
9737
9738 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9739
9740         * tabular.C (Latex): correct line count when writing latex.
9741
9742 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * paragraph_pimpl.h:
9745         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9746           bug a bit
9747
9748 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9749
9750         * text.C:
9751         * LColor.h:
9752         * LColor.C: change vfillline->added_space
9753
9754         * text.C: add markers and text for added space
9755
9756         * vspace.C: fix comment
9757
9758 2001-11-28  André Pönitz <poenitz@gmx.net>
9759
9760         * paragraph.C: whitespace changes
9761         * all the other files from the change on 2001/11/26:
9762         change *::pos_type into lyx::pos_type
9763
9764 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9765
9766         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9767         language of the document when inserting error insets.
9768
9769 2001-11-26  André Pönitz <poenitz@gmx.net>
9770
9771         * BufferView_pimpl.[Ch]:
9772         *       CutAndPaste.C:
9773         * buffer.[Ch]:
9774         * lyxcursor.[Ch]:
9775         * lyxfind.C:
9776         * lyxfunc.C:
9777         * lyxrow.[Ch]:
9778         * paragraph.[Ch]:
9779         * paragraph_pimpl.[Ch]:
9780         * sp_spell.C:
9781         * text.C:
9782         * text2.C: reduce header dependencies, introduce type for positions
9783
9784 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9785
9786         * <various>: change to use Alert.h
9787
9788 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9789
9790         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9791         when encountering an unknown token.
9792         (readLyXformat2): Show an error message if there were unknown tokens.
9793
9794 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9795
9796         * BufferView2.C:
9797         * BufferView_pimpl.C:
9798         * buffer.C:
9799         * paragraph.h:
9800         * text.C:
9801         * text2.C: use par->isInset()
9802
9803 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9804
9805         * paragraph_pimpl.h:
9806         * paragraph_pimpl.C: cleanup
9807
9808 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9809
9810         * text2.C (removeRow):
9811         * text.C (setHeightOfRow): remove useless (and costly) call to
9812         getRow.
9813
9814 2001-11-20  Allan Rae  <rae@lyx.org>
9815
9816         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9817         Now need Inset*::checkInsertChar() to return true for appropriate
9818         cases so that the characters in the minibuffer will actually be
9819         inserted.
9820
9821 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9822
9823         * text.C: change the order of the includes.
9824         (workWidth): initialize it at once.
9825         (workWidth): make maxw unsigned
9826         (setHeightOfRow): remove unused variable (inset)
9827         (selectSelectedWord): remove unused variable (inset)
9828         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9829
9830 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9831
9832         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9833         server is not running.
9834         (openConnection):
9835         (closeConnection): add debug info when server is disabled.
9836
9837         * ColorHandler.C (getGCForeground): send debug message to GUI
9838         channel.
9839
9840         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9841
9842         * kbmap.C (bind): modify because return conventions of
9843         kb_sequence::parse have changed.
9844
9845         * kbsequence.C (parse): only ignore spaces and not any stupid
9846         control character. This avoids tests like s[i] <= ' ', which are
9847         guaranteed to fail with 8bit characters and signed chars.
9848         Change return code to string::npos when there have been no error
9849         (0 was a bad idea when error is at first character)
9850
9851 2001-11-14  José Matos  <jamatos@fep.up.pt>
9852
9853         * buffer.h:
9854         * buffer.C (simpleDocBookOnePar): removed unused argument.
9855
9856 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9857
9858         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9859         insets which are part of a word. Paragraph::isLetter takes care of
9860         that now. Use Paragraph::isInset to identify insets.
9861         (selectSelectedWord): do not test for hyphenation break.
9862
9863         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9864         that protected spaces are considered as spaces.
9865
9866         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9867         Inset::isLetter.
9868
9869 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9870
9871         * lyxserver.h:
9872         * lyxserver.C: fix it. and small cleanup.
9873
9874 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9875
9876         * BufferView_pimpl.C: use inline helpers
9877
9878         * LaTeXFeatures.h:
9879         * LaTeXFeatures.C: fix typos
9880
9881         * Spacing.h:
9882         * Spacing.C: move spacing_string into class
9883
9884         * ToolbarDefaults.C: move stuff into namespace anon
9885
9886         * layout.h: update enum
9887
9888         * lyxfunc.C: use better debug
9889
9890         * minibuffer.h: fix typo
9891
9892         * debug.h:
9893         * debug.C:
9894         * WorkArea.C: add and use Debug::WORKAREA
9895
9896         * lyxtext.h:
9897         * text.C:
9898         * text2.C: code re-organisation, inline helpers
9899
9900 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9901
9902         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9903         std::vector.empty().
9904
9905 2001-11-09  Allan Rae  <rae@lyx.org>
9906
9907         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9908         '\n's after tables.  Tabular and ERT inset work now makes this no
9909         longer necessary.
9910
9911 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9912
9913         * minibuffer.h:
9914         * minibuffer.C: fix crash, improve drop-down completion
9915
9916 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9917
9918         * lyxserver.h:
9919         * lyxserver.C: invalidate fd's when doing endPipe()
9920
9921 2001-11-08  José Matos  <jamatos@fep.up.pt>
9922
9923         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9924         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9925
9926         * paragraph.h:
9927         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9928
9929 2001-11-07  José Matos  <jamatos@fep.up.pt>
9930
9931         * buffer.h:
9932         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9933         const qualifier.
9934
9935         * buffer.C (sgmlOpenTag):
9936         * buffer.C (sgmlCloseTag): removed debug info.
9937
9938         * buffer.h (sgmlOpenTag):
9939         * buffer.h (sgmlCloseTag): made public.
9940
9941 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9942
9943         * buffer.C (saveParamsAsDefaults):
9944         * lyx_cb.C (MenuLayoutSave): remove
9945
9946         * LyXAction.C (init):
9947         * commandtags.h:
9948         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9949
9950 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9951
9952         * buffer.C (setPaperStuff): removed from here...
9953
9954         * bufferparams.C (setPaperStuff): ... and moved there.
9955
9956 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9957
9958         * minibuffer.h:
9959         * minibuffer.C:
9960         * XFormsView.C: add support for drop-down completion
9961
9962 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9963
9964         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9965         commands.
9966
9967 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9968
9969         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9970         disabled.
9971
9972 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9973
9974         * lyx_main.C: change ref to known bugs
9975
9976 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9977
9978         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9979         to work around older babel problems.
9980
9981 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9982
9983         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9984
9985 2001-10-24  Juergen Vigna  <jug@sad.it>
9986
9987         * tabular-old.C (ReadOld): below variable changes reflected.
9988
9989         * tabular.[Ch]: added ltType struct for longtable header/footer
9990         defines and changed all instances where they are used. Added
9991         future support for double top/bottom rows.
9992
9993 2001-10-24  José Matos  <jamatos@fep.up.pt>
9994
9995         * buffer.h (docbookHandleCaption):
9996         * buffer.C (docbookHandleCaption): removed unused function.
9997         (makeDocBookFile): moved docbook supported version to v4.1.
9998
9999 2001-10-24  José Matos  <jamatos@fep.up.pt>
10000
10001         * tabular.h:
10002         * tabular.C (docbookRow): new function to export docbook code of a row.
10003         (DocBook): now honors the longtable flags.
10004
10005 2001-10-23  José Matos  <jamatos@fep.up.pt>
10006
10007         * LaTeXFeatures.h:
10008         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10009         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10010
10011         * buffer.C (makeLinuxDocFile):
10012         (makeDocBookFile): reworked the preamble, more clean, and with
10013         support for lyx defined entities. Changed the document declaration
10014         to be more XML friendly.
10015
10016         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10017         if we need to output XML that should be done with a filter.
10018
10019 2001-10-22  Juergen Vigna  <jug@sad.it>
10020
10021         * sp_pspell.h (class PSpell): add alive function needed in the
10022         controller to see if the spellchecker could be started.
10023
10024 2001-10-22  Juergen Vigna  <jug@sad.it>
10025
10026         * buffer.C (insertStringAsLines): modify the font for inserting
10027         chars in certain conditions by calling checkInsertChar(font).
10028
10029 2001-10-19  Juergen Vigna  <jug@sad.it>
10030
10031         * text.C (workWidth): use getRow instead of wrong algorithm.
10032         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10033
10034 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10035
10036         * lyxserver.h:
10037         * lyxserver.C:
10038         * lyx_main.h:
10039         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10040
10041 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10042
10043         * text.C (workWidth): do not search for the exact row when
10044         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10045         optimization for big documents.
10046
10047 2001-10-18  Juergen Vigna  <jug@sad.it>
10048
10049         * text.C (workWidth): new function with added Inset * parameter.
10050
10051 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10052
10053         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10054
10055         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10056         change return type of getColumnNearX.
10057
10058
10059         * text.C (changeRegionCase): use uppercase/lowercase instead of
10060         toupper/tolower.
10061         (leftMargin):
10062         (rightMargin): simplify code by factoring out the uses of
10063         textclasslist.
10064         (labelFill):
10065         (numberOfHfills):
10066         (setHeightOfRow):
10067         (appendParagraph): use Paragraph::size_type
10068
10069 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10070
10071         * vspace.C (asLatexString): add a missing break
10072
10073 2001-10-15  Herbert Voss  <voss@perce.de>
10074
10075         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10076
10077 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10078
10079         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10080         is not available.
10081
10082 2001-10-10  André Pönitz <poenitz@gmx.net>
10083
10084         * lyxfunc.C: removed greek_kb_flag.
10085
10086 2001-10-10  Herbert Voss  <voss@perce.de>
10087
10088         * lyx_main.C: delete global string help_lyxdir.
10089
10090 2001-10-09  Herbert Voss  <voss@perce.de>
10091
10092         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10093
10094         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10095
10096         * lyx_main.C: added global string help_lyxdir.
10097
10098         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10099
10100 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10101
10102         * lyxrc.C (set_font_norm_type): support iso8859-4
10103
10104 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10105
10106         * LaTeX.C (deplog): add another regex for MikTeX
10107
10108 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10109
10110         * lyxrc.C (set_font_norm_type): support iso8859-3
10111
10112 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10113
10114         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10115
10116         * LaTeXFeatures.C: remove special case of french and index
10117
10118         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10119         before \begin{document}). This solves several incompatibilities.
10120
10121 2001-10-03  Garst Reese  <reese@isn.net>
10122
10123         * lyx_cb.C: change CheckTex error msg.
10124
10125 2001-10-03  José Matos  <jamatos@fep.up.pt>
10126
10127         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10128
10129 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10130
10131         * .cvsignore: update
10132
10133         * lyx_main.C (commandLineVersionInfo): use new style version info.
10134
10135         * buffer.C (writeFile):
10136         (makeLaTeXFile):
10137         (makeLinuxDocFile):
10138         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10139
10140         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10141
10142         * version.h: update to use stuff in version.C
10143
10144         * version.C.in: new file. Contains version information determined
10145         at compile time. This is a merging of version.h and
10146         version_info.h.in.
10147
10148 2001-10-03  Juergen Vigna  <jug@sad.it>
10149
10150         * BufferView_pimpl.C (update): don't change "dirty" status in
10151         updateInset call.
10152
10153 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10154
10155         * WorkArea.C (c-tor): re-position version string slightly.
10156
10157 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10158
10159         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10160         revert to previous code.
10161
10162         WorkArea.[Ch]: (show, destroySplash): methods removed.
10163
10164         WorkArea.C: rework code so that it's an amalgam of the codes before and
10165         after the splash screen was moved to WorkArea.
10166
10167 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10168
10169         * lyxrc.C (read):
10170         * vspace.C (inPixels):
10171         (lyx_advance):
10172         * kbmap.C (bind):
10173         * buffer.C (insertStringAsLines):
10174         (asciiParagraph): fix types to be large enough
10175
10176         * lyxlex_pimpl.h: change member status from short to int
10177
10178         * layout.h: fix type of endlabeltype
10179
10180         * kbmap.C (bind):
10181         * kbsequence.C (parse): change return type to string::size_type
10182
10183         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10184         variable
10185
10186         * Bullet.C (bulletSize):
10187         (bulletEntry): do not use short ints as parameters
10188
10189         * BufferView2.C (insertLyXFile): change a char to an int.
10190
10191         * WorkArea.C (WorkArea): remove unneeded floats in computation
10192
10193 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10194
10195         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10196
10197         * paragraph.C (asString): Do not ignore newline/hfill chars when
10198         copying to the clipboard.
10199
10200 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10201
10202         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10203         after a multi-line inset.
10204
10205 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10206
10207         * paragraph.C (validate): Set NeedLyXFootnoteCode
10208
10209 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10210
10211         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10212         and decrease-error to decrease.
10213
10214 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10215
10216         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10217         it more readable (should be equivalent)
10218
10219 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10220
10221         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10222
10223 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10224
10225         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10226         of a cursor (row, etc.) after a character has been deleted
10227         (deleteEmptyParagraphMechanism): call the method above on _all_
10228         cursors held by the LyXText when a double space has been
10229         detected/deleted.
10230
10231 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10232
10233         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10234         pixmap.
10235         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10236
10237         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10238         background. Use greyOut() and the new show() methods to toggle between
10239         the foreground and background. Add code to remove the splash after
10240         its initial showing.
10241
10242         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10243         (create_forms): no longer call Dialogs::showSplash.
10244
10245 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10246
10247         * .cvsignore: add version_info.h
10248
10249 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10250
10251         * version_info.h.in: new file
10252
10253         * Makefile.am: add version_info.h.in
10254
10255         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10256         version_info.h instead of VERSION_INFO
10257
10258 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10259
10260         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10261         The ERT inset now returns string().
10262
10263 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10264
10265         * lyxtext.h, text.C (selectNextWord): renamed as
10266         selectNextWordToSpellcheck.
10267
10268         * text.C (selectNextWordToSpellcheck): Modified to not select
10269         words inside an ERT inset.
10270
10271 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10272
10273         * lyx_cb.C (MenuLayoutSave): change a bit the question
10274
10275         * sp_base.h: include <sys/types.h>
10276
10277 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10278
10279         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10280
10281 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10282
10283         * several files: fix typos in user-visible strings
10284
10285 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10286
10287         * text2.C (pasteSelection): do not set the selection, since it
10288         will be cleared later. Actually, the intent was to fix the way the
10289         selection was set, but I figured rmoving the code was just as good.
10290
10291 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10292
10293         * FontLoader.C (available): Check if font is available without
10294         loading the font.
10295
10296 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10297
10298         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10299
10300 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10301
10302         * lyxrc.[Ch]: added display_graphics variable and associated code.
10303
10304 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10305
10306         * bufferparams.C (hasClassDefaults): new method. Returns true if
10307         the buffer parameters correspond to known class defaults
10308
10309 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10310
10311         * XFormsView.C (show): set minimum size to the main window.
10312
10313 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10314
10315         * text2.C (copySelection):
10316         (cutSelection):
10317         * lyxfind.C (LyXReplace):
10318         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10319         LyXText::selectionAsString.
10320
10321         * paragraph.C (asString): add "label" argument to the second form
10322
10323         * text2.C (selectionAsString): add "label" argument and pass it to
10324         Paragraph::asString.
10325
10326 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10327
10328         * lyx_main.C (commandLineHelp): remove version information
10329
10330 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10331
10332         * lyx_main.C: add -version commandline option
10333
10334 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10335
10336         * paragraph.h: make the optional constructor arg required instead.
10337         some modifications to other files because of this.
10338
10339         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10340
10341         * lyxserver.C (C_LyXComm_callback): make it static
10342
10343         * lyx_main.C (error_handler): make it static
10344
10345         * lyx_gui.C (LyX_XErrHandler): make it static
10346
10347         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10348
10349         * WorkArea.C: make the extern "C" methods static.
10350
10351         * Makefile.am (lyx_LDADD): simplify
10352
10353 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10354
10355         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10356         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10357
10358         * LyXAction.C (init):
10359         * lyxfunc.C (dispatch): associated code removal.
10360
10361 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10362
10363         * lyxfont.h (isSymbolFont): shut off warning
10364
10365         * text.C (setHeightOfRow):
10366         (getVisibleRow): fix crash with empty paragraphs which have a
10367         bottom line
10368
10369 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10370
10371         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10372         code.
10373
10374 2001-09-04  José Matos  <jamatos@fep.up.pt>
10375         * buffer.C
10376         * buffer.h
10377         * tabular.C (docbook): rename docBook method to docbook.
10378
10379 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10380
10381         * Makefile.am: add dependencies to main.o.
10382
10383 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10384
10385         * FontLoader.C (available): Return false if !lyxrc.use_gui
10386
10387 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10388
10389         * FontInfo.C (query):
10390         * converter.C (view):
10391         * importer.C (Import):
10392         * exporter.C (Export): Can not -> cannot.
10393
10394 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10395
10396         * BufferView_pimpl.C: allow to create index inset even if
10397           string is empty
10398
10399 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10400
10401         * buffer.C (getLists): replace boost::tie code with an explicit pair
10402         as boost::tie can break some compilers.
10403
10404         * iterators.h: Added a std:: declaration to the return type of
10405         ParIterator::size.
10406
10407 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10408
10409         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10410           case.
10411
10412 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10413
10414         * iterators.[Ch]: New files. Provide paragraph iterators.
10415
10416         * buffer.C (changeLanguage): Use paragraph iterators.
10417         (isMultiLingual): ditto
10418
10419         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10420
10421 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10422
10423         * FontLoader.C: Support for cmr font.
10424
10425 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10426
10427         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10428         (available): New method.
10429
10430         * FontInfo.C (getFontname): Use scalable fonts even when
10431         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10432         found.
10433
10434 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10435
10436         * converter.C (Formats::view): reverted! Incorrect fix.
10437
10438 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10439
10440         * converter.C (Formats::view): only output the -paper option
10441         if the dvi viewer is xdvi, thereby fixing bug #233429.
10442
10443 2001-08-23  Herbert Voss  <voss@perce>
10444
10445         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10446
10447 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10448
10449         * Spacing.h (Spacing): Set space to Default on in the default
10450         constructor.
10451
10452 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10453
10454         * vc-backend.h (RCS::versionString): add RCS to version
10455         (CVS::versionString): add CVS to version
10456
10457         * vc-backend.C (scanMaster): do not add CVS to version.
10458         (scanMaster): do not add RCS to version
10459
10460         * lyxvc.C (versionString): new method
10461
10462         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10463
10464 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10465
10466         * Spacing.C (set): initialize fval
10467
10468 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10469
10470         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10471         " or \.
10472
10473 2001-08-16  Juergen Vigna  <jug@sad.it>
10474
10475         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10476
10477 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * BufferView_pimpl.C:
10480         * figureForm.C:
10481         * lyxtext.h:
10482         * text2.C: setParagraph takes linespacing now
10483
10484 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10485
10486         * LyxAction.C: add internal LFUN_CITATION_INSERT
10487
10488         * LyXView.C: actually apply fix
10489
10490         * bufferlist.C: fix open non-existent file
10491
10492         * lyxfind.C: fix indentation
10493
10494         * lyxfunc.C: remove unneeded assert, fix typo
10495
10496 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10497
10498         * MenuBackend.C: use "Floatname List"
10499
10500 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10501
10502         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10503         when converting LaTeX layout to insetERT.
10504         Generate a non-collapsed float when reading old float
10505
10506 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10507
10508         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10509         ERT insets.
10510
10511 2001-08-13  Juergen Vigna  <jug@sad.it>
10512
10513         * text.C (fill): return 0 instead of 20 as this seems to be the more
10514         correct value.
10515
10516 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10517
10518         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10519         lyxrc.font_norm.
10520
10521 2001-08-13  Juergen Vigna  <jug@sad.it>
10522
10523         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10524         casesensitive off.
10525         (SearchBackward): comment out the unlocking of the inset_owner this
10526         should not be needed!
10527
10528 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10529
10530         * Many files: Remove inherit_language, and add latex_language
10531
10532         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10533         collapsible insets.
10534
10535 2001-08-10  Juergen Vigna  <jug@sad.it>
10536
10537         * text.C (prepareToPrint): fixed hfill-width in draw!
10538
10539         * BufferView2.C (selectLastWord): save the selection cursor as this
10540         now is cleared in the function LyXText::clearSelection!
10541
10542 2001-08-08  Juergen Vigna  <jug@sad.it>
10543
10544         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10545         BACKSPACE type functions.
10546
10547         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10548         is only cutted from the document but not put in the cut-buffer, where
10549         still the old stuff should be.
10550
10551         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10552
10553         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10554
10555         * tabular.C (SetWidthOfCell): fixed special case where the width
10556         was not updated!
10557         (LeftLine): handle '|' in align_special.
10558         (RightLine): ditto
10559         (LeftAlreadyDrawed): ditto
10560         (SetWidthOfCell): ditto
10561
10562 2001-08-07  Juergen Vigna  <jug@sad.it>
10563
10564         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10565
10566 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10567
10568         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10569         * lyxlex.[hC]: ditto
10570
10571 2001-08-06  Juergen Vigna  <jug@sad.it>
10572
10573         * text.C (getVisibleRow): fix up row clearing a bit.
10574
10575 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10576
10577         * minibuffer.C: make sure the X server sees the changes in the input.
10578
10579 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10580
10581         * paragraph.C (getFont): split into...
10582         (getLabelFont): this
10583         (getLayoutFont): and this
10584         * paragraph_pimpl.C (realizeFont): calling this
10585
10586         * text2.C (getFont): split into...
10587         (getLayoutFont): this
10588         (getLabelFont): and this
10589         (realizeFont): all three calling this
10590
10591         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10592         files where used.
10593
10594 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10595
10596         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10597
10598 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10599
10600         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10601         layouts from the Quote inset insertion.
10602
10603 2001-08-03  Juergen Vigna  <jug@sad.it>
10604
10605         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10606
10607         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10608         only if status not is already CHANGED_IN_DRAW (second level).
10609
10610         * text.C (draw): don't set the need_break_row when inside an
10611         InsetText LyXText.
10612
10613 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10614
10615         * buffer.C (parseSingleLyXformat2Token): handle more latex
10616         conversion cases.
10617
10618         * bufferview_funcs.[hC]: change function names to
10619         begin with small char, adjust other files.
10620
10621 2001-08-02  André Pönitz <poenitz@gmx.net>
10622
10623         * lyxfunc.C:
10624         BufferView_pimpl.C: remove broken special code for math-greek
10625
10626 2001-08-02  Juergen Vigna  <jug@sad.it>
10627
10628         * BufferView_pimpl.C (update): redone this function so that we
10629         update the text again if there was a CHANGE_IN_DRAW.
10630
10631         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10632         (drawFromTo): added a new internal bool which is used by draw() and
10633         redraw() function.
10634         (general): some cursor drawing problems fixed.
10635
10636 2001-08-01  Juergen Vigna  <jug@sad.it>
10637
10638         * lyxfind.C (LyXFind): fixed
10639         (SearchForward): ditto
10640         (SearchBackward): ditto
10641
10642         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10643         spurius drawing of the cursor in the main area.
10644
10645         * text2.C (status): small fix which could lead to a segfault!
10646         (clearSelection): remove unneeded BufferView param.
10647
10648 2001-08-01  André Pönitz <poenitz@gmx.net>
10649
10650         * lyxfunc.C: small change due to changed mathed interface
10651
10652 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10653
10654         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10655
10656 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * lyxfunc.c: fail gracefully if file doesn't exist
10659
10660         * LyXSendto.C:
10661         * buffer.C:
10662         * lyxfunc.C:
10663         * BufferView_pimpl.C: IsDirWriteable() proto changed
10664
10665         * LyXView.C: fix updateWindowTitle() to store the last title
10666
10667 2001-07-31  Juergen Vigna  <jug@sad.it>
10668
10669         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10670         the font (wrong since using of Paragraph::highestFontInRange).
10671
10672         * paragraph.C (highestFontInRange): added a default_size parameter.
10673
10674         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10675         (setHeightOfRow): reformat
10676
10677 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10678
10679         * converter.[hC] + affected files: move to (inital-char)lowercase
10680         function names.
10681
10682         * ParagraphParameters.C (ParagraphParameters): remove commented code
10683
10684         * PainterBase.[Ch]: remove commented code
10685
10686         * LaTeXFeatures.h: add "bool floats" for float.sty
10687
10688         * LaTeXFeatures.C (LaTeXFeatures): init floats
10689         (require): handle float
10690         (getPackages): do it with floats
10691
10692 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10693
10694         * BufferView_pimpl.C (Dispatch): improve handling of
10695         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10696
10697         * commandtags.h: #include lyxfont.h here temporarily to avoid
10698         keybinding bug.
10699
10700         * bufferlist.h: include LString.h here.
10701
10702 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10703
10704         * text2.C (getStringToIndex): new method.
10705
10706 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10707
10708         * *: Reduced header file dependencies all over.
10709
10710 2001-07-30  Baruch Even  <baruch@lyx.org>
10711
10712         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10713
10714 2001-07-29  Baruch Even  <baruch@lyx.org>
10715
10716         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10717
10718 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10719
10720         * ParameterStruct.h (endif): add a default constructor to make
10721         sure that all variables is initialized.
10722
10723         * ParagraphParameters.C (ParagraphParameters): adjust
10724
10725 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10726
10727         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10728         index; also, check that there is something to index, and that it
10729         does not span over several paragraphs.
10730         (doubleClick): use WHOLE_WORD_STRICT for double click.
10731
10732         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10733
10734         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10735         scheme.
10736
10737 2001-07-26  Baruch Even  <baruch@lyx.org>
10738
10739         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10740         an InsetFig figure, backwards compatible reading of old figure code.
10741
10742 2001-07-27  Juergen Vigna  <jug@sad.it>
10743
10744         * text2.C: font.realize function adaption.
10745
10746         * text.C (draw): add a warnings lyxerr text if needed.
10747
10748         * layout.C: font.realize function adaption.
10749
10750         * language.C: add inherit_language and implement it's handlings
10751
10752         * bufferview_funcs.C (StyleReset): remove language parameter from
10753         font creation (should be language_inherit now).
10754
10755         * bufferparams.C (writeFile): handle ignore_language.
10756
10757         * paragraph.C (getFontSettings): the language has to be resolved
10758         otherwise we have problems in LyXFont!
10759
10760         * lyxfont.C (lyxWriteChanges): added document_language parameter
10761         (update): removed unneeded language parameter
10762
10763         * paragraph.C (validate): fixed wrong output of color-package when
10764         using interface colors for certain fonts in certain environments,
10765         which should not seen as that on the final output.
10766
10767 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10768
10769         * BufferView_pimpl.C:
10770         * Thesaurus.h:
10771         * Thesaurus.C:
10772         * Makefile.am:
10773         * commandtags.h:
10774         * LyXAction.C: add thesaurus support
10775
10776         * lyxfind.h:
10777         * lyxfind.C: add "once" parameter, for thesaurus, to not
10778           move to the next match
10779
10780 2001-07-26  Juergen Vigna  <jug@sad.it>
10781
10782         * lyxfont.C (realize): honor ignore_language too!
10783         (resolved): ditto.
10784
10785         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10786
10787         * text.C (draw): one place more for ignore_language to not draw
10788         itself!
10789
10790 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10791
10792         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10793
10794 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10795
10796         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10797         the minipage conversion problem.
10798
10799 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10800
10801         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10802         insert an inset.
10803
10804 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10805
10806         * BufferView.h: don't forward declare WorkArea
10807
10808         * BufferView.C: don't include WorkArea.h
10809
10810 2001-07-25  André Pönitz <poenitz@gmx.net>
10811
10812         * commandtags.h:
10813         * LyXAction.C:
10814         * lyxfunc.C:  new LFUN 'math-space'
10815
10816         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10817
10818 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10819
10820         * text2.C (toggleInset): call open/close
10821
10822 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10823
10824         * lyxfunc.C (dispatch): add debug for the disabled case
10825
10826         * font.C (buttonText): make similar to rectText
10827
10828         * buffer.C (readInset): comment out parsing of insetlist and
10829         insttheorem
10830
10831         * PainterBase.C (rectText): small correction
10832
10833         * BufferView_pimpl.C: comment out insettheorem and insetlist
10834         * LyXAction.C: ditto
10835         * commandtags.h: ditto
10836
10837 2001-07-24  Juergen Vigna  <jug@sad.it>
10838
10839         * text.C (draw): honor the ignore_language.
10840
10841         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10842
10843 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10844
10845         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10846         char inset.
10847
10848 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10849
10850         * lyxtext.h: remove unused (and unimplemented) methods
10851
10852 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10853
10854         * text.C (getVisibleRow): honor background color
10855
10856         * PainterBase.h:
10857         * Painter.h: remove default color argument for fillRectangle
10858
10859         * text.C (backgroundColor): new method
10860
10861 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10862
10863         * text.C (getVisibleRow): adjust
10864
10865         * font.[Ch] (rectText): new method, metrics
10866         (buttonText): new method, metrics
10867
10868         * PainterBase.[hC]: make rectText and buttonText always draw and take
10869         fewer paramteres.
10870
10871 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10872
10873         * ToolbarDefaults.C (read):
10874         * MenuBackend.C (read): allow escaping in all strings
10875
10876         * BufferView_pimpl.C (insertAndEditInset): new method.
10877         (Dispatch): use insertAndEditInset whenever appropriate.
10878
10879         * BufferView_pimpl.C (insertNote): removed
10880
10881         * BufferView_pimpl.C (smartQuote): new method, moved from
10882         BufferView; if an insetquote cannot be inserted, insert a '"'
10883         character instead.
10884
10885         * BufferView2.C: remove insertCorrectQuote();
10886
10887         * lyxfunc.C (getStatus): Add support for all remaingin
10888         inset-insert lfuns.
10889
10890         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10891
10892         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10893         command (necessary to pass " as parameter of self-insert.
10894
10895         * text.C (selectWordWhenUnderCursor):
10896         (selectWord): add word_location parameter
10897         (selectWordWhenUnderCursor): same + remove special code for word
10898         boundary.
10899         (selectNextWord): use kind() to guess type of insetspecialchar,
10900         not latex().
10901
10902         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10903         (insertErtContents): create ert insets as collapsed.
10904         (readInset): better compatibility code for Info inset.
10905
10906 2001-07-20  Juergen Vigna  <jug@sad.it>
10907
10908         * lyxfunc.C (dispatch): use always LyXFind now!
10909
10910         * text2.C (init): add a reinit flag so that the LyXText can be
10911         reinited instead of deleted and reallocated (used in InsetText).
10912
10913         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10914
10915         * text.C: ditto
10916
10917         * text2.C: ditto
10918
10919 2001-07-18  Juergen Vigna  <jug@sad.it>
10920
10921         * text.C (selectNextWord): handle insets inside inset by calling
10922         always the bv->text functions so that we can go up the_locking_inset!
10923
10924         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10925         in strange locations when inside an inset!
10926
10927         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10928         handling to include insets.
10929
10930         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10931
10932 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10933
10934         * LyXAction.C (init):
10935         * commandtags.h:
10936         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10937         LIGATURE_BREAK, since the name is so stupid.
10938
10939 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10940
10941         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10942         InsetInfos.
10943
10944         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10945
10946         * sp_form.[Ch]: remove.
10947
10948         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10949
10950         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10951         InsetInfo.
10952
10953         * src/buffer.C (readInset): ditto.
10954
10955 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10956
10957         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10958         menuSeparator(), endOfSentenceDot(), ldots() and
10959         hyphenationPoint(), which are therefore removed.
10960         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10961
10962         * LyXAction.C (init):
10963         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10964
10965         * paragraph.C (getWord): removed.
10966
10967         * BufferView_pimpl.C (Dispatch): use last word or selection for
10968         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10969
10970         * lyx_main.C (queryUserLyXDir): do not ask before creating
10971         user_dir, except if it has been named explicitely.
10972
10973 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10974
10975         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10976         a document of zero size.
10977
10978 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10979
10980         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10981         approriately in the c-tor and in require().
10982         (getPackages): output the appropriate LaTeX for natbib support.
10983
10984         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10985         variables "use_natbib" and "use_numerical_citations" when reading the
10986         LyX file.
10987         (readInset): read the various natbib cite commands.
10988         (validate): white-space change.
10989
10990         * bufferparams.[Ch]: new variables "bool use_natbib" and
10991         "bool use_numerical_citations".
10992         (writeFile): output them in the LyX file.
10993
10994 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10995
10996         * lyxfunc.C (getStatus): add support for all the inset insertion
10997         commands.
10998
10999         * text2.C (insertInset):
11000         * paragraph.C (insetAllowed):
11001         * BufferView_pimpl.C (insertInset): update to take in account the
11002         renaming of insertInsetAllowed
11003
11004         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11005
11006         * text2.C (getInset): new method. returns inset at cursor position.
11007
11008         * BufferView_pimpl.C (Dispatch): changes because of this.
11009
11010         * LyXAction.C (init): rename open-stuff to inset-toggle.
11011
11012         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11013
11014         * text2.C (toggleInset): renamed from openStuff; use
11015         Inset::open().
11016
11017 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11018
11019         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11020
11021         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11022
11023 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11024
11025         * buffer.C (readLyXformat2): Add filename to the error dialog
11026
11027 2001-07-18  Juergen Vigna  <jug@sad.it>
11028
11029         * tabular.C (GetCellNumber): put an assert here instead of the check!
11030
11031 2001-07-17  Juergen Vigna  <jug@sad.it>
11032
11033         * BufferView_pimpl.C (toggleSelection): adapted too.
11034
11035         * text.C (selectNextWord): adapted for use with insets.
11036         (selectSelectedWord): ditto
11037
11038 2001-07-17  Juergen Vigna  <jug@sad.it>
11039
11040         * sp_spell.C (PSpell): fix initialitation order.
11041
11042 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11043
11044         * paragraph.C: spacing
11045
11046 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11047
11048         * sp_spell.C: repair language selection for pspell
11049
11050 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11051
11052         * lyxfunc.h: change more methods to begin with lower char.
11053
11054 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11055
11056         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11057         for unknown layouts.
11058
11059 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11060
11061         * buffer.C (readLyXformat2): Generate an error dialog if there are
11062         unknown layouts.
11063
11064 2001-07-16  Juergen Vigna  <jug@sad.it>
11065
11066         * sp_spell.C: always compile ISpell part.
11067
11068         * lyxrc.C: added use_pspell entry and it's handling.
11069
11070 2001-07-13  Juergen Vigna  <jug@sad.it>
11071
11072         * sp_spell.C: removed double includes.
11073
11074 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11075
11076         Consistent use of Lsstream.h:
11077         * Lsstream.h: added using std::stringstream for consistencies sake.
11078
11079         * buffer.C: removed using std::stringstream
11080
11081         * lyxfont.C (stateText):
11082         * paragraph.C (asString):
11083         * text.C (selectNextWord, selectSelectedWord):
11084         * text2.C (setCounter):
11085         * vspace.C (asString, asLatexString):
11086         std::ostringstream -> ostringstream.
11087
11088 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11089
11090         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11091         * commandtags.h: add LFUN_HELP_ABOUTLYX
11092         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11093
11094 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11095
11096         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11097         cursorToggle()
11098         * lyx_gui_misc.C: remove spellchecker
11099         * lyxfunc.C: showSpellchecker
11100         * sp_base.h: added
11101         * sp_ispell.h: added
11102         * sp_pspell.h: added
11103         * sp_spell.C: added
11104         * sp_form.[Ch]: removed
11105         * spellchecker.[Ch]: removed
11106
11107 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11108
11109         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11110         is set.
11111         (simpleTeXSpecialChars): Simply print the input character without
11112         any special translation if pass_thru is set.
11113
11114         * layout.h: Added bool pass_thru to layout class for being able to
11115         implement pass through of a paragraph for Literate Programming.
11116
11117         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11118         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11119         * layout.C (Read): add "passthru" to list of layout tags and add
11120         code to set the pass_thru boolean when it is read.
11121
11122 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11123
11124         * trans_decl.h: remove allowed from KmodInfo
11125
11126         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11127         remove allowed code
11128         (Load): adjust
11129
11130         * paragraph_pimpl.C (erase): use boost::prior
11131
11132         * Painter.C (text): use data() instead of c_str() when length is
11133         also provided.
11134         * WorkArea.C (putClipboard): ditto
11135         * font.h (width): ditto
11136
11137         * BufferView2.C: use it-> instead of (*it). for iterators
11138         * texrow.C: ditto
11139         * paragraph_pimpl.C: ditto
11140         * paragraph.C: ditto
11141         * minibuffer.C: ditto
11142         * language.C: ditto
11143         * kbmap.C: ditto
11144         * encoding.C: ditto
11145         * counters.C: ditto
11146         * converter.C: ditto
11147         * chset.C: ditto
11148         * Variables.C: ditto
11149         * TextCache.C: ditto
11150         * MenuBackend.C: ditto
11151         * LyXAction.C: ditto
11152         * LColor.C: ditto
11153         * FloatList.C: ditto
11154         * DepTable.C: ditto
11155         * ColorHandler.C (LyXColorHandler): ditto
11156
11157 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11158
11159         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11160
11161         * text2.C (openStuff): reintroduce this method (which had been
11162         nuked in NEW_INSETS frenzy).
11163
11164         * lyxfunc.C (Dispatch): when an action has not been handled, use
11165         its name in the error message, not its number.
11166
11167         * paragraph.C (inInset): change method name to begin with lowercase.
11168
11169         * undo_funcs.C:
11170         * text2.C: updates because of this.
11171
11172 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11173
11174         * ToolbarDefaults.C (add): add spaces in error message
11175
11176 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11179         (readLyXformat2): rename return_par to first_par, use lyxlex's
11180         pushToken and remove the manual push handling.
11181         (parseSingleLyXformat2Token): add another ert comp. variable:
11182         in_tabular, rename return_par to first_par. handle newlines better
11183
11184 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11185
11186         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11187
11188 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11189
11190         * text2.C (getParFromID): removed
11191
11192         * buffer.C (getParFromID): new method moved form lyxtext.
11193         * BufferView2.C (insertErrors): adjust
11194         (setCursorFromRow): adjust
11195         * BufferView_pimpl.C (restorePosition): adjust
11196         * lyxfunc.C (Dispatch): adjust
11197         * undo_funcs.C (textUndo): adjust
11198         (textRedo): adjust
11199         (textHandleUndo): adjust
11200         (textHandleUndo): adjust
11201
11202 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11203
11204         * buffer.C: up' the LYX_FORMAT
11205
11206         * lyxfont.h: turn NO_LATEX on as default
11207
11208         * buffer.C (insertErtContents): new methods of tex style compability.
11209         (parseSingleLyXformat2Token): use it several places.
11210         * tabular.C (OldFormatRead): and here
11211
11212 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11213
11214         * text2.C: remove some commented code.
11215         reindent file.
11216
11217         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11218         * trans.C: changes because of the above.
11219
11220 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11221
11222         * text2.C (setCounter): Fix counters bug with bibliography layout.
11223
11224 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11225
11226         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11227         own member functions
11228         (simpleTeXSpecialChars): ditto
11229
11230 2001-07-06  Juergen Vigna  <jug@sad.it>
11231
11232         * a lot of files: changed the access to LyXText::status and the
11233         call of undo-functions.
11234
11235         * undo.[Ch]: added a inset_id to the undo informations.
11236
11237         * undo_funcs.[Ch]: added and moved here all undo functions.
11238
11239         * lyxtext.h: give the status enum a weight, made status_ a private
11240         variable and made accessor functions for it, removed the whole bunch
11241         of undo-functions as they are now in their own file, make some
11242         functions publically available. Added function ownerParagraph with
11243         int parameter.
11244
11245         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11246         made InInset() a const function, added getParFromID() function.
11247
11248         * buffer.[Ch]: added const version for inset_iterator functions,
11249         added getInsetFromID() function.
11250
11251         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11252         changed undo functions for new version.
11253
11254 2001-07-05  Juergen Vigna  <jug@sad.it>
11255
11256         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11257         unknow mechanism does not call the proper constructor but only this
11258         one also if I request the other!?
11259
11260 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11261
11262         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11263
11264         * text2.C (LyXText): use initialization lists.
11265
11266         * lyxtext.h (Selection): initialize set_ and mark_
11267         (init): remove method
11268
11269 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11270
11271         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11272
11273 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11274
11275         * screen.[Ch]: change method names to begin with lowercase
11276
11277         * BufferView_pimpl.C (updateScrollbar): simplify further and
11278         hopefully make it a bit faster.
11279
11280 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11281
11282         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11283         calling directly xforms functions.
11284
11285         * Painter.C (Painter):
11286         * lyx_cb.C (MenuWrite):
11287         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11288         fl_display.
11289
11290         * lyx_gui.C: remove bogus guiruntime extern declaration.
11291
11292 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11293
11294         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11295         in NEW_INSETS
11296         (redoDrawingOfParagraph): ditto
11297         (redoParagraphs): ditto
11298         (cutSelection): don't create a object for CutAndPaste use the
11299         static method directly
11300         (pasteSelection): ditto
11301
11302         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11303         LyXview (+ rename)
11304
11305 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11306
11307         * modifications to some other files because of this.
11308
11309         * Makefile.am (lyx_SOURCES): add XFormsView
11310
11311         * XFormsView.[Ch]: new files
11312
11313         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11314         the main window. Move the gui dependent stuff to XFormsView
11315
11316 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11317
11318         * tabular.C (GetCellInset): update cur_cell also in the row/col
11319         version of this function.
11320
11321         * lyxfunc.C: no need to include figure_form.h here.
11322
11323         * FontLoader.h:
11324         * lyxfunc.h:
11325         * lyxscreen.h:
11326         * text2.C:
11327         * lyxvc.C: no need to include forms.h here.
11328
11329 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11330
11331         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11332
11333         * lyxfunc.C (Dispatch):
11334         * Spacing.C (set):
11335         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11336         constructor argument.
11337
11338 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11339
11340         * paragraph.C (Paragraph): dont't clear, and just set layout.
11341         (makeSameLayout): use params's copy contructor.
11342
11343         * ParagraphParameters.[Ch] (makeSame): delete method
11344
11345 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11346
11347         * Variables.[Ch]: fix indentation, rename set to isSet
11348
11349 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11350
11351         * lyxfunc.C (Dispatch): fix typo
11352
11353 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11354
11355         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11356         upper_bound.
11357
11358         * bufferlist.C: include assert.h for emergencyWrite().
11359
11360 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11361
11362         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11363           give up at last (bug #425202) !
11364
11365 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11366
11367         * lyx_gui_misc.C:
11368         * sp_form.h:
11369         * sp_form.C:
11370         * spellchecker.h:
11371         * spellchecker.C: strip spellchecker options and bring up
11372           preferences tab instead
11373
11374 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11375
11376         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11377         the istringstream constructor
11378
11379 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11380
11381         * paragraph.C (getLayout): fix return value
11382
11383         * paragraph.h: do not declare getLayout as inline.
11384
11385         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11386
11387 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11388
11389         * lyxcursor.h (operator<): new func
11390         (operator>): new func
11391         (operator>=): new func
11392         (operator<=): new func
11393
11394         * text.C (changeCase): use selection.start and selection.end
11395         (changeRegionCase): require from to be <= to. Require par to be a
11396         valid paragraph.
11397
11398         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11399
11400 2001-06-27  Juergen Vigna  <jug@sad.it>
11401
11402         * text.C (cursorLeftOneWord): changed to return the cursor and added
11403         overlay with BufferView * parameter which calls this one.
11404         (getWord): added
11405         (selectWord): use new getWord function.
11406         (changeCase): renamed from changeWordCase as and extended to work
11407         also on selections.
11408
11409         * lyxtext.h: added enum word_location
11410
11411         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11412         changeCase as this operates now also on selections.
11413
11414 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11415
11416         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11417
11418         * many files: send debug output to Debug::INFO instead of
11419         Debug::ANY.
11420
11421         * converter.C (View):
11422         (Convert):
11423         (Move): send debug output to Debug::FILES instead of console.
11424
11425 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11426
11427         * lyxfunc.C (getStatus): use func_status
11428
11429         * func_status.h: new header, describing the results of
11430         LyXFunc::getStatus;
11431
11432         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11433         LFUN_MATH_HALIGN.
11434
11435 2001-06-25  The LyX Project  <jug@sad.it>
11436
11437         * buffer.C (sgmlOpenTag):
11438         (sgmlCloseTag):
11439         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11440
11441 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11442
11443         * text2.C: remove some dead code
11444
11445         * tabular.C (GetCellInset): store the last cell checked (gotten)
11446
11447         * tabular.h: add the helper for the speedup
11448
11449         * lyxtext.h: remove some dead code
11450
11451 2001-06-26  The LyX Project  <Asger>
11452
11453         * paragraph.C: Change export to LaTeX of alignment to
11454         \begin{center} and family for better roundtrip work with reLyX.
11455
11456         * Tune the math drawing a bit.
11457
11458 2001-06-25  The LyX Project  <Asger>
11459
11460         * LColor.C (LColor): New color for math background. New color
11461         for buttons.
11462
11463 2001-06-25  The LyX Project  <jug@sad.it>
11464
11465         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11466
11467         * lyxfunc.C (Open):
11468         * bufferlist.C (newFile): do not restrict to files ending with
11469         .lyx
11470
11471         * BufferView_pimpl.C (MenuInsertLyXFile):
11472
11473 2001-06-24  The LyX Project  <jug@sad.it>
11474
11475         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11476         of compare_no_case
11477
11478 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11479
11480         * lyxtext.h: rename most methods to begin with a small char.
11481         Lots of changes because of this.
11482
11483         * paragraph.C (Paragraph): do not call fitToSize
11484         (erase): call Pimpl::erase
11485         (insertChar): call Pimpl::insertChar
11486         (insertInset): call Pipl::insertInset
11487         (breakParagraph): do not call fitToSize
11488         (breakParagraphConservative): do not call fitToSize
11489         (fitToSize): remove method
11490
11491         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11492
11493 2001-06-24  The LyX Project  <Asger>
11494
11495         * Fix Qt compilation^2
11496
11497 2001-06-24  The LyX Project  <jug@sad.it>
11498
11499         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11500         depthHook(getDepth()-1).
11501
11502         * paragraph.h:
11503         * ParagraphParameters.h:
11504         * ParameterStruct.h: change type of depth to unsigned int ==
11505         depth_type. Many adaptations to other files before of that.
11506
11507 2001-06-24  The LyX Project  <Asger>
11508
11509         * Fix Qt compilation.
11510
11511 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11512
11513         * paragraph.h: renamed several methods to begin with small letter.
11514         several changes to many parts of the code because of this.
11515
11516 2001-06-23  The LyX Project  <jug@sad.it>
11517
11518         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11519         rewritten to discard all double spaces when KeepEmpty is off
11520         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11521         to only handle newlines but not fiddle with spaces and friends.
11522
11523         * lyxfunc.C (MenuNew): when doing 'new from template', use
11524         template_path as default directory
11525
11526 2001-06-23  The LyX Project  <Asger>
11527
11528         * Clean-up of header file includes all over
11529         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11530
11531 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11532
11533         * paragraph.h: renamed from lyxparagraph.h
11534
11535 2001-06-23  Asger  <lyx@violet.home.sad.it>
11536
11537         * Buffer.h: Removed Buffer::resize
11538         * BufferList.h: Removed BufferList::resize
11539         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11540         the document lazily when we change the width, or the font settings.
11541
11542 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11543
11544         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11545
11546 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11547
11548         * buffer.h: remove out of date comment
11549
11550 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11551
11552         * lyxscreen.h:
11553         * screen.C: fix "theoretical" GC leak
11554
11555 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11556
11557         * LaTeX.C (scanAuxFile):
11558         (deplog): remove trailing \r when reading stream (useful under
11559         win32)
11560
11561 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11562
11563         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11564         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11565         and BufferView::theLockingInset(Inset*), so should use them and not
11566         access bv_->text->the_locking_inset directly.
11567
11568         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11569
11570 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11571
11572         * Makefile.am:
11573         * tex-defs.h: remove old unused file
11574
11575 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * BufferView_pimpl.C: fix typo, remove minibuffer message
11578           when buffer has loaded
11579
11580 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11581
11582         * lyxfunc.C (Dispatch): use stringstream
11583         (MenuNew): use stringstream
11584         (Open): use stringstream
11585
11586         * importer.C (Import): use stringstream
11587
11588         * bufferview_funcs.C (CurrentState): use stringstream
11589
11590         * LaTeX.C (run): use stringstream
11591
11592         * BufferView_pimpl.C (savePosition): use stringstream
11593         (restorePosition): use stringstream
11594         (MenuInsertLyXFile): use stringstream
11595
11596 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11597
11598         * BufferView.C:
11599         * Bullet.C:
11600         * ColorHandler.C:
11601         * FontInfo.C:
11602         * FontLoader.C:
11603         * LColor.C:
11604         * LaTeXFeatures.C:
11605         * Painter.C:
11606         * gettext.C:
11607         * lyx_gui_misc.C:
11608         * lyxserver.C:
11609         * vspace.C: removed // -*- C++ -*- as first line.
11610
11611         * lyxfind.h:
11612         * version.h: added // -*- C++ -*- as first line.
11613
11614 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11615
11616         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11617
11618         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11619         of string
11620
11621 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11622
11623         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11624         of floats.
11625
11626 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11627
11628         * gettext.C: include LString.h even when --disable-nls is on.
11629
11630 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11631
11632         * converter.h (Get): changed argument type from int to
11633         FormatList::size_type to avoid unnecessary conversion.
11634
11635         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11636         before using it.
11637
11638 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11639
11640         * gettext.h: include LString.h even when --disable-nls is on.
11641
11642 2001-06-07  Juergen Vigna  <jug@sad.it>
11643
11644         * text.C (BreakAgain): subst spaces with tabs.
11645
11646         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11647         (resizeInsetsLyXText): set force on resizeLyXText.
11648
11649 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11650
11651         * gettext.h (gettext_init):
11652         (locale_init): use a real definition instead of a macro
11653
11654 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11655
11656         * Bufferview_pimpl.C:
11657         * LColor.h:
11658         * LColor.C: further lcolor tidies
11659
11660 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11661
11662         * BufferView_pimpl.C (updateScrollbar): simplify.
11663
11664         * BufferView2.C: don't include insets/insetinfo.h, change
11665         prototype for insertInset and call the Pimpl version. let
11666         updateInset call Pimpl version.
11667
11668         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11669         gotoInset to BufferView::Pimpl
11670
11671 2001-06-01  Juergen Vigna  <jug@sad.it>
11672
11673         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11674         inside a LockingInset (is the update needed at all?).
11675
11676 2001-05-31  Juergen Vigna  <jug@sad.it>
11677
11678         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11679         here not the old one otherwise how should we compare it afterwards
11680         if it's the same!
11681
11682 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11683
11684         * lyxfont.C:
11685         * tabular.C:
11686         * tabular-old.C:
11687         * FontInfo.C: bring C functions into global namespace when
11688         necessary
11689
11690 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11691
11692         * LString.h: make sure config.h has been loaded before LString.h.
11693
11694         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11695         (one for each char read by EatLine!).
11696
11697         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11698         variables.
11699
11700 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11701
11702         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11703         to the same as the par we break from
11704
11705 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11706
11707         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11708
11709         * MenuBackend.C (expand): also create menu entries for wide
11710         versions of the floats.
11711
11712         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11713
11714         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11715
11716         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11717         frontends/Makefile.am
11718
11719         * text2.C: adjust
11720         * text.C: adjust
11721
11722
11723         * tabular.C (getTokenValue): add std::
11724
11725         * tabular-old.C (getTokenValue): add std::
11726         (getTokenValue): ditto
11727         (getTokenValue): ditto
11728
11729         * screen.C (ToggleSelection): adjust
11730
11731         * lyxtext.h: put selection cursors inside a Selection struct.
11732
11733         * lyxfunc.C (moveCursorUpdate): adjust
11734
11735         * lyxfont.C (latexWriteStartChanges): add std::
11736
11737         * lyxfind.C: adjust
11738
11739         * font.h: delete with(char const *, LyXFont const &)
11740
11741         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11742
11743         * FontInfo.C (getFontname): add std::
11744
11745         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11746         (workAreaButtonPress): adjust
11747         (tripleClick): adjust
11748         (update): adjust
11749         (moveCursorUpdate): adjust
11750         (Dispatch): adjust
11751
11752         * BufferView2.C (gotoInset): adjust
11753
11754 2001-05-30  Juergen Vigna  <jug@sad.it>
11755
11756         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11757         to check pspell I add this as default as I now have new pspell
11758         libraries and they seem to use this.
11759
11760 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11761
11762         * text2.C (CutSelection): make the cursor valid before the call to
11763         ClearSelection.
11764
11765 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11766
11767         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11768         relied on 0 terminated strings and other horrors. Bug found due to
11769         the new assert in lyxstring!
11770
11771         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11772         KP_ keys.
11773
11774 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11775
11776         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11777         to latinkeys.bind.
11778
11779         * lyxfunc.C (processKeySym): change method of getting to the
11780         self-insert char.
11781
11782         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11783         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11784         * BufferView_pimpl.[Ch]: here as private methods.
11785
11786 2001-05-28  Juergen Vigna  <jug@sad.it>
11787
11788         * text.C (SetHeightOfRow): added the update() call again as it is
11789         needed to initialize inset dimensions!
11790
11791 2001-05-16  Juergen Vigna  <jug@sad.it>
11792
11793         * text2.C (SetCharFont): Add new function with BufferView * and
11794         bool toggleall parameters for setting insets internal fonts.
11795         (SetFont): Freeze the undo as we may change fonts in Insets and
11796         all this change should be inside only one Undo!
11797
11798         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11799         setting font's in insets as for them we have the SetFont function!
11800
11801 2001-05-15  Juergen Vigna  <jug@sad.it>
11802
11803         * text2.C (ClearSelection): to be sure we REALLY don't have any
11804         selection anymore!
11805
11806         * tabular.C (TeXCellPreamble): fixed the left border problem for
11807         multicolumn cells.
11808
11809 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11810
11811         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11812         dependancy file
11813
11814 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11815
11816         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11817         LFUN_BREAKPARAGRAPH.
11818
11819         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11820         help test to "internal only", similar for LFUN_INSERT_URL
11821
11822         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11823         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11824         auto_region_delete and deadkeys.
11825
11826 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11827
11828         * LColor.h:
11829         * LColor.C: remove some dead entries, tidy a little
11830
11831 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11832
11833         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11834         commented code.
11835         (Dispatch): implement LFUN_ESCAPE
11836
11837         * commandtags.h: add LFUN_ESCAPE
11838
11839         * LyXAction.C (init): add entry for LFUN_ESCAPE
11840
11841         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11842         Remove commented code.
11843         (insertNote): moved here
11844         (open_new_inset): moved here
11845
11846         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11847         BufferView_pimpl
11848
11849 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11850
11851         * kbmap.C (findbinding): clean it up and make it work correctly.
11852
11853         * lyx_main.C (init): do not pass argc and argv as parameters
11854
11855 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11856
11857         * buffer.C: fix path for OS/2 & Win32
11858
11859         * lyx_gui.C:
11860         * lyx_main:
11861         * lyx_main.C: Added os:: class.
11862
11863         * os2_defines.h: update
11864
11865 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11866
11867         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11868         better by trying again with reduced state.
11869
11870 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11871
11872         * lyxrc.C (read): print error about invalid key sequence only when
11873         debugging (because not all latinX keysyms are known to some X
11874         servers)
11875
11876         * kbsequence.C (getiso): add a few std:: qualifiers
11877         (getiso): comment out extra return statement.
11878
11879 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11880
11881         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11882         handling.
11883         (Dispatch): enhance the accent inset a bit. (not perfect)
11884
11885 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11886
11887         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11888
11889 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11890
11891         * bufferlist.C (emergencyWrite): fix assert() call
11892
11893 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11894
11895         * text.C (InsertChar): Added trivial patch to only send the "you
11896         can not do multiple spaces this way" message once during a
11897         session.
11898
11899 2001-05-08  Baruch Even  <baruch@lyx.org>
11900
11901         * Makefile.am: Changed order of libraries to get LyX to link properly
11902         with the gnome frontend.
11903
11904 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11905
11906         * LaTeXFeatures.h: add a std:: qualifier
11907
11908 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11909
11910         * paragraph.C (String): use stringstream
11911
11912 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11913
11914         * paragraph.C (writeFile): remove footflag arg
11915
11916         * buffer.C (makeLaTeXFile): use stringstream
11917         (latexParagraphs): remove footnot gurba
11918
11919         * LaTeXFeatures.C (getPackages): use stringstream
11920         (getMacros): likewise
11921         (getTClassPreamble): likewise
11922         (getFloatDefinitions): new method
11923
11924         * paragraph.C (writeFile): reindent
11925         (Erase): reindent
11926
11927         * WorkArea.h: revert the xpos + etc changes.
11928
11929         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11930
11931         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11932
11933         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11934         (pasteSelection): likewise
11935         * text2.C (CreateUndo): likewise
11936
11937 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11938
11939         * minibuffer.C (peek_event): temporarily reduce the functionality
11940         of the minibuffer (to allow args on lfuns)
11941
11942         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11943         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11944
11945         * buffer.C (readInset): add compability reading of old float
11946         lists, add reading of new style float list.
11947         (readInset): avoid reevaluation of inscmd.getCmdName()
11948         (getLists): reindent
11949
11950         * MenuBackend.C (MenuItem): implement parsing of
11951         md_floatlistinsert and md_floatinsert.
11952         (expand::LastFiles): move initalizaton of iterators out of loop,
11953         avoid reevaluation.
11954         (expand::Documents): introduce typdedef vector<string> Strings,
11955         and use it.
11956         (expand::ExportFormats): introduce typedef vector<Format const *>
11957         Formats, and use it.
11958         (expand): implement FloatListInsert and FloatInsert.
11959
11960         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11961         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11962         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11963
11964         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11965         handling.
11966         (Dispatch::LFUN_FLOAT_LIST): implement
11967
11968 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11969
11970         * LaTeX.C (run): Fix problem with --export code.
11971
11972 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11973
11974         * BufferView.[Ch] (workarea): removed.
11975         (getClipboard) new method; wrapper for workarea()->getClipboard()
11976
11977         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11978         bug.
11979
11980         * WorkArea.h (width, height, xpos, ypos): These methods all
11981         returned the dimensions of the work_area sub-area of WorkArea,
11982         resulting in a position error if the WorkArea were resized. Now
11983         return the dimensions of the entire WorkArea.
11984
11985         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11986
11987 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11988
11989         * LaTeX.C (deplog): correct the syntax of regex reg1
11990
11991 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11992
11993         * undo.C: remove !NEW_INSETS cruft
11994
11995 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * text2.C: remove !NEW_INSETS cruft
11998
11999         * text.C: remove !NEW_INSETS cruft
12000
12001         * tabular.C: remove !NEW_INSETS cruft
12002
12003         * spellchecker.C: remove !NEW_INSETS cruft
12004
12005         * lyxtext.h: remove !NEW_INSETS cruft
12006
12007         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12008
12009         * lyxfunc.C: remove !NEW_INSETS cruft
12010
12011         * lyxfind.C: remove !NEW_INSETS cruft
12012
12013         * lyx_cb.C: remove !NEW_INSETS cruft
12014
12015         * figureForm.C: remove  !NEW_INSETS cruft
12016
12017         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12018
12019         * buffer.[Ch]: remove !NEW_INSETS cruft
12020
12021         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12022
12023         * CutAndPaste.C: remove !NEW_INSETS cruft
12024
12025         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12026
12027         * BufferView2.C: remove !NEW_INSETS cruft
12028
12029         * BufferView.h: remove !NEW_INSETS cruft
12030
12031 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12032
12033         * Lsstream.h: include LString.h before the sstream headers to
12034         fix problem with gcc 2.95.3 and lyxstring
12035
12036 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12037
12038         * lyx_main.C: add using directives when needed for C functions
12039         declared in std:: namespace.
12040
12041 2001-04-27  Juergen Vigna  <jug@sad.it>
12042
12043         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12044         (SetHeightOfRow): comment out the update call should not be needed!
12045
12046 2001-04-13  Juergen Vigna  <jug@sad.it>
12047
12048         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12049         (LyXTabular): tried to minimize operator= operations (and realized
12050         hopfully Lars wish).
12051
12052 2001-04-27  Juergen Vigna  <jug@sad.it>
12053
12054         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12055
12056 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12057
12058         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12059
12060         * buffer.C (readInset): hack to make listof algorithm work
12061
12062         * BufferView_pimpl.C: hack to make listof algorithm work
12063
12064 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12065
12066         * LyXAction.C: removed all !NEW_INSETS cruft
12067         (init): moved lfun_item in method
12068
12069         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12070
12071 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12072
12073         * BufferView2.C (theLockingInset): white space.
12074
12075 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12076
12077         * minibuffer.C: include <iostream>
12078
12079         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12080
12081         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12082
12083         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12084
12085         * text.[Ch] (TransposeChars): new method
12086
12087 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12088
12089         * call message directly through LyXView instead of through LyXFunc
12090         * BufferView2.C: adjust
12091         * BufferView_pimpl.C: adjust
12092         * FontLoader.C: adjust
12093         * buffer.C: adjust
12094         * bufferview_funcs.C: adjust
12095         * converter.C: adjust
12096         * figureForm.C: adjust
12097         * importer.C: adjust
12098         * lyx_cb.C: adjust
12099         * lyx_gui_misc.C: adjust
12100         * lyxfunc.C: adjust
12101         * lyxvc.C: adjust
12102         * text2.C: adjust
12103         + more files in subdirs
12104
12105         * lyxparagraph.h (size): move up int file
12106         (GetLayout): ditto
12107
12108         * adjust all uses of Assert to lyx::Assert.
12109
12110         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12111         lyxfunctional in namespace lyx
12112         * layout.C (hasLayout): ditto
12113         (GetLayout): ditto
12114         (GetLayout): ditto
12115         (delete_layout): ditto
12116         (NumberOfClass): ditto
12117         * converter.C (GetFormat): ditto
12118         (GetNumber): ditto
12119         (Add): ditto
12120         (Delete): ditto
12121         (SetViewer): ditto
12122         * bufferlist.C (getFileNames): ditto
12123         (emergencyWriteAll): ditto
12124         (exists): ditto
12125         (getBuffer): ditto
12126         * MenuBackend.C (hasSubmenu): ditto
12127         (hasMenu): ditto
12128         (getMenu): ditto
12129         * BufferView_pimpl.C (getInsetByCode): ditto
12130
12131 2001-04-18  Juergen Vigna  <jug@sad.it>
12132
12133         * vspace.C (asLatexString): fixed the 100% problem.
12134
12135 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12136
12137         * lyxfunc.C (Dispatch):
12138         * minibuffer.C:
12139         * minibuffer.h: add a few std:: qualifiers
12140
12141 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12142
12143         * minibuffer.[Ch]: reimplement so that commands is initiated and
12144         run from lyxfunc, simplified som handling, and made the completion
12145         and history code for complete. wip.
12146
12147         * lyxfunc.C (processKeySym): call message
12148         (miniDispatch): new temporary method
12149         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12150         (LFUN_MESSAGE): implement
12151         (LFUN_MESSAGE_PUSH): implement
12152         (LFUN_MESSAGE_POP): implement
12153         (initMiniBuffer): the initial/defualt minibuffer message.
12154
12155         * lyxfont.[Ch]: inline some more getters
12156
12157         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12158
12159         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12160
12161         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12162         (AutoSave): use LFUN_MESSAGE
12163         (Reconfigure): ditto
12164
12165         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12166
12167         * figureForm.C: use LFUN_MESSAGE
12168
12169         * converter.C (runLaTeX): use LFUN_MESSAGE
12170
12171         * bufferview_funcs.C: use LFUN_MESSAGE
12172         (Melt): ditto
12173         (changeDepth): ditto
12174
12175         * bufferparams.h: use boost::
12176
12177         * bufferlist.h: inherit privately from noncopyable
12178
12179         * bufferlist.C (loadLyXFile): remove some commented code.
12180
12181         * buffer.C (runChktex): use LFUN_MESSAGE
12182
12183         * ShareContainer.h: inherit privately from noncopyable
12184
12185         * ParagraphParameters.[hC] (depth): inline it.
12186
12187         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12188         methods.
12189         (message): new method
12190         (messagePush): ditto
12191         (messagePop): ditto
12192         (show): init minibuffer
12193         (showState): direct call
12194
12195         * LaTeX.[Ch]: inherit privately from noncopyable
12196         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12197         instead of WriteStatus.
12198
12199         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12200
12201         * BufferView_pimpl.C (buffer): don't init minibuffer
12202         (workAreaButtonPress): use LFUN_MESSAGE
12203         (workAreaButtonRelease): ditto
12204         (savePosition): ditto
12205         (restorePosition): ditto
12206         (MenuInsertLyXFile): ditto
12207         (workAreaExpose): don't init minibuffer
12208         (update): remove commented code, simplify
12209
12210         * BufferView2.C (openStuff): use LFUN_MESSAGE
12211         (toggleFloat): ditto
12212         (menuUndo): ditto
12213         (menuRedo): ditto
12214         (copyEnvironment): ditto
12215         (pasteEnvironment): ditto
12216         (copy): ditto
12217         (cut): ditto
12218         (paste): ditto
12219         (gotoInset): ditto
12220         (updateInset): remove some commented code
12221
12222         * lastfiles.h: inherit privately from noncopyable
12223         * layout.h: ditto
12224         * lyx_gui.h: ditto
12225         * lyx_main.h: ditto
12226         * lyxlex.h: ditto
12227         * lyxlex_pimpl.h: ditto
12228
12229         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12230         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12231         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12232
12233         * LyXAction.h: inherit privately from noncopyable, add methods
12234         func_begin, func_end, returning iterators to the func map.
12235
12236         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12237         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12238         (func_begin): new method
12239         (func_end): new method
12240
12241         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12242         and not)
12243         (copySelection): ditto
12244         (pasteSelection): ditto
12245
12246         * BufferView.C: whitespace change
12247         * BufferView.h: inherit privately from noncopyable
12248
12249 2001-04-16  Allan Rae  <rae@lyx.org>
12250
12251         * tabular-old.C (l_getline):
12252         * spellchecker.C (sc_check_word):
12253         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12254         an unrecognised preprocessor directive.  So ensure they're wrapped.
12255
12256 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12257
12258         * src/exporter.C (Export): Give an error message when path to file
12259         contains spaces.
12260
12261 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12262
12263         * LaTeX.C (deplog): Always check that foundfile exists.
12264
12265 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12266
12267         * lyx_main.h:
12268         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12269
12270 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12271
12272         * tabular.[Ch] (getLabelList): implement new method
12273
12274         * minibuffer.h: comment ouf setTiimer
12275
12276         * minibuffer.C (ExecutingCB): constify res
12277         (peek_event): constify s
12278         (Set): constify ntext
12279         (Init): constify nicename
12280
12281         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12282
12283         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12284         (savePosition): use two params to Minibuffer::Set
12285         (restorePosition): ditto
12286
12287 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12288
12289         * lyx_main.C: include language.h
12290
12291         * Makefile.am (lyx_main.o): add language.h
12292
12293 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12294
12295         * exporter.C:
12296         * paragraph.C:
12297         * screen.C:
12298         * tabular.C:
12299         * CutAndPaste.C: include gettext.h
12300
12301         * lyxfont.h: remove old hack with ON and OFF.
12302
12303         * lyxparagraph.h:
12304         * lyxfont.h: do not include language.h...
12305
12306         * BufferView2.C:
12307         * LaTeXFeatures.C:
12308         * Painter.C:
12309         * bufferview_funcs.C:
12310         * font.C:
12311         * lyxfont.C:
12312         * text.C:
12313         * text2.C:
12314         * trans_mgr.C:
12315         * paragraph.C: ... but do it here instead
12316
12317 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12318
12319         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12320
12321         * tabular.C: small reformat
12322
12323         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12324         NEW_INSETS version
12325         (GetChar): ditto
12326         (BreakParagraph): ditto
12327         (SetOnlyLayout): ditto
12328         (SetLayout): ditto
12329
12330         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12331         with one arg less.
12332
12333         * lastfiles.C: removed most using decl, add std:: where needed
12334
12335         * buffer.C: ws changes
12336
12337         * MenuBackend.C (class compare_format): put into anon namespace
12338         (expand): constify label, names, action, action2
12339         (expand):
12340
12341         * text.C (SingleWidth): constify font
12342         (IsBoundary): constify rtl2
12343         (GetVisibleRow): constify ww
12344
12345         * LaTeX.C (deplog): constify logfile
12346
12347         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12348         start_x, end_x
12349         (workAreaExpose): constify widthChange, heightChange
12350
12351         * lyxrow.C (par): moved
12352         (height): moved
12353         (next): moved
12354         * lyxrow.h: as inlines here
12355
12356         * lyxfont.h (shape): moved from lyxfont.C
12357         (emph): moved from lyxfont.C
12358
12359         * lyxfont.C (LyXFont): use initialization list for all
12360         constructors
12361         (shape): move to lyxfont.h as inline
12362         (emph): move to lyxfont.h as inline
12363
12364
12365 2001-04-04  Juergen Vigna  <jug@sad.it>
12366
12367         * vspace.C: had to include stdio.h for use of sscanf
12368
12369 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12370
12371         * BufferView.h:
12372         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12373         independent of xforms.
12374
12375 2001-04-02  Juergen Vigna  <jug@sad.it>
12376
12377         * spellchecker.C: fixed namespace placing!
12378
12379 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12380
12381         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12382         the LyXParagraph * is 0.
12383
12384 2001-03-29  Juergen Vigna  <jug@sad.it>
12385
12386         * vspace.C: added support for %, c%, p%, l%.
12387         (stringFromUnit): added helper function.
12388         (asLatexString): changed to give right results for the %-values.
12389
12390         * buffer.C: convert the widthp in a width%.
12391
12392 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12393
12394         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12395         figureForm.[Ch].
12396
12397         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12398         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12399
12400         * lyx_cb.[Ch]: see above.
12401
12402         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12403         form1.[Ch].
12404
12405         * form1.[Ch]:
12406         * lyx.[Ch]: replaced by figure_form.[Ch].
12407
12408         * lyx_gui.C:
12409         * lyx_gui_misc.C:
12410         * lyxfunc.C: changed headers associated with above changes.
12411
12412 2001-03-27  Juergen Vigna  <jug@sad.it>
12413
12414         * BufferView_pimpl.C: set the temporary cursor right!
12415
12416 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12417
12418         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12419
12420 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12421
12422         * LString.h: removed "using std::getline"!
12423
12424         * BufferView_pimpl.C (Dispatch): changes due to changes in
12425         InsetInclude::Params.
12426
12427         * buffer.C (tag_name): removed redundant break statements as they were
12428         producing lots of warnings with my compiler.
12429
12430 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12431
12432         * LString.h: add "using std::getline" when using the real <string>.
12433
12434 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12435
12436         * buffer.C: removed bitset usage.
12437         PAR_TAG moved to an anonymous name space.
12438         (tag_name): new funtion, also in the anonymous namespace.
12439         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12440         (makeDocBookFile): clean code. Completed transition from string arrays
12441         to string vectors.
12442         (SimpleDocBookOnePar): code clean.
12443
12444 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12445
12446         * tabular.C: add some comments.
12447
12448 2001-03-22  Juergen Vigna  <jug@sad.it>
12449
12450         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12451         compatibility read a bit and fixed bug with minipage in different
12452         depth.
12453
12454 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12455
12456         * buffer.C (pop_tag): removed.
12457         (push_tag): removed.
12458         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12459         array replaced with vector. Added support for CDATA sections.
12460         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12461         at any nest level.
12462         (makeDocBookFile): XML conformant declaration of CDATA section,
12463         fixed bug related to <emphasis> in the first paragraph char.
12464         (sgmlOpenTag): exclude empty tags.
12465         (sgmlCloseTag): ditto.
12466
12467         * buffer.h (pop_tag): removed.
12468         (push_tag): removed.
12469
12470 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12471
12472         * language.h (Languages): added size_type and size().
12473
12474 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12475
12476         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12477         response on compability reading of minipages. One probliem is that
12478         the old usage of minipages was «flertydig»
12479
12480         * several files here and in subdirs: don't use static at file
12481         scope use anon namespaces instead.
12482
12483 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12484
12485         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12486         LaTeX output. This is necessary for Literate document
12487         processing.
12488
12489 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12490
12491         * buffer.C: insert hfill when needed.
12492
12493         * tabular.C (l_getline): use string::erase, small whitespace change.
12494
12495         * BufferView_pimpl.C: try the anon namespace.
12496         * WorkArea.C: ditto
12497
12498 2001-03-16  Juergen Vigna  <jug@sad.it>
12499
12500         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12501         otherwise it won't open options-dialogs.
12502
12503         * buffer.C: honor pextraWidth(p) on converting minipages.
12504
12505         * tabular.C (l_getline): changed the functions to strip trailing \r.
12506
12507 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12508
12509         * BufferView_pimpl.C:
12510         * minibuffer..C: added "using SigC::slot" declaration.
12511
12512 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12513
12514         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12515
12516         * text2.C: ditto
12517
12518         * text.C: ditto
12519
12520         * paragraph.C: ditto
12521
12522         * lyxtext.h: NO_PEXTRA
12523
12524         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12525
12526         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12527         * ParameterStruct.h: ditto
12528         * ParagraphParameters.h: ditto
12529         * lyxparagraph.h: ditto
12530
12531 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12532
12533         * buffer.C: add compability for minipage alignment.
12534         (latexParagraphs): remove unwanted pextra check.
12535
12536         * several files: remove CXX_WORKING_NAMESPACES
12537
12538         * buffer.C (pop_tag): tie is in namespace boost
12539
12540         * BufferView.h: noncopyable is in namespace boost
12541         * lyxlex.h: ditto
12542         * lyx_main.h: ditto
12543         * lyx_gui.h: ditto
12544         * layout.h: ditto
12545         * lastfiles.h: ditto
12546         * bufferlist.h: ditto
12547         * ShareContainer.h: ditto
12548         * LyXView.h: ditto
12549         * LyXAction.h: ditto
12550         * LaTeX.h: ditto
12551
12552 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12553
12554         * Merging changes from BRANCH_MVC back into HEAD.
12555
12556         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12557
12558 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12559
12560         * BufferView_pimpl.C: change from intl.C
12561
12562         * combox.h:
12563         * combox.C:
12564         * Makefile.am: move combox.*
12565
12566         * form1.h:
12567         * form1.C:
12568         * lyx_gui.C:
12569         * intl.h:
12570         * intl.C: remove dialog (covered by prefs)
12571
12572 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12573
12574         * lyxfunc.C (Dispatch): removed redundant break statement.
12575
12576 2001-03-14  Juergen Vigna  <jug@sad.it>
12577
12578         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12579
12580 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12581
12582         * buffer.C: add hack to fix compability reading of minipages.
12583
12584 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12585
12586         * buffer.C (getLists): Cleanup.
12587
12588 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12589
12590         * lyxfont.C (update): don't honor toggleall on font size.
12591
12592 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12593
12594         * bmtable.c:
12595         * bmtable.h:
12596         * Makefile.am: moved to frontends/xforms/
12597
12598         * lyx_gui_misc.C:
12599         * lyxfunc.C:
12600         * BufferView_pimpl.C: changes for moved mathpanel
12601
12602 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12603
12604         * gettext.h: fix gettext_init() in --disable-nls
12605
12606 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12607
12608         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12609
12610 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12611
12612         * lyx.C:
12613         * lyx.h: strip external form
12614
12615 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12616
12617         * BufferView_pimpl.C: add comment, destroySplash()
12618
12619 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12620
12621         * BufferView_pimpl.C:
12622         * LyXAction.C:
12623         * buffer.C:
12624         * commandtags.h:
12625         * lyxfunc.C: use re-worked insetinclude
12626
12627 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12628
12629         * buffer.C: add using std::stringstream.
12630
12631         * lyx_cb.C: readd using std::ios.
12632
12633         * buffer.C: add using std::map.
12634
12635         * BufferView_pimpl.C: add using std::vector.
12636
12637         * ShareContainer.h: add std:: to swap.
12638
12639         * buffer.h: add some typedefs
12640         * buffer.C (getLists): use them
12641         (getLists): renamed from getTocList.
12642         add a counter for the different float types and use it in the
12643         generated string.
12644         (getLists): use the same counter for the NEW_INSETS and the "non"
12645         NEW_INSETS
12646
12647         * lyx_cb.h: remove unused items, includes, using etc.
12648
12649         * ShareContainer.h: remove some commented code, add more comments
12650         and "documentation".
12651
12652 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12653
12654         * buffer.C (getTocList): make the list also when NEW_INSETS is
12655         defined.
12656
12657         * buffer.h: remove TocType
12658
12659         * buffer.C (getTocList): change to return a map<string,
12660         vector<TocItem> >, implement for dynamic number of list.
12661
12662         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12663         * text2.C (PasteSelection): adjust
12664         * CutAndPaste.C (pasteSelection): adjust
12665
12666         * FloatList.C (FloatList): update from the new_insets branch.
12667         * Floating.[Ch]: ditto
12668         * LaTeXFeatures.C: ditto
12669         * buffer.C: ditto
12670         * lyxlex_pimpl.C: ditto
12671
12672         * paragraph.C (Last): remove when NEW_INSETS is defined.
12673
12674         * other file: changes because of the above.
12675
12676 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12677
12678         * lyxparagraph.h: rename next to next_, previous to previous_,
12679         make them private for NEW_INSETS. Rename Next() to next(),
12680         Previous() to previous().
12681
12682         * other files: changes because of the above.
12683
12684 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12685
12686         * BufferView.h:
12687         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12688         problem.
12689
12690 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12691
12692         * main.C (main): pass lyx_localedir to gettext_init().
12693
12694         * gettext.h: remove locale_init and gettext_init macros
12695
12696         * gettext.C (locale_init): new function
12697         (gettext_init): new function
12698
12699         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12700         setlocale().
12701
12702 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12703
12704         * Moved credits to frontends:
12705         * credits.[Ch]: removed
12706         * credits_form.[Ch]: removed
12707         * lyx_gui_misc.C: remove credits stuff
12708         * Makefile.am:
12709
12710 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12711
12712         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12713
12714         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12715         unneeded destructor.
12716
12717         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12718         a standalone pointer again.
12719
12720         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12721
12722 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * Makefile.am:
12725         * filedlg.h:
12726         * filedlg.C:
12727         * LyXAction.C:
12728         * ToolbarDefaults.C:
12729         * bufferlist.C:
12730         * commandtags.h:
12731         * form1.C:
12732         * form1.h:
12733         * lyx_cb.C:
12734         * lyx_cb.h:
12735         * lyxfunc.h:
12736         * lyxfunc.C:
12737         * BufferView_pimpl.C: use new file dialog in GUII
12738
12739         * lyx_cb.h:
12740         * lyx_cb.C: remove LayoutsCB to Toolbar
12741
12742 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12743
12744         * ShareContainer.h (get): add std:: qualifier
12745
12746 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12747
12748         * ShareContainer.h: define a proper ShareContainer::value_type
12749         type (and use typename to please compaq cxx)
12750
12751 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12752
12753         * lyxparagraph.h: move serveral local vars to
12754         ParameterStruct/ParagraphParameters., use ShareContainer in
12755         FontTable., make vars in FontTable private and add getter and
12756         setter.
12757
12758         * paragraph.C: changes because of the above.
12759
12760         * lyxfont.h: remove copy constructor and copy assignment. (the
12761         default ones is ok), move number inside FontBits. move inlines to
12762         lyxfont.C
12763
12764         * lyxfont.C: add number to initializaton of statics, move several
12765         inlines here. constify several local vars. some whitespace
12766         cleanup. Dont hide outerscope variables.
12767
12768         * Spacing.h: add two new constructors to match the set methods.
12769
12770         * ShareContainer.h: new file, will perhaps be moved to support
12771
12772         * ParameterStruct.h: new file
12773
12774         * ParagraphParameters.h: new file
12775
12776         * ParagraphParameters.C: new file
12777
12778         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12779         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12780
12781         * BufferView_pimpl.C: ParagraphParameter changes.
12782         * buffer.C: Likewise.
12783         * bufferview_funcs.C: Likewise.
12784         * text.C: Likewise.
12785         * text2.C: Likewise.
12786
12787 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12788
12789         * lyxfind.C (LyXReplace): do not redefine default argument in
12790         implementation.
12791         (IsStringInText): ditto
12792         (SearchForward): ditto
12793         (SearchBackward): ditto
12794
12795 2001-03-06  Juergen Vigna  <jug@sad.it>
12796
12797         * lyxfind.C (IsStringInText): put parentes around expressions.
12798
12799 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12800
12801         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12802
12803 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12804
12805         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12806
12807         * stl_string_fwd.h: add comment
12808
12809         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12810
12811         * tabular.h:
12812         * tabular.C: remove unused DocBook methods
12813
12814         * intl.C:
12815         * language.C:
12816         * paragraph.C:
12817         * buffer.C:
12818         killed DO_USE_DEFAULT_LANGUAGE
12819
12820 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12821
12822         * lyx_gui.C: do not include language.h.
12823
12824         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12825         arguments in function implementation.
12826
12827 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12828
12829         * BufferView_pimpl.C: add <ctime>
12830
12831 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12832
12833         * BufferView_pimpl.C: add using std::find_if
12834
12835 2001-02-27  José Matos  <jamatos@fep.up.pt>
12836
12837         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12838         by OnlyPath.
12839
12840 2001-02-11  José Matos  <jamatos@fep.up.pt>
12841
12842         * buffer.C (makeDocBookFile): command styles now have a parameter as
12843         "title" by default.
12844
12845 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12846
12847         * layout_forms.[Ch]: removed
12848         * lyx_cb.[Ch]: out character
12849         * lyx_gui.C: out character
12850         * lyx_gui_misc.C: out character
12851         * bufferview_funcs.C: : out character,
12852         added toggleall as parameter in ToggleAndShow
12853
12854 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12855
12856         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12857
12858         * text2.C (SetCurrentFont): Disable number property at boundary.
12859
12860 2001-02-26  Juergen Vigna  <jug@sad.it>
12861
12862         * lyxfunc.C (getStatus): added a string argument override function so
12863         that this is correctly called from LyXFunc::Dispatch if it contains a
12864         do_not_use_argument which is used!
12865         (Dispatch): added check for "custom" export and call appropriate func.
12866
12867 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12868
12869         * lyxrc.C: Add language_command_local, language_use_babel and
12870         language_global_options.
12871
12872         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12873
12874         * buffer.C (makeLaTeXFile): Use language_use_babel and
12875         language_global_options.
12876
12877 2001-02-23  Juergen Vigna  <jug@sad.it>
12878
12879         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12880         which works with LyXText and putted it inside BufferView. Here now we
12881         only call for that part the BufferView::Dispatch() function.
12882
12883         * BufferView.C (Dispatch): added.
12884
12885         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12886         functions which needs to use a LyXText over from LyXFunc.
12887         (MenuInsertLyXFile): added
12888         (getInsetByCode): added
12889         (moveCursorUpdate): added
12890         (static TEXT): added
12891
12892 2001-02-22  Juergen Vigna  <jug@sad.it>
12893
12894         * BufferView_pimpl.C (update): call a status update to see if LyXText
12895         needs it.
12896
12897 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12898
12899         * vc-backend.C (revert): implement for CVS
12900         (getLog): implement for CVS
12901
12902 2001-02-20  Juergen Vigna  <jug@sad.it>
12903
12904         * text2.C (ClearSelection): added BufferView param for inset_owner call
12905
12906         * lyxfunc.C (TEXT): added this function and use it instead of
12907         directly owner->view()-text of getLyXText().
12908
12909 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12910
12911         * src/layout_forms.C: out preamble
12912         * src/layout_forms.h: out preamble
12913         * src/lyx_cb.C: out preamble
12914         * src/lyx_cb.h: out preamble
12915         * src/lyx_gui.C: out preamble
12916         * src/lyx_gui_misc.C: out preamble
12917         * src/lyxfunc.C: connect with guii preamble
12918
12919 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12920
12921         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12922
12923 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12924
12925         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12926         whether to run bibtex.
12927
12928 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12929
12930         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12931
12932 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12933
12934         * Makefile.am (lyx_SOURCES): removed bibforms.h
12935
12936         * vspace.h: doxygen
12937
12938         * text.C (GetVisibleRow): make several local vars const
12939
12940         * tabular.C: small cleanup.
12941
12942         * lyxserver.C (callback): use compare instead of strncmp
12943
12944         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12945         inlines to after class or to paragraph.C
12946
12947         * lyxfont.h: remove friend operator!=
12948
12949         * converter.h: move friend bool operator< to non friend and after
12950         class def.
12951
12952         * combox.h: small cleanup
12953
12954         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12955         to inlines after class def.
12956
12957         * buffer.C (pop_tag): use string operations instead of strcmp
12958
12959         * bmtable.c: doxygen, small cleanup
12960
12961         * LaTeX.h: remove friend operator==
12962
12963 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12964
12965         * screen.C:
12966         * lyxrc.[Ch]:
12967         * lyxfunc.C:
12968         * lyxfont.[Ch]:
12969         * lyx_cb.C:
12970         * intl.[Ch]:
12971         * commandtags.h:
12972         * buffer.C:
12973         * WorkArea.[Ch]:
12974         * LyXAction.C:
12975         * BufferView_pimpl.C:
12976         * BufferView.[Ch]: remove cruft
12977
12978 2001-02-14  Juergen Vigna  <jug@sad.it>
12979
12980         * lyxfunc.C: removed #if 0 unused code
12981
12982         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12983
12984         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12985
12986         * text2.C (SetSelection): added a BufferView * parameter
12987
12988 2001-02-13  Juergen Vigna  <jug@sad.it>
12989
12990         * lyxfunc.C (Dispatch): fixed protected blank problem.
12991         * BufferView2.C (protectedBlank): added LyxText * parameter.
12992
12993         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12994         (AppendColumn): same as above for column_info.
12995
12996         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12997         (moveCursorUpdate): use a LyXText param for support of InsetText.
12998
12999         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13000         (tripleClick): ditto
13001
13002         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13003
13004         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13005
13006         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13007
13008         * text2.C (SetSelection): set correct update status if inset_owner
13009         (ToggleFree): ditto
13010
13011 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13012
13013         * tabular.C: remove some commented code.
13014
13015 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13016
13017         * BufferView_pimpl.C: call hideSplash()
13018
13019         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13020
13021         * include_form.h:
13022         * bibforms.h: remove
13023
13024         * lyxfunc.C:
13025         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13026           add LFUN_CHILD_CREATE
13027
13028         * counters.h: fix tiny typo
13029
13030         * lyx_cb.C:
13031         * lyx.h:
13032         * lyx_gui.C:
13033         * lyx.C: move splash to frontends/xforms/
13034
13035         * lyx_gui_misc.C: move Include and Bibform to frontends
13036
13037         * lyxvc.h: clarify comment
13038
13039         * vspace.C: tiny housekeeping
13040
13041 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13042
13043         * text.C (PrepareToPrint): RTL Fix.
13044
13045         * paragraph.C (GetUChar): New method.
13046         (String):  Use GetUChar.
13047
13048         * buffer.C (asciiParagraph): Use GetUChar.
13049
13050 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13051
13052         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13053
13054 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13055
13056         * buffer.h:
13057         * buffer.C: rename to getLogName(), handle
13058           build log / latex log nicely
13059
13060 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13061
13062         * MenuBackend.C:
13063         * MenuBackend.h: remove support for reference menuitem type.
13064
13065 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13066
13067         * BufferView_pimpl.C: housekeeping
13068         * BufferView_pimpl.h:
13069         * LyXView.h:
13070         * Makefile.am:
13071         * Timeout.C:
13072         * Timeout.h:
13073         * minibuffer.h: move Timeout GUI-I
13074
13075 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13076
13077         * lyxrc.C (read): Update converters data-structures.
13078
13079 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13080
13081         * LaTeX.h (operator!=): add operator != for Aux_Info
13082
13083 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13084
13085         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13086
13087         * LaTeXLog.C: deleted, useful code moved to Buffer
13088
13089         * buffer.h:
13090         * buffer.C: new function getLatexLogName()
13091
13092         * lyx_gui_misc.C:
13093         * lyx_gui.C:
13094         * lyxvc.C:
13095         * lyxvc.h:
13096         * lyxfunc.C: use frontends for LaTeX and VC logs
13097
13098 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13099
13100         * LaTeX.h: yet another std:: that Allan forgot.
13101
13102         * Variables.C (set): renamed from isset(), because this clashes
13103         with some HP-UX macros (grr).
13104
13105 2001-02-06  Allan Rae  <rae@lyx.org>
13106
13107         * LaTeX.h: Another bug fix.  Missing std:: this time.
13108
13109 2001-02-04  Allan Rae  <rae@lyx.org>
13110
13111         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13112         floats problem. I've left it commented out because it's not quite
13113         correct.  It should also test that the current object is a table or
13114         figure inset.  But I haven't gotten around to figuring out how to do
13115         that.  I *think* it'll be something like: "table" == inset.type()
13116
13117         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13118         bool.
13119
13120 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13121
13122         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13123         all the citation/databases/styles in the auxilary file.
13124         (run): Rerun latex if there was a babel language error.
13125
13126 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13127
13128         * text.C (Backspace): Preserve the font when changing newline char
13129         with a space.
13130         (BreakParagraph): If the cursor is before a space, delete the space.
13131
13132         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13133
13134 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13135
13136         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13137         new argument (code).
13138         (ChangeCitationsIfUnique): New method.
13139
13140         * paragraph.C (GetPositionOfInset): Handle bibkey.
13141
13142 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13143
13144         * BufferView_pimpl.h: change type of Position::par_pos to
13145         LyXParagraph::size_type.
13146
13147 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13148
13149         * BufferView_pimpl.C (savePosition, restorePosition): Write
13150         messages to minibuffer.
13151
13152 2001-01-28  José Matos  <jamatos@fep.up.pt>
13153
13154         * buffer.C (makeDocBookFile): adds support for document language.
13155         A silly restriction on the name of LatexCommand types where removed.
13156         Added support for CDATA sections, allows to chars unescaped, used
13157         among others in code, to avoid escape < and >.
13158
13159 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13160
13161         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13162         saved positions instrad of a stack. Furthermore, a position is
13163         stored using paragraph id/paragraph position.
13164
13165         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13166         Remove LFUN_REF_BACK.
13167
13168 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13169
13170         * converter.C (dvipdfm_options): New method.
13171
13172 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13173
13174         * vspace.C (isValidLength): Fix for empty input string.
13175
13176 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13177
13178         * LyXAction.C (init): change description of LFUN_FIGURE to
13179         "Insert Graphics"
13180
13181 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13182
13183         * LaTeX.C: add using directive
13184
13185 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13186
13187         * MenuBackend.C (expand): Fix the sorting of the formats.
13188
13189 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13190
13191         * lyx_main.C: tiny error message fix
13192
13193 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13194
13195         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13196         calling fl_initialize(). This fixes the problem with ',' as
13197         decimal separator in text files.
13198
13199 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13200
13201         * trans.C (process): Fix the keymap bug.
13202
13203 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13204
13205         * LaTeX.C (scanAuxFiles): New method. Provides support for
13206         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13207         (scanLogFile) Scan for "run BibTeX" messages.
13208
13209         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13210         OT1 font encoding. Also, load the aecompl package if the ae
13211         package is loaded.
13212
13213         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13214
13215 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13216
13217         * texrow.C (increasePos): turn two error messages into debug
13218         messages.
13219
13220 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13221
13222         * LaTeX.C (scanAux): Handle the \@input macro.
13223         (runBibTeX): Use scanAux().
13224
13225         * language.C (latex_options_): New field.
13226
13227         * LaTeXFeatures.C (getMacros): Add language macros.
13228
13229         * buffer.C (makeLaTeXFile): Small fix.
13230
13231 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13232
13233         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13234
13235         * text2.C: add a using directive.
13236
13237 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13238
13239         * BufferView2.C:
13240         * lyx_gui_misc.h:
13241         * lyxfr1.C:
13242         * lyxfunc.C: kill LyXBell.
13243
13244 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13245
13246         * text.C (IsBoundary): Remove the error message
13247
13248         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13249
13250         * lyxrc.C (setDefaults): Correct initialization value for
13251         font_norm_type.
13252
13253 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13254
13255         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13256         gotoError().
13257
13258         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13259         and GotoNextNote().
13260
13261         * src/LyXAction.C: Added reference-next.
13262
13263         * text.C (InsertChar): Use contains instead of strchr.
13264
13265         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13266
13267 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13268
13269         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13270         alignment commands (when needed).
13271
13272         * text.C (InsertChar): Add ':' to number separator chars.