]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
just the next_rit check fixed
[lyx.git] / src / ChangeLog
1 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * text.C: fixed an "oops" in the "is a bit silly" 
4         bug fix
5
6 2003-10-21  André Pönitz  <poenitz@gmx.net>
7
8         * FuncStatus.[Ch]: small stuff, whitespace
9
10         * lyxfont.[Ch]: operator<<() for debug reasons
11
12         * lyxfunc.C:
13         * lyxrow_funcs.C:
14         * lyxtext.h: whitespace, spelling
15
16         * paragraph.C: naming of variables
17
18         * text.C:
19         * text2.C: small stuff
20
21
22 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
23
24         * text.C: (1) finish off the inset display() work;
25         (2) fix the "is a bit silly" bug (accessing char
26         past end of par).
27
28 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
29
30         * text.C: re-introduce display() for insets, fixing the
31         various bugs (stretch of line above, math inset 
32         positioning, ...)
33
34 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
35
36         * text.C (rightMargin): remove spurious semicolon
37
38         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
39         1415)
40
41 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
42
43         * text3.C: fix one crash due to wrong cursor def
44
45 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
46
47         * vc-backend.C (scanMaster): make the regex static
48
49         * LaTeX.C (scanAuxFile): make the regexs static
50
51         * text3.C (doInsertInset, dispatch, dispatch):
52         * text2.C (cursorUp, cursorDown):
53         * text.C (selectNextWordToSpellcheck):
54         * BufferView_pimpl.C (dispatch):
55         * lyxfunc.C (dispatch):  localDispatch -> dispatch
56
57 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
58
59         * lyxsocket.C: include <cerrno>
60
61 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
62
63         * lyxfunc.C (dispatch): remove textcache stuff
64
65         * bufferlist.C (release): remove textcache stuff
66         (closeAll): ditto
67
68         * TextCache.C: delete file
69         * TextCache.h: delete file
70
71         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
72
73         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
74         delete of the bv_->text.
75         (resizeCurrentBuffer): remove texcache stuff
76         (workAreaResize): ditto
77
78 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
79
80         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
81         action.
82
83 2003-10-16  André Pönitz  <poenitz@gmx.net>
84
85         * lyxrow.[Ch]:
86         * paragraph.h:
87         * rowpainter.C:
88         * text.C:
89         * text2.C:
90         * text3.C: speed up by storing y positions per paragraph plus per-row
91         offset instead of having a 'full' y position in the row.
92
93 2003-10-15  André Pönitz  <poenitz@gmx.net>
94
95         * iterators.[Ch]:
96         * iterators.[Ch]:
97         * undo.[Ch]: make undo aware of inner insets
98
99 2003-10-14  Angus Leeming  <leeming@lyx.org>
100
101         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
102         static member functions LyX::ref() and LyX::cref.
103         (lastfiles): new accessor functions for the new lastfiles_ member var.
104         (addLyXView, views_): add a new LyXView to the list of views_.
105         (updateInset): loop over all LyXViews to call their own updateInset
106         member function, returning a pointer to the Buffer owning the inset.
107
108         * BufferView_pimpl.C (loadLyXFile):
109         * MenuBackend.C (expandLastfiles):
110         * bufferlist.C (MenuWrite, QuitLyX):
111         lastfiles is no longer a global variable.
112         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
113
114         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
115         static function. Access through LyX::cref().emergencyCleanup().
116
117 2003-10-14  André Pönitz  <poenitz@gmx.net>
118
119         * iterators.[Ch]: new direct access to innermost LyXText and Inset
120
121         * undo.[Ch]: restoring part of 'undo in insets'
122
123         * Makefile.am:
124         * undo_funcs.[Ch]: merge with undo.[Ch]
125
126         * tabular.C: small cleansing stuff
127
128 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
129
130         * paragraph_funcs.C (readParToken): report unknown insets as error
131         boxes. Use the outer paragraph as location (also for unknown
132         tokens).
133
134         * factory.C (readInset): do not abort on reading an unknown inset.
135         Eat it and return 0.
136
137 2003-10-13  Angus Leeming  <leeming@lyx.org>
138
139         * lyx_main.C (LyX): remove call to setDisplayTranslator().
140
141         * lyxrc.C: displayTranslator is now a function,
142         declared in GraphicsTypes.h.
143
144 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
145
146         * format.C: new placeholder $$a to pass the socket address.
147
148         * bufferlist.[Ch]: new function getBufferFromTmp.
149
150         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
151           files in the temporary dir.
152
153 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
154
155         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
156
157         * Makefile.am: add lyxsocket.[Ch].
158
159         * lyx_main.C (error_handler): handle SIGPIPE.
160
161 2003-10-13  André Pönitz  <poenitz@gmx.net>
162
163         * BufferView_pimpl.C:
164         * lyxtext.h:
165         * text.C:
166         * text2.C:
167         * text3.C:
168         * undo_funcs.[Ch]: use paroffset_type instead of
169           ParagraphList::iterators to prevent multiple conversion
170           (and get a more robust interface)
171
172 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
173
174         * lyxfunc.C (dispatch): RESULT -> dispatch_result
175         * lyxtext.h: ditto
176         * text3.C (dispatch): ditto
177
178 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
179
180         * LaTeX.C (handleFoundFile): move the static to smaller scope,
181         move the onlyfile, use onlyfile instead of foundfile in a couple
182         of places.
183
184         * DepTable.C (update): flush the error stream a bit more
185
186 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
187
188         * lyxserver.C (callback): adjust
189
190         * lyxfunc.C (getStatus): add a missing brace in commented code
191         (ensureBufferClean): reindent
192         (dispatch): delete version taking a string
193
194 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
195
196         * LaTeX.C (deplog): move found file handlig from here...
197         (handleFoundFile): .. to new function here.
198         (deplog): make sure to discover several files mentioned on the
199         same log line.
200
201 2003-10-10  André Pönitz  <poenitz@gmx.net>
202
203         * lyxfunc.C:
204         * lyxtext.h:
205         * tabular.C:
206         * text.C:
207         * text2.C:
208         * text3.C: fix some of the tabular crashes
209
210 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
211
212         * MenuBackend.C (binding): put debug message into Debug::KBMAP
213
214         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
215
216 2003-10-09  André Pönitz  <poenitz@gmx.net>
217
218         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
219
220         * BufferView.C:
221         * BufferView_pimpl.C:
222         * bufferview_funcs.C:
223         * lyx_cb.C:
224         * lyxcursor.C:
225         * lyxfind.C:
226         * lyxfunc.C:
227         * lyxtext.h:
228         * text.C:
229         * text2.C:
230         * text3.C:
231         * text_funcs.[Ch]:
232         * textcursor.[Ch]:
233         * undo_funcs.C: adjust
234
235 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
236
237         * text2.C (incrementItemDepth): new function, use a backtracking
238         algorithm to discover the correct item depth.
239         (resetEnumCounterIfNeeded): new function, use a backtracking
240         algorithm to discover if counter reset is needed.
241         (setCounter): use them. Simplify a bit. Add different labels for
242         different item depths for itemize.
243
244         * paragraph.C (Paragraph): remove initialization of enumdepth
245         (operator=): ditto
246
247         * paragraph.h: get rid of enumdepth, and use itemdepth both for
248         enumerate and itemize. Change the type of itemdepth to signed char.
249
250 2003-10-08  André Pönitz  <poenitz@gmx.net>
251
252         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
253           thing assignable.
254         * text.C:
255         * text2.C: adjust
256
257         * tabular.[Ch]: fix crash after 'row-insert'
258
259 2003-10-08  Angus Leeming  <leeming@lyx.org>
260
261         Fix doxygen warnings.
262
263         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
264         Remove CutAndPaste:: prefix from header file declaration.
265
266         * LColor.h (fill): remove LColor:: prefix from declaration.
267
268         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
269         use lyx::depth_type rather than Paragraph::depth_type so that
270         header file and .C file match.
271
272         * converter.h (intToFormat): remove Converters:: prefix from declaration.
273
274         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
275         * aspell.C: \file aspell_local.C -> \file aspell.C
276         * gettext.C: \file gettext.C -> \file src/gettext.C
277         * gettext.h: \file gettext.h -> \file src/gettext.h
278         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
279         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
280         * text.C: \file text.C -> \file src/text.C
281
282         * toc.C: move comment so that doxygen is not confused.
283
284 2003-10-07  Angus Leeming  <leeming@lyx.org>
285
286         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
287
288 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
289
290         * aspell.C:
291         * aspell_local.h: add forgotten std::string's.
292
293 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
294
295         * LaTeXFeatures.C:
296         * LyXAction.C:
297         * factory.C:
298         * lfuns.h:
299         * lyxfunc.C:
300         * text3.C: The Box patch. Fancybox support, minipage, parbox
301
302 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
303
304         * CutAndPaste.h:
305         * DepTable.h:
306         * FloatList.h:
307         * LaTeXFeatures.h:
308         * ParagraphParameters.h:
309         * TextCache.h:
310         * Thesaurus.h:
311         * bufferlist.h:
312         * exporter.h:
313         * importer.h:
314         * lastfiles.h:
315         * lyxfind.h:
316         * lyxfont.h:
317         * lyxlex.h:
318         * lyxtextclasslist.h:
319         * messages.h:
320         * paragraph.h:
321         * paragraph_pimpl.C:
322         * textcursor.h: add <string> and other small fixes to make Lars'
323         std::string patch compile with STLport.
324
325 2003-10-06  Angus Leeming  <leeming@lyx.org>
326
327         * LColor.h: Add missing #include <string>.
328
329 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
330
331         * All most all file in all subdirs: Make <string> be the prefered
332         way of getting to std::string, add using declarations.
333
334 2003-10-06  André Pönitz  <poenitz@gmx.net>
335
336         * metricsinfo.C: initialize LyXFont before changing attribute.
337         (fixes the 'math in \emph is upright' bug)
338
339 2003-10-06  André Pönitz  <poenitz@gmx.net>
340
341         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
342
343 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
344
345         * graph.C:
346         * paragraph_pimpl.C: Small fixes to build using STLport
347
348 2003-10-02  André Pönitz  <poenitz@gmx.net>
349
350         * lyxfunc.C:
351         * text3.C: move handling of LFUN_DEPTH *; fix #1360
352
353 2003-10-01  André Pönitz  <poenitz@gmx.net>
354
355         * factory.C: assert early
356
357 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
358
359         * lyx_main.C: remove the global debug object
360
361         * debug.h: adjust for new debugstream
362
363         * debug.C: adjust for new debugstream and keep the global debug
364         object here.
365
366 2003-09-22  Angus Leeming  <leeming@lyx.org>
367
368         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
369         of g++ which otherwise complain that the scoped_ptr destructor can't delete
370         an incomplete class LyXFont.
371
372 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
373
374         * factory.C: bug fix in branches
375
376 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
377
378         * lyxfunc.C (processKeySym): adjust
379         (dispatch): adjust
380         (dispatch): change arg name from ev to func, adjust
381         (sendDispatchMessage): ditto
382
383         * lyx_main.C (defaultKeyBindings): adjust keybindings
384         (deadKeyBindings): ditto
385
386         * kbsequence.C (addkey): return a FuncRequest
387
388         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
389
390         * kbmap.C (bind): take a FuncRequest as arg, adjust
391         (read): adjust
392         (lookup): adjust
393         (defkey): change to take a FuncRequest as arg, adjust
394         (findbinding): take a FuncRequest as arg, adjust.
395
396         * funcrequest.h (operator=): added
397
398         * funcrequest.C (FuncRequest): default kb_action changed from
399         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
400
401         * buffer.C (dispatch): simplify
402         (dispatch): adjust to take a FuncRequest as arg, adjust
403
404         * boost.C (assertion_failed): change assertion message slightly
405
406         * ToolbarBackend.C (read): simplify
407
408         * MenuBackend.C (binding): adjust call to findbinding, add a
409         message if no binding is found.
410         (read): simplify
411         (expandToc): correct by adding a empty FuncRequest
412
413         * LyXAction.C: include <boost/assert.hpp>
414         (isPseudoAction): delete function
415         (LookupFunc): change name to...
416         (lookupFunc): this. change return type to FuncRequest.
417         (getActionName): take kb_action as arg, simplify
418         (funcHasFlag): add an assert, simplify.
419
420 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
421
422         * toc.C (action): return a FuncRequest, simplify
423
424         * lyxfunc.C (processKeySym): adjust
425         (getStatus): delete version that takes an int.
426         (getStatus): adjust
427         (dispatch): delete version that takes action as int
428         (dispatch): adjust
429         (sendDispatchMessage): simplify and adjust
430
431         * funcrequest.C (getArg): take unsigned int as arg
432
433         * ToolbarBackend.C (read): adjust
434         (add): delete version that takes func as a string.
435         (getIton): take a FuncRequest as arg
436
437         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
438         action.
439
440         * MenuBackend.C (MenuItem): add a new construct that only takes a
441         Kind, simplify the constructor use for submenus.
442         (add): adjust
443         (expandLastfiles): adjust
444         (expandDocuments): adjust
445         (expandFormats): adjust
446         (expandFloatListInsert): adjust
447         (expandFloatInsert): adjust
448         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
449
450         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
451         Remove class variables lyx_pseudo_map and lyx_arg_map
452
453         * LyXAction.C (searchActionArg): delete function
454         (getPseudoAction): delete function
455         (retrieveActionArg): delete function
456         (LookupFunc): make it return kb_action, simplify.
457         (getActionName): simplify
458
459         * factory.C (createInset): fix new bug
460
461 2003-09-19  Angus Leeming  <leeming@lyx.org>
462
463         * CutAndPaste.C (pasteSelection): remove fudge used to set the
464         masterFilename_ parameter in the include inset.
465
466         * factory.C (createInset): changes due to the changes to InsetInclude.
467
468 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
469
470         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
471
472 2003-09-18  Angus Leeming  <leeming@lyx.org>
473
474         * buffer.C:
475         * BufferView.C: pass the buffer when calling Inset::getLabelList,
476         Inset::fillWithBibKeys.
477         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
478
479 2003-09-18  Angus Leeming  <leeming@lyx.org>
480
481         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
482         variables.
483         (ctor): pass and store a 'Buffer const &'
484         (buffer): new member function.
485
486         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
487         '*this' to the LaTeXFeatures ctor.
488
489 2003-09-18  Angus Leeming  <leeming@lyx.org>
490
491         * LColor.h:
492         * lyxfont.C:
493         * lyxfont.h:
494         * lyxtext.h:
495         * text.C: rename EnumLColor as LColor_color.
496
497 2003-09-18  Angus Leeming  <leeming@lyx.org>
498
499         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
500         remove #include "insets/insetbase.h" from cursor.h.
501
502 2003-09-18  Angus Leeming  <leeming@lyx.org>
503
504         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
505         InsetOld_code to remove #include "inset.h".
506
507         * iterators.C: add #include "insets/inset.h"
508
509 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
510
511         * BufferView.C: remove more locking stuff that apparently doesn't
512         do anything sensible.
513
514 2003-09-16  André Pönitz  <poenitz@gmx.net>
515
516         * paragraph.[Ch]:
517         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
518           performance boost.
519
520 2003-09-16  Angus Leeming  <leeming@lyx.org>
521
522         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
523
524         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
525         arg/return type.
526
527         * paragraph.h: remove #include "lyxfont.h". Forward declare
528         LyXFont_size.
529
530 2003-09-16  Angus Leeming  <leeming@lyx.org>
531
532         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
533         of support/textutils.h.
534         (isWord): move the contents of support/textutils.h's IsWordChar here.
535
536         * buffer.C:
537         * lyxfind.C:
538         * rowpainter.C:
539         * text.C:
540         * text2.C: add #include "paragraph.h".
541
542         * rowpainter.C:
543         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
544
545 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
546
547         * main.C:
548         * lyx_main.C:
549         * lyx_cb.C:
550         * buffer.C:
551         * LaTeX.C: use namespace alias for lyx::support::os
552
553 2003-09-16  Angus Leeming  <leeming@lyx.org>
554
555         * bufferparams.C:
556         * bufferview_funcs.C:
557         * factory.C:
558         * lyxfunc.C:
559         * paragraph_pimpl.C:
560         * rowpainter.C:
561         * text.C: add #include "LColor.h".
562
563 2003-09-16  Angus Leeming  <leeming@lyx.org>
564
565         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
566         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
567         return LyXFont &.
568         Store the FontBits::color variable as an int rather than as an
569         LColor::colorso that we can move LColor.h out of the lyxfont.h header
570         file.
571
572         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
573         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
574         string calls together.
575
576         * lyxrc.C: add #include "LColor.h".
577
578 2003-09-15  Angus Leeming  <leeming@lyx.org>
579
580         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
581         a cow_ptr.
582
583 2003-09-15  Angus Leeming  <leeming@lyx.org>
584
585         * LColor.h: add an EnumLColor wrapper for LColor::color.
586
587         * lyxfont.[Ch] (color, setColor, realColor):
588         * lyxtext.h, text.C (backgroundColor):
589         pass EnumLColor args to/from the functions, rather than LColor::color
590         ones.
591
592         * lyxfont.h:
593         * lyxtext.h: forward declare EnumLColor.
594
595         * lyx_main.C: add #include "LColor.h".
596
597 2003-09-15  Angus Leeming  <leeming@lyx.org>
598
599         * .cvsignore: add lyx-gtk.
600
601 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
602
603         * Chktex.C
604         * LaTeX.C
605         * LaTeXFeatures.C
606         * ParagraphParameters.C
607         * Spacing.C
608         * buffer.C
609         * bufferparams.C
610         * bufferview_funcs.C
611         * chset.C
612         * counters.C
613         * funcrequest.C
614         * lyxfont.C
615         * lyxgluelength.C
616         * lyxlength.C
617         * paragraph.C
618         * paragraph_funcs.C
619         * text3.C
620         * vc-backend.C: remove usage of STRCONV
621
622 2003-09-15  Angus Leeming  <leeming@lyx.org>
623
624         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
625         explicitly define the color passed to the painter.
626
627 2003-09-15  Angus Leeming  <leeming@lyx.org>
628
629         * bufferparams.C (BufferParams): reorder member initializers to avoid
630         compiler warning.
631
632 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
633
634         * CutAndPaste.C (pasteSelection): remove an outdated #warning
635         * text.C (updateRowPositions): remove an unusual nop
636
637 2003-09-12  André Pönitz  <poenitz@gmx.net>
638
639         * BufferView_pimpl.C:
640         * Bullet.C:
641         * layout.h:
642         * lyxfunc.C:
643         * lyxlayout.[Ch]:
644         * lyxtextclass.C:
645         * rowpainter.C:
646         * text.C:
647         * text2.C:
648         * Counters.[Ch]: finish the 'automatic counters' job
649
650 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
651
652         * aspell.C: include <boost/assert.cpp> (compile fix)
653
654 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
655
656         * boost.C (assertion_failed): use lyx::support::abort instead of
657         assert.
658
659 2003-09-10  Angus Leeming  <leeming@lyx.org>
660
661         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
662         with their _fwd progeny.
663
664 2003-09-09  Angus Leeming  <leeming@lyx.org>
665
666         134 files throughtout the source tree: replace 'using namespace abc;'
667         directives with the appropriate 'using abc::xyz;' declarations.
668
669 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
670
671         * boost.C (emergencyCleanup): moved here from LAssert.c
672         (assertion_failed): new function, called by BOOST_ASSERT
673
674         * several files: change Assert to BOOST_ASSERT
675
676 2003-09-09  Angus Leeming  <leeming@lyx.org>
677
678         * buffer.[Ch]: Add an Impl class and move Buffer's member
679         variables into it. As a result move several header files out of
680         buffer.h.
681
682         Add header files to lots of .C files all over the tree as a result.
683
684 2003-09-09  Angus Leeming  <leeming@lyx.org>
685
686         * buffer.[Ch]: make Buffer's member variables private. Add
687         accessor functions.
688
689         Lots of changes all over the tree as a result.
690
691 2003-09-08  Angus Leeming  <leeming@lyx.org>
692
693         * graph.C: #include <config.h>.
694
695 2003-09-08  Angus Leeming  <leeming@lyx.org>
696
697         * BranchList.C:
698         * BufferView.C:
699         * BufferView_pimpl.C:
700         * CutAndPaste.C:
701         * DepTable.C:
702         * LaTeX.C:
703         * LaTeXFeatures.C:
704         * LyXAction.C:
705         * MenuBackend.C:
706         * TextCache.C:
707         * aspell.C:
708         * buffer.C:
709         * bufferlist.C:
710         * changes.C:
711         * chset.C:
712         * converter.C:
713         * counters.C:
714         * debug.C:
715         * graph.C:
716         * ispell.C:
717         * lyx_cb.C:
718         * lyxfind.C:
719         * lyxfunc.C:
720         * lyxlex_pimpl.C:
721         * lyxrc.C:
722         * lyxrow.C:
723         * paragraph.C:
724         * rowpainter.C:
725         * texrow.C:
726         * text.C:
727         * text2.C:
728         * toc.C: remove redundant using directives.
729
730 2003-09-07  Angus Leeming  <leeming@lyx.org>
731
732         * LaTeXFeatures.h: remove #include "support/types.h".
733         * ToolbarBackend.h: remove #include <algorithm>.
734         * changes.h: remove #include <ctime>.
735         * debug.h: remove #include <iosfwd>.
736         * graph.h: remove #include "support/std_string.h".
737         * lyx_main.h: remove #include <csignal>.
738         * lyxlex_pimpl.h: remove #include <fstream>.
739         * sgml.h: remove #include <algorithm>, <utility>.
740         * toc.h: remove #include "support/std_ostream.h".
741         Add #include <iosfwd>.
742
743 2003-09-07  Angus Leeming  <leeming@lyx.org>
744
745         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
746
747         * converter.h: forward declare LatexRunParams.
748         * encoding.h: remove #include "lyxrc.h".
749         * lyxtext.h: remove #include "LColor.h".
750         * lyxtextclass.h: remove #include "support/types.h".
751         * trans.h: remove #include "tex-accent.h".
752         * trans_mgr.h: remove #include "tex-accent.h".
753         * insets/inset.h: remove #include "support/types.h", <vector>.
754         * insets/insetcollapsable.h: remove #include "LColor.h".
755         * insets/insetinclude.h: remove #include "dimension.h".
756         * insets/insetlatexaccent.h: remove #include "dimension.h".
757         * insets/insetoptarg.h:: remove #include "insettext.h".
758         * insets/insettext.h: remove #include "dimension.h",
759         <boost/shared_ptr.hpp>
760
761         * insets/renderers.h: add #include "dimension.h".
762         * insets/updatableinset.h: add #include "support/types.h".
763
764         * many .C files: Associated changes.
765
766 2003-09-06  Angus Leeming  <leeming@lyx.org>
767
768         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
769         one, inside testInvariant.
770
771         * PrinterParams.C: new file.
772         * PrinterParams.[Ch]: move the function bodies out of line.
773
774 2003-09-06  Angus Leeming  <leeming@lyx.org>
775
776         * ParagraphParameters.h: forward declare ParameterStruct rather than
777         including its header file.
778         (depth): moved out-of-line.
779
780 2003-09-06  Angus Leeming  <leeming@lyx.org>
781
782         * BufferView_pimpl.h:
783         * kbmap.h:
784         * kbsequence.h:
785         * lyxfunc.h: forward declare LyXKeySym rather than
786         #include "frontends/LyXKeySym.h".
787
788         * BufferView_pimpl.C:
789         * kbmap.C:
790         * kbsequence.C:
791         * lyxfunc.C: associated changes.
792
793 2003-09-06  Angus Leeming  <leeming@lyx.org>
794
795         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
796         As a result, can remove the #include "insets/inset.h" from BufferView.h
797
798 2003-09-06  Angus Leeming  <leeming@lyx.org>
799
800         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
801         As a result, can remove the #include "insets/inset.h" from BufferView.h
802
803 2003-09-06  Angus Leeming  <leeming@lyx.org>
804
805         * buffer_funcs.C:
806         * buffer.h:
807         * bufferlist.C:
808         * BufferView.C:
809         * bufferview_funcs.C:
810         * BufferView_pimpl.C:
811         * CutAndPaste.C:
812         * lyx_cb.C:
813         * lyxfunc.C:
814         * paragraph.h:
815         * ParagraphParameters.C:
816         * tabular.C:
817         * text3.C:
818         * toc.C:
819         * undo_funcs.C:
820         * frontends/controllers/ControlDocument.C:
821         * insets/insetcaption.C: rearrange the #includes into some sort of
822         coherent order.
823
824         * buffer.h: remove #includes ErrorList.h, undo.h
825
826 2003-09-06  Angus Leeming  <leeming@lyx.org>
827
828         * support/types.h: add a 'depth_type' typedef, used to store the
829         nesting depth of a paragraph.
830
831         * paragraph.h:
832         * ParameterStruct.h: use this lyx::depth_type typedef rather than
833         defining explicitly.
834
835         * buffer.h:
836         * paragraph_funcs.h:
837         * ParagraphParameters.h:
838         * sgml.h: use lyx::depth_type rather than Paragraph or
839         ParameterStruct's depth_type.
840
841         * buffer.h
842         * paragraph_funcs.h: no need to #include paragraph.h anymore.
843
844         * BufferView.C:
845         * BufferView_pimpl.C:
846         * CutAndPaste.C:
847         * ParagraphParameters.C:
848         * buffer_funcs.C:
849         * bufferlist.C:
850         * bufferview_funcs.C:
851         * lyx_cb.C:
852         * lyxfunc.C:
853         * tabular.C:
854         * text3.C:
855         * toc.C:
856         * undo_funcs.C:
857         * frontends/LyXView.C:
858         * frontends/controllers/ControlDocument.C:
859         * frontends/controllers/ControlErrorList.C:
860         * insets/insetbibitem.C:
861         * insets/insetbranch.C:
862         * insets/insetcaption.C:
863         * insets/insetcollapsable.C:
864         * insets/insetenv.C:
865         * insets/insetert.C:
866         * insets/insetfloat.C:
867         * insets/insetfoot.C:
868         * insets/insetfootlike.C:
869         * insets/insetnewline.C:
870         * insets/insetquotes.C:
871         * insets/insettabular.C:
872         * insets/insettext.C:
873         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
874
875         * frontends/controllers/ControlChanges.C: #include "changes.h".
876
877 2003-09-06  Angus Leeming  <leeming@lyx.org>
878
879         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
880         than #including paragraph.h.
881
882         * ParagraphList.h:
883         * RowList.h: deleted. Superfluous.
884
885         * CutAndPaste.h:
886         * iterators.h:
887         * lyxcursor.h:
888         * lyxtext.h:
889         * text_funcs.h:
890         * undo.h:
891         * undo_funcs.h:
892         * insets/inset.h:
893         * insets/insettext.h: use ParagraphList_fwd.h rather than
894         ParagraphList.h.
895
896         * paragraph.h: don't forward declare ParagraphList.
897
898         * buffer.h:
899         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
900         rather than ParagraphList.h. paragraph.h is still needed for the
901         Paragraph::depth_type parameters.
902
903         * textcursor.h: enable it to compile stand-alone in light of the
904         above changes.
905
906         * bufferview_funcs.C:
907         * iterators.C:
908         * lyxfunc.C:
909         * lyxrow_funcs.C:
910         * paragraph.C:
911         * rowpainter.C:
912         * text.C:
913         * text2.C:
914         * text3.C:
915         * text_funcs.C:
916         * textcursor.C:
917         * undo.C:
918         * frontends/controllers/ControlParagraph.C:
919         * frontends/controllers/ControlTabular.C:
920         * insets/insetmarginal.C:
921         * insets/insetminipage.C:
922         * insets/insetnote.C:
923         * insets/insetoptarg.C: add header files needed to compile again.
924
925 2003-09-06  Angus Leeming  <leeming@lyx.org>
926
927         * RowList_fwd.h: new file, forward-declaring Row rather than
928         #including lyxrow.h.
929
930         * lyxrow_funcs.h:
931         * lyxtext.h:
932         * paragraph.h:
933         * insets/insettext.h: use it instead of RowList.h
934
935         * bufferview_funcs.C:
936         * lyxfunc.C:
937         * lyxrow_funcs.C:
938         * paragraph.C:
939         * rowpainter.C:
940         * text.C:
941         * text2.C:
942         * text3.C: #include "RowList.h".
943
944 2003-09-05  Angus Leeming  <leeming@lyx.org>
945
946         * factory.C (createInset):
947         * vspace.C (c-tor): replace sscanf call with an istringstream.
948         * ispell.C: re-add missing HP/UX headers.
949         * lyxserver.C: re-add missing  os2 headers.
950
951 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
952
953         * BranchList.C:
954         * graph.C:
955         * ispell.C:
956         * lastfiles.C:
957         * lyx_cb.C:
958         * lyxserver.C:
959         * texrow.C:
960         * text3.C: re-add missing system headers, needed for 2.95.2.
961
962 2003-09-05  Angus Leeming  <leeming@lyx.org>
963
964         Changes most place everywhere due to the removal of using directives
965         from support/std_sstream.h.
966
967 2003-09-05  Angus Leeming  <leeming@lyx.org>
968
969         Replace LString.h with support/std_string.h,
970         Lsstream.h with support/std_sstream.h,
971         support/LIstream.h with support/std_istream.h,
972         support/LOstream.h with support/std_ostream.h.
973
974         Changes resulting throughout the tree.
975
976 2003-09-05  Angus Leeming  <leeming@lyx.org>
977
978         * sgml.h: ensure that the header file can be compiled stand-alone.
979         * *.C: strip out redundant #includes. (320 in total.)
980
981 2003-09-04  Angus Leeming  <leeming@lyx.org>
982
983         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
984         here (from getPackages).
985
986         * debug.[Ch]: add a new EXTERNAL tag.
987
988 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
989
990         * text2.C (cursorEnd): simplify
991         (setCursor): adjust
992         (getColumnNearX): adjust
993
994         * text.C (computeBidiTables): adjust
995         (fill): adjust
996
997         * rowpainter.C (paintChars): adjust
998         (paintSelection): adjust
999         (paintChangeBar): adjust
1000         (paintText): adjust
1001
1002         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1003         lastPos instead.
1004         (numberOfSeparators): adjust
1005
1006 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1007
1008         * LyXAction.C:
1009         * box.[Ch]:
1010         * lfuns.h:
1011         * lyxfunc.C:
1012         * text3.C: Restricts the mouse click functionality
1013         of insets like bibtex, include, toc and floatlist to the visible
1014         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1015         up the dialogs. Cursor has to be in front of the inset (i.e.
1016         start of row) for this to function.
1017
1018 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1019
1020         * bufferview_funcs.C (currentState): output row information
1021
1022 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1023
1024         * bufferview_funcs.C (currentState): output paragraph position
1025
1026 2003-09-04  Angus Leeming  <leeming@lyx.org>
1027
1028         * FloatList.h: move out #include "Floating.h".
1029         * LaTeX.h: move out #include "DepTable.h".
1030         * LyXAction.h: move out #include "funcrequest.h".
1031         * buffer.h: move out #include "author.h", "iterators.h".
1032         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1033         * lyx_main.h: move out #include "errorlist.h".
1034         * lyxfunc.h: move out #include "FuncStatus.h".
1035         * lyxtext: move out #include "lyxcursor.h".
1036         * paragraph_pimpl.h: move out #include "counters.h".
1037
1038 2003-09-03  Angus Leeming  <leeming@lyx.org>
1039
1040         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1041         preamble_snippets list, enabling us to add snippets to the preamble
1042         only if the snippet was not there already.
1043
1044 2003-09-04  Angus Leeming  <leeming@lyx.org>
1045
1046         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1047
1048 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1049
1050         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1051         update
1052
1053 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1054
1055         * BranchList.C: point fix, earlier forgotten
1056
1057 2003-09-02  Angus Leeming  <leeming@lyx.org>
1058
1059         * box.C (contains): renamed from 'contained' after a fantastic
1060         amount of hot air.
1061
1062 2003-09-02  John Levon  <levon@movementarian.org>
1063
1064         * BufferView.C:
1065         * lyxcursor.h:
1066         * lyxcursor.C:
1067         * lyxfunc.C:
1068         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1069
1070 2003-09-02  John Levon  <levon@movementarian.org>
1071
1072         * text2.C: simplification of cursorEnd(), including partial
1073         fix for bug 1376
1074
1075 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1076
1077         * buffer.C (readFile): add a space
1078
1079 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1080
1081         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1082
1083 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1084
1085         * buffer.C (readFile): new function, take a filename and a
1086         ParagraphList::iterator
1087         (readFile): adjust
1088         (readFile): adjust, make it private. don't use setStream, make
1089         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1090         always contain the filename.
1091
1092         * BufferView.C (insertLyXFile): simplify and make it work for
1093         gzipped files.
1094
1095 2003-08-30  John Levon  <levon@movementarian.org>
1096
1097         * Makefile.am: fix dist (from Kayvan)
1098
1099 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1100
1101         * most files: change to use const Buffer refs
1102
1103 2003-08-27  André Pönitz  <poenitz@gmx.net>
1104
1105         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1106         on top of ownerPar().
1107
1108 2003-08-27  John Levon  <levon@movementarian.org>
1109
1110         * funcrequest.C: properly initialise POD members
1111
1112 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1113
1114         * lyxtext.h (top_y): move top_y from here
1115         * text.C:
1116         * text2.C:
1117         * text3.C:
1118         * BufferView.[Ch]:
1119         * BufferView_pimpl.[Ch]: to here
1120         * frontends/screen.C:
1121         * insets/insettabular.C:
1122         * insets/insettext.C: adjust
1123         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1124
1125 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1126
1127         * BufferView.[Ch]:
1128         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1129
1130 2003-08-26  André Pönitz  <poenitz@gmx.net>
1131
1132         * paragraph_func.[Ch] (outerPar): new function
1133
1134         * paragraph.C:
1135         * paragraph_funcs.C:
1136         * paragraph_funcs.h:
1137         * paragraph_pimpl.C:
1138         * text2.C: remove Inset::par_owner
1139
1140 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1141
1142         * lyxrow_funcs.C:
1143         * lyxtext.h:
1144         * text.C:
1145         * text2.C: eliminates the needFullRow/display() stuff
1146         altogether, putting the logic in metrics/draw in the insets.
1147
1148 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1149
1150         * text2.C (redoParagraphInternal, redoParagraphs):
1151         * text.C (redoParagraph): add a call to updateRowPositions at the
1152         end of each 'metrics-like' call. Remove all others.
1153         (getRow): remove the 'y-computing' version.
1154         (getRowNearY): do not compute nor return the real y. Solve the
1155         'y < 0' problem and simplify.
1156
1157 2003-08-22  Angus Leeming  <leeming@lyx.org>
1158
1159         * *.[Ch]: clean-up of licence and author blurbs.
1160         Also move config.h out of a few .h files and into a few .C files.
1161
1162 2003-08-22  André Pönitz  <poenitz@gmx.net>
1163
1164         * lyxrow.[Ch]: add x_ and *fill_ members
1165
1166         * lyxtext.h:
1167         * text.C:
1168         * rowpainter.C:
1169         * text2.C: adjust/remove prepareToPrint() calls
1170
1171 2003-08-22  André Pönitz  <poenitz@gmx.net>
1172
1173         * lyxrow.[Ch]: add  end_ member
1174
1175         * lyxrow_funcs.C: use LyXRow::end_
1176
1177         * lyxtext.h (singleWidth): add LyXFont parameter
1178
1179         * rowpainter.C:
1180         * text2.C: adjust LyXText::singleWidth() calls
1181
1182         * text.C (redoParagraph): simplify row breaking logic
1183
1184
1185 2003-08-19  André Pönitz  <poenitz@gmx.net>
1186
1187         * funcrequest.C: initialize button_ member
1188
1189         * text3.C:
1190         * rowpainter.[Ch]: interface consolidation
1191
1192 2003-08-18  André Pönitz  <poenitz@gmx.net>
1193
1194         * BufferView.C:
1195         * BufferView_pimpl.C:
1196         * lyxfind.C:
1197         * paragraph_funcs.C:
1198         * rowpainter.C:
1199         * text3.C: remove LyXScreen::draw() and fitCursor calls
1200
1201         * BranchList.h: remove spurious semicolons
1202
1203         * MenuBackend.C: fix branchlist related crash
1204
1205 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1206
1207         * BranchList.[Ch]:
1208         * InsetList.[Ch]:
1209         * LColor.[Ch]:
1210         * LyXAction.C:
1211         * Makefile.am:
1212         * MenuBackend.[Ch]:
1213         * bufferparams.[Ch]:
1214         * factory.C:
1215         * lfuns.h:
1216         * lyxfunc.C:
1217         * text3.C: implements the 'branch inset'
1218         idea. This allows the output of various versions of a document
1219         from a single source version, selectively outputing or suppressing
1220         output of parts of the text.
1221         This implementation contains a 'branch list editor' in a separate
1222         tab of the document settings dialog. Branches are user definable
1223         and have a "display colour" to distinguish them on-screen.
1224
1225         ColorHandler was somewhat cleaned up.
1226         (1) make possible a dynamically growing LColor list by allowing
1227         the graphic context cache to grow along (vector);
1228         (2) eliminate an IMHO unnecessary step in colour allocation.
1229
1230 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1231
1232         * BufferView_pimpl.C: compile fix
1233
1234 2003-08-15  André Pönitz  <poenitz@gmx.net>
1235
1236         * rowpainter.C: remove extra metrics calls
1237
1238         * lyxtext.h: merge the two constructors into a single one,
1239           pass reference to owner's par list
1240
1241         * BufferView_pimpl.C:
1242         * text.C:
1243         * text2.C: adjust
1244
1245 2003-08-15  André Pönitz  <poenitz@gmx.net>
1246
1247         * lyxrow_funcs.[Ch]:
1248         * lyxtext.h:
1249         * paragraph.h:
1250         * paragraph_funcs.C:
1251         * rowpainter.C:
1252         * text.C:
1253         * text2.C:
1254         * text3.C:
1255         * text_funcs.C: split LyXText::rowlist_ into individual
1256         Paragraph::rows_ chunks
1257
1258         * BufferView.[Ch]:
1259         * BufferView_pimpl.[Ch]:
1260         * lyxfind.C:
1261         * lyxtext.h:
1262         * text3.C: remove toggleSelection()
1263
1264 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1265
1266         * bufferlist.C: beautify two alerts (shorter text of buttons)
1267         * buffer.C: Remove redundant ' ' from message
1268         * tabular.h:
1269         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1270         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1271         rename VALIGN_CENTER to VALIGN_MIDDLE
1272
1273 2003-08-11  André Pönitz  <poenitz@gmx.net>
1274
1275         * lyxtext.h (getPar):
1276         * text.C: new function
1277
1278 2003-08-11  André Pönitz  <poenitz@gmx.net>
1279
1280         * Makefile.am:
1281         * tracer.[Ch]: remove unneeded files
1282
1283         * InsetList.[Ch]: remove resizeInsetsLyXText()
1284
1285         * lyxtext.h:
1286         * text.C:
1287         * text2.C:
1288         * text3.C: merge insertParagraphs() and appendParagraph()
1289         remove breakAgain(), update()
1290
1291         * BufferView_pimpl.[Ch]:
1292         * bufferview_funcs.[Ch]:
1293         * lyxfunc.C:
1294         * paragraph.[Ch]:
1295         * rowpainter.C:
1296         * tabular.C: adjust after text & InsetList changes.
1297
1298 2003-08-08  André Pönitz  <poenitz@gmx.net>
1299
1300         * text.C (insertChar, backspace): replace rowlist fiddling
1301         with rebreak of full par
1302
1303         * lyxtext.h:
1304         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1305         checkParagraph, updateInset): removed
1306
1307 2003-08-07  André Pönitz  <poenitz@gmx.net>
1308
1309         * paragraph.C:
1310         * text3.C: merge some LFUN handlers, remove dead code
1311
1312 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1313
1314         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1315
1316 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1317
1318         * text2.C (DEPM): fix part of bug 1255 and 1256
1319
1320 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1321
1322         * BufferView_pimpl.C (workAreaDispatch): change to use
1323         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1324         that are no mouse related.
1325
1326 2003-08-05  André Pönitz  <poenitz@gmx.net>
1327
1328         * BufferView.[Ch]:
1329         * BufferView_pimpl.[Ch]:
1330         * bufferview_funcs.C:
1331         * text2.C:
1332         * text3.C: rip out "deep update"
1333
1334         * textcursor.[Ch] (last_sel_cursor): remove unused member
1335
1336 2003-08-04  André Pönitz  <poenitz@gmx.net>
1337
1338         * BufferView.[Ch]:
1339         * BufferView_pimpl.[Ch]:
1340         * ParagraphParameters.C:
1341         * bufferview_funcs.C:
1342         * lyx_cb.C:
1343         * lyxfind.C:
1344         * lyxfunc.C:
1345         * text.C:
1346         * text2.C:
1347         * text3.C: replace "complicated" BufferView::update(...) calls with
1348         simpler ones.
1349
1350         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1351
1352 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1353
1354         * Makefile.am (lyx_SOURCES): add paper.h
1355
1356 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1357
1358         * Makefile.am: move things around so that both lyx-qt and
1359         lyx-xforms can be built (according to --with-frontend). Then lyx
1360         is a symbolic link to lyx-[firstfrontend]
1361
1362 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1363
1364         * Always use std::endl with lyxerr
1365
1366 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1367
1368         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1369
1370 2003-08-01  André Pönitz  <poenitz@gmx.net>
1371
1372         * BufferView.[Ch]:
1373         * BufferView_pimpl.[Ch]:
1374         * lyxfunc.C:
1375         * text3.C: merge BufferView::repaint() and BufferView::update()
1376
1377 2003-08-01  José Matos  <jamatos@lyx.org>
1378
1379         * buffer.[Ch]: file_format is no longer a buffer data element.
1380
1381 2003-08-01  André Pönitz  <poenitz@gmx.net>
1382
1383         * BufferView.C:
1384         * lyxtext.h:
1385         * text.C:
1386         * text2.C: make redoParagraph more independent of current cursor
1387
1388         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1389         * text.C:
1390         * text2.C: remove unneeded members
1391
1392 2003-07-30  André Pönitz  <poenitz@gmx.net>
1393
1394         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1395
1396         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1397           create a single function...
1398
1399         * paragraph_funcs.C (moveItem): ... here.
1400
1401         * text.C:
1402           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1403
1404 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1405
1406         * LColor.[Ch]: Add comment and greyedout logical colors.
1407
1408 2003-07-30  André Pönitz  <poenitz@gmx.net>
1409
1410         * tabular.C: don't use Assert too heavily. This crashes where it
1411           shouldn't
1412
1413 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1414
1415         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1416         is disabled (bug 1232)
1417
1418 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1419
1420         * factory.C: limited 'arg' scope
1421
1422 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1423
1424         * factory.C: fixed Note submenu issues
1425
1426 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1427
1428         * factory.C: submenu for Note/Comment/Greyedout
1429
1430 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1431
1432         * lyx_main.C (LyX):
1433         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1434
1435 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1436
1437         * LaTeXFeatures.C:
1438         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1439         greyedout. Patch provided by Jürgen Spitzmüller.
1440
1441 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1442
1443         * kbmap.C (read): fix error message when reading bind files
1444
1445 2003-07-29  Angus Leeming  <leeming@lyx.org>
1446
1447         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1448         certainly does not do what it purports to do. I am doing it, and
1449         us, a favour by killing it.
1450
1451 2003-07-28  José Matos  <jamatos@lyx.org>
1452
1453         * buffer.C (readBody, do_writeFile):
1454         * paragraph.C(readParagraph): \end_document replaces \the_end.
1455
1456 2003-07-29  André Pönitz  <poenitz@gmx.net>
1457
1458         * BufferView.[Ch]:
1459         * BufferView_pimpl.[Ch]:
1460         * lyxfunc.C:
1461         * text2.C:
1462         * text3.C:
1463         * textcursor.[Ch]: remove toggleToggle & Co
1464
1465 2003-07-28  José Matos  <jamatos@fep.up.pt>
1466
1467         * buffer.C (readParagraph):
1468         * params_func (readParToken, readParagraph):
1469         * paragraph.C (write): \layout -> \begin_layout.
1470
1471 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1472
1473         * lyxlex_pimpl.C (setFile): clean up slightly.
1474
1475         * bufferparams.h: add compressed var
1476
1477         * buffer_funcs.C (readFile): adjust for LyXLex change
1478         (newFile): ditto + simplify
1479
1480         * buffer.C (writeFile): handle writing of compressed files
1481
1482         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1483         Check if the file is compressed and set a bufferparm if so.
1484
1485         * Makefile.am (lyx_LDADD): remove explicit -lz
1486
1487 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1488
1489         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1490         makeDocBookFile): put the real LyX version in the first line of
1491         the file
1492
1493         * version.h:
1494         * version.C.in: remove lyx_docversion
1495
1496         * tabular.C (write_attribute): add a template-based version to
1497         write enums properly
1498
1499 2003-07-28  André Pönitz  <poenitz@gmx.net>
1500
1501         * lyxtext.h:
1502         * text.C:
1503         * text2.C:
1504         * text3.C: use doubles again for x-coordinates. They are needed.
1505
1506 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1507
1508         * messages.C (getLocaleDir): use lyx_localedir()
1509
1510         * lyxlex_pimpl.C (setFile): compress stuff
1511
1512         * buffer.C (writeFile): add some compression stuff
1513         (do_writeFile): new func, dont call expliti close... will this
1514         breake anything?
1515
1516         * Makefile.am (lyx_LDADD): add -lz
1517
1518 2003-07-28  José Matos  <jamatos@fep.up.pt>
1519
1520         * buffer.C: increment file format.
1521         * paragraph_funcs (readParagraph, readParToken):
1522         * paragraph.C (readParagraph): add \end_layout.
1523
1524 2003-07-27  Angus Leeming  <leeming@lyx.org>
1525
1526         * Makefile.am: remove special casing for configure-time setting of
1527         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1528
1529         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1530         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1531
1532 2003-07-26  André Pönitz  <poenitz@gmx.net>
1533
1534         * paragraph_func.[Ch]:
1535         * paragraph.C (realizeFont): inline it whereever it is used
1536
1537         * rowpainter.C:
1538         * text.C:
1539         * text2.C:
1540         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1541
1542
1543 2003-07-26  André Pönitz  <poenitz@gmx.net>
1544
1545         *       lyxtext.h:
1546         * text.C:
1547         * text2.C: get rid of LyXText::need_break_row
1548
1549 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1550
1551         * toc.[Ch]: put namespace toc inside namespace lyx
1552
1553         * MenuBackend.C (expandToc2): adjust for lyx::toc
1554         (expandToc): ditto
1555
1556         * lyxfunc.C (dispatch): adjust for lyx::find
1557
1558         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1559         lyx::find instead. Reorganize a bit.
1560         (LyXReplace): rename to replace
1561         (LyXFind): rename to find
1562
1563         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1564         (dispatch): ditto
1565
1566 2003-07-26  André Pönitz  <poenitz@gmx.net>
1567
1568         * text.C (setHeightOfRow): restrict scope of temporary variable
1569
1570         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1571           code (never has been used?)
1572
1573 2003-07-27  Asger Alstrup  <alstrup@local>
1574
1575         * text.C (fill): Optimise algorithm to exploit that we can reuse
1576         the LyXFont for many characters.
1577         (setHeightOfRow): Same thing.
1578         (rowBreakPoint): Same thing.
1579
1580 2003-07-26  Asger Alstrup  <alstrup@local>
1581
1582         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1583
1584         * text.C (singleWidth): Spurious font copying in hot-spot
1585         singleWidth avoided. Reorder tests for arabic for efficiency.
1586
1587         * text.C (fill): handle empty paragraphs better.
1588
1589 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1590
1591         * ispell.C:
1592         * encoding.h: add includes
1593
1594         * lyxrc.C: remove reading of bind files
1595
1596         * lyx_main.C (init): setup bindings and menus only if we have a
1597         gui.
1598
1599         * kbmap.C (read): new method. Do the actual reading of bind
1600         files.
1601
1602         * converter.C (dvipdfm_options):
1603         * bufferparams.C:
1604         * lyxrc.C (read):
1605         (output): adapt PAPER_* enums.
1606
1607         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1608
1609         * bufferparams.h: remove paper-related enums from there
1610
1611         * paper.h: New file. A trivial header file to hold paper-related
1612         enums. It should later expand to contain many paper-related
1613         horrors access.
1614
1615         * lyxrc.C: declare extern displayTranslator
1616
1617 2003-07-27  José Matos  <jamatos@fep.up.pt>
1618
1619         * tabular.[Ch] (linuxdoc): add support for tables and figures
1620         (linuxdoc).
1621
1622 2003-07-27  José Matos  <jamatos@fep.up.pt>
1623
1624         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1625         consistency in both functions.
1626         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1627
1628 2003-07-26  Asger Alstrup  <alstrup@local>
1629
1630         * rowpainter.C (paintRows): Change algorithm to work directly on
1631         the insets rather than asking every character in the document
1632         whether its an inset.
1633
1634 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1635
1636         * buffer.C (openFileWrite): factorize some code
1637
1638 2003-07-26  Angus Leeming  <leeming@lyx.org>
1639
1640         * lyx_cb.C:
1641         * lyx_main.[Ch]: replace occurances of system_tempdir with
1642         os::getTmpDir().
1643
1644 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1645
1646         * rename Inset to InsetOld
1647
1648 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1649
1650         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1651         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1652         which I think is a bit clearer. EDIT is gone, since it was
1653         premature optimisation, and broken for mathed anyway.
1654         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1655         with cursor positioning in insets as well (math insets still do not
1656         work, but that's a different story anyway.) It mysteriously
1657         crashes sometimes with undo in the first paragraph, but I'm fairly
1658         confident that this is a compiler bug.
1659
1660 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1661
1662         * paragraph.C (Paragraph): adjust for new clone return type
1663         (operator==): ditto
1664         (copyIntoMinibuffer): ditto
1665
1666 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1667
1668         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1669         by not having a special case, and always doing a full rebreak of
1670         the document after undo.
1671
1672 2003-07-23  Angus Leeming  <leeming@lyx.org>
1673
1674         * factory.C (createInset): InsetExternal::setParams now takes a
1675         Buffer const * arg.
1676
1677 2003-07-23  Angus Leeming  <leeming@lyx.org>
1678
1679         * factory.C (createInset): changed interface to the external and
1680         graphics mailers' string2params functions.
1681
1682 2003-07-23  Angus Leeming  <leeming@lyx.org>
1683
1684         * factory.C (createInset): pass a
1685         Buffer const * parameter to InsetExternalMailer's string2params.
1686
1687 2003-07-22  John Levon  <levon@movementarian.org>
1688
1689         * Thesaurus.h: include the right aiksaurus header
1690
1691 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1692
1693         * MenuBackend.C (expand): check menu shortcuts unconditionally
1694
1695 2003-07-21  Angus Leeming  <leeming@lyx.org>
1696
1697         * factory.C (createInset): pass a
1698         buffer_path parameter to InsetGraphicsMailer's string2params.
1699
1700 2003-07-21  Angus Leeming  <leeming@lyx.org>
1701
1702         * BufferView_pimpl.C (buffer):
1703         * buffer.C (d-tor):
1704         * lyx_main.C (LyX):
1705         * lyxfunc.C (dispatch):
1706         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1707         rather than the grfx shortcut.
1708
1709 2003-07-21  André Pönitz  <poenitz@gmx.net>
1710
1711         * rowpainter.C: remove unused variables
1712
1713         * tabular_funcs.C:
1714         * tabular_funcs.h: move to tabular.C
1715         * Makefile.am: adjust
1716
1717         * tabular.[Ch]: basic optical cleaning
1718
1719         * author.h: pass references, not values
1720
1721 2003-07-18  André Pönitz  <poenitz@gmx.net>
1722
1723         * lyxtext.h:
1724         * metricsinfo.C:
1725         * metricsinfo.h:
1726         * rowpainter.C:
1727         * text.C:
1728         * text2.C:
1729         * text3.C: two-phase drawing for InsetText and InsetTabular
1730         some float -> int changes.
1731
1732 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1733
1734         * lyx_main.C: fix the fix
1735
1736 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1737
1738         * lyx_main.C: fix a crash in batch mode if no files specified
1739         * converter.C: ws
1740
1741 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1742
1743         * format.[Ch] (papersize): moved to BufferParams
1744         * converter.[Ch] (dvips_options): moved to BufferParams
1745         (dvipdfm_options): moved to anon namespace
1746         * bufferparams.[Ch]: added above functions.
1747
1748 2003-07-17  André Pönitz  <poenitz@gmx.net>
1749
1750         * lyxtext.h:
1751         * rowpainter.C:
1752         * text2.C: don't call inset->update() anymore
1753
1754         * metricsinfo.[Ch]: add convenience constructor
1755
1756 2003-07-16  André Pönitz  <poenitz@gmx.net>
1757
1758         * lyxcursor.[Ch]:
1759         * lyxfunc.[Ch]:
1760         * text.C:
1761         * text2.C: replace the LyXCursor::irow_ member with
1762          on-demand computation of the value
1763
1764 2003-07-16  John Levon  <levon@movementarian.org>
1765
1766         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1767
1768 2003-07-15  André Pönitz  <poenitz@gmx.net>
1769
1770         * text.C:
1771         * text2.C: remove no more needed refresh_row
1772
1773 2003-07-15  André Pönitz  <poenitz@gmx.net>
1774
1775         * lyxtext.h:
1776         * rowpainter.C:
1777         * text2.C:
1778         * text3.C: refresh_status tristate -> need_update bool
1779
1780 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1781
1782         * lyxtext.h (init): remove reinit argument (act as if always true)
1783         * text2.C: adjust to that
1784
1785 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1786
1787         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1788         * text3.C: use it to delete selections in some cases
1789         (bugs 441, 673, 702, 954).
1790
1791 2003-07-14  André Pönitz  <poenitz@gmx.net>
1792
1793         * rowpainter.[Ch]: reduce interface
1794
1795 2003-07-14  André Pönitz  <poenitz@gmx.net>
1796
1797         * BufferView_pimpl.C:
1798         * text2.C: adjust after removing unused BufferView * argument
1799
1800 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1801
1802         * text2.C (init): fix a crash fired on resize
1803
1804 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1805
1806         * buffer.[Ch]: added new closing signal
1807         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1808         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1809         BufferView::Pimpl via the closing the signal
1810
1811 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1812
1813         * buffer.[Ch]: take out all bv-related from buffer
1814         * BufferView.C:
1815         * BufferView_pimpl.[Ch]: connect to new signals
1816         * CutAndPaste.C: removed useless asserts
1817         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1818         * lyxvc.[Ch]:
1819         * vc-backend.[Ch]:
1820         * lyxfunc.C: moved view-related funciontality from vc here
1821         * paragraph.C: removed outdated comments
1822         * text.C: ws
1823
1824 2003-07-10  André Pönitz  <poenitz@gmx.net>
1825
1826         * BufferView_pimpl.C:
1827         * tabular.h:
1828         * tabular_funcs.C:
1829         * text.C:
1830         * text2.C: remove InsetText::InnerCache, clean up consequences
1831
1832 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1833
1834         * ispell.C: fix two typos in error messages
1835
1836 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1837
1838         * Extend Note inset to other forms of annotation like Comment
1839         and Greyedout. Right button click gives dialog.
1840
1841         Files modified or added (+):
1842
1843         * insetnote.[Ch]
1844         * FormNote.[Ch]      +
1845         * ControlNote.[Ch]   +
1846         * form_note.fd       +
1847         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1848         frontends/controllers
1849         * xforms/Dialogs.C
1850         * factory.C
1851
1852 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1853
1854         * aspell.C: add missing namespace lyx::support
1855
1856 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1857
1858         * BufferView.[Ch] (newFile): Add
1859         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1860         * LaTeX.[Ch] (message): added this signal and use it
1861         * buffer.[Ch] (busy, message): added these signals and use them
1862         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1863         * converter.C:
1864         * exporter.C:
1865         * format.C:
1866         * importer.C: use buffer signals instead of direct bv calling
1867         * lyx_cb.[Ch] (ShowMessage): removed
1868         * lyx_main.C:
1869         * lyxfunc.C:
1870         * paragraph_funcs.C:
1871         * text2.C: use buffer signals
1872
1873 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1874
1875         * introduce namespace lyx::graphics
1876
1877 2003-07-02  André Pönitz  <poenitz@gmx.net>
1878
1879         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1880
1881 2003-07-01  André Pönitz  <poenitz@gmx.net>
1882
1883         * text.C:
1884         * text2.C:
1885         * text3.C:
1886         * text_funcs.[Ch]:
1887         * textcursor.h:
1888         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1889           text*.C to text_func.C
1890
1891 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1892
1893         * introduce namespace lyx::support
1894
1895 2003-06-30  André Pönitz  <poenitz@gmx.net>
1896
1897         * Chktex.C:
1898         * funcrequest.C:
1899         * lyxtext.h:
1900         * text.C: re-enable --with-included-string
1901
1902 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1903
1904         * textcursor.C: add <config.h>
1905
1906         * text.C (getWord): remove const from word_location arg
1907
1908         * lyxvc.C (getLogFile): fix const type order
1909
1910         * lyxtext.h: remove const from word_location arg, add arg name
1911
1912         * lyxlayout.h: currect type on labeltype.
1913
1914         * importer.C: correct \file
1915
1916         * converter.C (intToFormat): use std:: on ret val, ws changes
1917
1918         * bufferlist.h: correct \file
1919
1920         * buffer.C (makeLinuxDocFile): fix const type order
1921         (makeDocBookFile): ditto
1922         (fillWithBibKeys): use std:: on stdlib args.
1923
1924         * CutAndPaste.C: fix authors.
1925         (availableSelections): use std:: on return vector
1926
1927 2003-06-27  André Pönitz  <poenitz@gmx.net>
1928
1929         * BufferView_pimpl.C:
1930         * bufferview_funcs.C:
1931         * lyxcursor.C:
1932         * lyxcursor.h:
1933         * lyxfunc.C:
1934         * lyxtext.h:
1935         * rowpainter.C:
1936         * text.C:
1937         * text2.C:
1938         * text3.C: remove LyXCursor::row_ member
1939
1940         * lyxtext.h:
1941         * text.C: rename fullRebreak() to partialRebreak() and implement
1942           a fullRebreak() that really bereks fully
1943
1944         * textcursor.h: new struct for cursor-related data
1945
1946 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1947
1948         * lyx_main.C (LyX): get full path of document loaded on the
1949         command line
1950
1951 2003-06-26  André Pönitz  <poenitz@gmx.net>
1952
1953         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1954           remove unused/broken operator>,<,>=.
1955
1956         *       text.C: remove only use of broken operator<= in an Assert().
1957
1958 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1959
1960         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1961         moved errorlist_.clear to showErrorList
1962
1963 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1964
1965         * converter.C (scanLog, runLaTeX):
1966         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1967         move the bv->showErrorList call to the callers
1968         * lyxfunc.C: i.e. here...
1969         * text2.C: and here
1970         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1971         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1972         namespace, the second to...
1973         * buffer_funcs (BufferFormat, parseErrors): added
1974         * errorlist.C (ErrorList(TeXErrors const &)): removed
1975
1976 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1977
1978         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1979
1980 2003-06-24  "Garst R. Reese" <reese@isn.net>
1981
1982         * debug.C: fix typo
1983
1984 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1985
1986         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1987
1988         * version.C.in: change docversion to 1.4
1989
1990 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1991
1992         * buffer.C: fix a bug just introduced
1993
1994 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1995
1996         * buffer.[Ch]: added the parseError signal and use it, removed
1997         sgmlError
1998         * BufferView.[Ch] (addError): moved to ...
1999         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2000         to the Buffer::parseError signal to catch (guess what) parse errors
2001         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2002
2003 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2004
2005         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2006         ability to create a buffer and to return an existing one from
2007         the list. Moved these functions to...
2008         * buffer_funcs.[Ch]: added
2009         * BufferView.[Ch] (loadLyXFile): added
2010         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2011         job removed from bufferlist::loadLyXFile.
2012         * buffer.C (setReadOnly): make it work without view
2013         (i.e added an if (users))
2014
2015 2003-06-19  Angus Leeming  <leeming@lyx.org>
2016
2017         * lfuns.h:
2018         * LyXAction.C (init):
2019         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2020         with LFUN_DIALOG_SHOW <name> <data>.
2021
2022 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2023
2024         * CutAndPaste.C (availableSelections): small compilation fix for
2025         ancient (gcc 2.9x) compilers
2026
2027 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2028
2029         * text3.C (cursorNext): add tmp var
2030
2031         * text2.C (updateCounters): for function calling out of for clause
2032         (replaceSelectionWithString): ditto
2033         (insertStringAsParagraphs): ditto
2034         (getColumnNearX): add tmp var
2035         (setCursorFromCoordinates): add tmp var
2036         (cursorDownParagraph): add tmp var
2037         (deleteEmptyParagraphMechanism): add tmp var
2038
2039         * text.C (insertChar): add tmp var
2040
2041         * rowpainter.C (paintDepthBar): add tmp var
2042
2043         * CutAndPaste.C (availableSelections): potentially check all
2044         paragraphs in a cut to fill the shown strings.
2045
2046 2003-06-18  André Pönitz  <poenitz@gmx.net>
2047
2048         * kbmap.[Ch]: use vector<> instead of list<>
2049
2050 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2051
2052         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2053         pasteSelection with index
2054
2055         * text2.C (pasteSelection): modify, call pasteSelection with index
2056
2057         * paragraph.C (asString): reimplement version with no interval to
2058         call the one with interval.
2059
2060         * lyxtext.h: add index arg to pasteSelection
2061
2062         * MenuBackend.C (MenuItem): handle PasteRecent
2063         (Menu::read::Menutags): add md_pasterecent
2064         (read): handle it
2065         (expandPasteRecent): new function
2066         (expand): use it
2067
2068         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2069
2070         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2071         the limited stack
2072         (availableSelections): new function
2073
2074 2003-06-17  Angus Leeming  <leeming@lyx.org>
2075
2076         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2077
2078 2003-06-17  Angus Leeming  <leeming@lyx.org>
2079
2080         * lfuns.h:
2081         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2082
2083         * lyxfunc.C (dispatch): invoke it.
2084
2085 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2086
2087         * iterators.C (operator++, ParPosition): reintroduce some
2088         const_cast for the benefit of older compilers.
2089
2090 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2091
2092         * text3.C (dispatch): do not modify clipboard when doing
2093         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2094         LFUN_DELETE_SKIP on a selection selection
2095
2096 2003-06-16  André Pönitz  <poenitz@gmx.net>
2097
2098         * BufferView.C:
2099         * buffer.C:
2100         * buffer.h:
2101         * paragraph.C:
2102         * tabular.[Ch]: IU of clone() and getLabelList();
2103
2104 2003-06-13  André Pönitz  <poenitz@gmx.net>
2105
2106         * tabular.h: compactification
2107
2108 2003-06-12  André Pönitz  <poenitz@gmx.net>
2109
2110         * tabular.C:
2111         * tabular.h:
2112         * tabular_funcs.h: some renaming plus whitespace
2113
2114 2003-06-12  André Pönitz  <poenitz@gmx.net>
2115
2116         * BufferView.C:
2117         * BufferView_pimpl.C:
2118         * CutAndPaste.C:
2119         * buffer.C:
2120         * iterators.[Ch]:
2121         * lyxfunc.C:
2122         * text.C:
2123         * toc.C: Return a Paragraph & for ParIterator::operator*()
2124
2125 2003-06-11  John Levon  <levon@movementarian.org>
2126
2127         * lyx_main.C:
2128         * ToolbarBackend.h:
2129         * ToolbarBackend.C: add "Toolbars" section and
2130         put the flags there
2131
2132 2003-06-10  Angus Leeming  <leeming@lyx.org>
2133
2134         * lfuns.h:
2135         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2136
2137         * lyxfunc.C (dispatch): invoke it.
2138
2139 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2140
2141         * main.C: protect <ios> with HAVE_IOS
2142         (main): protect sync_with_stdio with HAVE_IOS
2143
2144 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2145
2146         * text2.C (cutSelection): adjust
2147         (pasteSelection): adjust
2148
2149         * messages.C: handle get of empty string
2150
2151         * main.C (main): use sync_with_stdio(false)
2152
2153         * lyxfunc.C (dispatch): adjust
2154
2155         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2156         (WriteAs): remove unneeded BufferView arg.
2157
2158         * bufferparams.h: use correct types on papersize, papersize2 and
2159         paperpackage.
2160
2161         * bufferparams.C (readToken): adjust for type
2162         (writeLaTeX): add missing cases to switch.
2163
2164         * bufferlist.C (quitWriteBuffer): adjust
2165         (close): adjust
2166
2167         * buffer.C (asciiParagraph): remove some commented code.
2168
2169         * CutAndPaste.C: remove current_view extern variable.
2170         (cutSelection): add BufferParams arg.
2171         (eraseSelection): add BufferParams arg.
2172         (pasteSelection): add Buffer const & arg
2173
2174 2003-06-07  John Levon  <levon@movementarian.org>
2175
2176         * buffer.C:
2177         * paragraph_funcs.C:
2178         * paragraph_pimpl.C:
2179         * text.C:
2180         * text2.C:
2181         * paragraph.h:
2182         * paragraph.C: allow InsetERT to freely space lines,
2183         and some consolidation of code
2184
2185 2003-06-06  José Matos  <jamatos@fep.up.pt>
2186
2187         * buffer.C (makeDocBookFile): fix bug #821
2188
2189 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2190
2191         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2192
2193 2003-06-04  Angus Leeming  <leeming@lyx.org>
2194
2195         * buffer.C: bump format to 224.
2196
2197 2003-06-05  André Pönitz  <poenitz@gmx.net>
2198
2199         * text2.C (redoParagraphs): remove two const_cast<>
2200
2201 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2202
2203         * ParagraphList.h: remove last remnants of NO_STD_LIST
2204
2205 2003-06-03  Angus Leeming  <leeming@lyx.org>
2206
2207         * factory.C (createInset): small change to the way InsetExternal's params
2208         are set.
2209
2210 2003-06-04  André Pönitz  <poenitz@gmx.net>
2211
2212         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2213
2214         * paragraph_pimpl.h:
2215         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2216
2217         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2218
2219         * undo_funcs.C: make some simple cases of undo work again
2220
2221 2003-06-03  John Levon  <levon@movementarian.org>
2222
2223         * ispell.C: HPUX doesn't have sys/select.h
2224         (from Albert Chin)
2225
2226 2003-06-03  John Levon  <levon@movementarian.org>
2227
2228         * CutAndPaste.C: update tabular and include inset
2229         buffer references
2230
2231         * buffer.h:
2232         * paragraph.h:
2233         * paragraph.C: remove owningBuffer(), don't pass Buffer
2234         to clone()
2235
2236         * factory.C: insetGraphicsParams changed
2237
2238 2003-06-02  John Levon  <levon@movementarian.org>
2239
2240         * LyXAction.C:
2241         * factory.C:
2242         * lfuns.h:
2243         * lyxfunc.C:
2244         * text3.C: remove insetparent
2245
2246 2003-06-02  John Levon  <levon@movementarian.org>
2247
2248         * buffer.h:
2249         * buffer.C: fix inset_iterator.end(), move out of line
2250         (bug 1149)
2251
2252 2003-06-01  John Levon  <levon@movementarian.org>
2253
2254         * text3.C: use a proper cut/paste when doing inset
2255         insert (from Jürgen Spitzmüller)
2256
2257 2003-06-01  John Levon  <levon@movementarian.org>
2258
2259         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2260
2261 2003-05-30  André Pönitz  <poenitz@gmx.net>
2262
2263         * rowpainter.C: unify second drawing phase
2264
2265 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2266
2267         * trans_mgr.C: remove one case of current_view
2268
2269         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2270
2271         * paragraph_funcs.h: remove paragraph.h include
2272
2273         * paragraph.h: delete NO_STD_LIST stuff
2274
2275         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2276
2277         * buffer.h: remove paragraph.h include
2278
2279         * ParagraphList.C: delete file
2280
2281         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2282
2283         * toc.C (getTocList): adjust
2284
2285         * paragraph_pimpl.C (validate): adjust
2286
2287         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2288
2289         * paragraph.C (Paragraph): adjust
2290         (getPositionOfInset): use const_iterator, adjust
2291         (bibitem): use const_iterator, adjust
2292         (setInsetOwner): adjust
2293
2294         * iterators.C (operator++): adjust
2295
2296         * InsetList.[Ch]: Replace selfmade iterator with standard
2297         vector::iterator also introduce const_iterator. Remove getPos,
2298         getInset and setInset from InsetTable. Adjust accordingly.
2299
2300         * BufferView.C (lockInset): adjust
2301         (ChangeInsets): adjust
2302
2303         * tabular.[Ch]: delete commented same_id functions
2304
2305 2003-05-28  John Levon  <levon@movementarian.org>
2306
2307         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2308
2309 2003-05-28  André Pönitz  <poenitz@gmx.net>
2310
2311         * metricsinfo.[Ch]: remove 'fullredraw' member
2312
2313 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2314
2315         * lyxtextclass.C (operator): remove caching.
2316
2317 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2318
2319         * text3.C: adjust
2320
2321         * text2.C (cursorBottom): adjust
2322         (setCounter): use ParagraphList::find, adjust
2323
2324         * text.C (workWidth): use ParagraphList::find, adjust
2325
2326         * lyxcursor.C (LyXCursor): adjust
2327
2328         * buffer.C (inset_iterator): adjust
2329
2330         * ParagraphList.h: make iterator(value_type) private, make
2331         ParagraphList a friend of iterator.
2332
2333         * ParagraphList.C (find): new function
2334
2335         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2336
2337 2003-05-27  André Pönitz  <poenitz@gmx.net>
2338
2339         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2340
2341 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2342
2343         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2344
2345 2003-05-26  John Levon  <levon@movementarian.org>
2346
2347         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2348
2349 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2350
2351         * remove same_id from function signatures, adjust.
2352
2353 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2354
2355         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2356
2357         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2358
2359         * paragraph.C (Paragraph): get rid of same_ids parameter
2360
2361         * ParagraphList.C (insert): adjust
2362         (push_back): adjust
2363
2364 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2365
2366         * paragraph_funcs.C (breakParagraph): adjust
2367         (breakParagraphConservative): adjust
2368
2369         * buffer.C (readParagraph): adjust
2370
2371         * ParagraphList.C (insert): take a reference instead of a pointer
2372         (insert): adjust
2373
2374         * paragraph.[Ch] (id): new function
2375
2376         * bufferlist.C (newFile): adjust
2377
2378         * ParagraphList.C (ParagraphList): adjust
2379         (assign): adjust
2380         (push_back): take a reference instead of a pointer.
2381
2382         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2383
2384         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2385         instead.
2386
2387         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2388         set else use old code.
2389
2390         * ParagraphList.C: remove all NO_NEXT code and only compile this
2391         code of NO_STD_LIST is set.
2392
2393 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2394
2395         * BufferView_pimpl.C:
2396         * TextCache.C:
2397         * TextCache.h:
2398         * bufferlist.C:
2399         * errorlist.h:
2400         * format.C:
2401         * format.h:
2402         * graph.C:
2403         * lyxfunc.C:
2404         * lyxrc.C:
2405         * graphics/GraphicsConverter.C:
2406         * graphics/PreviewLoader.C: header adjustment
2407
2408 2003-05-23  Angus Leeming  <leeming@lyx.org>
2409
2410         * LaTeXFeatures.[Ch] (useBabel): new method.
2411         * bufferparams.C (writeLaTeX): use it.
2412
2413 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2414
2415         * ParagraphList.h (set): remove unused function.
2416
2417 2003-05-23  André Pönitz  <poenitz@gmx.net>
2418
2419         * BufferView.C:
2420         * BufferView_pimpl.C:
2421         * buffer.C:
2422         * buffer.h:
2423         * lyxfunc.C:
2424         * undo_funcs.C: setUndo reworked
2425
2426         * iterators.[Ch]: add access to topmost ParagraphList
2427
2428         * lyxtext.[Ch] (workWidth): add a const
2429
2430 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2431
2432         * texrow.[Ch] (increasePos): remove function
2433         * exporter.C (export): removed unused var and outdated comment
2434
2435 2003-05-23  Angus Leeming  <leeming@lyx.org>
2436
2437         * latexrunparams.h: rename fragile as moving_arg.
2438         * paragraph.C (simpleTeXOnePar): ditto.
2439         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2440
2441 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2442
2443         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2444         (createUndo): ditto
2445         (textUndoOrRedo): comment out a currently unused var.
2446
2447         * paragraph.h (NO_NEXT): enable NO_NEXT
2448
2449         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2450
2451         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2452
2453         * exporter.C (Export): adjust for removeAutoInsets removal.
2454
2455         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2456
2457         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2458
2459         * BufferView.[Ch] (removeAutoInsets): delete function
2460
2461 2003-05-22  Angus Leeming  <leeming@lyx.org>
2462
2463         * latexrunparams.h: add a free_spacing variable.
2464
2465         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2466         to pass moving_arg, as the data is stored in runparams.fragile.
2467
2468         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2469         to Inset::latexOptional or to simpleTeXOnePar.
2470
2471         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2472         free_spacing arg to Inset::latexOptional.
2473
2474         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2475         free_spacing arg.
2476
2477 2003-05-22  Angus Leeming  <leeming@lyx.org>
2478
2479         * latexrunparams.h: add fragile and use_babel variables.
2480
2481         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2482         * buffer.C (makeLaTeXFile): store this returned value in
2483         runparams.use_babel, thus passing it to the inset::latex methods.
2484
2485         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2486         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2487
2488         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2489         longer has a fragile arg, as it is stored in runparams.fragile.
2490
2491         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2492         moving_arg parameter as the data is stored in runparams.fragile.
2493
2494         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2495         a fragile parameter as the data is stored in runparams.fragile.
2496
2497 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2498
2499         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2500
2501 2003-05-22  Angus Leeming  <leeming@lyx.org>
2502
2503         * latexrunparams.h: add a 'bool nice' which defaults to false.
2504
2505         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2506         now encapsulated within runparams.
2507
2508         * bufferlist.C (updateIncludedTeXfiles):
2509         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2510
2511 2003-05-22  Angus Leeming  <leeming@lyx.org>
2512
2513         * latexrunparams.h: new file containing struct LatexRunParams.
2514         * Makefile.am: add new file.
2515
2516         * LaTeX.[Ch] (c-tor, run):
2517         * buffer.[Ch] (makeLaTeXFile):
2518         * bufferlist.[Ch] (updateIncludedTeXfiles):
2519         * converter.C (convert, scanLog):
2520         * converter.[Ch] (runLaTeX):
2521         * exporter.C (Export):
2522         * paragraph.[Ch] (simpleTeXOnePar):
2523         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2524         * paragraph_funcs.[Ch] (latexParagraphs):
2525         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2526         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2527         pass around a LatexRunParams parameter.
2528
2529 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2530
2531         * paragraph.[Ch]: remove unused constructor
2532
2533         * ParagraphList.C (erase): new function, taking two iterators
2534
2535 2003-05-22  André Pönitz  <poenitz@gmx.net>
2536
2537         * undo_funcs.C: remove duplicated code
2538
2539         * iterator.[Ch]: operator=
2540
2541 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2542
2543         * tabular.C (SetMultiColumn): ws changes
2544
2545         * rowpainter.C (paintFirst): get rid of a ->previous
2546
2547         * lyx_cb.C (getPossibleLabel): parlist simplification
2548
2549         * BufferView.C (ChangeInsets): simplify slightly.
2550
2551 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2552
2553         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2554         * lfuns.h: new LFUN_SPACE
2555         * lyxfunc.C: protected space has a new lfun
2556         * paragraph_funcs.C: read new space insets
2557         * text3.C:
2558         * factory.C: handle new space insets
2559
2560 2003-05-22  André Pönitz  <poenitz@gmx.net>
2561
2562         * BufferView.C:
2563         * BufferView_pimpl.C:
2564         * buffer.[Ch]:
2565         * lyxfunc.C:
2566         * undo_funcs.C: return a ParIterator from getParFromID.
2567
2568         * iterators.[Ch]: add two const's
2569
2570 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2571
2572         * toc.C (getTocList): adjust
2573
2574         * iterators.[Ch]: rework for parlist
2575
2576         * buffer.C (par_iterator_begin): adjust
2577         (par_iterator_end): adjust
2578
2579         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2580
2581         * BufferView.C (removeAutoInsets): adjust
2582         (ChangeInsets): adjust
2583
2584 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2585
2586         * text.C (top_y): fix bug 1110
2587
2588 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2589
2590         * errorlist.[Ch]: added
2591         * buffer.C:
2592         * BufferView.[Ch]:
2593         * BufferView_pimpl.C:
2594         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2595         instead
2596
2597 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2598
2599         * Makefile.am: ensure that lyx is relinked upon changes to the
2600         various "convenience" libs.
2601
2602 2003-05-20  Angus Leeming  <leeming@lyx.org>
2603
2604         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2605         files are compiled in alphabetical order again.
2606
2607         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2608
2609 2003-05-19  Angus Leeming  <leeming@lyx.org>
2610
2611         * gettext.[Ch]: remove "char const * _(char const *)".
2612
2613 2003-05-19  André Pönitz  <poenitz@gmx.net>
2614
2615         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2616
2617         * Makefile.am:
2618         * BufferView.C:
2619         * DepTable.h:
2620         * LaTeXFeatures.C:
2621         * buffer.C:
2622         * lyxfont.C:
2623         * lyxlex.h:
2624         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2625
2626 2003-05-19  André Pönitz  <poenitz@gmx.net>
2627
2628         * buffer.C:
2629         * lyxlayout.[Ch]:
2630         * lyxtextclass.[Ch]:
2631         * paragraph.C:
2632         * paragraph_funcs.[Ch]:
2633         * text2.C:
2634         * text3.C: more insetenv work
2635
2636 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2637
2638         * ParagraphParameters.C (params2string): small bug fixed
2639
2640 2003-05-16  André Pönitz  <poenitz@gmx.net>
2641
2642         * debug.C:
2643         * bufferview_funcs.C: patch from Kornel Benko to prevent
2644           crash when _(...) is called twice in a statement
2645
2646 2003-05-16  André Pönitz  <poenitz@gmx.net>
2647
2648         * BufferView.C:
2649         * lyxfunc.C:
2650         * text.C:
2651         * text2.C:
2652         * text3.C:
2653         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2654
2655 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2656
2657         * lyx_main.C (init): remove spurious static_cast
2658
2659 2003-05-14  André Pönitz  <poenitz@gmx.net>
2660
2661         * BufferView.C: fix format string
2662
2663 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2664
2665         * BufferView.[Ch] (insertErrors): removed
2666         * BufferView.[Ch] (showErrorList): added
2667         * buffer.C (runChkTeX):
2668         * converter.C (scanLog): call showErrorList instead of inserterrors
2669
2670 2003-05-13  André Pönitz  <poenitz@gmx.net>
2671
2672         * BufferView_pimpl.C:
2673         * buffer.C:
2674         * bufferview_func.C:
2675         * MenuBackend.C:
2676         * lyxfunc.C:
2677         * lyxrc.C:
2678         * tex-accent.C:
2679         * text3.C:
2680         * toc.C:
2681         * tabular_funcs.h: tostr() from its own header
2682
2683         * ParagraphParameters.C:
2684         * ToolbarBackend.C:
2685         * bufferparams.C:
2686         * format.C:
2687         * lyxlex_pimpl.C:
2688         * text3.C: STRCONV()
2689
2690 2003-05-12  André Pönitz  <poenitz@gmx.net>
2691
2692         * BufferView.C:
2693         * BufferView_pimpl.C:
2694         * CutAndPaste.C:
2695         * LaTeX.C:
2696         * LaTeXFeatures.C:
2697         * ParagraphParameters.C:
2698         * buffer.C:
2699         * bufferlist.C:
2700         * bufferparams.C:
2701         * bufferview_funcs.C:
2702         * converter.C:
2703         * counters.C:
2704         * debug.C:
2705         * exporter.C:
2706         * format.C:
2707         * importer.C:
2708         * lyx_cb.C:
2709         * lyx_main.C:
2710         * lyxfont.C:
2711         * lyxfunc.C:
2712         * lyxvc.C:
2713         * paragraph.C:
2714         * paragraph_funcs.C:
2715         * tabular.C:
2716         * tabular_funcs.C:
2717         * text2.C:
2718         * text3.C:  boost::format -> bformat  all over the place
2719
2720
2721 2003-05-09  André Pönitz  <poenitz@gmx.net>
2722
2723         * LColor.[Ch]: Pimpl the #include <map> away
2724
2725 2003-05-09  John Levon  <levon@movementarian.org>
2726
2727         * bufferlist.C: never remove emergency saves
2728
2729 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2730
2731         * Makefile.am: better lib building
2732
2733 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2734
2735         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2736         instead.
2737         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2738         (simpleTeXSpecialChars): adjust
2739         (simpleTeXSpecialChars): adjust
2740         * paragraph.C (simpleTeXOnePar): adjust
2741         * buffer.C (makeLaTeXFile): adjust
2742
2743         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2744
2745         * text2.C (changeDepth): parlist cleanup
2746         (getColumnNearX): ditto
2747
2748         * rowpainter.C (getLabelFont): parlist cleanup
2749
2750         * bufferlist.C (newFile): parlist cleanup
2751
2752         * CutAndPaste.C (eraseSelection): parlist cleanup
2753
2754         * BufferView_pimpl.C (trackChanges): parlist cleanup
2755         (dispatch): ditto
2756
2757         * BufferView.C (lockInset): parlist cleanup.
2758         (ChangeInsets): ditto
2759
2760 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2761
2762         * CutAndPaste.h: Update file header.
2763
2764         * CutAndPaste.C: Update file header.
2765         Store the parts cut out of the Document in a limited_stack.
2766         (copySelection): adjust
2767         (pasteSelection): new function, takes the index in the limited stack.
2768         (nrOfParagraphs): adjust
2769         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2770         simplify error inset insertion.
2771         (checkPastePossible): adjust
2772
2773 2003-05-06  John Levon  <levon@movementarian.org>
2774
2775         * text2.C: don't cast wrap inset to float
2776
2777 2003-05-05  André Pönitz  <poenitz@gmx.net>
2778
2779         * iterator.C:
2780         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2781
2782         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2783           few naked Paragraph *.
2784
2785 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2786
2787         * bufferparams.C: Output warning if a document with missing
2788         TeX document class is loaded
2789         * exporter.C: Disable TeX exports if the document class is missing
2790         * lyxtextclass.C:
2791         * lyxtextclass.h:
2792         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2793         isTeXClassAvailable()
2794
2795 2003-05-03  John Levon  <levon@movementarian.org>
2796
2797         * BufferView.h:
2798         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2799         explicit cursor show/hide
2800
2801         * BufferView_pimpl.h:
2802         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2803         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2804
2805         * lyxfunc.C: hide cursor before dispatching.
2806
2807         * lyx_cb.C:
2808         * lyxfind.C:
2809         * text.C:
2810         * text3.C: remove explicit cursor hides
2811
2812 2003-05-02  André Pönitz  <poenitz@gmx.net>
2813
2814         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2815
2816         * undo_funcs.C:
2817         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2818           linked lists
2819
2820         * text2.C: tiny whitespace
2821
2822 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2823
2824         * undo_funcs.C: almost only ws changes.
2825
2826         * ParagraphList.C (splice): just return if pl is empty.
2827
2828 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2829
2830         * ParagraphList.C (splice): new function.
2831
2832         * CutAndPaste.C (pasteSelection): use it
2833
2834 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2835
2836         * CutAndPaste.C (pasteSelection): remove the last next and
2837         previous from this file.
2838
2839 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2840
2841         * CutAndPaste.C (pasteSelection): more clean up, user proper
2842         ParagraphList functions for pasteing.
2843
2844         * ParagraphList.C (insert): new function, three arg insert
2845
2846 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2847
2848         * ParagraphList.C (insert): new function, three arg insert
2849
2850         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2851         not on paragraphs.
2852
2853 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2854
2855         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2856
2857 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2860
2861 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2862
2863         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2864         (copySelection): clean up a bit.
2865         (pasteSelection): use make_pair
2866
2867         * ParagraphList.C (ParagraphList): implement copy constructor
2868         (operator=): implement, base on copy constructor.
2869         (assign): new func
2870
2871         * paragraph.C (erase): return a bool
2872
2873         * paragraph_pimpl.C (erasePos): remove function, move contents...
2874         (erase): ... here. Return a bool.
2875         (erase): call erase instead of erasePos.
2876
2877 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2878
2879         * ParagraphList.h: define PitPosPair
2880         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2881         ParagraphList, fix a bug on pasting multiple pars
2882         * text2.C: change interface to C&P
2883
2884 2003-04-30  André Pönitz  <poenitz@gmx.net>
2885
2886         * undo_func.C: revert part of yesterday's patch 2
2887
2888 2003-04-30  John Levon  <levon@movementarian.org>
2889
2890         * LColor.C: s/tabular/table/
2891
2892 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2893
2894         * text3.C (dispatch): do not convert iterator -> pointer
2895         * undo_funcs.C (setCursorParUndo): ditto
2896         * text_funcs.C (transposeChars): ditto
2897
2898         * text2.C (setLayout): ws changes only
2899
2900         * text.C (breakParagraph): do not convert iterator -> pointer
2901         (insertChar): ditto
2902         (acceptChange): ditto
2903         (rejectChange): ditto
2904         (changeCase): ditto
2905         (Delete): ditto
2906         (backspace): ditto
2907
2908         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2909         pointer
2910
2911 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2912
2913         * text3.C (gotoInset): YABG (yet another bad getChar)
2914
2915 2003-04-29  André Pönitz  <poenitz@gmx.net>
2916
2917         * paragraph.h: make operator= private unimplemented as long as
2918           it is unusable
2919
2920         * ParagraphList.C: whitespace
2921
2922         * paragraph.[Ch]:
2923         * paragraph_pimpl.[Ch]:
2924         * paragraph_funcs.C:
2925         * CutAndPaste.C:
2926         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2927
2928         * text2.C:
2929           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2930
2931 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2932
2933         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2934         * paragraph.[Ch] (erase):
2935         * paragraph_pimpl.[Ch] (erase): change return type and value
2936         * text2.C (cutSelection): some rework
2937
2938 2003-04-28  John Levon  <levon@movementarian.org>
2939
2940         * bufferlist.C: changes for unsaved changes dialog
2941
2942 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2943
2944         * bufferlist.C (newFile): set language (messages_) for new
2945         documents also.
2946
2947         * buffer.C (readFile): ws changes only.
2948
2949 2003-04-28  André Pönitz  <poenitz@gmx.net>
2950
2951         * undo_funcs.C:
2952         * lyxfunc.C:
2953         * buffer.[Ch]:
2954         * BufferView_pimpl.C:
2955         * BufferView.C: getParFromID related ParagraphList::iterator changes
2956
2957 2003-04-28  André Pönitz  <poenitz@gmx.net>
2958
2959         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2960           Changes
2961
2962 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2963
2964         * messages.C: remove one more localedir class variable.
2965
2966 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2967
2968         * messages.C (getLocaleDir): singleton generation function
2969         (Pimpl): use it.
2970         (Messages): add a default constructor.
2971
2972         * main.C (main): do not setup localedir here, do not call
2973         gettext_init.
2974
2975         * gettext.C (_): use it.
2976         (gettext_init): delete funciton
2977
2978 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * gettext.C (getLyXMessages): new singleton generating function.
2981
2982         * buffer.C (updateDocLang): adjust
2983
2984         * Makefile.am (messages.o): add target
2985         (main.o): remove target
2986
2987 2003-04-27  John Levon  <levon@movementarian.org>
2988
2989         * bufferlist.C:
2990         * lyx_cb.C:
2991         * lyxfunc.C:
2992         * lyxvc.C: specify cancel button in Alert::prompt
2993
2994 2003-04-26  John Levon  <levon@movementarian.org>
2995
2996         * text3.C:
2997         * lyxfunc.C:
2998         * lfuns.h:
2999         * LyXAction.C: add LFUN_INSET_SETTINGS
3000
3001         * lyxfunc.C: don't enable tabular-feature when there's
3002         just any locking inset
3003
3004 2003-04-26  John Levon  <levon@movementarian.org>
3005
3006         * bufferlist.C: re-add Cancel to buffer close question
3007
3008         * lyxfunc.C: fix import UI a bit
3009
3010 2003-04-25  John Levon  <levon@movementarian.org>
3011
3012         * gettext.C: remove the broken asserts for now
3013
3014 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3015
3016         * messages.C: make case where setlocale cannot comply work better.
3017
3018         * buffer.C (updateDocLang): new function
3019         (changeLanguage): use it
3020         (readFile): use it
3021
3022         * text2.C (setCounter): use B_ a bit.
3023
3024         * lyxlayout.C (Read): be sure to trim the label strings.
3025
3026         * messages.C (Messages): fix typo in comment
3027
3028         * buffer.C (readFile): set message_ after file is loaded.
3029         (makeDocBookFile): remove double return
3030         (changeLanguage): reset message_ upon language change.
3031         (B_): new func, use this to get translated buffer strings.
3032
3033         * main.C: add myself and Jean Marc as authors.
3034
3035 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3036
3037         * messages.[hC]: pimplify Messages, and three different pimpls to be
3038         used in different circumstances.
3039
3040         * gettext.[Ch]: change for use with new message code.
3041
3042 2003-04-24 André Pönitz <poenitz@gmx.net>
3043
3044         * factory.C: support for eqref
3045
3046 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3047
3048         * messages.[Ch]: add missing char
3049
3050         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3051
3052         * messages.[Ch]: New files
3053
3054 2003-04-18  John Levon  <levon@movementarian.org>
3055
3056         * BufferView.h:
3057         * BufferView.C:
3058         * BufferView_pimpl.C:
3059         * lfuns.h:
3060         * LyXAction.C:
3061         * lyxtext.h:
3062         * text2.C: remove layout-copy/paste (bug 778)
3063
3064 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3065
3066         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3067
3068 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3069
3070         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3071         if they succeed. Act accordingly.
3072
3073 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3074
3075         * text2.C (setCharFont): adjust
3076         (setCounter): adjust
3077         (insertStringAsLines): adjust
3078
3079         * text.C (leftMargin): adjust
3080         (setHeightOfRow): adjust
3081
3082         * rowpainter.C (paintFirst): adjust
3083         (paintLast): adjust
3084
3085         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3086         (outerHook): ditto
3087         (isFirstInSequence): ditto
3088         (getEndLabel): ditto
3089         (outerFont): adjust
3090
3091         * paragraph.C (getParLanguage): comment out some hard stuff.
3092
3093         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3094         (sgmlError): ditto
3095         (simpleDocBookOnePar): ditto
3096         (makeDocBookFile): use ParagraphList::iterator
3097
3098         * CutAndPaste.C (pasteSelection): adjust
3099
3100 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3101
3102         * text2.C (getFont): adjust
3103         (getLayoutFont): adjust
3104         (getLabelFont): adjust
3105
3106         * paragraph_funcs.C (TeXOnePar): adjust
3107
3108         * buffer.C (simpleLinuxDocOnePar): adjust
3109         (simpleDocBookOnePar): adjust
3110
3111         * CutAndPaste.C (pasteSelection): adjust
3112
3113         * BufferView.C (getEncoding): adjust
3114
3115         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3116
3117 2003-04-16  John Levon  <levon@movementarian.org>
3118
3119         * lyxfind.C: use parlist stuff for search/changes
3120
3121 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3122
3123         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3124
3125         * text2.C (deleteEmptyParagraphMechanism): adjust
3126
3127         * text2.[Ch] (ownerParagraph): delete func (both of them
3128
3129 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3130
3131         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3132
3133 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3134
3135         * ParagraphList.C: prepare for NO_NEXT
3136
3137 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3138
3139         * text2.C (getFont): adjust
3140         (getLayoutFont): adjust
3141         (getLabelFont): adjust
3142
3143         * paragraph.C (getFont): adjust
3144         (getLabelFont): adjust
3145         (getLayoutFont): adjust
3146
3147         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3148
3149 2003-04-15  John Levon  <levon@movementarian.org>
3150
3151         From Angus Leeming
3152
3153         * lyx_main.C: handle Include in .ui files
3154
3155 2003-04-15  John Levon  <levon@movementarian.org>
3156
3157         * MenuBackend.C: make the doc files length shorter
3158
3159         * ToolbarBackend.h:
3160         * ToolbarBackend.C: handle toolbar placement flags,
3161         Minibuffer
3162
3163 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3164
3165         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3166         adjust
3167
3168         * paragraph_funcs.C (TeXOnePar): adjust
3169
3170         * paragraph.C (getLabelFont): add outerfont arg, adjust
3171         (getLayoutFont): ditto
3172         (simpleTeXOnePar): adjust
3173
3174         * paragraph_pimpl.C (realizeFont): delete func
3175
3176 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3177
3178         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3179         row argument, constify cur argument.
3180
3181 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3182
3183         * text2.C (getFont): adjust
3184         (getLayoutFont): adjust
3185         (getLabelFont): adjust
3186
3187         * paragraph_funcs.C (TeXOnePar): adjust
3188         (outerFont): new func...
3189         (realizeFont): ...moved out from here, changed this to facilitate
3190         transition
3191
3192         * paragraph.C (getFont): take outerfont as arg, adjust
3193         (simpleTeXOnePar): add outerfont arg, adjust
3194
3195         * buffer.C (simpleLinuxDocOnePar): adjust
3196         (simpleDocBookOnePar): adjust
3197
3198         * CutAndPaste.C (pasteSelection): adjust
3199
3200         * BufferView.C (getEncoding): adjust
3201
3202 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3203
3204         * text2.C (setCharFont): adjust
3205         (setCounter): adjust
3206
3207         * text.C (leftMargin): adjust
3208         (setHeightOfRow): adjust
3209
3210         * rowpainter.C (paintFirst): adjust
3211         (paintLast): adjust
3212
3213         * paragraph_pimpl.C (realizeFont): adjust
3214
3215         * paragraph.C (isFirstInSequence): move from here...
3216         * paragraph_funcs.C (isFirstInSequence): ...to here
3217
3218         * paragraph.C (outerHook): move from here...
3219         * paragraph_funcs.C (outerHook): ...to here
3220
3221         * paragraph.C (depthHook): move from here...
3222         * paragraph_funcs.C (depthHook): ...to here
3223
3224         * paragraph.C (getEndLabel): move from here...
3225         * paragraph_funcs.C (getEndLabel): ...to here
3226
3227         * text2.C (realizeFont): move from here...
3228         * paragraph_funcs.C (realizeFont): ...to here
3229
3230 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3231
3232         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3233
3234 2003-04-14  Angus Leeming  <leeming@lyx.org>
3235
3236         * LColor.[Ch]: scrap LColor mathcursor.
3237
3238 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3239
3240         * lyxlex.[Ch] (text): delete function
3241         * trans.C (Load): adjust
3242         * paragraph_funcs.C (readParToken): adjust
3243
3244 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3245
3246         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3247         vector<char> instead of a char[].
3248
3249         * lyxlex_pimpl.C (getString): adjust
3250         (next): adjust
3251         (lex): use getString
3252         (eatLine): adjust
3253         (nextToken): adjust
3254
3255         * lyxlex.C (text): use pimpl_->getString()
3256         (getBool): ditto
3257         (findToken): ditto
3258
3259 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3260
3261         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3262         (makeFontEntriesLayoutSpecific): temp var for par.size()
3263         (setLayout): temp var for ownerParagraphs().end()
3264         (fullRebreak): temp var for rows().end()
3265         (selectionAsString): temp var for boost::next(startpit), realize
3266         that the while really is a regular for loop.
3267         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3268         setCursor in one place.
3269         (setParagraph): temp vr for ownerParagraphs().end()
3270         (updateCounters): make the while loop a for loop
3271         (cutSelection): temp var for ownerParagraphs().end()
3272         (updateInset): make the do {} while() a regular for loop
3273         (getCursorX): use temp vars
3274         (setCurrentFont): use temp vars
3275         (getColumnNearX): use temp vars
3276
3277 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3278
3279         * text.C (transformChar): use temp var for getChar
3280         (computeBidiTables): use temp var for row->par()
3281         (fill): move temp vars for row->par() and pit->layout() earlier in
3282         the function.
3283         (labelFill): use temp var for row->par()
3284         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3285         asc and desc, realize that pit never changes and that firstpit is
3286         just a duplicate and not needed. Exchange rit->par() with pit in a
3287         lot of places.
3288         (breakAgain): use a temp var for boost::next(rit)
3289         (breakAgainOneRow): ditto
3290         (breakParagraph): use a temp var for rows().begin()
3291         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3292         (cursorRightOneWord): use temp var for cursor.par() and
3293         cursor.pos(), remove usage of tmpcursor.
3294         (cursorLeftOneWord): use temp var for cursor.par() and
3295         cursor.pos() only set cur at end of function.
3296
3297 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * text.C, text2.C: exchange all usage of Paragraph::next with
3300         boost::next(ParagraphList::iterator)
3301
3302         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3303
3304         * text2.C (cursorTop): simplify implementation
3305         (cursorBottom): ditto
3306         (setParagraph): use ParagraphList::iterator
3307         (setCurrentFont): adjust
3308         (getColumnNearX): adjust
3309         (cursorRight): adjust
3310         (cursorLeft): remove usage of Paragraph::previous
3311         (cursorUpParagraph): ditto
3312         (deleteEmptyParagraphMechanism): slight cleanup
3313
3314         * text.C (isBoundary): take a Paragraph const & instead of a
3315         pointer as arg.
3316         (addressBreakPoint): ditto
3317         (leftMargin): remove usage of Paragraph::previous.
3318         (setHeightOfRow): ditto
3319         (cursorLeftOneWord): ditto
3320         (selectNextWordToSpellcheck): ditto
3321         (Delete): ditto
3322         (backspace): ditto
3323         (breakParagraph): remove one usage of Paragraph::next
3324         (redoParagraph): ditto
3325         (acceptChange): ditto
3326         (insertChar): adjust
3327         (rowBreakPoint): adjust
3328
3329         * bufferview_funcs.C (toggleAndShow): adjust
3330
3331 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3332
3333         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3334         methods to access it.
3335         * lyxtext.h:
3336         * text.C: Added updateRowPositions to compute all row positions.
3337         Make top_y and getRowNearY() to use the cached y position
3338
3339 2003-04-11  John Levon  <levon@movementarian.org>
3340
3341         * text.C (rowBreakPoint): reintroduce the labelEnd
3342         checks, code copied from the row fill stuff. Deep voodoo.
3343
3344         * text.C (fill): add a comment and debugging for the
3345         next poor soul.
3346
3347 2003-04-11  John Levon  <levon@movementarian.org>
3348
3349         * text.C: make sure fullrow insets get wrapped to the next line,
3350         even when they're in a manual label
3351
3352 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3353
3354         * text2.C (insertParagraph): make it take ParagraphList::iterator
3355         as arg.
3356         (setLayout): make it return ParagraphList::iterator
3357         (redoParagraphs): ditto
3358         (setCounter): ditto
3359         (checkParagraph): ditto
3360
3361         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3362
3363         * text2.C: adjust several funcs.
3364         (realizeFont): take a ParagraphList::iterator as arg.
3365         (getLayoutFont): ditto
3366         (getLabelFont): ditto
3367         (setCharFont): ditto
3368
3369         * text.C: adjust several funcs.
3370
3371 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3372
3373         * text.C (selectNextWordToSpellcheck): don't accidentally
3374         skip insets
3375
3376 2003-04-10  John Levon  <levon@movementarian.org>
3377
3378         * ToolbarBackend.C (getIcon): special handling for
3379         LFUN_MATH_DELIM
3380
3381 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3382
3383         * text2.C (cursorRight): a getChar assert fixed
3384
3385 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3386
3387         * text2.C (getFont): change to take a ParagraphList::iterator
3388         instead of Paragraph*
3389         Adjust several functions.
3390
3391         * text.C (transformChar): change to take a ParagraphList::iterator
3392         instead of Paragraph*
3393         (singleWidth): ditto
3394         Adjust several functions.
3395
3396         * rowpainter.C: adjust several functions
3397         * rowpainter.h:store a ParagraphList::iterator and not a
3398         Paragraph&.
3399
3400
3401 2003-04-09  John Levon  <levon@movementarian.org>
3402
3403         * lyxfunc.C:
3404         * lfuns.h:
3405         * LyXAction.h:
3406         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3407         and the "help" bits as well
3408
3409 2003-04-09  John Levon  <levon@movementarian.org>
3410
3411         * ToolbarBackend.h:
3412         * ToolbarBackend.C: allow multiple toolbars
3413
3414 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3415
3416         * undo_funcs.C (setCursorParUndo): adjust
3417
3418         * text_funcs.C (transposeChars): adjust
3419
3420         * text3.C (gotoNextInset): adjust
3421         (dispatch): adjust
3422
3423         * text2.C (setLayout): adjust
3424         (changeDepth): adjust
3425         (setFont): adjust
3426         (redoParagraphs): adjust
3427         (selectionAsString): adjust
3428         (setParagraph): adjust
3429         (insertInset): adjust
3430         (cutSelection): adjust
3431         (copySelection): adjust
3432         (pasteSelection): adjust
3433         (insertStringAsLines): adjust
3434         (updateInset): adjust
3435         (setCursor): change to take a ParagraphList::iterator parameter
3436         (setCursorIntern): change to take a ParagraphList::iterator parameter
3437         (setCurrentFont): adjust
3438         (cursorLeft): adjust
3439         (cursorRight): adjust
3440         (deleteEmptyParagraphMechanism): adjust
3441
3442         * text.C (breakParagraph): adjust
3443         (insertChar): adjust
3444         (acceptChange): adjust
3445         (rejectChange): adjust
3446         (selectNextWordToSpellcheck): adjust
3447         (changeCase): adjust
3448         (Delete): adjust
3449         (backspace): adjust
3450
3451         * lyxfind.C (SearchForward): adjust
3452         (SearchBackward): adjust
3453         (nextChange): adjust
3454
3455         * lyxcursor.C (par): adjust
3456
3457         * lyxcursor.h: store a ParagraphList::iterator instead of a
3458         Paragraph*
3459
3460         * lyx_cb.C (getPossibleLabel): adjust
3461
3462         * bufferview_funcs.C (toggleAndShow): adjust
3463
3464         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3465         (dispatch): adjust
3466
3467         * BufferView.C (removeAutoInsets): adjust
3468         (lockedInsetStoreUndo): adjust
3469
3470 2003-04-09  John Levon  <levon@movementarian.org>
3471
3472         * ToolbarBackend.C: try icon without argument
3473         if with argument fails
3474
3475 2003-04-08  John Levon  <levon@movementarian.org>
3476
3477         * ToolbarBackend.h:
3478         * ToolbarBackend.C: add getIcon(), handle tooltip,
3479         and change from "Icon" to "Item".
3480
3481 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3482
3483         * BufferView.C (lockInset): another bad getchar crunched
3484
3485 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3486
3487         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3488         again)
3489
3490 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3491
3492         * lyxfind.C (searchForward, searchBackwards): bug 782
3493
3494 2003-04-07  John Levon  <levon@movementarian.org>
3495
3496         * paragraph.C: remove dead comment
3497
3498         * text.C: remove troublesome depth-fiddling code
3499         in leftMargin() and rightMargin() (bug 1017)
3500
3501         * text.C: fix breaking of rows in nested lists
3502         (bug 1004)
3503
3504         * text2.C (updateCounters): fix up depth values
3505         (bug 1013)
3506
3507 2003-04-07  John Levon  <levon@movementarian.org>
3508
3509         * BufferView_pimpl.C: clear message when doc finishes resizing,
3510         and after a mouse event
3511
3512         * lyxfunc.C: clear message after exiting inset
3513
3514 2003-04-07  John Levon  <levon@movementarian.org>
3515
3516         * bufferview_funcs.C: show math status not outside
3517         status in the statusbar
3518
3519 2003-04-07  John Levon  <levon@movementarian.org>
3520
3521         * lyxfunc.C: note status changed after a depth change
3522
3523 2003-04-04  Angus Leeming  <leeming@lyx.org>
3524
3525         * LaTeX.h: move AuxInfo operator==, != out of line.
3526         Remove LaTeX virtual destructor; nothing derives from it.
3527         Move operator()() out of public area and rename it startscript().
3528         Change protected for private.
3529
3530 2003-04-04  Angus Leeming  <leeming@lyx.org>
3531
3532         * lyxfunc.C:
3533         * text2.C: remove unneeded #includes.
3534
3535 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3536
3537         * text2.C (dEPM): fix the heigth of the next row
3538
3539 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3540
3541         * text.C: squashed an invalid getChar requester + some ws changes
3542
3543 2003-04-03  John Levon  <levon@movementarian.org>
3544
3545         * bufferview_funcs.h:
3546         * bufferview_funcs.C:
3547         * lyxfunc.C:
3548         * lyxtext.h:
3549         * text2.C: make getStatus work for the env depth lfuns
3550
3551 2003-04-03  John Levon  <levon@movementarian.org>
3552
3553         * bufferview_funcs.h:
3554         * bufferview_funcs.C:
3555         * lyxfunc.C:
3556         * lyxtext.h:
3557         * text2.C: parlistize decDepth(), by merging it with incDepth()
3558
3559 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3560
3561         * lyxrow.h: store a ParagraphList::iterator instead of a
3562         Paragraph* and adjust other class functions to suit.
3563
3564         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3565         above.
3566
3567 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3568
3569         * text2.C (setCursor): do not anchor to cursor row for the time being
3570
3571 2003-04-02  John Levon  <levon@movementarian.org>
3572
3573         * LyXAction.C:
3574         * lfuns.h:
3575         * lyx_main.C:
3576         * lyxtext.h:
3577         * text.C:
3578         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3579
3580 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3581
3582         * paragraph.h: make ParagraphList and ParagraphList::iterator
3583         friends of Paragraph.
3584
3585         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3586
3587         * ParagraphList.C: Use the private next_ and previous_ from
3588         Paragraph.
3589
3590 2003-04-01  John Levon  <levon@movementarian.org>
3591
3592         * ToolbarBackend.h:
3593         * ToolbarBackend.C:
3594         * Makefile.am: rename, remove defaults gunk
3595
3596         * MenuBackend.h:
3597         * MenuBackend.C: remove defaults gunk
3598
3599         * Languages.h:
3600         * Languages.C: remove defaults gunk
3601
3602         * lyx_main.h:
3603         * lyx_main.C: error out if files couldn't be found.
3604
3605 2003-04-02  John Levon  <levon@movementarian.org>
3606
3607         * text2.C: make incDepth() use parlist
3608
3609 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * undo_funcs.C (firstUndoParagraph): adjust
3612
3613         * text3.C (gotoInset): adjust
3614         (dispatch): adjust, and rewrite loop.
3615
3616         * text2.C (init): adjust, and rewrite loop.
3617         (redoParagraphs): adjust
3618         (updateInset): adjust, and rewrite loop.
3619         (deleteEmptyParagraphMechanism): adjust
3620
3621         * tabular.C (LyXTabular): adjust
3622         (SetMultiColumn): adjust
3623         (TeXRow): adjust
3624
3625         * lyxtext.[Ch] (ownerParagraph): delete function
3626         (ownerParagraphs): new function returns a ParagraphList.
3627
3628         * BufferView.C (removeAutoInsets): adjust
3629         (insertErrors): adjust
3630         (setCursorFromRow): adjust
3631
3632 2003-04-01  Angus Leeming  <leeming@lyx.org>
3633
3634         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3635         in the frontends.
3636
3637 2003-04-02  John Levon  <levon@movementarian.org>
3638
3639         * lyxtext.h:
3640         * text.C:
3641         * Makefile.am:
3642         * text_funcs.h:
3643         * text_funcs.C: make transposeChars a free function
3644
3645         * lyxrow_funcs.C: remove wrong comment
3646
3647 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3648
3649         * lyxtext.h: adjust
3650         * rowpainter.C: adjust
3651         * text.C: adjust
3652         * text2.C: adjust
3653         * text3.C: adjust
3654
3655         * lyxrow_funcs. [Ch]: new files
3656
3657         * lyxrow.[Ch]: remove next and previous pointers
3658         (next,previous): remove accessor functions
3659         (isParEnd): move to lyxrow_funcs
3660         (lastPos): move to lyxrow_funcs
3661         (nextRowIsAllInset): move to lyxrow_funcs
3662         (lastPrintablePos): move to lyxrow_funcs
3663         (numberOfSeparators): move to lyxrow_funcs
3664         (numberOfHfills): move to lyxrow_funcs
3665         (numberOfLabelHfills): move to lyxrow_funcs
3666         (hfillExpansion): move to lyxrow_funcs
3667
3668         * lyxfunc.C: adjust
3669
3670         * bufferview_funcs.C (toggleAndShow): adjust
3671
3672         * RowList.h: Remove class RowList from file leave just a
3673         std::list<Row>.
3674
3675         * RowList.C: delete file
3676
3677         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3678         and lyxrow_funcs.h
3679
3680 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * text3.C (cursorPrevious): adjust
3683         (cursorNext): adjust
3684         (dispatch): adjust
3685
3686         * text2.C (redoHeightOfParagraph): adjust
3687         (redoDrawingOfParagraph): adjust
3688         (setCursor): adjust
3689
3690         * text.C (breakParagraph): adjust
3691         (insertChar): adjust
3692         (backspace): adjust
3693
3694         * rowpainter.C (RowPainter): adjust
3695         (leftMargin): simplify and adjust
3696         (most rowpainter functions): adjust.
3697
3698         * rowpainter.h: store the row as RowList::iterator not as Row*
3699
3700         * lyxcursor.C (row): taka RowList::iterator as arg
3701         (irow): ditto
3702
3703         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3704         of Row*.
3705
3706 2003-04-01  Angus Leeming  <leeming@lyx.org>
3707
3708         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3709         stuff like bool Bool.
3710
3711 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3712
3713         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3714         rewrite a loop
3715
3716 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3717
3718         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3719         RowList::iterator.
3720
3721         * lyxtext.h (rows): drop one version and leve a const variant that
3722         returns a RowList::iterator.
3723
3724 2003-03-31  Angus Leeming  <leeming@lyx.org>
3725
3726         * text.C (fill): ensure that the signature is the same as that in the
3727         header file.
3728
3729 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3730
3731         * text2.C (redoParagraphs): adjust
3732         (updateCounters): adjust
3733         (checkParagraph): adjust
3734         (getColumnNearX): adjust and reformat a bit.
3735
3736         * text.C (top_y): adjust
3737         (workWidth): adjust
3738         (leftMargin): adjust
3739         (prepareToPrint): adjust
3740         (getRow): adjust
3741         (getRowNearY): adjust
3742
3743         * lyxtext.h: make rowlist_ mutable.
3744
3745         * RowList.h: add const_iterator
3746         * RowList.C: adjust for RowList::const_iterator.
3747
3748         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3749         adjust.
3750
3751 2003-03-31  John Levon  <levon@movementarian.org>
3752
3753         * lyxrc.h:
3754         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3755
3756         * lyx_main.C: set default fonts from using lyx_gui funcs
3757
3758         * exporter.C: pdf_mode moved from lyxrc
3759
3760         * lyx_cb.C:
3761         * lyxfunc.C: changes from above
3762
3763 2003-03-31  John Levon  <levon@movementarian.org>
3764
3765         * lyx_main.C: fix to the last fix
3766
3767 2003-03-31  John Levon  <levon@movementarian.org>
3768
3769         * bufferlist.C: "Load original" -> "Load Original"
3770
3771         * converter.C:
3772         * exporter.C:
3773         * importer.C:
3774         * lyx_main.C:
3775         * format.C: more Alert cleanups
3776
3777 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3778
3779         * text2.C (removeParagraph): make it take a RowList::iterator as
3780         arg, adjust.
3781         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3782         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3783
3784         * text.C (anchor_row): make it take a RowList::iterator as arg,
3785         adjust.
3786         (computeBidiTables): make it take a const reference to Row instead
3787         of Row pointer, adjust.
3788         (leftMargin): make it take a RowList::iterator as arg, adjust.
3789         (rowBreakPoint): adjust
3790         (breakAgainOneRow): make it take a RowList::iterator as arg,
3791         adjust.
3792         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3793
3794         * bufferview_funcs.C (toggleAndShow): adjust
3795
3796 2003-03-30  John Levon  <levon@movementarian.org>
3797
3798         * Makefile.am:
3799         * BoostFormat.h:
3800         * boost-inst.C: moved to support
3801
3802         * several files: changes as a result
3803
3804 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3805
3806         * text2.C (LyXText): adjust.
3807         (init): adjust
3808         (removeRow): make it take a RowList::iterator as arg, adjust.
3809         (fullRebreak): adjust
3810         (deleteEmptyParagraphMechanism): adjust
3811         (clearPaint): adjust
3812         (postPaint): adjust
3813
3814         * text.C (top_y): adjust
3815         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3816         (breakAgain): make it take a RowList::iterator as arg, adjust.
3817         (breakParagraph): adjust
3818         (insertChar): adjust
3819         (backspace): adjust
3820
3821         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3822         need_break_row, and refresh_row.
3823
3824         * text3.C (dispatch): adjust
3825
3826         * text2.C (checkParagraph): adjust
3827         (setCursor): adjust
3828         (setCursorFromCoordinates): adjust
3829
3830         * text.C (top_y): adjust
3831         (workWidth): adjust
3832         (getRow): make it return a RowList::iterator, adjust
3833         (getRowNearY): make it return a RowList::iterator, adjust
3834
3835         * text2.C (init): adjust
3836         (insertRow): remove function
3837         (insertParagraph): adjust
3838         (redoParagraphs): adjust
3839         (fullRebreak): adjust
3840         (updateCounters): adjust
3841
3842         * text.C (top_y): rewrite to use RowList iterators.
3843         (top_y): adjust
3844         (setHeightOfRow): rewrite to sue RowList iterators.
3845         (appendParagraph): adjust
3846         (breakAgain): adjust
3847         (breakAgainOneRow): adjust
3848         (breakParagraph): adjust
3849         (getRow): adjust
3850         (getRowNearY): adjust, and remove commented code.
3851
3852         * lyxtext.h (firstRow): delete function
3853         (lastRow): delete function
3854         (rows): new function (const and non-const versions.)
3855         (insertRow): delete function
3856
3857         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3858
3859 2003-03-29  John Levon  <levon@movementarian.org>
3860
3861         * BufferView_pimpl.C: always update scrollbar top
3862         because pasting text when we're anchored could mean we
3863         miss an update altogether
3864
3865 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3866
3867         * text2.C (init): use rowlist_.end() and not 0.
3868         (insertRow): change to take a RowList::iterator as arg, adjust
3869         for this.
3870         (insertParagraph): change to take a RowList::iterator as arg,
3871         adjust for this.
3872         (redoParagraphs): remove some debug msgs.
3873
3874         * text.C (appendParagraph): change to take a RowList::iterator
3875         arg, adjust for this.
3876         (breakAgain): add an assert
3877         (breakAgainOneRow): ditto
3878
3879 2003-03-29  John Levon  <levon@movementarian.org>
3880
3881         * text2.C: do not clear selection after inc/decDepth
3882         (bug 550)
3883
3884 2003-03-29  John Levon  <levon@movementarian.org>
3885
3886         * BufferView.C:
3887         * buffer.C: fix broken strerrors according to Lars
3888
3889 2003-03-29  John Levon  <levon@movementarian.org>
3890
3891         * converters.C: more Alert cleanups
3892
3893 2003-03-29  John Levon  <levon@movementarian.org>
3894
3895         * bufferview_funcs.C: remove pointless Alert
3896
3897         * buffer.C: fix confusing error message when
3898         a template is chmoded 000
3899
3900 2003-03-29  John Levon  <levon@movementarian.org>
3901
3902         * BufferView.C:
3903         * BufferView.h:
3904         * BufferView_pimpl.C: Alert fixes
3905
3906         * Makefile.am:
3907         * tabular.C:
3908         * tabular-old.C: remove unused table compat reading
3909
3910 2003-03-29  John Levon  <levon@movementarian.org>
3911
3912         * BufferView.C:
3913         * buffer.C:
3914         * lyx_cb.h:
3915         * lyx_cb.C: more Alert cleanups
3916
3917         * lyxfunc.C: don't allow chktex if not latex document
3918
3919 2003-03-29  John Levon  <levon@movementarian.org>
3920
3921         * lyx_cb.C:
3922         * BufferView.C:
3923         * buffer.C: warnings pushed down from support/,
3924         kill err_alert
3925
3926 2003-03-29  John Levon  <levon@movementarian.org>
3927
3928         * lyxfunc.C: safety check for C-r (revert)
3929
3930 2003-03-29  John Levon  <levon@movementarian.org>
3931
3932         * bufferlist.h:
3933         * bufferlist.C: several UI fixes using Alert::prompt.
3934         Fix the pointless looping quit code. Fix stupid revert
3935         behaviour (bug 938)
3936
3937         * lyxvc.h:
3938         * lyxvc.C:
3939         * lyx_cb.C: use Alert::prompt
3940
3941         * lyx_main.C: remove a silly question
3942
3943         * lyxfunc.C: remove a couple of silly questions,
3944         use Alert::prompt
3945
3946 2003-03-28  John Levon  <levon@movementarian.org>
3947
3948         * text2.C: fix bug 974 (End on empty par)
3949
3950 2003-03-28  John Levon  <levon@movementarian.org>
3951
3952         * BufferView_pimpl.C:
3953         * LyXAction.C:
3954         * lfuns.h: remove do-nothing math greek lfuns
3955
3956 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3957
3958         * lyxgluelength.h (isValidGlueLength): add default arg on
3959         parameter 2. Remove default arg from friend in class.
3960
3961         * lyxlength.h (isValidLength): add default arg on parameter 2.
3962         Remove default arg from friend in class.
3963
3964         * text2.C (LyXText): adjust, initialize refresh_row.
3965         (init): adjust
3966         (removeRow): adjust
3967         (insertRow): adjust
3968         (insertParagraph): adjst
3969         (redoParagraphs): adjust
3970         (fullRebreak): adjust
3971         (updateCounters): adjust
3972         (deleteEmptyParagraphMechanism): first attempt at fixing a
3973         crashing bug.
3974
3975         * text.C (top_y): adjust
3976         (setHeightOfRow): adjust
3977         (getRow): adjust
3978         (getRowNearY): adjust
3979
3980         * lyxtext.h: include RowList.h
3981         (~LyXText): not needed anymore, deleted.
3982         (firstRow): modify for RowList
3983         (lastRow): new function
3984         Delete firstrow and lastrow class variables, add a Rowlist
3985         rowlist_ class variable.
3986
3987         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3988         paragraph is empty.
3989
3990         * RowList.C (insert): fix case where it == begin().
3991
3992 2003-03-26  Angus Leeming  <leeming@lyx.org>
3993
3994         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3995         the thesaurus dialog.
3996
3997 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3998
3999         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4000
4001         * RowList.[Ch]: new files
4002
4003         * ParagraphList.C (erase): handle the case where it == begin
4004         correctly.
4005
4006 2003-03-25  John Levon  <levon@movementarian.org>
4007
4008         * Makefile.am:
4009         * aspell_local.h:
4010         * aspell.C: add new aspell support
4011
4012         * lyxrc.h:
4013         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4014         have it accessible.
4015
4016 2003-03-25  Angus Leeming  <leeming@lyx.org>
4017
4018         * lfuns.h:
4019         * LyXAction.C (init): new LFUN_INSET_INSERT.
4020
4021         * BufferView_pimpl.C (dispatch): split out part of the
4022         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4023
4024         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4025         LFUN_INSET_APPLY.
4026
4027 2003-03-25  Angus Leeming  <leeming@lyx.org>
4028
4029         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4030
4031 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4032
4033         * text2.C:
4034         * text3.C: remove useless row->height(0)
4035
4036 2003-03-25  John Levon  <levon@movementarian.org>
4037
4038         * lyxtext.h:
4039         * text2.C:
4040         * text3.C: rename the refreshing stuff to better names
4041
4042 2003-03-24  John Levon  <levon@movementarian.org>
4043
4044         * BufferView_pimpl.h:
4045         * BufferView_pimpl.C: update layout choice on a mouse
4046         press/release
4047
4048 2003-03-23  John Levon  <levon@movementarian.org>
4049
4050         * Makefile.am: fix commandtags.h reference
4051
4052 2003-03-22  John Levon  <levon@movementarian.org>
4053
4054         * BufferView_pimpl.C:
4055         * lyxtext.h:
4056         * rowpainter.C:
4057         * rowpainter.h:
4058         * text.C:
4059         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4060
4061 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4062
4063         * lyxtext.h:
4064         * text.C: take the rtl methods out of line
4065
4066 2003-03-21 André Pönitz <poenitz@gmx.net>
4067
4068         * metricsinfo.[Ch]: new files containing structures to be passed around
4069         during the two-phase-drawing...
4070
4071 2003-03-21 André Pönitz <poenitz@gmx.net>
4072
4073         * lyxtextclass.C: read 'environment' tag.
4074
4075 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4076
4077         * text2.C (removeRow): fix bug 964
4078
4079 2003-03-20  John Levon  <levon@movementarian.org>
4080
4081         * rowpainter.C:
4082         * text.C:
4083         * text2.C: paint cleanups. Inset::update() dropped font
4084         parameter
4085
4086 2003-03-19  John Levon  <levon@movementarian.org>
4087
4088         * lyxfunc.C: only fitcursor/markDirty if available()
4089
4090 2003-03-19  John Levon  <levon@movementarian.org>
4091
4092         * commandtags.h: rename to ...
4093
4094         * lfuns.h: ... this, and renumber / cleanup
4095
4096 2003-03-19  John Levon  <levon@movementarian.org>
4097
4098         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4099         fit the cursor after an lfun
4100
4101         * BufferView.h:
4102         * BufferView.C:
4103         * BufferView_pimpl.h:
4104         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4105
4106         * LyXAction.C: layout-character should have ReadOnly
4107
4108         * ParagraphParameters.C:
4109         * buffer.C:
4110         * bufferview_funcs.C:
4111         * lyx_cb.C:
4112         * lyxfind.C:
4113         * lyxtext.h:
4114         * text.C:
4115         * text2.C:
4116         * text3.C:
4117         * undo_funcs.C: changes from above
4118
4119 2003-03-18  John Levon  <levon@movementarian.org>
4120
4121         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4122         remove it from update()
4123
4124         * lyxfunc.C: update layout choice after an lfun
4125
4126         * text3.C: remove extra updateLayoutChoice()s
4127
4128 2003-03-18  John Levon  <levon@movementarian.org>
4129
4130         * text.C: top_y change means full repaint, fix
4131         a drawing bug with cursor movement
4132
4133 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4134
4135         * lyxtext.h:
4136         * text.C:
4137         * text2.C: anchor row on setCursor
4138
4139 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4140
4141         * lyxtext.h: remove almost all mutable keywords
4142         * text.C:
4143         * text2.C:
4144         * text3.C: remove const keywords accordingly
4145
4146 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4147
4148         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4149         anon namespace
4150         (TeXEnvironment): ditto
4151         (TeXOnePar): ditto
4152
4153 2003-03-17  John Levon  <levon@movementarian.org>
4154
4155         * text.C (rowBreakPoint): remove attempt to fix displayed
4156         math insets inside a manual label
4157
4158 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4159
4160         * lyxtext.h: remove BufferView* as first arg from almost all class
4161         functions.
4162         * other files: adjust.
4163
4164 2003-03-17  John Levon  <levon@movementarian.org>
4165
4166         * lyxtext.h:
4167         * undo_funcs.C:
4168         * text2.C: more paint cleanups
4169
4170         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4171
4172         * rowpainter.h:
4173         * rowpainter.C: remove "smart" background painting code
4174
4175 2003-03-16  John Levon  <levon@movementarian.org>
4176
4177         * lyxtext.h:
4178         * text.C:
4179         * text2.C:
4180         * text3.C: add helper functions for setting refresh_row/y
4181
4182 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4183
4184         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4185         newline inset which *can* get inserted in the pass_thru layouts.
4186         This is primarily for literate documents.
4187
4188 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4189
4190         * buffer.C: increment LYX_FORMAT to 223
4191
4192 2003-03-14 André Pönitz <poenitz@gmx.net>
4193
4194         * textclass.h: prepare for environment handling, ws changes
4195         * lyxlayout.C: read latexheader and latexfooter tags
4196
4197 2003-03-14  John Levon  <levon@movementarian.org>
4198
4199         * text2.C: rewrite ::status() a bit
4200
4201 2003-03-13  John Levon  <levon@movementarian.org>
4202
4203         * lyxtext.h: add some docs
4204
4205 2003-03-13  John Levon  <levon@movementarian.org>
4206
4207         * lyxtext.h:
4208         * text.C:
4209         * text2.C:
4210         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4211
4212 2003-03-13  John Levon  <levon@movementarian.org>
4213
4214         * text3.C: fix appendix redrawing
4215
4216 2003-03-13  John Levon  <levon@movementarian.org>
4217
4218         * text.C (setHeightOfRow):
4219         * rowpainter.h:
4220         * rowpainter.C: make appendix mark have the text
4221           "Appendix" so the user knows what it is
4222
4223         * LColor.h:
4224         * LColor.C: s/appendixline/appendix/ from above
4225
4226 2003-03-13  John Levon  <levon@movementarian.org>
4227
4228         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4229
4230         * text.C: fix a getChar(pos) bug properly
4231
4232 2003-03-13  Angus Leeming  <leeming@lyx.org>
4233
4234         * commandtags.h:
4235         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4236         Probably only temporary. Let's see how things pan out.
4237
4238         * BufferView.C (unlockInset):
4239         * BufferView_pimpl.C (fitCursor):
4240         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4241
4242         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4243         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4244
4245         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4246         new functions that convert ParagraphParameters to and from a string.
4247
4248         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4249         BufferView::Pimpl's dispatch.
4250         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4251
4252 2003-03-13 André Pönitz <poenitz@gmx.net>
4253
4254         * lyxfunc.C:
4255         * text3.C:
4256         * factory.C: make it aware of InsetEnv
4257
4258 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4259
4260         * text2.C (setCursor): never ask for one past last
4261         (setCursor): add some debugging messages.
4262
4263         * text.C (singleWidth): never ask for one past last
4264         (singleWidth): ditto
4265         (leftMargin): ditto
4266         (rightMargin): ditto
4267         (rowBreakPoint): ditto
4268         (setHeightOfRow): ditto
4269         (prepareToPrint): ditto
4270
4271         * rowpainter.C (paintBackground): never ask for one past last
4272         (paintText): never ask for one past last
4273
4274         * paragraph_pimpl.C (getChar): make the assert stricter, never
4275         allow the one past last pos to be taken
4276
4277         * paragraph.C (getChar): ws changes only
4278
4279         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4280         (numberOfSeparators): ditto
4281         (numberOfHfills): ditto
4282
4283 2003-03-12  John Levon  <levon@movementarian.org>
4284
4285         * author.h:
4286         * author.C:
4287         * bufferparams.h:
4288         * bufferparams.C:
4289         * paragraph_funcs.C: fix per-buffer authorlists
4290
4291 2003-03-12  John Levon  <levon@movementarian.org>
4292
4293         * text.C: fix newline in right address
4294
4295 2003-03-12  Angus Leeming  <leeming@lyx.org>
4296
4297         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4298         duplicate those in LyXFunc::dispatch.
4299
4300         * commandtags.h:
4301         * LyXAction.C:
4302         * ToolbarDefaults.C:
4303         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4304         Add LFUN_FONTFREE_UPDATE.
4305
4306         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4307         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4308
4309         * bufferview_func.[Ch]: several new functions to facilliate
4310         transfer of data to and from the character dialog.
4311
4312 2003-03-12  John Levon  <levon@movementarian.org>
4313
4314         * buffer.C:
4315         * paragraph.h:
4316         * paragraph.C:
4317         * paragraph_funcs.C:
4318         * paragraph_pimpl.C:
4319         * sgml.C:
4320         * tabular.C:
4321         * text.C:
4322         * text3.C: remove META_NEWLINE in favour of an inset
4323
4324         * rowpainter.h:
4325         * rowpainter.C: remove paintNewline (done by inset)
4326
4327 2003-03-12  John Levon  <levon@movementarian.org>
4328
4329         * paragraph_pimpl.C: complain about bad getChar()s
4330         for a while at least
4331
4332 2003-03-12  John Levon  <levon@movementarian.org>
4333
4334         * buffer.h:
4335         * buffer.C: move paragraph read into a separate function,
4336         a little renaming to reflect that.
4337
4338         * bufferparams.h:
4339         * bufferparams.C: remove the author_ids map, not necessary now
4340
4341         * factory.h:
4342         * factory.C: moved Buffer::readInset to here
4343
4344         * paragraph_funcs.h:
4345         * paragraph_funcs.C: readParagraph free function moved from
4346         buffer.C
4347
4348         * tabular.C: name change
4349
4350 2003-03-12  John Levon  <levon@movementarian.org>
4351
4352         * buffer.C:
4353         * ParagraphParameters.C: move par params input to
4354         a read() method
4355
4356         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4357         behave like a normal read from the stream wrt reading
4358         a line vs. a \\token
4359
4360 2003-03-12  John Levon  <levon@movementarian.org>
4361
4362         * paragraph.C:
4363         * ParagraphParameters.h:
4364         * ParagraphParameters.C: move output code to a
4365         ::write() method
4366
4367 2003-03-12  John Levon  <levon@movementarian.org>
4368
4369         * BufferView.C (insertLyXFile):
4370         * buffer.h:
4371         * buffer.C:
4372         * tabular.C: use a parlist iterator for creating the
4373           document.
4374
4375 2003-03-12  John Levon  <levon@movementarian.org>
4376
4377         * buffer.C: make current_change static local not
4378           static file-scope
4379
4380 2003-03-12  John Levon  <levon@movementarian.org>
4381
4382         * buffer.C: fix insertStringAsLines for change tracking
4383
4384 2003-03-12  John Levon  <levon@movementarian.org>
4385
4386         * BufferView.C:
4387         * tabular.C:
4388         * buffer.h:
4389         * buffer.C:
4390         * bufferparams.h:
4391         * bufferparams.C: move author list into params. Rename some
4392           functions. Move the header reading into a separate token
4393           loop. Move the header token reading into BufferParams.
4394
4395 2003-03-12  John Levon  <levon@movementarian.org>
4396
4397         * changes.C: put debug inside lyxerr.debugging() checks
4398
4399 2003-03-11 André Pönitz <poenitz@gmx.net>
4400
4401         * factory.C: make it aware of InsetHFill
4402
4403 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4404
4405         * buffer.C (latexParagraphs): move function from here...
4406         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4407         args.
4408
4409 2003-03-10  Angus Leeming  <leeming@lyx.org>
4410
4411         * LyXAction.C (init): fix bug in poplating array with multiple entries
4412         with the same LFUN (spotted by JMarc).
4413
4414 2003-03-10  John Levon  <levon@movementarian.org>
4415
4416         * text.C:
4417         * text2.C: move getColumnNearX() near its
4418         only call site
4419
4420 2003-03-10  John Levon  <levon@movementarian.org>
4421
4422         * text.C: fix break before a minipage
4423
4424 2003-03-10  John Levon  <levon@movementarian.org>
4425
4426         * text.C: fix the last commit
4427
4428 2003-03-09  John Levon  <levon@movementarian.org>
4429
4430         * lyxtext.h:
4431         * text.C:
4432         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4433         bug 365 (don't break before insets unless needed). Don't
4434         return a value > last under any circumstances.
4435
4436 2003-03-09  Angus Leeming  <leeming@lyx.org>
4437
4438         * BufferView_pimpl.C (trackChanges, dispatch): call
4439         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4440
4441 2003-03-09  Angus Leeming  <leeming@lyx.org>
4442
4443         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4444         than Dialogs::showAboutlyx().
4445
4446 2003-03-09  Angus Leeming  <leeming@lyx.org>
4447
4448         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4449         than Dialogs::showTabularCreate().
4450
4451 2003-03-09  John Levon  <levon@movementarian.org>
4452
4453         * lyxtext.h:
4454         * text.C:
4455         * text2.C: 3rd arg to nextBreakPoint was always the same.
4456           Use references.
4457
4458 2003-03-08  John Levon  <levon@movementarian.org>
4459
4460         * lyxrow.C:
4461         * paragraph.C:
4462         * paragraph.h:
4463         * rowpainter.C:
4464         * text.C:
4465         * text2.C: Remove the "main" bit from the "main body"
4466           notion.
4467
4468 2003-03-08  John Levon  <levon@movementarian.org>
4469
4470         * text.C (leftMargin): The left margin of an empty
4471         manual label paragraph should not include the label width
4472         string length.
4473
4474         * text.C (prepareToPrint): don't attempt to measure hfills
4475         for empty manual label paragraphs - the answer should be 0
4476
4477 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4478
4479         * CutAndPaste.C: remove commented code and reindent.
4480
4481 2003-03-08  John Levon  <levon@movementarian.org>
4482
4483         * lyxfunc.h:
4484         * lyxfunc.C: move reloadBuffer()
4485
4486         * BufferView.h:
4487         * BufferView.C: to here
4488
4489         * lyxvc.C: add comment
4490
4491         * vc-backend.h:
4492         * vc-backend.C: call bv->reload() to avoid
4493           getStatus() check on MENURELOAD
4494
4495 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4496
4497         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4498         to an old format .dep file.
4499
4500 2003-03-07  Angus Leeming  <leeming@lyx.org>
4501
4502         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4503         when the LFUN_MOUSE_RELEASE should have been handled by
4504         inset->localDispatch.
4505
4506 2003-03-07  Angus Leeming  <leeming@lyx.org>
4507
4508         * BufferView_pimpl.C (dispatch):
4509         * LyXAction.C (init):
4510         * ToolbarDefaults.C (init):
4511         * commandtags.h:
4512         * lyxfunc.C (getStatus):
4513         remove LFUN_INSET_GRAPHICS.
4514
4515         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4516
4517 2003-03-07  Angus Leeming  <leeming@lyx.org>
4518
4519         * commandtags.h:
4520         * LyXAction.C (init):
4521         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4522
4523         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4524
4525         * commandtags.h:
4526         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4527
4528         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4529         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4530
4531 2003-03-07  Angus Leeming  <leeming@lyx.org>
4532
4533         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4534         remove "ert".
4535
4536 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4537
4538         * ParagraphList.C (front): new function
4539         (back): implement
4540
4541 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4542
4543         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4544         and top_row_offset_. removed var first_y.
4545         * text.C (top_y):
4546         * text2.C (LyXText, removeRow):
4547         * text3.C:
4548         * BufferView_pimpl.C:
4549         use these methods instead of using first_y
4550
4551 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4552
4553         * text2.C (pasteSelection): adjust for checkPastePossible
4554
4555         * CutAndPaste.C: remove Paragraph * buf and replace with
4556         ParagraphList paragraphs.
4557         (DeleteBuffer): delete
4558         (cutSelection): change the tc type to textclass_type
4559         (copySelection): change the tc type to textclass_type
4560         (copySelection): adjust for ParagraphList
4561         (pasteSelection): change the tc type to textclass_type
4562         (pasteSelection): adjust for Paragraphlist
4563         (nrOfParagraphs): simplify for ParagraphList
4564         (checkPastePossible): simplify for ParagraphList
4565         (checkPastePossible): remove unused arg
4566
4567         * ParagraphList.C (insert): handle the case where there are no
4568         paragraphs yet.
4569
4570         * CutAndPaste.h: make CutAndPaste a namespace.
4571
4572         * text3.C (dispatch): adjust
4573
4574         * text.C (breakParagraph): add a ParagraphList as arg
4575
4576         * paragraph_funcs.C (breakParagraph): change to take a
4577         BufferParams and a ParagraphList as args.
4578         (breakParagraphConservative): ditto
4579         (mergeParagraph): ditto
4580         (TeXDeeper): add a ParagraphList arg
4581         (TeXEnvironment): ditto
4582         (TeXOnePar): ditto
4583
4584         * buffer.C (readLyXformat2): adjust
4585         (insertStringAsLines): adjust
4586         (latexParagraphs): adjust
4587
4588         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4589         (cutSelection): adjust
4590         (pasteSelection): adjust
4591
4592         * BufferView_pimpl.C (insertInset): adjust
4593
4594 2003-03-05  Angus Leeming  <leeming@lyx.org>
4595
4596         * commandtags.h:
4597         * LyXAction.C (init):
4598         * BufferView_pimpl.C (dispatch):
4599         * lyxfunc.C (getStatus):
4600         remove LFUN_CHILD_INSERT.
4601
4602         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4603
4604 2003-03-05  Angus Leeming  <leeming@lyx.org>
4605
4606         * commandtags.h:
4607         * LyXAction.C (init):
4608         * src/factory.C (createInset):
4609         * lyxfunc.C (getStatus):
4610         * text3.C (dispatch):
4611         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4612
4613         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4614
4615 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4616
4617         * ParagraphList.C (insert): handle insert right before end()
4618         (erase): fix cases where it can be first or last paragraph.
4619
4620 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4621
4622         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4623         Paragraph::next and Paragraph::previous
4624         (TeXOnePar): ditto
4625
4626         * text.C (breakParagraph): adjust
4627
4628         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4629         BufferParams& as arg.
4630         (breakParagraph): use ParagraphList::insert
4631         (breakParagraphConservative): take a Buffer* instead of a
4632         BufferParams& as arg.
4633         (breakParagraphConservative): use ParagraphList::insert.
4634
4635         * buffer.C (insertStringAsLines): un-const it
4636         (insertStringAsLines): adjust
4637
4638         * ParagraphList.C (insert): new function
4639
4640         * CutAndPaste.C (pasteSelection): adjust
4641
4642         * text.C (backspace): adjust
4643
4644         * tabular.C (SetMultiColumn): adjust
4645
4646         * CutAndPaste.C (cutSelection): adjust
4647         (pasteSelection): adjust
4648
4649         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4650         Buffer const * as arg
4651
4652         * ParagraphList.C (erase): new function
4653         * paragraph_funcs.C (mergeParagraph): use it
4654         (mergeParagraph): make it take a Buffer* instead of a
4655         BufferParams* as arg
4656
4657         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4658         as arg
4659         (breakParagraphConservative): ditto
4660
4661         * paragraph.h: remove the breakParagraph friend
4662
4663         * paragraph.C (eraseIntern): new function
4664         (setChange): new function
4665
4666         * paragraph_funcs.C (mergeParagraph): make it take a
4667         ParagraphList::iterator instead of a Paragraph *, adjust
4668         accordingly.
4669
4670         * paragraph.h: move an #endif so that the change tracking stuff
4671         also works in the NO_NEXT case.
4672
4673 2003-03-04  Angus Leeming  <leeming@lyx.org>
4674
4675         * commandtags.h:
4676         * LyXAction.C: new LFUN_INSET_MODIFY.
4677
4678         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4679         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4680
4681 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4682
4683         * several files: ws changes only
4684
4685         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4686         (TeXEnvironment): ditto
4687         (TeXDeeper): ditto
4688
4689         * buffer.C (makeLaTeXFile): adjust
4690         (latexParagraphs): make it take ParagraphList::iterator as args
4691
4692 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4693
4694         * buffer.C (latexParagraphs): adjust
4695
4696         * paragraph.C (TeXOnePar): move function...
4697         (optArgInset): move function...
4698         (TeXEnvironment): move function...
4699         * paragraph_pimpl.C (TeXDeeper): move function...
4700         * paragraph_funcs.C: ...here
4701
4702         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4703
4704 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * buffer.C (readInset): remove compability code for old Figure and
4707         InsetInfo insets
4708
4709 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4710
4711         * buffer.C: ws changes
4712         (readInset):
4713
4714         * BufferView_pimpl.C: ditto
4715         * author.C: ditto
4716         * buffer.h: ditto
4717         * bufferlist.h: ditto
4718         * changes.h: ditto
4719         * lyxfunc.C: ditto
4720
4721 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4722
4723         * converter.[Ch]: split into itself +
4724         * graph.[Ch]
4725         * format.[Ch]
4726         * Makefile.am: += graph.[Ch] + format.[Ch]
4727         * MenuBackend.C
4728         * buffer.C
4729         * exporter.C
4730         * importer.C
4731         * lyx_main.C
4732         * lyxfunc.C
4733         * lyxrc.C: added #include "format.h"
4734
4735 2003-02-27  Angus Leeming  <leeming@lyx.org>
4736
4737         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4738           a label.
4739
4740         * factory.C (createInset): add "label" to the factory.
4741
4742         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4743           string and do no more.
4744
4745 2003-02-27  Angus Leeming  <leeming@lyx.org>
4746
4747         * commandtags.h:
4748         * LyXAction.C (init):
4749         * factory.C (createInset):
4750         * BufferView_pimpl.C (dispatch):
4751           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4752
4753         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4754
4755         * lyxfunc.C (dispatch):
4756         * text3.C (dispatch): pass name to params2string.
4757
4758 2003-02-26  Angus Leeming  <leeming@lyx.org>
4759
4760         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4761           blocks together.
4762           Rearrange the ~includes. Strip out the unnecessary ones.
4763
4764         * factory.C (createInset): reformat.
4765           create new insets for the various LFUN_XYZ_APPLY lfuns.
4766
4767 2003-02-26  John Levon  <levon@movementarian.org>
4768
4769         * lyxrow.h:
4770         * lyxrow.C: add isParStart,isParEnd helpers
4771
4772         * paragraph.h: make isInserted/DeletedText take refs
4773
4774         * paragraph_funcs.h:
4775         * paragraph_funcs.C: remove #if 0'd code
4776
4777         * lyxtext.h:
4778         * text3.C:
4779         * text2.C:
4780         * text.C: use lyxrow helpers above.
4781           Move draw and paint routines to RowPainter.
4782           Make several methods use refs not pointers.
4783           Make backgroundColor() const.
4784           Add markChangeInDraw(), isInInset().
4785           Merge changeRegionCase into changeCase.
4786           Make workWidth() shouldn't-happen code into an Assert.
4787
4788         * rowpainter.h:
4789         * rowpainter.C: new class for painting a row.
4790
4791         * vspace.h:
4792         * vspace.C: make inPixels take a ref
4793
4794 2003-02-26  Angus Leeming  <leeming@lyx.org>
4795
4796         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4797         LFUN_REF_APPLY.
4798
4799 2003-02-25  John Levon  <levon@movementarian.org>
4800
4801         * ispell.C: give the forked command a more accurate name
4802
4803 2003-02-22  John Levon  <levon@movementarian.org>
4804
4805         * toc.h:
4806         * toc.C: make TocItem store an id not a Paragraph *
4807           (bug #913)
4808
4809 2003-02-21  Angus Leeming  <leeming@lyx.org>
4810
4811         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4812           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4813           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4814           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4815           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4816           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4817
4818         * BufferView_pimpl.C (dispatch):
4819         * LyXAction.C (init):
4820         * factory.C (createInset):
4821         * lyxfunc.C (getStatus, dispatch):
4822         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4823
4824 2003-02-21  Angus Leeming  <leeming@lyx.org>
4825
4826         * BufferView_pimpl.C (MenuInsertLyXFile):
4827         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4828         * lyxfunc.C (menuNew, open, doImport):
4829           no longer pass a LyXView & to fileDlg.
4830
4831 2003-02-21  Angus Leeming  <leeming@lyx.org>
4832
4833         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4834         * LyXAction.C: change, BIBKEY to BIBITEM.
4835         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4836         Change InsetBibKey to InsetBibitem.
4837         Change BIBKEY_CODE to BIBITEM_CODE.
4838         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4839         * factory.C: replace insetbib.h with insetbibitem.h.
4840         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4841         * paragraph.C: replace insetbib.h with insetbibitem.h.
4842         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4843         Change bibkey() to bibitem().
4844         * text.C: remove insetbib.h.
4845         * text2.C: replace insetbib.h with insetbibitem.h.
4846         change bibkey() to bibitem().
4847         * text3.C: remove insetbib.h.
4848         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4849
4850 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4851
4852         * lyxrc.C (output): enclose user email in quotes (in case there are
4853         several words)
4854
4855 2003-02-18  John Levon  <levon@movementarian.org>
4856
4857         * buffer.h: add std::
4858
4859 2003-02-17  John Levon  <levon@movementarian.org>
4860
4861         * SpellBase.h:
4862         * ispell.h:
4863         * ispell.C:
4864         * pspell.h:
4865         * pspell.C: reworking. Especially in ispell, a large
4866           number of clean ups and bug fixes.
4867
4868         * lyxfunc.C: fix revert to behave sensibly
4869
4870 2003-02-17 André Pönitz <poenitz@gmx.net>
4871
4872         * LyXAction.C:
4873         * commandtags.h: new LFUN_INSERT_BIBKEY
4874
4875         * layout.h:
4876         * lyxlayout.C:
4877         * buffer.C:
4878         * factory.C:
4879         * text.C:
4880         * text2.C:
4881         * text3.C:
4882         * paragraph.[Ch]:
4883         * paragraph_func.C: remove special bibkey handling
4884
4885 2003-02-17  John Levon  <levon@movementarian.org>
4886
4887         * text.C (Delete): fix case where delete at the end of
4888           the very first paragraph would not merge the pars
4889
4890 2003-02-17  John Levon  <levon@movementarian.org>
4891
4892         * lyxrow.C: fix lastPrintablePos()
4893
4894 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4895
4896         * bufferparams.C (writeLaTeX): add a std:here
4897
4898         * buffer.C: and remove a using directive there
4899
4900 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4901
4902         * buffer.C (makeLaTeXFile): move the code that generates the
4903           preamble...
4904
4905         * bufferparams.C (writeLaTeX): ... in this new method
4906
4907         * LaTeXFeatures.C (getEncodingSet): make const
4908           (getLanguages): make const
4909
4910         * MenuBackend.C (binding): returns the binding associated to this
4911           action
4912           (add): sets the status of each item by calling getStatus. Adds
4913           some intelligence.
4914           (read): add support for OptSubMenu
4915           (expand): remove extra separator at the end of expanded menu
4916
4917 2003-02-15  John Levon  <levon@movementarian.org>
4918
4919         * BufferView.C:
4920         * BufferView_pimpl.C:
4921         * bufferlist.h:
4922         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4923           inset code that had no actual effect. Remove unneeded status
4924           code.
4925
4926 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4927
4928         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4929           in preamble
4930
4931 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4932
4933         * text.C (drawLengthMarker): also draw an arrow marker for
4934           symbolic lengths (medskip...)
4935
4936 2003-02-14  John Levon  <levon@movementarian.org>
4937
4938         * tabular.h:
4939         * tabular.C: better method names
4940
4941 2003-02-14  John Levon  <levon@movementarian.org>
4942
4943         * BufferView_pimpl.C:
4944         * bufferlist.C:
4945         * buffer.C:
4946         * converter.C:
4947         * lyx_cb.C:
4948         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4949           it's a more accurate name. Remove some pointless uses.
4950
4951 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4952
4953         * text2.C (LyXText): change order of initilizers to shut off
4954           warnings
4955
4956 2003-02-14  John Levon  <levon@movementarian.org>
4957
4958         * buffer.C: use ParIterator for getParFromID()
4959
4960         * paragraph.h:
4961         * paragraph.C:
4962         * paragraph_pimpl.h:
4963         * paragraph_pimpl.C: remove unused getParFromID()
4964
4965 2003-02-14  John Levon  <levon@movementarian.org>
4966
4967         * buffer.C: remove some very old #if 0'd parse code
4968
4969 2003-02-13  John Levon  <levon@movementarian.org>
4970
4971         * text.h:
4972         * text.C:
4973         * text2.C: move hfillExpansion(), numberOfSeparators(),
4974           rowLast(), rowLastPrintable(), numberofHfills(),
4975           numberOfLabelHfills() ...
4976
4977         * lyxrow.h:
4978         * lyxrow.C: ... to member functions here.
4979
4980         * paragraph.h:
4981         * paragraph.C:
4982         * lyxtext.h:
4983         * text.C: remove LyXText::beginningOfMainBody(), and call
4984           p->beginningOfMainBody() directly. Move the check for
4985           LABEL_MANUAL into the latter.
4986
4987         * text.h:
4988         * text.C:
4989         * text2.C:
4990         * vspace.C:
4991         * BufferView.h:
4992         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4993
4994         * text.h:
4995         * text.C:
4996         * text2.C:
4997         * text3.C:
4998         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4999           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5000
5001 2003-02-13  John Levon  <levon@movementarian.org>
5002
5003         * CutAndPaste.C: remove debug
5004
5005 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5006
5007         * paragraph.C (asString): remove two unused variables
5008
5009         * lyxtextclass.C (readTitleType):
5010           (Read):
5011           (LyXTextClass): handle new members titletype_ and titlename_
5012
5013         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5014
5015 2003-02-09  John Levon  <levon@movementarian.org>
5016
5017         * buffer.h:
5018         * buffer.C: replace hand-coded list with a map for the dep clean
5019
5020 2003-02-08  John Levon  <levon@movementarian.org>
5021
5022         * LaTeX.C: consolidate code into showRunMessage() helper
5023
5024 2003-02-08  John Levon  <levon@movementarian.org>
5025
5026         * lyxfind.C:
5027         * lyxtext.h:
5028         * text2.C:
5029         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5030           and pass the size in explicitly
5031
5032         * BufferView_pimpl.h:
5033         * BufferView_pimpl.C:
5034         * BufferView.h:
5035         * BufferView.C: add getCurrentChange()
5036
5037         * BufferView_pimpl.h:
5038         * BufferView_pimpl.C: handle change lfuns
5039
5040         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5041           for changes. Mark pasted paragraphs as new.
5042
5043         * support/lyxtime.h:
5044         * support/lyxtime.C:
5045         * DepTable.C: abstract time_t as lyx::time_type
5046
5047         * LColor.h:
5048         * LColor.C: add colours for new text, deleted text, changebars
5049
5050         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5051           package use "usenames" option.
5052
5053         * commandtags.h:
5054         * lyxfunc.C:
5055         * LyXAction.C: add change lfuns
5056
5057         * Makefile.am:
5058         * author.h:
5059         * author.C: author handling
5060
5061         * buffer.h:
5062         * buffer.C: add a per-buffer author list, with first entry as
5063           current author. Handle new .lyx tokens for change tracking. Output
5064           author list to .lyx file. Output dvipost stuff to .tex preamble.
5065           Bump lyx format to 222.
5066
5067         * bufferlist.h:
5068         * bufferlist.C: add setCurrentAuthor() to reset current author details
5069           in all buffers.
5070
5071         * bufferparams.h:
5072         * bufferparams.C: add param for tracking
5073
5074         * bufferview_funcs.C: output change info in minibuffer
5075
5076         * Makefile.am:
5077         * changes.h:
5078         * changes.C: add change-tracking structure
5079
5080         * debug.h:
5081         * debug.C: add CHANGES debug flag
5082
5083         * lyxfind.h:
5084         * lyxfind.C: add code for finding the next change piece
5085
5086         * lyxrc.h:
5087         * lyxrc.C: add user_name and user_email
5088
5089         * lyxrow.h:
5090         * lyxrow.C: add a metric for the top of the text line
5091
5092         * lyxtext.h:
5093         * text.C: implement accept/rejectChange()
5094
5095         * lyxtext.h:
5096         * text.C: paint changebars. Paint new/deleted text in the chosen
5097         colours. Strike through deleted text.
5098
5099         * paragraph.h:
5100         * paragraph.C:
5101         * paragraph_pimpl.h:
5102         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5103           in the current change to the insert functions. Rework erase to
5104           mark text as deleted, adding an eraseIntern() and a range-based
5105           erase(). Implement per-paragraph change lookup and
5106           accept/reject.
5107
5108         * paragraph_funcs.C: Fixup paste for change tracking.
5109
5110         * tabular.C: mark added row/columns as new.
5111
5112         * text.C: fix rowLast() to never return -1. Don't allow
5113           spellchecking of deleted text. Track transpose changes. Don't
5114           allow paragraph break or merge where appropriate.
5115
5116         * text2.C: leave cursor at end of selection after a cut.
5117
5118 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5119
5120         * text.C (getLengthMarkerHeight):
5121         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5122         visible on screen too.
5123
5124 2003-02-07  John Levon  <levon@movementarian.org>
5125
5126         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5127
5128 2003-02-05  Angus Leeming  <leeming@lyx.org>
5129
5130         * lyxserver.C (read_ready): revert my patch of 11 September last year
5131         as it sends PC cpu through the roof. Presumably this means that
5132         the lyxserver will no longer run on an Alpha...
5133
5134 2003-01-30  Angus Leeming  <leeming@lyx.org>
5135
5136         * factory.C (createInset): create an InsetCommandParam of type "index"
5137         and use it to 'do the right thing'.
5138
5139         * text2.C (getStringToIndex): ensure that cursor position is always
5140         reset to the reset_cursor position.
5141
5142 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5143
5144         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5145         disabled.
5146
5147 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5148
5149         * bufferview.C:
5150         * lyxcb.C:
5151         * lyxfunc.C: Output messages with identical spelling, punctuation,
5152         and spaces
5153
5154 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5155
5156         * MenuBackend.C (expandFormats): List only viewable export formats
5157         in "View" menu
5158
5159         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5160         message
5161
5162         * lyxfunc.C (getStatus): Make sure that formats other than
5163         "fax" can also be disabled
5164
5165 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5166
5167         * text3.C (dispatch): put the lfuns that insert insets in 3
5168         groups, and call doInsertInset with appropriate arguments.
5169         (doInsertInset): new function, that creates an inset and inserts
5170         it according to some boolean parameters.
5171
5172 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5173
5174         * buffer.C (readFile): remember to pass on 'par' when calling
5175         readFile recursively.
5176
5177 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5178
5179         * MenuBackend.C (expandFormats): add "..." to import formats.
5180
5181 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5182
5183         * paragraph.C (asString): Remove XForms RTL hacks.
5184
5185 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5186         * buffer.C: fix typo
5187
5188 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5189
5190         * Makefile.am (LIBS): delete var
5191         (lyx_LDADD): add @LIBS@ here instead.
5192
5193 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5194
5195         * Clarify the meaning of "wheel mouse jump"
5196
5197 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5198
5199         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5200         tabular in a float
5201
5202 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5203
5204         * importer.C (Loaders): do not preallocate 3 elements in the
5205         vector, since one ends up with 6 elements otherwise
5206
5207 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5208
5209         * DepTable.C (write): write the file name as last element of the
5210         .dep file (because it may contain spaces)
5211         (read): read info in the right order
5212
5213 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5214
5215         * paragraph_pimpl.C (simpleTeXBlanks):
5216         (simpleTeXSpecialChars):
5217         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5218
5219         * tabular.C (latex): add some missing case statements. Reindent.
5220
5221         * MenuBackend.C (expandToc): remove unused variable.
5222
5223 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5224
5225         * LColor.C:
5226         * LaTeX.C:
5227         * LyXAction.C:
5228         * MenuBackend.C:
5229         * buffer.C:
5230         * exporter.C:
5231         * lyxfunc.C:
5232         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5233         and the like.
5234
5235 2003-01-05  John Levon  <levon@movementarian.org>
5236
5237         * BufferView.h:
5238         * BufferView.C: add getEncoding()
5239
5240         * kbsequence.h:
5241         * kbsequence.C: do not store last keypress
5242
5243         * lyxfunc.h:
5244         * lyxfunc.C: store last keypress here instead. Pass encoding
5245           to getISOEncoded()
5246
5247 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5248
5249         * lyx_main.C (init): remove annoying error message when following
5250         symbolic links (bug #780)
5251
5252 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5253
5254         * text.C (insertChar):
5255         * lyxrc.C (getDescription): remove extra spaces
5256
5257 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5258
5259         * lyxrc.C (getDescription): remove extra spaces
5260
5261 2002-12-20  John Levon  <levon@movementarian.org>
5262
5263         * text3.C: hack fix for page up/down across tall rows
5264
5265 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5266
5267         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5268         not been invoked
5269
5270 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5271
5272         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5273         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5274         thesaurus is not compiled in
5275
5276 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5277
5278         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5279
5280 2002-12-16  Angus Leeming  <leeming@lyx.org>
5281
5282         * lyxrc.[Ch]:
5283         * lyx_main.C (init): remove override_x_deadkeys stuff.
5284
5285 2002-12-12  John Levon  <levon@movementarian.org>
5286
5287         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5288           insert. Only remove shift modifier under strict
5289           circumstances.
5290
5291 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * MenuBackend.C (expandToc): fix crash.
5294
5295 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5296
5297         * MenuBackend.C (expandToc): gettext on float names.
5298
5299 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5300
5301         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5302         implement bool empty() [bug 490]
5303
5304 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5307
5308 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5309
5310         * several files: ws changes
5311
5312 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5313
5314         * text2.C (setCounter): clean up a bit, use boost.format.
5315         (updateCounters): initialize par upon declaration.
5316
5317         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5318         if the layout exists. We do not just store the layout any more.
5319         (SwitchLayoutsBetweenClasses): use boost.format
5320
5321 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5322
5323         * converter.C (convert): if from and to files are the same, use a
5324         temporary files as intermediary
5325
5326 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5327
5328         * commandtags.h:
5329         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5330
5331 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5332
5333         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5334
5335 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5336
5337         * tabular.C (asciiPrintCell): use string(size, char) instead of
5338         explicit loop.
5339
5340         * sgml.C (openTag): fix order of arguments to string constructor
5341         (closeTag): ditto
5342
5343         * lyxfunc.C (dispatch): use boost.format
5344
5345         * lots of files: change "c" -> 'c'
5346
5347 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5348
5349         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5350
5351 2002-11-25  Angus Leeming  <leeming@lyx.org>
5352
5353         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5354
5355         * lyx_main.C (init): compile fix.
5356
5357 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5358
5359         * lyx_cb.C (start): boost.formatify
5360         do not include <iostream>
5361
5362         * lengthcommon.C: ws only
5363
5364         * boost-inst.C,BoostFormat.h: add more explict instantations
5365
5366 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * lots of files: handle USE_BOOST_FORMAT
5369
5370 2002-11-21  John Levon  <levon@movementarian.org>
5371
5372         * pspell.C: fix compile
5373
5374 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5375
5376         * lyxfunc.C (dispatch): use boost::format
5377         (open): ditto
5378         (doImport): ditto
5379
5380         * lyxfont.C (stateText): use boost::format
5381
5382         * lyx_main.C (LyX): use boost::format
5383         (init): ditto
5384         (queryUserLyXDir): ditto
5385         (readRcFile): ditto
5386         (parse_dbg): ditto
5387         (typedef boost::function): use the recommened syntax.
5388
5389         * importer.C (Import): use boost::format
5390
5391         * debug.C (showLevel): use boost::format
5392
5393         * converter.C (view): use boost::format
5394         (convert): ditto
5395         (move): ditto
5396         (scanLog): ditto
5397
5398         * bufferview_funcs.C (currentState): use boost::format
5399
5400         * bufferlist.C (emergencyWrite): use boost::format
5401
5402         * buffer.C (readLyXformat2): use boost::format
5403         (parseSingleLyXformat2Token): ditto
5404
5405         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5406
5407         * LaTeX.C (run): use boost::format
5408
5409         * Chktex.C (scanLogFile): use boost::format
5410
5411         * BufferView_pimpl.C (savePosition): use boost::format
5412         (restorePosition): ditto
5413         (MenuInsertLyXFile): ditto
5414
5415         * BoostFormat.h: help file for explicit instation.
5416
5417 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5418
5419         * tabular.C (latex): Support for block alignment in fixed width
5420         columns.
5421
5422 2002-11-17  John Levon  <levon@movementarian.org>
5423
5424         * BufferView_pimpl.C:
5425         * lyx_cb.C:
5426         * lyxfunc.C: split filedialog into open/save
5427
5428 2002-11-08  Juergen Vigna  <jug@sad.it>
5429
5430         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5431         by my last patch (hopefully).
5432
5433 2002-11-08  John Levon  <levon@movementarian.org>
5434
5435         * iterators.h:
5436         * iterators.C:
5437         * buffer.h:
5438         * buffer.C:
5439         * paragraph.h:
5440         * paragraph.C:
5441         * toc.h:
5442         * toc.C: ParConstIterator, and use it (from Lars)
5443
5444 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5445
5446         * lyxtextclass.[Ch]: revise and add doxygen comments
5447
5448 2002-11-07  John Levon  <levon@movementarian.org>
5449
5450         * text.C: fix progress value for spellchecker
5451
5452         * toc.C: fix navigate menu for insetwrap inside minipage
5453
5454         * paragraph_funcs.C: added FIXME for suspect code
5455
5456 2002-11-07  John Levon  <levon@movementarian.org>
5457
5458         * BufferView_pimpl.C: fix redrawing of insets
5459           on buffer switch
5460
5461 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5462
5463         * text2.C (updateCounters): fix bug 668
5464
5465 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5466
5467         * text3.C (dispatch): Do not make the buffer dirty when moving the
5468         cursor.
5469
5470 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5471
5472         * vc-backend.C: STRCONV
5473         (scanMaster): ditto
5474
5475         * text2.C (setCounter): STRCONV
5476
5477         * paragraph.C (asString): STRCONV
5478
5479         * lyxlength.C (asString): STRCONV
5480         (asLatexString): ditto
5481
5482         * lyxgluelength.C (asString): STRCONV
5483         (asLatexString): ditto
5484
5485         * lyxfunc.C (dispatch): STRCONV
5486         (open): ditto
5487
5488         * lyxfont.C (stateText): STRCONV
5489
5490         * importer.C (Import): STRCONV
5491
5492         * counters.C (labelItem): STRCONV
5493         (numberLabel): ditto
5494         (numberLabel): remove unused ostringstream o
5495
5496         * chset.C: STRCONV
5497         (loadFile): ditto
5498
5499         * bufferview_funcs.C (currentState): STRCONV
5500
5501         * buffer.C (readFile): STRCONV
5502         (asciiParagraph): ditto
5503         (makeLaTeXFile): ditto
5504
5505         * Spacing.C (writeEnvirBegin): STRCONV
5506
5507         * LaTeXFeatures.C (getLanguages): STRCONV
5508         (getPackages): ditto
5509         (getMacros): ditto
5510         (getBabelOptions): ditto
5511         (getTClassPreamble): ditto
5512         (getLyXSGMLEntities): ditto
5513         (getIncludedFiles): ditto
5514
5515         * LaTeX.C: STRCONV
5516         (run): ditto
5517         (scanAuxFile): ditto
5518         (deplog): ditto
5519
5520         * LString.h: add the STRCONV macros
5521
5522         * BufferView_pimpl.C (savePosition): STRCONV
5523         (restorePosition): ditto
5524         (MenuInsertLyXFile): ditto
5525
5526         * vc-backend.C (scanMaster): change from submatch[...] to
5527         submatch.str(...)
5528
5529         * funcrequest.C: include config.h
5530
5531         * factory.C: include config.h
5532
5533         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5534
5535         * box.C: include config.h
5536
5537         * LaTeX.C (scanAuxFile): change from submatch[...] to
5538         submatch.str(...)
5539         (deplog): ditto
5540
5541 2002-10-25  Angus Leeming  <leeming@lyx.org>
5542
5543         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5544
5545         * ispell.[Ch] (setError): new method.
5546         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5547         Use setError() insetead of goto END.
5548
5549         * lyx_cb.C (AutoSave): move out child process into new class
5550         AutoSaveBuffer.
5551
5552 2002-10-30  John Levon  <levon@movementarian.org>
5553
5554         * text3.C: make start appendix undoable
5555
5556 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5557
5558         * lyxlength.C (inPixels): Fix returned value.
5559
5560         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5561         environment.
5562
5563 2002-10-24  Angus Leeming  <leeming@lyx.org>
5564
5565         * lyxgluelength.h: no need to forward declare BufferParams
5566         or BufferView, so don't.
5567
5568 2002-10-21  John Levon  <levon@movementarian.org>
5569
5570         * BufferView.C: menuUndo ->undo, redo
5571
5572         * BufferView.h: document, remove dead, make some methods private
5573
5574         * paragraph_funcs.h:
5575         * paragraph_funcs.C:
5576         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5577
5578         * buffer.h:
5579         * buffer.C:
5580         * sgml.h:
5581         * sgml.C: move sgml open/close tag into sgml.C
5582
5583         * bufferview_funcs.h: unused prototype
5584
5585         * lyxfunc.h:
5586         * lyxfunc.C: remove unused
5587
5588         * lyxtext.h:
5589         * text.C: remove unused
5590
5591 2002-10-21  John Levon  <levon@movementarian.org>
5592
5593         * BufferView.h:
5594         * BufferView.C:
5595         * BufferView_pimpl.h:
5596         * BufferView_pimpl.C: fix mouse wheel handling based on
5597           patch from Darren Freeman
5598
5599 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5600
5601         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5602
5603 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5604
5605         * lyxlength.C (inPixels): Fix hanfling of negative length.
5606         Fix LyXLength::MU case.
5607
5608 2002-10-16  John Levon  <levon@movementarian.org>
5609
5610         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5611
5612 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5613
5614         * converter.C (view): add support for $$i (file name) and $$p
5615         (file path) for the viewer command. If $$i is not specified, then
5616         it is appended to the command (for compatibility with old syntax)
5617
5618 2002-10-14  Juergen Vigna  <jug@sad.it>
5619
5620         * undo_funcs.C (textHandleUndo): alter the order in which the
5621         new undopar is added to the LyXText, as we have to set first
5622         the right prev/next and then add it as otherwise the rebuild of
5623         LyXText is not correct. Also reset the cursor to the right paragraph,
5624         with this IMO we could remove the hack in "redoParagraphs()".
5625
5626 2002-10-09  Angus Leeming  <leeming@lyx.org>
5627
5628         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5629         to turn off an optimisation if a new inset is to be inserted.
5630
5631 2002-10-11 André Pönitz <poenitz@gmx.net>
5632
5633         * lyxtext.h: make some functions public to allow access
5634         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5635
5636 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5637
5638         * text3.C (dispatch): when changing layout, avoid an infinite loop
5639         [bug #652]
5640
5641 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5642
5643         * lyxrc.C (read): treat a viewer or converter command of "none" as
5644         if it were empty.
5645
5646         * MenuBackend.C (expandFormats): for an update, also allow the
5647         formats that are not viewable
5648
5649         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5650         script if it is newer than the lyxrc.defaults in user directory
5651
5652 2002-10-07 André Pönitz <poenitz@gmx.net>
5653
5654         * text.C: Vitaly Lipatov's small i18n fix
5655
5656 2002-09-25  Angus Leeming  <leeming@lyx.org>
5657
5658         * ispell.h: doxygen fix.
5659
5660 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5661
5662         * buffer.h (readFile): Add a new argument to the method, to allow
5663         reading of old-format templates.
5664
5665 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5666
5667         * toc.C (getTocList): Get TOC from InsetWrap.
5668
5669 2002-09-16  John Levon  <levon@movementarian.org>
5670
5671         * lyxfunc.C: check tabular for cut/copy too
5672
5673 2002-09-12  John Levon  <levon@movementarian.org>
5674
5675         * LyXAction.C: tidy
5676
5677         * factory.h:
5678         * factory.C: add header
5679
5680         * paragraph_funcs.h:
5681         * paragraph_funcs.C: cleanup
5682
5683 2002-09-11  John Levon  <levon@movementarian.org>
5684
5685         * PrinterParams.h: odd/even default to true
5686
5687 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5688
5689         * PrinterParams.h: update printer parameters for new xforms dialog
5690
5691 2002-09-11  Angus Leeming  <leeming@lyx.org>
5692
5693         * lyxserver.C (read_ready): re-write to make it more transparent
5694         and to make it work in coherent fashion under Tru64 Unix.
5695
5696 2002-09-11  André Pönitz <poenitz@gmx.net>
5697
5698         * commandtags.h:
5699         * LyXAction.C:
5700         * text3.C: implement LFUN_WORDSEL
5701
5702 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5703
5704         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5705         make floatlist_ a boost::shared_ptr<FloatList>
5706
5707         * lyxtextclass.C: include FloatList.h
5708         (LyXTextClass): initialize floatlist_
5709         (TextClassTags): add TC_NOFLOAT
5710         (Read): match "nofloat" to TC_NOFLOAT and use it.
5711         (readFloat): modify call to floatlist_
5712         (floats): ditto
5713         (floats): ditto
5714
5715         * FloatList.[Ch] (FloatList): remove commented out float
5716         initialization.
5717         (erase): new function
5718
5719 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5720
5721         * MenuBackend.C (expandToc): fix crash when there is no document
5722         open
5723
5724 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5725
5726         * many files: Add insetwrap.
5727
5728 2002-09-09  John Levon  <levon@movementarian.org>
5729
5730         * text2.C: remove confusing and awkward depth wraparound
5731
5732 2002-09-09  John Levon  <levon@movementarian.org>
5733
5734         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5735
5736         * buffer.h:
5737         * buffer.C: remove getIncludeonlyList()
5738
5739         * paragraph.C:
5740         * lyxfunc.C: remove headers
5741
5742 2002-09-09  Juergen Vigna  <jug@sad.it>
5743
5744         * text.C (getColumnNearX): fix form Michael this is most
5745         probably a cut&paste bug.
5746
5747 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5748
5749         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5750
5751         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5752         references, ws changes.
5753
5754         * text2.C (init): update counters after init
5755         (insertParagraph): no need to set counter on idividual paragraphs.
5756         (setCounter): access the counters object in the textclass object
5757         on in the buffer object.
5758         (updateCounters): ditto
5759
5760         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5761         shared_ptr<Counters> to avoid loading counters.h in all
5762         compilation units.
5763         (LyXTextClass): initialize ctrs_
5764         (TextClassTags): add TC_COUNTER, and ...
5765         (Read): use it here.
5766         (CounterTags): new tags
5767         (readCounter): new function
5768         (counters): new funtion
5769         (defaultLayoutName): return a const reference
5770
5771         * counters.C (Counters): remove contructor
5772         (newCounter): remove a couple of unneeded statements.
5773         (newCounter): simplify a bit.
5774         (numberLabel): some small formatting changes.
5775
5776         * buffer.[Ch]: remove all traces of counters, move the Counters
5777         object to the LyXTextClass.
5778
5779 2002-09-06  Alain Castera  <castera@in2p3.fr>
5780
5781         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5782         package to set the horizontal alignment on fixed width columns.
5783
5784         * lyx_sty.C:
5785         * lyx_sty.h: added tabularnewline macro def.
5786
5787         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5788
5789 2002-09-06  John Levon  <levon@movementarian.org>
5790
5791         * LyXAction.C: tooltips for sub/superscript
5792
5793         * MenuBackend.C: a bit more verbose
5794
5795         * lyxfunc.C: tiny clean
5796
5797         * undo_funcs.C: document undo_frozen
5798
5799 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5800
5801         * counters.C (Counters): add missing algorithm counter.
5802
5803         * text2.C (setCounter): lookup the counter with layouts latexname
5804         instead of by section number.
5805         (setCounter): use a hackish way to lookup the correct enum
5806         counter.
5807         a float name->type change
5808         reset enum couners with counter name directly instead of depth value.
5809
5810         * counters.C (Counters): remove the push_backs, change to use the
5811         float type not the float name.
5812         (labelItem): remove unused string, float name->type change
5813
5814         * counters.h: don't include vector, loose the enums and sects vectors
5815
5816 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5817
5818         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5819         (Read): add float->TC_FLOAT to textclassTags
5820         (Read): and handle it in the switch
5821         (readFloat): new function
5822
5823         * FloatList.C (FloatList): comment out the hardcoded float
5824         definitions.
5825
5826         * lyxlayout.h: ws change.
5827
5828 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5829
5830         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5831
5832 2002-09-03  Angus Leeming  <leeming@lyx.org>
5833
5834         * BufferView_pimpl.h: qualified name is not allowed in member
5835         declaration: WorkArea & Pimpl::workarea() const;
5836
5837         * factory.C: added using std::endl directive.
5838
5839         * text3.C: added using std::find and std::vector directives.
5840
5841 2002-08-29  André Pönitz <poenitz@gmx.net>
5842
5843         * lyxtext.h:
5844         * text2.C: remove unused member number_of_rows
5845
5846         * Makefile.am:
5847         * BufferView2.C: remove file, move contents to...
5848         * BufferView.C: ... here
5849
5850         * BufferView_pimpl.C:
5851         * factory.C: move more inset creation to factory
5852
5853         * vspace.C: avoid direct usage of LyXText, ws changes
5854
5855         * BufferView.[Ch]:
5856                 don't provide direct access to WorkArea, use two simple
5857                 acessors haveSelction() and workHeight() instead
5858
5859
5860 2002-08-29  John Levon  <levon@movementarian.org>
5861
5862         * BufferView_pimpl.C (dispatch): do not continue when
5863           no buffer
5864
5865 2002-08-28  André Pönitz <poenitz@gmx.net>
5866
5867         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5868
5869         * BufferView.h:
5870         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5871
5872 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5873
5874         * buffer.C: increment LYX_FORMAT to 221
5875
5876         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5877         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5878
5879         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5880
5881         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5882
5883 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5884
5885         * factory.C (createInset): use LyXTextClass::floats
5886
5887         * MenuBackend.C (expandFloatListInsert):
5888         (expandFloatInsert):
5889         (expandToc):
5890
5891         * text2.C (setCounter):
5892
5893         * LaTeXFeatures.C (useFloat):
5894         (getFloatDefinitions):
5895
5896         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5897
5898         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5899         floatlist_, with accessor floats().
5900
5901         * FloatList.h: remove global FloatList
5902
5903 2002-08-26  André Pönitz <poenitz@gmx.net>
5904
5905         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5906
5907         * BufferView.h:
5908         * BufferView2.C:
5909         * BufferView_pimpl.C:
5910         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5911
5912 2002-08-25  John Levon  <levon@movementarian.org>
5913
5914         * LyXAction.C: fix margin note description
5915
5916 2002-08-24  John Levon  <levon@movementarian.org>
5917
5918         * buffer.C:
5919         * bufferlist.C:
5920         * bufferview_funcs.C:
5921         * lyxfont.C:
5922         * undo_funcs.C: cleanups
5923
5924         * lyxfunc.C: disable CUT/COPY when no selection
5925
5926 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5927
5928         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5929         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5930
5931         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5932         Add backward compatibility to "mono", "gray" and "no".
5933
5934 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5935
5936         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5937         (and file_format >= 200).
5938
5939 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5940
5941         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5942
5943 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5944
5945         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5946
5947 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5948
5949         * BufferView_pimpl.C:
5950         * LyXAction.C:
5951         * buffer.C:
5952         * commandtags.h:
5953         * lyxfunc.C:
5954         * paragraph.[Ch]:
5955         * text2.C:
5956         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5957         inset and code to make it  work with the paragraph code. The inset
5958         can be anywhere in the paragraph, but will only do the expected
5959         thing in LaTeX if the layout file contains the parameter line
5960                         OptionalArgs    1
5961         (or more generally, a nonzero value) for that layout.
5962
5963 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5964
5965         * paragraph.h: remove the declaration of undefined counters class
5966         function.
5967
5968 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5969
5970         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5971         Dr. Richard Hawkins.
5972
5973 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5974
5975         * paragraph_funcs.h: remove some unneeded includes
5976
5977         * text.C (backspace): pasteParagraph now in global scipe
5978
5979         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5980         (pasteSelection): ditto
5981
5982         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5983         * paragraph_funcs.C (pasteParagraph): ... here
5984
5985 2002-08-20  André Pönitz <poenitz@gmx.net>
5986
5987         * commandtags.h: new LFUNs for swapping/copying table row/colums
5988
5989         * LyXAction.C:
5990         * lyxfunc.C: support for new lfuns
5991
5992 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5993
5994         * tabular.C:
5995         * buffer.[Ch]: remove NO_COMPABILITY stuff
5996
5997 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5998
5999         * boost.C (throw_exception): new file, with helper function for
6000         boost compiled without exceptions.
6001
6002         * paragraph.h:
6003         * lyxlength.C:
6004         * buffer.C:
6005         * ParameterStruct.h:
6006         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6007
6008         * bufferlist.C (emergencyWriteAll): use boost bind
6009
6010         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6011
6012         * text.C: include paragraph_funcs.h
6013         (breakParagraph): breakParagraph is now in global scope
6014
6015         * paragraph_funcs.[Ch]: new files
6016
6017         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6018         global scope
6019
6020         * buffer.C: include paragraph_funcs.h
6021         (insertStringAsLines): breakParagraph is now in global scope
6022
6023         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6024         paragraph_funcs.C
6025
6026         * CutAndPaste.C: include paragraph_funcs.h
6027         (cutSelection): breakParagraphConservative is now in global scope
6028         (pasteSelection): ditto
6029
6030         * buffer.h: declare oprator== and operator!= for
6031         Buffer::inset_iterator
6032
6033         * bufferlist.C (emergencyWrite): don't use fmt(...)
6034
6035         * text3.C: add using std::endl
6036
6037         * BufferView.C (moveCursorUpdate): remove default arg
6038
6039 2002-08-20  André Pönitz <poenitz@gmx.net>
6040
6041         * buffer.[Ch]: move inline functions to .C
6042
6043         * BufferView2.C:
6044         * BufferView_pimpl.C:
6045         * text.C:
6046         * buffer.[Ch]: use improved inset_iterator
6047
6048         * buffer.C:
6049         * paragraph.[Ch]: write one paragraph at a time
6050
6051 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6052
6053         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6054         style if style is not specified.
6055
6056 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6057
6058         * text2.C (setCounter): when searching for right label for a
6059         caption, make sure to recurse to parent insets (so that a caption
6060         in a minipage in a figure float works) (bug #568)
6061
6062 2002-08-20  André Pönitz <poenitz@gmx.net>
6063
6064         * text3.C: new file for LyXText::dispatch() and helpers
6065
6066         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6067
6068         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6069
6070 2002-08-19  André Pönitz <poenitz@gmx.net>
6071
6072         * lyxtext.h:
6073         * text.C: new LyXText::dispatch()
6074
6075         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6076
6077 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6078
6079         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6080
6081         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6082         Hebrew text.
6083
6084 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6085
6086         * Makefile.am: use $(variables) instead of @substitutions@
6087
6088 2002-08-15  André Pönitz <poenitz@gmx.net>
6089
6090         * lyxfunc.C:
6091         * BufferView_pimpl.C: streamlining mathed <-> outer world
6092         interaction
6093
6094         * commandtags.h:
6095         * LyXAction.C: remove unused LFUN_MATH
6096
6097 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6100
6101 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6102
6103         * paragraph.C (Paragraph): reformat a bit
6104         (cutIntoMinibuffer): use builtin InsetList function instad of
6105         doing it manually.
6106         (getInset): ditto
6107
6108         * buffer.C: include boost/bind.hpp, add using std::for_each
6109         (writeFileAscii): use ParagraphList iterators
6110         (validate): use for_each for validate traversal of paragraphs
6111         (getBibkeyList): use ParagraphList iterators
6112         (resizeInsets): use for_each to resizeInsetsLyXText for all
6113         paragraphs.
6114         (getParFromID): use ParagraphList iterators
6115
6116         * BufferView2.C (lockInset): use paragraph list and iterators
6117
6118 2002-08-14  John Levon  <levon@movementarian.org>
6119
6120         * lyxserver.C: remove spurious xforms include
6121
6122 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6123
6124         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6125
6126 2002-08-13  André Pönitz <poenitz@gmx.net>
6127
6128         * LyXAction.[Ch]:
6129         * lyxfunc.C: further cleaning
6130
6131 2002-08-13  André Pönitz <poenitz@gmx.net>
6132
6133         * funcrequest.h: new constructor
6134
6135         * funcrequest.C: move stuff here from .h
6136
6137         * Makefile.am:
6138         * BufferView_pimpl.C:
6139         * LyXAction.C:
6140         * toc.C:
6141         * lyxfunc.C: subsequent changes
6142
6143         * lyxfunc.h: new view() member function
6144
6145         * lyxfunc.C: subsequent changes
6146
6147 2002-08-13  Angus Leeming  <leeming@lyx.org>
6148
6149         * BufferView2.C:
6150         * BufferView_pimpl.C:
6151         * buffer.C:
6152         * converter.C:
6153         * importer.C:
6154         * lyxfunc.C:
6155         * lyxvc.C:
6156         * toc.C:
6157         * vc-backend.C:
6158         changes due to the changed LyXView interface that now returns references
6159         to member variables not pointers.
6160
6161 2002-08-13  Angus Leeming  <leeming@lyx.org>
6162
6163         * WordLangTuple (word, lang_code): return references to strings,
6164         not strings.
6165
6166         * BufferView.h:
6167         * SpellBase.h:
6168         * lyxtext.h: forward-declare WordLangTuple.
6169
6170         * BufferView2.C:
6171         * ispell.C:
6172         * pspell.C:
6173         * text.C: #include "WordLangTuple.h".
6174
6175         * lyxtext.h:
6176         * text.C: (selectNextWordToSpellcheck): constify return type.
6177
6178 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6179
6180         * buffer.C:
6181         * buffer.h:
6182         * lyxtext.h:
6183         * paragraph.C:
6184         * paragraph_pimpl.h:
6185         * text.C:
6186         * text2.C:
6187         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6188         suggested by Angus.
6189         Made updateCounter always count from start of buffer, and removed
6190         second argument (par).
6191         Reverted floats number display to '#'. Perhaps I'll try again when the
6192         code base is sanitized a bit.
6193
6194 2002-08-12  Angus Leeming  <leeming@lyx.org>
6195
6196         * buffer.[Ch] (getLabelList): constify.
6197
6198 2002-08-07  André Pönitz <poenitz@gmx.net>
6199
6200         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6201
6202         * funcrequest.h: extension to keep mouse (x,y) position
6203
6204 2002-08-12  Juergen Vigna  <jug@sad.it>
6205
6206         * BufferView2.C (insertErrors): forbid undo when inserting error
6207         insets.
6208
6209         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6210
6211 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6212
6213         * ParagraphList.[Ch]: new files
6214
6215         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6216
6217         * BufferView2.C (lockInset): ParagraphList changes
6218         * toc.C: ditto
6219         * text2.C: ditto
6220         * bufferlist.C: ditto
6221         * buffer.h: ditto
6222         * buffer.C: ditto
6223
6224 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6225
6226         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6227         unused class variable counter_,
6228
6229         * paragraph.[Ch] (getFirstCounter): delete unused function
6230
6231         * counters.C: include LAssert.h
6232         (reset): add a new function with no arg, change other version to
6233         not have def. arg and to not allow empty arg.
6234
6235         * text2.C (setCounter): remove empty arg from call to Counters::reset
6236
6237 2002-08-11  John Levon  <levon@movementarian.org>
6238
6239         * Makefile.am: add WordLangTuple.h
6240
6241 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6242
6243         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6244         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6245
6246         * insets/insettext.C: InsetList changes
6247
6248         * graphics/GraphicsSupport.C (operator()): InsetList changes
6249
6250         * toc.C (getTocList): InsetList changes
6251
6252         * paragraph_pimpl.[Ch]: InsetList changes
6253
6254         * paragraph.[Ch]: InsetList changes
6255
6256         * buffer.C (inset_iterator): InsetList changes
6257         (setParagraph): ditto
6258         * buffer.h (inset_iterator): ditto
6259         * iterators.C (operator++): ditto
6260         * iterators.h: ditto
6261
6262         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6263
6264         * InsetList.[Ch]: new files, most InsetList handling moved out of
6265         paragraph.C.
6266
6267         * BufferView2.C (removeAutoInsets): InsetList changes
6268         (lockInset): ditto
6269         (ChangeInsets): ditto
6270
6271 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6272
6273         * paragraph_pimpl.h (empty): new function
6274
6275         * paragraph.[Ch] (empty): new function
6276
6277         * other files: use the new Paragraph::empty function
6278
6279 2002-08-09  John Levon  <levon@movementarian.org>
6280
6281         * lyxtext.h: remove unused refresh_height
6282
6283 2002-08-09  John Levon  <levon@movementarian.org>
6284
6285         * Makefile.am:
6286         * sgml.h:
6287         * sgml.C:
6288         * buffer.C:
6289         * paragraph.h:
6290         * paragraph.C: move sgml char escaping out of paragraph
6291
6292         * paragraph.h:
6293         * paragraph.C: remove id setter
6294
6295         * buffer.C:
6296         * paragraph.C:
6297         * paragraph_pimpl.C: remove dead tex_code_break_column
6298
6299         * bufferview_funcs.C: small cleanup
6300
6301         * lyxfunc.C: remove dead proto
6302
6303         * lyxtext.h: make some stuff private. Remove some dead stuff.
6304
6305         * lyxgluelength.C: make as[LyX]String() readable
6306
6307 2002-08-08  John Levon  <levon@movementarian.org>
6308
6309         * LyXAction.h:
6310         * LyXAction.C:
6311         * MenuBackend.C:
6312         * ToolbarDefaults.C:
6313         * lyxfunc.C:
6314         * lyxrc.C:
6315         * toc.C: lyxaction cleanup
6316
6317 2002-08-08  John Levon  <levon@movementarian.org>
6318
6319         * BufferView2.C: small cleanup
6320
6321         * lyxfind.h:
6322         * lyxfind.C: move unnecessary header into the .C
6323
6324 2002-08-08  John Levon  <levon@movementarian.org>
6325
6326         * funcrequest.h: just tedious nonsense
6327
6328         * lyx_main.h:
6329         * lyx_main.C: cleanups
6330
6331         * buffer.C:
6332         * vspace.C: remove dead header lyx_main.h
6333
6334 2002-08-07  Angus Leeming  <leeming@lyx.org>
6335
6336         * Paragraph.[Ch]:
6337         * paragraph_pimpl.h:
6338         Forward declare class Counters in paragraph.h by moving the ctrs member
6339         variable into Paragraph::Pimpl.
6340         (counters): new method, returning a reference to pimpl_->ctrs.
6341
6342         * text2.C: ensuing changes.
6343
6344 2002-08-07  John Levon  <levon@movementarian.org>
6345
6346         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6347
6348         * BufferView_pimpl.C: announce X selection on double/triple
6349           click
6350
6351         * lyx_main.C: use correct bool in batch dispatch
6352
6353         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6354
6355 2002-08-07  André Pönitz <poenitz@gmx.net>
6356
6357         * funcrequest.h: new class to wrap a kb_action and its argument
6358
6359         * BufferView.[Ch]:
6360         * BufferView_pimpl[Ch]:
6361         * LaTeX.C:
6362         * LyXAction.[Ch]:
6363         * lyxfunc.[Ch]:
6364         * lyxrc.C: subsequent changes
6365
6366
6367 2002-08-07  John Levon  <levon@movementarian.org>
6368
6369         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6370           document options change.
6371
6372 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6373
6374         * counters.[Ch]
6375         * text2.C
6376         * paragraph.[Ch]
6377         * makefile.am: move counters functionality over from
6378         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6379
6380 2002-08-06  John Levon  <levon@movementarian.org>
6381
6382         * WordLangTuple.h: new file for word + language code tuple
6383
6384         * SpellBase.h:
6385         * pspell.h:
6386         * pspell.C:
6387         * ispell.h:
6388         * ispell.C:
6389         * lyxtext.h:
6390         * text.C:
6391         * text2.C:
6392         * BufferView.h:
6393         * BufferView2.C: use WordLangTuple
6394
6395         * layout.h:
6396         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6397
6398 2002-08-06  John Levon  <levon@movementarian.org>
6399
6400         * lyx_main.C: fix cmdline batch handling
6401
6402 2002-08-06  André Pönitz <poenitz@gmx.net>
6403
6404         * lyxrc.C: set default for show_banner to true
6405
6406 2002-08-06  John Levon  <levon@movementarian.org>
6407
6408         * pspell.C: fix a crash, and allow new aspell to work
6409
6410 2002-08-06  John Levon  <levon@movementarian.org>
6411
6412         * lyxfunc.C:
6413         * kbmap.C: small cleanup
6414
6415         * vspace.h:
6416         * vspace.C: add const
6417
6418 2002-08-05  John Levon  <levon@movementarian.org>
6419
6420         * LyXAction.C: back to tabular-insert
6421
6422 2002-08-04  John Levon  <levon@movementarian.org>
6423
6424         * BufferView.h:
6425         * BufferView.C: cosmetic change
6426
6427         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6428
6429         * bufferlist.C:
6430         * buffer.h:
6431         * buffer.C:
6432         * lyxcb.h:
6433         * lyxcb.C:
6434         * lyxserver.C:
6435         * lyxvc.C:
6436         * vc-backend.C:
6437         * BufferView2.C: purge all "Lyx" not "LyX" strings
6438
6439         * lyxcursor.h:
6440         * lyxcursor.C: attempt to add some documentation
6441
6442         * lyxfunc.C:
6443         * commandtags.h:
6444         * LyXAction.C:
6445         * ToolbarDefaults.C:
6446         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6447           merge with LFUN_TABULAR_INSERT
6448
6449         * Makefile.am:
6450         * SpellBase.h:
6451         * ispell.h:
6452         * ispell.C:
6453         * pspell.h:
6454         * pspell.C: split up i/pspell implementations into separate
6455           files, many cleanups
6456
6457         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6458
6459         * text2.C: some cleanup
6460
6461         * lyxfunc.C: don't check for isp_command == "none" any more, it
6462           didn't make any sense
6463
6464 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6465
6466         * counters.[Ch]
6467         * text2.C
6468         * paragraph.[Ch]
6469         * makefile.am: move counters functionality over
6470         from text2.C/paragraph.[Ch] to counters.[Ch], and
6471         make proper C++.
6472 2002-08-02  John Levon  <levon@movementarian.org>
6473
6474         * buffer.C: s/lyxconvert/lyx2lyx/
6475
6476 2002-08-02  Angus Leeming  <leeming@lyx.org>
6477
6478         * lyxlex.C: revert John's change as it breaks reading of the user
6479         preamble.
6480
6481 2002-08-02  Angus Leeming  <leeming@lyx.org>
6482
6483         * importer.C (Import):
6484         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6485         changes due to LyXView::view() now returning a boost::shared_ptr.
6486
6487 2002-08-02  John Levon  <levon@movementarian.org>
6488
6489         * lyxlex.C: small cleanup
6490
6491 2002-08-02  John Levon  <levon@movementarian.org>
6492
6493         * text2.C (status): small cleanup, no logic change
6494
6495 2002-08-01  John Levon  <levon@movementarian.org>
6496
6497         * buffer.h:
6498         * buffer.C (writeFile): don't output alerts, caller
6499           handles this
6500
6501         * bufferlist.C:
6502         * lyx_cb.C: from above
6503
6504         * lyxfunc.C: allow to open non-existent files
6505
6506 2002-07-31  John Levon  <levon@movementarian.org>
6507
6508         * lyxserver.C: don't let incidental errors get
6509           in the way (errno)
6510
6511 2002-07-30  John Levon  <levon@movementarian.org>
6512
6513         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6514
6515 2002-07-30  John Levon  <levon@movementarian.org>
6516
6517         * lyxserver.h:
6518         * lyxserver.C: remove I/O callback too
6519
6520 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6521
6522         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6523         log.
6524
6525 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6526
6527         * many files: strip,frontStrip -> trim,ltrim,rtrim
6528
6529 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * PrinterParams.h: remove extern containsOnly, and include
6532         support/lstrings.h instead.
6533
6534         * LaTeX.C (scanAuxFile): modify because of strip changes
6535         (deplog): ditto
6536         * buffer.C (makeLaTeXFile): ditto
6537         * bufferparams.C (writeFile): ditt
6538         * lyxfont.C (stateText): ditto
6539         * lyxserver.C (read_ready): ditto
6540         * vc-backend.C (scanMaster): ditto
6541
6542         * BufferView_pimpl.h: ws changes
6543
6544         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6545
6546 2002-07-26  André Pönitz <poenitz@gmx.net>
6547
6548         * kb_sequence.C: remove unnedred usings
6549
6550 2002-07-26  Juergen Vigna  <jug@sad.it>
6551
6552         * lyxfind.C (LyXReplace): we have to check better if the returned
6553         text is not of theLockingInset()->getLockingInset().
6554
6555 2002-07-25  Juergen Vigna  <jug@sad.it>
6556
6557         * lyxfind.C (LyXReplace): don't replace if we don't get the
6558         right LyXText.
6559
6560         * undo_funcs.C (createUndo): remove debugging code.
6561
6562 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6563
6564         * buffer.C (parseSingleLyXformat2Token): Use default placement
6565         when reading old floats.
6566
6567         * FloatList.C (FloatList): Change the default placement of figure
6568         and tables to "tbp".
6569
6570 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6571
6572         * MenuBackend.C: using std::max
6573
6574 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6575
6576         * MenuBackend.C (expandToc):
6577         (expandToc2): code moved from xforms menu frontend. It is now
6578         generic and TOCs are transparent to menu frontends.
6579
6580 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6581
6582         * toc.C (getTocList): protect against buf=0
6583
6584         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6585         Menu as first parameter. Now, this calls itself recursively to
6586         expand a whole tree (this will be useful for TOC handling)
6587         (expandFloatInsert): remove 'wide' version of floats
6588
6589         * MenuBackend.h (submenuname): returns the name of the submenu.
6590         (submenu): returns the submenu itself, provided it has been
6591         created by MenuBackend::expand
6592
6593 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6594
6595         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6596         insets which have noFontChange == true. (bug #172)
6597
6598 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6599
6600         * BufferView_pimpl.C: add connection objects and use them...
6601         (Pimpl): here.
6602
6603 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6604
6605         * MenuBackend.C (expandLastfiles):
6606         (expandDocuments):
6607         (expandFormats):
6608         (expandFloatListInsert):
6609         (expandFloatInsert):
6610         (expand): split expand in parts
6611
6612 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6613
6614         * lyx_gui.C: use lyx_gui::exit()
6615
6616 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6617
6618         * LyXAction.C: show the failing pseudo action
6619
6620 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6621
6622         * buffer.C (readFile): Run the lyxconvert script in order to read
6623         old files.
6624
6625 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6626
6627         * LyXAction.C:
6628         * commandtags.h:
6629         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6630
6631 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6632
6633         * LyXAction.C:
6634         * commandtags.h:
6635         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6636
6637 2002-07-22  Herbert Voss  <voss@lyx.org>
6638
6639         * lengthcommon.C:
6640         * lyxlength.[Ch]: add support for the vertical lengths
6641
6642 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6643
6644         * toc.[Ch]: std:: fixes
6645
6646 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6647
6648         * lyxrc.C: do not include lyx_main.h
6649
6650         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6651         for layouts
6652
6653         * lyxrc.C:
6654         * encoding.C:
6655         * bufferlist.C:
6656         * BufferView2.C: include "lyxlex.h"
6657
6658         * tabular.h:
6659         * bufferparams.h: do not #include "lyxlex.h"
6660
6661         * lyxtextclasslist.C (Add): remove method
6662         (classlist): renamed to classlist_
6663
6664         * paragraph_pimpl.C:
6665         * paragraph.C:
6666         * text2.C:
6667         * CutAndPaste.C:
6668         * bufferview_funcs.C:
6669         * bufferlist.C:
6670         * text.C:
6671         * LaTeXFeatures.C:
6672         * buffer.C:
6673         * toc.C (getTocList): use BufferParams::getLyXTextClass
6674
6675         * toc.C (getTocList): use InsetFloat::addToToc
6676
6677         * toc.[Ch]: new files, containing helper functions to handle table
6678         of contents
6679
6680         * lyxfunc.C (dispatch): no need to remove spaces around command
6681         given as a string
6682         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6683         first command of the sequence; it is not very clever, but I do not
6684         have a better idea, actually
6685
6686         * LyXAction.C (LookupFunc): make sure to remove space at the
6687         beginning and end of the command
6688
6689 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6690
6691         * MenuBackend.C (getMenubar): new method: return the menubar of
6692         this menu set
6693         (read): treat differently reading of menu and menubar (in
6694         particular, the menubar has no name now)
6695         (Menu::menubar): remove
6696
6697         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6698         saving is finished
6699
6700 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6701
6702         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6703         a bibitem inset in a RTL paragraph.
6704
6705 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6706
6707         * paragraph_pimpl.C: constify
6708
6709         * BufferView_pimpl.C:
6710         * LaTeX.C:
6711         * lyxfunc.C: fix dispatch in a nicer way
6712
6713 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6714
6715         * lyxfunc.C (dispatch):
6716         * BufferView_pimpl.C:
6717         * BufferView_pimpl.h:
6718         * BufferView.C:
6719         * BufferView.h: rename Dispatch() to dispatch()
6720
6721         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6722
6723         * lyxlayout.C (Read): honor DependsOn tag
6724
6725         * lyxlayout.[Ch] (depends_on): new method
6726
6727         * version.C.in: update lyx_docversion
6728
6729         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6730
6731         * paragraph.C (validate): remove from here...
6732         * paragraph_pimpl.C (validate): ... and move here
6733         (isTextAt): make it const
6734
6735         * buffer.C (getLists): ws cleanup
6736
6737 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6738
6739         * language.C (read): Use iso8859-1 encoding in latex_lang
6740         (this prevents LyX from crashing when using iso10646-1 encoding).
6741
6742 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6743
6744         * text2.C (toggleInset): if cursor is inside an inset, close the
6745         inset and leave cursor _after_ it
6746
6747 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6748
6749         * lyxfunc.C: move minibuffer completion handling out of here
6750
6751 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6752
6753         * BufferView_pimpl.C:
6754         * LaTeX.C: fix dispatch calls
6755
6756 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6757
6758         * text.C (drawChars): Fix Arabic text rendering.
6759
6760 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6761
6762         * LyXAction.C:
6763         * commandtags.h:
6764         * lyxfunc.C: remove message-push/pop
6765
6766         * lyxserver.C:
6767         * lyxfunc.h:
6768         * lyxfunc.C: rationalise some code by removing verboseDispatch
6769           in favour of a bool argument to dispatch()
6770
6771 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6772
6773         * lyx_main.C (init): make sure to read symlinks as absolute paths
6774
6775 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6776
6777         * lyxfunc.h:
6778         * lyxfunc.C: no need for commandshortcut to be a member
6779
6780 2002-07-15  André Pönitz <poenitz@gmx.net>
6781
6782         * converter.C: add support for $$s (scripts from lib/scripts dir)
6783         * lyx_main.C: white space
6784
6785 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6786
6787         * bufferlist.C:
6788         * lyxrc.h:
6789         * lyxrc.C: remove second exit confirmation
6790
6791 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6792
6793         * BufferView.h:
6794         * BufferView.C:
6795         * BufferView2.C:
6796         * BufferView_pimpl.h:
6797         * BufferView_pimpl.C:
6798         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6799
6800 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6801
6802         * MenuBackend.C (expand): add numeric shortcuts to document menu
6803
6804         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6805
6806 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6807
6808         * lyxfont.C (setLyXFamily):
6809         (setLyXSeries):
6810         (setLyXShape):
6811         (setLyXSize):
6812         (setLyXMisc):
6813         (lyxRead):
6814         * debug.C (value):
6815         * buffer.C (asciiParagraph): use ascii_lowercase
6816
6817 2002-07-15  Mike Fabian  <mfabian@suse.de>
6818
6819         * lyxlex_pimpl.C (search_kw):
6820         * lyxlex.C (getLongString):
6821         * converter.h (operator<):
6822         * converter.C (operator<):
6823         * buffer.C (parseSingleLyXformat2Token):
6824         (asciiParagraph):
6825         * ToolbarDefaults.C (read):
6826         * MenuBackend.C (checkShortcuts):
6827         (read):
6828         * LColor.C (getFromGUIName):
6829         (getFromLyXName): use the compare_ascii_no_case instead of
6830         compare_no_case, because in turkish, 'i' is not the lowercase
6831         version of 'I', and thus turkish locale breaks parsing of tags.
6832
6833 2002-07-16  Angus Leeming  <leeming@lyx.org>
6834
6835         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6836         now takes a Buffer const & argument.
6837
6838 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6839
6840         * BufferView.C (resize): check there's a buffer to resize
6841
6842 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6843
6844         * lyxfunc.C: remove dead code
6845
6846         * lyxserver.h:
6847         * lyxserver.C: use lyx_guii::set_read_callback
6848
6849 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6850
6851         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6852         an inset in a RTL paragraph.
6853
6854 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6855
6856         * lyxfunc.C: repaint after a font size update
6857
6858 2002-07-15  André Pönitz <poenitz@gmx.net>
6859
6860         * lyxlength.C: inBP should be able to return negative values
6861
6862 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6863
6864         * lyxfunc.C: use lyx_gui::update_fonts()
6865
6866 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6867
6868         * lyxfunc.C: use lyx_gui::update_color()
6869
6870 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6871
6872         * bufferlist.C:
6873         * lyxfunc.h:
6874         * lyxfunc.C:
6875         * lyxrc.h:
6876         * lyxrc.C: remove file->new asks for name option, and let
6877           buffer-new take an argument
6878
6879 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6880
6881         * BufferView_pimpl.C: remove unneeded extra repaint()
6882
6883 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6884
6885         * LyXAction.C: allow command-sequence with NoBuffer
6886
6887         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6888
6889 2002-07-10  Angus Leeming  <leeming@lyx.org>
6890
6891         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6892
6893 2002-07-09  Angus Leeming  <leeming@lyx.org>
6894
6895         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6896
6897 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6898
6899         * lengthcommon.h: whitespace
6900
6901         * lyxfunc.C: update scrollbar after goto paragraph
6902
6903         * lyxtext.h: factor out page break drawing, and fix it so
6904           page break/added space paints as selected nicely
6905
6906 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6907
6908         * BufferView_pimpl.C: add FIXMEs, clean up a little
6909
6910 2002-07-09  André Pönitz <poenitz@gmx.net>
6911
6912         * lyxfont.[Ch]: support for wasy symbols
6913
6914 2002-07-08  André Pönitz <poenitz@gmx.net>
6915
6916         * BufferView_pimpl.C: apply John's patch for #93.
6917
6918 2002-07-05  Angus Leeming  <leeming@lyx.org>
6919
6920         * BufferView_pimpl.C (buffer): generate previews if desired.
6921
6922         * LColor.h: add "preview" to the color enum.
6923
6924         * LColor.C (LColor): add a corresponding entry to the items array.
6925
6926         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6927         with this buffer.
6928
6929 2002-07-05  Angus Leeming  <leeming@lyx.org>
6930
6931         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6932         The body of the code is now in the method that is passed an ostream &
6933         rather than a file name.
6934         Pass an additional only_preamble parameter, useful for the forthcoming
6935         preview stuff.
6936
6937 2002-07-03  André Pönitz <poenitz@gmx.net>
6938
6939         * lyxfunc.C: simplify getStatus() a bit for math stuff
6940
6941 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6942
6943         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6944
6945 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6946
6947         * text.C (changeRegionCase): do not change case of all the
6948         document when region ends at paragraph end (bug #461)
6949
6950 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6951
6952         * paragraph.C (startTeXParParams):
6953         (endTeXParParams): add \protect when necessary
6954
6955 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6956
6957         * BufferView_pimpl.C (workAreaExpose): remove warning
6958
6959 2002-06-27  Angus Leeming  <leeming@lyx.org>
6960
6961         * Makefile.am: add lyxlayout_ptr_fwd.h.
6962
6963 2002-06-26  André Pönitz <poenitz@gmx.net>
6964
6965         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6966
6967 2002-06-25  Angus Leeming  <leeming@lyx.org>
6968
6969         * lyxfunc.C (dispatch): Comment out the call to
6970         grfx::GCache::changeDisplay. The method no longer exists now that the
6971         pixmap generation part of the graphics loader has been moved into
6972         InsetGraphics.
6973
6974 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6975
6976         * text2.C: layout as layout
6977
6978         * text.C: layout as layout
6979
6980         * tabular.C (OldFormatRead): layout as layout
6981
6982         * paragraph_pimpl.C (TeXDeeper): layout as layout
6983         (realizeFont): layout as layout
6984
6985         * paragraph.C (writeFile): layout as layout
6986         (validate): layout as layout
6987         (getFont): layout as layout
6988         (getLabelFont): layout as layout
6989         (getLayoutFont): layout as layout
6990         (breakParagraph): layout as layout
6991         (stripLeadingSpaces): layout as layout
6992         (getEndLabel): layout as layout
6993         (getMaxDepthAfter): layout as layout
6994         (applyLayout): layout as layout
6995         (TeXOnePar): layout as layout
6996         (simpleTeXOnePar): layout as layout
6997         (TeXEnvironment): layout as layout
6998         (layout): layout as layout
6999         (layout): layout as layout
7000
7001         * lyxtextclass.C (compare_name): new functor to work with
7002         shared_ptr, layout as layout
7003         (Read): layout as layout
7004         (hasLayout): layout as layout
7005         (operator): layout as layout
7006         (delete_layout): layout as layout
7007         (defaultLayout): layout as layout
7008
7009         * lyxlayout_ptr_fwd.h: new file
7010
7011         * lyxlayout.C (Read): layout as layout
7012
7013         * lyx_cb.C (MenuInsertLabel): layout as layout
7014
7015         * bufferlist.C (newFile): layout as layout
7016
7017         * buffer.C (readLyXformat2): layout as layout
7018         (parseSingleLyXformat2Token): layout as layout
7019         (insertStringAsLines): layout as layout
7020         (asciiParagraph): layout as layout
7021         (latexParagraphs): layout as layout
7022         (makeLinuxDocFile): layout as layout
7023         (simpleLinuxDocOnePar): layout as layout
7024         (makeDocBookFile): layout as layout
7025         (simpleDocBookOnePar): layout as layout
7026         (getLists): layout as layout
7027
7028         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7029
7030         * CutAndPaste.C (cutSelection): layout as layout
7031         (pasteSelection): layout as layout
7032         (SwitchLayoutsBetweenClasses): layout as layout
7033
7034         * BufferView_pimpl.C (Dispatch): layout as layout
7035         (smartQuote): layout as layout
7036
7037         * BufferView2.C (unlockInset): layout as layout
7038
7039 2002-06-24  André Pönitz <poenitz@gmx.net>
7040
7041         * lyxfunc.C: fix #487
7042
7043 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7044
7045         * lyxrc.h:
7046         * lyxrc.C:
7047         * lyxfunc.C: remove display_shortcuts, show_banner
7048
7049 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7050
7051         * Buffer_pimpl.C: oops, update on resize
7052
7053 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7054
7055         * buffer.C:
7056         * converter.C:
7057         * exporter.C:
7058         * lyxfunc.C:
7059         * BufferView.h:
7060         * BufferView.C: use repaint()
7061
7062         * BufferView_pimpl.h:
7063         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7064           as it's a clearer description. Remove superfluous
7065           redraws.
7066
7067 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7068
7069         * text.C: fix bug 488. Not ideal, but getting
7070           getWord() to work properly for the insets that
7071           matter is more difficult ...
7072
7073 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7074
7075         * BufferView_pimpl.C:
7076         * LyXAction.C:
7077         * commandtags.h:
7078         * lyxfunc.C: remove the six million index lyxfuncs to just
7079           one, and DTRT (bug 458)
7080
7081 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7082
7083         * BufferView.h:
7084         * BufferView.C:
7085         * BufferView_pimpl.h:
7086         * BufferView_pimpl.C: clean up resize() stuff,
7087           and unnecessary updateScreen()s
7088
7089 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7090
7091         * BufferView.h:
7092         * BufferView.C:
7093         * BufferView_pimpl.h:
7094         * BufferView_pimpl.C:
7095         * lyxfind.h:
7096         * lyxfind.C:
7097         * minibuffer.C: remove focus management of workarea,
7098           not needed. Use screen's greyOut()
7099
7100 2002-06-17  Herbert Voss  <voss@lyx.org>
7101
7102         * converter.C: (convert) do not post a message, when converting
7103         fails, let the calling function decide what to do in this case
7104
7105 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7106
7107         * lyxfunc.C: tidy up a little
7108
7109 2002-06-16    <alstrup@diku.dk>
7110
7111         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7112         Got rid of FORMS_H_LOCATION include. Now we are
7113         GUII.
7114
7115 2002-06-15  LyX Development team  <lyx@rilke>
7116
7117         * buffer.[Ch] (sgmlOpenTag):
7118         (sgmlCloseTag): Added support for avoiding pernicious mixed
7119         content. Return number of lines written.
7120
7121         (makeLinuxDocFile):
7122         (makeDocBookFile): Fixed calls to sgml*Tag.
7123         Simple white space clean.
7124
7125         (simpleDocBookOnePar): Simple white space clean.
7126
7127         * tabular.[Ch] (docBook): Renamed to docbook and got another
7128         argument to related with the pernicious mixed content.
7129
7130         (docbookRow): Fixed calls for docbook inset method.
7131
7132 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7133
7134         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7135         so it's X11 independent.
7136
7137         * kb*.[Ch]: ditto.
7138
7139         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7140
7141 2002-06-15  Lyx Development team  <lyx@electronia>
7142
7143         * intl.h: Renamed getTrans to getTransManager.
7144
7145 2002-06-14  Angus Leeming  <leeming@lyx.org>
7146
7147         * Makefile.am: nuke forgotten stl_string_fwd.h.
7148
7149 2002-06-12  Angus Leeming  <leeming@lyx.org>
7150
7151         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7152
7153 2002-06-13  Angus Leeming  <leeming@lyx.org>
7154
7155         * LaTeX.C:
7156         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7157
7158 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7159
7160         * kbmap.C (getiso): add support for cyrillic and greek
7161
7162 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7163
7164         * BufferView.h:
7165         * BufferView.C:
7166         * BufferView_pimpl.h:
7167         * BufferView_pimpl.C: move bogus scrolling logic
7168           to xforms
7169
7170 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7171
7172         * lyxfunc.C:
7173         * BufferView_pimpl.C: view->resize() change
7174
7175 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7176
7177         * BufferView_pimpl.C: topCursorVisible
7178           prototype change
7179
7180 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7181
7182         * Makefile.am:
7183         * lyx_gui.h:
7184         * lyx_gui.C: move to frontends/
7185
7186         * main.C:
7187         * lyx_main.h:
7188         * lyx_main.C: changes from above
7189
7190 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7191
7192         * intl.C:
7193         * intl.h:
7194         * kbmap.C:
7195         * kbsequence.C:
7196         * lyx_cb.C:
7197         * lyx_main.C: minor tidy
7198
7199 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7200
7201         * BufferView_pimpl.h:
7202         * BufferView_pimpl.C:
7203         * BufferView.h:
7204         * BufferView.C: make painter() const,
7205           remove dead code
7206
7207         * BufferView2.C: use screen() accessor
7208
7209         * lyx_main.h:
7210         * lyx_main.C: some minor cleanup
7211
7212 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7213
7214         * BufferView_pimpl.h:
7215         * BufferView_pimpl.C: remove enter/leaveView,
7216           use workHeight()
7217
7218 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7219
7220         * BufferView.h:
7221         * BufferView.C:
7222         * BufferView2.C:
7223         * BufferView_pimpl.h:
7224         * BufferView_pimpl.C: only construct screen once,
7225           rename
7226
7227         * lyxrc.C: remove pointless comment
7228
7229 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7230
7231         * BufferView.h:
7232         * BufferView.C: remove active() and belowMouse()
7233
7234         * BufferView_pimpl.h:
7235         * BufferView_pimpl.C: use workarea() not workarea_,
7236           and make it use a scoped_ptr instead
7237
7238 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7239
7240         * lyx_gui.C: add debug message on BadWindow
7241
7242 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7243
7244         * sp_spell.C: fdopen is not part of the C++ standard.
7245
7246         * paragraph.C (InsetIterator): use >= instead of ==
7247
7248 2002-06-07  Angus Leeming  <leeming@lyx.org>
7249
7250         Fixes needed to compile with Compaq cxx 6.5.
7251         * BufferView_pimpl.C:
7252         * DepTable.C:
7253         * buffer.C:
7254         * converter.C:
7255         * encoding.C:
7256         * lyx_gui.C:
7257         * lyx_main.C:
7258         * lyxtextclasslist.C:
7259         * minibuffer.C:
7260         * sp_spell.C:
7261         * tabular_funcs.C:
7262         * vc-backend.C:
7263         all c-library variables have been moved into namespace std. Wrap
7264         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7265
7266         * lyxlength.C:
7267         * tabular-old.C:
7268         * tabular.C:
7269         Add a using std::abs declaration.
7270
7271         * kbmap.h (modifier_pair):
7272         * paragraph.h (InsetTable, InsetList):
7273         * lyxfont.h (FontBits):
7274         type definition made public.
7275
7276         * bufferlist.C (emergencyWriteAll): the compiler complains that
7277         there is more than one possible lyx::class_fun template to choose from.
7278         I re-named the void specialisation as lyx::void_class_fun.
7279
7280         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7281
7282         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7283         the compiler is is unable to find tostr in write_attribute.
7284
7285 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7286
7287         * buffer.C (sgmlError): hide #warning
7288
7289 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7290
7291         * xtl/*: get rid of xtl, which is not in use anyway
7292
7293         * LyXAction.C (init):
7294         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7295         were unimplemented xtl experimentation
7296
7297 2002-06-04  André Pönitz <poenitz@gmx.net>
7298
7299         * lyxfunc.C: disable array operation on simple formulae
7300
7301 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7302
7303         * converter.C: constify a bit
7304
7305 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7306
7307         * lyx_gui.C: check xforms version correctly
7308
7309 2002-04-30  Herbert Voss  <voss@lyx.org>
7310
7311         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7312         "keep" option
7313
7314 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7315
7316         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7317           attempt to register it with a VCS)
7318
7319 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7320
7321         * lyx_main.C (init): honor variables LYX_DIR_13x and
7322         LYX_USERDIR_13x
7323
7324 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7325
7326         * buffer.h:
7327         * buffer.C:
7328         * lyx_main.C: fix a crash on bad command line,
7329           and give a useful exit status on error
7330
7331         * lyxfunc.C (doImport): allow -i lyx to work
7332
7333 2002-03-30  André Pönitz <poenitz@gmx.net>
7334
7335         * lyxfunc.C: mathed font changes
7336
7337 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7338
7339         * LaTeX.C:
7340         * importer.h:
7341         * importer.C:
7342         * lyx_sty.h:
7343         * lyx_sty.C:
7344         * lyxlex.C:
7345         * lyxrow.h:
7346         * lyxtext.h:
7347         * paragraph.h:
7348         * paragraph.C:
7349         * texrow.h:
7350         * texrow.C:
7351         * text.C:
7352         * trans_mgr.h: srcdocs, and some minor cleanups
7353
7354 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7355
7356         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7357         call getFont all the time)
7358
7359 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7360
7361         * switch from SigC signals to boost::signals
7362
7363 2002-05-29  André Pönitz <poenitz@gmx.net>
7364
7365         * paragraph_pimpl.C (getChar): don't call size() too often...
7366
7367 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7368
7369         * paragraph_pimpl.C (insertChar): do not try to update tables when
7370         appending (pos == size())
7371
7372         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7373         in order to reduce drastically the number of comparisons needed to
7374         parse a large document
7375
7376 2002-05-29  André Pönitz <poenitz@gmx.net>
7377
7378         * text.C:
7379         * text2.C:
7380         * lyxtextclass.C:
7381         * sp_pspell.h:
7382         * textclasslist.[Ch]:
7383         * sp_ispell.h: whitespace change
7384
7385 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7386
7387         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7388         lyxaction directly now.
7389
7390 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7391
7392         * trans.C:
7393         * lyxfont.C:
7394         * lyxvc.C: remove unused headers
7395
7396 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7397
7398         * Makefile.am:
7399         * buffer.h:
7400         * undostack.h:
7401         * undostack.C:
7402         * undo_funcs.h:
7403         * undo_funcs.C: some cleanups. Use shared_ptr
7404           and a template for the undo stacks.
7405
7406 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7407
7408         * BufferView_pimpl.h:
7409         * BufferView_pimpl.C:
7410         * kbmap.h:
7411         * kbmap.C:
7412         * kbsequence.h:
7413         * kbsequence.C:
7414         * lyxfunc.h:
7415         * lyxfunc.C:
7416         * text2.C: use key_state/mouse_state
7417
7418 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7419
7420         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7421         and LSubstring
7422
7423         * chset.C: change include order
7424         (loadFile): use boost regex and get rid of LRegex and LSubstring
7425
7426         * Makefile.am (BOOST_LIBS): new variable
7427         (lyx_LDADD): use it
7428
7429         * LaTeX.C: change include order.
7430         (scanAuxFile): use boost regex and get rid of LRegex and
7431         LSubstring
7432         (deplog): ditto
7433
7434 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7435
7436         * ColorHandler.h:
7437         * ColorHandler.C:
7438         * FontInfo.h:
7439         * FontInfo.C: moved to frontends/xforms/
7440
7441         * FontLoader.h:
7442         * FontLoader.C: moved into frontends for GUIIzation
7443
7444         * Makefile.am:
7445         * lyx_gui.C:
7446         * lyxfont.C:
7447         * lyxfunc.C: changes from above
7448
7449 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7450
7451         * LColor.C: remove spurious X include
7452
7453         * BufferView_pimpl.C:
7454         * Makefile.am:
7455         * font.h:
7456         * font.C:
7457         * text.C:
7458         * text2.C: move font metrics to frontends/
7459
7460 2002-05-24  Juergen Vigna  <jug@sad.it>
7461
7462         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7463         setting the undo_cursor.
7464
7465         * ParagraphParameters.h: include local includes first.
7466
7467 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7468
7469         * BufferView_pimpl.C:
7470         * BufferView_pimpl.h:
7471         * Makefile.am:
7472         * WorkArea.h:
7473         * WorkArea.C:
7474         * screen.C: move WorkArea into frontends/
7475
7476         * lyxscreen.h:
7477         * screen.C:
7478         * text.C:
7479         * BufferView.C:
7480         * BufferView2.C: move LyXScreen into frontends/
7481
7482         * lyxlookup.h:
7483         * lyxlookup.C:
7484         * lyx_gui.C: move lyxlookup into frontends/xforms/
7485
7486 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7487
7488         * BufferView2.C:
7489         * BufferView_pimpl.C:
7490         * FontLoader.C:
7491         * LyXView.h:
7492         * LyXView.C:
7493         * Makefile.am:
7494         * WorkArea.C:
7495         * XFormsView.h:
7496         * XFormsView.C:
7497         * buffer.C:
7498         * bufferlist.C:
7499         * bufferview_funcs.C:
7500         * converter.C:
7501         * importer.C:
7502         * lyx_cb.C:
7503         * lyx_gui.C:
7504         * lyx_main.C:
7505         * lyx_find.C:
7506         * lyxfunc.C:
7507         * lyxvc.C:
7508         * minibuffer.C:
7509         * text.C:
7510         * text2.C:
7511         * trans.C:
7512         * vc-backend.C: move LyX/XFormsView into frontends/
7513
7514 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7515
7516         * Makefile.am:
7517         * PainterBase.C:
7518         * PainterBase.h:
7519         * Painter.C:
7520         * Painter.h:
7521         * WorkArea.C:
7522         * WorkArea.h:
7523         * screen.C:
7524         * tabular.C:
7525         * text.C:
7526         * text2.C: move Painter to frontends/
7527
7528 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7529
7530         * buffer.C: comment out some some code that depend upon lyx_format
7531         < 220
7532
7533         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7534         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7535
7536         * buffer.h (NO_COMPABILITY): turn off compability
7537
7538         * ColorHandler.C: include scoped_array.hpp
7539
7540         * font.C: Use more specific smart_ptr header.
7541         * Painter.C: ditto
7542         * gettext.C: ditto
7543         * ShareContainer.h: ditto
7544         * lyx_main.h: ditto
7545         * kbmap.h: ditto
7546         * FontInfo.h: ditto
7547         * BufferView_pimpl.h: ditto
7548         * ColorHandler.h: ditto
7549
7550         * kbmap.C (defkey): change call to shared_ptr::reset
7551
7552 2002-05-21  Juergen Vigna  <jug@sad.it>
7553
7554         * buffer.C (insertErtContents): fix to insert ert asis if it is
7555         non empty. Skip it completely if it contains only whitespaces.
7556
7557 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7558
7559         * BufferView_pimpl.C:
7560         * BufferView2.C: clear selection on paste (bug 393)
7561
7562 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7563
7564         * DepTable.C: include ctime
7565
7566 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7567
7568         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7569
7570 2002-05-14  Juergen Vigna  <jug@sad.it>
7571
7572         * text.C (breakParagraph): fixed function to honor the keepempty
7573         layout in the right maner and also to permit the right breaking
7574         algorithm on empty or non empyt keepempty paragraphs.
7575
7576         * paragraph.C (breakParagraph): we have to check also if the par
7577         is really empty (!size()) for isempty otherwise we do the wrong
7578         paragraph break.
7579
7580 2002-05-10  Juergen Vigna  <jug@sad.it>
7581
7582         * buffer.[Ch] : The following are only changes to the ert
7583         compatibility read reading old LaTeX layout and font stuff and
7584         convert it to ERTInsets.
7585
7586         * buffer.h: added isErtInset().
7587
7588         * buffer.C (struct ErtComp): add a fromlayout bool to check
7589         if we're inside a LaTeX layout.
7590         (isErtInset): new helper function.
7591         (insertErtContents): look for other ert insets before this one
7592         and insert the contents there, so that we don't have subsequent
7593         ERT insets with nothing between them. This way we create only one
7594         inset with multiple paragraphs. Also check if we don't insert only
7595         spaces ' ' as they are ignored anyway afterwards in the .tex file
7596         so if we have only spaces we will ignore this latex part in the
7597         new file.
7598         (parseSingleLyXformat2Token \\layout): better compatibility when
7599         reading layout-latex stuff.
7600         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7601         language tag.
7602         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7603         stuff after reading the inset only get the information back from
7604         the stack.
7605
7606 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7607
7608         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7609
7610         * LaTeXFeatures.C (getBabelOptions): New method.
7611
7612 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7613
7614         * BufferView_pimpl.C (Dispatch): work around missing argument for
7615         'layout'
7616
7617 2002-05-08  Juergen Vigna  <jug@sad.it>
7618
7619         * text.C (leftMargin): handle paragraph leftindent.
7620
7621         * paragraph.C (writeFile): write the new \\leftindent tag.
7622         (validate): handle leftindent code.
7623         (TeXEnvironment): handle paragraphleftindent code again.
7624
7625         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7626
7627         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7628         for paragrap_extra indent code and new token \\leftindent.
7629         (latexParagraphs): handle the leftindent as environment.
7630
7631         * ParameterStruct.h: added leftindent support.
7632
7633         * ParagraphParameters.C (leftIndent): added support functions for
7634         the paragraph left indent.
7635
7636         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7637         more appropriate.
7638
7639 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7640
7641         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7642         inside insetERT.
7643
7644         * text.C (computeBidiTables): No bidi in insetERT.
7645
7646         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7647         in RTL documents.
7648
7649 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7650
7651         * version.C.in: pre 5
7652
7653 2002-05-02  José Matos  <jamatos@fep.up.pt>
7654         * buffer.C (makeDocBookFile): white space changes, add newline to
7655         command styles.
7656         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7657
7658         * tabular.C (docBook): fix typo.
7659
7660 2002-05-03  Juergen Vigna  <jug@sad.it>
7661
7662         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7663         change in LyXText as we can not be sure it was not freed.
7664         (drawOneRow): remove unused code.
7665
7666         * text.C (drawInset): redo the calculation of the need_break_row as
7667         it could have a row which was already freed.
7668         (draw): look at the return value of drawInset and return false if
7669         it also returned false.
7670         (paintRowText): look at the return value of draw and return false if
7671         it also returned false.
7672
7673         * lyxtext.h: added bool return type to drawInset() and draw() so that
7674         if we have a change in the row so that the rowbreak has to be redone
7675         we abort drawing as it will be called again.
7676
7677 2002-05-02  Juergen Vigna  <jug@sad.it>
7678
7679         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7680         a change in the maintext also if we're inside an inset.
7681         (Dispatch): set the cursor again after a break line and after the
7682         screen has been updated as it could be we're in a different row.
7683
7684         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7685         to set the cursor behind the pargraph with > size().
7686         (setCursor): check also for the same paragraph when checking where
7687         to put the cursor if we have a NFR inset.
7688
7689         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7690         parts of layout read further up as it still was in the wrong
7691         position.
7692
7693 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7694
7695         * screen.C (drawFromTo): change sine fullRebreak always return
7696         true.
7697
7698         * buffer.C (parseSingleLyXformat2Token): reindent some
7699
7700         * BufferView_pimpl.C (update): change since fullRebreak always
7701         return true.
7702         (Dispatch): git rid of the last hardcoded "Standard"s.
7703
7704 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7705
7706         * text2.[Ch] (fullRebreak): make it return void now that we always
7707         returned true.
7708
7709 2002-04-30  Juergen Vigna  <jug@sad.it>
7710
7711         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7712         ert compatibility check for "latex" layout.
7713
7714 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7715
7716         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7717         minipages: use col% instead of p%, and also use the current font.
7718         (makeLaTeXFile): Fix use babel condition.
7719         (parseSingleLyXformat2Token): Correct font when reading old floats.
7720
7721 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7722
7723         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7724         inserting list of floats.
7725
7726 2002-04-25  Herbert Voss  <voss@lyx.org>
7727
7728         * MenuBackend.C (expand): don't add the graphics extensions to the
7729         export menu
7730
7731 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7732
7733         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7734         non-existing layout, do not complain if it was the default layout
7735         of the original class (bug #342)
7736
7737 2002-04-24  Juergen Vigna  <jug@sad.it>
7738
7739         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7740         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7741
7742 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7743
7744         * buffer.C (getBibkeyList): If using \bibliography, return the
7745         option field with the reference itself. Enables us to provide natbib
7746         support when using \bibliography.
7747
7748 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7749
7750         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7751
7752         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7753         natbib is provided by the LaTeX class.
7754
7755 2002-04-23  Juergen Vigna  <jug@sad.it>
7756
7757         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7758         Wakeup functions.
7759
7760         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7761
7762 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7763
7764         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7765
7766         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7767         ensuremath around textordmasculine, textordfeminine and
7768         textdegree.
7769
7770 2002-04-19  Juergen Vigna  <jug@sad.it>
7771
7772         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7773         reinitializing the buffer otherwise row-dimensions may be wrong.
7774         (update): reset also the selection cursors if they do exits otherwise
7775         their x/y positions may be wrong.
7776
7777         * text2.C (cursorDown): don't enter the inset if we came from a row
7778         above and are one row over the inset.
7779
7780         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7781         really leaving an inset.
7782
7783 2002-04-18  Juergen Vigna  <jug@sad.it>
7784
7785         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7786         of the selected paragraph does not have the selected layout also if
7787         the last one had!
7788
7789         * text2.C (setLayout): fixed bug which did not change last selected
7790         paragraph.
7791
7792         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7793         changed the read and substituted \\end_float with \\end_inset!
7794
7795         * BufferView_pimpl.C (cursorPrevious):
7796         (cursorNext): fixed to make it work with rows heigher than the work
7797         area without moving the cursor only the draw of the row.
7798         (workAreaMotionNotify): fix jumping over high rows.
7799
7800 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7801
7802         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7803         Ressler.
7804
7805 2002-04-16  Juergen Vigna  <jug@sad.it>
7806
7807         * text2.C (setCursor): set also the irow().
7808         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7809         (cursorUp):
7810         (cursorDown): support for locking an inset if the x_fix value goes
7811         inside it. That way I can transverse insets too with cursor up/down.
7812
7813         * lyxrow.h: added irow helper function same as other (i) functions.
7814
7815         * BufferView_pimpl.C (cursorPrevious):
7816         (cursorNext): fixed for insets!
7817
7818 2002-04-15  Juergen Vigna  <jug@sad.it>
7819
7820         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7821         position otherwise it is wrong in some cases.
7822
7823         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7824         inside the inset before the call.
7825
7826 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7827
7828         * buffer.[Ch] (getBibkeyList): make it const.
7829
7830 2002-04-12  Juergen Vigna  <jug@sad.it>
7831
7832         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7833
7834         * text2.C (getCursorX): new helper function
7835         (setCursor): compute also ix_
7836         (setCursorFromCoordinates): set also ix.
7837
7838         * lyxcursor.h: added ix_ and helper functions.
7839
7840         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7841
7842         * buffer.C (insertStringAsLines): dont break paragraph if the this
7843         paragraph is inside an inset which does not permit it!
7844
7845         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7846         also with no chars on this paragraph.
7847         (paintRowText): only paint stuff if it's inside the workarea!
7848
7849         * paragraph.C (breakParagraph): honor keepempty flag and break the
7850         paragraph always below not above.
7851
7852         * BufferView2.C (unlockInset): update the paragraph layout on inset
7853         unlock as we changed paragraph in such a case.
7854
7855         * lyxfind.C (LyXFind): clear the former selection if not found!
7856
7857         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7858         again called in insertChar().
7859
7860         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7861         an inset which uses the whole row!
7862         (rightMargin): ditto.
7863         (insertChar): force a rebreak if we inserted an inset!
7864
7865 2002-03-28  Herbert Voss  <voss@lyx.org>
7866
7867         * lyxlength.[Ch]: add inBP() to get the right PS-point
7868         units (BigPoint). With inPixels we have rounding errors
7869
7870 2002-04-11  Juergen Vigna  <jug@sad.it>
7871
7872         * text2.C (setCursorFromCoordinates): set iy to the right value.
7873         (setCursor): add check if row->previous exists!
7874
7875         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7876         an old float_type as this was the case in the old code!
7877
7878         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7879
7880         * BufferView2.C (showLockedInsetCursor): use iy
7881         (fitLockedInsetCursor): ditto
7882
7883         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7884         locked insets as there we have the right value now.
7885
7886         * lyxcursor.C: added iy_ variable and iy functions to set to the
7887         baseline of cursor-y of the locked inset.
7888
7889         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7890         (setCursor): fixed for insets which need a full row.
7891
7892         * text.C (rowLastPrintable): don't ignore the last space when before
7893         an inset which needs a full row.
7894         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7895         as last character of a row when before a inset which needs a full row.
7896
7897 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7898
7899         * version.C.in: update date
7900
7901         * text2.C (fullRebreak): try to always return true and see what
7902         happens...
7903
7904 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7905
7906         * MenuBackend.C (expand): use Floating::listName
7907
7908         * FloatList.C (FloatList): add listName argument to the built-in
7909         floats
7910
7911         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7912         text associated with the float.
7913
7914 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7915
7916         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7917
7918 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7919
7920         * ShareContainer.h: add a couple of missing typenames.
7921
7922 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7923
7924         * lyxrc.C (getDescription): use _() correctly rather than N_().
7925
7926 2002-03-28  Herbert Voss  <voss@lyx.org>
7927
7928         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7929         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7930
7931 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7932
7933         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7934         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7935
7936 2002-03-29  Juergen Vigna  <jug@sad.it>
7937
7938         * lyxfunc.C (dispatch): add a missing fitCursor call.
7939
7940         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7941         it was scrolled by a cursor move, so return the bool status.
7942
7943         * BufferView.C (fitCursor): return the bool flag also to the outside
7944         world as this is needed.
7945
7946         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7947
7948         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7949         call the edit() as it is not needed (and wrong) IMO.
7950         (workAreaButtonPress): set the screen_first variable before evt.
7951         unlock the inset as this may change screen_first and then we have
7952         a wrong y position for the click!
7953
7954 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7955
7956         * MenuBackend.C (expand): another translation that I missed
7957
7958 2002-03-28  Juergen Vigna  <jug@sad.it>
7959
7960         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7961
7962         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7963
7964 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7965
7966         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7967
7968         * MenuBackend.C (expand): fix export/view/update when there is no
7969         document open.
7970
7971 2002-03-27  Herbert Voss  <voss@lyx.org>
7972
7973         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7974         and text%
7975
7976 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7977
7978         * bufferview_funcs.C (currentState): only show paragraph number
7979         for is DEVEL_VERSION is set.
7980
7981         * lyxfunc.C (dispatch): put warning in INFO channel
7982
7983         * MenuBackend.C (expand): translate the name of floats
7984
7985         * FloatList.C (FloatList): mark the float names for translation
7986
7987         * converter.C (convert): use LibScriptSearch
7988
7989 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7990
7991         * MenuBackend.C (defaults): fix default menu (we might as well get
7992         rid of it...)
7993
7994 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7995
7996         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7997         directory.
7998
7999 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8000
8001         * lyxvc.C: reorder includes.
8002
8003 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8004
8005         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8006           properly
8007
8008 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8009
8010         * CutAndPaste.C: change layouts earlier on paste
8011           to avoid crashing when calling getFont()
8012
8013 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8014
8015         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8016         irritating #error.
8017
8018 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8019
8020         * WorkArea.C: remove 'Pending' debug message.
8021
8022         * most files: ws cleanup
8023
8024         * buffer.[Ch]: ws changes
8025
8026         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8027
8028 2002-03-21  Juergen Vigna  <jug@sad.it>
8029
8030         * tabular.C (SetMultiColumn): collapse also the contents of the
8031         cells and set the last border right. Added a Buffer const * param.
8032
8033 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8034
8035         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8036         linking or not.
8037
8038 2002-03-19  Juergen Vigna  <jug@sad.it>
8039
8040         * text2.C (clearSelection): reset also xsel_cache.
8041
8042         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8043         where it needs to be called (John tells us to do so too :)
8044         (selectionLost): reset sel_cache.
8045
8046         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8047
8048 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8049
8050         * text2.C (setCursorIntern): put debuging code in INSETS channel
8051
8052 2002-03-19  André Pönitz <poenitz@gmx.net>
8053
8054         * lyxfunc.C: tiny whitespace change
8055
8056 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8057
8058         * ToolbarDefaults.C (init):
8059         * LyXAction.C (init):
8060         * commandtags.h:
8061         * BufferView_pimpl.C (Dispatch):
8062         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8063
8064 2002-03-19  Allan Rae  <rae@lyx.org>
8065
8066         * exporter.C (Export): removeAutoInsets before doing anything else.
8067         While I've just introduced a dependency on BufferView this really is
8068         the best place to clean the buffer otherwise you need to cleanup in
8069         a dozen places before calling export or cleanup in a dozen functions
8070         that export calls.
8071
8072         * converter.C (runLaTeX):
8073         (scanLog): Better handling of removeAutoInsets and screen updates.
8074
8075         * lyxfunc.C (dispatch): small whitespace changes
8076
8077 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8078
8079         * WorkArea.C (C_WorkAreaEvent): return a value.
8080         (event_cb): return 1 if we handled the event, 0 otherwise.
8081
8082         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8083
8084 2002-03-18  Juergen Vigna  <jug@sad.it>
8085
8086         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8087         (GetAdditionalWidth): ditto.
8088         (RightLine): ditto.
8089         (LeftLine): ditto.
8090
8091         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8092         inset if we're there actually (probably not used right now but this
8093         is the direction to go for unifying code).
8094         (paste): disable code to clear the selection.
8095
8096         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8097         inside an InsetText and move the check further up as it is in the
8098         wrong place.
8099
8100         * text2.C (pasteSelection): set a selection over the pasted text.
8101
8102 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8103
8104         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8105         and libgraphics to build on Cygwin.
8106
8107 2002-03-15  Juergen Vigna  <jug@sad.it>
8108
8109         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8110         inserting an Inset into the paragraph. I know this is not the best
8111         fix but we already use current_view in CutAndPaste so we will remove
8112         all of it's using at the same time.
8113
8114         * buffer.C (sgmlError): deactivated function till it is rewritten in
8115         the right mode, now it can create problems.
8116
8117         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8118         before accessing it.
8119
8120 2002-03-14  Juergen Vigna  <jug@sad.it>
8121
8122         * undo_funcs.C (textHandleUndo): do the right thing when updating
8123         the inset after the undo/redo.
8124
8125         * text2.C (setCursor): just some testcode for #44 not ready yet.
8126
8127         * undo_funcs.C (textHandleUndo): set the next() and previous()
8128         pointers of the paragraph to 0 before deleting otherwise we have
8129         problems with the Paragraph::[destructor].
8130
8131         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8132         on a paragraph insertion.
8133
8134 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8135
8136         * buffer.C (asciiParagraph): use += operator for char append to
8137         string.
8138
8139         * paragraph.C (getFontSettings): compare >= not just >
8140         (highestFontInRange): ditto
8141         (setFont): ditto
8142
8143 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8144
8145         * paragraph.C: change several algorithm to be more appripriate for
8146         the problem domain. This is lookip in FontList and in the InsetList.
8147
8148 2002-03-13  André Pönitz <poenitz@gmx.net>
8149
8150         * commandtags.h:
8151         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8152
8153 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8154
8155         * commandtags.h:
8156         * LyXAction.C:
8157         * lyxfunc.C:
8158         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8159
8160 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8161
8162         * Painter.C (display): anon helper function, adjust code for this
8163         change.
8164         (pixmap): remove function.
8165
8166         * Painter.h: remove private display variable.
8167
8168         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8169
8170 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8171
8172         * WorkArea.[Ch]: remove figinset_canvas cruft.
8173
8174 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8175
8176         * lyxtextclass.C (operator): add one item cache optimization.
8177
8178         * bufferlist.h: doxy changes
8179
8180         * bufferlist.C: ws changes
8181
8182         * DepTable.[Ch] (ext_exist): place const in the right spot.
8183
8184         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8185         call resizeInsets.
8186         (workAreaExpose): call resizeInsets when the with BufferView changes.
8187         (Dispatch): adjust for protectedBlank removal
8188         (specialChar): call updateInset if the insert went ok.
8189
8190         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8191         specialChar instead.
8192
8193         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8194
8195         * BufferView.h: doxy change
8196
8197         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8198
8199         * lyxtextclass.C (operator[]): remove non-const version
8200         (defaultLayout): remove non-const version
8201
8202 2002-03-12  Juergen Vigna  <jug@sad.it>
8203
8204         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8205         did resize the LyXText too.
8206
8207         * buffer.C (readLyXformat2): set layout information on newly allocated
8208         paragraphs.
8209
8210         * tabular.C (OldFormatRead): set layout information on the paragraph.
8211
8212 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8213
8214         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8215
8216 2002-03-11  Juergen Vigna  <jug@sad.it>
8217
8218         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8219         plainly wrong.
8220         (resizeCurrentBuffer): force also the insets to resize themselfes.
8221         (moveCursorUpdate): fixed up for InsetText.
8222
8223 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8224
8225         * commandtags.h:
8226         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8227         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8228         value of Dialogs::tooltipsEnabled().
8229         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8230
8231 2002-03-08  Juergen Vigna  <jug@sad.it>
8232
8233         * BufferView_pimpl.C (updateInset): update inset inside inset also
8234         if it isn't inside theLockingInset().
8235
8236 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8237
8238         * buffer.C (asciiParagraph): redo some of the word and line length
8239         handling.
8240         (getLists): look for Caption instead of caption.
8241
8242 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8243
8244         * buffer.C (Buffer): initialize niceFile to true
8245         (makeLaTeXFile):
8246         (makeLinuxDocFile):
8247         (makeDocBookFile): make sure niceFile is true on exit
8248
8249 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8250
8251         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8252
8253 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8254
8255         * LyXSendto.C: remove.
8256         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8257         * lyx_gui.C: remove now-redundant comment.
8258         * ColorHandler.h: remove forward declaration of class WorkArea.
8259         * lyxfunc.C: remove #include "WorkArea.h".
8260
8261 2002-03-07  Juergen Vigna  <jug@sad.it>
8262
8263         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8264         got moved away with the DEPM and also set the inset_owner always
8265         right which before could have been omitted.
8266
8267 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8268
8269         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8270         wanted layout is not found.
8271
8272 2002-03-07  Juergen Vigna  <jug@sad.it>
8273
8274         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8275
8276 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8277
8278         * paragraph.C (breakParagraph): use default layout not layout of
8279         prev paragraph.
8280         (Paragraph): clear ParagraphParameters.
8281
8282 2002-03-06  Juergen Vigna  <jug@sad.it>
8283
8284         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8285         otherwise it would not be a valid lenght. Fixed a special case in
8286         the minipage compatibility read where we end the document with a
8287         minipage.
8288
8289         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8290         was set as it could be 0 for InsetTexts first entry.
8291
8292 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8293
8294         * paragraph.C (writeFile): if layout is empty write out
8295         defaultLayoutName().
8296
8297         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8298         file without named layout we set layout to defaultLayoutName().
8299
8300 2002-03-06  Juergen Vigna  <jug@sad.it>
8301
8302         * CutAndPaste.C (copySelection): set layout for new paragraph.
8303
8304         * text.C (prepareToPrint): leave ERT inset left aligned
8305         (leftMargin): don't indent paragraphs inside ERT insets
8306
8307 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8308
8309         * paragraph.C (breakParagraph): dont call clear do the work manually
8310
8311         * paragraph.[Ch] (clear): remove function
8312
8313 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8314
8315         * paragraph.C (Paragraph): dont call clear, the work has already
8316         been done.
8317
8318         * lyxtextclass.C (operator): assert if n is empty
8319
8320         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8321         work manually instead.
8322
8323 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8324
8325         * BufferView_pimpl.C: protect selectionLost against text == 0
8326
8327 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8328
8329         * text.C (breakParagraph): fix a setting layout to '0' problem.
8330
8331 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8332
8333         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8334         final location of file, for the included files, and graphics.
8335
8336 2002-03-05  Juergen Vigna  <jug@sad.it>
8337
8338         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8339
8340 2002-03-04  Juergen Vigna  <jug@sad.it>
8341
8342         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8343
8344         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8345         last column of multicolumn cells.
8346         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8347
8348 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8349
8350         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8351         file if it doesn't go to a temporary file.
8352
8353         * buffer.C (sgmlOpenTag):
8354         (sgmlCloseTag):  remove extra newline insertion.
8355
8356 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8357
8358         * text.C (getRowNearY): comment out debug msg
8359
8360 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8361
8362         * text2.C: first -> first_y
8363
8364         * text.C (getRowNearY): add some attemts at a possible
8365         optimization, not working.
8366
8367         * tabular.[Ch]: add BufferParams to several function so that newly
8368         created paragraph can be initialized to he default layotu for the
8369         buffers textclass.
8370
8371         * tabular-old.C (ReadOld): add buf->params to call of Init
8372
8373         * screen.C: rename text->first to text->first_y
8374
8375         * paragraph.C (breakParagraph): always set layout in the broken
8376         paragraph
8377
8378         * lyxtextclass.C (Read): remove lowercase
8379         (hasLayout): ditto
8380         (operator): ditto
8381         (delete_layout): ditto
8382
8383         * lyxtext.h: rename first -> first_y
8384
8385         * lyxlayout.C (Read): remove lowercase
8386         (name): ditto
8387         (setName): ditto
8388         (obsoleted_by): ditto
8389
8390         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8391
8392         * buffer.C (insertErtContents): add params are to InsetERT
8393         (parseSingleLyXformat2Token): add code to check if a paragraphs
8394         layout really exist.
8395         (parseSingleLyXformat2Token): add params to several inset
8396         constructors
8397         (asciiParagraph): remove lowercase, do the layout comparisons with
8398         no_case
8399
8400         * BufferView_pimpl.C (cursorNext): first -> first_y
8401         (resizeCurrentBuffer): first -> first_y
8402         (updateScrollbar): first -> first_y
8403         (scrollCB): first -> first_y
8404         (workAreaMotionNotify): first -> first_y
8405         (workAreaButtonPress): first -> first_y
8406         (checkInsetHit): first -> first_y
8407         (cursorPrevious): first -> first_y
8408         (cursorNext): first -> first_y
8409         (Dispatch): add buffer_->params to severl inset contructors
8410
8411 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8412
8413         * lyxlayout.C (Read): remove some debug info that I forgot.
8414
8415         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8416         clean up the code slightly.
8417         (makeLinuxDocFile): ditto
8418         (makeDocBookFile): ditto
8419
8420         * text2.C: layout as string
8421
8422         * text.C: layout as string
8423
8424         * paragraph_pimpl.C: layout as string
8425
8426         * paragraph.[Ch]: layout as string
8427
8428         * lyxtextclasslist.[Ch]: layout as string
8429
8430         * lyxtextclass.[Ch]: layout as string
8431
8432         * lyxtext.h: layout as string
8433
8434         * lyxlayout.[Ch]: layout as string
8435
8436         * lyx_cb.C: layout as string
8437
8438         * bufferview_funcs.C: layout as string
8439
8440         * bufferparams.C: layout as string
8441
8442         * buffer.C: layout as string
8443
8444         * LyXView.[Ch]: layout as string
8445
8446         * LaTeXFeatures.[Ch]: layout as string
8447
8448         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8449
8450         * BufferView_pimpl.C: change current_layout to string, remove
8451         lyx::layout_type.
8452         (Dispatch):
8453         (smartQuote):
8454         (insertInset):
8455         (workAreaButtonRelease): layout as string
8456
8457         * BufferView2.C (unlockInset): adjust
8458
8459         * vspace.C (asLatexCommand): use an explict temp variable.
8460
8461 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8462
8463         * Makefile.am: use FRONTEND_*
8464
8465 2002-03-01  Juergen Vigna  <jug@sad.it>
8466
8467         * tabular.C (SetWidthOfMulticolCell): changed to something better
8468         I hope but still work in progress.
8469         (recalculateMulticolumnsOfColumn): renamed function from
8470         recalculateMulticolCells as it is more appropriate now.
8471         (SetWidthOfCell): calculate multicols better.
8472
8473 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8474
8475         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8476
8477         * lyxfunc.C (processKeySym): print sequence also if it is
8478         `deleted' (complete)
8479
8480         * kbsequence.C (print): print sequence even if it is deleted
8481         (complete would be a better word, actually).
8482
8483         * lyxfunc.C (dispatch): print complete options after a prefix key
8484
8485         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8486
8487 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8488
8489         * text2.C (setCharFont): eliminate setCharFont code duplication.
8490
8491 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8492
8493         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8494         LFUN_TABULAR_FEATURE (bug #177)
8495
8496 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8497
8498         * Makefile.am: remove figure.h
8499
8500 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8501
8502         * Bufferview_pimpl.C:
8503         * CutAndPasteC:
8504         * LaTeX.C:
8505         * LyXSendto.C:
8506         * buffer.C:
8507         * bufferlist.C:
8508         * converter.C:
8509         * language.C:
8510         * lyxfunc.C:
8511         * lyxvc.C:
8512         * paragraph.C:
8513         * text.C:
8514         * text2.C: remove #include "lyx_gui_misc.h".
8515
8516         * LaTeX.C: added #include <cstdio>
8517
8518 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8519
8520         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8521         that the paragraph following this one can have.
8522
8523         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8524
8525         * vspace.C (asLatexCommand): fix bogus gcc warning
8526
8527         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8528
8529 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8530
8531         * text2.C (setLayout): get rid of redundant code
8532
8533 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8534
8535         * text2.C (incDepth): make sure depth cannot be increased beyond
8536         reasonable values.
8537
8538 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8539
8540         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8541         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8542
8543         * PainterBase.h (image):
8544         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8545         a LyXImage const *.
8546
8547 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8548
8549         * BufferView.C:
8550         * BufferView.h:
8551         * BufferView_pimpl.C:
8552         * BufferView_pimpl.h:
8553         * LaTeXFeatures.C:
8554         * LyXAction.C:
8555         * LyXView.C:
8556         * Makefile.am:
8557         * UpdateList.h:
8558         * UpdateList.C:
8559         * buffer.C:
8560         * figure.h:
8561         * figureForm.C:
8562         * figureForm.h:
8563         * figure_form.C:
8564         * figure_form.h:
8565         * lyx_cb.C:
8566         * lyx_gui.C:
8567         * lyx_gui_misc.C:
8568         * lyxfunc.C:
8569         * sp_base.h:
8570         * sp_ispell.h:
8571         * sp_pspell.h:
8572         * sp_spell.C: remove fig inset, and the crap house of
8573           cards that follows it
8574
8575 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8576
8577         * Makefile.am:
8578         * lyxserver.C:
8579         * os2_defines.h:
8580         * os2_errortable.h:
8581         * nt_defines.h: move .h into support/
8582
8583         * vms_defines.h: remove
8584
8585         * WorkArea.C: add space in debug output
8586
8587         * text2.C:
8588         * paragraph.C:
8589         * buffer.C: add WITH_WARNINGS
8590
8591         * vc-backend.h:
8592         * vc-backend.C:
8593         * bufferlist.C: s/retrive/retrieve/, add docs
8594
8595         * vspace.h:
8596         * vspace.C:
8597         * kbmap.h:
8598         * lyxlength.h:
8599         * lyxgluelength.h:
8600         * length_common.h:
8601         * chset.h:
8602         * chset.C: add docs
8603
8604         * lyxgui.C: add ID to X error handler
8605
8606         * lyxtestclass.c: fix typo
8607
8608 2002-02-26  Juergen Vigna  <jug@sad.it>
8609
8610         * tabular_funcs.C (write_attribute): changed so that some default
8611         attributes are not written at all.
8612         (getTokenValue): set default values before trying to read the
8613         value so we have the return value always set as default if we don't
8614         find the token we search for.
8615
8616         * tabular.C (Write): write bools as bools not as strings!
8617
8618 2002-02-22  Juergen Vigna  <jug@sad.it>
8619
8620         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8621         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8622
8623         * text.C (leftMargin): don't add an indent for paragraphs inside
8624         tabular cells (fix #208).
8625
8626 2002-02-21  José Matos  <jamatos@fep.up.pt>
8627
8628         * tabular.C (docBook): fixed support for long tables.
8629
8630 2002-02-20  Juergen Vigna  <jug@sad.it>
8631
8632         * text2.C (getFont): get the drawing font of the Inset if this
8633         paragraph is inside an inset (only important for InsetERT for now).
8634
8635         * buffer.C (insertErtContents): use new lanugage params in ERT
8636         constructor.
8637
8638         * CutAndPaste.C: commenting out seemingly uneeded code.
8639
8640 2002-02-19  Allan Rae  <rae@lyx.org>
8641
8642         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8643         Iterators might be simple to use but they also get invalidated.
8644         (removeAutoInsets): renamed saved cursor tracking variables and added
8645         some comments to clarify what everything does.
8646
8647 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8648
8649         * Chktex.C:
8650         * LaTeX.C:
8651         * LyXSendto.C:
8652         * converter.C:
8653         * lyx_cb.C:
8654         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8655         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8656
8657         * lyxfunc.C:
8658         * vc-backend.h: remove #include "support/syscall.h"
8659
8660         * LaTeX.C:
8661         * LyXSendto.C:
8662         * converter.C: rearrange #includes in Lars' approved fashion.
8663
8664         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8665         forward declare class Timeout in the header file.
8666
8667         * XFormsView.C: changes due to the above.
8668
8669         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8670         similar to LyXView.
8671
8672         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8673         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8674
8675 2002-02-18  José Matos  <jamatos@fep.up.pt>
8676
8677         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8678         insets contents.
8679
8680 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8681
8682         * a lot of small ws changes
8683         * add a lot of using std::XXX
8684         * use std construcs some places where approp.
8685         * use some exisint stuff from lyxfunctional where approp.
8686         * Make file changes to use partial linking (lets test this now...)
8687
8688 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8689
8690         * Chktex.C:
8691         * buffer.C:
8692         remove #include "support/syscontr.h" as it's redundant. Always has been.
8693
8694         * Chktex.C:
8695         * LaTeX.C:
8696         * LyXSendto.C:
8697         * converter.C:
8698         * lyx_cb.C:
8699         * vc-backend.C:
8700         change Systemcalls::System to Systemcalls::Wait and
8701         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8702         No change of functionality, just reflects the stripped down Systemcalls
8703         class.
8704
8705 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8706
8707         * debug.[Ch]: add a GRAPHICS type to the enum.
8708
8709 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8710
8711         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8712
8713         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8714         there is an inset.
8715
8716 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8717
8718         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8719         match the changes below.
8720
8721         * text2.C (toggleInset): if there is not editable inset at cursor
8722         position, try to see if cursor is _inside_ a collapsable inset
8723         and close it.
8724
8725 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8726
8727         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8728         document menu has a nice checkbox
8729
8730 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8731
8732         * lyxlength.C (asLatexString): change PW to output as percent of
8733         \textwidth.
8734
8735         * lengthcommon.C: change '%' to 't%'
8736
8737         * lyxfunc.C (dispatch): a few comments from Martin
8738
8739 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8740
8741         * WorkArea.h:
8742         * WorkArea.C:
8743         * BufferView_pimpl.h:
8744         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8745           the X selection.
8746
8747 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8748
8749         * vspace.C (inPixels): fix compiler warning
8750
8751 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8752
8753         * lyxfunc.C (getStatus): fix status message for disabled commands.
8754
8755 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8756
8757         * BufferView_pimpl.C: fix crash on close buffer
8758         during selection (#227)
8759
8760 2002-01-27  Herbert Voss  <voss@lyx.org>
8761
8762         * buffer.C: link old Figure to new graphic inset
8763
8764 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8765
8766         * FontLoader.C (getFontinfo): Change the latex font names in order
8767         to match the names of type1inst.
8768
8769 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8770
8771         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8772
8773         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8774         (extchanged): ditto
8775         (ext_exist): ditto
8776         (remove_files_with_extension): ditto
8777         (remove_file): ditto
8778         (write): ditto
8779
8780         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8781         document is smaller than the work area height. Do not initialize
8782         static variables to 0.
8783
8784 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8785
8786         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8787
8788         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8789         LFUN_LAYOUT_PARAGRAPHS.
8790
8791         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8792         tabular. It is possible to provide a possible cell, which will
8793         typically be the actcell from the corresponding insettabular
8794
8795         * lyxfunc.C (getStatus): small cleanup; disable
8796         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8797         true
8798
8799 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8800
8801         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8802
8803         * paragraph.C (startTeXParParams):
8804         (endTeXParParams): new methods. The LaTeX code to
8805         start/end paragraph formatting
8806         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8807         empty (fixes bug #200)
8808
8809         * vspace.C (inPixels): adapt to the change below
8810         (inPixels): [later] more cleanups (remove unused variables)
8811
8812         * lyxlength.C (inPixels): change to use a width and a height as
8813         parameter.
8814
8815 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8816
8817         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8818         Replaced with \paperwidth
8819
8820         * DepTable.C (insert): add std:: qualifier
8821
8822 2002-01-18  Allan Rae  <rae@lyx.org>
8823
8824         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8825         updated also?
8826
8827         * text.C (drawInset): Turned out I didn't know enough about how
8828         rebreaking worked.  This fixes most of the redraw problems.  I see
8829         an occasional cursor trail when a line is broken now and the cursor
8830         placement can seem out by a few pixels also after a rebreak.
8831
8832 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8833
8834         * buffer.C (parseSingleLyXformat2Token): update because minipage
8835         width is now a LyXLength
8836
8837         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8838
8839         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8840         math insets
8841
8842 2002-01-17  Juergen Vigna  <jug@sad.it>
8843
8844         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8845
8846         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8847         is set correctly and the inset is updated correctly.
8848
8849 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8850
8851         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8852         the beginning of the loop.
8853
8854 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8855
8856         * lyxrc.C: improve help for use_scalable_fonts
8857
8858 2002-01-17  Allan Rae  <rae@lyx.org>
8859
8860         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8861
8862 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8863
8864         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8865         make sure to set their inset_owner to the right value (bug #171)
8866
8867 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8868
8869         * DepTable.h
8870         * DepTable.C: Implement mtime checking to reduce time spent doing
8871         CRCs.
8872
8873 2002-01-16  Juergen Vigna  <jug@sad.it>
8874
8875         * tabular.C (GetAdditionalHeight): one of error fixed.
8876
8877         * lyxrc.C (output): small fix in writing use_pspell.
8878
8879 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8880
8881         * sp_base.h: #include LString.h
8882
8883 2002-01-16  Allan Rae  <rae@lyx.org>
8884
8885         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8886         Can someone check this please?
8887
8888         * text.C (drawInset): It was possible that p.row would be removed by
8889         breakAgainOneRow upsetting a few other settings.  There may be another
8890         small tweak possible by setting need_break_row = 0 when p.row has been
8891         removed but I don't know enough about the logic here.
8892
8893 2002-01-15  Allan Rae  <rae@lyx.org>
8894
8895         * text.C (insertChar): removed conditional truism.
8896
8897         * BufferView2.C (removeAutoInsets): More tweaks.
8898         cur_par_prev could be a stray pointer.  Check for trailing empty line
8899         in case last line was cur_par and only had an error inset on it.
8900
8901 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8902
8903         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8904         absolute
8905
8906         * vc-backend.C (most methods):
8907         * exporter.C (Export):
8908         * converter.C (convert):
8909         (runLaTeX):
8910         * LyXSendto.C (SendtoApplyCB):
8911         * lyxfunc.C (dispatch):
8912         (menuNew):
8913         (open):
8914         (doImport):
8915         * lyx_cb.C (AutoSave):
8916         (InsertAsciiFile):
8917         * BufferView_pimpl.C (MenuInsertLyXFile):
8918         * buffer.C (runChktex): use Buffer::filePath().
8919
8920         * buffer.h: rename filename to filename_; rename filepath to
8921         filepath_ and make it private
8922         (filePath): new method
8923
8924         * buffer.C (writeFile): use fileName()
8925         (getLatexName):
8926
8927         * lyx_main.C (init): fix starting  of LyX when the binary is a
8928         link from so,ewhere else.
8929
8930         * minibuffer.C: include <cctype> for isprint
8931
8932 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8933
8934         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8935         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8936         name clash with InsetCollapsable's width function.
8937
8938 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8939
8940         * lastfiles.C: include <iterator>
8941
8942 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8943
8944         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8945         std::count.
8946
8947         * buffer.C (makeLaTeXFile): ditto.
8948         Also make loop operation more transparent.
8949
8950 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8951
8952         * ToolbarDefaults.C: remove trailing comma closing namespace.
8953
8954         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8955
8956         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8957         as in WorkArea.
8958
8959         * trans.C (Load): comment out unused variable, allowed.
8960
8961 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8962
8963         * minibuffer.[Ch] (append_char): new method to recieve input from the
8964         drop-down completion browser. If a key was pressed, then recieve this
8965         char and append it to the existing string.
8966         (peek_event): modify the positioning data passed to the completion
8967         browser so that it can be placed above the minibuffer rather than below.
8968 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8969
8970         * LyXAction.C (init): alloe error-next for readonly documents.
8971
8972         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8973         count.
8974
8975 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8976
8977         * bufferlist.C (readFile): create the buffer _after_ checking that
8978         the file exists.
8979
8980         * lyxfunc.C (verboseDispatch): fix handling of arguments
8981
8982         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8983
8984         * lyxrc.C: use string::erase() instead of initializing to "".
8985
8986
8987 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8988
8989         * BufferView_pimpl.h:
8990         * BufferView_pimpl.C:
8991         * WorkArea.h:
8992         * WorkArea.C:
8993         * text2.C: tell X when we have made a selection for copying
8994
8995 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8996
8997         * BufferView_pimpl.C (MenuInsertLyXFile):
8998         * lyxfunc.C (menuNew):
8999         (open):
9000         (doImport): add shortcuts to directory buttons
9001
9002         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9003         open a float)
9004
9005         * lyxfunc.C (setStatusMessage):
9006         (getStatusMessage): new methods
9007         (getStatus):use setStatusMessage instead of setErrorMessage
9008         (dispatch): when function is disabled, set error message here
9009         [instead of in getStatus previously]
9010
9011         * BufferView_pimpl.C (workAreaButtonRelease): update
9012         toolbar/menubar here too.
9013
9014 2002-01-13  Allan Rae  <rae@lyx.org>
9015
9016         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9017         Now seems indestructible.  Remaining task is to audit all other
9018         code affected by deleteEmptyParagraphMechanism.  One small quirk
9019         left is that an empty document with an error in the preamble can
9020         be made to report an error but no error box appears.  I don't know
9021         where it goes.
9022         (removeAutoInsets): Improved comments.
9023
9024 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9025
9026         * Thesaurus.h:
9027         * Thesaurus.C: update for Aiksaurus 0.14
9028
9029 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9030
9031         * text2.C (firstParagraph): removed member function, all uses
9032         replaces with ownerParagraph
9033         (redoParagraphs): here
9034         (updateInset): here
9035         (toggleAppendix): here
9036         * BufferView2.C (insertErrors): here
9037         (setCursorFromRow): here
9038
9039 2002-01-13  Allan Rae  <rae@lyx.org>
9040
9041         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9042         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9043         There is still a way to segfault this although you may have to do this
9044         multiple times: Have an InsetERT with an unknown command in it.
9045         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9046         <down-arrow>, <Enter> again, View->DVI, BANG!
9047
9048         * text2.C (setCursor):
9049         (deleteEmptyParagraphMechanism):
9050         * lyxtext.h (setCursor):
9051         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9052         Making use of the return value may help fix other bugs.
9053
9054 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9055
9056         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9057
9058         * LyXView.C (updateMenubar): call MenuBar::update here
9059         (updateToolbar): but not here
9060         (showState): do not update toolbar/menubar
9061
9062         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9063         should need to care about that.
9064
9065         * lyxfunc.C (verboseDispatch): simplify a bit
9066         (getStatus): have a version which takes a pseudoaction, and
9067         another which requires a (kb_action,string).
9068
9069         * LyXAction.C (retrieveActionArg): make it work also when action
9070         is not a pseudo-action.
9071         (getActionName): simplify a bit
9072         (helpText):
9073
9074 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9075
9076         * lyxfunc.C (verboseDispatch): new families of methods with
9077         several ways to specify a command and a bool to indicate whether
9078         the command name and shortcut should be displayed in minibuffer
9079         (eventually, we could extend that to a finer bitmask like
9080         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9081         (dispatch): the pristine dispatch command which just, well,
9082         dispatchs! Note it still sets its result to minibuffer; I'm not
9083         sure we want that.
9084
9085         * lyxfunc.h: remove setHintMessage
9086
9087         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9088
9089 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9090
9091         * BufferView_pimpl.C (specialChar): delete new inset if we have
9092         not been able to insert it.
9093
9094         * kbmap.C: revert to using int instead of kb_action, since all we
9095         are dealing with is pseudo-actions.
9096
9097         * LyXAction.C (searchActionArg): change to return int instead of
9098         kb_action, since the result is a pseudoaction.
9099
9100 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9101
9102         * buffer.C (insertErtContents): Fix (partially) the font bug.
9103
9104 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9105
9106         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9107         as the other one is broken on my machine!
9108
9109 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9110
9111         * commandtags.h:
9112         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9113
9114 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9115
9116         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9117         reflect their actual use. Provide compatibility code for older lyxrc
9118         files.
9119
9120         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9121         FL_NORMAL_STYLE.
9122         change names of popup font variables in line with the changes to lyxrc.C
9123
9124 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9125
9126         * buffer.C (asciiParagraph): avoid outputing a word twice after
9127         an inset.
9128
9129         * lyxrc.C (getDescription): document that document_path and
9130         template_path can be empty.
9131
9132 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9133
9134         * LaTeXFeatures.C (getMacros):
9135         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9136
9137         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9138
9139         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9140         getPackages.
9141         (getPackages): rename feature "floats" to "float". Use an array to
9142         iterate over 'simple' features (i.e. just a \usepackage). Add
9143         handling of "amsmath" (renamed from "amsstyle").
9144
9145 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9146
9147         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9148         features list.
9149
9150 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9151
9152         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9153         FuncStaus::FuncStatus & FuncStaus::some_method().
9154
9155 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9156
9157         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9158         of the func_satus stuff. Edited and massaged in various ways by
9159         JMarc.
9160
9161         * lyxfunc.C (getStatus): use FuncStatus
9162
9163 2002-01-08  Juergen Vigna  <jug@sad.it>
9164
9165         * text.C (nextBreakPoint): use function Inset::isChar().
9166
9167         * paragraph.C (TeXOnePar): use function
9168         Inset::forceDefaultParagraphs.
9169
9170         * buffer.C (latexParagraphs): use function
9171         Inset::forceDefaultParagraphs.
9172
9173 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9174
9175         * lyx_gui.C (init): set the style of the menu popups to
9176         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9177
9178 2002-01-07  Juergen Vigna  <jug@sad.it>
9179
9180         * text.C (setHeightOfRow): small fix
9181         (prepareToPrint): don't look at alignment if we don't have the place
9182         for doing it.
9183
9184 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9185
9186         * box.C: New file. Move the Box methods and functions out of box.h,
9187         following Lars' suggestion.
9188
9189 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9190
9191         * box.h: #include "support/LOstream.h", needed for inlined function.
9192
9193         * lyxtextclass.C:
9194         * lyxtextclasslist.C: added some using std declarations.
9195
9196 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9197
9198         * box.h: make signed dimensions to allow insets wider than
9199           the screen (bug #162)
9200
9201         * BufferView_pimpl.C: add some insetHit debug
9202
9203 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9204
9205         * vc-backend.C: add FIXME
9206
9207 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9208
9209         * lyxfunc.C (getStatus): enable code for showing math font status
9210         in toolbar/menu.
9211
9212 2002-01-07  Juergen Vigna  <jug@sad.it>
9213
9214         * text.C (nextBreakPoint): removed debug output not needed anymore.
9215
9216 2002-01-06  Juergen Vigna  <jug@sad.it>
9217
9218         * text.C (nextBreakPoint): fixed up this function we had this bug
9219         since ever but now hopefully we break row better.
9220         (insertChar): we have to check if an inset is the next char as it
9221         could now happen that a large inset is causing a break.
9222
9223 2002-01-05  Juergen Vigna  <jug@sad.it>
9224
9225         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9226         if it doesn't like to be drawed.
9227
9228 2002-01-04  Juergen Vigna  <jug@sad.it>
9229
9230         * BufferView2.C (lockInset): forgot to set a cursor.
9231
9232         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9233
9234 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9235
9236         * FormMathsPanel.C:
9237         * FormMathsPanel.h
9238         * MathsSymbols.C:
9239         * form_maths_panel.C:
9240         * form_maths_panel.h:
9241         * form_maths_panel.fd: implemented sub- and super- buttons in math
9242         panel.
9243
9244         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9245         (or ^ space) to be used as in TeX (req'd by André).
9246
9247         * lyxfunc.C: Allow ^ and _ again to be used both as
9248         super/subscript (mathed) and as themselves (in text).
9249
9250 2002-01-03  Allan Rae  <rae@lyx.org>
9251
9252         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9253         "LyX" or the filename of the current buffer if it has one.  This is a
9254         modified form of John Levon's patch.
9255
9256         * XFormsView.C (setWindowTitle): also set icon title.
9257
9258         * LyXView.h (setWindowTitle): signature changed.
9259         * XFormsView.h (setWindowTitle): ditto.
9260
9261 2002-01-02  Juergen Vigna  <jug@sad.it>
9262
9263         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9264
9265 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9266
9267         * screen.C (topCursorVisible): introduce a temp var for
9268         text->cursor.row(), handle the case where this row is null. (kindo
9269         hachish)
9270
9271         * text2.C (setCursor): add a couple of asserts.
9272
9273         * paragraph.h (inset_iterator): add -> operator
9274
9275         * paragraph.[Ch] (autoDeleteInsets): remove member function
9276
9277         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9278         cursor pos correctly and handle inset deletion by itself.
9279         (insertErrors): move iterator declaration out of for expression
9280
9281         * lyxtextclass.C: add <algorithm>
9282
9283         * Makefile.am: added the new files to sources, removed layout.C
9284
9285         * layout.C: removed file
9286
9287         * layout.h: remove LYX_DUMMY_LAYOUT
9288
9289         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9290         layout.
9291
9292         * lyxlayout.[Ch]:
9293         * lyxtextclass.[Ch]:
9294         * lyxtextclasslist.[Ch]: new files
9295
9296         * include order changes to a lot of files, also changes because of
9297         the six new files.
9298
9299 2001-12-27  Juergen Vigna  <jug@sad.it>
9300
9301         * buffer.C (asciiParagraph): more fixes.
9302
9303         * tabular.C (ascii): make ascii export support export of only the
9304         data separated by a column-delimiter.
9305         (ascii): better support for ascii export.
9306
9307         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9308
9309 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9310
9311         * tabular_funcs.C: use a "using std::getline" instead of the
9312         previous fix from Angus (necessary for cxx + lyxstring)
9313
9314 2001-12-24  Juergen Vigna  <jug@sad.it>
9315
9316         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9317
9318         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9319         problems. First check a minipage also if we have some ert-contents
9320         (not only on par->size(), second set the right depth of the paragraph
9321         on the relink to the root-paragraph-list!
9322
9323         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9324         which then did not anymore update the main paragraphs on undo/redo!
9325
9326 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9327
9328         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9329         code. Support all font-changing funcs (even those which are not in
9330         menu currently). Support for reporting font settings in
9331         mathed (disabled until Andre provides a function on mathed's side).
9332
9333         * func_status.h (toggle): small helper function to set toggle
9334         state on a flag.
9335
9336 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9337
9338         * tabular_funcs.C: getline -> std::getline
9339
9340 2001-12-21  Juergen Vigna  <jug@sad.it>
9341
9342         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9343         accessed and could be 0 (I couldn't generate this but it seems
9344         Michael could!).
9345
9346 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9347
9348         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9349         * tabular_funcs.h: here and include iosfwd
9350
9351 2001-12-20  Juergen Vigna  <jug@sad.it>
9352
9353         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9354         inside inset but undo_par was.
9355
9356 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9357
9358         * Thesaurus.C: always include <config.h> in sources.
9359
9360         * Painter.h:
9361         * lyxlookup.h:
9362         * box.h: do not include <config.h> in header files
9363
9364         * text.C (paintLastRow): remove unused variable
9365
9366         * text.C (transformChar):
9367         (insertChar):
9368         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9369
9370         * Painter.C (text):
9371         * font.C (width): rewrite to use uppercase() instead of
9372         islower/toupper.
9373
9374         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9375
9376 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9377
9378         * lyxfind.C: clean up of find failure position change
9379
9380 2001-12-20  Juergen Vigna  <jug@sad.it>
9381
9382         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9383
9384         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9385         (TeXRow): added to LaTeX a single tabular row.
9386         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9387         (Latex): simplified and finally good LT-h/f support.
9388         (various_functions): just small adaptions for LT-h/f support.
9389
9390         * tabular_funcs.[hC]: added and moved here all not classfunctions
9391         of LyXTabular.
9392
9393 2001-12-19  Juergen Vigna  <jug@sad.it>
9394
9395         * tabular.[Ch]: better support for longtabular options (not finished
9396         yet!)
9397
9398 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9399
9400         * text.C (paintLastRow): use the label font instead of the font of
9401         the last character to compute the size of *_BOX. This makes more
9402         sense and avoids a crash with empty paragraphs.
9403         Use Painter::rectangle to draw EMPTY_BOX.
9404
9405 2001-12-19  Juergen Vigna  <jug@sad.it>
9406
9407         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9408         the paragraphs if the replaced paragraph is not the first one!
9409         Tried to delete not used paragraphs but does not work yet so for
9410         now it's inside #ifdef's and by default off!
9411
9412 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9413
9414         * MenuBackend.C: include "lyx_main.h" instead of declaring
9415         lastfiles (actually was declared as LastFiles* instead of a
9416         scoped_ptr).
9417
9418 2001-12-17  Juergen Vigna  <jug@sad.it>
9419
9420         * tabular.C (AppendColumn): applied John's fix
9421
9422 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9423
9424         * BufferView.h:
9425         * BufferView.C:
9426         * BufferView_pimpl.h:
9427         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9428
9429         * Makefile.am:
9430         * box.h: new start of class for above
9431
9432         * lyxfunc.C: ignore space-only minibuffer dispatches.
9433           Show the command name when it doesn't exist
9434
9435         * minibuffer.C: don't add empty lines to the history
9436
9437         * minibuffer.C: add a space on dropdown completion
9438
9439 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9440
9441         * text.C: fix line above/below drawing in insets
9442
9443 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9444
9445         * lyxlength.C (LyXLength): Initialize private variables.
9446
9447 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9448
9449         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9450         when inserting error insets.
9451
9452 2001-12-13  Juergen Vigna  <jug@sad.it>
9453
9454         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9455         actually sometimes the before-paragraph.
9456         (setUndo): don't clear the redostack if we're not actually undoing!
9457
9458 2001-12-06  Juergen Vigna  <jug@sad.it>
9459
9460         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9461         and fixed redoing of main paragraph, so we can use it now ;)
9462
9463         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9464
9465 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9466
9467         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9468         Juergen's request
9469
9470 2001-12-13  André Pönitz <poenitz@gmx.net>
9471
9472         * undostack.[Ch]:
9473         * undo_func.C: minor cleanup
9474
9475 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9476
9477         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9478         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9479         font in urw-fonts package which is marked as -urw-fontspecific and
9480         does not work (incidentally, changing the encoding in the
9481         fonts.dir of this package to -adobe-fontspecific fixes the
9482         problem).
9483
9484         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9485         is a crash when undoing first paragraph (Juergen, please take a
9486         look). THis does not mean the undo fix is wrong, just that it
9487         uncovers problems.
9488
9489         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9490         the (Paragraph*) version when needed instead of duplicating the
9491         code.
9492
9493         * text.C (workWidth): use Inset::parOwner to find out where the
9494         inset has been inserted. This is a huge performance gain for large
9495         documents with lots of insets. If Inset::parOwner is not set, fall
9496         back on the brute force method
9497
9498         * paragraph_pimpl.C (insertInset):
9499         * paragraph.C (Paragraph):
9500         (cutIntoMinibuffer): set parOwner of insets when
9501         inserting/removing them
9502
9503         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9504
9505 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9506
9507         * commandtags.h:
9508         * LyXAction.C:
9509         * lyx_main.C:
9510         * lyxfunc.C:
9511         * mathed/formulabase.C:
9512         * mathed/math_cursor.[Ch]:
9513         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9514
9515
9516 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9517
9518         * lyxlength.[Ch] (operator!=): new function
9519
9520 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9521
9522         * text.C (workWidth): use Inset::parOwner to find out where the
9523         inset has been inserted. This is a huge performance gain for large
9524         documents with lots of insets. If Inset::parOwner is not set, fall
9525         back on the brute force method
9526
9527         * paragraph_pimpl.C (insertInset):
9528         * paragraph.C (Paragraph):
9529         (cutIntoMinibuffer): set parOwner of insets when
9530         inserting/removing them
9531
9532         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9533
9534 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9535
9536         * tabular-old.C (getTokenValue):
9537         * tabular.C (getTokenValue):
9538         (write_attribute): new versions for LyXLength
9539         (everywhere): adjust the use of widths
9540
9541         * tabular.h: change the type of widths from string to LyXLength
9542
9543 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9544
9545         * paragraph.C: fixed missing line number count when exporting
9546         Environments to LaTeX file
9547
9548         * buffer.C: added informational message for checking line numbers.
9549
9550 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9551
9552         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9553         paragraph, do the 'double space' part, but not the 'empty
9554         paragraph' one.
9555
9556         * text.C (workWidth): small optimization
9557         (getLengthMarkerHeight): use minimal size for negative lengths.
9558
9559 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9560
9561         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9562
9563         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9564
9565 2001-12-11  André Pönitz <poenitz@gmx.net>
9566
9567         * FontLoader.C:
9568         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9569
9570 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9571
9572         * text2.C: keep selection on a setFont()
9573
9574 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9575
9576         * lyx_cb.C: another bv->text misuse, from insert label
9577
9578 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9579
9580         * kbsequence.h:
9581         * kbsequence.C: re-instate nmodifier mask
9582
9583 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9584
9585         * lyx_main.h: make lyxGUI private.
9586
9587 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9588
9589         * lyxfind.C: place the cursor correctly on failed search
9590
9591 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9592
9593         * text.C (getLengthMarkerHeight): for small heights, the arrows
9594         are not always on top/bottom of the text
9595         (drawLengthMarker): smaller arrows; take the left margin in
9596         account; draw also vfills.
9597         (paintFirstRow):
9598         (paintLastRow): remove special code for vfill and standard spaces,
9599         since everything is handled in drawLengthMarker now.
9600
9601 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9602
9603         * buffer.C (insertErtContents): try to handle font and language
9604         interaction a bit better.g
9605
9606         * ColorHandler.C (updateColor): change the hash to cover the whole
9607         LColor enum, ws cleanup
9608         (getGCLinepars): ditto
9609         (getGCLinepars): only lookup in the linecache once.
9610
9611 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9612
9613         * iterators.C (operator++): Make the iterator more robust
9614
9615         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9616         (John's patch)
9617         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9618
9619 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9620
9621         * lyxtext.h:
9622         * text.C: better added space drawing
9623
9624 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9625
9626         * LyXView.C:
9627         * BufferView2.C: fix layout combo update on inset unlock
9628
9629 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9630
9631         * Makefile.am: don't compile unused files
9632
9633 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9634
9635         * lyxfunc.C:
9636         * commandtags.h:
9637         * LyXAction.C: remove old LFUN_LAYOUTNO
9638
9639 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9640
9641         * paragraph_pimpl.h:
9642         * paragraph_pimpl.C: isTextAt() doesn't need font param
9643
9644 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9645
9646         * lyxlex.h:
9647         * lyxlex.C: little cleanup
9648
9649 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9650
9651         * BufferView_pimpl.C: fix insertAscii for insets
9652
9653 2001-12-05  Juergen Vigna  <jug@sad.it>
9654
9655         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9656         set the right font on the "multi" paragraph paste!
9657
9658 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9659
9660         * trans_decl.h:
9661         * trans_mgr.[Ch]:
9662         * trans.[Ch]:
9663         * lyxgluelength.C:
9664         * lyxlength.C: remove out-commented code.
9665
9666         * BufferView_pimpl:
9667         * CutAndPaste.C:
9668         * DepTable.C:
9669         * buffer.C:
9670         * chset.C:
9671         * lastfiles.C:
9672         * lyxlex.C:
9673         * lyxlex_pimpl.C:
9674         * lyxserver.C:
9675         * screen.C:
9676         * tabular-old.C:
9677         * tabular.C:
9678         * text.C:
9679         * trans_mgr.C:
9680         * vc-backend.C: change "while(" to "while ("
9681
9682         * lyxlength.[Ch]: add zero function to check if length is zero or
9683         not
9684         * lyxgluelength.C: use it
9685
9686 2001-12-05  Allan Rae  <rae@lyx.org>
9687
9688         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9689         Works for 2.95.3, from what I understand of Garst's reports this should
9690         work for other g++ versions.  We're screwed if the abs(int) definition
9691         changed between bugfix releases of gcc.
9692
9693 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9694
9695         * text.C: fix chapter label offset !
9696
9697 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9698
9699         * lyxtext.h:
9700         * text.C: fix hfill at end of line, clean up
9701
9702 2001-12-04  Juergen Vigna  <jug@sad.it>
9703
9704         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9705         that we force an update of the inset and it's owners if neccessary.
9706
9707 2001-12-03  Juergen Vigna  <jug@sad.it>
9708
9709         * text.C (rowLast): simplified code
9710
9711 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9712
9713         * lyxfunc.C: fix show options on timeout
9714
9715 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9716
9717         * screen.C (topCursorVisible): scroll half a page when the cursor
9718         reached top of bottom of screen
9719
9720 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9721
9722         * minibuffer.C: deactivate on loss of focus
9723
9724 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9725
9726         * vspace.[Ch] (operator!=): add operator.
9727
9728 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9729
9730         * BufferView_pimpl.C: refuse to open an inset when
9731         there's a selection.
9732
9733 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9734
9735         * BufferView_pimpl.C: allow to click on RHS of full row insets
9736
9737 2001-11-30  Juergen Vigna  <jug@sad.it>
9738
9739         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9740         insets for undo reasons.
9741
9742 2001-11-28  André Pönitz <poenitz@gmx.net>
9743
9744         * vspace.[Ch]: cosmetical changes
9745
9746 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9747
9748         * LyXAction.h:
9749         * LyXAction.C:
9750         * lyxfunc.h:
9751         * lyxfunc.C:
9752         * kbmap.h:
9753         * kbmap.C:
9754         * lyxrc.C:
9755         * kbsequence.h:
9756         * kbsequence.C: part re-write of old kb code
9757
9758         * Painter.C:
9759         * WorkArea.C: remove Lgb_bug_find_hack
9760
9761 2001-11-30  José Matos <jamatos@fep.up.pt>
9762
9763         * buffer.C (makeDocBookFile): add a comment to point a hack.
9764         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9765         Fixed a double write of labels.
9766
9767 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9768
9769         * LaTeX.C:
9770         * LaTeX.h Fixed bug in LaTeX class where it would not
9771         re-run latex if no depfiles were changed, but the .dvi was removed.
9772
9773 2001-11-28  André Pönitz <poenitz@gmx.net>
9774
9775         * all the files from the change on 2001/11/26:
9776         use lyx::layout_type instead of LyXTextClass::size_type
9777         use lyx::textclass_type instead of LyXTextClassList::size_type
9778
9779 2001-11-29  Juergen Vigna  <jug@sad.it>
9780
9781         * text.C: added support for paragraph::isFreeSpacing()
9782
9783         * buffer.C: same as above
9784
9785         * paragraph.h: inserted isFreeSpacing() function to enable
9786         FreeSpacing inside InsetERT.
9787
9788         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9789         of the paragraph's in the cut/copy buffer to 0!
9790
9791         * text2.C (removeRow): remove the assert as it can!
9792
9793         * lyxtext.h: added helper function firstRow returning firstrow and
9794         made firstrow private again.
9795
9796         * BufferView2.C (lockInset): don't relock if we're already locked!
9797
9798         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9799         the only paragraph.
9800         (removeRow): added Assert::(firstrow)
9801
9802         * debug.C: forgot to add INSETTEXT here.
9803
9804 2001-11-28  Juergen Vigna  <jug@sad.it>
9805
9806         * sp_spell.C (initialize): changed error text to more general
9807         spellchecker command use (not only ispell!)
9808
9809         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9810
9811         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9812
9813 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9814
9815         * vspace.C: initialise lyxgluelength on failure
9816
9817 2001-11-28  Allan Rae  <rae@lyx.org>
9818
9819         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9820         declaration & definition that looks like a function declaration.
9821
9822 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9823
9824         * BufferView2.C (copy):
9825         (copyEnvironment): do not clear the selection when doing a copy.
9826
9827         * text.C (paintFirstRow): compilation fix
9828
9829 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9830
9831         * tabular.C (Latex): correct line count when writing latex.
9832
9833 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9834
9835         * paragraph_pimpl.h:
9836         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9837           bug a bit
9838
9839 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9840
9841         * text.C:
9842         * LColor.h:
9843         * LColor.C: change vfillline->added_space
9844
9845         * text.C: add markers and text for added space
9846
9847         * vspace.C: fix comment
9848
9849 2001-11-28  André Pönitz <poenitz@gmx.net>
9850
9851         * paragraph.C: whitespace changes
9852         * all the other files from the change on 2001/11/26:
9853         change *::pos_type into lyx::pos_type
9854
9855 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9856
9857         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9858         language of the document when inserting error insets.
9859
9860 2001-11-26  André Pönitz <poenitz@gmx.net>
9861
9862         * BufferView_pimpl.[Ch]:
9863         *       CutAndPaste.C:
9864         * buffer.[Ch]:
9865         * lyxcursor.[Ch]:
9866         * lyxfind.C:
9867         * lyxfunc.C:
9868         * lyxrow.[Ch]:
9869         * paragraph.[Ch]:
9870         * paragraph_pimpl.[Ch]:
9871         * sp_spell.C:
9872         * text.C:
9873         * text2.C: reduce header dependencies, introduce type for positions
9874
9875 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9876
9877         * <various>: change to use Alert.h
9878
9879 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9880
9881         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9882         when encountering an unknown token.
9883         (readLyXformat2): Show an error message if there were unknown tokens.
9884
9885 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9886
9887         * BufferView2.C:
9888         * BufferView_pimpl.C:
9889         * buffer.C:
9890         * paragraph.h:
9891         * text.C:
9892         * text2.C: use par->isInset()
9893
9894 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * paragraph_pimpl.h:
9897         * paragraph_pimpl.C: cleanup
9898
9899 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9900
9901         * text2.C (removeRow):
9902         * text.C (setHeightOfRow): remove useless (and costly) call to
9903         getRow.
9904
9905 2001-11-20  Allan Rae  <rae@lyx.org>
9906
9907         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9908         Now need Inset*::checkInsertChar() to return true for appropriate
9909         cases so that the characters in the minibuffer will actually be
9910         inserted.
9911
9912 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9913
9914         * text.C: change the order of the includes.
9915         (workWidth): initialize it at once.
9916         (workWidth): make maxw unsigned
9917         (setHeightOfRow): remove unused variable (inset)
9918         (selectSelectedWord): remove unused variable (inset)
9919         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9920
9921 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9922
9923         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9924         server is not running.
9925         (openConnection):
9926         (closeConnection): add debug info when server is disabled.
9927
9928         * ColorHandler.C (getGCForeground): send debug message to GUI
9929         channel.
9930
9931         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9932
9933         * kbmap.C (bind): modify because return conventions of
9934         kb_sequence::parse have changed.
9935
9936         * kbsequence.C (parse): only ignore spaces and not any stupid
9937         control character. This avoids tests like s[i] <= ' ', which are
9938         guaranteed to fail with 8bit characters and signed chars.
9939         Change return code to string::npos when there have been no error
9940         (0 was a bad idea when error is at first character)
9941
9942 2001-11-14  José Matos  <jamatos@fep.up.pt>
9943
9944         * buffer.h:
9945         * buffer.C (simpleDocBookOnePar): removed unused argument.
9946
9947 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9948
9949         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9950         insets which are part of a word. Paragraph::isLetter takes care of
9951         that now. Use Paragraph::isInset to identify insets.
9952         (selectSelectedWord): do not test for hyphenation break.
9953
9954         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9955         that protected spaces are considered as spaces.
9956
9957         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9958         Inset::isLetter.
9959
9960 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9961
9962         * lyxserver.h:
9963         * lyxserver.C: fix it. and small cleanup.
9964
9965 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9966
9967         * BufferView_pimpl.C: use inline helpers
9968
9969         * LaTeXFeatures.h:
9970         * LaTeXFeatures.C: fix typos
9971
9972         * Spacing.h:
9973         * Spacing.C: move spacing_string into class
9974
9975         * ToolbarDefaults.C: move stuff into namespace anon
9976
9977         * layout.h: update enum
9978
9979         * lyxfunc.C: use better debug
9980
9981         * minibuffer.h: fix typo
9982
9983         * debug.h:
9984         * debug.C:
9985         * WorkArea.C: add and use Debug::WORKAREA
9986
9987         * lyxtext.h:
9988         * text.C:
9989         * text2.C: code re-organisation, inline helpers
9990
9991 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9992
9993         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9994         std::vector.empty().
9995
9996 2001-11-09  Allan Rae  <rae@lyx.org>
9997
9998         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9999         '\n's after tables.  Tabular and ERT inset work now makes this no
10000         longer necessary.
10001
10002 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10003
10004         * minibuffer.h:
10005         * minibuffer.C: fix crash, improve drop-down completion
10006
10007 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10008
10009         * lyxserver.h:
10010         * lyxserver.C: invalidate fd's when doing endPipe()
10011
10012 2001-11-08  José Matos  <jamatos@fep.up.pt>
10013
10014         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10015         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10016
10017         * paragraph.h:
10018         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10019
10020 2001-11-07  José Matos  <jamatos@fep.up.pt>
10021
10022         * buffer.h:
10023         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10024         const qualifier.
10025
10026         * buffer.C (sgmlOpenTag):
10027         * buffer.C (sgmlCloseTag): removed debug info.
10028
10029         * buffer.h (sgmlOpenTag):
10030         * buffer.h (sgmlCloseTag): made public.
10031
10032 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10033
10034         * buffer.C (saveParamsAsDefaults):
10035         * lyx_cb.C (MenuLayoutSave): remove
10036
10037         * LyXAction.C (init):
10038         * commandtags.h:
10039         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10040
10041 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10042
10043         * buffer.C (setPaperStuff): removed from here...
10044
10045         * bufferparams.C (setPaperStuff): ... and moved there.
10046
10047 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10048
10049         * minibuffer.h:
10050         * minibuffer.C:
10051         * XFormsView.C: add support for drop-down completion
10052
10053 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10054
10055         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10056         commands.
10057
10058 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10059
10060         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10061         disabled.
10062
10063 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10064
10065         * lyx_main.C: change ref to known bugs
10066
10067 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10068
10069         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10070         to work around older babel problems.
10071
10072 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10073
10074         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10075
10076 2001-10-24  Juergen Vigna  <jug@sad.it>
10077
10078         * tabular-old.C (ReadOld): below variable changes reflected.
10079
10080         * tabular.[Ch]: added ltType struct for longtable header/footer
10081         defines and changed all instances where they are used. Added
10082         future support for double top/bottom rows.
10083
10084 2001-10-24  José Matos  <jamatos@fep.up.pt>
10085
10086         * buffer.h (docbookHandleCaption):
10087         * buffer.C (docbookHandleCaption): removed unused function.
10088         (makeDocBookFile): moved docbook supported version to v4.1.
10089
10090 2001-10-24  José Matos  <jamatos@fep.up.pt>
10091
10092         * tabular.h:
10093         * tabular.C (docbookRow): new function to export docbook code of a row.
10094         (DocBook): now honors the longtable flags.
10095
10096 2001-10-23  José Matos  <jamatos@fep.up.pt>
10097
10098         * LaTeXFeatures.h:
10099         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10100         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10101
10102         * buffer.C (makeLinuxDocFile):
10103         (makeDocBookFile): reworked the preamble, more clean, and with
10104         support for lyx defined entities. Changed the document declaration
10105         to be more XML friendly.
10106
10107         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10108         if we need to output XML that should be done with a filter.
10109
10110 2001-10-22  Juergen Vigna  <jug@sad.it>
10111
10112         * sp_pspell.h (class PSpell): add alive function needed in the
10113         controller to see if the spellchecker could be started.
10114
10115 2001-10-22  Juergen Vigna  <jug@sad.it>
10116
10117         * buffer.C (insertStringAsLines): modify the font for inserting
10118         chars in certain conditions by calling checkInsertChar(font).
10119
10120 2001-10-19  Juergen Vigna  <jug@sad.it>
10121
10122         * text.C (workWidth): use getRow instead of wrong algorithm.
10123         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10124
10125 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10126
10127         * lyxserver.h:
10128         * lyxserver.C:
10129         * lyx_main.h:
10130         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10131
10132 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10133
10134         * text.C (workWidth): do not search for the exact row when
10135         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10136         optimization for big documents.
10137
10138 2001-10-18  Juergen Vigna  <jug@sad.it>
10139
10140         * text.C (workWidth): new function with added Inset * parameter.
10141
10142 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10143
10144         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10145
10146         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10147         change return type of getColumnNearX.
10148
10149
10150         * text.C (changeRegionCase): use uppercase/lowercase instead of
10151         toupper/tolower.
10152         (leftMargin):
10153         (rightMargin): simplify code by factoring out the uses of
10154         textclasslist.
10155         (labelFill):
10156         (numberOfHfills):
10157         (setHeightOfRow):
10158         (appendParagraph): use Paragraph::size_type
10159
10160 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10161
10162         * vspace.C (asLatexString): add a missing break
10163
10164 2001-10-15  Herbert Voss  <voss@perce.de>
10165
10166         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10167
10168 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10169
10170         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10171         is not available.
10172
10173 2001-10-10  André Pönitz <poenitz@gmx.net>
10174
10175         * lyxfunc.C: removed greek_kb_flag.
10176
10177 2001-10-10  Herbert Voss  <voss@perce.de>
10178
10179         * lyx_main.C: delete global string help_lyxdir.
10180
10181 2001-10-09  Herbert Voss  <voss@perce.de>
10182
10183         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10184
10185         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10186
10187         * lyx_main.C: added global string help_lyxdir.
10188
10189         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10190
10191 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10192
10193         * lyxrc.C (set_font_norm_type): support iso8859-4
10194
10195 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10196
10197         * LaTeX.C (deplog): add another regex for MikTeX
10198
10199 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10200
10201         * lyxrc.C (set_font_norm_type): support iso8859-3
10202
10203 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10204
10205         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10206
10207         * LaTeXFeatures.C: remove special case of french and index
10208
10209         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10210         before \begin{document}). This solves several incompatibilities.
10211
10212 2001-10-03  Garst Reese  <reese@isn.net>
10213
10214         * lyx_cb.C: change CheckTex error msg.
10215
10216 2001-10-03  José Matos  <jamatos@fep.up.pt>
10217
10218         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10219
10220 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10221
10222         * .cvsignore: update
10223
10224         * lyx_main.C (commandLineVersionInfo): use new style version info.
10225
10226         * buffer.C (writeFile):
10227         (makeLaTeXFile):
10228         (makeLinuxDocFile):
10229         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10230
10231         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10232
10233         * version.h: update to use stuff in version.C
10234
10235         * version.C.in: new file. Contains version information determined
10236         at compile time. This is a merging of version.h and
10237         version_info.h.in.
10238
10239 2001-10-03  Juergen Vigna  <jug@sad.it>
10240
10241         * BufferView_pimpl.C (update): don't change "dirty" status in
10242         updateInset call.
10243
10244 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10245
10246         * WorkArea.C (c-tor): re-position version string slightly.
10247
10248 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10249
10250         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10251         revert to previous code.
10252
10253         WorkArea.[Ch]: (show, destroySplash): methods removed.
10254
10255         WorkArea.C: rework code so that it's an amalgam of the codes before and
10256         after the splash screen was moved to WorkArea.
10257
10258 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10259
10260         * lyxrc.C (read):
10261         * vspace.C (inPixels):
10262         (lyx_advance):
10263         * kbmap.C (bind):
10264         * buffer.C (insertStringAsLines):
10265         (asciiParagraph): fix types to be large enough
10266
10267         * lyxlex_pimpl.h: change member status from short to int
10268
10269         * layout.h: fix type of endlabeltype
10270
10271         * kbmap.C (bind):
10272         * kbsequence.C (parse): change return type to string::size_type
10273
10274         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10275         variable
10276
10277         * Bullet.C (bulletSize):
10278         (bulletEntry): do not use short ints as parameters
10279
10280         * BufferView2.C (insertLyXFile): change a char to an int.
10281
10282         * WorkArea.C (WorkArea): remove unneeded floats in computation
10283
10284 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10285
10286         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10287
10288         * paragraph.C (asString): Do not ignore newline/hfill chars when
10289         copying to the clipboard.
10290
10291 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10292
10293         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10294         after a multi-line inset.
10295
10296 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10297
10298         * paragraph.C (validate): Set NeedLyXFootnoteCode
10299
10300 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10301
10302         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10303         and decrease-error to decrease.
10304
10305 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10306
10307         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10308         it more readable (should be equivalent)
10309
10310 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10311
10312         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10313
10314 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10315
10316         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10317         of a cursor (row, etc.) after a character has been deleted
10318         (deleteEmptyParagraphMechanism): call the method above on _all_
10319         cursors held by the LyXText when a double space has been
10320         detected/deleted.
10321
10322 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10323
10324         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10325         pixmap.
10326         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10327
10328         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10329         background. Use greyOut() and the new show() methods to toggle between
10330         the foreground and background. Add code to remove the splash after
10331         its initial showing.
10332
10333         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10334         (create_forms): no longer call Dialogs::showSplash.
10335
10336 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10337
10338         * .cvsignore: add version_info.h
10339
10340 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10341
10342         * version_info.h.in: new file
10343
10344         * Makefile.am: add version_info.h.in
10345
10346         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10347         version_info.h instead of VERSION_INFO
10348
10349 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10350
10351         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10352         The ERT inset now returns string().
10353
10354 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10355
10356         * lyxtext.h, text.C (selectNextWord): renamed as
10357         selectNextWordToSpellcheck.
10358
10359         * text.C (selectNextWordToSpellcheck): Modified to not select
10360         words inside an ERT inset.
10361
10362 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10363
10364         * lyx_cb.C (MenuLayoutSave): change a bit the question
10365
10366         * sp_base.h: include <sys/types.h>
10367
10368 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10369
10370         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10371
10372 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10373
10374         * several files: fix typos in user-visible strings
10375
10376 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10377
10378         * text2.C (pasteSelection): do not set the selection, since it
10379         will be cleared later. Actually, the intent was to fix the way the
10380         selection was set, but I figured rmoving the code was just as good.
10381
10382 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10383
10384         * FontLoader.C (available): Check if font is available without
10385         loading the font.
10386
10387 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10388
10389         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10390
10391 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10392
10393         * lyxrc.[Ch]: added display_graphics variable and associated code.
10394
10395 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10396
10397         * bufferparams.C (hasClassDefaults): new method. Returns true if
10398         the buffer parameters correspond to known class defaults
10399
10400 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10401
10402         * XFormsView.C (show): set minimum size to the main window.
10403
10404 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10405
10406         * text2.C (copySelection):
10407         (cutSelection):
10408         * lyxfind.C (LyXReplace):
10409         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10410         LyXText::selectionAsString.
10411
10412         * paragraph.C (asString): add "label" argument to the second form
10413
10414         * text2.C (selectionAsString): add "label" argument and pass it to
10415         Paragraph::asString.
10416
10417 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10418
10419         * lyx_main.C (commandLineHelp): remove version information
10420
10421 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10422
10423         * lyx_main.C: add -version commandline option
10424
10425 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10426
10427         * paragraph.h: make the optional constructor arg required instead.
10428         some modifications to other files because of this.
10429
10430         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10431
10432         * lyxserver.C (C_LyXComm_callback): make it static
10433
10434         * lyx_main.C (error_handler): make it static
10435
10436         * lyx_gui.C (LyX_XErrHandler): make it static
10437
10438         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10439
10440         * WorkArea.C: make the extern "C" methods static.
10441
10442         * Makefile.am (lyx_LDADD): simplify
10443
10444 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10445
10446         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10447         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10448
10449         * LyXAction.C (init):
10450         * lyxfunc.C (dispatch): associated code removal.
10451
10452 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10453
10454         * lyxfont.h (isSymbolFont): shut off warning
10455
10456         * text.C (setHeightOfRow):
10457         (getVisibleRow): fix crash with empty paragraphs which have a
10458         bottom line
10459
10460 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10461
10462         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10463         code.
10464
10465 2001-09-04  José Matos  <jamatos@fep.up.pt>
10466         * buffer.C
10467         * buffer.h
10468         * tabular.C (docbook): rename docBook method to docbook.
10469
10470 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10471
10472         * Makefile.am: add dependencies to main.o.
10473
10474 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10475
10476         * FontLoader.C (available): Return false if !lyxrc.use_gui
10477
10478 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10479
10480         * FontInfo.C (query):
10481         * converter.C (view):
10482         * importer.C (Import):
10483         * exporter.C (Export): Can not -> cannot.
10484
10485 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10486
10487         * BufferView_pimpl.C: allow to create index inset even if
10488           string is empty
10489
10490 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10491
10492         * buffer.C (getLists): replace boost::tie code with an explicit pair
10493         as boost::tie can break some compilers.
10494
10495         * iterators.h: Added a std:: declaration to the return type of
10496         ParIterator::size.
10497
10498 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10499
10500         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10501           case.
10502
10503 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10504
10505         * iterators.[Ch]: New files. Provide paragraph iterators.
10506
10507         * buffer.C (changeLanguage): Use paragraph iterators.
10508         (isMultiLingual): ditto
10509
10510         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10511
10512 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10513
10514         * FontLoader.C: Support for cmr font.
10515
10516 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10517
10518         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10519         (available): New method.
10520
10521         * FontInfo.C (getFontname): Use scalable fonts even when
10522         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10523         found.
10524
10525 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10526
10527         * converter.C (Formats::view): reverted! Incorrect fix.
10528
10529 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10530
10531         * converter.C (Formats::view): only output the -paper option
10532         if the dvi viewer is xdvi, thereby fixing bug #233429.
10533
10534 2001-08-23  Herbert Voss  <voss@perce>
10535
10536         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10537
10538 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10539
10540         * Spacing.h (Spacing): Set space to Default on in the default
10541         constructor.
10542
10543 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10544
10545         * vc-backend.h (RCS::versionString): add RCS to version
10546         (CVS::versionString): add CVS to version
10547
10548         * vc-backend.C (scanMaster): do not add CVS to version.
10549         (scanMaster): do not add RCS to version
10550
10551         * lyxvc.C (versionString): new method
10552
10553         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10554
10555 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10556
10557         * Spacing.C (set): initialize fval
10558
10559 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10560
10561         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10562         " or \.
10563
10564 2001-08-16  Juergen Vigna  <jug@sad.it>
10565
10566         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10567
10568 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10569
10570         * BufferView_pimpl.C:
10571         * figureForm.C:
10572         * lyxtext.h:
10573         * text2.C: setParagraph takes linespacing now
10574
10575 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10576
10577         * LyxAction.C: add internal LFUN_CITATION_INSERT
10578
10579         * LyXView.C: actually apply fix
10580
10581         * bufferlist.C: fix open non-existent file
10582
10583         * lyxfind.C: fix indentation
10584
10585         * lyxfunc.C: remove unneeded assert, fix typo
10586
10587 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10588
10589         * MenuBackend.C: use "Floatname List"
10590
10591 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10592
10593         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10594         when converting LaTeX layout to insetERT.
10595         Generate a non-collapsed float when reading old float
10596
10597 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10598
10599         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10600         ERT insets.
10601
10602 2001-08-13  Juergen Vigna  <jug@sad.it>
10603
10604         * text.C (fill): return 0 instead of 20 as this seems to be the more
10605         correct value.
10606
10607 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10608
10609         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10610         lyxrc.font_norm.
10611
10612 2001-08-13  Juergen Vigna  <jug@sad.it>
10613
10614         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10615         casesensitive off.
10616         (SearchBackward): comment out the unlocking of the inset_owner this
10617         should not be needed!
10618
10619 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10620
10621         * Many files: Remove inherit_language, and add latex_language
10622
10623         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10624         collapsible insets.
10625
10626 2001-08-10  Juergen Vigna  <jug@sad.it>
10627
10628         * text.C (prepareToPrint): fixed hfill-width in draw!
10629
10630         * BufferView2.C (selectLastWord): save the selection cursor as this
10631         now is cleared in the function LyXText::clearSelection!
10632
10633 2001-08-08  Juergen Vigna  <jug@sad.it>
10634
10635         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10636         BACKSPACE type functions.
10637
10638         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10639         is only cutted from the document but not put in the cut-buffer, where
10640         still the old stuff should be.
10641
10642         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10643
10644         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10645
10646         * tabular.C (SetWidthOfCell): fixed special case where the width
10647         was not updated!
10648         (LeftLine): handle '|' in align_special.
10649         (RightLine): ditto
10650         (LeftAlreadyDrawed): ditto
10651         (SetWidthOfCell): ditto
10652
10653 2001-08-07  Juergen Vigna  <jug@sad.it>
10654
10655         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10656
10657 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10658
10659         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10660         * lyxlex.[hC]: ditto
10661
10662 2001-08-06  Juergen Vigna  <jug@sad.it>
10663
10664         * text.C (getVisibleRow): fix up row clearing a bit.
10665
10666 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10667
10668         * minibuffer.C: make sure the X server sees the changes in the input.
10669
10670 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10671
10672         * paragraph.C (getFont): split into...
10673         (getLabelFont): this
10674         (getLayoutFont): and this
10675         * paragraph_pimpl.C (realizeFont): calling this
10676
10677         * text2.C (getFont): split into...
10678         (getLayoutFont): this
10679         (getLabelFont): and this
10680         (realizeFont): all three calling this
10681
10682         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10683         files where used.
10684
10685 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10686
10687         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10688
10689 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10690
10691         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10692         layouts from the Quote inset insertion.
10693
10694 2001-08-03  Juergen Vigna  <jug@sad.it>
10695
10696         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10697
10698         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10699         only if status not is already CHANGED_IN_DRAW (second level).
10700
10701         * text.C (draw): don't set the need_break_row when inside an
10702         InsetText LyXText.
10703
10704 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10705
10706         * buffer.C (parseSingleLyXformat2Token): handle more latex
10707         conversion cases.
10708
10709         * bufferview_funcs.[hC]: change function names to
10710         begin with small char, adjust other files.
10711
10712 2001-08-02  André Pönitz <poenitz@gmx.net>
10713
10714         * lyxfunc.C:
10715         BufferView_pimpl.C: remove broken special code for math-greek
10716
10717 2001-08-02  Juergen Vigna  <jug@sad.it>
10718
10719         * BufferView_pimpl.C (update): redone this function so that we
10720         update the text again if there was a CHANGE_IN_DRAW.
10721
10722         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10723         (drawFromTo): added a new internal bool which is used by draw() and
10724         redraw() function.
10725         (general): some cursor drawing problems fixed.
10726
10727 2001-08-01  Juergen Vigna  <jug@sad.it>
10728
10729         * lyxfind.C (LyXFind): fixed
10730         (SearchForward): ditto
10731         (SearchBackward): ditto
10732
10733         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10734         spurius drawing of the cursor in the main area.
10735
10736         * text2.C (status): small fix which could lead to a segfault!
10737         (clearSelection): remove unneeded BufferView param.
10738
10739 2001-08-01  André Pönitz <poenitz@gmx.net>
10740
10741         * lyxfunc.C: small change due to changed mathed interface
10742
10743 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10744
10745         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10746
10747 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * lyxfunc.c: fail gracefully if file doesn't exist
10750
10751         * LyXSendto.C:
10752         * buffer.C:
10753         * lyxfunc.C:
10754         * BufferView_pimpl.C: IsDirWriteable() proto changed
10755
10756         * LyXView.C: fix updateWindowTitle() to store the last title
10757
10758 2001-07-31  Juergen Vigna  <jug@sad.it>
10759
10760         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10761         the font (wrong since using of Paragraph::highestFontInRange).
10762
10763         * paragraph.C (highestFontInRange): added a default_size parameter.
10764
10765         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10766         (setHeightOfRow): reformat
10767
10768 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10769
10770         * converter.[hC] + affected files: move to (inital-char)lowercase
10771         function names.
10772
10773         * ParagraphParameters.C (ParagraphParameters): remove commented code
10774
10775         * PainterBase.[Ch]: remove commented code
10776
10777         * LaTeXFeatures.h: add "bool floats" for float.sty
10778
10779         * LaTeXFeatures.C (LaTeXFeatures): init floats
10780         (require): handle float
10781         (getPackages): do it with floats
10782
10783 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10784
10785         * BufferView_pimpl.C (Dispatch): improve handling of
10786         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10787
10788         * commandtags.h: #include lyxfont.h here temporarily to avoid
10789         keybinding bug.
10790
10791         * bufferlist.h: include LString.h here.
10792
10793 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10794
10795         * text2.C (getStringToIndex): new method.
10796
10797 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10798
10799         * *: Reduced header file dependencies all over.
10800
10801 2001-07-30  Baruch Even  <baruch@lyx.org>
10802
10803         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10804
10805 2001-07-29  Baruch Even  <baruch@lyx.org>
10806
10807         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10808
10809 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10810
10811         * ParameterStruct.h (endif): add a default constructor to make
10812         sure that all variables is initialized.
10813
10814         * ParagraphParameters.C (ParagraphParameters): adjust
10815
10816 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10817
10818         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10819         index; also, check that there is something to index, and that it
10820         does not span over several paragraphs.
10821         (doubleClick): use WHOLE_WORD_STRICT for double click.
10822
10823         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10824
10825         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10826         scheme.
10827
10828 2001-07-26  Baruch Even  <baruch@lyx.org>
10829
10830         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10831         an InsetFig figure, backwards compatible reading of old figure code.
10832
10833 2001-07-27  Juergen Vigna  <jug@sad.it>
10834
10835         * text2.C: font.realize function adaption.
10836
10837         * text.C (draw): add a warnings lyxerr text if needed.
10838
10839         * layout.C: font.realize function adaption.
10840
10841         * language.C: add inherit_language and implement it's handlings
10842
10843         * bufferview_funcs.C (StyleReset): remove language parameter from
10844         font creation (should be language_inherit now).
10845
10846         * bufferparams.C (writeFile): handle ignore_language.
10847
10848         * paragraph.C (getFontSettings): the language has to be resolved
10849         otherwise we have problems in LyXFont!
10850
10851         * lyxfont.C (lyxWriteChanges): added document_language parameter
10852         (update): removed unneeded language parameter
10853
10854         * paragraph.C (validate): fixed wrong output of color-package when
10855         using interface colors for certain fonts in certain environments,
10856         which should not seen as that on the final output.
10857
10858 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10859
10860         * BufferView_pimpl.C:
10861         * Thesaurus.h:
10862         * Thesaurus.C:
10863         * Makefile.am:
10864         * commandtags.h:
10865         * LyXAction.C: add thesaurus support
10866
10867         * lyxfind.h:
10868         * lyxfind.C: add "once" parameter, for thesaurus, to not
10869           move to the next match
10870
10871 2001-07-26  Juergen Vigna  <jug@sad.it>
10872
10873         * lyxfont.C (realize): honor ignore_language too!
10874         (resolved): ditto.
10875
10876         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10877
10878         * text.C (draw): one place more for ignore_language to not draw
10879         itself!
10880
10881 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10882
10883         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10884
10885 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10886
10887         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10888         the minipage conversion problem.
10889
10890 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10891
10892         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10893         insert an inset.
10894
10895 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10896
10897         * BufferView.h: don't forward declare WorkArea
10898
10899         * BufferView.C: don't include WorkArea.h
10900
10901 2001-07-25  André Pönitz <poenitz@gmx.net>
10902
10903         * commandtags.h:
10904         * LyXAction.C:
10905         * lyxfunc.C:  new LFUN 'math-space'
10906
10907         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10908
10909 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10910
10911         * text2.C (toggleInset): call open/close
10912
10913 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10914
10915         * lyxfunc.C (dispatch): add debug for the disabled case
10916
10917         * font.C (buttonText): make similar to rectText
10918
10919         * buffer.C (readInset): comment out parsing of insetlist and
10920         insttheorem
10921
10922         * PainterBase.C (rectText): small correction
10923
10924         * BufferView_pimpl.C: comment out insettheorem and insetlist
10925         * LyXAction.C: ditto
10926         * commandtags.h: ditto
10927
10928 2001-07-24  Juergen Vigna  <jug@sad.it>
10929
10930         * text.C (draw): honor the ignore_language.
10931
10932         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10933
10934 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10935
10936         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10937         char inset.
10938
10939 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10940
10941         * lyxtext.h: remove unused (and unimplemented) methods
10942
10943 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10944
10945         * text.C (getVisibleRow): honor background color
10946
10947         * PainterBase.h:
10948         * Painter.h: remove default color argument for fillRectangle
10949
10950         * text.C (backgroundColor): new method
10951
10952 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10953
10954         * text.C (getVisibleRow): adjust
10955
10956         * font.[Ch] (rectText): new method, metrics
10957         (buttonText): new method, metrics
10958
10959         * PainterBase.[hC]: make rectText and buttonText always draw and take
10960         fewer paramteres.
10961
10962 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10963
10964         * ToolbarDefaults.C (read):
10965         * MenuBackend.C (read): allow escaping in all strings
10966
10967         * BufferView_pimpl.C (insertAndEditInset): new method.
10968         (Dispatch): use insertAndEditInset whenever appropriate.
10969
10970         * BufferView_pimpl.C (insertNote): removed
10971
10972         * BufferView_pimpl.C (smartQuote): new method, moved from
10973         BufferView; if an insetquote cannot be inserted, insert a '"'
10974         character instead.
10975
10976         * BufferView2.C: remove insertCorrectQuote();
10977
10978         * lyxfunc.C (getStatus): Add support for all remaingin
10979         inset-insert lfuns.
10980
10981         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10982
10983         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10984         command (necessary to pass " as parameter of self-insert.
10985
10986         * text.C (selectWordWhenUnderCursor):
10987         (selectWord): add word_location parameter
10988         (selectWordWhenUnderCursor): same + remove special code for word
10989         boundary.
10990         (selectNextWord): use kind() to guess type of insetspecialchar,
10991         not latex().
10992
10993         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10994         (insertErtContents): create ert insets as collapsed.
10995         (readInset): better compatibility code for Info inset.
10996
10997 2001-07-20  Juergen Vigna  <jug@sad.it>
10998
10999         * lyxfunc.C (dispatch): use always LyXFind now!
11000
11001         * text2.C (init): add a reinit flag so that the LyXText can be
11002         reinited instead of deleted and reallocated (used in InsetText).
11003
11004         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11005
11006         * text.C: ditto
11007
11008         * text2.C: ditto
11009
11010 2001-07-18  Juergen Vigna  <jug@sad.it>
11011
11012         * text.C (selectNextWord): handle insets inside inset by calling
11013         always the bv->text functions so that we can go up the_locking_inset!
11014
11015         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11016         in strange locations when inside an inset!
11017
11018         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11019         handling to include insets.
11020
11021         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11022
11023 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11024
11025         * LyXAction.C (init):
11026         * commandtags.h:
11027         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11028         LIGATURE_BREAK, since the name is so stupid.
11029
11030 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11031
11032         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11033         InsetInfos.
11034
11035         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11036
11037         * sp_form.[Ch]: remove.
11038
11039         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11040
11041         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11042         InsetInfo.
11043
11044         * src/buffer.C (readInset): ditto.
11045
11046 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11047
11048         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11049         menuSeparator(), endOfSentenceDot(), ldots() and
11050         hyphenationPoint(), which are therefore removed.
11051         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11052
11053         * LyXAction.C (init):
11054         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11055
11056         * paragraph.C (getWord): removed.
11057
11058         * BufferView_pimpl.C (Dispatch): use last word or selection for
11059         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11060
11061         * lyx_main.C (queryUserLyXDir): do not ask before creating
11062         user_dir, except if it has been named explicitely.
11063
11064 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11065
11066         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11067         a document of zero size.
11068
11069 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11070
11071         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11072         approriately in the c-tor and in require().
11073         (getPackages): output the appropriate LaTeX for natbib support.
11074
11075         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11076         variables "use_natbib" and "use_numerical_citations" when reading the
11077         LyX file.
11078         (readInset): read the various natbib cite commands.
11079         (validate): white-space change.
11080
11081         * bufferparams.[Ch]: new variables "bool use_natbib" and
11082         "bool use_numerical_citations".
11083         (writeFile): output them in the LyX file.
11084
11085 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11086
11087         * lyxfunc.C (getStatus): add support for all the inset insertion
11088         commands.
11089
11090         * text2.C (insertInset):
11091         * paragraph.C (insetAllowed):
11092         * BufferView_pimpl.C (insertInset): update to take in account the
11093         renaming of insertInsetAllowed
11094
11095         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11096
11097         * text2.C (getInset): new method. returns inset at cursor position.
11098
11099         * BufferView_pimpl.C (Dispatch): changes because of this.
11100
11101         * LyXAction.C (init): rename open-stuff to inset-toggle.
11102
11103         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11104
11105         * text2.C (toggleInset): renamed from openStuff; use
11106         Inset::open().
11107
11108 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11109
11110         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11111
11112         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11113
11114 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11115
11116         * buffer.C (readLyXformat2): Add filename to the error dialog
11117
11118 2001-07-18  Juergen Vigna  <jug@sad.it>
11119
11120         * tabular.C (GetCellNumber): put an assert here instead of the check!
11121
11122 2001-07-17  Juergen Vigna  <jug@sad.it>
11123
11124         * BufferView_pimpl.C (toggleSelection): adapted too.
11125
11126         * text.C (selectNextWord): adapted for use with insets.
11127         (selectSelectedWord): ditto
11128
11129 2001-07-17  Juergen Vigna  <jug@sad.it>
11130
11131         * sp_spell.C (PSpell): fix initialitation order.
11132
11133 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11134
11135         * paragraph.C: spacing
11136
11137 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11138
11139         * sp_spell.C: repair language selection for pspell
11140
11141 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11142
11143         * lyxfunc.h: change more methods to begin with lower char.
11144
11145 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11146
11147         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11148         for unknown layouts.
11149
11150 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11151
11152         * buffer.C (readLyXformat2): Generate an error dialog if there are
11153         unknown layouts.
11154
11155 2001-07-16  Juergen Vigna  <jug@sad.it>
11156
11157         * sp_spell.C: always compile ISpell part.
11158
11159         * lyxrc.C: added use_pspell entry and it's handling.
11160
11161 2001-07-13  Juergen Vigna  <jug@sad.it>
11162
11163         * sp_spell.C: removed double includes.
11164
11165 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11166
11167         Consistent use of Lsstream.h:
11168         * Lsstream.h: added using std::stringstream for consistencies sake.
11169
11170         * buffer.C: removed using std::stringstream
11171
11172         * lyxfont.C (stateText):
11173         * paragraph.C (asString):
11174         * text.C (selectNextWord, selectSelectedWord):
11175         * text2.C (setCounter):
11176         * vspace.C (asString, asLatexString):
11177         std::ostringstream -> ostringstream.
11178
11179 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11180
11181         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11182         * commandtags.h: add LFUN_HELP_ABOUTLYX
11183         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11184
11185 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11186
11187         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11188         cursorToggle()
11189         * lyx_gui_misc.C: remove spellchecker
11190         * lyxfunc.C: showSpellchecker
11191         * sp_base.h: added
11192         * sp_ispell.h: added
11193         * sp_pspell.h: added
11194         * sp_spell.C: added
11195         * sp_form.[Ch]: removed
11196         * spellchecker.[Ch]: removed
11197
11198 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11199
11200         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11201         is set.
11202         (simpleTeXSpecialChars): Simply print the input character without
11203         any special translation if pass_thru is set.
11204
11205         * layout.h: Added bool pass_thru to layout class for being able to
11206         implement pass through of a paragraph for Literate Programming.
11207
11208         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11209         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11210         * layout.C (Read): add "passthru" to list of layout tags and add
11211         code to set the pass_thru boolean when it is read.
11212
11213 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11214
11215         * trans_decl.h: remove allowed from KmodInfo
11216
11217         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11218         remove allowed code
11219         (Load): adjust
11220
11221         * paragraph_pimpl.C (erase): use boost::prior
11222
11223         * Painter.C (text): use data() instead of c_str() when length is
11224         also provided.
11225         * WorkArea.C (putClipboard): ditto
11226         * font.h (width): ditto
11227
11228         * BufferView2.C: use it-> instead of (*it). for iterators
11229         * texrow.C: ditto
11230         * paragraph_pimpl.C: ditto
11231         * paragraph.C: ditto
11232         * minibuffer.C: ditto
11233         * language.C: ditto
11234         * kbmap.C: ditto
11235         * encoding.C: ditto
11236         * counters.C: ditto
11237         * converter.C: ditto
11238         * chset.C: ditto
11239         * Variables.C: ditto
11240         * TextCache.C: ditto
11241         * MenuBackend.C: ditto
11242         * LyXAction.C: ditto
11243         * LColor.C: ditto
11244         * FloatList.C: ditto
11245         * DepTable.C: ditto
11246         * ColorHandler.C (LyXColorHandler): ditto
11247
11248 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11249
11250         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11251
11252         * text2.C (openStuff): reintroduce this method (which had been
11253         nuked in NEW_INSETS frenzy).
11254
11255         * lyxfunc.C (Dispatch): when an action has not been handled, use
11256         its name in the error message, not its number.
11257
11258         * paragraph.C (inInset): change method name to begin with lowercase.
11259
11260         * undo_funcs.C:
11261         * text2.C: updates because of this.
11262
11263 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11264
11265         * ToolbarDefaults.C (add): add spaces in error message
11266
11267 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11268
11269         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11270         (readLyXformat2): rename return_par to first_par, use lyxlex's
11271         pushToken and remove the manual push handling.
11272         (parseSingleLyXformat2Token): add another ert comp. variable:
11273         in_tabular, rename return_par to first_par. handle newlines better
11274
11275 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11276
11277         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11278
11279 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * text2.C (getParFromID): removed
11282
11283         * buffer.C (getParFromID): new method moved form lyxtext.
11284         * BufferView2.C (insertErrors): adjust
11285         (setCursorFromRow): adjust
11286         * BufferView_pimpl.C (restorePosition): adjust
11287         * lyxfunc.C (Dispatch): adjust
11288         * undo_funcs.C (textUndo): adjust
11289         (textRedo): adjust
11290         (textHandleUndo): adjust
11291         (textHandleUndo): adjust
11292
11293 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11294
11295         * buffer.C: up' the LYX_FORMAT
11296
11297         * lyxfont.h: turn NO_LATEX on as default
11298
11299         * buffer.C (insertErtContents): new methods of tex style compability.
11300         (parseSingleLyXformat2Token): use it several places.
11301         * tabular.C (OldFormatRead): and here
11302
11303 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11304
11305         * text2.C: remove some commented code.
11306         reindent file.
11307
11308         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11309         * trans.C: changes because of the above.
11310
11311 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11312
11313         * text2.C (setCounter): Fix counters bug with bibliography layout.
11314
11315 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11316
11317         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11318         own member functions
11319         (simpleTeXSpecialChars): ditto
11320
11321 2001-07-06  Juergen Vigna  <jug@sad.it>
11322
11323         * a lot of files: changed the access to LyXText::status and the
11324         call of undo-functions.
11325
11326         * undo.[Ch]: added a inset_id to the undo informations.
11327
11328         * undo_funcs.[Ch]: added and moved here all undo functions.
11329
11330         * lyxtext.h: give the status enum a weight, made status_ a private
11331         variable and made accessor functions for it, removed the whole bunch
11332         of undo-functions as they are now in their own file, make some
11333         functions publically available. Added function ownerParagraph with
11334         int parameter.
11335
11336         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11337         made InInset() a const function, added getParFromID() function.
11338
11339         * buffer.[Ch]: added const version for inset_iterator functions,
11340         added getInsetFromID() function.
11341
11342         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11343         changed undo functions for new version.
11344
11345 2001-07-05  Juergen Vigna  <jug@sad.it>
11346
11347         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11348         unknow mechanism does not call the proper constructor but only this
11349         one also if I request the other!?
11350
11351 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11352
11353         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11354
11355         * text2.C (LyXText): use initialization lists.
11356
11357         * lyxtext.h (Selection): initialize set_ and mark_
11358         (init): remove method
11359
11360 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11361
11362         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11363
11364 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11365
11366         * screen.[Ch]: change method names to begin with lowercase
11367
11368         * BufferView_pimpl.C (updateScrollbar): simplify further and
11369         hopefully make it a bit faster.
11370
11371 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11372
11373         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11374         calling directly xforms functions.
11375
11376         * Painter.C (Painter):
11377         * lyx_cb.C (MenuWrite):
11378         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11379         fl_display.
11380
11381         * lyx_gui.C: remove bogus guiruntime extern declaration.
11382
11383 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11384
11385         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11386         in NEW_INSETS
11387         (redoDrawingOfParagraph): ditto
11388         (redoParagraphs): ditto
11389         (cutSelection): don't create a object for CutAndPaste use the
11390         static method directly
11391         (pasteSelection): ditto
11392
11393         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11394         LyXview (+ rename)
11395
11396 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11397
11398         * modifications to some other files because of this.
11399
11400         * Makefile.am (lyx_SOURCES): add XFormsView
11401
11402         * XFormsView.[Ch]: new files
11403
11404         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11405         the main window. Move the gui dependent stuff to XFormsView
11406
11407 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11408
11409         * tabular.C (GetCellInset): update cur_cell also in the row/col
11410         version of this function.
11411
11412         * lyxfunc.C: no need to include figure_form.h here.
11413
11414         * FontLoader.h:
11415         * lyxfunc.h:
11416         * lyxscreen.h:
11417         * text2.C:
11418         * lyxvc.C: no need to include forms.h here.
11419
11420 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11421
11422         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11423
11424         * lyxfunc.C (Dispatch):
11425         * Spacing.C (set):
11426         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11427         constructor argument.
11428
11429 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11430
11431         * paragraph.C (Paragraph): dont't clear, and just set layout.
11432         (makeSameLayout): use params's copy contructor.
11433
11434         * ParagraphParameters.[Ch] (makeSame): delete method
11435
11436 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11437
11438         * Variables.[Ch]: fix indentation, rename set to isSet
11439
11440 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11441
11442         * lyxfunc.C (Dispatch): fix typo
11443
11444 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11445
11446         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11447         upper_bound.
11448
11449         * bufferlist.C: include assert.h for emergencyWrite().
11450
11451 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11452
11453         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11454           give up at last (bug #425202) !
11455
11456 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11457
11458         * lyx_gui_misc.C:
11459         * sp_form.h:
11460         * sp_form.C:
11461         * spellchecker.h:
11462         * spellchecker.C: strip spellchecker options and bring up
11463           preferences tab instead
11464
11465 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11466
11467         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11468         the istringstream constructor
11469
11470 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11471
11472         * paragraph.C (getLayout): fix return value
11473
11474         * paragraph.h: do not declare getLayout as inline.
11475
11476         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11477
11478 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11479
11480         * lyxcursor.h (operator<): new func
11481         (operator>): new func
11482         (operator>=): new func
11483         (operator<=): new func
11484
11485         * text.C (changeCase): use selection.start and selection.end
11486         (changeRegionCase): require from to be <= to. Require par to be a
11487         valid paragraph.
11488
11489         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11490
11491 2001-06-27  Juergen Vigna  <jug@sad.it>
11492
11493         * text.C (cursorLeftOneWord): changed to return the cursor and added
11494         overlay with BufferView * parameter which calls this one.
11495         (getWord): added
11496         (selectWord): use new getWord function.
11497         (changeCase): renamed from changeWordCase as and extended to work
11498         also on selections.
11499
11500         * lyxtext.h: added enum word_location
11501
11502         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11503         changeCase as this operates now also on selections.
11504
11505 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11506
11507         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11508
11509         * many files: send debug output to Debug::INFO instead of
11510         Debug::ANY.
11511
11512         * converter.C (View):
11513         (Convert):
11514         (Move): send debug output to Debug::FILES instead of console.
11515
11516 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11517
11518         * lyxfunc.C (getStatus): use func_status
11519
11520         * func_status.h: new header, describing the results of
11521         LyXFunc::getStatus;
11522
11523         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11524         LFUN_MATH_HALIGN.
11525
11526 2001-06-25  The LyX Project  <jug@sad.it>
11527
11528         * buffer.C (sgmlOpenTag):
11529         (sgmlCloseTag):
11530         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11531
11532 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11533
11534         * text2.C: remove some dead code
11535
11536         * tabular.C (GetCellInset): store the last cell checked (gotten)
11537
11538         * tabular.h: add the helper for the speedup
11539
11540         * lyxtext.h: remove some dead code
11541
11542 2001-06-26  The LyX Project  <Asger>
11543
11544         * paragraph.C: Change export to LaTeX of alignment to
11545         \begin{center} and family for better roundtrip work with reLyX.
11546
11547         * Tune the math drawing a bit.
11548
11549 2001-06-25  The LyX Project  <Asger>
11550
11551         * LColor.C (LColor): New color for math background. New color
11552         for buttons.
11553
11554 2001-06-25  The LyX Project  <jug@sad.it>
11555
11556         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11557
11558         * lyxfunc.C (Open):
11559         * bufferlist.C (newFile): do not restrict to files ending with
11560         .lyx
11561
11562         * BufferView_pimpl.C (MenuInsertLyXFile):
11563
11564 2001-06-24  The LyX Project  <jug@sad.it>
11565
11566         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11567         of compare_no_case
11568
11569 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11570
11571         * lyxtext.h: rename most methods to begin with a small char.
11572         Lots of changes because of this.
11573
11574         * paragraph.C (Paragraph): do not call fitToSize
11575         (erase): call Pimpl::erase
11576         (insertChar): call Pimpl::insertChar
11577         (insertInset): call Pipl::insertInset
11578         (breakParagraph): do not call fitToSize
11579         (breakParagraphConservative): do not call fitToSize
11580         (fitToSize): remove method
11581
11582         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11583
11584 2001-06-24  The LyX Project  <Asger>
11585
11586         * Fix Qt compilation^2
11587
11588 2001-06-24  The LyX Project  <jug@sad.it>
11589
11590         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11591         depthHook(getDepth()-1).
11592
11593         * paragraph.h:
11594         * ParagraphParameters.h:
11595         * ParameterStruct.h: change type of depth to unsigned int ==
11596         depth_type. Many adaptations to other files before of that.
11597
11598 2001-06-24  The LyX Project  <Asger>
11599
11600         * Fix Qt compilation.
11601
11602 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11603
11604         * paragraph.h: renamed several methods to begin with small letter.
11605         several changes to many parts of the code because of this.
11606
11607 2001-06-23  The LyX Project  <jug@sad.it>
11608
11609         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11610         rewritten to discard all double spaces when KeepEmpty is off
11611         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11612         to only handle newlines but not fiddle with spaces and friends.
11613
11614         * lyxfunc.C (MenuNew): when doing 'new from template', use
11615         template_path as default directory
11616
11617 2001-06-23  The LyX Project  <Asger>
11618
11619         * Clean-up of header file includes all over
11620         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11621
11622 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11623
11624         * paragraph.h: renamed from lyxparagraph.h
11625
11626 2001-06-23  Asger  <lyx@violet.home.sad.it>
11627
11628         * Buffer.h: Removed Buffer::resize
11629         * BufferList.h: Removed BufferList::resize
11630         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11631         the document lazily when we change the width, or the font settings.
11632
11633 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11634
11635         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11636
11637 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11638
11639         * buffer.h: remove out of date comment
11640
11641 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11642
11643         * lyxscreen.h:
11644         * screen.C: fix "theoretical" GC leak
11645
11646 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11647
11648         * LaTeX.C (scanAuxFile):
11649         (deplog): remove trailing \r when reading stream (useful under
11650         win32)
11651
11652 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11653
11654         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11655         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11656         and BufferView::theLockingInset(Inset*), so should use them and not
11657         access bv_->text->the_locking_inset directly.
11658
11659         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11660
11661 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11662
11663         * Makefile.am:
11664         * tex-defs.h: remove old unused file
11665
11666 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11667
11668         * BufferView_pimpl.C: fix typo, remove minibuffer message
11669           when buffer has loaded
11670
11671 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11672
11673         * lyxfunc.C (Dispatch): use stringstream
11674         (MenuNew): use stringstream
11675         (Open): use stringstream
11676
11677         * importer.C (Import): use stringstream
11678
11679         * bufferview_funcs.C (CurrentState): use stringstream
11680
11681         * LaTeX.C (run): use stringstream
11682
11683         * BufferView_pimpl.C (savePosition): use stringstream
11684         (restorePosition): use stringstream
11685         (MenuInsertLyXFile): use stringstream
11686
11687 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11688
11689         * BufferView.C:
11690         * Bullet.C:
11691         * ColorHandler.C:
11692         * FontInfo.C:
11693         * FontLoader.C:
11694         * LColor.C:
11695         * LaTeXFeatures.C:
11696         * Painter.C:
11697         * gettext.C:
11698         * lyx_gui_misc.C:
11699         * lyxserver.C:
11700         * vspace.C: removed // -*- C++ -*- as first line.
11701
11702         * lyxfind.h:
11703         * version.h: added // -*- C++ -*- as first line.
11704
11705 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11706
11707         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11708
11709         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11710         of string
11711
11712 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11713
11714         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11715         of floats.
11716
11717 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11718
11719         * gettext.C: include LString.h even when --disable-nls is on.
11720
11721 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11722
11723         * converter.h (Get): changed argument type from int to
11724         FormatList::size_type to avoid unnecessary conversion.
11725
11726         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11727         before using it.
11728
11729 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11730
11731         * gettext.h: include LString.h even when --disable-nls is on.
11732
11733 2001-06-07  Juergen Vigna  <jug@sad.it>
11734
11735         * text.C (BreakAgain): subst spaces with tabs.
11736
11737         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11738         (resizeInsetsLyXText): set force on resizeLyXText.
11739
11740 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11741
11742         * gettext.h (gettext_init):
11743         (locale_init): use a real definition instead of a macro
11744
11745 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11746
11747         * Bufferview_pimpl.C:
11748         * LColor.h:
11749         * LColor.C: further lcolor tidies
11750
11751 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11752
11753         * BufferView_pimpl.C (updateScrollbar): simplify.
11754
11755         * BufferView2.C: don't include insets/insetinfo.h, change
11756         prototype for insertInset and call the Pimpl version. let
11757         updateInset call Pimpl version.
11758
11759         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11760         gotoInset to BufferView::Pimpl
11761
11762 2001-06-01  Juergen Vigna  <jug@sad.it>
11763
11764         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11765         inside a LockingInset (is the update needed at all?).
11766
11767 2001-05-31  Juergen Vigna  <jug@sad.it>
11768
11769         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11770         here not the old one otherwise how should we compare it afterwards
11771         if it's the same!
11772
11773 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11774
11775         * lyxfont.C:
11776         * tabular.C:
11777         * tabular-old.C:
11778         * FontInfo.C: bring C functions into global namespace when
11779         necessary
11780
11781 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11782
11783         * LString.h: make sure config.h has been loaded before LString.h.
11784
11785         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11786         (one for each char read by EatLine!).
11787
11788         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11789         variables.
11790
11791 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11792
11793         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11794         to the same as the par we break from
11795
11796 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11797
11798         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11799
11800         * MenuBackend.C (expand): also create menu entries for wide
11801         versions of the floats.
11802
11803         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11804
11805         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11806
11807         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11808         frontends/Makefile.am
11809
11810         * text2.C: adjust
11811         * text.C: adjust
11812
11813
11814         * tabular.C (getTokenValue): add std::
11815
11816         * tabular-old.C (getTokenValue): add std::
11817         (getTokenValue): ditto
11818         (getTokenValue): ditto
11819
11820         * screen.C (ToggleSelection): adjust
11821
11822         * lyxtext.h: put selection cursors inside a Selection struct.
11823
11824         * lyxfunc.C (moveCursorUpdate): adjust
11825
11826         * lyxfont.C (latexWriteStartChanges): add std::
11827
11828         * lyxfind.C: adjust
11829
11830         * font.h: delete with(char const *, LyXFont const &)
11831
11832         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11833
11834         * FontInfo.C (getFontname): add std::
11835
11836         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11837         (workAreaButtonPress): adjust
11838         (tripleClick): adjust
11839         (update): adjust
11840         (moveCursorUpdate): adjust
11841         (Dispatch): adjust
11842
11843         * BufferView2.C (gotoInset): adjust
11844
11845 2001-05-30  Juergen Vigna  <jug@sad.it>
11846
11847         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11848         to check pspell I add this as default as I now have new pspell
11849         libraries and they seem to use this.
11850
11851 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11852
11853         * text2.C (CutSelection): make the cursor valid before the call to
11854         ClearSelection.
11855
11856 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11857
11858         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11859         relied on 0 terminated strings and other horrors. Bug found due to
11860         the new assert in lyxstring!
11861
11862         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11863         KP_ keys.
11864
11865 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11866
11867         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11868         to latinkeys.bind.
11869
11870         * lyxfunc.C (processKeySym): change method of getting to the
11871         self-insert char.
11872
11873         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11874         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11875         * BufferView_pimpl.[Ch]: here as private methods.
11876
11877 2001-05-28  Juergen Vigna  <jug@sad.it>
11878
11879         * text.C (SetHeightOfRow): added the update() call again as it is
11880         needed to initialize inset dimensions!
11881
11882 2001-05-16  Juergen Vigna  <jug@sad.it>
11883
11884         * text2.C (SetCharFont): Add new function with BufferView * and
11885         bool toggleall parameters for setting insets internal fonts.
11886         (SetFont): Freeze the undo as we may change fonts in Insets and
11887         all this change should be inside only one Undo!
11888
11889         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11890         setting font's in insets as for them we have the SetFont function!
11891
11892 2001-05-15  Juergen Vigna  <jug@sad.it>
11893
11894         * text2.C (ClearSelection): to be sure we REALLY don't have any
11895         selection anymore!
11896
11897         * tabular.C (TeXCellPreamble): fixed the left border problem for
11898         multicolumn cells.
11899
11900 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11901
11902         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11903         dependancy file
11904
11905 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11906
11907         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11908         LFUN_BREAKPARAGRAPH.
11909
11910         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11911         help test to "internal only", similar for LFUN_INSERT_URL
11912
11913         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11914         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11915         auto_region_delete and deadkeys.
11916
11917 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11918
11919         * LColor.h:
11920         * LColor.C: remove some dead entries, tidy a little
11921
11922 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11923
11924         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11925         commented code.
11926         (Dispatch): implement LFUN_ESCAPE
11927
11928         * commandtags.h: add LFUN_ESCAPE
11929
11930         * LyXAction.C (init): add entry for LFUN_ESCAPE
11931
11932         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11933         Remove commented code.
11934         (insertNote): moved here
11935         (open_new_inset): moved here
11936
11937         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11938         BufferView_pimpl
11939
11940 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11941
11942         * kbmap.C (findbinding): clean it up and make it work correctly.
11943
11944         * lyx_main.C (init): do not pass argc and argv as parameters
11945
11946 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11947
11948         * buffer.C: fix path for OS/2 & Win32
11949
11950         * lyx_gui.C:
11951         * lyx_main:
11952         * lyx_main.C: Added os:: class.
11953
11954         * os2_defines.h: update
11955
11956 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11957
11958         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11959         better by trying again with reduced state.
11960
11961 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11962
11963         * lyxrc.C (read): print error about invalid key sequence only when
11964         debugging (because not all latinX keysyms are known to some X
11965         servers)
11966
11967         * kbsequence.C (getiso): add a few std:: qualifiers
11968         (getiso): comment out extra return statement.
11969
11970 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11971
11972         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11973         handling.
11974         (Dispatch): enhance the accent inset a bit. (not perfect)
11975
11976 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11977
11978         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11979
11980 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11981
11982         * bufferlist.C (emergencyWrite): fix assert() call
11983
11984 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11985
11986         * text.C (InsertChar): Added trivial patch to only send the "you
11987         can not do multiple spaces this way" message once during a
11988         session.
11989
11990 2001-05-08  Baruch Even  <baruch@lyx.org>
11991
11992         * Makefile.am: Changed order of libraries to get LyX to link properly
11993         with the gnome frontend.
11994
11995 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11996
11997         * LaTeXFeatures.h: add a std:: qualifier
11998
11999 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * paragraph.C (String): use stringstream
12002
12003 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12004
12005         * paragraph.C (writeFile): remove footflag arg
12006
12007         * buffer.C (makeLaTeXFile): use stringstream
12008         (latexParagraphs): remove footnot gurba
12009
12010         * LaTeXFeatures.C (getPackages): use stringstream
12011         (getMacros): likewise
12012         (getTClassPreamble): likewise
12013         (getFloatDefinitions): new method
12014
12015         * paragraph.C (writeFile): reindent
12016         (Erase): reindent
12017
12018         * WorkArea.h: revert the xpos + etc changes.
12019
12020         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12021
12022         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12023
12024         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12025         (pasteSelection): likewise
12026         * text2.C (CreateUndo): likewise
12027
12028 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12029
12030         * minibuffer.C (peek_event): temporarily reduce the functionality
12031         of the minibuffer (to allow args on lfuns)
12032
12033         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12034         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12035
12036         * buffer.C (readInset): add compability reading of old float
12037         lists, add reading of new style float list.
12038         (readInset): avoid reevaluation of inscmd.getCmdName()
12039         (getLists): reindent
12040
12041         * MenuBackend.C (MenuItem): implement parsing of
12042         md_floatlistinsert and md_floatinsert.
12043         (expand::LastFiles): move initalizaton of iterators out of loop,
12044         avoid reevaluation.
12045         (expand::Documents): introduce typdedef vector<string> Strings,
12046         and use it.
12047         (expand::ExportFormats): introduce typedef vector<Format const *>
12048         Formats, and use it.
12049         (expand): implement FloatListInsert and FloatInsert.
12050
12051         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12052         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12053         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12054
12055         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12056         handling.
12057         (Dispatch::LFUN_FLOAT_LIST): implement
12058
12059 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12060
12061         * LaTeX.C (run): Fix problem with --export code.
12062
12063 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12064
12065         * BufferView.[Ch] (workarea): removed.
12066         (getClipboard) new method; wrapper for workarea()->getClipboard()
12067
12068         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12069         bug.
12070
12071         * WorkArea.h (width, height, xpos, ypos): These methods all
12072         returned the dimensions of the work_area sub-area of WorkArea,
12073         resulting in a position error if the WorkArea were resized. Now
12074         return the dimensions of the entire WorkArea.
12075
12076         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12077
12078 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12079
12080         * LaTeX.C (deplog): correct the syntax of regex reg1
12081
12082 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12083
12084         * undo.C: remove !NEW_INSETS cruft
12085
12086 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12087
12088         * text2.C: remove !NEW_INSETS cruft
12089
12090         * text.C: remove !NEW_INSETS cruft
12091
12092         * tabular.C: remove !NEW_INSETS cruft
12093
12094         * spellchecker.C: remove !NEW_INSETS cruft
12095
12096         * lyxtext.h: remove !NEW_INSETS cruft
12097
12098         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12099
12100         * lyxfunc.C: remove !NEW_INSETS cruft
12101
12102         * lyxfind.C: remove !NEW_INSETS cruft
12103
12104         * lyx_cb.C: remove !NEW_INSETS cruft
12105
12106         * figureForm.C: remove  !NEW_INSETS cruft
12107
12108         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12109
12110         * buffer.[Ch]: remove !NEW_INSETS cruft
12111
12112         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12113
12114         * CutAndPaste.C: remove !NEW_INSETS cruft
12115
12116         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12117
12118         * BufferView2.C: remove !NEW_INSETS cruft
12119
12120         * BufferView.h: remove !NEW_INSETS cruft
12121
12122 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12123
12124         * Lsstream.h: include LString.h before the sstream headers to
12125         fix problem with gcc 2.95.3 and lyxstring
12126
12127 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12128
12129         * lyx_main.C: add using directives when needed for C functions
12130         declared in std:: namespace.
12131
12132 2001-04-27  Juergen Vigna  <jug@sad.it>
12133
12134         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12135         (SetHeightOfRow): comment out the update call should not be needed!
12136
12137 2001-04-13  Juergen Vigna  <jug@sad.it>
12138
12139         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12140         (LyXTabular): tried to minimize operator= operations (and realized
12141         hopfully Lars wish).
12142
12143 2001-04-27  Juergen Vigna  <jug@sad.it>
12144
12145         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12146
12147 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12148
12149         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12150
12151         * buffer.C (readInset): hack to make listof algorithm work
12152
12153         * BufferView_pimpl.C: hack to make listof algorithm work
12154
12155 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12156
12157         * LyXAction.C: removed all !NEW_INSETS cruft
12158         (init): moved lfun_item in method
12159
12160         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12161
12162 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12163
12164         * BufferView2.C (theLockingInset): white space.
12165
12166 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12167
12168         * minibuffer.C: include <iostream>
12169
12170         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12171
12172         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12173
12174         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12175
12176         * text.[Ch] (TransposeChars): new method
12177
12178 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * call message directly through LyXView instead of through LyXFunc
12181         * BufferView2.C: adjust
12182         * BufferView_pimpl.C: adjust
12183         * FontLoader.C: adjust
12184         * buffer.C: adjust
12185         * bufferview_funcs.C: adjust
12186         * converter.C: adjust
12187         * figureForm.C: adjust
12188         * importer.C: adjust
12189         * lyx_cb.C: adjust
12190         * lyx_gui_misc.C: adjust
12191         * lyxfunc.C: adjust
12192         * lyxvc.C: adjust
12193         * text2.C: adjust
12194         + more files in subdirs
12195
12196         * lyxparagraph.h (size): move up int file
12197         (GetLayout): ditto
12198
12199         * adjust all uses of Assert to lyx::Assert.
12200
12201         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12202         lyxfunctional in namespace lyx
12203         * layout.C (hasLayout): ditto
12204         (GetLayout): ditto
12205         (GetLayout): ditto
12206         (delete_layout): ditto
12207         (NumberOfClass): ditto
12208         * converter.C (GetFormat): ditto
12209         (GetNumber): ditto
12210         (Add): ditto
12211         (Delete): ditto
12212         (SetViewer): ditto
12213         * bufferlist.C (getFileNames): ditto
12214         (emergencyWriteAll): ditto
12215         (exists): ditto
12216         (getBuffer): ditto
12217         * MenuBackend.C (hasSubmenu): ditto
12218         (hasMenu): ditto
12219         (getMenu): ditto
12220         * BufferView_pimpl.C (getInsetByCode): ditto
12221
12222 2001-04-18  Juergen Vigna  <jug@sad.it>
12223
12224         * vspace.C (asLatexString): fixed the 100% problem.
12225
12226 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12227
12228         * lyxfunc.C (Dispatch):
12229         * minibuffer.C:
12230         * minibuffer.h: add a few std:: qualifiers
12231
12232 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12233
12234         * minibuffer.[Ch]: reimplement so that commands is initiated and
12235         run from lyxfunc, simplified som handling, and made the completion
12236         and history code for complete. wip.
12237
12238         * lyxfunc.C (processKeySym): call message
12239         (miniDispatch): new temporary method
12240         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12241         (LFUN_MESSAGE): implement
12242         (LFUN_MESSAGE_PUSH): implement
12243         (LFUN_MESSAGE_POP): implement
12244         (initMiniBuffer): the initial/defualt minibuffer message.
12245
12246         * lyxfont.[Ch]: inline some more getters
12247
12248         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12249
12250         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12251
12252         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12253         (AutoSave): use LFUN_MESSAGE
12254         (Reconfigure): ditto
12255
12256         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12257
12258         * figureForm.C: use LFUN_MESSAGE
12259
12260         * converter.C (runLaTeX): use LFUN_MESSAGE
12261
12262         * bufferview_funcs.C: use LFUN_MESSAGE
12263         (Melt): ditto
12264         (changeDepth): ditto
12265
12266         * bufferparams.h: use boost::
12267
12268         * bufferlist.h: inherit privately from noncopyable
12269
12270         * bufferlist.C (loadLyXFile): remove some commented code.
12271
12272         * buffer.C (runChktex): use LFUN_MESSAGE
12273
12274         * ShareContainer.h: inherit privately from noncopyable
12275
12276         * ParagraphParameters.[hC] (depth): inline it.
12277
12278         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12279         methods.
12280         (message): new method
12281         (messagePush): ditto
12282         (messagePop): ditto
12283         (show): init minibuffer
12284         (showState): direct call
12285
12286         * LaTeX.[Ch]: inherit privately from noncopyable
12287         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12288         instead of WriteStatus.
12289
12290         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12291
12292         * BufferView_pimpl.C (buffer): don't init minibuffer
12293         (workAreaButtonPress): use LFUN_MESSAGE
12294         (workAreaButtonRelease): ditto
12295         (savePosition): ditto
12296         (restorePosition): ditto
12297         (MenuInsertLyXFile): ditto
12298         (workAreaExpose): don't init minibuffer
12299         (update): remove commented code, simplify
12300
12301         * BufferView2.C (openStuff): use LFUN_MESSAGE
12302         (toggleFloat): ditto
12303         (menuUndo): ditto
12304         (menuRedo): ditto
12305         (copyEnvironment): ditto
12306         (pasteEnvironment): ditto
12307         (copy): ditto
12308         (cut): ditto
12309         (paste): ditto
12310         (gotoInset): ditto
12311         (updateInset): remove some commented code
12312
12313         * lastfiles.h: inherit privately from noncopyable
12314         * layout.h: ditto
12315         * lyx_gui.h: ditto
12316         * lyx_main.h: ditto
12317         * lyxlex.h: ditto
12318         * lyxlex_pimpl.h: ditto
12319
12320         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12321         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12322         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12323
12324         * LyXAction.h: inherit privately from noncopyable, add methods
12325         func_begin, func_end, returning iterators to the func map.
12326
12327         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12328         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12329         (func_begin): new method
12330         (func_end): new method
12331
12332         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12333         and not)
12334         (copySelection): ditto
12335         (pasteSelection): ditto
12336
12337         * BufferView.C: whitespace change
12338         * BufferView.h: inherit privately from noncopyable
12339
12340 2001-04-16  Allan Rae  <rae@lyx.org>
12341
12342         * tabular-old.C (l_getline):
12343         * spellchecker.C (sc_check_word):
12344         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12345         an unrecognised preprocessor directive.  So ensure they're wrapped.
12346
12347 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12348
12349         * src/exporter.C (Export): Give an error message when path to file
12350         contains spaces.
12351
12352 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12353
12354         * LaTeX.C (deplog): Always check that foundfile exists.
12355
12356 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12357
12358         * lyx_main.h:
12359         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12360
12361 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12362
12363         * tabular.[Ch] (getLabelList): implement new method
12364
12365         * minibuffer.h: comment ouf setTiimer
12366
12367         * minibuffer.C (ExecutingCB): constify res
12368         (peek_event): constify s
12369         (Set): constify ntext
12370         (Init): constify nicename
12371
12372         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12373
12374         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12375         (savePosition): use two params to Minibuffer::Set
12376         (restorePosition): ditto
12377
12378 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12379
12380         * lyx_main.C: include language.h
12381
12382         * Makefile.am (lyx_main.o): add language.h
12383
12384 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12385
12386         * exporter.C:
12387         * paragraph.C:
12388         * screen.C:
12389         * tabular.C:
12390         * CutAndPaste.C: include gettext.h
12391
12392         * lyxfont.h: remove old hack with ON and OFF.
12393
12394         * lyxparagraph.h:
12395         * lyxfont.h: do not include language.h...
12396
12397         * BufferView2.C:
12398         * LaTeXFeatures.C:
12399         * Painter.C:
12400         * bufferview_funcs.C:
12401         * font.C:
12402         * lyxfont.C:
12403         * text.C:
12404         * text2.C:
12405         * trans_mgr.C:
12406         * paragraph.C: ... but do it here instead
12407
12408 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12409
12410         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12411
12412         * tabular.C: small reformat
12413
12414         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12415         NEW_INSETS version
12416         (GetChar): ditto
12417         (BreakParagraph): ditto
12418         (SetOnlyLayout): ditto
12419         (SetLayout): ditto
12420
12421         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12422         with one arg less.
12423
12424         * lastfiles.C: removed most using decl, add std:: where needed
12425
12426         * buffer.C: ws changes
12427
12428         * MenuBackend.C (class compare_format): put into anon namespace
12429         (expand): constify label, names, action, action2
12430         (expand):
12431
12432         * text.C (SingleWidth): constify font
12433         (IsBoundary): constify rtl2
12434         (GetVisibleRow): constify ww
12435
12436         * LaTeX.C (deplog): constify logfile
12437
12438         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12439         start_x, end_x
12440         (workAreaExpose): constify widthChange, heightChange
12441
12442         * lyxrow.C (par): moved
12443         (height): moved
12444         (next): moved
12445         * lyxrow.h: as inlines here
12446
12447         * lyxfont.h (shape): moved from lyxfont.C
12448         (emph): moved from lyxfont.C
12449
12450         * lyxfont.C (LyXFont): use initialization list for all
12451         constructors
12452         (shape): move to lyxfont.h as inline
12453         (emph): move to lyxfont.h as inline
12454
12455
12456 2001-04-04  Juergen Vigna  <jug@sad.it>
12457
12458         * vspace.C: had to include stdio.h for use of sscanf
12459
12460 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12461
12462         * BufferView.h:
12463         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12464         independent of xforms.
12465
12466 2001-04-02  Juergen Vigna  <jug@sad.it>
12467
12468         * spellchecker.C: fixed namespace placing!
12469
12470 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12471
12472         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12473         the LyXParagraph * is 0.
12474
12475 2001-03-29  Juergen Vigna  <jug@sad.it>
12476
12477         * vspace.C: added support for %, c%, p%, l%.
12478         (stringFromUnit): added helper function.
12479         (asLatexString): changed to give right results for the %-values.
12480
12481         * buffer.C: convert the widthp in a width%.
12482
12483 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12484
12485         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12486         figureForm.[Ch].
12487
12488         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12489         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12490
12491         * lyx_cb.[Ch]: see above.
12492
12493         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12494         form1.[Ch].
12495
12496         * form1.[Ch]:
12497         * lyx.[Ch]: replaced by figure_form.[Ch].
12498
12499         * lyx_gui.C:
12500         * lyx_gui_misc.C:
12501         * lyxfunc.C: changed headers associated with above changes.
12502
12503 2001-03-27  Juergen Vigna  <jug@sad.it>
12504
12505         * BufferView_pimpl.C: set the temporary cursor right!
12506
12507 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12508
12509         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12510
12511 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12512
12513         * LString.h: removed "using std::getline"!
12514
12515         * BufferView_pimpl.C (Dispatch): changes due to changes in
12516         InsetInclude::Params.
12517
12518         * buffer.C (tag_name): removed redundant break statements as they were
12519         producing lots of warnings with my compiler.
12520
12521 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12522
12523         * LString.h: add "using std::getline" when using the real <string>.
12524
12525 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12526
12527         * buffer.C: removed bitset usage.
12528         PAR_TAG moved to an anonymous name space.
12529         (tag_name): new funtion, also in the anonymous namespace.
12530         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12531         (makeDocBookFile): clean code. Completed transition from string arrays
12532         to string vectors.
12533         (SimpleDocBookOnePar): code clean.
12534
12535 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12536
12537         * tabular.C: add some comments.
12538
12539 2001-03-22  Juergen Vigna  <jug@sad.it>
12540
12541         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12542         compatibility read a bit and fixed bug with minipage in different
12543         depth.
12544
12545 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12546
12547         * buffer.C (pop_tag): removed.
12548         (push_tag): removed.
12549         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12550         array replaced with vector. Added support for CDATA sections.
12551         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12552         at any nest level.
12553         (makeDocBookFile): XML conformant declaration of CDATA section,
12554         fixed bug related to <emphasis> in the first paragraph char.
12555         (sgmlOpenTag): exclude empty tags.
12556         (sgmlCloseTag): ditto.
12557
12558         * buffer.h (pop_tag): removed.
12559         (push_tag): removed.
12560
12561 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12562
12563         * language.h (Languages): added size_type and size().
12564
12565 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12566
12567         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12568         response on compability reading of minipages. One probliem is that
12569         the old usage of minipages was «flertydig»
12570
12571         * several files here and in subdirs: don't use static at file
12572         scope use anon namespaces instead.
12573
12574 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12575
12576         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12577         LaTeX output. This is necessary for Literate document
12578         processing.
12579
12580 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12581
12582         * buffer.C: insert hfill when needed.
12583
12584         * tabular.C (l_getline): use string::erase, small whitespace change.
12585
12586         * BufferView_pimpl.C: try the anon namespace.
12587         * WorkArea.C: ditto
12588
12589 2001-03-16  Juergen Vigna  <jug@sad.it>
12590
12591         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12592         otherwise it won't open options-dialogs.
12593
12594         * buffer.C: honor pextraWidth(p) on converting minipages.
12595
12596         * tabular.C (l_getline): changed the functions to strip trailing \r.
12597
12598 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12599
12600         * BufferView_pimpl.C:
12601         * minibuffer..C: added "using SigC::slot" declaration.
12602
12603 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12604
12605         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12606
12607         * text2.C: ditto
12608
12609         * text.C: ditto
12610
12611         * paragraph.C: ditto
12612
12613         * lyxtext.h: NO_PEXTRA
12614
12615         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12616
12617         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12618         * ParameterStruct.h: ditto
12619         * ParagraphParameters.h: ditto
12620         * lyxparagraph.h: ditto
12621
12622 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12623
12624         * buffer.C: add compability for minipage alignment.
12625         (latexParagraphs): remove unwanted pextra check.
12626
12627         * several files: remove CXX_WORKING_NAMESPACES
12628
12629         * buffer.C (pop_tag): tie is in namespace boost
12630
12631         * BufferView.h: noncopyable is in namespace boost
12632         * lyxlex.h: ditto
12633         * lyx_main.h: ditto
12634         * lyx_gui.h: ditto
12635         * layout.h: ditto
12636         * lastfiles.h: ditto
12637         * bufferlist.h: ditto
12638         * ShareContainer.h: ditto
12639         * LyXView.h: ditto
12640         * LyXAction.h: ditto
12641         * LaTeX.h: ditto
12642
12643 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12644
12645         * Merging changes from BRANCH_MVC back into HEAD.
12646
12647         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12648
12649 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12650
12651         * BufferView_pimpl.C: change from intl.C
12652
12653         * combox.h:
12654         * combox.C:
12655         * Makefile.am: move combox.*
12656
12657         * form1.h:
12658         * form1.C:
12659         * lyx_gui.C:
12660         * intl.h:
12661         * intl.C: remove dialog (covered by prefs)
12662
12663 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12664
12665         * lyxfunc.C (Dispatch): removed redundant break statement.
12666
12667 2001-03-14  Juergen Vigna  <jug@sad.it>
12668
12669         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12670
12671 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12672
12673         * buffer.C: add hack to fix compability reading of minipages.
12674
12675 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12676
12677         * buffer.C (getLists): Cleanup.
12678
12679 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12680
12681         * lyxfont.C (update): don't honor toggleall on font size.
12682
12683 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12684
12685         * bmtable.c:
12686         * bmtable.h:
12687         * Makefile.am: moved to frontends/xforms/
12688
12689         * lyx_gui_misc.C:
12690         * lyxfunc.C:
12691         * BufferView_pimpl.C: changes for moved mathpanel
12692
12693 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12694
12695         * gettext.h: fix gettext_init() in --disable-nls
12696
12697 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12698
12699         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12700
12701 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12702
12703         * lyx.C:
12704         * lyx.h: strip external form
12705
12706 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12707
12708         * BufferView_pimpl.C: add comment, destroySplash()
12709
12710 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12711
12712         * BufferView_pimpl.C:
12713         * LyXAction.C:
12714         * buffer.C:
12715         * commandtags.h:
12716         * lyxfunc.C: use re-worked insetinclude
12717
12718 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12719
12720         * buffer.C: add using std::stringstream.
12721
12722         * lyx_cb.C: readd using std::ios.
12723
12724         * buffer.C: add using std::map.
12725
12726         * BufferView_pimpl.C: add using std::vector.
12727
12728         * ShareContainer.h: add std:: to swap.
12729
12730         * buffer.h: add some typedefs
12731         * buffer.C (getLists): use them
12732         (getLists): renamed from getTocList.
12733         add a counter for the different float types and use it in the
12734         generated string.
12735         (getLists): use the same counter for the NEW_INSETS and the "non"
12736         NEW_INSETS
12737
12738         * lyx_cb.h: remove unused items, includes, using etc.
12739
12740         * ShareContainer.h: remove some commented code, add more comments
12741         and "documentation".
12742
12743 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12744
12745         * buffer.C (getTocList): make the list also when NEW_INSETS is
12746         defined.
12747
12748         * buffer.h: remove TocType
12749
12750         * buffer.C (getTocList): change to return a map<string,
12751         vector<TocItem> >, implement for dynamic number of list.
12752
12753         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12754         * text2.C (PasteSelection): adjust
12755         * CutAndPaste.C (pasteSelection): adjust
12756
12757         * FloatList.C (FloatList): update from the new_insets branch.
12758         * Floating.[Ch]: ditto
12759         * LaTeXFeatures.C: ditto
12760         * buffer.C: ditto
12761         * lyxlex_pimpl.C: ditto
12762
12763         * paragraph.C (Last): remove when NEW_INSETS is defined.
12764
12765         * other file: changes because of the above.
12766
12767 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12768
12769         * lyxparagraph.h: rename next to next_, previous to previous_,
12770         make them private for NEW_INSETS. Rename Next() to next(),
12771         Previous() to previous().
12772
12773         * other files: changes because of the above.
12774
12775 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12776
12777         * BufferView.h:
12778         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12779         problem.
12780
12781 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12782
12783         * main.C (main): pass lyx_localedir to gettext_init().
12784
12785         * gettext.h: remove locale_init and gettext_init macros
12786
12787         * gettext.C (locale_init): new function
12788         (gettext_init): new function
12789
12790         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12791         setlocale().
12792
12793 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12794
12795         * Moved credits to frontends:
12796         * credits.[Ch]: removed
12797         * credits_form.[Ch]: removed
12798         * lyx_gui_misc.C: remove credits stuff
12799         * Makefile.am:
12800
12801 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12802
12803         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12804
12805         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12806         unneeded destructor.
12807
12808         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12809         a standalone pointer again.
12810
12811         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12812
12813 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12814
12815         * Makefile.am:
12816         * filedlg.h:
12817         * filedlg.C:
12818         * LyXAction.C:
12819         * ToolbarDefaults.C:
12820         * bufferlist.C:
12821         * commandtags.h:
12822         * form1.C:
12823         * form1.h:
12824         * lyx_cb.C:
12825         * lyx_cb.h:
12826         * lyxfunc.h:
12827         * lyxfunc.C:
12828         * BufferView_pimpl.C: use new file dialog in GUII
12829
12830         * lyx_cb.h:
12831         * lyx_cb.C: remove LayoutsCB to Toolbar
12832
12833 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12834
12835         * ShareContainer.h (get): add std:: qualifier
12836
12837 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12838
12839         * ShareContainer.h: define a proper ShareContainer::value_type
12840         type (and use typename to please compaq cxx)
12841
12842 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12843
12844         * lyxparagraph.h: move serveral local vars to
12845         ParameterStruct/ParagraphParameters., use ShareContainer in
12846         FontTable., make vars in FontTable private and add getter and
12847         setter.
12848
12849         * paragraph.C: changes because of the above.
12850
12851         * lyxfont.h: remove copy constructor and copy assignment. (the
12852         default ones is ok), move number inside FontBits. move inlines to
12853         lyxfont.C
12854
12855         * lyxfont.C: add number to initializaton of statics, move several
12856         inlines here. constify several local vars. some whitespace
12857         cleanup. Dont hide outerscope variables.
12858
12859         * Spacing.h: add two new constructors to match the set methods.
12860
12861         * ShareContainer.h: new file, will perhaps be moved to support
12862
12863         * ParameterStruct.h: new file
12864
12865         * ParagraphParameters.h: new file
12866
12867         * ParagraphParameters.C: new file
12868
12869         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12870         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12871
12872         * BufferView_pimpl.C: ParagraphParameter changes.
12873         * buffer.C: Likewise.
12874         * bufferview_funcs.C: Likewise.
12875         * text.C: Likewise.
12876         * text2.C: Likewise.
12877
12878 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12879
12880         * lyxfind.C (LyXReplace): do not redefine default argument in
12881         implementation.
12882         (IsStringInText): ditto
12883         (SearchForward): ditto
12884         (SearchBackward): ditto
12885
12886 2001-03-06  Juergen Vigna  <jug@sad.it>
12887
12888         * lyxfind.C (IsStringInText): put parentes around expressions.
12889
12890 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12891
12892         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12893
12894 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12895
12896         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12897
12898         * stl_string_fwd.h: add comment
12899
12900         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12901
12902         * tabular.h:
12903         * tabular.C: remove unused DocBook methods
12904
12905         * intl.C:
12906         * language.C:
12907         * paragraph.C:
12908         * buffer.C:
12909         killed DO_USE_DEFAULT_LANGUAGE
12910
12911 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12912
12913         * lyx_gui.C: do not include language.h.
12914
12915         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12916         arguments in function implementation.
12917
12918 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12919
12920         * BufferView_pimpl.C: add <ctime>
12921
12922 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12923
12924         * BufferView_pimpl.C: add using std::find_if
12925
12926 2001-02-27  José Matos  <jamatos@fep.up.pt>
12927
12928         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12929         by OnlyPath.
12930
12931 2001-02-11  José Matos  <jamatos@fep.up.pt>
12932
12933         * buffer.C (makeDocBookFile): command styles now have a parameter as
12934         "title" by default.
12935
12936 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12937
12938         * layout_forms.[Ch]: removed
12939         * lyx_cb.[Ch]: out character
12940         * lyx_gui.C: out character
12941         * lyx_gui_misc.C: out character
12942         * bufferview_funcs.C: : out character,
12943         added toggleall as parameter in ToggleAndShow
12944
12945 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12946
12947         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12948
12949         * text2.C (SetCurrentFont): Disable number property at boundary.
12950
12951 2001-02-26  Juergen Vigna  <jug@sad.it>
12952
12953         * lyxfunc.C (getStatus): added a string argument override function so
12954         that this is correctly called from LyXFunc::Dispatch if it contains a
12955         do_not_use_argument which is used!
12956         (Dispatch): added check for "custom" export and call appropriate func.
12957
12958 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12959
12960         * lyxrc.C: Add language_command_local, language_use_babel and
12961         language_global_options.
12962
12963         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12964
12965         * buffer.C (makeLaTeXFile): Use language_use_babel and
12966         language_global_options.
12967
12968 2001-02-23  Juergen Vigna  <jug@sad.it>
12969
12970         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12971         which works with LyXText and putted it inside BufferView. Here now we
12972         only call for that part the BufferView::Dispatch() function.
12973
12974         * BufferView.C (Dispatch): added.
12975
12976         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12977         functions which needs to use a LyXText over from LyXFunc.
12978         (MenuInsertLyXFile): added
12979         (getInsetByCode): added
12980         (moveCursorUpdate): added
12981         (static TEXT): added
12982
12983 2001-02-22  Juergen Vigna  <jug@sad.it>
12984
12985         * BufferView_pimpl.C (update): call a status update to see if LyXText
12986         needs it.
12987
12988 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12989
12990         * vc-backend.C (revert): implement for CVS
12991         (getLog): implement for CVS
12992
12993 2001-02-20  Juergen Vigna  <jug@sad.it>
12994
12995         * text2.C (ClearSelection): added BufferView param for inset_owner call
12996
12997         * lyxfunc.C (TEXT): added this function and use it instead of
12998         directly owner->view()-text of getLyXText().
12999
13000 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13001
13002         * src/layout_forms.C: out preamble
13003         * src/layout_forms.h: out preamble
13004         * src/lyx_cb.C: out preamble
13005         * src/lyx_cb.h: out preamble
13006         * src/lyx_gui.C: out preamble
13007         * src/lyx_gui_misc.C: out preamble
13008         * src/lyxfunc.C: connect with guii preamble
13009
13010 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13011
13012         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13013
13014 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13015
13016         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13017         whether to run bibtex.
13018
13019 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13020
13021         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13022
13023 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13024
13025         * Makefile.am (lyx_SOURCES): removed bibforms.h
13026
13027         * vspace.h: doxygen
13028
13029         * text.C (GetVisibleRow): make several local vars const
13030
13031         * tabular.C: small cleanup.
13032
13033         * lyxserver.C (callback): use compare instead of strncmp
13034
13035         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13036         inlines to after class or to paragraph.C
13037
13038         * lyxfont.h: remove friend operator!=
13039
13040         * converter.h: move friend bool operator< to non friend and after
13041         class def.
13042
13043         * combox.h: small cleanup
13044
13045         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13046         to inlines after class def.
13047
13048         * buffer.C (pop_tag): use string operations instead of strcmp
13049
13050         * bmtable.c: doxygen, small cleanup
13051
13052         * LaTeX.h: remove friend operator==
13053
13054 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13055
13056         * screen.C:
13057         * lyxrc.[Ch]:
13058         * lyxfunc.C:
13059         * lyxfont.[Ch]:
13060         * lyx_cb.C:
13061         * intl.[Ch]:
13062         * commandtags.h:
13063         * buffer.C:
13064         * WorkArea.[Ch]:
13065         * LyXAction.C:
13066         * BufferView_pimpl.C:
13067         * BufferView.[Ch]: remove cruft
13068
13069 2001-02-14  Juergen Vigna  <jug@sad.it>
13070
13071         * lyxfunc.C: removed #if 0 unused code
13072
13073         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13074
13075         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13076
13077         * text2.C (SetSelection): added a BufferView * parameter
13078
13079 2001-02-13  Juergen Vigna  <jug@sad.it>
13080
13081         * lyxfunc.C (Dispatch): fixed protected blank problem.
13082         * BufferView2.C (protectedBlank): added LyxText * parameter.
13083
13084         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13085         (AppendColumn): same as above for column_info.
13086
13087         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13088         (moveCursorUpdate): use a LyXText param for support of InsetText.
13089
13090         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13091         (tripleClick): ditto
13092
13093         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13094
13095         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13096
13097         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13098
13099         * text2.C (SetSelection): set correct update status if inset_owner
13100         (ToggleFree): ditto
13101
13102 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13103
13104         * tabular.C: remove some commented code.
13105
13106 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13107
13108         * BufferView_pimpl.C: call hideSplash()
13109
13110         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13111
13112         * include_form.h:
13113         * bibforms.h: remove
13114
13115         * lyxfunc.C:
13116         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13117           add LFUN_CHILD_CREATE
13118
13119         * counters.h: fix tiny typo
13120
13121         * lyx_cb.C:
13122         * lyx.h:
13123         * lyx_gui.C:
13124         * lyx.C: move splash to frontends/xforms/
13125
13126         * lyx_gui_misc.C: move Include and Bibform to frontends
13127
13128         * lyxvc.h: clarify comment
13129
13130         * vspace.C: tiny housekeeping
13131
13132 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13133
13134         * text.C (PrepareToPrint): RTL Fix.
13135
13136         * paragraph.C (GetUChar): New method.
13137         (String):  Use GetUChar.
13138
13139         * buffer.C (asciiParagraph): Use GetUChar.
13140
13141 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13142
13143         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13144
13145 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13146
13147         * buffer.h:
13148         * buffer.C: rename to getLogName(), handle
13149           build log / latex log nicely
13150
13151 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13152
13153         * MenuBackend.C:
13154         * MenuBackend.h: remove support for reference menuitem type.
13155
13156 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13157
13158         * BufferView_pimpl.C: housekeeping
13159         * BufferView_pimpl.h:
13160         * LyXView.h:
13161         * Makefile.am:
13162         * Timeout.C:
13163         * Timeout.h:
13164         * minibuffer.h: move Timeout GUI-I
13165
13166 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13167
13168         * lyxrc.C (read): Update converters data-structures.
13169
13170 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13171
13172         * LaTeX.h (operator!=): add operator != for Aux_Info
13173
13174 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13175
13176         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13177
13178         * LaTeXLog.C: deleted, useful code moved to Buffer
13179
13180         * buffer.h:
13181         * buffer.C: new function getLatexLogName()
13182
13183         * lyx_gui_misc.C:
13184         * lyx_gui.C:
13185         * lyxvc.C:
13186         * lyxvc.h:
13187         * lyxfunc.C: use frontends for LaTeX and VC logs
13188
13189 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13190
13191         * LaTeX.h: yet another std:: that Allan forgot.
13192
13193         * Variables.C (set): renamed from isset(), because this clashes
13194         with some HP-UX macros (grr).
13195
13196 2001-02-06  Allan Rae  <rae@lyx.org>
13197
13198         * LaTeX.h: Another bug fix.  Missing std:: this time.
13199
13200 2001-02-04  Allan Rae  <rae@lyx.org>
13201
13202         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13203         floats problem. I've left it commented out because it's not quite
13204         correct.  It should also test that the current object is a table or
13205         figure inset.  But I haven't gotten around to figuring out how to do
13206         that.  I *think* it'll be something like: "table" == inset.type()
13207
13208         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13209         bool.
13210
13211 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13212
13213         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13214         all the citation/databases/styles in the auxilary file.
13215         (run): Rerun latex if there was a babel language error.
13216
13217 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13218
13219         * text.C (Backspace): Preserve the font when changing newline char
13220         with a space.
13221         (BreakParagraph): If the cursor is before a space, delete the space.
13222
13223         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13224
13225 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13226
13227         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13228         new argument (code).
13229         (ChangeCitationsIfUnique): New method.
13230
13231         * paragraph.C (GetPositionOfInset): Handle bibkey.
13232
13233 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13234
13235         * BufferView_pimpl.h: change type of Position::par_pos to
13236         LyXParagraph::size_type.
13237
13238 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13239
13240         * BufferView_pimpl.C (savePosition, restorePosition): Write
13241         messages to minibuffer.
13242
13243 2001-01-28  José Matos  <jamatos@fep.up.pt>
13244
13245         * buffer.C (makeDocBookFile): adds support for document language.
13246         A silly restriction on the name of LatexCommand types where removed.
13247         Added support for CDATA sections, allows to chars unescaped, used
13248         among others in code, to avoid escape < and >.
13249
13250 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13251
13252         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13253         saved positions instrad of a stack. Furthermore, a position is
13254         stored using paragraph id/paragraph position.
13255
13256         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13257         Remove LFUN_REF_BACK.
13258
13259 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13260
13261         * converter.C (dvipdfm_options): New method.
13262
13263 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13264
13265         * vspace.C (isValidLength): Fix for empty input string.
13266
13267 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13268
13269         * LyXAction.C (init): change description of LFUN_FIGURE to
13270         "Insert Graphics"
13271
13272 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13273
13274         * LaTeX.C: add using directive
13275
13276 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13277
13278         * MenuBackend.C (expand): Fix the sorting of the formats.
13279
13280 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13281
13282         * lyx_main.C: tiny error message fix
13283
13284 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13285
13286         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13287         calling fl_initialize(). This fixes the problem with ',' as
13288         decimal separator in text files.
13289
13290 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13291
13292         * trans.C (process): Fix the keymap bug.
13293
13294 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13295
13296         * LaTeX.C (scanAuxFiles): New method. Provides support for
13297         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13298         (scanLogFile) Scan for "run BibTeX" messages.
13299
13300         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13301         OT1 font encoding. Also, load the aecompl package if the ae
13302         package is loaded.
13303
13304         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13305
13306 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13307
13308         * texrow.C (increasePos): turn two error messages into debug
13309         messages.
13310
13311 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13312
13313         * LaTeX.C (scanAux): Handle the \@input macro.
13314         (runBibTeX): Use scanAux().
13315
13316         * language.C (latex_options_): New field.
13317
13318         * LaTeXFeatures.C (getMacros): Add language macros.
13319
13320         * buffer.C (makeLaTeXFile): Small fix.
13321
13322 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13323
13324         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13325
13326         * text2.C: add a using directive.
13327
13328 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13329
13330         * BufferView2.C:
13331         * lyx_gui_misc.h:
13332         * lyxfr1.C:
13333         * lyxfunc.C: kill LyXBell.
13334
13335 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13336
13337         * text.C (IsBoundary): Remove the error message
13338
13339         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13340
13341         * lyxrc.C (setDefaults): Correct initialization value for
13342         font_norm_type.
13343
13344 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13345
13346         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13347         gotoError().
13348
13349         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13350         and GotoNextNote().
13351
13352         * src/LyXAction.C: Added reference-next.
13353
13354         * text.C (InsertChar): Use contains instead of strchr.
13355
13356         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13357
13358 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13359
13360         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13361         alignment commands (when needed).
13362
13363         * text.C (InsertChar): Add ':' to number separator chars.