]> git.lyx.org Git - features.git/blob - src/ChangeLog
Final touch 'inset display()'; fix 'is a bit silly' bug
[features.git] / src / ChangeLog
1 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
2
3         * text.C: (1) finish off the inset display() work;
4         (2) fix the "is a bit silly" bug (accessing char
5         past end of par).
6
7 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
8
9         * text.C: re-introduce display() for insets, fixing the
10         various bugs (stretch of line above, math inset 
11         positioning, ...)
12
13 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14
15         * text.C (rightMargin): remove spurious semicolon
16
17         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
18         1415)
19
20 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
21
22         * text3.C: fix one crash due to wrong cursor def
23
24 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
25
26         * vc-backend.C (scanMaster): make the regex static
27
28         * LaTeX.C (scanAuxFile): make the regexs static
29
30         * text3.C (doInsertInset, dispatch, dispatch):
31         * text2.C (cursorUp, cursorDown):
32         * text.C (selectNextWordToSpellcheck):
33         * BufferView_pimpl.C (dispatch):
34         * lyxfunc.C (dispatch):  localDispatch -> dispatch
35
36 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
37
38         * lyxsocket.C: include <cerrno>
39
40 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
41
42         * lyxfunc.C (dispatch): remove textcache stuff
43
44         * bufferlist.C (release): remove textcache stuff
45         (closeAll): ditto
46
47         * TextCache.C: delete file
48         * TextCache.h: delete file
49
50         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
51
52         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
53         delete of the bv_->text.
54         (resizeCurrentBuffer): remove texcache stuff
55         (workAreaResize): ditto
56
57 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
58
59         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
60         action.
61
62 2003-10-16  André Pönitz  <poenitz@gmx.net>
63
64         * lyxrow.[Ch]:
65         * paragraph.h:
66         * rowpainter.C:
67         * text.C:
68         * text2.C:
69         * text3.C: speed up by storing y positions per paragraph plus per-row
70         offset instead of having a 'full' y position in the row.
71
72 2003-10-15  André Pönitz  <poenitz@gmx.net>
73
74         * iterators.[Ch]:
75         * iterators.[Ch]:
76         * undo.[Ch]: make undo aware of inner insets
77
78 2003-10-14  Angus Leeming  <leeming@lyx.org>
79
80         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
81         static member functions LyX::ref() and LyX::cref.
82         (lastfiles): new accessor functions for the new lastfiles_ member var.
83         (addLyXView, views_): add a new LyXView to the list of views_.
84         (updateInset): loop over all LyXViews to call their own updateInset
85         member function, returning a pointer to the Buffer owning the inset.
86
87         * BufferView_pimpl.C (loadLyXFile):
88         * MenuBackend.C (expandLastfiles):
89         * bufferlist.C (MenuWrite, QuitLyX):
90         lastfiles is no longer a global variable.
91         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
92
93         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
94         static function. Access through LyX::cref().emergencyCleanup().
95
96 2003-10-14  André Pönitz  <poenitz@gmx.net>
97
98         * iterators.[Ch]: new direct access to innermost LyXText and Inset
99
100         * undo.[Ch]: restoring part of 'undo in insets'
101
102         * Makefile.am:
103         * undo_funcs.[Ch]: merge with undo.[Ch]
104
105         * tabular.C: small cleansing stuff
106
107 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
108
109         * paragraph_funcs.C (readParToken): report unknown insets as error
110         boxes. Use the outer paragraph as location (also for unknown
111         tokens).
112
113         * factory.C (readInset): do not abort on reading an unknown inset.
114         Eat it and return 0.
115
116 2003-10-13  Angus Leeming  <leeming@lyx.org>
117
118         * lyx_main.C (LyX): remove call to setDisplayTranslator().
119
120         * lyxrc.C: displayTranslator is now a function,
121         declared in GraphicsTypes.h.
122
123 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
124
125         * format.C: new placeholder $$a to pass the socket address.
126
127         * bufferlist.[Ch]: new function getBufferFromTmp.
128
129         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
130           files in the temporary dir.
131
132 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
133
134         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
135
136         * Makefile.am: add lyxsocket.[Ch].
137
138         * lyx_main.C (error_handler): handle SIGPIPE.
139
140 2003-10-13  André Pönitz  <poenitz@gmx.net>
141
142         * BufferView_pimpl.C:
143         * lyxtext.h:
144         * text.C:
145         * text2.C:
146         * text3.C:
147         * undo_funcs.[Ch]: use paroffset_type instead of
148           ParagraphList::iterators to prevent multiple conversion
149           (and get a more robust interface)
150
151 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
152
153         * lyxfunc.C (dispatch): RESULT -> dispatch_result
154         * lyxtext.h: ditto
155         * text3.C (dispatch): ditto
156
157 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
158
159         * LaTeX.C (handleFoundFile): move the static to smaller scope,
160         move the onlyfile, use onlyfile instead of foundfile in a couple
161         of places.
162
163         * DepTable.C (update): flush the error stream a bit more
164
165 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
166
167         * lyxserver.C (callback): adjust
168
169         * lyxfunc.C (getStatus): add a missing brace in commented code
170         (ensureBufferClean): reindent
171         (dispatch): delete version taking a string
172
173 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
174
175         * LaTeX.C (deplog): move found file handlig from here...
176         (handleFoundFile): .. to new function here.
177         (deplog): make sure to discover several files mentioned on the
178         same log line.
179
180 2003-10-10  André Pönitz  <poenitz@gmx.net>
181
182         * lyxfunc.C:
183         * lyxtext.h:
184         * tabular.C:
185         * text.C:
186         * text2.C:
187         * text3.C: fix some of the tabular crashes
188
189 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
190
191         * MenuBackend.C (binding): put debug message into Debug::KBMAP
192
193         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
194
195 2003-10-09  André Pönitz  <poenitz@gmx.net>
196
197         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
198
199         * BufferView.C:
200         * BufferView_pimpl.C:
201         * bufferview_funcs.C:
202         * lyx_cb.C:
203         * lyxcursor.C:
204         * lyxfind.C:
205         * lyxfunc.C:
206         * lyxtext.h:
207         * text.C:
208         * text2.C:
209         * text3.C:
210         * text_funcs.[Ch]:
211         * textcursor.[Ch]:
212         * undo_funcs.C: adjust
213
214 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
215
216         * text2.C (incrementItemDepth): new function, use a backtracking
217         algorithm to discover the correct item depth.
218         (resetEnumCounterIfNeeded): new function, use a backtracking
219         algorithm to discover if counter reset is needed.
220         (setCounter): use them. Simplify a bit. Add different labels for
221         different item depths for itemize.
222
223         * paragraph.C (Paragraph): remove initialization of enumdepth
224         (operator=): ditto
225
226         * paragraph.h: get rid of enumdepth, and use itemdepth both for
227         enumerate and itemize. Change the type of itemdepth to signed char.
228
229 2003-10-08  André Pönitz  <poenitz@gmx.net>
230
231         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
232           thing assignable.
233         * text.C:
234         * text2.C: adjust
235
236         * tabular.[Ch]: fix crash after 'row-insert'
237
238 2003-10-08  Angus Leeming  <leeming@lyx.org>
239
240         Fix doxygen warnings.
241
242         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
243         Remove CutAndPaste:: prefix from header file declaration.
244
245         * LColor.h (fill): remove LColor:: prefix from declaration.
246
247         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
248         use lyx::depth_type rather than Paragraph::depth_type so that
249         header file and .C file match.
250
251         * converter.h (intToFormat): remove Converters:: prefix from declaration.
252
253         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
254         * aspell.C: \file aspell_local.C -> \file aspell.C
255         * gettext.C: \file gettext.C -> \file src/gettext.C
256         * gettext.h: \file gettext.h -> \file src/gettext.h
257         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
258         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
259         * text.C: \file text.C -> \file src/text.C
260
261         * toc.C: move comment so that doxygen is not confused.
262
263 2003-10-07  Angus Leeming  <leeming@lyx.org>
264
265         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
266
267 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
268
269         * aspell.C:
270         * aspell_local.h: add forgotten std::string's.
271
272 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
273
274         * LaTeXFeatures.C:
275         * LyXAction.C:
276         * factory.C:
277         * lfuns.h:
278         * lyxfunc.C:
279         * text3.C: The Box patch. Fancybox support, minipage, parbox
280
281 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
282
283         * CutAndPaste.h:
284         * DepTable.h:
285         * FloatList.h:
286         * LaTeXFeatures.h:
287         * ParagraphParameters.h:
288         * TextCache.h:
289         * Thesaurus.h:
290         * bufferlist.h:
291         * exporter.h:
292         * importer.h:
293         * lastfiles.h:
294         * lyxfind.h:
295         * lyxfont.h:
296         * lyxlex.h:
297         * lyxtextclasslist.h:
298         * messages.h:
299         * paragraph.h:
300         * paragraph_pimpl.C:
301         * textcursor.h: add <string> and other small fixes to make Lars'
302         std::string patch compile with STLport.
303
304 2003-10-06  Angus Leeming  <leeming@lyx.org>
305
306         * LColor.h: Add missing #include <string>.
307
308 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
309
310         * All most all file in all subdirs: Make <string> be the prefered
311         way of getting to std::string, add using declarations.
312
313 2003-10-06  André Pönitz  <poenitz@gmx.net>
314
315         * metricsinfo.C: initialize LyXFont before changing attribute.
316         (fixes the 'math in \emph is upright' bug)
317
318 2003-10-06  André Pönitz  <poenitz@gmx.net>
319
320         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
321
322 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
323
324         * graph.C:
325         * paragraph_pimpl.C: Small fixes to build using STLport
326
327 2003-10-02  André Pönitz  <poenitz@gmx.net>
328
329         * lyxfunc.C:
330         * text3.C: move handling of LFUN_DEPTH *; fix #1360
331
332 2003-10-01  André Pönitz  <poenitz@gmx.net>
333
334         * factory.C: assert early
335
336 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
337
338         * lyx_main.C: remove the global debug object
339
340         * debug.h: adjust for new debugstream
341
342         * debug.C: adjust for new debugstream and keep the global debug
343         object here.
344
345 2003-09-22  Angus Leeming  <leeming@lyx.org>
346
347         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
348         of g++ which otherwise complain that the scoped_ptr destructor can't delete
349         an incomplete class LyXFont.
350
351 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
352
353         * factory.C: bug fix in branches
354
355 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
356
357         * lyxfunc.C (processKeySym): adjust
358         (dispatch): adjust
359         (dispatch): change arg name from ev to func, adjust
360         (sendDispatchMessage): ditto
361
362         * lyx_main.C (defaultKeyBindings): adjust keybindings
363         (deadKeyBindings): ditto
364
365         * kbsequence.C (addkey): return a FuncRequest
366
367         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
368
369         * kbmap.C (bind): take a FuncRequest as arg, adjust
370         (read): adjust
371         (lookup): adjust
372         (defkey): change to take a FuncRequest as arg, adjust
373         (findbinding): take a FuncRequest as arg, adjust.
374
375         * funcrequest.h (operator=): added
376
377         * funcrequest.C (FuncRequest): default kb_action changed from
378         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
379
380         * buffer.C (dispatch): simplify
381         (dispatch): adjust to take a FuncRequest as arg, adjust
382
383         * boost.C (assertion_failed): change assertion message slightly
384
385         * ToolbarBackend.C (read): simplify
386
387         * MenuBackend.C (binding): adjust call to findbinding, add a
388         message if no binding is found.
389         (read): simplify
390         (expandToc): correct by adding a empty FuncRequest
391
392         * LyXAction.C: include <boost/assert.hpp>
393         (isPseudoAction): delete function
394         (LookupFunc): change name to...
395         (lookupFunc): this. change return type to FuncRequest.
396         (getActionName): take kb_action as arg, simplify
397         (funcHasFlag): add an assert, simplify.
398
399 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
400
401         * toc.C (action): return a FuncRequest, simplify
402
403         * lyxfunc.C (processKeySym): adjust
404         (getStatus): delete version that takes an int.
405         (getStatus): adjust
406         (dispatch): delete version that takes action as int
407         (dispatch): adjust
408         (sendDispatchMessage): simplify and adjust
409
410         * funcrequest.C (getArg): take unsigned int as arg
411
412         * ToolbarBackend.C (read): adjust
413         (add): delete version that takes func as a string.
414         (getIton): take a FuncRequest as arg
415
416         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
417         action.
418
419         * MenuBackend.C (MenuItem): add a new construct that only takes a
420         Kind, simplify the constructor use for submenus.
421         (add): adjust
422         (expandLastfiles): adjust
423         (expandDocuments): adjust
424         (expandFormats): adjust
425         (expandFloatListInsert): adjust
426         (expandFloatInsert): adjust
427         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
428
429         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
430         Remove class variables lyx_pseudo_map and lyx_arg_map
431
432         * LyXAction.C (searchActionArg): delete function
433         (getPseudoAction): delete function
434         (retrieveActionArg): delete function
435         (LookupFunc): make it return kb_action, simplify.
436         (getActionName): simplify
437
438         * factory.C (createInset): fix new bug
439
440 2003-09-19  Angus Leeming  <leeming@lyx.org>
441
442         * CutAndPaste.C (pasteSelection): remove fudge used to set the
443         masterFilename_ parameter in the include inset.
444
445         * factory.C (createInset): changes due to the changes to InsetInclude.
446
447 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
448
449         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
450
451 2003-09-18  Angus Leeming  <leeming@lyx.org>
452
453         * buffer.C:
454         * BufferView.C: pass the buffer when calling Inset::getLabelList,
455         Inset::fillWithBibKeys.
456         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
457
458 2003-09-18  Angus Leeming  <leeming@lyx.org>
459
460         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
461         variables.
462         (ctor): pass and store a 'Buffer const &'
463         (buffer): new member function.
464
465         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
466         '*this' to the LaTeXFeatures ctor.
467
468 2003-09-18  Angus Leeming  <leeming@lyx.org>
469
470         * LColor.h:
471         * lyxfont.C:
472         * lyxfont.h:
473         * lyxtext.h:
474         * text.C: rename EnumLColor as LColor_color.
475
476 2003-09-18  Angus Leeming  <leeming@lyx.org>
477
478         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
479         remove #include "insets/insetbase.h" from cursor.h.
480
481 2003-09-18  Angus Leeming  <leeming@lyx.org>
482
483         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
484         InsetOld_code to remove #include "inset.h".
485
486         * iterators.C: add #include "insets/inset.h"
487
488 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
489
490         * BufferView.C: remove more locking stuff that apparently doesn't
491         do anything sensible.
492
493 2003-09-16  André Pönitz  <poenitz@gmx.net>
494
495         * paragraph.[Ch]:
496         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
497           performance boost.
498
499 2003-09-16  Angus Leeming  <leeming@lyx.org>
500
501         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
502
503         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
504         arg/return type.
505
506         * paragraph.h: remove #include "lyxfont.h". Forward declare
507         LyXFont_size.
508
509 2003-09-16  Angus Leeming  <leeming@lyx.org>
510
511         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
512         of support/textutils.h.
513         (isWord): move the contents of support/textutils.h's IsWordChar here.
514
515         * buffer.C:
516         * lyxfind.C:
517         * rowpainter.C:
518         * text.C:
519         * text2.C: add #include "paragraph.h".
520
521         * rowpainter.C:
522         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
523
524 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
525
526         * main.C:
527         * lyx_main.C:
528         * lyx_cb.C:
529         * buffer.C:
530         * LaTeX.C: use namespace alias for lyx::support::os
531
532 2003-09-16  Angus Leeming  <leeming@lyx.org>
533
534         * bufferparams.C:
535         * bufferview_funcs.C:
536         * factory.C:
537         * lyxfunc.C:
538         * paragraph_pimpl.C:
539         * rowpainter.C:
540         * text.C: add #include "LColor.h".
541
542 2003-09-16  Angus Leeming  <leeming@lyx.org>
543
544         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
545         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
546         return LyXFont &.
547         Store the FontBits::color variable as an int rather than as an
548         LColor::colorso that we can move LColor.h out of the lyxfont.h header
549         file.
550
551         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
552         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
553         string calls together.
554
555         * lyxrc.C: add #include "LColor.h".
556
557 2003-09-15  Angus Leeming  <leeming@lyx.org>
558
559         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
560         a cow_ptr.
561
562 2003-09-15  Angus Leeming  <leeming@lyx.org>
563
564         * LColor.h: add an EnumLColor wrapper for LColor::color.
565
566         * lyxfont.[Ch] (color, setColor, realColor):
567         * lyxtext.h, text.C (backgroundColor):
568         pass EnumLColor args to/from the functions, rather than LColor::color
569         ones.
570
571         * lyxfont.h:
572         * lyxtext.h: forward declare EnumLColor.
573
574         * lyx_main.C: add #include "LColor.h".
575
576 2003-09-15  Angus Leeming  <leeming@lyx.org>
577
578         * .cvsignore: add lyx-gtk.
579
580 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
581
582         * Chktex.C
583         * LaTeX.C
584         * LaTeXFeatures.C
585         * ParagraphParameters.C
586         * Spacing.C
587         * buffer.C
588         * bufferparams.C
589         * bufferview_funcs.C
590         * chset.C
591         * counters.C
592         * funcrequest.C
593         * lyxfont.C
594         * lyxgluelength.C
595         * lyxlength.C
596         * paragraph.C
597         * paragraph_funcs.C
598         * text3.C
599         * vc-backend.C: remove usage of STRCONV
600
601 2003-09-15  Angus Leeming  <leeming@lyx.org>
602
603         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
604         explicitly define the color passed to the painter.
605
606 2003-09-15  Angus Leeming  <leeming@lyx.org>
607
608         * bufferparams.C (BufferParams): reorder member initializers to avoid
609         compiler warning.
610
611 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
612
613         * CutAndPaste.C (pasteSelection): remove an outdated #warning
614         * text.C (updateRowPositions): remove an unusual nop
615
616 2003-09-12  André Pönitz  <poenitz@gmx.net>
617
618         * BufferView_pimpl.C:
619         * Bullet.C:
620         * layout.h:
621         * lyxfunc.C:
622         * lyxlayout.[Ch]:
623         * lyxtextclass.C:
624         * rowpainter.C:
625         * text.C:
626         * text2.C:
627         * Counters.[Ch]: finish the 'automatic counters' job
628
629 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
630
631         * aspell.C: include <boost/assert.cpp> (compile fix)
632
633 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
634
635         * boost.C (assertion_failed): use lyx::support::abort instead of
636         assert.
637
638 2003-09-10  Angus Leeming  <leeming@lyx.org>
639
640         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
641         with their _fwd progeny.
642
643 2003-09-09  Angus Leeming  <leeming@lyx.org>
644
645         134 files throughtout the source tree: replace 'using namespace abc;'
646         directives with the appropriate 'using abc::xyz;' declarations.
647
648 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
649
650         * boost.C (emergencyCleanup): moved here from LAssert.c
651         (assertion_failed): new function, called by BOOST_ASSERT
652
653         * several files: change Assert to BOOST_ASSERT
654
655 2003-09-09  Angus Leeming  <leeming@lyx.org>
656
657         * buffer.[Ch]: Add an Impl class and move Buffer's member
658         variables into it. As a result move several header files out of
659         buffer.h.
660
661         Add header files to lots of .C files all over the tree as a result.
662
663 2003-09-09  Angus Leeming  <leeming@lyx.org>
664
665         * buffer.[Ch]: make Buffer's member variables private. Add
666         accessor functions.
667
668         Lots of changes all over the tree as a result.
669
670 2003-09-08  Angus Leeming  <leeming@lyx.org>
671
672         * graph.C: #include <config.h>.
673
674 2003-09-08  Angus Leeming  <leeming@lyx.org>
675
676         * BranchList.C:
677         * BufferView.C:
678         * BufferView_pimpl.C:
679         * CutAndPaste.C:
680         * DepTable.C:
681         * LaTeX.C:
682         * LaTeXFeatures.C:
683         * LyXAction.C:
684         * MenuBackend.C:
685         * TextCache.C:
686         * aspell.C:
687         * buffer.C:
688         * bufferlist.C:
689         * changes.C:
690         * chset.C:
691         * converter.C:
692         * counters.C:
693         * debug.C:
694         * graph.C:
695         * ispell.C:
696         * lyx_cb.C:
697         * lyxfind.C:
698         * lyxfunc.C:
699         * lyxlex_pimpl.C:
700         * lyxrc.C:
701         * lyxrow.C:
702         * paragraph.C:
703         * rowpainter.C:
704         * texrow.C:
705         * text.C:
706         * text2.C:
707         * toc.C: remove redundant using directives.
708
709 2003-09-07  Angus Leeming  <leeming@lyx.org>
710
711         * LaTeXFeatures.h: remove #include "support/types.h".
712         * ToolbarBackend.h: remove #include <algorithm>.
713         * changes.h: remove #include <ctime>.
714         * debug.h: remove #include <iosfwd>.
715         * graph.h: remove #include "support/std_string.h".
716         * lyx_main.h: remove #include <csignal>.
717         * lyxlex_pimpl.h: remove #include <fstream>.
718         * sgml.h: remove #include <algorithm>, <utility>.
719         * toc.h: remove #include "support/std_ostream.h".
720         Add #include <iosfwd>.
721
722 2003-09-07  Angus Leeming  <leeming@lyx.org>
723
724         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
725
726         * converter.h: forward declare LatexRunParams.
727         * encoding.h: remove #include "lyxrc.h".
728         * lyxtext.h: remove #include "LColor.h".
729         * lyxtextclass.h: remove #include "support/types.h".
730         * trans.h: remove #include "tex-accent.h".
731         * trans_mgr.h: remove #include "tex-accent.h".
732         * insets/inset.h: remove #include "support/types.h", <vector>.
733         * insets/insetcollapsable.h: remove #include "LColor.h".
734         * insets/insetinclude.h: remove #include "dimension.h".
735         * insets/insetlatexaccent.h: remove #include "dimension.h".
736         * insets/insetoptarg.h:: remove #include "insettext.h".
737         * insets/insettext.h: remove #include "dimension.h",
738         <boost/shared_ptr.hpp>
739
740         * insets/renderers.h: add #include "dimension.h".
741         * insets/updatableinset.h: add #include "support/types.h".
742
743         * many .C files: Associated changes.
744
745 2003-09-06  Angus Leeming  <leeming@lyx.org>
746
747         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
748         one, inside testInvariant.
749
750         * PrinterParams.C: new file.
751         * PrinterParams.[Ch]: move the function bodies out of line.
752
753 2003-09-06  Angus Leeming  <leeming@lyx.org>
754
755         * ParagraphParameters.h: forward declare ParameterStruct rather than
756         including its header file.
757         (depth): moved out-of-line.
758
759 2003-09-06  Angus Leeming  <leeming@lyx.org>
760
761         * BufferView_pimpl.h:
762         * kbmap.h:
763         * kbsequence.h:
764         * lyxfunc.h: forward declare LyXKeySym rather than
765         #include "frontends/LyXKeySym.h".
766
767         * BufferView_pimpl.C:
768         * kbmap.C:
769         * kbsequence.C:
770         * lyxfunc.C: associated changes.
771
772 2003-09-06  Angus Leeming  <leeming@lyx.org>
773
774         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
775         As a result, can remove the #include "insets/inset.h" from BufferView.h
776
777 2003-09-06  Angus Leeming  <leeming@lyx.org>
778
779         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
780         As a result, can remove the #include "insets/inset.h" from BufferView.h
781
782 2003-09-06  Angus Leeming  <leeming@lyx.org>
783
784         * buffer_funcs.C:
785         * buffer.h:
786         * bufferlist.C:
787         * BufferView.C:
788         * bufferview_funcs.C:
789         * BufferView_pimpl.C:
790         * CutAndPaste.C:
791         * lyx_cb.C:
792         * lyxfunc.C:
793         * paragraph.h:
794         * ParagraphParameters.C:
795         * tabular.C:
796         * text3.C:
797         * toc.C:
798         * undo_funcs.C:
799         * frontends/controllers/ControlDocument.C:
800         * insets/insetcaption.C: rearrange the #includes into some sort of
801         coherent order.
802
803         * buffer.h: remove #includes ErrorList.h, undo.h
804
805 2003-09-06  Angus Leeming  <leeming@lyx.org>
806
807         * support/types.h: add a 'depth_type' typedef, used to store the
808         nesting depth of a paragraph.
809
810         * paragraph.h:
811         * ParameterStruct.h: use this lyx::depth_type typedef rather than
812         defining explicitly.
813
814         * buffer.h:
815         * paragraph_funcs.h:
816         * ParagraphParameters.h:
817         * sgml.h: use lyx::depth_type rather than Paragraph or
818         ParameterStruct's depth_type.
819
820         * buffer.h
821         * paragraph_funcs.h: no need to #include paragraph.h anymore.
822
823         * BufferView.C:
824         * BufferView_pimpl.C:
825         * CutAndPaste.C:
826         * ParagraphParameters.C:
827         * buffer_funcs.C:
828         * bufferlist.C:
829         * bufferview_funcs.C:
830         * lyx_cb.C:
831         * lyxfunc.C:
832         * tabular.C:
833         * text3.C:
834         * toc.C:
835         * undo_funcs.C:
836         * frontends/LyXView.C:
837         * frontends/controllers/ControlDocument.C:
838         * frontends/controllers/ControlErrorList.C:
839         * insets/insetbibitem.C:
840         * insets/insetbranch.C:
841         * insets/insetcaption.C:
842         * insets/insetcollapsable.C:
843         * insets/insetenv.C:
844         * insets/insetert.C:
845         * insets/insetfloat.C:
846         * insets/insetfoot.C:
847         * insets/insetfootlike.C:
848         * insets/insetnewline.C:
849         * insets/insetquotes.C:
850         * insets/insettabular.C:
851         * insets/insettext.C:
852         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
853
854         * frontends/controllers/ControlChanges.C: #include "changes.h".
855
856 2003-09-06  Angus Leeming  <leeming@lyx.org>
857
858         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
859         than #including paragraph.h.
860
861         * ParagraphList.h:
862         * RowList.h: deleted. Superfluous.
863
864         * CutAndPaste.h:
865         * iterators.h:
866         * lyxcursor.h:
867         * lyxtext.h:
868         * text_funcs.h:
869         * undo.h:
870         * undo_funcs.h:
871         * insets/inset.h:
872         * insets/insettext.h: use ParagraphList_fwd.h rather than
873         ParagraphList.h.
874
875         * paragraph.h: don't forward declare ParagraphList.
876
877         * buffer.h:
878         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
879         rather than ParagraphList.h. paragraph.h is still needed for the
880         Paragraph::depth_type parameters.
881
882         * textcursor.h: enable it to compile stand-alone in light of the
883         above changes.
884
885         * bufferview_funcs.C:
886         * iterators.C:
887         * lyxfunc.C:
888         * lyxrow_funcs.C:
889         * paragraph.C:
890         * rowpainter.C:
891         * text.C:
892         * text2.C:
893         * text3.C:
894         * text_funcs.C:
895         * textcursor.C:
896         * undo.C:
897         * frontends/controllers/ControlParagraph.C:
898         * frontends/controllers/ControlTabular.C:
899         * insets/insetmarginal.C:
900         * insets/insetminipage.C:
901         * insets/insetnote.C:
902         * insets/insetoptarg.C: add header files needed to compile again.
903
904 2003-09-06  Angus Leeming  <leeming@lyx.org>
905
906         * RowList_fwd.h: new file, forward-declaring Row rather than
907         #including lyxrow.h.
908
909         * lyxrow_funcs.h:
910         * lyxtext.h:
911         * paragraph.h:
912         * insets/insettext.h: use it instead of RowList.h
913
914         * bufferview_funcs.C:
915         * lyxfunc.C:
916         * lyxrow_funcs.C:
917         * paragraph.C:
918         * rowpainter.C:
919         * text.C:
920         * text2.C:
921         * text3.C: #include "RowList.h".
922
923 2003-09-05  Angus Leeming  <leeming@lyx.org>
924
925         * factory.C (createInset):
926         * vspace.C (c-tor): replace sscanf call with an istringstream.
927         * ispell.C: re-add missing HP/UX headers.
928         * lyxserver.C: re-add missing  os2 headers.
929
930 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
931
932         * BranchList.C:
933         * graph.C:
934         * ispell.C:
935         * lastfiles.C:
936         * lyx_cb.C:
937         * lyxserver.C:
938         * texrow.C:
939         * text3.C: re-add missing system headers, needed for 2.95.2.
940
941 2003-09-05  Angus Leeming  <leeming@lyx.org>
942
943         Changes most place everywhere due to the removal of using directives
944         from support/std_sstream.h.
945
946 2003-09-05  Angus Leeming  <leeming@lyx.org>
947
948         Replace LString.h with support/std_string.h,
949         Lsstream.h with support/std_sstream.h,
950         support/LIstream.h with support/std_istream.h,
951         support/LOstream.h with support/std_ostream.h.
952
953         Changes resulting throughout the tree.
954
955 2003-09-05  Angus Leeming  <leeming@lyx.org>
956
957         * sgml.h: ensure that the header file can be compiled stand-alone.
958         * *.C: strip out redundant #includes. (320 in total.)
959
960 2003-09-04  Angus Leeming  <leeming@lyx.org>
961
962         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
963         here (from getPackages).
964
965         * debug.[Ch]: add a new EXTERNAL tag.
966
967 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
968
969         * text2.C (cursorEnd): simplify
970         (setCursor): adjust
971         (getColumnNearX): adjust
972
973         * text.C (computeBidiTables): adjust
974         (fill): adjust
975
976         * rowpainter.C (paintChars): adjust
977         (paintSelection): adjust
978         (paintChangeBar): adjust
979         (paintText): adjust
980
981         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
982         lastPos instead.
983         (numberOfSeparators): adjust
984
985 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
986
987         * LyXAction.C:
988         * box.[Ch]:
989         * lfuns.h:
990         * lyxfunc.C:
991         * text3.C: Restricts the mouse click functionality
992         of insets like bibtex, include, toc and floatlist to the visible
993         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
994         up the dialogs. Cursor has to be in front of the inset (i.e.
995         start of row) for this to function.
996
997 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
998
999         * bufferview_funcs.C (currentState): output row information
1000
1001 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1002
1003         * bufferview_funcs.C (currentState): output paragraph position
1004
1005 2003-09-04  Angus Leeming  <leeming@lyx.org>
1006
1007         * FloatList.h: move out #include "Floating.h".
1008         * LaTeX.h: move out #include "DepTable.h".
1009         * LyXAction.h: move out #include "funcrequest.h".
1010         * buffer.h: move out #include "author.h", "iterators.h".
1011         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1012         * lyx_main.h: move out #include "errorlist.h".
1013         * lyxfunc.h: move out #include "FuncStatus.h".
1014         * lyxtext: move out #include "lyxcursor.h".
1015         * paragraph_pimpl.h: move out #include "counters.h".
1016
1017 2003-09-03  Angus Leeming  <leeming@lyx.org>
1018
1019         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1020         preamble_snippets list, enabling us to add snippets to the preamble
1021         only if the snippet was not there already.
1022
1023 2003-09-04  Angus Leeming  <leeming@lyx.org>
1024
1025         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1026
1027 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1028
1029         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1030         update
1031
1032 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1033
1034         * BranchList.C: point fix, earlier forgotten
1035
1036 2003-09-02  Angus Leeming  <leeming@lyx.org>
1037
1038         * box.C (contains): renamed from 'contained' after a fantastic
1039         amount of hot air.
1040
1041 2003-09-02  John Levon  <levon@movementarian.org>
1042
1043         * BufferView.C:
1044         * lyxcursor.h:
1045         * lyxcursor.C:
1046         * lyxfunc.C:
1047         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1048
1049 2003-09-02  John Levon  <levon@movementarian.org>
1050
1051         * text2.C: simplification of cursorEnd(), including partial
1052         fix for bug 1376
1053
1054 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1055
1056         * buffer.C (readFile): add a space
1057
1058 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1059
1060         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1061
1062 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1063
1064         * buffer.C (readFile): new function, take a filename and a
1065         ParagraphList::iterator
1066         (readFile): adjust
1067         (readFile): adjust, make it private. don't use setStream, make
1068         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1069         always contain the filename.
1070
1071         * BufferView.C (insertLyXFile): simplify and make it work for
1072         gzipped files.
1073
1074 2003-08-30  John Levon  <levon@movementarian.org>
1075
1076         * Makefile.am: fix dist (from Kayvan)
1077
1078 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1079
1080         * most files: change to use const Buffer refs
1081
1082 2003-08-27  André Pönitz  <poenitz@gmx.net>
1083
1084         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1085         on top of ownerPar().
1086
1087 2003-08-27  John Levon  <levon@movementarian.org>
1088
1089         * funcrequest.C: properly initialise POD members
1090
1091 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1092
1093         * lyxtext.h (top_y): move top_y from here
1094         * text.C:
1095         * text2.C:
1096         * text3.C:
1097         * BufferView.[Ch]:
1098         * BufferView_pimpl.[Ch]: to here
1099         * frontends/screen.C:
1100         * insets/insettabular.C:
1101         * insets/insettext.C: adjust
1102         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1103
1104 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1105
1106         * BufferView.[Ch]:
1107         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1108
1109 2003-08-26  André Pönitz  <poenitz@gmx.net>
1110
1111         * paragraph_func.[Ch] (outerPar): new function
1112
1113         * paragraph.C:
1114         * paragraph_funcs.C:
1115         * paragraph_funcs.h:
1116         * paragraph_pimpl.C:
1117         * text2.C: remove Inset::par_owner
1118
1119 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1120
1121         * lyxrow_funcs.C:
1122         * lyxtext.h:
1123         * text.C:
1124         * text2.C: eliminates the needFullRow/display() stuff
1125         altogether, putting the logic in metrics/draw in the insets.
1126
1127 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1128
1129         * text2.C (redoParagraphInternal, redoParagraphs):
1130         * text.C (redoParagraph): add a call to updateRowPositions at the
1131         end of each 'metrics-like' call. Remove all others.
1132         (getRow): remove the 'y-computing' version.
1133         (getRowNearY): do not compute nor return the real y. Solve the
1134         'y < 0' problem and simplify.
1135
1136 2003-08-22  Angus Leeming  <leeming@lyx.org>
1137
1138         * *.[Ch]: clean-up of licence and author blurbs.
1139         Also move config.h out of a few .h files and into a few .C files.
1140
1141 2003-08-22  André Pönitz  <poenitz@gmx.net>
1142
1143         * lyxrow.[Ch]: add x_ and *fill_ members
1144
1145         * lyxtext.h:
1146         * text.C:
1147         * rowpainter.C:
1148         * text2.C: adjust/remove prepareToPrint() calls
1149
1150 2003-08-22  André Pönitz  <poenitz@gmx.net>
1151
1152         * lyxrow.[Ch]: add  end_ member
1153
1154         * lyxrow_funcs.C: use LyXRow::end_
1155
1156         * lyxtext.h (singleWidth): add LyXFont parameter
1157
1158         * rowpainter.C:
1159         * text2.C: adjust LyXText::singleWidth() calls
1160
1161         * text.C (redoParagraph): simplify row breaking logic
1162
1163
1164 2003-08-19  André Pönitz  <poenitz@gmx.net>
1165
1166         * funcrequest.C: initialize button_ member
1167
1168         * text3.C:
1169         * rowpainter.[Ch]: interface consolidation
1170
1171 2003-08-18  André Pönitz  <poenitz@gmx.net>
1172
1173         * BufferView.C:
1174         * BufferView_pimpl.C:
1175         * lyxfind.C:
1176         * paragraph_funcs.C:
1177         * rowpainter.C:
1178         * text3.C: remove LyXScreen::draw() and fitCursor calls
1179
1180         * BranchList.h: remove spurious semicolons
1181
1182         * MenuBackend.C: fix branchlist related crash
1183
1184 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1185
1186         * BranchList.[Ch]:
1187         * InsetList.[Ch]:
1188         * LColor.[Ch]:
1189         * LyXAction.C:
1190         * Makefile.am:
1191         * MenuBackend.[Ch]:
1192         * bufferparams.[Ch]:
1193         * factory.C:
1194         * lfuns.h:
1195         * lyxfunc.C:
1196         * text3.C: implements the 'branch inset'
1197         idea. This allows the output of various versions of a document
1198         from a single source version, selectively outputing or suppressing
1199         output of parts of the text.
1200         This implementation contains a 'branch list editor' in a separate
1201         tab of the document settings dialog. Branches are user definable
1202         and have a "display colour" to distinguish them on-screen.
1203
1204         ColorHandler was somewhat cleaned up.
1205         (1) make possible a dynamically growing LColor list by allowing
1206         the graphic context cache to grow along (vector);
1207         (2) eliminate an IMHO unnecessary step in colour allocation.
1208
1209 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1210
1211         * BufferView_pimpl.C: compile fix
1212
1213 2003-08-15  André Pönitz  <poenitz@gmx.net>
1214
1215         * rowpainter.C: remove extra metrics calls
1216
1217         * lyxtext.h: merge the two constructors into a single one,
1218           pass reference to owner's par list
1219
1220         * BufferView_pimpl.C:
1221         * text.C:
1222         * text2.C: adjust
1223
1224 2003-08-15  André Pönitz  <poenitz@gmx.net>
1225
1226         * lyxrow_funcs.[Ch]:
1227         * lyxtext.h:
1228         * paragraph.h:
1229         * paragraph_funcs.C:
1230         * rowpainter.C:
1231         * text.C:
1232         * text2.C:
1233         * text3.C:
1234         * text_funcs.C: split LyXText::rowlist_ into individual
1235         Paragraph::rows_ chunks
1236
1237         * BufferView.[Ch]:
1238         * BufferView_pimpl.[Ch]:
1239         * lyxfind.C:
1240         * lyxtext.h:
1241         * text3.C: remove toggleSelection()
1242
1243 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1244
1245         * bufferlist.C: beautify two alerts (shorter text of buttons)
1246         * buffer.C: Remove redundant ' ' from message
1247         * tabular.h:
1248         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1249         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1250         rename VALIGN_CENTER to VALIGN_MIDDLE
1251
1252 2003-08-11  André Pönitz  <poenitz@gmx.net>
1253
1254         * lyxtext.h (getPar):
1255         * text.C: new function
1256
1257 2003-08-11  André Pönitz  <poenitz@gmx.net>
1258
1259         * Makefile.am:
1260         * tracer.[Ch]: remove unneeded files
1261
1262         * InsetList.[Ch]: remove resizeInsetsLyXText()
1263
1264         * lyxtext.h:
1265         * text.C:
1266         * text2.C:
1267         * text3.C: merge insertParagraphs() and appendParagraph()
1268         remove breakAgain(), update()
1269
1270         * BufferView_pimpl.[Ch]:
1271         * bufferview_funcs.[Ch]:
1272         * lyxfunc.C:
1273         * paragraph.[Ch]:
1274         * rowpainter.C:
1275         * tabular.C: adjust after text & InsetList changes.
1276
1277 2003-08-08  André Pönitz  <poenitz@gmx.net>
1278
1279         * text.C (insertChar, backspace): replace rowlist fiddling
1280         with rebreak of full par
1281
1282         * lyxtext.h:
1283         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1284         checkParagraph, updateInset): removed
1285
1286 2003-08-07  André Pönitz  <poenitz@gmx.net>
1287
1288         * paragraph.C:
1289         * text3.C: merge some LFUN handlers, remove dead code
1290
1291 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1292
1293         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1294
1295 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1296
1297         * text2.C (DEPM): fix part of bug 1255 and 1256
1298
1299 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1300
1301         * BufferView_pimpl.C (workAreaDispatch): change to use
1302         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1303         that are no mouse related.
1304
1305 2003-08-05  André Pönitz  <poenitz@gmx.net>
1306
1307         * BufferView.[Ch]:
1308         * BufferView_pimpl.[Ch]:
1309         * bufferview_funcs.C:
1310         * text2.C:
1311         * text3.C: rip out "deep update"
1312
1313         * textcursor.[Ch] (last_sel_cursor): remove unused member
1314
1315 2003-08-04  André Pönitz  <poenitz@gmx.net>
1316
1317         * BufferView.[Ch]:
1318         * BufferView_pimpl.[Ch]:
1319         * ParagraphParameters.C:
1320         * bufferview_funcs.C:
1321         * lyx_cb.C:
1322         * lyxfind.C:
1323         * lyxfunc.C:
1324         * text.C:
1325         * text2.C:
1326         * text3.C: replace "complicated" BufferView::update(...) calls with
1327         simpler ones.
1328
1329         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1330
1331 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1332
1333         * Makefile.am (lyx_SOURCES): add paper.h
1334
1335 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1336
1337         * Makefile.am: move things around so that both lyx-qt and
1338         lyx-xforms can be built (according to --with-frontend). Then lyx
1339         is a symbolic link to lyx-[firstfrontend]
1340
1341 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1342
1343         * Always use std::endl with lyxerr
1344
1345 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1346
1347         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1348
1349 2003-08-01  André Pönitz  <poenitz@gmx.net>
1350
1351         * BufferView.[Ch]:
1352         * BufferView_pimpl.[Ch]:
1353         * lyxfunc.C:
1354         * text3.C: merge BufferView::repaint() and BufferView::update()
1355
1356 2003-08-01  José Matos  <jamatos@lyx.org>
1357
1358         * buffer.[Ch]: file_format is no longer a buffer data element.
1359
1360 2003-08-01  André Pönitz  <poenitz@gmx.net>
1361
1362         * BufferView.C:
1363         * lyxtext.h:
1364         * text.C:
1365         * text2.C: make redoParagraph more independent of current cursor
1366
1367         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1368         * text.C:
1369         * text2.C: remove unneeded members
1370
1371 2003-07-30  André Pönitz  <poenitz@gmx.net>
1372
1373         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1374
1375         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1376           create a single function...
1377
1378         * paragraph_funcs.C (moveItem): ... here.
1379
1380         * text.C:
1381           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1382
1383 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1384
1385         * LColor.[Ch]: Add comment and greyedout logical colors.
1386
1387 2003-07-30  André Pönitz  <poenitz@gmx.net>
1388
1389         * tabular.C: don't use Assert too heavily. This crashes where it
1390           shouldn't
1391
1392 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1393
1394         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1395         is disabled (bug 1232)
1396
1397 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1398
1399         * factory.C: limited 'arg' scope
1400
1401 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1402
1403         * factory.C: fixed Note submenu issues
1404
1405 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1406
1407         * factory.C: submenu for Note/Comment/Greyedout
1408
1409 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1410
1411         * lyx_main.C (LyX):
1412         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1413
1414 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1415
1416         * LaTeXFeatures.C:
1417         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1418         greyedout. Patch provided by Jürgen Spitzmüller.
1419
1420 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1421
1422         * kbmap.C (read): fix error message when reading bind files
1423
1424 2003-07-29  Angus Leeming  <leeming@lyx.org>
1425
1426         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1427         certainly does not do what it purports to do. I am doing it, and
1428         us, a favour by killing it.
1429
1430 2003-07-28  José Matos  <jamatos@lyx.org>
1431
1432         * buffer.C (readBody, do_writeFile):
1433         * paragraph.C(readParagraph): \end_document replaces \the_end.
1434
1435 2003-07-29  André Pönitz  <poenitz@gmx.net>
1436
1437         * BufferView.[Ch]:
1438         * BufferView_pimpl.[Ch]:
1439         * lyxfunc.C:
1440         * text2.C:
1441         * text3.C:
1442         * textcursor.[Ch]: remove toggleToggle & Co
1443
1444 2003-07-28  José Matos  <jamatos@fep.up.pt>
1445
1446         * buffer.C (readParagraph):
1447         * params_func (readParToken, readParagraph):
1448         * paragraph.C (write): \layout -> \begin_layout.
1449
1450 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1451
1452         * lyxlex_pimpl.C (setFile): clean up slightly.
1453
1454         * bufferparams.h: add compressed var
1455
1456         * buffer_funcs.C (readFile): adjust for LyXLex change
1457         (newFile): ditto + simplify
1458
1459         * buffer.C (writeFile): handle writing of compressed files
1460
1461         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1462         Check if the file is compressed and set a bufferparm if so.
1463
1464         * Makefile.am (lyx_LDADD): remove explicit -lz
1465
1466 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1467
1468         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1469         makeDocBookFile): put the real LyX version in the first line of
1470         the file
1471
1472         * version.h:
1473         * version.C.in: remove lyx_docversion
1474
1475         * tabular.C (write_attribute): add a template-based version to
1476         write enums properly
1477
1478 2003-07-28  André Pönitz  <poenitz@gmx.net>
1479
1480         * lyxtext.h:
1481         * text.C:
1482         * text2.C:
1483         * text3.C: use doubles again for x-coordinates. They are needed.
1484
1485 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1486
1487         * messages.C (getLocaleDir): use lyx_localedir()
1488
1489         * lyxlex_pimpl.C (setFile): compress stuff
1490
1491         * buffer.C (writeFile): add some compression stuff
1492         (do_writeFile): new func, dont call expliti close... will this
1493         breake anything?
1494
1495         * Makefile.am (lyx_LDADD): add -lz
1496
1497 2003-07-28  José Matos  <jamatos@fep.up.pt>
1498
1499         * buffer.C: increment file format.
1500         * paragraph_funcs (readParagraph, readParToken):
1501         * paragraph.C (readParagraph): add \end_layout.
1502
1503 2003-07-27  Angus Leeming  <leeming@lyx.org>
1504
1505         * Makefile.am: remove special casing for configure-time setting of
1506         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1507
1508         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1509         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1510
1511 2003-07-26  André Pönitz  <poenitz@gmx.net>
1512
1513         * paragraph_func.[Ch]:
1514         * paragraph.C (realizeFont): inline it whereever it is used
1515
1516         * rowpainter.C:
1517         * text.C:
1518         * text2.C:
1519         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1520
1521
1522 2003-07-26  André Pönitz  <poenitz@gmx.net>
1523
1524         *       lyxtext.h:
1525         * text.C:
1526         * text2.C: get rid of LyXText::need_break_row
1527
1528 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1529
1530         * toc.[Ch]: put namespace toc inside namespace lyx
1531
1532         * MenuBackend.C (expandToc2): adjust for lyx::toc
1533         (expandToc): ditto
1534
1535         * lyxfunc.C (dispatch): adjust for lyx::find
1536
1537         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1538         lyx::find instead. Reorganize a bit.
1539         (LyXReplace): rename to replace
1540         (LyXFind): rename to find
1541
1542         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1543         (dispatch): ditto
1544
1545 2003-07-26  André Pönitz  <poenitz@gmx.net>
1546
1547         * text.C (setHeightOfRow): restrict scope of temporary variable
1548
1549         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1550           code (never has been used?)
1551
1552 2003-07-27  Asger Alstrup  <alstrup@local>
1553
1554         * text.C (fill): Optimise algorithm to exploit that we can reuse
1555         the LyXFont for many characters.
1556         (setHeightOfRow): Same thing.
1557         (rowBreakPoint): Same thing.
1558
1559 2003-07-26  Asger Alstrup  <alstrup@local>
1560
1561         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1562
1563         * text.C (singleWidth): Spurious font copying in hot-spot
1564         singleWidth avoided. Reorder tests for arabic for efficiency.
1565
1566         * text.C (fill): handle empty paragraphs better.
1567
1568 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1569
1570         * ispell.C:
1571         * encoding.h: add includes
1572
1573         * lyxrc.C: remove reading of bind files
1574
1575         * lyx_main.C (init): setup bindings and menus only if we have a
1576         gui.
1577
1578         * kbmap.C (read): new method. Do the actual reading of bind
1579         files.
1580
1581         * converter.C (dvipdfm_options):
1582         * bufferparams.C:
1583         * lyxrc.C (read):
1584         (output): adapt PAPER_* enums.
1585
1586         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1587
1588         * bufferparams.h: remove paper-related enums from there
1589
1590         * paper.h: New file. A trivial header file to hold paper-related
1591         enums. It should later expand to contain many paper-related
1592         horrors access.
1593
1594         * lyxrc.C: declare extern displayTranslator
1595
1596 2003-07-27  José Matos  <jamatos@fep.up.pt>
1597
1598         * tabular.[Ch] (linuxdoc): add support for tables and figures
1599         (linuxdoc).
1600
1601 2003-07-27  José Matos  <jamatos@fep.up.pt>
1602
1603         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1604         consistency in both functions.
1605         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1606
1607 2003-07-26  Asger Alstrup  <alstrup@local>
1608
1609         * rowpainter.C (paintRows): Change algorithm to work directly on
1610         the insets rather than asking every character in the document
1611         whether its an inset.
1612
1613 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1614
1615         * buffer.C (openFileWrite): factorize some code
1616
1617 2003-07-26  Angus Leeming  <leeming@lyx.org>
1618
1619         * lyx_cb.C:
1620         * lyx_main.[Ch]: replace occurances of system_tempdir with
1621         os::getTmpDir().
1622
1623 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1624
1625         * rename Inset to InsetOld
1626
1627 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1628
1629         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1630         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1631         which I think is a bit clearer. EDIT is gone, since it was
1632         premature optimisation, and broken for mathed anyway.
1633         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1634         with cursor positioning in insets as well (math insets still do not
1635         work, but that's a different story anyway.) It mysteriously
1636         crashes sometimes with undo in the first paragraph, but I'm fairly
1637         confident that this is a compiler bug.
1638
1639 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1640
1641         * paragraph.C (Paragraph): adjust for new clone return type
1642         (operator==): ditto
1643         (copyIntoMinibuffer): ditto
1644
1645 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1646
1647         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1648         by not having a special case, and always doing a full rebreak of
1649         the document after undo.
1650
1651 2003-07-23  Angus Leeming  <leeming@lyx.org>
1652
1653         * factory.C (createInset): InsetExternal::setParams now takes a
1654         Buffer const * arg.
1655
1656 2003-07-23  Angus Leeming  <leeming@lyx.org>
1657
1658         * factory.C (createInset): changed interface to the external and
1659         graphics mailers' string2params functions.
1660
1661 2003-07-23  Angus Leeming  <leeming@lyx.org>
1662
1663         * factory.C (createInset): pass a
1664         Buffer const * parameter to InsetExternalMailer's string2params.
1665
1666 2003-07-22  John Levon  <levon@movementarian.org>
1667
1668         * Thesaurus.h: include the right aiksaurus header
1669
1670 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1671
1672         * MenuBackend.C (expand): check menu shortcuts unconditionally
1673
1674 2003-07-21  Angus Leeming  <leeming@lyx.org>
1675
1676         * factory.C (createInset): pass a
1677         buffer_path parameter to InsetGraphicsMailer's string2params.
1678
1679 2003-07-21  Angus Leeming  <leeming@lyx.org>
1680
1681         * BufferView_pimpl.C (buffer):
1682         * buffer.C (d-tor):
1683         * lyx_main.C (LyX):
1684         * lyxfunc.C (dispatch):
1685         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1686         rather than the grfx shortcut.
1687
1688 2003-07-21  André Pönitz  <poenitz@gmx.net>
1689
1690         * rowpainter.C: remove unused variables
1691
1692         * tabular_funcs.C:
1693         * tabular_funcs.h: move to tabular.C
1694         * Makefile.am: adjust
1695
1696         * tabular.[Ch]: basic optical cleaning
1697
1698         * author.h: pass references, not values
1699
1700 2003-07-18  André Pönitz  <poenitz@gmx.net>
1701
1702         * lyxtext.h:
1703         * metricsinfo.C:
1704         * metricsinfo.h:
1705         * rowpainter.C:
1706         * text.C:
1707         * text2.C:
1708         * text3.C: two-phase drawing for InsetText and InsetTabular
1709         some float -> int changes.
1710
1711 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1712
1713         * lyx_main.C: fix the fix
1714
1715 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1716
1717         * lyx_main.C: fix a crash in batch mode if no files specified
1718         * converter.C: ws
1719
1720 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1721
1722         * format.[Ch] (papersize): moved to BufferParams
1723         * converter.[Ch] (dvips_options): moved to BufferParams
1724         (dvipdfm_options): moved to anon namespace
1725         * bufferparams.[Ch]: added above functions.
1726
1727 2003-07-17  André Pönitz  <poenitz@gmx.net>
1728
1729         * lyxtext.h:
1730         * rowpainter.C:
1731         * text2.C: don't call inset->update() anymore
1732
1733         * metricsinfo.[Ch]: add convenience constructor
1734
1735 2003-07-16  André Pönitz  <poenitz@gmx.net>
1736
1737         * lyxcursor.[Ch]:
1738         * lyxfunc.[Ch]:
1739         * text.C:
1740         * text2.C: replace the LyXCursor::irow_ member with
1741          on-demand computation of the value
1742
1743 2003-07-16  John Levon  <levon@movementarian.org>
1744
1745         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1746
1747 2003-07-15  André Pönitz  <poenitz@gmx.net>
1748
1749         * text.C:
1750         * text2.C: remove no more needed refresh_row
1751
1752 2003-07-15  André Pönitz  <poenitz@gmx.net>
1753
1754         * lyxtext.h:
1755         * rowpainter.C:
1756         * text2.C:
1757         * text3.C: refresh_status tristate -> need_update bool
1758
1759 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1760
1761         * lyxtext.h (init): remove reinit argument (act as if always true)
1762         * text2.C: adjust to that
1763
1764 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1765
1766         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1767         * text3.C: use it to delete selections in some cases
1768         (bugs 441, 673, 702, 954).
1769
1770 2003-07-14  André Pönitz  <poenitz@gmx.net>
1771
1772         * rowpainter.[Ch]: reduce interface
1773
1774 2003-07-14  André Pönitz  <poenitz@gmx.net>
1775
1776         * BufferView_pimpl.C:
1777         * text2.C: adjust after removing unused BufferView * argument
1778
1779 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1780
1781         * text2.C (init): fix a crash fired on resize
1782
1783 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1784
1785         * buffer.[Ch]: added new closing signal
1786         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1787         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1788         BufferView::Pimpl via the closing the signal
1789
1790 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1791
1792         * buffer.[Ch]: take out all bv-related from buffer
1793         * BufferView.C:
1794         * BufferView_pimpl.[Ch]: connect to new signals
1795         * CutAndPaste.C: removed useless asserts
1796         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1797         * lyxvc.[Ch]:
1798         * vc-backend.[Ch]:
1799         * lyxfunc.C: moved view-related funciontality from vc here
1800         * paragraph.C: removed outdated comments
1801         * text.C: ws
1802
1803 2003-07-10  André Pönitz  <poenitz@gmx.net>
1804
1805         * BufferView_pimpl.C:
1806         * tabular.h:
1807         * tabular_funcs.C:
1808         * text.C:
1809         * text2.C: remove InsetText::InnerCache, clean up consequences
1810
1811 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1812
1813         * ispell.C: fix two typos in error messages
1814
1815 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1816
1817         * Extend Note inset to other forms of annotation like Comment
1818         and Greyedout. Right button click gives dialog.
1819
1820         Files modified or added (+):
1821
1822         * insetnote.[Ch]
1823         * FormNote.[Ch]      +
1824         * ControlNote.[Ch]   +
1825         * form_note.fd       +
1826         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1827         frontends/controllers
1828         * xforms/Dialogs.C
1829         * factory.C
1830
1831 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1832
1833         * aspell.C: add missing namespace lyx::support
1834
1835 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1836
1837         * BufferView.[Ch] (newFile): Add
1838         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1839         * LaTeX.[Ch] (message): added this signal and use it
1840         * buffer.[Ch] (busy, message): added these signals and use them
1841         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1842         * converter.C:
1843         * exporter.C:
1844         * format.C:
1845         * importer.C: use buffer signals instead of direct bv calling
1846         * lyx_cb.[Ch] (ShowMessage): removed
1847         * lyx_main.C:
1848         * lyxfunc.C:
1849         * paragraph_funcs.C:
1850         * text2.C: use buffer signals
1851
1852 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1853
1854         * introduce namespace lyx::graphics
1855
1856 2003-07-02  André Pönitz  <poenitz@gmx.net>
1857
1858         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1859
1860 2003-07-01  André Pönitz  <poenitz@gmx.net>
1861
1862         * text.C:
1863         * text2.C:
1864         * text3.C:
1865         * text_funcs.[Ch]:
1866         * textcursor.h:
1867         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1868           text*.C to text_func.C
1869
1870 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1871
1872         * introduce namespace lyx::support
1873
1874 2003-06-30  André Pönitz  <poenitz@gmx.net>
1875
1876         * Chktex.C:
1877         * funcrequest.C:
1878         * lyxtext.h:
1879         * text.C: re-enable --with-included-string
1880
1881 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1882
1883         * textcursor.C: add <config.h>
1884
1885         * text.C (getWord): remove const from word_location arg
1886
1887         * lyxvc.C (getLogFile): fix const type order
1888
1889         * lyxtext.h: remove const from word_location arg, add arg name
1890
1891         * lyxlayout.h: currect type on labeltype.
1892
1893         * importer.C: correct \file
1894
1895         * converter.C (intToFormat): use std:: on ret val, ws changes
1896
1897         * bufferlist.h: correct \file
1898
1899         * buffer.C (makeLinuxDocFile): fix const type order
1900         (makeDocBookFile): ditto
1901         (fillWithBibKeys): use std:: on stdlib args.
1902
1903         * CutAndPaste.C: fix authors.
1904         (availableSelections): use std:: on return vector
1905
1906 2003-06-27  André Pönitz  <poenitz@gmx.net>
1907
1908         * BufferView_pimpl.C:
1909         * bufferview_funcs.C:
1910         * lyxcursor.C:
1911         * lyxcursor.h:
1912         * lyxfunc.C:
1913         * lyxtext.h:
1914         * rowpainter.C:
1915         * text.C:
1916         * text2.C:
1917         * text3.C: remove LyXCursor::row_ member
1918
1919         * lyxtext.h:
1920         * text.C: rename fullRebreak() to partialRebreak() and implement
1921           a fullRebreak() that really bereks fully
1922
1923         * textcursor.h: new struct for cursor-related data
1924
1925 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1926
1927         * lyx_main.C (LyX): get full path of document loaded on the
1928         command line
1929
1930 2003-06-26  André Pönitz  <poenitz@gmx.net>
1931
1932         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1933           remove unused/broken operator>,<,>=.
1934
1935         *       text.C: remove only use of broken operator<= in an Assert().
1936
1937 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1938
1939         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1940         moved errorlist_.clear to showErrorList
1941
1942 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1943
1944         * converter.C (scanLog, runLaTeX):
1945         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1946         move the bv->showErrorList call to the callers
1947         * lyxfunc.C: i.e. here...
1948         * text2.C: and here
1949         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1950         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1951         namespace, the second to...
1952         * buffer_funcs (BufferFormat, parseErrors): added
1953         * errorlist.C (ErrorList(TeXErrors const &)): removed
1954
1955 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1956
1957         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1958
1959 2003-06-24  "Garst R. Reese" <reese@isn.net>
1960
1961         * debug.C: fix typo
1962
1963 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1964
1965         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1966
1967         * version.C.in: change docversion to 1.4
1968
1969 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1970
1971         * buffer.C: fix a bug just introduced
1972
1973 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1974
1975         * buffer.[Ch]: added the parseError signal and use it, removed
1976         sgmlError
1977         * BufferView.[Ch] (addError): moved to ...
1978         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1979         to the Buffer::parseError signal to catch (guess what) parse errors
1980         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1981
1982 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1983
1984         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1985         ability to create a buffer and to return an existing one from
1986         the list. Moved these functions to...
1987         * buffer_funcs.[Ch]: added
1988         * BufferView.[Ch] (loadLyXFile): added
1989         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1990         job removed from bufferlist::loadLyXFile.
1991         * buffer.C (setReadOnly): make it work without view
1992         (i.e added an if (users))
1993
1994 2003-06-19  Angus Leeming  <leeming@lyx.org>
1995
1996         * lfuns.h:
1997         * LyXAction.C (init):
1998         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1999         with LFUN_DIALOG_SHOW <name> <data>.
2000
2001 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2002
2003         * CutAndPaste.C (availableSelections): small compilation fix for
2004         ancient (gcc 2.9x) compilers
2005
2006 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2007
2008         * text3.C (cursorNext): add tmp var
2009
2010         * text2.C (updateCounters): for function calling out of for clause
2011         (replaceSelectionWithString): ditto
2012         (insertStringAsParagraphs): ditto
2013         (getColumnNearX): add tmp var
2014         (setCursorFromCoordinates): add tmp var
2015         (cursorDownParagraph): add tmp var
2016         (deleteEmptyParagraphMechanism): add tmp var
2017
2018         * text.C (insertChar): add tmp var
2019
2020         * rowpainter.C (paintDepthBar): add tmp var
2021
2022         * CutAndPaste.C (availableSelections): potentially check all
2023         paragraphs in a cut to fill the shown strings.
2024
2025 2003-06-18  André Pönitz  <poenitz@gmx.net>
2026
2027         * kbmap.[Ch]: use vector<> instead of list<>
2028
2029 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2030
2031         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2032         pasteSelection with index
2033
2034         * text2.C (pasteSelection): modify, call pasteSelection with index
2035
2036         * paragraph.C (asString): reimplement version with no interval to
2037         call the one with interval.
2038
2039         * lyxtext.h: add index arg to pasteSelection
2040
2041         * MenuBackend.C (MenuItem): handle PasteRecent
2042         (Menu::read::Menutags): add md_pasterecent
2043         (read): handle it
2044         (expandPasteRecent): new function
2045         (expand): use it
2046
2047         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2048
2049         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2050         the limited stack
2051         (availableSelections): new function
2052
2053 2003-06-17  Angus Leeming  <leeming@lyx.org>
2054
2055         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2056
2057 2003-06-17  Angus Leeming  <leeming@lyx.org>
2058
2059         * lfuns.h:
2060         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2061
2062         * lyxfunc.C (dispatch): invoke it.
2063
2064 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2065
2066         * iterators.C (operator++, ParPosition): reintroduce some
2067         const_cast for the benefit of older compilers.
2068
2069 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2070
2071         * text3.C (dispatch): do not modify clipboard when doing
2072         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2073         LFUN_DELETE_SKIP on a selection selection
2074
2075 2003-06-16  André Pönitz  <poenitz@gmx.net>
2076
2077         * BufferView.C:
2078         * buffer.C:
2079         * buffer.h:
2080         * paragraph.C:
2081         * tabular.[Ch]: IU of clone() and getLabelList();
2082
2083 2003-06-13  André Pönitz  <poenitz@gmx.net>
2084
2085         * tabular.h: compactification
2086
2087 2003-06-12  André Pönitz  <poenitz@gmx.net>
2088
2089         * tabular.C:
2090         * tabular.h:
2091         * tabular_funcs.h: some renaming plus whitespace
2092
2093 2003-06-12  André Pönitz  <poenitz@gmx.net>
2094
2095         * BufferView.C:
2096         * BufferView_pimpl.C:
2097         * CutAndPaste.C:
2098         * buffer.C:
2099         * iterators.[Ch]:
2100         * lyxfunc.C:
2101         * text.C:
2102         * toc.C: Return a Paragraph & for ParIterator::operator*()
2103
2104 2003-06-11  John Levon  <levon@movementarian.org>
2105
2106         * lyx_main.C:
2107         * ToolbarBackend.h:
2108         * ToolbarBackend.C: add "Toolbars" section and
2109         put the flags there
2110
2111 2003-06-10  Angus Leeming  <leeming@lyx.org>
2112
2113         * lfuns.h:
2114         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2115
2116         * lyxfunc.C (dispatch): invoke it.
2117
2118 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2119
2120         * main.C: protect <ios> with HAVE_IOS
2121         (main): protect sync_with_stdio with HAVE_IOS
2122
2123 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2124
2125         * text2.C (cutSelection): adjust
2126         (pasteSelection): adjust
2127
2128         * messages.C: handle get of empty string
2129
2130         * main.C (main): use sync_with_stdio(false)
2131
2132         * lyxfunc.C (dispatch): adjust
2133
2134         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2135         (WriteAs): remove unneeded BufferView arg.
2136
2137         * bufferparams.h: use correct types on papersize, papersize2 and
2138         paperpackage.
2139
2140         * bufferparams.C (readToken): adjust for type
2141         (writeLaTeX): add missing cases to switch.
2142
2143         * bufferlist.C (quitWriteBuffer): adjust
2144         (close): adjust
2145
2146         * buffer.C (asciiParagraph): remove some commented code.
2147
2148         * CutAndPaste.C: remove current_view extern variable.
2149         (cutSelection): add BufferParams arg.
2150         (eraseSelection): add BufferParams arg.
2151         (pasteSelection): add Buffer const & arg
2152
2153 2003-06-07  John Levon  <levon@movementarian.org>
2154
2155         * buffer.C:
2156         * paragraph_funcs.C:
2157         * paragraph_pimpl.C:
2158         * text.C:
2159         * text2.C:
2160         * paragraph.h:
2161         * paragraph.C: allow InsetERT to freely space lines,
2162         and some consolidation of code
2163
2164 2003-06-06  José Matos  <jamatos@fep.up.pt>
2165
2166         * buffer.C (makeDocBookFile): fix bug #821
2167
2168 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2169
2170         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2171
2172 2003-06-04  Angus Leeming  <leeming@lyx.org>
2173
2174         * buffer.C: bump format to 224.
2175
2176 2003-06-05  André Pönitz  <poenitz@gmx.net>
2177
2178         * text2.C (redoParagraphs): remove two const_cast<>
2179
2180 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2181
2182         * ParagraphList.h: remove last remnants of NO_STD_LIST
2183
2184 2003-06-03  Angus Leeming  <leeming@lyx.org>
2185
2186         * factory.C (createInset): small change to the way InsetExternal's params
2187         are set.
2188
2189 2003-06-04  André Pönitz  <poenitz@gmx.net>
2190
2191         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2192
2193         * paragraph_pimpl.h:
2194         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2195
2196         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2197
2198         * undo_funcs.C: make some simple cases of undo work again
2199
2200 2003-06-03  John Levon  <levon@movementarian.org>
2201
2202         * ispell.C: HPUX doesn't have sys/select.h
2203         (from Albert Chin)
2204
2205 2003-06-03  John Levon  <levon@movementarian.org>
2206
2207         * CutAndPaste.C: update tabular and include inset
2208         buffer references
2209
2210         * buffer.h:
2211         * paragraph.h:
2212         * paragraph.C: remove owningBuffer(), don't pass Buffer
2213         to clone()
2214
2215         * factory.C: insetGraphicsParams changed
2216
2217 2003-06-02  John Levon  <levon@movementarian.org>
2218
2219         * LyXAction.C:
2220         * factory.C:
2221         * lfuns.h:
2222         * lyxfunc.C:
2223         * text3.C: remove insetparent
2224
2225 2003-06-02  John Levon  <levon@movementarian.org>
2226
2227         * buffer.h:
2228         * buffer.C: fix inset_iterator.end(), move out of line
2229         (bug 1149)
2230
2231 2003-06-01  John Levon  <levon@movementarian.org>
2232
2233         * text3.C: use a proper cut/paste when doing inset
2234         insert (from Jürgen Spitzmüller)
2235
2236 2003-06-01  John Levon  <levon@movementarian.org>
2237
2238         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2239
2240 2003-05-30  André Pönitz  <poenitz@gmx.net>
2241
2242         * rowpainter.C: unify second drawing phase
2243
2244 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2245
2246         * trans_mgr.C: remove one case of current_view
2247
2248         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2249
2250         * paragraph_funcs.h: remove paragraph.h include
2251
2252         * paragraph.h: delete NO_STD_LIST stuff
2253
2254         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2255
2256         * buffer.h: remove paragraph.h include
2257
2258         * ParagraphList.C: delete file
2259
2260         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2261
2262         * toc.C (getTocList): adjust
2263
2264         * paragraph_pimpl.C (validate): adjust
2265
2266         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2267
2268         * paragraph.C (Paragraph): adjust
2269         (getPositionOfInset): use const_iterator, adjust
2270         (bibitem): use const_iterator, adjust
2271         (setInsetOwner): adjust
2272
2273         * iterators.C (operator++): adjust
2274
2275         * InsetList.[Ch]: Replace selfmade iterator with standard
2276         vector::iterator also introduce const_iterator. Remove getPos,
2277         getInset and setInset from InsetTable. Adjust accordingly.
2278
2279         * BufferView.C (lockInset): adjust
2280         (ChangeInsets): adjust
2281
2282         * tabular.[Ch]: delete commented same_id functions
2283
2284 2003-05-28  John Levon  <levon@movementarian.org>
2285
2286         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2287
2288 2003-05-28  André Pönitz  <poenitz@gmx.net>
2289
2290         * metricsinfo.[Ch]: remove 'fullredraw' member
2291
2292 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2293
2294         * lyxtextclass.C (operator): remove caching.
2295
2296 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2297
2298         * text3.C: adjust
2299
2300         * text2.C (cursorBottom): adjust
2301         (setCounter): use ParagraphList::find, adjust
2302
2303         * text.C (workWidth): use ParagraphList::find, adjust
2304
2305         * lyxcursor.C (LyXCursor): adjust
2306
2307         * buffer.C (inset_iterator): adjust
2308
2309         * ParagraphList.h: make iterator(value_type) private, make
2310         ParagraphList a friend of iterator.
2311
2312         * ParagraphList.C (find): new function
2313
2314         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2315
2316 2003-05-27  André Pönitz  <poenitz@gmx.net>
2317
2318         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2319
2320 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2321
2322         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2323
2324 2003-05-26  John Levon  <levon@movementarian.org>
2325
2326         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2327
2328 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2329
2330         * remove same_id from function signatures, adjust.
2331
2332 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2333
2334         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2335
2336         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2337
2338         * paragraph.C (Paragraph): get rid of same_ids parameter
2339
2340         * ParagraphList.C (insert): adjust
2341         (push_back): adjust
2342
2343 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2344
2345         * paragraph_funcs.C (breakParagraph): adjust
2346         (breakParagraphConservative): adjust
2347
2348         * buffer.C (readParagraph): adjust
2349
2350         * ParagraphList.C (insert): take a reference instead of a pointer
2351         (insert): adjust
2352
2353         * paragraph.[Ch] (id): new function
2354
2355         * bufferlist.C (newFile): adjust
2356
2357         * ParagraphList.C (ParagraphList): adjust
2358         (assign): adjust
2359         (push_back): take a reference instead of a pointer.
2360
2361         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2362
2363         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2364         instead.
2365
2366         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2367         set else use old code.
2368
2369         * ParagraphList.C: remove all NO_NEXT code and only compile this
2370         code of NO_STD_LIST is set.
2371
2372 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2373
2374         * BufferView_pimpl.C:
2375         * TextCache.C:
2376         * TextCache.h:
2377         * bufferlist.C:
2378         * errorlist.h:
2379         * format.C:
2380         * format.h:
2381         * graph.C:
2382         * lyxfunc.C:
2383         * lyxrc.C:
2384         * graphics/GraphicsConverter.C:
2385         * graphics/PreviewLoader.C: header adjustment
2386
2387 2003-05-23  Angus Leeming  <leeming@lyx.org>
2388
2389         * LaTeXFeatures.[Ch] (useBabel): new method.
2390         * bufferparams.C (writeLaTeX): use it.
2391
2392 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2393
2394         * ParagraphList.h (set): remove unused function.
2395
2396 2003-05-23  André Pönitz  <poenitz@gmx.net>
2397
2398         * BufferView.C:
2399         * BufferView_pimpl.C:
2400         * buffer.C:
2401         * buffer.h:
2402         * lyxfunc.C:
2403         * undo_funcs.C: setUndo reworked
2404
2405         * iterators.[Ch]: add access to topmost ParagraphList
2406
2407         * lyxtext.[Ch] (workWidth): add a const
2408
2409 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2410
2411         * texrow.[Ch] (increasePos): remove function
2412         * exporter.C (export): removed unused var and outdated comment
2413
2414 2003-05-23  Angus Leeming  <leeming@lyx.org>
2415
2416         * latexrunparams.h: rename fragile as moving_arg.
2417         * paragraph.C (simpleTeXOnePar): ditto.
2418         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2419
2420 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2421
2422         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2423         (createUndo): ditto
2424         (textUndoOrRedo): comment out a currently unused var.
2425
2426         * paragraph.h (NO_NEXT): enable NO_NEXT
2427
2428         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2429
2430         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2431
2432         * exporter.C (Export): adjust for removeAutoInsets removal.
2433
2434         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2435
2436         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2437
2438         * BufferView.[Ch] (removeAutoInsets): delete function
2439
2440 2003-05-22  Angus Leeming  <leeming@lyx.org>
2441
2442         * latexrunparams.h: add a free_spacing variable.
2443
2444         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2445         to pass moving_arg, as the data is stored in runparams.fragile.
2446
2447         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2448         to Inset::latexOptional or to simpleTeXOnePar.
2449
2450         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2451         free_spacing arg to Inset::latexOptional.
2452
2453         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2454         free_spacing arg.
2455
2456 2003-05-22  Angus Leeming  <leeming@lyx.org>
2457
2458         * latexrunparams.h: add fragile and use_babel variables.
2459
2460         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2461         * buffer.C (makeLaTeXFile): store this returned value in
2462         runparams.use_babel, thus passing it to the inset::latex methods.
2463
2464         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2465         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2466
2467         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2468         longer has a fragile arg, as it is stored in runparams.fragile.
2469
2470         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2471         moving_arg parameter as the data is stored in runparams.fragile.
2472
2473         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2474         a fragile parameter as the data is stored in runparams.fragile.
2475
2476 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2477
2478         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2479
2480 2003-05-22  Angus Leeming  <leeming@lyx.org>
2481
2482         * latexrunparams.h: add a 'bool nice' which defaults to false.
2483
2484         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2485         now encapsulated within runparams.
2486
2487         * bufferlist.C (updateIncludedTeXfiles):
2488         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2489
2490 2003-05-22  Angus Leeming  <leeming@lyx.org>
2491
2492         * latexrunparams.h: new file containing struct LatexRunParams.
2493         * Makefile.am: add new file.
2494
2495         * LaTeX.[Ch] (c-tor, run):
2496         * buffer.[Ch] (makeLaTeXFile):
2497         * bufferlist.[Ch] (updateIncludedTeXfiles):
2498         * converter.C (convert, scanLog):
2499         * converter.[Ch] (runLaTeX):
2500         * exporter.C (Export):
2501         * paragraph.[Ch] (simpleTeXOnePar):
2502         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2503         * paragraph_funcs.[Ch] (latexParagraphs):
2504         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2505         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2506         pass around a LatexRunParams parameter.
2507
2508 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2509
2510         * paragraph.[Ch]: remove unused constructor
2511
2512         * ParagraphList.C (erase): new function, taking two iterators
2513
2514 2003-05-22  André Pönitz  <poenitz@gmx.net>
2515
2516         * undo_funcs.C: remove duplicated code
2517
2518         * iterator.[Ch]: operator=
2519
2520 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2521
2522         * tabular.C (SetMultiColumn): ws changes
2523
2524         * rowpainter.C (paintFirst): get rid of a ->previous
2525
2526         * lyx_cb.C (getPossibleLabel): parlist simplification
2527
2528         * BufferView.C (ChangeInsets): simplify slightly.
2529
2530 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2531
2532         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2533         * lfuns.h: new LFUN_SPACE
2534         * lyxfunc.C: protected space has a new lfun
2535         * paragraph_funcs.C: read new space insets
2536         * text3.C:
2537         * factory.C: handle new space insets
2538
2539 2003-05-22  André Pönitz  <poenitz@gmx.net>
2540
2541         * BufferView.C:
2542         * BufferView_pimpl.C:
2543         * buffer.[Ch]:
2544         * lyxfunc.C:
2545         * undo_funcs.C: return a ParIterator from getParFromID.
2546
2547         * iterators.[Ch]: add two const's
2548
2549 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2550
2551         * toc.C (getTocList): adjust
2552
2553         * iterators.[Ch]: rework for parlist
2554
2555         * buffer.C (par_iterator_begin): adjust
2556         (par_iterator_end): adjust
2557
2558         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2559
2560         * BufferView.C (removeAutoInsets): adjust
2561         (ChangeInsets): adjust
2562
2563 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2564
2565         * text.C (top_y): fix bug 1110
2566
2567 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2568
2569         * errorlist.[Ch]: added
2570         * buffer.C:
2571         * BufferView.[Ch]:
2572         * BufferView_pimpl.C:
2573         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2574         instead
2575
2576 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2577
2578         * Makefile.am: ensure that lyx is relinked upon changes to the
2579         various "convenience" libs.
2580
2581 2003-05-20  Angus Leeming  <leeming@lyx.org>
2582
2583         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2584         files are compiled in alphabetical order again.
2585
2586         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2587
2588 2003-05-19  Angus Leeming  <leeming@lyx.org>
2589
2590         * gettext.[Ch]: remove "char const * _(char const *)".
2591
2592 2003-05-19  André Pönitz  <poenitz@gmx.net>
2593
2594         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2595
2596         * Makefile.am:
2597         * BufferView.C:
2598         * DepTable.h:
2599         * LaTeXFeatures.C:
2600         * buffer.C:
2601         * lyxfont.C:
2602         * lyxlex.h:
2603         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2604
2605 2003-05-19  André Pönitz  <poenitz@gmx.net>
2606
2607         * buffer.C:
2608         * lyxlayout.[Ch]:
2609         * lyxtextclass.[Ch]:
2610         * paragraph.C:
2611         * paragraph_funcs.[Ch]:
2612         * text2.C:
2613         * text3.C: more insetenv work
2614
2615 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2616
2617         * ParagraphParameters.C (params2string): small bug fixed
2618
2619 2003-05-16  André Pönitz  <poenitz@gmx.net>
2620
2621         * debug.C:
2622         * bufferview_funcs.C: patch from Kornel Benko to prevent
2623           crash when _(...) is called twice in a statement
2624
2625 2003-05-16  André Pönitz  <poenitz@gmx.net>
2626
2627         * BufferView.C:
2628         * lyxfunc.C:
2629         * text.C:
2630         * text2.C:
2631         * text3.C:
2632         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2633
2634 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2635
2636         * lyx_main.C (init): remove spurious static_cast
2637
2638 2003-05-14  André Pönitz  <poenitz@gmx.net>
2639
2640         * BufferView.C: fix format string
2641
2642 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2643
2644         * BufferView.[Ch] (insertErrors): removed
2645         * BufferView.[Ch] (showErrorList): added
2646         * buffer.C (runChkTeX):
2647         * converter.C (scanLog): call showErrorList instead of inserterrors
2648
2649 2003-05-13  André Pönitz  <poenitz@gmx.net>
2650
2651         * BufferView_pimpl.C:
2652         * buffer.C:
2653         * bufferview_func.C:
2654         * MenuBackend.C:
2655         * lyxfunc.C:
2656         * lyxrc.C:
2657         * tex-accent.C:
2658         * text3.C:
2659         * toc.C:
2660         * tabular_funcs.h: tostr() from its own header
2661
2662         * ParagraphParameters.C:
2663         * ToolbarBackend.C:
2664         * bufferparams.C:
2665         * format.C:
2666         * lyxlex_pimpl.C:
2667         * text3.C: STRCONV()
2668
2669 2003-05-12  André Pönitz  <poenitz@gmx.net>
2670
2671         * BufferView.C:
2672         * BufferView_pimpl.C:
2673         * CutAndPaste.C:
2674         * LaTeX.C:
2675         * LaTeXFeatures.C:
2676         * ParagraphParameters.C:
2677         * buffer.C:
2678         * bufferlist.C:
2679         * bufferparams.C:
2680         * bufferview_funcs.C:
2681         * converter.C:
2682         * counters.C:
2683         * debug.C:
2684         * exporter.C:
2685         * format.C:
2686         * importer.C:
2687         * lyx_cb.C:
2688         * lyx_main.C:
2689         * lyxfont.C:
2690         * lyxfunc.C:
2691         * lyxvc.C:
2692         * paragraph.C:
2693         * paragraph_funcs.C:
2694         * tabular.C:
2695         * tabular_funcs.C:
2696         * text2.C:
2697         * text3.C:  boost::format -> bformat  all over the place
2698
2699
2700 2003-05-09  André Pönitz  <poenitz@gmx.net>
2701
2702         * LColor.[Ch]: Pimpl the #include <map> away
2703
2704 2003-05-09  John Levon  <levon@movementarian.org>
2705
2706         * bufferlist.C: never remove emergency saves
2707
2708 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2709
2710         * Makefile.am: better lib building
2711
2712 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2713
2714         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2715         instead.
2716         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2717         (simpleTeXSpecialChars): adjust
2718         (simpleTeXSpecialChars): adjust
2719         * paragraph.C (simpleTeXOnePar): adjust
2720         * buffer.C (makeLaTeXFile): adjust
2721
2722         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2723
2724         * text2.C (changeDepth): parlist cleanup
2725         (getColumnNearX): ditto
2726
2727         * rowpainter.C (getLabelFont): parlist cleanup
2728
2729         * bufferlist.C (newFile): parlist cleanup
2730
2731         * CutAndPaste.C (eraseSelection): parlist cleanup
2732
2733         * BufferView_pimpl.C (trackChanges): parlist cleanup
2734         (dispatch): ditto
2735
2736         * BufferView.C (lockInset): parlist cleanup.
2737         (ChangeInsets): ditto
2738
2739 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2740
2741         * CutAndPaste.h: Update file header.
2742
2743         * CutAndPaste.C: Update file header.
2744         Store the parts cut out of the Document in a limited_stack.
2745         (copySelection): adjust
2746         (pasteSelection): new function, takes the index in the limited stack.
2747         (nrOfParagraphs): adjust
2748         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2749         simplify error inset insertion.
2750         (checkPastePossible): adjust
2751
2752 2003-05-06  John Levon  <levon@movementarian.org>
2753
2754         * text2.C: don't cast wrap inset to float
2755
2756 2003-05-05  André Pönitz  <poenitz@gmx.net>
2757
2758         * iterator.C:
2759         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2760
2761         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2762           few naked Paragraph *.
2763
2764 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2765
2766         * bufferparams.C: Output warning if a document with missing
2767         TeX document class is loaded
2768         * exporter.C: Disable TeX exports if the document class is missing
2769         * lyxtextclass.C:
2770         * lyxtextclass.h:
2771         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2772         isTeXClassAvailable()
2773
2774 2003-05-03  John Levon  <levon@movementarian.org>
2775
2776         * BufferView.h:
2777         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2778         explicit cursor show/hide
2779
2780         * BufferView_pimpl.h:
2781         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2782         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2783
2784         * lyxfunc.C: hide cursor before dispatching.
2785
2786         * lyx_cb.C:
2787         * lyxfind.C:
2788         * text.C:
2789         * text3.C: remove explicit cursor hides
2790
2791 2003-05-02  André Pönitz  <poenitz@gmx.net>
2792
2793         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2794
2795         * undo_funcs.C:
2796         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2797           linked lists
2798
2799         * text2.C: tiny whitespace
2800
2801 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2802
2803         * undo_funcs.C: almost only ws changes.
2804
2805         * ParagraphList.C (splice): just return if pl is empty.
2806
2807 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2808
2809         * ParagraphList.C (splice): new function.
2810
2811         * CutAndPaste.C (pasteSelection): use it
2812
2813 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2814
2815         * CutAndPaste.C (pasteSelection): remove the last next and
2816         previous from this file.
2817
2818 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2819
2820         * CutAndPaste.C (pasteSelection): more clean up, user proper
2821         ParagraphList functions for pasteing.
2822
2823         * ParagraphList.C (insert): new function, three arg insert
2824
2825 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2826
2827         * ParagraphList.C (insert): new function, three arg insert
2828
2829         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2830         not on paragraphs.
2831
2832 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2833
2834         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2835
2836 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2837
2838         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2839
2840 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2841
2842         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2843         (copySelection): clean up a bit.
2844         (pasteSelection): use make_pair
2845
2846         * ParagraphList.C (ParagraphList): implement copy constructor
2847         (operator=): implement, base on copy constructor.
2848         (assign): new func
2849
2850         * paragraph.C (erase): return a bool
2851
2852         * paragraph_pimpl.C (erasePos): remove function, move contents...
2853         (erase): ... here. Return a bool.
2854         (erase): call erase instead of erasePos.
2855
2856 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2857
2858         * ParagraphList.h: define PitPosPair
2859         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2860         ParagraphList, fix a bug on pasting multiple pars
2861         * text2.C: change interface to C&P
2862
2863 2003-04-30  André Pönitz  <poenitz@gmx.net>
2864
2865         * undo_func.C: revert part of yesterday's patch 2
2866
2867 2003-04-30  John Levon  <levon@movementarian.org>
2868
2869         * LColor.C: s/tabular/table/
2870
2871 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * text3.C (dispatch): do not convert iterator -> pointer
2874         * undo_funcs.C (setCursorParUndo): ditto
2875         * text_funcs.C (transposeChars): ditto
2876
2877         * text2.C (setLayout): ws changes only
2878
2879         * text.C (breakParagraph): do not convert iterator -> pointer
2880         (insertChar): ditto
2881         (acceptChange): ditto
2882         (rejectChange): ditto
2883         (changeCase): ditto
2884         (Delete): ditto
2885         (backspace): ditto
2886
2887         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2888         pointer
2889
2890 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2891
2892         * text3.C (gotoInset): YABG (yet another bad getChar)
2893
2894 2003-04-29  André Pönitz  <poenitz@gmx.net>
2895
2896         * paragraph.h: make operator= private unimplemented as long as
2897           it is unusable
2898
2899         * ParagraphList.C: whitespace
2900
2901         * paragraph.[Ch]:
2902         * paragraph_pimpl.[Ch]:
2903         * paragraph_funcs.C:
2904         * CutAndPaste.C:
2905         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2906
2907         * text2.C:
2908           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2909
2910 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2911
2912         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2913         * paragraph.[Ch] (erase):
2914         * paragraph_pimpl.[Ch] (erase): change return type and value
2915         * text2.C (cutSelection): some rework
2916
2917 2003-04-28  John Levon  <levon@movementarian.org>
2918
2919         * bufferlist.C: changes for unsaved changes dialog
2920
2921 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2922
2923         * bufferlist.C (newFile): set language (messages_) for new
2924         documents also.
2925
2926         * buffer.C (readFile): ws changes only.
2927
2928 2003-04-28  André Pönitz  <poenitz@gmx.net>
2929
2930         * undo_funcs.C:
2931         * lyxfunc.C:
2932         * buffer.[Ch]:
2933         * BufferView_pimpl.C:
2934         * BufferView.C: getParFromID related ParagraphList::iterator changes
2935
2936 2003-04-28  André Pönitz  <poenitz@gmx.net>
2937
2938         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2939           Changes
2940
2941 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2942
2943         * messages.C: remove one more localedir class variable.
2944
2945 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2946
2947         * messages.C (getLocaleDir): singleton generation function
2948         (Pimpl): use it.
2949         (Messages): add a default constructor.
2950
2951         * main.C (main): do not setup localedir here, do not call
2952         gettext_init.
2953
2954         * gettext.C (_): use it.
2955         (gettext_init): delete funciton
2956
2957 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2958
2959         * gettext.C (getLyXMessages): new singleton generating function.
2960
2961         * buffer.C (updateDocLang): adjust
2962
2963         * Makefile.am (messages.o): add target
2964         (main.o): remove target
2965
2966 2003-04-27  John Levon  <levon@movementarian.org>
2967
2968         * bufferlist.C:
2969         * lyx_cb.C:
2970         * lyxfunc.C:
2971         * lyxvc.C: specify cancel button in Alert::prompt
2972
2973 2003-04-26  John Levon  <levon@movementarian.org>
2974
2975         * text3.C:
2976         * lyxfunc.C:
2977         * lfuns.h:
2978         * LyXAction.C: add LFUN_INSET_SETTINGS
2979
2980         * lyxfunc.C: don't enable tabular-feature when there's
2981         just any locking inset
2982
2983 2003-04-26  John Levon  <levon@movementarian.org>
2984
2985         * bufferlist.C: re-add Cancel to buffer close question
2986
2987         * lyxfunc.C: fix import UI a bit
2988
2989 2003-04-25  John Levon  <levon@movementarian.org>
2990
2991         * gettext.C: remove the broken asserts for now
2992
2993 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2994
2995         * messages.C: make case where setlocale cannot comply work better.
2996
2997         * buffer.C (updateDocLang): new function
2998         (changeLanguage): use it
2999         (readFile): use it
3000
3001         * text2.C (setCounter): use B_ a bit.
3002
3003         * lyxlayout.C (Read): be sure to trim the label strings.
3004
3005         * messages.C (Messages): fix typo in comment
3006
3007         * buffer.C (readFile): set message_ after file is loaded.
3008         (makeDocBookFile): remove double return
3009         (changeLanguage): reset message_ upon language change.
3010         (B_): new func, use this to get translated buffer strings.
3011
3012         * main.C: add myself and Jean Marc as authors.
3013
3014 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3015
3016         * messages.[hC]: pimplify Messages, and three different pimpls to be
3017         used in different circumstances.
3018
3019         * gettext.[Ch]: change for use with new message code.
3020
3021 2003-04-24 André Pönitz <poenitz@gmx.net>
3022
3023         * factory.C: support for eqref
3024
3025 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3026
3027         * messages.[Ch]: add missing char
3028
3029         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3030
3031         * messages.[Ch]: New files
3032
3033 2003-04-18  John Levon  <levon@movementarian.org>
3034
3035         * BufferView.h:
3036         * BufferView.C:
3037         * BufferView_pimpl.C:
3038         * lfuns.h:
3039         * LyXAction.C:
3040         * lyxtext.h:
3041         * text2.C: remove layout-copy/paste (bug 778)
3042
3043 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3044
3045         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3046
3047 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3048
3049         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3050         if they succeed. Act accordingly.
3051
3052 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3053
3054         * text2.C (setCharFont): adjust
3055         (setCounter): adjust
3056         (insertStringAsLines): adjust
3057
3058         * text.C (leftMargin): adjust
3059         (setHeightOfRow): adjust
3060
3061         * rowpainter.C (paintFirst): adjust
3062         (paintLast): adjust
3063
3064         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3065         (outerHook): ditto
3066         (isFirstInSequence): ditto
3067         (getEndLabel): ditto
3068         (outerFont): adjust
3069
3070         * paragraph.C (getParLanguage): comment out some hard stuff.
3071
3072         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3073         (sgmlError): ditto
3074         (simpleDocBookOnePar): ditto
3075         (makeDocBookFile): use ParagraphList::iterator
3076
3077         * CutAndPaste.C (pasteSelection): adjust
3078
3079 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3080
3081         * text2.C (getFont): adjust
3082         (getLayoutFont): adjust
3083         (getLabelFont): adjust
3084
3085         * paragraph_funcs.C (TeXOnePar): adjust
3086
3087         * buffer.C (simpleLinuxDocOnePar): adjust
3088         (simpleDocBookOnePar): adjust
3089
3090         * CutAndPaste.C (pasteSelection): adjust
3091
3092         * BufferView.C (getEncoding): adjust
3093
3094         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3095
3096 2003-04-16  John Levon  <levon@movementarian.org>
3097
3098         * lyxfind.C: use parlist stuff for search/changes
3099
3100 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3101
3102         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3103
3104         * text2.C (deleteEmptyParagraphMechanism): adjust
3105
3106         * text2.[Ch] (ownerParagraph): delete func (both of them
3107
3108 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3109
3110         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3111
3112 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3113
3114         * ParagraphList.C: prepare for NO_NEXT
3115
3116 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3117
3118         * text2.C (getFont): adjust
3119         (getLayoutFont): adjust
3120         (getLabelFont): adjust
3121
3122         * paragraph.C (getFont): adjust
3123         (getLabelFont): adjust
3124         (getLayoutFont): adjust
3125
3126         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3127
3128 2003-04-15  John Levon  <levon@movementarian.org>
3129
3130         From Angus Leeming
3131
3132         * lyx_main.C: handle Include in .ui files
3133
3134 2003-04-15  John Levon  <levon@movementarian.org>
3135
3136         * MenuBackend.C: make the doc files length shorter
3137
3138         * ToolbarBackend.h:
3139         * ToolbarBackend.C: handle toolbar placement flags,
3140         Minibuffer
3141
3142 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3143
3144         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3145         adjust
3146
3147         * paragraph_funcs.C (TeXOnePar): adjust
3148
3149         * paragraph.C (getLabelFont): add outerfont arg, adjust
3150         (getLayoutFont): ditto
3151         (simpleTeXOnePar): adjust
3152
3153         * paragraph_pimpl.C (realizeFont): delete func
3154
3155 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3156
3157         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3158         row argument, constify cur argument.
3159
3160 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3161
3162         * text2.C (getFont): adjust
3163         (getLayoutFont): adjust
3164         (getLabelFont): adjust
3165
3166         * paragraph_funcs.C (TeXOnePar): adjust
3167         (outerFont): new func...
3168         (realizeFont): ...moved out from here, changed this to facilitate
3169         transition
3170
3171         * paragraph.C (getFont): take outerfont as arg, adjust
3172         (simpleTeXOnePar): add outerfont arg, adjust
3173
3174         * buffer.C (simpleLinuxDocOnePar): adjust
3175         (simpleDocBookOnePar): adjust
3176
3177         * CutAndPaste.C (pasteSelection): adjust
3178
3179         * BufferView.C (getEncoding): adjust
3180
3181 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3182
3183         * text2.C (setCharFont): adjust
3184         (setCounter): adjust
3185
3186         * text.C (leftMargin): adjust
3187         (setHeightOfRow): adjust
3188
3189         * rowpainter.C (paintFirst): adjust
3190         (paintLast): adjust
3191
3192         * paragraph_pimpl.C (realizeFont): adjust
3193
3194         * paragraph.C (isFirstInSequence): move from here...
3195         * paragraph_funcs.C (isFirstInSequence): ...to here
3196
3197         * paragraph.C (outerHook): move from here...
3198         * paragraph_funcs.C (outerHook): ...to here
3199
3200         * paragraph.C (depthHook): move from here...
3201         * paragraph_funcs.C (depthHook): ...to here
3202
3203         * paragraph.C (getEndLabel): move from here...
3204         * paragraph_funcs.C (getEndLabel): ...to here
3205
3206         * text2.C (realizeFont): move from here...
3207         * paragraph_funcs.C (realizeFont): ...to here
3208
3209 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3210
3211         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3212
3213 2003-04-14  Angus Leeming  <leeming@lyx.org>
3214
3215         * LColor.[Ch]: scrap LColor mathcursor.
3216
3217 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3218
3219         * lyxlex.[Ch] (text): delete function
3220         * trans.C (Load): adjust
3221         * paragraph_funcs.C (readParToken): adjust
3222
3223 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3224
3225         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3226         vector<char> instead of a char[].
3227
3228         * lyxlex_pimpl.C (getString): adjust
3229         (next): adjust
3230         (lex): use getString
3231         (eatLine): adjust
3232         (nextToken): adjust
3233
3234         * lyxlex.C (text): use pimpl_->getString()
3235         (getBool): ditto
3236         (findToken): ditto
3237
3238 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3239
3240         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3241         (makeFontEntriesLayoutSpecific): temp var for par.size()
3242         (setLayout): temp var for ownerParagraphs().end()
3243         (fullRebreak): temp var for rows().end()
3244         (selectionAsString): temp var for boost::next(startpit), realize
3245         that the while really is a regular for loop.
3246         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3247         setCursor in one place.
3248         (setParagraph): temp vr for ownerParagraphs().end()
3249         (updateCounters): make the while loop a for loop
3250         (cutSelection): temp var for ownerParagraphs().end()
3251         (updateInset): make the do {} while() a regular for loop
3252         (getCursorX): use temp vars
3253         (setCurrentFont): use temp vars
3254         (getColumnNearX): use temp vars
3255
3256 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3257
3258         * text.C (transformChar): use temp var for getChar
3259         (computeBidiTables): use temp var for row->par()
3260         (fill): move temp vars for row->par() and pit->layout() earlier in
3261         the function.
3262         (labelFill): use temp var for row->par()
3263         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3264         asc and desc, realize that pit never changes and that firstpit is
3265         just a duplicate and not needed. Exchange rit->par() with pit in a
3266         lot of places.
3267         (breakAgain): use a temp var for boost::next(rit)
3268         (breakAgainOneRow): ditto
3269         (breakParagraph): use a temp var for rows().begin()
3270         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3271         (cursorRightOneWord): use temp var for cursor.par() and
3272         cursor.pos(), remove usage of tmpcursor.
3273         (cursorLeftOneWord): use temp var for cursor.par() and
3274         cursor.pos() only set cur at end of function.
3275
3276 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3277
3278         * text.C, text2.C: exchange all usage of Paragraph::next with
3279         boost::next(ParagraphList::iterator)
3280
3281         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3282
3283         * text2.C (cursorTop): simplify implementation
3284         (cursorBottom): ditto
3285         (setParagraph): use ParagraphList::iterator
3286         (setCurrentFont): adjust
3287         (getColumnNearX): adjust
3288         (cursorRight): adjust
3289         (cursorLeft): remove usage of Paragraph::previous
3290         (cursorUpParagraph): ditto
3291         (deleteEmptyParagraphMechanism): slight cleanup
3292
3293         * text.C (isBoundary): take a Paragraph const & instead of a
3294         pointer as arg.
3295         (addressBreakPoint): ditto
3296         (leftMargin): remove usage of Paragraph::previous.
3297         (setHeightOfRow): ditto
3298         (cursorLeftOneWord): ditto
3299         (selectNextWordToSpellcheck): ditto
3300         (Delete): ditto
3301         (backspace): ditto
3302         (breakParagraph): remove one usage of Paragraph::next
3303         (redoParagraph): ditto
3304         (acceptChange): ditto
3305         (insertChar): adjust
3306         (rowBreakPoint): adjust
3307
3308         * bufferview_funcs.C (toggleAndShow): adjust
3309
3310 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3311
3312         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3313         methods to access it.
3314         * lyxtext.h:
3315         * text.C: Added updateRowPositions to compute all row positions.
3316         Make top_y and getRowNearY() to use the cached y position
3317
3318 2003-04-11  John Levon  <levon@movementarian.org>
3319
3320         * text.C (rowBreakPoint): reintroduce the labelEnd
3321         checks, code copied from the row fill stuff. Deep voodoo.
3322
3323         * text.C (fill): add a comment and debugging for the
3324         next poor soul.
3325
3326 2003-04-11  John Levon  <levon@movementarian.org>
3327
3328         * text.C: make sure fullrow insets get wrapped to the next line,
3329         even when they're in a manual label
3330
3331 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3332
3333         * text2.C (insertParagraph): make it take ParagraphList::iterator
3334         as arg.
3335         (setLayout): make it return ParagraphList::iterator
3336         (redoParagraphs): ditto
3337         (setCounter): ditto
3338         (checkParagraph): ditto
3339
3340         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3341
3342         * text2.C: adjust several funcs.
3343         (realizeFont): take a ParagraphList::iterator as arg.
3344         (getLayoutFont): ditto
3345         (getLabelFont): ditto
3346         (setCharFont): ditto
3347
3348         * text.C: adjust several funcs.
3349
3350 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3351
3352         * text.C (selectNextWordToSpellcheck): don't accidentally
3353         skip insets
3354
3355 2003-04-10  John Levon  <levon@movementarian.org>
3356
3357         * ToolbarBackend.C (getIcon): special handling for
3358         LFUN_MATH_DELIM
3359
3360 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3361
3362         * text2.C (cursorRight): a getChar assert fixed
3363
3364 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3365
3366         * text2.C (getFont): change to take a ParagraphList::iterator
3367         instead of Paragraph*
3368         Adjust several functions.
3369
3370         * text.C (transformChar): change to take a ParagraphList::iterator
3371         instead of Paragraph*
3372         (singleWidth): ditto
3373         Adjust several functions.
3374
3375         * rowpainter.C: adjust several functions
3376         * rowpainter.h:store a ParagraphList::iterator and not a
3377         Paragraph&.
3378
3379
3380 2003-04-09  John Levon  <levon@movementarian.org>
3381
3382         * lyxfunc.C:
3383         * lfuns.h:
3384         * LyXAction.h:
3385         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3386         and the "help" bits as well
3387
3388 2003-04-09  John Levon  <levon@movementarian.org>
3389
3390         * ToolbarBackend.h:
3391         * ToolbarBackend.C: allow multiple toolbars
3392
3393 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3394
3395         * undo_funcs.C (setCursorParUndo): adjust
3396
3397         * text_funcs.C (transposeChars): adjust
3398
3399         * text3.C (gotoNextInset): adjust
3400         (dispatch): adjust
3401
3402         * text2.C (setLayout): adjust
3403         (changeDepth): adjust
3404         (setFont): adjust
3405         (redoParagraphs): adjust
3406         (selectionAsString): adjust
3407         (setParagraph): adjust
3408         (insertInset): adjust
3409         (cutSelection): adjust
3410         (copySelection): adjust
3411         (pasteSelection): adjust
3412         (insertStringAsLines): adjust
3413         (updateInset): adjust
3414         (setCursor): change to take a ParagraphList::iterator parameter
3415         (setCursorIntern): change to take a ParagraphList::iterator parameter
3416         (setCurrentFont): adjust
3417         (cursorLeft): adjust
3418         (cursorRight): adjust
3419         (deleteEmptyParagraphMechanism): adjust
3420
3421         * text.C (breakParagraph): adjust
3422         (insertChar): adjust
3423         (acceptChange): adjust
3424         (rejectChange): adjust
3425         (selectNextWordToSpellcheck): adjust
3426         (changeCase): adjust
3427         (Delete): adjust
3428         (backspace): adjust
3429
3430         * lyxfind.C (SearchForward): adjust
3431         (SearchBackward): adjust
3432         (nextChange): adjust
3433
3434         * lyxcursor.C (par): adjust
3435
3436         * lyxcursor.h: store a ParagraphList::iterator instead of a
3437         Paragraph*
3438
3439         * lyx_cb.C (getPossibleLabel): adjust
3440
3441         * bufferview_funcs.C (toggleAndShow): adjust
3442
3443         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3444         (dispatch): adjust
3445
3446         * BufferView.C (removeAutoInsets): adjust
3447         (lockedInsetStoreUndo): adjust
3448
3449 2003-04-09  John Levon  <levon@movementarian.org>
3450
3451         * ToolbarBackend.C: try icon without argument
3452         if with argument fails
3453
3454 2003-04-08  John Levon  <levon@movementarian.org>
3455
3456         * ToolbarBackend.h:
3457         * ToolbarBackend.C: add getIcon(), handle tooltip,
3458         and change from "Icon" to "Item".
3459
3460 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3461
3462         * BufferView.C (lockInset): another bad getchar crunched
3463
3464 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3465
3466         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3467         again)
3468
3469 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3470
3471         * lyxfind.C (searchForward, searchBackwards): bug 782
3472
3473 2003-04-07  John Levon  <levon@movementarian.org>
3474
3475         * paragraph.C: remove dead comment
3476
3477         * text.C: remove troublesome depth-fiddling code
3478         in leftMargin() and rightMargin() (bug 1017)
3479
3480         * text.C: fix breaking of rows in nested lists
3481         (bug 1004)
3482
3483         * text2.C (updateCounters): fix up depth values
3484         (bug 1013)
3485
3486 2003-04-07  John Levon  <levon@movementarian.org>
3487
3488         * BufferView_pimpl.C: clear message when doc finishes resizing,
3489         and after a mouse event
3490
3491         * lyxfunc.C: clear message after exiting inset
3492
3493 2003-04-07  John Levon  <levon@movementarian.org>
3494
3495         * bufferview_funcs.C: show math status not outside
3496         status in the statusbar
3497
3498 2003-04-07  John Levon  <levon@movementarian.org>
3499
3500         * lyxfunc.C: note status changed after a depth change
3501
3502 2003-04-04  Angus Leeming  <leeming@lyx.org>
3503
3504         * LaTeX.h: move AuxInfo operator==, != out of line.
3505         Remove LaTeX virtual destructor; nothing derives from it.
3506         Move operator()() out of public area and rename it startscript().
3507         Change protected for private.
3508
3509 2003-04-04  Angus Leeming  <leeming@lyx.org>
3510
3511         * lyxfunc.C:
3512         * text2.C: remove unneeded #includes.
3513
3514 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3515
3516         * text2.C (dEPM): fix the heigth of the next row
3517
3518 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3519
3520         * text.C: squashed an invalid getChar requester + some ws changes
3521
3522 2003-04-03  John Levon  <levon@movementarian.org>
3523
3524         * bufferview_funcs.h:
3525         * bufferview_funcs.C:
3526         * lyxfunc.C:
3527         * lyxtext.h:
3528         * text2.C: make getStatus work for the env depth lfuns
3529
3530 2003-04-03  John Levon  <levon@movementarian.org>
3531
3532         * bufferview_funcs.h:
3533         * bufferview_funcs.C:
3534         * lyxfunc.C:
3535         * lyxtext.h:
3536         * text2.C: parlistize decDepth(), by merging it with incDepth()
3537
3538 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3539
3540         * lyxrow.h: store a ParagraphList::iterator instead of a
3541         Paragraph* and adjust other class functions to suit.
3542
3543         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3544         above.
3545
3546 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3547
3548         * text2.C (setCursor): do not anchor to cursor row for the time being
3549
3550 2003-04-02  John Levon  <levon@movementarian.org>
3551
3552         * LyXAction.C:
3553         * lfuns.h:
3554         * lyx_main.C:
3555         * lyxtext.h:
3556         * text.C:
3557         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3558
3559 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3560
3561         * paragraph.h: make ParagraphList and ParagraphList::iterator
3562         friends of Paragraph.
3563
3564         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3565
3566         * ParagraphList.C: Use the private next_ and previous_ from
3567         Paragraph.
3568
3569 2003-04-01  John Levon  <levon@movementarian.org>
3570
3571         * ToolbarBackend.h:
3572         * ToolbarBackend.C:
3573         * Makefile.am: rename, remove defaults gunk
3574
3575         * MenuBackend.h:
3576         * MenuBackend.C: remove defaults gunk
3577
3578         * Languages.h:
3579         * Languages.C: remove defaults gunk
3580
3581         * lyx_main.h:
3582         * lyx_main.C: error out if files couldn't be found.
3583
3584 2003-04-02  John Levon  <levon@movementarian.org>
3585
3586         * text2.C: make incDepth() use parlist
3587
3588 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3589
3590         * undo_funcs.C (firstUndoParagraph): adjust
3591
3592         * text3.C (gotoInset): adjust
3593         (dispatch): adjust, and rewrite loop.
3594
3595         * text2.C (init): adjust, and rewrite loop.
3596         (redoParagraphs): adjust
3597         (updateInset): adjust, and rewrite loop.
3598         (deleteEmptyParagraphMechanism): adjust
3599
3600         * tabular.C (LyXTabular): adjust
3601         (SetMultiColumn): adjust
3602         (TeXRow): adjust
3603
3604         * lyxtext.[Ch] (ownerParagraph): delete function
3605         (ownerParagraphs): new function returns a ParagraphList.
3606
3607         * BufferView.C (removeAutoInsets): adjust
3608         (insertErrors): adjust
3609         (setCursorFromRow): adjust
3610
3611 2003-04-01  Angus Leeming  <leeming@lyx.org>
3612
3613         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3614         in the frontends.
3615
3616 2003-04-02  John Levon  <levon@movementarian.org>
3617
3618         * lyxtext.h:
3619         * text.C:
3620         * Makefile.am:
3621         * text_funcs.h:
3622         * text_funcs.C: make transposeChars a free function
3623
3624         * lyxrow_funcs.C: remove wrong comment
3625
3626 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3627
3628         * lyxtext.h: adjust
3629         * rowpainter.C: adjust
3630         * text.C: adjust
3631         * text2.C: adjust
3632         * text3.C: adjust
3633
3634         * lyxrow_funcs. [Ch]: new files
3635
3636         * lyxrow.[Ch]: remove next and previous pointers
3637         (next,previous): remove accessor functions
3638         (isParEnd): move to lyxrow_funcs
3639         (lastPos): move to lyxrow_funcs
3640         (nextRowIsAllInset): move to lyxrow_funcs
3641         (lastPrintablePos): move to lyxrow_funcs
3642         (numberOfSeparators): move to lyxrow_funcs
3643         (numberOfHfills): move to lyxrow_funcs
3644         (numberOfLabelHfills): move to lyxrow_funcs
3645         (hfillExpansion): move to lyxrow_funcs
3646
3647         * lyxfunc.C: adjust
3648
3649         * bufferview_funcs.C (toggleAndShow): adjust
3650
3651         * RowList.h: Remove class RowList from file leave just a
3652         std::list<Row>.
3653
3654         * RowList.C: delete file
3655
3656         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3657         and lyxrow_funcs.h
3658
3659 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3660
3661         * text3.C (cursorPrevious): adjust
3662         (cursorNext): adjust
3663         (dispatch): adjust
3664
3665         * text2.C (redoHeightOfParagraph): adjust
3666         (redoDrawingOfParagraph): adjust
3667         (setCursor): adjust
3668
3669         * text.C (breakParagraph): adjust
3670         (insertChar): adjust
3671         (backspace): adjust
3672
3673         * rowpainter.C (RowPainter): adjust
3674         (leftMargin): simplify and adjust
3675         (most rowpainter functions): adjust.
3676
3677         * rowpainter.h: store the row as RowList::iterator not as Row*
3678
3679         * lyxcursor.C (row): taka RowList::iterator as arg
3680         (irow): ditto
3681
3682         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3683         of Row*.
3684
3685 2003-04-01  Angus Leeming  <leeming@lyx.org>
3686
3687         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3688         stuff like bool Bool.
3689
3690 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3691
3692         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3693         rewrite a loop
3694
3695 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3696
3697         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3698         RowList::iterator.
3699
3700         * lyxtext.h (rows): drop one version and leve a const variant that
3701         returns a RowList::iterator.
3702
3703 2003-03-31  Angus Leeming  <leeming@lyx.org>
3704
3705         * text.C (fill): ensure that the signature is the same as that in the
3706         header file.
3707
3708 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * text2.C (redoParagraphs): adjust
3711         (updateCounters): adjust
3712         (checkParagraph): adjust
3713         (getColumnNearX): adjust and reformat a bit.
3714
3715         * text.C (top_y): adjust
3716         (workWidth): adjust
3717         (leftMargin): adjust
3718         (prepareToPrint): adjust
3719         (getRow): adjust
3720         (getRowNearY): adjust
3721
3722         * lyxtext.h: make rowlist_ mutable.
3723
3724         * RowList.h: add const_iterator
3725         * RowList.C: adjust for RowList::const_iterator.
3726
3727         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3728         adjust.
3729
3730 2003-03-31  John Levon  <levon@movementarian.org>
3731
3732         * lyxrc.h:
3733         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3734
3735         * lyx_main.C: set default fonts from using lyx_gui funcs
3736
3737         * exporter.C: pdf_mode moved from lyxrc
3738
3739         * lyx_cb.C:
3740         * lyxfunc.C: changes from above
3741
3742 2003-03-31  John Levon  <levon@movementarian.org>
3743
3744         * lyx_main.C: fix to the last fix
3745
3746 2003-03-31  John Levon  <levon@movementarian.org>
3747
3748         * bufferlist.C: "Load original" -> "Load Original"
3749
3750         * converter.C:
3751         * exporter.C:
3752         * importer.C:
3753         * lyx_main.C:
3754         * format.C: more Alert cleanups
3755
3756 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3757
3758         * text2.C (removeParagraph): make it take a RowList::iterator as
3759         arg, adjust.
3760         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3761         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3762
3763         * text.C (anchor_row): make it take a RowList::iterator as arg,
3764         adjust.
3765         (computeBidiTables): make it take a const reference to Row instead
3766         of Row pointer, adjust.
3767         (leftMargin): make it take a RowList::iterator as arg, adjust.
3768         (rowBreakPoint): adjust
3769         (breakAgainOneRow): make it take a RowList::iterator as arg,
3770         adjust.
3771         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3772
3773         * bufferview_funcs.C (toggleAndShow): adjust
3774
3775 2003-03-30  John Levon  <levon@movementarian.org>
3776
3777         * Makefile.am:
3778         * BoostFormat.h:
3779         * boost-inst.C: moved to support
3780
3781         * several files: changes as a result
3782
3783 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3784
3785         * text2.C (LyXText): adjust.
3786         (init): adjust
3787         (removeRow): make it take a RowList::iterator as arg, adjust.
3788         (fullRebreak): adjust
3789         (deleteEmptyParagraphMechanism): adjust
3790         (clearPaint): adjust
3791         (postPaint): adjust
3792
3793         * text.C (top_y): adjust
3794         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3795         (breakAgain): make it take a RowList::iterator as arg, adjust.
3796         (breakParagraph): adjust
3797         (insertChar): adjust
3798         (backspace): adjust
3799
3800         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3801         need_break_row, and refresh_row.
3802
3803         * text3.C (dispatch): adjust
3804
3805         * text2.C (checkParagraph): adjust
3806         (setCursor): adjust
3807         (setCursorFromCoordinates): adjust
3808
3809         * text.C (top_y): adjust
3810         (workWidth): adjust
3811         (getRow): make it return a RowList::iterator, adjust
3812         (getRowNearY): make it return a RowList::iterator, adjust
3813
3814         * text2.C (init): adjust
3815         (insertRow): remove function
3816         (insertParagraph): adjust
3817         (redoParagraphs): adjust
3818         (fullRebreak): adjust
3819         (updateCounters): adjust
3820
3821         * text.C (top_y): rewrite to use RowList iterators.
3822         (top_y): adjust
3823         (setHeightOfRow): rewrite to sue RowList iterators.
3824         (appendParagraph): adjust
3825         (breakAgain): adjust
3826         (breakAgainOneRow): adjust
3827         (breakParagraph): adjust
3828         (getRow): adjust
3829         (getRowNearY): adjust, and remove commented code.
3830
3831         * lyxtext.h (firstRow): delete function
3832         (lastRow): delete function
3833         (rows): new function (const and non-const versions.)
3834         (insertRow): delete function
3835
3836         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3837
3838 2003-03-29  John Levon  <levon@movementarian.org>
3839
3840         * BufferView_pimpl.C: always update scrollbar top
3841         because pasting text when we're anchored could mean we
3842         miss an update altogether
3843
3844 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3845
3846         * text2.C (init): use rowlist_.end() and not 0.
3847         (insertRow): change to take a RowList::iterator as arg, adjust
3848         for this.
3849         (insertParagraph): change to take a RowList::iterator as arg,
3850         adjust for this.
3851         (redoParagraphs): remove some debug msgs.
3852
3853         * text.C (appendParagraph): change to take a RowList::iterator
3854         arg, adjust for this.
3855         (breakAgain): add an assert
3856         (breakAgainOneRow): ditto
3857
3858 2003-03-29  John Levon  <levon@movementarian.org>
3859
3860         * text2.C: do not clear selection after inc/decDepth
3861         (bug 550)
3862
3863 2003-03-29  John Levon  <levon@movementarian.org>
3864
3865         * BufferView.C:
3866         * buffer.C: fix broken strerrors according to Lars
3867
3868 2003-03-29  John Levon  <levon@movementarian.org>
3869
3870         * converters.C: more Alert cleanups
3871
3872 2003-03-29  John Levon  <levon@movementarian.org>
3873
3874         * bufferview_funcs.C: remove pointless Alert
3875
3876         * buffer.C: fix confusing error message when
3877         a template is chmoded 000
3878
3879 2003-03-29  John Levon  <levon@movementarian.org>
3880
3881         * BufferView.C:
3882         * BufferView.h:
3883         * BufferView_pimpl.C: Alert fixes
3884
3885         * Makefile.am:
3886         * tabular.C:
3887         * tabular-old.C: remove unused table compat reading
3888
3889 2003-03-29  John Levon  <levon@movementarian.org>
3890
3891         * BufferView.C:
3892         * buffer.C:
3893         * lyx_cb.h:
3894         * lyx_cb.C: more Alert cleanups
3895
3896         * lyxfunc.C: don't allow chktex if not latex document
3897
3898 2003-03-29  John Levon  <levon@movementarian.org>
3899
3900         * lyx_cb.C:
3901         * BufferView.C:
3902         * buffer.C: warnings pushed down from support/,
3903         kill err_alert
3904
3905 2003-03-29  John Levon  <levon@movementarian.org>
3906
3907         * lyxfunc.C: safety check for C-r (revert)
3908
3909 2003-03-29  John Levon  <levon@movementarian.org>
3910
3911         * bufferlist.h:
3912         * bufferlist.C: several UI fixes using Alert::prompt.
3913         Fix the pointless looping quit code. Fix stupid revert
3914         behaviour (bug 938)
3915
3916         * lyxvc.h:
3917         * lyxvc.C:
3918         * lyx_cb.C: use Alert::prompt
3919
3920         * lyx_main.C: remove a silly question
3921
3922         * lyxfunc.C: remove a couple of silly questions,
3923         use Alert::prompt
3924
3925 2003-03-28  John Levon  <levon@movementarian.org>
3926
3927         * text2.C: fix bug 974 (End on empty par)
3928
3929 2003-03-28  John Levon  <levon@movementarian.org>
3930
3931         * BufferView_pimpl.C:
3932         * LyXAction.C:
3933         * lfuns.h: remove do-nothing math greek lfuns
3934
3935 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3936
3937         * lyxgluelength.h (isValidGlueLength): add default arg on
3938         parameter 2. Remove default arg from friend in class.
3939
3940         * lyxlength.h (isValidLength): add default arg on parameter 2.
3941         Remove default arg from friend in class.
3942
3943         * text2.C (LyXText): adjust, initialize refresh_row.
3944         (init): adjust
3945         (removeRow): adjust
3946         (insertRow): adjust
3947         (insertParagraph): adjst
3948         (redoParagraphs): adjust
3949         (fullRebreak): adjust
3950         (updateCounters): adjust
3951         (deleteEmptyParagraphMechanism): first attempt at fixing a
3952         crashing bug.
3953
3954         * text.C (top_y): adjust
3955         (setHeightOfRow): adjust
3956         (getRow): adjust
3957         (getRowNearY): adjust
3958
3959         * lyxtext.h: include RowList.h
3960         (~LyXText): not needed anymore, deleted.
3961         (firstRow): modify for RowList
3962         (lastRow): new function
3963         Delete firstrow and lastrow class variables, add a Rowlist
3964         rowlist_ class variable.
3965
3966         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3967         paragraph is empty.
3968
3969         * RowList.C (insert): fix case where it == begin().
3970
3971 2003-03-26  Angus Leeming  <leeming@lyx.org>
3972
3973         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3974         the thesaurus dialog.
3975
3976 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3977
3978         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3979
3980         * RowList.[Ch]: new files
3981
3982         * ParagraphList.C (erase): handle the case where it == begin
3983         correctly.
3984
3985 2003-03-25  John Levon  <levon@movementarian.org>
3986
3987         * Makefile.am:
3988         * aspell_local.h:
3989         * aspell.C: add new aspell support
3990
3991         * lyxrc.h:
3992         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3993         have it accessible.
3994
3995 2003-03-25  Angus Leeming  <leeming@lyx.org>
3996
3997         * lfuns.h:
3998         * LyXAction.C (init): new LFUN_INSET_INSERT.
3999
4000         * BufferView_pimpl.C (dispatch): split out part of the
4001         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4002
4003         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4004         LFUN_INSET_APPLY.
4005
4006 2003-03-25  Angus Leeming  <leeming@lyx.org>
4007
4008         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4009
4010 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4011
4012         * text2.C:
4013         * text3.C: remove useless row->height(0)
4014
4015 2003-03-25  John Levon  <levon@movementarian.org>
4016
4017         * lyxtext.h:
4018         * text2.C:
4019         * text3.C: rename the refreshing stuff to better names
4020
4021 2003-03-24  John Levon  <levon@movementarian.org>
4022
4023         * BufferView_pimpl.h:
4024         * BufferView_pimpl.C: update layout choice on a mouse
4025         press/release
4026
4027 2003-03-23  John Levon  <levon@movementarian.org>
4028
4029         * Makefile.am: fix commandtags.h reference
4030
4031 2003-03-22  John Levon  <levon@movementarian.org>
4032
4033         * BufferView_pimpl.C:
4034         * lyxtext.h:
4035         * rowpainter.C:
4036         * rowpainter.h:
4037         * text.C:
4038         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4039
4040 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4041
4042         * lyxtext.h:
4043         * text.C: take the rtl methods out of line
4044
4045 2003-03-21 André Pönitz <poenitz@gmx.net>
4046
4047         * metricsinfo.[Ch]: new files containing structures to be passed around
4048         during the two-phase-drawing...
4049
4050 2003-03-21 André Pönitz <poenitz@gmx.net>
4051
4052         * lyxtextclass.C: read 'environment' tag.
4053
4054 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4055
4056         * text2.C (removeRow): fix bug 964
4057
4058 2003-03-20  John Levon  <levon@movementarian.org>
4059
4060         * rowpainter.C:
4061         * text.C:
4062         * text2.C: paint cleanups. Inset::update() dropped font
4063         parameter
4064
4065 2003-03-19  John Levon  <levon@movementarian.org>
4066
4067         * lyxfunc.C: only fitcursor/markDirty if available()
4068
4069 2003-03-19  John Levon  <levon@movementarian.org>
4070
4071         * commandtags.h: rename to ...
4072
4073         * lfuns.h: ... this, and renumber / cleanup
4074
4075 2003-03-19  John Levon  <levon@movementarian.org>
4076
4077         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4078         fit the cursor after an lfun
4079
4080         * BufferView.h:
4081         * BufferView.C:
4082         * BufferView_pimpl.h:
4083         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4084
4085         * LyXAction.C: layout-character should have ReadOnly
4086
4087         * ParagraphParameters.C:
4088         * buffer.C:
4089         * bufferview_funcs.C:
4090         * lyx_cb.C:
4091         * lyxfind.C:
4092         * lyxtext.h:
4093         * text.C:
4094         * text2.C:
4095         * text3.C:
4096         * undo_funcs.C: changes from above
4097
4098 2003-03-18  John Levon  <levon@movementarian.org>
4099
4100         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4101         remove it from update()
4102
4103         * lyxfunc.C: update layout choice after an lfun
4104
4105         * text3.C: remove extra updateLayoutChoice()s
4106
4107 2003-03-18  John Levon  <levon@movementarian.org>
4108
4109         * text.C: top_y change means full repaint, fix
4110         a drawing bug with cursor movement
4111
4112 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4113
4114         * lyxtext.h:
4115         * text.C:
4116         * text2.C: anchor row on setCursor
4117
4118 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4119
4120         * lyxtext.h: remove almost all mutable keywords
4121         * text.C:
4122         * text2.C:
4123         * text3.C: remove const keywords accordingly
4124
4125 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4126
4127         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4128         anon namespace
4129         (TeXEnvironment): ditto
4130         (TeXOnePar): ditto
4131
4132 2003-03-17  John Levon  <levon@movementarian.org>
4133
4134         * text.C (rowBreakPoint): remove attempt to fix displayed
4135         math insets inside a manual label
4136
4137 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4138
4139         * lyxtext.h: remove BufferView* as first arg from almost all class
4140         functions.
4141         * other files: adjust.
4142
4143 2003-03-17  John Levon  <levon@movementarian.org>
4144
4145         * lyxtext.h:
4146         * undo_funcs.C:
4147         * text2.C: more paint cleanups
4148
4149         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4150
4151         * rowpainter.h:
4152         * rowpainter.C: remove "smart" background painting code
4153
4154 2003-03-16  John Levon  <levon@movementarian.org>
4155
4156         * lyxtext.h:
4157         * text.C:
4158         * text2.C:
4159         * text3.C: add helper functions for setting refresh_row/y
4160
4161 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4162
4163         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4164         newline inset which *can* get inserted in the pass_thru layouts.
4165         This is primarily for literate documents.
4166
4167 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4168
4169         * buffer.C: increment LYX_FORMAT to 223
4170
4171 2003-03-14 André Pönitz <poenitz@gmx.net>
4172
4173         * textclass.h: prepare for environment handling, ws changes
4174         * lyxlayout.C: read latexheader and latexfooter tags
4175
4176 2003-03-14  John Levon  <levon@movementarian.org>
4177
4178         * text2.C: rewrite ::status() a bit
4179
4180 2003-03-13  John Levon  <levon@movementarian.org>
4181
4182         * lyxtext.h: add some docs
4183
4184 2003-03-13  John Levon  <levon@movementarian.org>
4185
4186         * lyxtext.h:
4187         * text.C:
4188         * text2.C:
4189         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4190
4191 2003-03-13  John Levon  <levon@movementarian.org>
4192
4193         * text3.C: fix appendix redrawing
4194
4195 2003-03-13  John Levon  <levon@movementarian.org>
4196
4197         * text.C (setHeightOfRow):
4198         * rowpainter.h:
4199         * rowpainter.C: make appendix mark have the text
4200           "Appendix" so the user knows what it is
4201
4202         * LColor.h:
4203         * LColor.C: s/appendixline/appendix/ from above
4204
4205 2003-03-13  John Levon  <levon@movementarian.org>
4206
4207         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4208
4209         * text.C: fix a getChar(pos) bug properly
4210
4211 2003-03-13  Angus Leeming  <leeming@lyx.org>
4212
4213         * commandtags.h:
4214         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4215         Probably only temporary. Let's see how things pan out.
4216
4217         * BufferView.C (unlockInset):
4218         * BufferView_pimpl.C (fitCursor):
4219         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4220
4221         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4222         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4223
4224         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4225         new functions that convert ParagraphParameters to and from a string.
4226
4227         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4228         BufferView::Pimpl's dispatch.
4229         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4230
4231 2003-03-13 André Pönitz <poenitz@gmx.net>
4232
4233         * lyxfunc.C:
4234         * text3.C:
4235         * factory.C: make it aware of InsetEnv
4236
4237 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * text2.C (setCursor): never ask for one past last
4240         (setCursor): add some debugging messages.
4241
4242         * text.C (singleWidth): never ask for one past last
4243         (singleWidth): ditto
4244         (leftMargin): ditto
4245         (rightMargin): ditto
4246         (rowBreakPoint): ditto
4247         (setHeightOfRow): ditto
4248         (prepareToPrint): ditto
4249
4250         * rowpainter.C (paintBackground): never ask for one past last
4251         (paintText): never ask for one past last
4252
4253         * paragraph_pimpl.C (getChar): make the assert stricter, never
4254         allow the one past last pos to be taken
4255
4256         * paragraph.C (getChar): ws changes only
4257
4258         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4259         (numberOfSeparators): ditto
4260         (numberOfHfills): ditto
4261
4262 2003-03-12  John Levon  <levon@movementarian.org>
4263
4264         * author.h:
4265         * author.C:
4266         * bufferparams.h:
4267         * bufferparams.C:
4268         * paragraph_funcs.C: fix per-buffer authorlists
4269
4270 2003-03-12  John Levon  <levon@movementarian.org>
4271
4272         * text.C: fix newline in right address
4273
4274 2003-03-12  Angus Leeming  <leeming@lyx.org>
4275
4276         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4277         duplicate those in LyXFunc::dispatch.
4278
4279         * commandtags.h:
4280         * LyXAction.C:
4281         * ToolbarDefaults.C:
4282         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4283         Add LFUN_FONTFREE_UPDATE.
4284
4285         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4286         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4287
4288         * bufferview_func.[Ch]: several new functions to facilliate
4289         transfer of data to and from the character dialog.
4290
4291 2003-03-12  John Levon  <levon@movementarian.org>
4292
4293         * buffer.C:
4294         * paragraph.h:
4295         * paragraph.C:
4296         * paragraph_funcs.C:
4297         * paragraph_pimpl.C:
4298         * sgml.C:
4299         * tabular.C:
4300         * text.C:
4301         * text3.C: remove META_NEWLINE in favour of an inset
4302
4303         * rowpainter.h:
4304         * rowpainter.C: remove paintNewline (done by inset)
4305
4306 2003-03-12  John Levon  <levon@movementarian.org>
4307
4308         * paragraph_pimpl.C: complain about bad getChar()s
4309         for a while at least
4310
4311 2003-03-12  John Levon  <levon@movementarian.org>
4312
4313         * buffer.h:
4314         * buffer.C: move paragraph read into a separate function,
4315         a little renaming to reflect that.
4316
4317         * bufferparams.h:
4318         * bufferparams.C: remove the author_ids map, not necessary now
4319
4320         * factory.h:
4321         * factory.C: moved Buffer::readInset to here
4322
4323         * paragraph_funcs.h:
4324         * paragraph_funcs.C: readParagraph free function moved from
4325         buffer.C
4326
4327         * tabular.C: name change
4328
4329 2003-03-12  John Levon  <levon@movementarian.org>
4330
4331         * buffer.C:
4332         * ParagraphParameters.C: move par params input to
4333         a read() method
4334
4335         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4336         behave like a normal read from the stream wrt reading
4337         a line vs. a \\token
4338
4339 2003-03-12  John Levon  <levon@movementarian.org>
4340
4341         * paragraph.C:
4342         * ParagraphParameters.h:
4343         * ParagraphParameters.C: move output code to a
4344         ::write() method
4345
4346 2003-03-12  John Levon  <levon@movementarian.org>
4347
4348         * BufferView.C (insertLyXFile):
4349         * buffer.h:
4350         * buffer.C:
4351         * tabular.C: use a parlist iterator for creating the
4352           document.
4353
4354 2003-03-12  John Levon  <levon@movementarian.org>
4355
4356         * buffer.C: make current_change static local not
4357           static file-scope
4358
4359 2003-03-12  John Levon  <levon@movementarian.org>
4360
4361         * buffer.C: fix insertStringAsLines for change tracking
4362
4363 2003-03-12  John Levon  <levon@movementarian.org>
4364
4365         * BufferView.C:
4366         * tabular.C:
4367         * buffer.h:
4368         * buffer.C:
4369         * bufferparams.h:
4370         * bufferparams.C: move author list into params. Rename some
4371           functions. Move the header reading into a separate token
4372           loop. Move the header token reading into BufferParams.
4373
4374 2003-03-12  John Levon  <levon@movementarian.org>
4375
4376         * changes.C: put debug inside lyxerr.debugging() checks
4377
4378 2003-03-11 André Pönitz <poenitz@gmx.net>
4379
4380         * factory.C: make it aware of InsetHFill
4381
4382 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4383
4384         * buffer.C (latexParagraphs): move function from here...
4385         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4386         args.
4387
4388 2003-03-10  Angus Leeming  <leeming@lyx.org>
4389
4390         * LyXAction.C (init): fix bug in poplating array with multiple entries
4391         with the same LFUN (spotted by JMarc).
4392
4393 2003-03-10  John Levon  <levon@movementarian.org>
4394
4395         * text.C:
4396         * text2.C: move getColumnNearX() near its
4397         only call site
4398
4399 2003-03-10  John Levon  <levon@movementarian.org>
4400
4401         * text.C: fix break before a minipage
4402
4403 2003-03-10  John Levon  <levon@movementarian.org>
4404
4405         * text.C: fix the last commit
4406
4407 2003-03-09  John Levon  <levon@movementarian.org>
4408
4409         * lyxtext.h:
4410         * text.C:
4411         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4412         bug 365 (don't break before insets unless needed). Don't
4413         return a value > last under any circumstances.
4414
4415 2003-03-09  Angus Leeming  <leeming@lyx.org>
4416
4417         * BufferView_pimpl.C (trackChanges, dispatch): call
4418         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4419
4420 2003-03-09  Angus Leeming  <leeming@lyx.org>
4421
4422         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4423         than Dialogs::showAboutlyx().
4424
4425 2003-03-09  Angus Leeming  <leeming@lyx.org>
4426
4427         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4428         than Dialogs::showTabularCreate().
4429
4430 2003-03-09  John Levon  <levon@movementarian.org>
4431
4432         * lyxtext.h:
4433         * text.C:
4434         * text2.C: 3rd arg to nextBreakPoint was always the same.
4435           Use references.
4436
4437 2003-03-08  John Levon  <levon@movementarian.org>
4438
4439         * lyxrow.C:
4440         * paragraph.C:
4441         * paragraph.h:
4442         * rowpainter.C:
4443         * text.C:
4444         * text2.C: Remove the "main" bit from the "main body"
4445           notion.
4446
4447 2003-03-08  John Levon  <levon@movementarian.org>
4448
4449         * text.C (leftMargin): The left margin of an empty
4450         manual label paragraph should not include the label width
4451         string length.
4452
4453         * text.C (prepareToPrint): don't attempt to measure hfills
4454         for empty manual label paragraphs - the answer should be 0
4455
4456 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4457
4458         * CutAndPaste.C: remove commented code and reindent.
4459
4460 2003-03-08  John Levon  <levon@movementarian.org>
4461
4462         * lyxfunc.h:
4463         * lyxfunc.C: move reloadBuffer()
4464
4465         * BufferView.h:
4466         * BufferView.C: to here
4467
4468         * lyxvc.C: add comment
4469
4470         * vc-backend.h:
4471         * vc-backend.C: call bv->reload() to avoid
4472           getStatus() check on MENURELOAD
4473
4474 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4475
4476         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4477         to an old format .dep file.
4478
4479 2003-03-07  Angus Leeming  <leeming@lyx.org>
4480
4481         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4482         when the LFUN_MOUSE_RELEASE should have been handled by
4483         inset->localDispatch.
4484
4485 2003-03-07  Angus Leeming  <leeming@lyx.org>
4486
4487         * BufferView_pimpl.C (dispatch):
4488         * LyXAction.C (init):
4489         * ToolbarDefaults.C (init):
4490         * commandtags.h:
4491         * lyxfunc.C (getStatus):
4492         remove LFUN_INSET_GRAPHICS.
4493
4494         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4495
4496 2003-03-07  Angus Leeming  <leeming@lyx.org>
4497
4498         * commandtags.h:
4499         * LyXAction.C (init):
4500         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4501
4502         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4503
4504         * commandtags.h:
4505         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4506
4507         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4508         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4509
4510 2003-03-07  Angus Leeming  <leeming@lyx.org>
4511
4512         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4513         remove "ert".
4514
4515 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4516
4517         * ParagraphList.C (front): new function
4518         (back): implement
4519
4520 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4521
4522         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4523         and top_row_offset_. removed var first_y.
4524         * text.C (top_y):
4525         * text2.C (LyXText, removeRow):
4526         * text3.C:
4527         * BufferView_pimpl.C:
4528         use these methods instead of using first_y
4529
4530 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4531
4532         * text2.C (pasteSelection): adjust for checkPastePossible
4533
4534         * CutAndPaste.C: remove Paragraph * buf and replace with
4535         ParagraphList paragraphs.
4536         (DeleteBuffer): delete
4537         (cutSelection): change the tc type to textclass_type
4538         (copySelection): change the tc type to textclass_type
4539         (copySelection): adjust for ParagraphList
4540         (pasteSelection): change the tc type to textclass_type
4541         (pasteSelection): adjust for Paragraphlist
4542         (nrOfParagraphs): simplify for ParagraphList
4543         (checkPastePossible): simplify for ParagraphList
4544         (checkPastePossible): remove unused arg
4545
4546         * ParagraphList.C (insert): handle the case where there are no
4547         paragraphs yet.
4548
4549         * CutAndPaste.h: make CutAndPaste a namespace.
4550
4551         * text3.C (dispatch): adjust
4552
4553         * text.C (breakParagraph): add a ParagraphList as arg
4554
4555         * paragraph_funcs.C (breakParagraph): change to take a
4556         BufferParams and a ParagraphList as args.
4557         (breakParagraphConservative): ditto
4558         (mergeParagraph): ditto
4559         (TeXDeeper): add a ParagraphList arg
4560         (TeXEnvironment): ditto
4561         (TeXOnePar): ditto
4562
4563         * buffer.C (readLyXformat2): adjust
4564         (insertStringAsLines): adjust
4565         (latexParagraphs): adjust
4566
4567         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4568         (cutSelection): adjust
4569         (pasteSelection): adjust
4570
4571         * BufferView_pimpl.C (insertInset): adjust
4572
4573 2003-03-05  Angus Leeming  <leeming@lyx.org>
4574
4575         * commandtags.h:
4576         * LyXAction.C (init):
4577         * BufferView_pimpl.C (dispatch):
4578         * lyxfunc.C (getStatus):
4579         remove LFUN_CHILD_INSERT.
4580
4581         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4582
4583 2003-03-05  Angus Leeming  <leeming@lyx.org>
4584
4585         * commandtags.h:
4586         * LyXAction.C (init):
4587         * src/factory.C (createInset):
4588         * lyxfunc.C (getStatus):
4589         * text3.C (dispatch):
4590         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4591
4592         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4593
4594 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4595
4596         * ParagraphList.C (insert): handle insert right before end()
4597         (erase): fix cases where it can be first or last paragraph.
4598
4599 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4600
4601         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4602         Paragraph::next and Paragraph::previous
4603         (TeXOnePar): ditto
4604
4605         * text.C (breakParagraph): adjust
4606
4607         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4608         BufferParams& as arg.
4609         (breakParagraph): use ParagraphList::insert
4610         (breakParagraphConservative): take a Buffer* instead of a
4611         BufferParams& as arg.
4612         (breakParagraphConservative): use ParagraphList::insert.
4613
4614         * buffer.C (insertStringAsLines): un-const it
4615         (insertStringAsLines): adjust
4616
4617         * ParagraphList.C (insert): new function
4618
4619         * CutAndPaste.C (pasteSelection): adjust
4620
4621         * text.C (backspace): adjust
4622
4623         * tabular.C (SetMultiColumn): adjust
4624
4625         * CutAndPaste.C (cutSelection): adjust
4626         (pasteSelection): adjust
4627
4628         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4629         Buffer const * as arg
4630
4631         * ParagraphList.C (erase): new function
4632         * paragraph_funcs.C (mergeParagraph): use it
4633         (mergeParagraph): make it take a Buffer* instead of a
4634         BufferParams* as arg
4635
4636         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4637         as arg
4638         (breakParagraphConservative): ditto
4639
4640         * paragraph.h: remove the breakParagraph friend
4641
4642         * paragraph.C (eraseIntern): new function
4643         (setChange): new function
4644
4645         * paragraph_funcs.C (mergeParagraph): make it take a
4646         ParagraphList::iterator instead of a Paragraph *, adjust
4647         accordingly.
4648
4649         * paragraph.h: move an #endif so that the change tracking stuff
4650         also works in the NO_NEXT case.
4651
4652 2003-03-04  Angus Leeming  <leeming@lyx.org>
4653
4654         * commandtags.h:
4655         * LyXAction.C: new LFUN_INSET_MODIFY.
4656
4657         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4658         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4659
4660 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4661
4662         * several files: ws changes only
4663
4664         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4665         (TeXEnvironment): ditto
4666         (TeXDeeper): ditto
4667
4668         * buffer.C (makeLaTeXFile): adjust
4669         (latexParagraphs): make it take ParagraphList::iterator as args
4670
4671 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4672
4673         * buffer.C (latexParagraphs): adjust
4674
4675         * paragraph.C (TeXOnePar): move function...
4676         (optArgInset): move function...
4677         (TeXEnvironment): move function...
4678         * paragraph_pimpl.C (TeXDeeper): move function...
4679         * paragraph_funcs.C: ...here
4680
4681         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4682
4683 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4684
4685         * buffer.C (readInset): remove compability code for old Figure and
4686         InsetInfo insets
4687
4688 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4689
4690         * buffer.C: ws changes
4691         (readInset):
4692
4693         * BufferView_pimpl.C: ditto
4694         * author.C: ditto
4695         * buffer.h: ditto
4696         * bufferlist.h: ditto
4697         * changes.h: ditto
4698         * lyxfunc.C: ditto
4699
4700 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4701
4702         * converter.[Ch]: split into itself +
4703         * graph.[Ch]
4704         * format.[Ch]
4705         * Makefile.am: += graph.[Ch] + format.[Ch]
4706         * MenuBackend.C
4707         * buffer.C
4708         * exporter.C
4709         * importer.C
4710         * lyx_main.C
4711         * lyxfunc.C
4712         * lyxrc.C: added #include "format.h"
4713
4714 2003-02-27  Angus Leeming  <leeming@lyx.org>
4715
4716         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4717           a label.
4718
4719         * factory.C (createInset): add "label" to the factory.
4720
4721         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4722           string and do no more.
4723
4724 2003-02-27  Angus Leeming  <leeming@lyx.org>
4725
4726         * commandtags.h:
4727         * LyXAction.C (init):
4728         * factory.C (createInset):
4729         * BufferView_pimpl.C (dispatch):
4730           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4731
4732         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4733
4734         * lyxfunc.C (dispatch):
4735         * text3.C (dispatch): pass name to params2string.
4736
4737 2003-02-26  Angus Leeming  <leeming@lyx.org>
4738
4739         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4740           blocks together.
4741           Rearrange the ~includes. Strip out the unnecessary ones.
4742
4743         * factory.C (createInset): reformat.
4744           create new insets for the various LFUN_XYZ_APPLY lfuns.
4745
4746 2003-02-26  John Levon  <levon@movementarian.org>
4747
4748         * lyxrow.h:
4749         * lyxrow.C: add isParStart,isParEnd helpers
4750
4751         * paragraph.h: make isInserted/DeletedText take refs
4752
4753         * paragraph_funcs.h:
4754         * paragraph_funcs.C: remove #if 0'd code
4755
4756         * lyxtext.h:
4757         * text3.C:
4758         * text2.C:
4759         * text.C: use lyxrow helpers above.
4760           Move draw and paint routines to RowPainter.
4761           Make several methods use refs not pointers.
4762           Make backgroundColor() const.
4763           Add markChangeInDraw(), isInInset().
4764           Merge changeRegionCase into changeCase.
4765           Make workWidth() shouldn't-happen code into an Assert.
4766
4767         * rowpainter.h:
4768         * rowpainter.C: new class for painting a row.
4769
4770         * vspace.h:
4771         * vspace.C: make inPixels take a ref
4772
4773 2003-02-26  Angus Leeming  <leeming@lyx.org>
4774
4775         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4776         LFUN_REF_APPLY.
4777
4778 2003-02-25  John Levon  <levon@movementarian.org>
4779
4780         * ispell.C: give the forked command a more accurate name
4781
4782 2003-02-22  John Levon  <levon@movementarian.org>
4783
4784         * toc.h:
4785         * toc.C: make TocItem store an id not a Paragraph *
4786           (bug #913)
4787
4788 2003-02-21  Angus Leeming  <leeming@lyx.org>
4789
4790         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4791           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4792           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4793           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4794           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4795           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4796
4797         * BufferView_pimpl.C (dispatch):
4798         * LyXAction.C (init):
4799         * factory.C (createInset):
4800         * lyxfunc.C (getStatus, dispatch):
4801         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4802
4803 2003-02-21  Angus Leeming  <leeming@lyx.org>
4804
4805         * BufferView_pimpl.C (MenuInsertLyXFile):
4806         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4807         * lyxfunc.C (menuNew, open, doImport):
4808           no longer pass a LyXView & to fileDlg.
4809
4810 2003-02-21  Angus Leeming  <leeming@lyx.org>
4811
4812         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4813         * LyXAction.C: change, BIBKEY to BIBITEM.
4814         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4815         Change InsetBibKey to InsetBibitem.
4816         Change BIBKEY_CODE to BIBITEM_CODE.
4817         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4818         * factory.C: replace insetbib.h with insetbibitem.h.
4819         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4820         * paragraph.C: replace insetbib.h with insetbibitem.h.
4821         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4822         Change bibkey() to bibitem().
4823         * text.C: remove insetbib.h.
4824         * text2.C: replace insetbib.h with insetbibitem.h.
4825         change bibkey() to bibitem().
4826         * text3.C: remove insetbib.h.
4827         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4828
4829 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4830
4831         * lyxrc.C (output): enclose user email in quotes (in case there are
4832         several words)
4833
4834 2003-02-18  John Levon  <levon@movementarian.org>
4835
4836         * buffer.h: add std::
4837
4838 2003-02-17  John Levon  <levon@movementarian.org>
4839
4840         * SpellBase.h:
4841         * ispell.h:
4842         * ispell.C:
4843         * pspell.h:
4844         * pspell.C: reworking. Especially in ispell, a large
4845           number of clean ups and bug fixes.
4846
4847         * lyxfunc.C: fix revert to behave sensibly
4848
4849 2003-02-17 André Pönitz <poenitz@gmx.net>
4850
4851         * LyXAction.C:
4852         * commandtags.h: new LFUN_INSERT_BIBKEY
4853
4854         * layout.h:
4855         * lyxlayout.C:
4856         * buffer.C:
4857         * factory.C:
4858         * text.C:
4859         * text2.C:
4860         * text3.C:
4861         * paragraph.[Ch]:
4862         * paragraph_func.C: remove special bibkey handling
4863
4864 2003-02-17  John Levon  <levon@movementarian.org>
4865
4866         * text.C (Delete): fix case where delete at the end of
4867           the very first paragraph would not merge the pars
4868
4869 2003-02-17  John Levon  <levon@movementarian.org>
4870
4871         * lyxrow.C: fix lastPrintablePos()
4872
4873 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4874
4875         * bufferparams.C (writeLaTeX): add a std:here
4876
4877         * buffer.C: and remove a using directive there
4878
4879 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4880
4881         * buffer.C (makeLaTeXFile): move the code that generates the
4882           preamble...
4883
4884         * bufferparams.C (writeLaTeX): ... in this new method
4885
4886         * LaTeXFeatures.C (getEncodingSet): make const
4887           (getLanguages): make const
4888
4889         * MenuBackend.C (binding): returns the binding associated to this
4890           action
4891           (add): sets the status of each item by calling getStatus. Adds
4892           some intelligence.
4893           (read): add support for OptSubMenu
4894           (expand): remove extra separator at the end of expanded menu
4895
4896 2003-02-15  John Levon  <levon@movementarian.org>
4897
4898         * BufferView.C:
4899         * BufferView_pimpl.C:
4900         * bufferlist.h:
4901         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4902           inset code that had no actual effect. Remove unneeded status
4903           code.
4904
4905 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4906
4907         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4908           in preamble
4909
4910 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4911
4912         * text.C (drawLengthMarker): also draw an arrow marker for
4913           symbolic lengths (medskip...)
4914
4915 2003-02-14  John Levon  <levon@movementarian.org>
4916
4917         * tabular.h:
4918         * tabular.C: better method names
4919
4920 2003-02-14  John Levon  <levon@movementarian.org>
4921
4922         * BufferView_pimpl.C:
4923         * bufferlist.C:
4924         * buffer.C:
4925         * converter.C:
4926         * lyx_cb.C:
4927         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4928           it's a more accurate name. Remove some pointless uses.
4929
4930 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4931
4932         * text2.C (LyXText): change order of initilizers to shut off
4933           warnings
4934
4935 2003-02-14  John Levon  <levon@movementarian.org>
4936
4937         * buffer.C: use ParIterator for getParFromID()
4938
4939         * paragraph.h:
4940         * paragraph.C:
4941         * paragraph_pimpl.h:
4942         * paragraph_pimpl.C: remove unused getParFromID()
4943
4944 2003-02-14  John Levon  <levon@movementarian.org>
4945
4946         * buffer.C: remove some very old #if 0'd parse code
4947
4948 2003-02-13  John Levon  <levon@movementarian.org>
4949
4950         * text.h:
4951         * text.C:
4952         * text2.C: move hfillExpansion(), numberOfSeparators(),
4953           rowLast(), rowLastPrintable(), numberofHfills(),
4954           numberOfLabelHfills() ...
4955
4956         * lyxrow.h:
4957         * lyxrow.C: ... to member functions here.
4958
4959         * paragraph.h:
4960         * paragraph.C:
4961         * lyxtext.h:
4962         * text.C: remove LyXText::beginningOfMainBody(), and call
4963           p->beginningOfMainBody() directly. Move the check for
4964           LABEL_MANUAL into the latter.
4965
4966         * text.h:
4967         * text.C:
4968         * text2.C:
4969         * vspace.C:
4970         * BufferView.h:
4971         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4972
4973         * text.h:
4974         * text.C:
4975         * text2.C:
4976         * text3.C:
4977         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4978           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4979
4980 2003-02-13  John Levon  <levon@movementarian.org>
4981
4982         * CutAndPaste.C: remove debug
4983
4984 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4985
4986         * paragraph.C (asString): remove two unused variables
4987
4988         * lyxtextclass.C (readTitleType):
4989           (Read):
4990           (LyXTextClass): handle new members titletype_ and titlename_
4991
4992         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4993
4994 2003-02-09  John Levon  <levon@movementarian.org>
4995
4996         * buffer.h:
4997         * buffer.C: replace hand-coded list with a map for the dep clean
4998
4999 2003-02-08  John Levon  <levon@movementarian.org>
5000
5001         * LaTeX.C: consolidate code into showRunMessage() helper
5002
5003 2003-02-08  John Levon  <levon@movementarian.org>
5004
5005         * lyxfind.C:
5006         * lyxtext.h:
5007         * text2.C:
5008         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5009           and pass the size in explicitly
5010
5011         * BufferView_pimpl.h:
5012         * BufferView_pimpl.C:
5013         * BufferView.h:
5014         * BufferView.C: add getCurrentChange()
5015
5016         * BufferView_pimpl.h:
5017         * BufferView_pimpl.C: handle change lfuns
5018
5019         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5020           for changes. Mark pasted paragraphs as new.
5021
5022         * support/lyxtime.h:
5023         * support/lyxtime.C:
5024         * DepTable.C: abstract time_t as lyx::time_type
5025
5026         * LColor.h:
5027         * LColor.C: add colours for new text, deleted text, changebars
5028
5029         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5030           package use "usenames" option.
5031
5032         * commandtags.h:
5033         * lyxfunc.C:
5034         * LyXAction.C: add change lfuns
5035
5036         * Makefile.am:
5037         * author.h:
5038         * author.C: author handling
5039
5040         * buffer.h:
5041         * buffer.C: add a per-buffer author list, with first entry as
5042           current author. Handle new .lyx tokens for change tracking. Output
5043           author list to .lyx file. Output dvipost stuff to .tex preamble.
5044           Bump lyx format to 222.
5045
5046         * bufferlist.h:
5047         * bufferlist.C: add setCurrentAuthor() to reset current author details
5048           in all buffers.
5049
5050         * bufferparams.h:
5051         * bufferparams.C: add param for tracking
5052
5053         * bufferview_funcs.C: output change info in minibuffer
5054
5055         * Makefile.am:
5056         * changes.h:
5057         * changes.C: add change-tracking structure
5058
5059         * debug.h:
5060         * debug.C: add CHANGES debug flag
5061
5062         * lyxfind.h:
5063         * lyxfind.C: add code for finding the next change piece
5064
5065         * lyxrc.h:
5066         * lyxrc.C: add user_name and user_email
5067
5068         * lyxrow.h:
5069         * lyxrow.C: add a metric for the top of the text line
5070
5071         * lyxtext.h:
5072         * text.C: implement accept/rejectChange()
5073
5074         * lyxtext.h:
5075         * text.C: paint changebars. Paint new/deleted text in the chosen
5076         colours. Strike through deleted text.
5077
5078         * paragraph.h:
5079         * paragraph.C:
5080         * paragraph_pimpl.h:
5081         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5082           in the current change to the insert functions. Rework erase to
5083           mark text as deleted, adding an eraseIntern() and a range-based
5084           erase(). Implement per-paragraph change lookup and
5085           accept/reject.
5086
5087         * paragraph_funcs.C: Fixup paste for change tracking.
5088
5089         * tabular.C: mark added row/columns as new.
5090
5091         * text.C: fix rowLast() to never return -1. Don't allow
5092           spellchecking of deleted text. Track transpose changes. Don't
5093           allow paragraph break or merge where appropriate.
5094
5095         * text2.C: leave cursor at end of selection after a cut.
5096
5097 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5098
5099         * text.C (getLengthMarkerHeight):
5100         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5101         visible on screen too.
5102
5103 2003-02-07  John Levon  <levon@movementarian.org>
5104
5105         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5106
5107 2003-02-05  Angus Leeming  <leeming@lyx.org>
5108
5109         * lyxserver.C (read_ready): revert my patch of 11 September last year
5110         as it sends PC cpu through the roof. Presumably this means that
5111         the lyxserver will no longer run on an Alpha...
5112
5113 2003-01-30  Angus Leeming  <leeming@lyx.org>
5114
5115         * factory.C (createInset): create an InsetCommandParam of type "index"
5116         and use it to 'do the right thing'.
5117
5118         * text2.C (getStringToIndex): ensure that cursor position is always
5119         reset to the reset_cursor position.
5120
5121 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5122
5123         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5124         disabled.
5125
5126 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5127
5128         * bufferview.C:
5129         * lyxcb.C:
5130         * lyxfunc.C: Output messages with identical spelling, punctuation,
5131         and spaces
5132
5133 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5134
5135         * MenuBackend.C (expandFormats): List only viewable export formats
5136         in "View" menu
5137
5138         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5139         message
5140
5141         * lyxfunc.C (getStatus): Make sure that formats other than
5142         "fax" can also be disabled
5143
5144 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5145
5146         * text3.C (dispatch): put the lfuns that insert insets in 3
5147         groups, and call doInsertInset with appropriate arguments.
5148         (doInsertInset): new function, that creates an inset and inserts
5149         it according to some boolean parameters.
5150
5151 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5152
5153         * buffer.C (readFile): remember to pass on 'par' when calling
5154         readFile recursively.
5155
5156 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5157
5158         * MenuBackend.C (expandFormats): add "..." to import formats.
5159
5160 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5161
5162         * paragraph.C (asString): Remove XForms RTL hacks.
5163
5164 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5165         * buffer.C: fix typo
5166
5167 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5168
5169         * Makefile.am (LIBS): delete var
5170         (lyx_LDADD): add @LIBS@ here instead.
5171
5172 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5173
5174         * Clarify the meaning of "wheel mouse jump"
5175
5176 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5177
5178         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5179         tabular in a float
5180
5181 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5182
5183         * importer.C (Loaders): do not preallocate 3 elements in the
5184         vector, since one ends up with 6 elements otherwise
5185
5186 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5187
5188         * DepTable.C (write): write the file name as last element of the
5189         .dep file (because it may contain spaces)
5190         (read): read info in the right order
5191
5192 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5193
5194         * paragraph_pimpl.C (simpleTeXBlanks):
5195         (simpleTeXSpecialChars):
5196         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5197
5198         * tabular.C (latex): add some missing case statements. Reindent.
5199
5200         * MenuBackend.C (expandToc): remove unused variable.
5201
5202 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5203
5204         * LColor.C:
5205         * LaTeX.C:
5206         * LyXAction.C:
5207         * MenuBackend.C:
5208         * buffer.C:
5209         * exporter.C:
5210         * lyxfunc.C:
5211         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5212         and the like.
5213
5214 2003-01-05  John Levon  <levon@movementarian.org>
5215
5216         * BufferView.h:
5217         * BufferView.C: add getEncoding()
5218
5219         * kbsequence.h:
5220         * kbsequence.C: do not store last keypress
5221
5222         * lyxfunc.h:
5223         * lyxfunc.C: store last keypress here instead. Pass encoding
5224           to getISOEncoded()
5225
5226 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5227
5228         * lyx_main.C (init): remove annoying error message when following
5229         symbolic links (bug #780)
5230
5231 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5232
5233         * text.C (insertChar):
5234         * lyxrc.C (getDescription): remove extra spaces
5235
5236 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5237
5238         * lyxrc.C (getDescription): remove extra spaces
5239
5240 2002-12-20  John Levon  <levon@movementarian.org>
5241
5242         * text3.C: hack fix for page up/down across tall rows
5243
5244 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5245
5246         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5247         not been invoked
5248
5249 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5250
5251         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5252         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5253         thesaurus is not compiled in
5254
5255 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5256
5257         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5258
5259 2002-12-16  Angus Leeming  <leeming@lyx.org>
5260
5261         * lyxrc.[Ch]:
5262         * lyx_main.C (init): remove override_x_deadkeys stuff.
5263
5264 2002-12-12  John Levon  <levon@movementarian.org>
5265
5266         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5267           insert. Only remove shift modifier under strict
5268           circumstances.
5269
5270 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5271
5272         * MenuBackend.C (expandToc): fix crash.
5273
5274 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5275
5276         * MenuBackend.C (expandToc): gettext on float names.
5277
5278 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5279
5280         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5281         implement bool empty() [bug 490]
5282
5283 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5284
5285         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5286
5287 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5288
5289         * several files: ws changes
5290
5291 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * text2.C (setCounter): clean up a bit, use boost.format.
5294         (updateCounters): initialize par upon declaration.
5295
5296         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5297         if the layout exists. We do not just store the layout any more.
5298         (SwitchLayoutsBetweenClasses): use boost.format
5299
5300 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5301
5302         * converter.C (convert): if from and to files are the same, use a
5303         temporary files as intermediary
5304
5305 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5306
5307         * commandtags.h:
5308         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5309
5310 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5311
5312         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5313
5314 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5315
5316         * tabular.C (asciiPrintCell): use string(size, char) instead of
5317         explicit loop.
5318
5319         * sgml.C (openTag): fix order of arguments to string constructor
5320         (closeTag): ditto
5321
5322         * lyxfunc.C (dispatch): use boost.format
5323
5324         * lots of files: change "c" -> 'c'
5325
5326 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5327
5328         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5329
5330 2002-11-25  Angus Leeming  <leeming@lyx.org>
5331
5332         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5333
5334         * lyx_main.C (init): compile fix.
5335
5336 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5337
5338         * lyx_cb.C (start): boost.formatify
5339         do not include <iostream>
5340
5341         * lengthcommon.C: ws only
5342
5343         * boost-inst.C,BoostFormat.h: add more explict instantations
5344
5345 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5346
5347         * lots of files: handle USE_BOOST_FORMAT
5348
5349 2002-11-21  John Levon  <levon@movementarian.org>
5350
5351         * pspell.C: fix compile
5352
5353 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5354
5355         * lyxfunc.C (dispatch): use boost::format
5356         (open): ditto
5357         (doImport): ditto
5358
5359         * lyxfont.C (stateText): use boost::format
5360
5361         * lyx_main.C (LyX): use boost::format
5362         (init): ditto
5363         (queryUserLyXDir): ditto
5364         (readRcFile): ditto
5365         (parse_dbg): ditto
5366         (typedef boost::function): use the recommened syntax.
5367
5368         * importer.C (Import): use boost::format
5369
5370         * debug.C (showLevel): use boost::format
5371
5372         * converter.C (view): use boost::format
5373         (convert): ditto
5374         (move): ditto
5375         (scanLog): ditto
5376
5377         * bufferview_funcs.C (currentState): use boost::format
5378
5379         * bufferlist.C (emergencyWrite): use boost::format
5380
5381         * buffer.C (readLyXformat2): use boost::format
5382         (parseSingleLyXformat2Token): ditto
5383
5384         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5385
5386         * LaTeX.C (run): use boost::format
5387
5388         * Chktex.C (scanLogFile): use boost::format
5389
5390         * BufferView_pimpl.C (savePosition): use boost::format
5391         (restorePosition): ditto
5392         (MenuInsertLyXFile): ditto
5393
5394         * BoostFormat.h: help file for explicit instation.
5395
5396 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5397
5398         * tabular.C (latex): Support for block alignment in fixed width
5399         columns.
5400
5401 2002-11-17  John Levon  <levon@movementarian.org>
5402
5403         * BufferView_pimpl.C:
5404         * lyx_cb.C:
5405         * lyxfunc.C: split filedialog into open/save
5406
5407 2002-11-08  Juergen Vigna  <jug@sad.it>
5408
5409         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5410         by my last patch (hopefully).
5411
5412 2002-11-08  John Levon  <levon@movementarian.org>
5413
5414         * iterators.h:
5415         * iterators.C:
5416         * buffer.h:
5417         * buffer.C:
5418         * paragraph.h:
5419         * paragraph.C:
5420         * toc.h:
5421         * toc.C: ParConstIterator, and use it (from Lars)
5422
5423 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5424
5425         * lyxtextclass.[Ch]: revise and add doxygen comments
5426
5427 2002-11-07  John Levon  <levon@movementarian.org>
5428
5429         * text.C: fix progress value for spellchecker
5430
5431         * toc.C: fix navigate menu for insetwrap inside minipage
5432
5433         * paragraph_funcs.C: added FIXME for suspect code
5434
5435 2002-11-07  John Levon  <levon@movementarian.org>
5436
5437         * BufferView_pimpl.C: fix redrawing of insets
5438           on buffer switch
5439
5440 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5441
5442         * text2.C (updateCounters): fix bug 668
5443
5444 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5445
5446         * text3.C (dispatch): Do not make the buffer dirty when moving the
5447         cursor.
5448
5449 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5450
5451         * vc-backend.C: STRCONV
5452         (scanMaster): ditto
5453
5454         * text2.C (setCounter): STRCONV
5455
5456         * paragraph.C (asString): STRCONV
5457
5458         * lyxlength.C (asString): STRCONV
5459         (asLatexString): ditto
5460
5461         * lyxgluelength.C (asString): STRCONV
5462         (asLatexString): ditto
5463
5464         * lyxfunc.C (dispatch): STRCONV
5465         (open): ditto
5466
5467         * lyxfont.C (stateText): STRCONV
5468
5469         * importer.C (Import): STRCONV
5470
5471         * counters.C (labelItem): STRCONV
5472         (numberLabel): ditto
5473         (numberLabel): remove unused ostringstream o
5474
5475         * chset.C: STRCONV
5476         (loadFile): ditto
5477
5478         * bufferview_funcs.C (currentState): STRCONV
5479
5480         * buffer.C (readFile): STRCONV
5481         (asciiParagraph): ditto
5482         (makeLaTeXFile): ditto
5483
5484         * Spacing.C (writeEnvirBegin): STRCONV
5485
5486         * LaTeXFeatures.C (getLanguages): STRCONV
5487         (getPackages): ditto
5488         (getMacros): ditto
5489         (getBabelOptions): ditto
5490         (getTClassPreamble): ditto
5491         (getLyXSGMLEntities): ditto
5492         (getIncludedFiles): ditto
5493
5494         * LaTeX.C: STRCONV
5495         (run): ditto
5496         (scanAuxFile): ditto
5497         (deplog): ditto
5498
5499         * LString.h: add the STRCONV macros
5500
5501         * BufferView_pimpl.C (savePosition): STRCONV
5502         (restorePosition): ditto
5503         (MenuInsertLyXFile): ditto
5504
5505         * vc-backend.C (scanMaster): change from submatch[...] to
5506         submatch.str(...)
5507
5508         * funcrequest.C: include config.h
5509
5510         * factory.C: include config.h
5511
5512         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5513
5514         * box.C: include config.h
5515
5516         * LaTeX.C (scanAuxFile): change from submatch[...] to
5517         submatch.str(...)
5518         (deplog): ditto
5519
5520 2002-10-25  Angus Leeming  <leeming@lyx.org>
5521
5522         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5523
5524         * ispell.[Ch] (setError): new method.
5525         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5526         Use setError() insetead of goto END.
5527
5528         * lyx_cb.C (AutoSave): move out child process into new class
5529         AutoSaveBuffer.
5530
5531 2002-10-30  John Levon  <levon@movementarian.org>
5532
5533         * text3.C: make start appendix undoable
5534
5535 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5536
5537         * lyxlength.C (inPixels): Fix returned value.
5538
5539         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5540         environment.
5541
5542 2002-10-24  Angus Leeming  <leeming@lyx.org>
5543
5544         * lyxgluelength.h: no need to forward declare BufferParams
5545         or BufferView, so don't.
5546
5547 2002-10-21  John Levon  <levon@movementarian.org>
5548
5549         * BufferView.C: menuUndo ->undo, redo
5550
5551         * BufferView.h: document, remove dead, make some methods private
5552
5553         * paragraph_funcs.h:
5554         * paragraph_funcs.C:
5555         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5556
5557         * buffer.h:
5558         * buffer.C:
5559         * sgml.h:
5560         * sgml.C: move sgml open/close tag into sgml.C
5561
5562         * bufferview_funcs.h: unused prototype
5563
5564         * lyxfunc.h:
5565         * lyxfunc.C: remove unused
5566
5567         * lyxtext.h:
5568         * text.C: remove unused
5569
5570 2002-10-21  John Levon  <levon@movementarian.org>
5571
5572         * BufferView.h:
5573         * BufferView.C:
5574         * BufferView_pimpl.h:
5575         * BufferView_pimpl.C: fix mouse wheel handling based on
5576           patch from Darren Freeman
5577
5578 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5579
5580         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5581
5582 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5583
5584         * lyxlength.C (inPixels): Fix hanfling of negative length.
5585         Fix LyXLength::MU case.
5586
5587 2002-10-16  John Levon  <levon@movementarian.org>
5588
5589         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5590
5591 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5592
5593         * converter.C (view): add support for $$i (file name) and $$p
5594         (file path) for the viewer command. If $$i is not specified, then
5595         it is appended to the command (for compatibility with old syntax)
5596
5597 2002-10-14  Juergen Vigna  <jug@sad.it>
5598
5599         * undo_funcs.C (textHandleUndo): alter the order in which the
5600         new undopar is added to the LyXText, as we have to set first
5601         the right prev/next and then add it as otherwise the rebuild of
5602         LyXText is not correct. Also reset the cursor to the right paragraph,
5603         with this IMO we could remove the hack in "redoParagraphs()".
5604
5605 2002-10-09  Angus Leeming  <leeming@lyx.org>
5606
5607         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5608         to turn off an optimisation if a new inset is to be inserted.
5609
5610 2002-10-11 André Pönitz <poenitz@gmx.net>
5611
5612         * lyxtext.h: make some functions public to allow access
5613         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5614
5615 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5616
5617         * text3.C (dispatch): when changing layout, avoid an infinite loop
5618         [bug #652]
5619
5620 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5621
5622         * lyxrc.C (read): treat a viewer or converter command of "none" as
5623         if it were empty.
5624
5625         * MenuBackend.C (expandFormats): for an update, also allow the
5626         formats that are not viewable
5627
5628         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5629         script if it is newer than the lyxrc.defaults in user directory
5630
5631 2002-10-07 André Pönitz <poenitz@gmx.net>
5632
5633         * text.C: Vitaly Lipatov's small i18n fix
5634
5635 2002-09-25  Angus Leeming  <leeming@lyx.org>
5636
5637         * ispell.h: doxygen fix.
5638
5639 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5640
5641         * buffer.h (readFile): Add a new argument to the method, to allow
5642         reading of old-format templates.
5643
5644 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5645
5646         * toc.C (getTocList): Get TOC from InsetWrap.
5647
5648 2002-09-16  John Levon  <levon@movementarian.org>
5649
5650         * lyxfunc.C: check tabular for cut/copy too
5651
5652 2002-09-12  John Levon  <levon@movementarian.org>
5653
5654         * LyXAction.C: tidy
5655
5656         * factory.h:
5657         * factory.C: add header
5658
5659         * paragraph_funcs.h:
5660         * paragraph_funcs.C: cleanup
5661
5662 2002-09-11  John Levon  <levon@movementarian.org>
5663
5664         * PrinterParams.h: odd/even default to true
5665
5666 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5667
5668         * PrinterParams.h: update printer parameters for new xforms dialog
5669
5670 2002-09-11  Angus Leeming  <leeming@lyx.org>
5671
5672         * lyxserver.C (read_ready): re-write to make it more transparent
5673         and to make it work in coherent fashion under Tru64 Unix.
5674
5675 2002-09-11  André Pönitz <poenitz@gmx.net>
5676
5677         * commandtags.h:
5678         * LyXAction.C:
5679         * text3.C: implement LFUN_WORDSEL
5680
5681 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5682
5683         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5684         make floatlist_ a boost::shared_ptr<FloatList>
5685
5686         * lyxtextclass.C: include FloatList.h
5687         (LyXTextClass): initialize floatlist_
5688         (TextClassTags): add TC_NOFLOAT
5689         (Read): match "nofloat" to TC_NOFLOAT and use it.
5690         (readFloat): modify call to floatlist_
5691         (floats): ditto
5692         (floats): ditto
5693
5694         * FloatList.[Ch] (FloatList): remove commented out float
5695         initialization.
5696         (erase): new function
5697
5698 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5699
5700         * MenuBackend.C (expandToc): fix crash when there is no document
5701         open
5702
5703 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5704
5705         * many files: Add insetwrap.
5706
5707 2002-09-09  John Levon  <levon@movementarian.org>
5708
5709         * text2.C: remove confusing and awkward depth wraparound
5710
5711 2002-09-09  John Levon  <levon@movementarian.org>
5712
5713         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5714
5715         * buffer.h:
5716         * buffer.C: remove getIncludeonlyList()
5717
5718         * paragraph.C:
5719         * lyxfunc.C: remove headers
5720
5721 2002-09-09  Juergen Vigna  <jug@sad.it>
5722
5723         * text.C (getColumnNearX): fix form Michael this is most
5724         probably a cut&paste bug.
5725
5726 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5727
5728         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5729
5730         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5731         references, ws changes.
5732
5733         * text2.C (init): update counters after init
5734         (insertParagraph): no need to set counter on idividual paragraphs.
5735         (setCounter): access the counters object in the textclass object
5736         on in the buffer object.
5737         (updateCounters): ditto
5738
5739         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5740         shared_ptr<Counters> to avoid loading counters.h in all
5741         compilation units.
5742         (LyXTextClass): initialize ctrs_
5743         (TextClassTags): add TC_COUNTER, and ...
5744         (Read): use it here.
5745         (CounterTags): new tags
5746         (readCounter): new function
5747         (counters): new funtion
5748         (defaultLayoutName): return a const reference
5749
5750         * counters.C (Counters): remove contructor
5751         (newCounter): remove a couple of unneeded statements.
5752         (newCounter): simplify a bit.
5753         (numberLabel): some small formatting changes.
5754
5755         * buffer.[Ch]: remove all traces of counters, move the Counters
5756         object to the LyXTextClass.
5757
5758 2002-09-06  Alain Castera  <castera@in2p3.fr>
5759
5760         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5761         package to set the horizontal alignment on fixed width columns.
5762
5763         * lyx_sty.C:
5764         * lyx_sty.h: added tabularnewline macro def.
5765
5766         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5767
5768 2002-09-06  John Levon  <levon@movementarian.org>
5769
5770         * LyXAction.C: tooltips for sub/superscript
5771
5772         * MenuBackend.C: a bit more verbose
5773
5774         * lyxfunc.C: tiny clean
5775
5776         * undo_funcs.C: document undo_frozen
5777
5778 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5779
5780         * counters.C (Counters): add missing algorithm counter.
5781
5782         * text2.C (setCounter): lookup the counter with layouts latexname
5783         instead of by section number.
5784         (setCounter): use a hackish way to lookup the correct enum
5785         counter.
5786         a float name->type change
5787         reset enum couners with counter name directly instead of depth value.
5788
5789         * counters.C (Counters): remove the push_backs, change to use the
5790         float type not the float name.
5791         (labelItem): remove unused string, float name->type change
5792
5793         * counters.h: don't include vector, loose the enums and sects vectors
5794
5795 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5796
5797         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5798         (Read): add float->TC_FLOAT to textclassTags
5799         (Read): and handle it in the switch
5800         (readFloat): new function
5801
5802         * FloatList.C (FloatList): comment out the hardcoded float
5803         definitions.
5804
5805         * lyxlayout.h: ws change.
5806
5807 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5808
5809         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5810
5811 2002-09-03  Angus Leeming  <leeming@lyx.org>
5812
5813         * BufferView_pimpl.h: qualified name is not allowed in member
5814         declaration: WorkArea & Pimpl::workarea() const;
5815
5816         * factory.C: added using std::endl directive.
5817
5818         * text3.C: added using std::find and std::vector directives.
5819
5820 2002-08-29  André Pönitz <poenitz@gmx.net>
5821
5822         * lyxtext.h:
5823         * text2.C: remove unused member number_of_rows
5824
5825         * Makefile.am:
5826         * BufferView2.C: remove file, move contents to...
5827         * BufferView.C: ... here
5828
5829         * BufferView_pimpl.C:
5830         * factory.C: move more inset creation to factory
5831
5832         * vspace.C: avoid direct usage of LyXText, ws changes
5833
5834         * BufferView.[Ch]:
5835                 don't provide direct access to WorkArea, use two simple
5836                 acessors haveSelction() and workHeight() instead
5837
5838
5839 2002-08-29  John Levon  <levon@movementarian.org>
5840
5841         * BufferView_pimpl.C (dispatch): do not continue when
5842           no buffer
5843
5844 2002-08-28  André Pönitz <poenitz@gmx.net>
5845
5846         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5847
5848         * BufferView.h:
5849         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5850
5851 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5852
5853         * buffer.C: increment LYX_FORMAT to 221
5854
5855         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5856         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5857
5858         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5859
5860         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5861
5862 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5863
5864         * factory.C (createInset): use LyXTextClass::floats
5865
5866         * MenuBackend.C (expandFloatListInsert):
5867         (expandFloatInsert):
5868         (expandToc):
5869
5870         * text2.C (setCounter):
5871
5872         * LaTeXFeatures.C (useFloat):
5873         (getFloatDefinitions):
5874
5875         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5876
5877         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5878         floatlist_, with accessor floats().
5879
5880         * FloatList.h: remove global FloatList
5881
5882 2002-08-26  André Pönitz <poenitz@gmx.net>
5883
5884         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5885
5886         * BufferView.h:
5887         * BufferView2.C:
5888         * BufferView_pimpl.C:
5889         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5890
5891 2002-08-25  John Levon  <levon@movementarian.org>
5892
5893         * LyXAction.C: fix margin note description
5894
5895 2002-08-24  John Levon  <levon@movementarian.org>
5896
5897         * buffer.C:
5898         * bufferlist.C:
5899         * bufferview_funcs.C:
5900         * lyxfont.C:
5901         * undo_funcs.C: cleanups
5902
5903         * lyxfunc.C: disable CUT/COPY when no selection
5904
5905 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5906
5907         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5908         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5909
5910         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5911         Add backward compatibility to "mono", "gray" and "no".
5912
5913 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5914
5915         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5916         (and file_format >= 200).
5917
5918 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5919
5920         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5921
5922 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5923
5924         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5925
5926 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5927
5928         * BufferView_pimpl.C:
5929         * LyXAction.C:
5930         * buffer.C:
5931         * commandtags.h:
5932         * lyxfunc.C:
5933         * paragraph.[Ch]:
5934         * text2.C:
5935         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5936         inset and code to make it  work with the paragraph code. The inset
5937         can be anywhere in the paragraph, but will only do the expected
5938         thing in LaTeX if the layout file contains the parameter line
5939                         OptionalArgs    1
5940         (or more generally, a nonzero value) for that layout.
5941
5942 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5943
5944         * paragraph.h: remove the declaration of undefined counters class
5945         function.
5946
5947 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5948
5949         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5950         Dr. Richard Hawkins.
5951
5952 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5953
5954         * paragraph_funcs.h: remove some unneeded includes
5955
5956         * text.C (backspace): pasteParagraph now in global scipe
5957
5958         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5959         (pasteSelection): ditto
5960
5961         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5962         * paragraph_funcs.C (pasteParagraph): ... here
5963
5964 2002-08-20  André Pönitz <poenitz@gmx.net>
5965
5966         * commandtags.h: new LFUNs for swapping/copying table row/colums
5967
5968         * LyXAction.C:
5969         * lyxfunc.C: support for new lfuns
5970
5971 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5972
5973         * tabular.C:
5974         * buffer.[Ch]: remove NO_COMPABILITY stuff
5975
5976 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5977
5978         * boost.C (throw_exception): new file, with helper function for
5979         boost compiled without exceptions.
5980
5981         * paragraph.h:
5982         * lyxlength.C:
5983         * buffer.C:
5984         * ParameterStruct.h:
5985         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5986
5987         * bufferlist.C (emergencyWriteAll): use boost bind
5988
5989         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5990
5991         * text.C: include paragraph_funcs.h
5992         (breakParagraph): breakParagraph is now in global scope
5993
5994         * paragraph_funcs.[Ch]: new files
5995
5996         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5997         global scope
5998
5999         * buffer.C: include paragraph_funcs.h
6000         (insertStringAsLines): breakParagraph is now in global scope
6001
6002         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6003         paragraph_funcs.C
6004
6005         * CutAndPaste.C: include paragraph_funcs.h
6006         (cutSelection): breakParagraphConservative is now in global scope
6007         (pasteSelection): ditto
6008
6009         * buffer.h: declare oprator== and operator!= for
6010         Buffer::inset_iterator
6011
6012         * bufferlist.C (emergencyWrite): don't use fmt(...)
6013
6014         * text3.C: add using std::endl
6015
6016         * BufferView.C (moveCursorUpdate): remove default arg
6017
6018 2002-08-20  André Pönitz <poenitz@gmx.net>
6019
6020         * buffer.[Ch]: move inline functions to .C
6021
6022         * BufferView2.C:
6023         * BufferView_pimpl.C:
6024         * text.C:
6025         * buffer.[Ch]: use improved inset_iterator
6026
6027         * buffer.C:
6028         * paragraph.[Ch]: write one paragraph at a time
6029
6030 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6031
6032         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6033         style if style is not specified.
6034
6035 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6036
6037         * text2.C (setCounter): when searching for right label for a
6038         caption, make sure to recurse to parent insets (so that a caption
6039         in a minipage in a figure float works) (bug #568)
6040
6041 2002-08-20  André Pönitz <poenitz@gmx.net>
6042
6043         * text3.C: new file for LyXText::dispatch() and helpers
6044
6045         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6046
6047         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6048
6049 2002-08-19  André Pönitz <poenitz@gmx.net>
6050
6051         * lyxtext.h:
6052         * text.C: new LyXText::dispatch()
6053
6054         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6055
6056 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6057
6058         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6059
6060         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6061         Hebrew text.
6062
6063 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6064
6065         * Makefile.am: use $(variables) instead of @substitutions@
6066
6067 2002-08-15  André Pönitz <poenitz@gmx.net>
6068
6069         * lyxfunc.C:
6070         * BufferView_pimpl.C: streamlining mathed <-> outer world
6071         interaction
6072
6073         * commandtags.h:
6074         * LyXAction.C: remove unused LFUN_MATH
6075
6076 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6077
6078         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6079
6080 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6081
6082         * paragraph.C (Paragraph): reformat a bit
6083         (cutIntoMinibuffer): use builtin InsetList function instad of
6084         doing it manually.
6085         (getInset): ditto
6086
6087         * buffer.C: include boost/bind.hpp, add using std::for_each
6088         (writeFileAscii): use ParagraphList iterators
6089         (validate): use for_each for validate traversal of paragraphs
6090         (getBibkeyList): use ParagraphList iterators
6091         (resizeInsets): use for_each to resizeInsetsLyXText for all
6092         paragraphs.
6093         (getParFromID): use ParagraphList iterators
6094
6095         * BufferView2.C (lockInset): use paragraph list and iterators
6096
6097 2002-08-14  John Levon  <levon@movementarian.org>
6098
6099         * lyxserver.C: remove spurious xforms include
6100
6101 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6102
6103         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6104
6105 2002-08-13  André Pönitz <poenitz@gmx.net>
6106
6107         * LyXAction.[Ch]:
6108         * lyxfunc.C: further cleaning
6109
6110 2002-08-13  André Pönitz <poenitz@gmx.net>
6111
6112         * funcrequest.h: new constructor
6113
6114         * funcrequest.C: move stuff here from .h
6115
6116         * Makefile.am:
6117         * BufferView_pimpl.C:
6118         * LyXAction.C:
6119         * toc.C:
6120         * lyxfunc.C: subsequent changes
6121
6122         * lyxfunc.h: new view() member function
6123
6124         * lyxfunc.C: subsequent changes
6125
6126 2002-08-13  Angus Leeming  <leeming@lyx.org>
6127
6128         * BufferView2.C:
6129         * BufferView_pimpl.C:
6130         * buffer.C:
6131         * converter.C:
6132         * importer.C:
6133         * lyxfunc.C:
6134         * lyxvc.C:
6135         * toc.C:
6136         * vc-backend.C:
6137         changes due to the changed LyXView interface that now returns references
6138         to member variables not pointers.
6139
6140 2002-08-13  Angus Leeming  <leeming@lyx.org>
6141
6142         * WordLangTuple (word, lang_code): return references to strings,
6143         not strings.
6144
6145         * BufferView.h:
6146         * SpellBase.h:
6147         * lyxtext.h: forward-declare WordLangTuple.
6148
6149         * BufferView2.C:
6150         * ispell.C:
6151         * pspell.C:
6152         * text.C: #include "WordLangTuple.h".
6153
6154         * lyxtext.h:
6155         * text.C: (selectNextWordToSpellcheck): constify return type.
6156
6157 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6158
6159         * buffer.C:
6160         * buffer.h:
6161         * lyxtext.h:
6162         * paragraph.C:
6163         * paragraph_pimpl.h:
6164         * text.C:
6165         * text2.C:
6166         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6167         suggested by Angus.
6168         Made updateCounter always count from start of buffer, and removed
6169         second argument (par).
6170         Reverted floats number display to '#'. Perhaps I'll try again when the
6171         code base is sanitized a bit.
6172
6173 2002-08-12  Angus Leeming  <leeming@lyx.org>
6174
6175         * buffer.[Ch] (getLabelList): constify.
6176
6177 2002-08-07  André Pönitz <poenitz@gmx.net>
6178
6179         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6180
6181         * funcrequest.h: extension to keep mouse (x,y) position
6182
6183 2002-08-12  Juergen Vigna  <jug@sad.it>
6184
6185         * BufferView2.C (insertErrors): forbid undo when inserting error
6186         insets.
6187
6188         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6189
6190 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6191
6192         * ParagraphList.[Ch]: new files
6193
6194         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6195
6196         * BufferView2.C (lockInset): ParagraphList changes
6197         * toc.C: ditto
6198         * text2.C: ditto
6199         * bufferlist.C: ditto
6200         * buffer.h: ditto
6201         * buffer.C: ditto
6202
6203 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6204
6205         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6206         unused class variable counter_,
6207
6208         * paragraph.[Ch] (getFirstCounter): delete unused function
6209
6210         * counters.C: include LAssert.h
6211         (reset): add a new function with no arg, change other version to
6212         not have def. arg and to not allow empty arg.
6213
6214         * text2.C (setCounter): remove empty arg from call to Counters::reset
6215
6216 2002-08-11  John Levon  <levon@movementarian.org>
6217
6218         * Makefile.am: add WordLangTuple.h
6219
6220 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6221
6222         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6223         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6224
6225         * insets/insettext.C: InsetList changes
6226
6227         * graphics/GraphicsSupport.C (operator()): InsetList changes
6228
6229         * toc.C (getTocList): InsetList changes
6230
6231         * paragraph_pimpl.[Ch]: InsetList changes
6232
6233         * paragraph.[Ch]: InsetList changes
6234
6235         * buffer.C (inset_iterator): InsetList changes
6236         (setParagraph): ditto
6237         * buffer.h (inset_iterator): ditto
6238         * iterators.C (operator++): ditto
6239         * iterators.h: ditto
6240
6241         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6242
6243         * InsetList.[Ch]: new files, most InsetList handling moved out of
6244         paragraph.C.
6245
6246         * BufferView2.C (removeAutoInsets): InsetList changes
6247         (lockInset): ditto
6248         (ChangeInsets): ditto
6249
6250 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6251
6252         * paragraph_pimpl.h (empty): new function
6253
6254         * paragraph.[Ch] (empty): new function
6255
6256         * other files: use the new Paragraph::empty function
6257
6258 2002-08-09  John Levon  <levon@movementarian.org>
6259
6260         * lyxtext.h: remove unused refresh_height
6261
6262 2002-08-09  John Levon  <levon@movementarian.org>
6263
6264         * Makefile.am:
6265         * sgml.h:
6266         * sgml.C:
6267         * buffer.C:
6268         * paragraph.h:
6269         * paragraph.C: move sgml char escaping out of paragraph
6270
6271         * paragraph.h:
6272         * paragraph.C: remove id setter
6273
6274         * buffer.C:
6275         * paragraph.C:
6276         * paragraph_pimpl.C: remove dead tex_code_break_column
6277
6278         * bufferview_funcs.C: small cleanup
6279
6280         * lyxfunc.C: remove dead proto
6281
6282         * lyxtext.h: make some stuff private. Remove some dead stuff.
6283
6284         * lyxgluelength.C: make as[LyX]String() readable
6285
6286 2002-08-08  John Levon  <levon@movementarian.org>
6287
6288         * LyXAction.h:
6289         * LyXAction.C:
6290         * MenuBackend.C:
6291         * ToolbarDefaults.C:
6292         * lyxfunc.C:
6293         * lyxrc.C:
6294         * toc.C: lyxaction cleanup
6295
6296 2002-08-08  John Levon  <levon@movementarian.org>
6297
6298         * BufferView2.C: small cleanup
6299
6300         * lyxfind.h:
6301         * lyxfind.C: move unnecessary header into the .C
6302
6303 2002-08-08  John Levon  <levon@movementarian.org>
6304
6305         * funcrequest.h: just tedious nonsense
6306
6307         * lyx_main.h:
6308         * lyx_main.C: cleanups
6309
6310         * buffer.C:
6311         * vspace.C: remove dead header lyx_main.h
6312
6313 2002-08-07  Angus Leeming  <leeming@lyx.org>
6314
6315         * Paragraph.[Ch]:
6316         * paragraph_pimpl.h:
6317         Forward declare class Counters in paragraph.h by moving the ctrs member
6318         variable into Paragraph::Pimpl.
6319         (counters): new method, returning a reference to pimpl_->ctrs.
6320
6321         * text2.C: ensuing changes.
6322
6323 2002-08-07  John Levon  <levon@movementarian.org>
6324
6325         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6326
6327         * BufferView_pimpl.C: announce X selection on double/triple
6328           click
6329
6330         * lyx_main.C: use correct bool in batch dispatch
6331
6332         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6333
6334 2002-08-07  André Pönitz <poenitz@gmx.net>
6335
6336         * funcrequest.h: new class to wrap a kb_action and its argument
6337
6338         * BufferView.[Ch]:
6339         * BufferView_pimpl[Ch]:
6340         * LaTeX.C:
6341         * LyXAction.[Ch]:
6342         * lyxfunc.[Ch]:
6343         * lyxrc.C: subsequent changes
6344
6345
6346 2002-08-07  John Levon  <levon@movementarian.org>
6347
6348         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6349           document options change.
6350
6351 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6352
6353         * counters.[Ch]
6354         * text2.C
6355         * paragraph.[Ch]
6356         * makefile.am: move counters functionality over from
6357         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6358
6359 2002-08-06  John Levon  <levon@movementarian.org>
6360
6361         * WordLangTuple.h: new file for word + language code tuple
6362
6363         * SpellBase.h:
6364         * pspell.h:
6365         * pspell.C:
6366         * ispell.h:
6367         * ispell.C:
6368         * lyxtext.h:
6369         * text.C:
6370         * text2.C:
6371         * BufferView.h:
6372         * BufferView2.C: use WordLangTuple
6373
6374         * layout.h:
6375         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6376
6377 2002-08-06  John Levon  <levon@movementarian.org>
6378
6379         * lyx_main.C: fix cmdline batch handling
6380
6381 2002-08-06  André Pönitz <poenitz@gmx.net>
6382
6383         * lyxrc.C: set default for show_banner to true
6384
6385 2002-08-06  John Levon  <levon@movementarian.org>
6386
6387         * pspell.C: fix a crash, and allow new aspell to work
6388
6389 2002-08-06  John Levon  <levon@movementarian.org>
6390
6391         * lyxfunc.C:
6392         * kbmap.C: small cleanup
6393
6394         * vspace.h:
6395         * vspace.C: add const
6396
6397 2002-08-05  John Levon  <levon@movementarian.org>
6398
6399         * LyXAction.C: back to tabular-insert
6400
6401 2002-08-04  John Levon  <levon@movementarian.org>
6402
6403         * BufferView.h:
6404         * BufferView.C: cosmetic change
6405
6406         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6407
6408         * bufferlist.C:
6409         * buffer.h:
6410         * buffer.C:
6411         * lyxcb.h:
6412         * lyxcb.C:
6413         * lyxserver.C:
6414         * lyxvc.C:
6415         * vc-backend.C:
6416         * BufferView2.C: purge all "Lyx" not "LyX" strings
6417
6418         * lyxcursor.h:
6419         * lyxcursor.C: attempt to add some documentation
6420
6421         * lyxfunc.C:
6422         * commandtags.h:
6423         * LyXAction.C:
6424         * ToolbarDefaults.C:
6425         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6426           merge with LFUN_TABULAR_INSERT
6427
6428         * Makefile.am:
6429         * SpellBase.h:
6430         * ispell.h:
6431         * ispell.C:
6432         * pspell.h:
6433         * pspell.C: split up i/pspell implementations into separate
6434           files, many cleanups
6435
6436         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6437
6438         * text2.C: some cleanup
6439
6440         * lyxfunc.C: don't check for isp_command == "none" any more, it
6441           didn't make any sense
6442
6443 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6444
6445         * counters.[Ch]
6446         * text2.C
6447         * paragraph.[Ch]
6448         * makefile.am: move counters functionality over
6449         from text2.C/paragraph.[Ch] to counters.[Ch], and
6450         make proper C++.
6451 2002-08-02  John Levon  <levon@movementarian.org>
6452
6453         * buffer.C: s/lyxconvert/lyx2lyx/
6454
6455 2002-08-02  Angus Leeming  <leeming@lyx.org>
6456
6457         * lyxlex.C: revert John's change as it breaks reading of the user
6458         preamble.
6459
6460 2002-08-02  Angus Leeming  <leeming@lyx.org>
6461
6462         * importer.C (Import):
6463         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6464         changes due to LyXView::view() now returning a boost::shared_ptr.
6465
6466 2002-08-02  John Levon  <levon@movementarian.org>
6467
6468         * lyxlex.C: small cleanup
6469
6470 2002-08-02  John Levon  <levon@movementarian.org>
6471
6472         * text2.C (status): small cleanup, no logic change
6473
6474 2002-08-01  John Levon  <levon@movementarian.org>
6475
6476         * buffer.h:
6477         * buffer.C (writeFile): don't output alerts, caller
6478           handles this
6479
6480         * bufferlist.C:
6481         * lyx_cb.C: from above
6482
6483         * lyxfunc.C: allow to open non-existent files
6484
6485 2002-07-31  John Levon  <levon@movementarian.org>
6486
6487         * lyxserver.C: don't let incidental errors get
6488           in the way (errno)
6489
6490 2002-07-30  John Levon  <levon@movementarian.org>
6491
6492         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6493
6494 2002-07-30  John Levon  <levon@movementarian.org>
6495
6496         * lyxserver.h:
6497         * lyxserver.C: remove I/O callback too
6498
6499 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6500
6501         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6502         log.
6503
6504 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6505
6506         * many files: strip,frontStrip -> trim,ltrim,rtrim
6507
6508 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6509
6510         * PrinterParams.h: remove extern containsOnly, and include
6511         support/lstrings.h instead.
6512
6513         * LaTeX.C (scanAuxFile): modify because of strip changes
6514         (deplog): ditto
6515         * buffer.C (makeLaTeXFile): ditto
6516         * bufferparams.C (writeFile): ditt
6517         * lyxfont.C (stateText): ditto
6518         * lyxserver.C (read_ready): ditto
6519         * vc-backend.C (scanMaster): ditto
6520
6521         * BufferView_pimpl.h: ws changes
6522
6523         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6524
6525 2002-07-26  André Pönitz <poenitz@gmx.net>
6526
6527         * kb_sequence.C: remove unnedred usings
6528
6529 2002-07-26  Juergen Vigna  <jug@sad.it>
6530
6531         * lyxfind.C (LyXReplace): we have to check better if the returned
6532         text is not of theLockingInset()->getLockingInset().
6533
6534 2002-07-25  Juergen Vigna  <jug@sad.it>
6535
6536         * lyxfind.C (LyXReplace): don't replace if we don't get the
6537         right LyXText.
6538
6539         * undo_funcs.C (createUndo): remove debugging code.
6540
6541 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6542
6543         * buffer.C (parseSingleLyXformat2Token): Use default placement
6544         when reading old floats.
6545
6546         * FloatList.C (FloatList): Change the default placement of figure
6547         and tables to "tbp".
6548
6549 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6550
6551         * MenuBackend.C: using std::max
6552
6553 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6554
6555         * MenuBackend.C (expandToc):
6556         (expandToc2): code moved from xforms menu frontend. It is now
6557         generic and TOCs are transparent to menu frontends.
6558
6559 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6560
6561         * toc.C (getTocList): protect against buf=0
6562
6563         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6564         Menu as first parameter. Now, this calls itself recursively to
6565         expand a whole tree (this will be useful for TOC handling)
6566         (expandFloatInsert): remove 'wide' version of floats
6567
6568         * MenuBackend.h (submenuname): returns the name of the submenu.
6569         (submenu): returns the submenu itself, provided it has been
6570         created by MenuBackend::expand
6571
6572 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6573
6574         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6575         insets which have noFontChange == true. (bug #172)
6576
6577 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6578
6579         * BufferView_pimpl.C: add connection objects and use them...
6580         (Pimpl): here.
6581
6582 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6583
6584         * MenuBackend.C (expandLastfiles):
6585         (expandDocuments):
6586         (expandFormats):
6587         (expandFloatListInsert):
6588         (expandFloatInsert):
6589         (expand): split expand in parts
6590
6591 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6592
6593         * lyx_gui.C: use lyx_gui::exit()
6594
6595 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6596
6597         * LyXAction.C: show the failing pseudo action
6598
6599 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6600
6601         * buffer.C (readFile): Run the lyxconvert script in order to read
6602         old files.
6603
6604 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6605
6606         * LyXAction.C:
6607         * commandtags.h:
6608         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6609
6610 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6611
6612         * LyXAction.C:
6613         * commandtags.h:
6614         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6615
6616 2002-07-22  Herbert Voss  <voss@lyx.org>
6617
6618         * lengthcommon.C:
6619         * lyxlength.[Ch]: add support for the vertical lengths
6620
6621 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6622
6623         * toc.[Ch]: std:: fixes
6624
6625 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6626
6627         * lyxrc.C: do not include lyx_main.h
6628
6629         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6630         for layouts
6631
6632         * lyxrc.C:
6633         * encoding.C:
6634         * bufferlist.C:
6635         * BufferView2.C: include "lyxlex.h"
6636
6637         * tabular.h:
6638         * bufferparams.h: do not #include "lyxlex.h"
6639
6640         * lyxtextclasslist.C (Add): remove method
6641         (classlist): renamed to classlist_
6642
6643         * paragraph_pimpl.C:
6644         * paragraph.C:
6645         * text2.C:
6646         * CutAndPaste.C:
6647         * bufferview_funcs.C:
6648         * bufferlist.C:
6649         * text.C:
6650         * LaTeXFeatures.C:
6651         * buffer.C:
6652         * toc.C (getTocList): use BufferParams::getLyXTextClass
6653
6654         * toc.C (getTocList): use InsetFloat::addToToc
6655
6656         * toc.[Ch]: new files, containing helper functions to handle table
6657         of contents
6658
6659         * lyxfunc.C (dispatch): no need to remove spaces around command
6660         given as a string
6661         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6662         first command of the sequence; it is not very clever, but I do not
6663         have a better idea, actually
6664
6665         * LyXAction.C (LookupFunc): make sure to remove space at the
6666         beginning and end of the command
6667
6668 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6669
6670         * MenuBackend.C (getMenubar): new method: return the menubar of
6671         this menu set
6672         (read): treat differently reading of menu and menubar (in
6673         particular, the menubar has no name now)
6674         (Menu::menubar): remove
6675
6676         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6677         saving is finished
6678
6679 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6680
6681         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6682         a bibitem inset in a RTL paragraph.
6683
6684 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6685
6686         * paragraph_pimpl.C: constify
6687
6688         * BufferView_pimpl.C:
6689         * LaTeX.C:
6690         * lyxfunc.C: fix dispatch in a nicer way
6691
6692 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6693
6694         * lyxfunc.C (dispatch):
6695         * BufferView_pimpl.C:
6696         * BufferView_pimpl.h:
6697         * BufferView.C:
6698         * BufferView.h: rename Dispatch() to dispatch()
6699
6700         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6701
6702         * lyxlayout.C (Read): honor DependsOn tag
6703
6704         * lyxlayout.[Ch] (depends_on): new method
6705
6706         * version.C.in: update lyx_docversion
6707
6708         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6709
6710         * paragraph.C (validate): remove from here...
6711         * paragraph_pimpl.C (validate): ... and move here
6712         (isTextAt): make it const
6713
6714         * buffer.C (getLists): ws cleanup
6715
6716 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6717
6718         * language.C (read): Use iso8859-1 encoding in latex_lang
6719         (this prevents LyX from crashing when using iso10646-1 encoding).
6720
6721 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6722
6723         * text2.C (toggleInset): if cursor is inside an inset, close the
6724         inset and leave cursor _after_ it
6725
6726 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6727
6728         * lyxfunc.C: move minibuffer completion handling out of here
6729
6730 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6731
6732         * BufferView_pimpl.C:
6733         * LaTeX.C: fix dispatch calls
6734
6735 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6736
6737         * text.C (drawChars): Fix Arabic text rendering.
6738
6739 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6740
6741         * LyXAction.C:
6742         * commandtags.h:
6743         * lyxfunc.C: remove message-push/pop
6744
6745         * lyxserver.C:
6746         * lyxfunc.h:
6747         * lyxfunc.C: rationalise some code by removing verboseDispatch
6748           in favour of a bool argument to dispatch()
6749
6750 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6751
6752         * lyx_main.C (init): make sure to read symlinks as absolute paths
6753
6754 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6755
6756         * lyxfunc.h:
6757         * lyxfunc.C: no need for commandshortcut to be a member
6758
6759 2002-07-15  André Pönitz <poenitz@gmx.net>
6760
6761         * converter.C: add support for $$s (scripts from lib/scripts dir)
6762         * lyx_main.C: white space
6763
6764 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6765
6766         * bufferlist.C:
6767         * lyxrc.h:
6768         * lyxrc.C: remove second exit confirmation
6769
6770 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6771
6772         * BufferView.h:
6773         * BufferView.C:
6774         * BufferView2.C:
6775         * BufferView_pimpl.h:
6776         * BufferView_pimpl.C:
6777         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6778
6779 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6780
6781         * MenuBackend.C (expand): add numeric shortcuts to document menu
6782
6783         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6784
6785 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6786
6787         * lyxfont.C (setLyXFamily):
6788         (setLyXSeries):
6789         (setLyXShape):
6790         (setLyXSize):
6791         (setLyXMisc):
6792         (lyxRead):
6793         * debug.C (value):
6794         * buffer.C (asciiParagraph): use ascii_lowercase
6795
6796 2002-07-15  Mike Fabian  <mfabian@suse.de>
6797
6798         * lyxlex_pimpl.C (search_kw):
6799         * lyxlex.C (getLongString):
6800         * converter.h (operator<):
6801         * converter.C (operator<):
6802         * buffer.C (parseSingleLyXformat2Token):
6803         (asciiParagraph):
6804         * ToolbarDefaults.C (read):
6805         * MenuBackend.C (checkShortcuts):
6806         (read):
6807         * LColor.C (getFromGUIName):
6808         (getFromLyXName): use the compare_ascii_no_case instead of
6809         compare_no_case, because in turkish, 'i' is not the lowercase
6810         version of 'I', and thus turkish locale breaks parsing of tags.
6811
6812 2002-07-16  Angus Leeming  <leeming@lyx.org>
6813
6814         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6815         now takes a Buffer const & argument.
6816
6817 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6818
6819         * BufferView.C (resize): check there's a buffer to resize
6820
6821 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6822
6823         * lyxfunc.C: remove dead code
6824
6825         * lyxserver.h:
6826         * lyxserver.C: use lyx_guii::set_read_callback
6827
6828 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6829
6830         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6831         an inset in a RTL paragraph.
6832
6833 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6834
6835         * lyxfunc.C: repaint after a font size update
6836
6837 2002-07-15  André Pönitz <poenitz@gmx.net>
6838
6839         * lyxlength.C: inBP should be able to return negative values
6840
6841 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6842
6843         * lyxfunc.C: use lyx_gui::update_fonts()
6844
6845 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6846
6847         * lyxfunc.C: use lyx_gui::update_color()
6848
6849 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6850
6851         * bufferlist.C:
6852         * lyxfunc.h:
6853         * lyxfunc.C:
6854         * lyxrc.h:
6855         * lyxrc.C: remove file->new asks for name option, and let
6856           buffer-new take an argument
6857
6858 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6859
6860         * BufferView_pimpl.C: remove unneeded extra repaint()
6861
6862 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6863
6864         * LyXAction.C: allow command-sequence with NoBuffer
6865
6866         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6867
6868 2002-07-10  Angus Leeming  <leeming@lyx.org>
6869
6870         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6871
6872 2002-07-09  Angus Leeming  <leeming@lyx.org>
6873
6874         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6875
6876 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6877
6878         * lengthcommon.h: whitespace
6879
6880         * lyxfunc.C: update scrollbar after goto paragraph
6881
6882         * lyxtext.h: factor out page break drawing, and fix it so
6883           page break/added space paints as selected nicely
6884
6885 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6886
6887         * BufferView_pimpl.C: add FIXMEs, clean up a little
6888
6889 2002-07-09  André Pönitz <poenitz@gmx.net>
6890
6891         * lyxfont.[Ch]: support for wasy symbols
6892
6893 2002-07-08  André Pönitz <poenitz@gmx.net>
6894
6895         * BufferView_pimpl.C: apply John's patch for #93.
6896
6897 2002-07-05  Angus Leeming  <leeming@lyx.org>
6898
6899         * BufferView_pimpl.C (buffer): generate previews if desired.
6900
6901         * LColor.h: add "preview" to the color enum.
6902
6903         * LColor.C (LColor): add a corresponding entry to the items array.
6904
6905         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6906         with this buffer.
6907
6908 2002-07-05  Angus Leeming  <leeming@lyx.org>
6909
6910         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6911         The body of the code is now in the method that is passed an ostream &
6912         rather than a file name.
6913         Pass an additional only_preamble parameter, useful for the forthcoming
6914         preview stuff.
6915
6916 2002-07-03  André Pönitz <poenitz@gmx.net>
6917
6918         * lyxfunc.C: simplify getStatus() a bit for math stuff
6919
6920 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6921
6922         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6923
6924 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6925
6926         * text.C (changeRegionCase): do not change case of all the
6927         document when region ends at paragraph end (bug #461)
6928
6929 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6930
6931         * paragraph.C (startTeXParParams):
6932         (endTeXParParams): add \protect when necessary
6933
6934 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6935
6936         * BufferView_pimpl.C (workAreaExpose): remove warning
6937
6938 2002-06-27  Angus Leeming  <leeming@lyx.org>
6939
6940         * Makefile.am: add lyxlayout_ptr_fwd.h.
6941
6942 2002-06-26  André Pönitz <poenitz@gmx.net>
6943
6944         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6945
6946 2002-06-25  Angus Leeming  <leeming@lyx.org>
6947
6948         * lyxfunc.C (dispatch): Comment out the call to
6949         grfx::GCache::changeDisplay. The method no longer exists now that the
6950         pixmap generation part of the graphics loader has been moved into
6951         InsetGraphics.
6952
6953 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6954
6955         * text2.C: layout as layout
6956
6957         * text.C: layout as layout
6958
6959         * tabular.C (OldFormatRead): layout as layout
6960
6961         * paragraph_pimpl.C (TeXDeeper): layout as layout
6962         (realizeFont): layout as layout
6963
6964         * paragraph.C (writeFile): layout as layout
6965         (validate): layout as layout
6966         (getFont): layout as layout
6967         (getLabelFont): layout as layout
6968         (getLayoutFont): layout as layout
6969         (breakParagraph): layout as layout
6970         (stripLeadingSpaces): layout as layout
6971         (getEndLabel): layout as layout
6972         (getMaxDepthAfter): layout as layout
6973         (applyLayout): layout as layout
6974         (TeXOnePar): layout as layout
6975         (simpleTeXOnePar): layout as layout
6976         (TeXEnvironment): layout as layout
6977         (layout): layout as layout
6978         (layout): layout as layout
6979
6980         * lyxtextclass.C (compare_name): new functor to work with
6981         shared_ptr, layout as layout
6982         (Read): layout as layout
6983         (hasLayout): layout as layout
6984         (operator): layout as layout
6985         (delete_layout): layout as layout
6986         (defaultLayout): layout as layout
6987
6988         * lyxlayout_ptr_fwd.h: new file
6989
6990         * lyxlayout.C (Read): layout as layout
6991
6992         * lyx_cb.C (MenuInsertLabel): layout as layout
6993
6994         * bufferlist.C (newFile): layout as layout
6995
6996         * buffer.C (readLyXformat2): layout as layout
6997         (parseSingleLyXformat2Token): layout as layout
6998         (insertStringAsLines): layout as layout
6999         (asciiParagraph): layout as layout
7000         (latexParagraphs): layout as layout
7001         (makeLinuxDocFile): layout as layout
7002         (simpleLinuxDocOnePar): layout as layout
7003         (makeDocBookFile): layout as layout
7004         (simpleDocBookOnePar): layout as layout
7005         (getLists): layout as layout
7006
7007         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7008
7009         * CutAndPaste.C (cutSelection): layout as layout
7010         (pasteSelection): layout as layout
7011         (SwitchLayoutsBetweenClasses): layout as layout
7012
7013         * BufferView_pimpl.C (Dispatch): layout as layout
7014         (smartQuote): layout as layout
7015
7016         * BufferView2.C (unlockInset): layout as layout
7017
7018 2002-06-24  André Pönitz <poenitz@gmx.net>
7019
7020         * lyxfunc.C: fix #487
7021
7022 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7023
7024         * lyxrc.h:
7025         * lyxrc.C:
7026         * lyxfunc.C: remove display_shortcuts, show_banner
7027
7028 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7029
7030         * Buffer_pimpl.C: oops, update on resize
7031
7032 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7033
7034         * buffer.C:
7035         * converter.C:
7036         * exporter.C:
7037         * lyxfunc.C:
7038         * BufferView.h:
7039         * BufferView.C: use repaint()
7040
7041         * BufferView_pimpl.h:
7042         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7043           as it's a clearer description. Remove superfluous
7044           redraws.
7045
7046 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7047
7048         * text.C: fix bug 488. Not ideal, but getting
7049           getWord() to work properly for the insets that
7050           matter is more difficult ...
7051
7052 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7053
7054         * BufferView_pimpl.C:
7055         * LyXAction.C:
7056         * commandtags.h:
7057         * lyxfunc.C: remove the six million index lyxfuncs to just
7058           one, and DTRT (bug 458)
7059
7060 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7061
7062         * BufferView.h:
7063         * BufferView.C:
7064         * BufferView_pimpl.h:
7065         * BufferView_pimpl.C: clean up resize() stuff,
7066           and unnecessary updateScreen()s
7067
7068 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7069
7070         * BufferView.h:
7071         * BufferView.C:
7072         * BufferView_pimpl.h:
7073         * BufferView_pimpl.C:
7074         * lyxfind.h:
7075         * lyxfind.C:
7076         * minibuffer.C: remove focus management of workarea,
7077           not needed. Use screen's greyOut()
7078
7079 2002-06-17  Herbert Voss  <voss@lyx.org>
7080
7081         * converter.C: (convert) do not post a message, when converting
7082         fails, let the calling function decide what to do in this case
7083
7084 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7085
7086         * lyxfunc.C: tidy up a little
7087
7088 2002-06-16    <alstrup@diku.dk>
7089
7090         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7091         Got rid of FORMS_H_LOCATION include. Now we are
7092         GUII.
7093
7094 2002-06-15  LyX Development team  <lyx@rilke>
7095
7096         * buffer.[Ch] (sgmlOpenTag):
7097         (sgmlCloseTag): Added support for avoiding pernicious mixed
7098         content. Return number of lines written.
7099
7100         (makeLinuxDocFile):
7101         (makeDocBookFile): Fixed calls to sgml*Tag.
7102         Simple white space clean.
7103
7104         (simpleDocBookOnePar): Simple white space clean.
7105
7106         * tabular.[Ch] (docBook): Renamed to docbook and got another
7107         argument to related with the pernicious mixed content.
7108
7109         (docbookRow): Fixed calls for docbook inset method.
7110
7111 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7112
7113         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7114         so it's X11 independent.
7115
7116         * kb*.[Ch]: ditto.
7117
7118         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7119
7120 2002-06-15  Lyx Development team  <lyx@electronia>
7121
7122         * intl.h: Renamed getTrans to getTransManager.
7123
7124 2002-06-14  Angus Leeming  <leeming@lyx.org>
7125
7126         * Makefile.am: nuke forgotten stl_string_fwd.h.
7127
7128 2002-06-12  Angus Leeming  <leeming@lyx.org>
7129
7130         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7131
7132 2002-06-13  Angus Leeming  <leeming@lyx.org>
7133
7134         * LaTeX.C:
7135         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7136
7137 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7138
7139         * kbmap.C (getiso): add support for cyrillic and greek
7140
7141 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7142
7143         * BufferView.h:
7144         * BufferView.C:
7145         * BufferView_pimpl.h:
7146         * BufferView_pimpl.C: move bogus scrolling logic
7147           to xforms
7148
7149 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7150
7151         * lyxfunc.C:
7152         * BufferView_pimpl.C: view->resize() change
7153
7154 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7155
7156         * BufferView_pimpl.C: topCursorVisible
7157           prototype change
7158
7159 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7160
7161         * Makefile.am:
7162         * lyx_gui.h:
7163         * lyx_gui.C: move to frontends/
7164
7165         * main.C:
7166         * lyx_main.h:
7167         * lyx_main.C: changes from above
7168
7169 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7170
7171         * intl.C:
7172         * intl.h:
7173         * kbmap.C:
7174         * kbsequence.C:
7175         * lyx_cb.C:
7176         * lyx_main.C: minor tidy
7177
7178 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7179
7180         * BufferView_pimpl.h:
7181         * BufferView_pimpl.C:
7182         * BufferView.h:
7183         * BufferView.C: make painter() const,
7184           remove dead code
7185
7186         * BufferView2.C: use screen() accessor
7187
7188         * lyx_main.h:
7189         * lyx_main.C: some minor cleanup
7190
7191 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7192
7193         * BufferView_pimpl.h:
7194         * BufferView_pimpl.C: remove enter/leaveView,
7195           use workHeight()
7196
7197 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7198
7199         * BufferView.h:
7200         * BufferView.C:
7201         * BufferView2.C:
7202         * BufferView_pimpl.h:
7203         * BufferView_pimpl.C: only construct screen once,
7204           rename
7205
7206         * lyxrc.C: remove pointless comment
7207
7208 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7209
7210         * BufferView.h:
7211         * BufferView.C: remove active() and belowMouse()
7212
7213         * BufferView_pimpl.h:
7214         * BufferView_pimpl.C: use workarea() not workarea_,
7215           and make it use a scoped_ptr instead
7216
7217 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7218
7219         * lyx_gui.C: add debug message on BadWindow
7220
7221 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7222
7223         * sp_spell.C: fdopen is not part of the C++ standard.
7224
7225         * paragraph.C (InsetIterator): use >= instead of ==
7226
7227 2002-06-07  Angus Leeming  <leeming@lyx.org>
7228
7229         Fixes needed to compile with Compaq cxx 6.5.
7230         * BufferView_pimpl.C:
7231         * DepTable.C:
7232         * buffer.C:
7233         * converter.C:
7234         * encoding.C:
7235         * lyx_gui.C:
7236         * lyx_main.C:
7237         * lyxtextclasslist.C:
7238         * minibuffer.C:
7239         * sp_spell.C:
7240         * tabular_funcs.C:
7241         * vc-backend.C:
7242         all c-library variables have been moved into namespace std. Wrap
7243         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7244
7245         * lyxlength.C:
7246         * tabular-old.C:
7247         * tabular.C:
7248         Add a using std::abs declaration.
7249
7250         * kbmap.h (modifier_pair):
7251         * paragraph.h (InsetTable, InsetList):
7252         * lyxfont.h (FontBits):
7253         type definition made public.
7254
7255         * bufferlist.C (emergencyWriteAll): the compiler complains that
7256         there is more than one possible lyx::class_fun template to choose from.
7257         I re-named the void specialisation as lyx::void_class_fun.
7258
7259         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7260
7261         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7262         the compiler is is unable to find tostr in write_attribute.
7263
7264 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7265
7266         * buffer.C (sgmlError): hide #warning
7267
7268 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7269
7270         * xtl/*: get rid of xtl, which is not in use anyway
7271
7272         * LyXAction.C (init):
7273         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7274         were unimplemented xtl experimentation
7275
7276 2002-06-04  André Pönitz <poenitz@gmx.net>
7277
7278         * lyxfunc.C: disable array operation on simple formulae
7279
7280 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7281
7282         * converter.C: constify a bit
7283
7284 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7285
7286         * lyx_gui.C: check xforms version correctly
7287
7288 2002-04-30  Herbert Voss  <voss@lyx.org>
7289
7290         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7291         "keep" option
7292
7293 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7294
7295         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7296           attempt to register it with a VCS)
7297
7298 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7299
7300         * lyx_main.C (init): honor variables LYX_DIR_13x and
7301         LYX_USERDIR_13x
7302
7303 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7304
7305         * buffer.h:
7306         * buffer.C:
7307         * lyx_main.C: fix a crash on bad command line,
7308           and give a useful exit status on error
7309
7310         * lyxfunc.C (doImport): allow -i lyx to work
7311
7312 2002-03-30  André Pönitz <poenitz@gmx.net>
7313
7314         * lyxfunc.C: mathed font changes
7315
7316 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7317
7318         * LaTeX.C:
7319         * importer.h:
7320         * importer.C:
7321         * lyx_sty.h:
7322         * lyx_sty.C:
7323         * lyxlex.C:
7324         * lyxrow.h:
7325         * lyxtext.h:
7326         * paragraph.h:
7327         * paragraph.C:
7328         * texrow.h:
7329         * texrow.C:
7330         * text.C:
7331         * trans_mgr.h: srcdocs, and some minor cleanups
7332
7333 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7334
7335         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7336         call getFont all the time)
7337
7338 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7339
7340         * switch from SigC signals to boost::signals
7341
7342 2002-05-29  André Pönitz <poenitz@gmx.net>
7343
7344         * paragraph_pimpl.C (getChar): don't call size() too often...
7345
7346 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7347
7348         * paragraph_pimpl.C (insertChar): do not try to update tables when
7349         appending (pos == size())
7350
7351         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7352         in order to reduce drastically the number of comparisons needed to
7353         parse a large document
7354
7355 2002-05-29  André Pönitz <poenitz@gmx.net>
7356
7357         * text.C:
7358         * text2.C:
7359         * lyxtextclass.C:
7360         * sp_pspell.h:
7361         * textclasslist.[Ch]:
7362         * sp_ispell.h: whitespace change
7363
7364 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7365
7366         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7367         lyxaction directly now.
7368
7369 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7370
7371         * trans.C:
7372         * lyxfont.C:
7373         * lyxvc.C: remove unused headers
7374
7375 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7376
7377         * Makefile.am:
7378         * buffer.h:
7379         * undostack.h:
7380         * undostack.C:
7381         * undo_funcs.h:
7382         * undo_funcs.C: some cleanups. Use shared_ptr
7383           and a template for the undo stacks.
7384
7385 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7386
7387         * BufferView_pimpl.h:
7388         * BufferView_pimpl.C:
7389         * kbmap.h:
7390         * kbmap.C:
7391         * kbsequence.h:
7392         * kbsequence.C:
7393         * lyxfunc.h:
7394         * lyxfunc.C:
7395         * text2.C: use key_state/mouse_state
7396
7397 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7398
7399         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7400         and LSubstring
7401
7402         * chset.C: change include order
7403         (loadFile): use boost regex and get rid of LRegex and LSubstring
7404
7405         * Makefile.am (BOOST_LIBS): new variable
7406         (lyx_LDADD): use it
7407
7408         * LaTeX.C: change include order.
7409         (scanAuxFile): use boost regex and get rid of LRegex and
7410         LSubstring
7411         (deplog): ditto
7412
7413 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7414
7415         * ColorHandler.h:
7416         * ColorHandler.C:
7417         * FontInfo.h:
7418         * FontInfo.C: moved to frontends/xforms/
7419
7420         * FontLoader.h:
7421         * FontLoader.C: moved into frontends for GUIIzation
7422
7423         * Makefile.am:
7424         * lyx_gui.C:
7425         * lyxfont.C:
7426         * lyxfunc.C: changes from above
7427
7428 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7429
7430         * LColor.C: remove spurious X include
7431
7432         * BufferView_pimpl.C:
7433         * Makefile.am:
7434         * font.h:
7435         * font.C:
7436         * text.C:
7437         * text2.C: move font metrics to frontends/
7438
7439 2002-05-24  Juergen Vigna  <jug@sad.it>
7440
7441         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7442         setting the undo_cursor.
7443
7444         * ParagraphParameters.h: include local includes first.
7445
7446 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7447
7448         * BufferView_pimpl.C:
7449         * BufferView_pimpl.h:
7450         * Makefile.am:
7451         * WorkArea.h:
7452         * WorkArea.C:
7453         * screen.C: move WorkArea into frontends/
7454
7455         * lyxscreen.h:
7456         * screen.C:
7457         * text.C:
7458         * BufferView.C:
7459         * BufferView2.C: move LyXScreen into frontends/
7460
7461         * lyxlookup.h:
7462         * lyxlookup.C:
7463         * lyx_gui.C: move lyxlookup into frontends/xforms/
7464
7465 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7466
7467         * BufferView2.C:
7468         * BufferView_pimpl.C:
7469         * FontLoader.C:
7470         * LyXView.h:
7471         * LyXView.C:
7472         * Makefile.am:
7473         * WorkArea.C:
7474         * XFormsView.h:
7475         * XFormsView.C:
7476         * buffer.C:
7477         * bufferlist.C:
7478         * bufferview_funcs.C:
7479         * converter.C:
7480         * importer.C:
7481         * lyx_cb.C:
7482         * lyx_gui.C:
7483         * lyx_main.C:
7484         * lyx_find.C:
7485         * lyxfunc.C:
7486         * lyxvc.C:
7487         * minibuffer.C:
7488         * text.C:
7489         * text2.C:
7490         * trans.C:
7491         * vc-backend.C: move LyX/XFormsView into frontends/
7492
7493 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7494
7495         * Makefile.am:
7496         * PainterBase.C:
7497         * PainterBase.h:
7498         * Painter.C:
7499         * Painter.h:
7500         * WorkArea.C:
7501         * WorkArea.h:
7502         * screen.C:
7503         * tabular.C:
7504         * text.C:
7505         * text2.C: move Painter to frontends/
7506
7507 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7508
7509         * buffer.C: comment out some some code that depend upon lyx_format
7510         < 220
7511
7512         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7513         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7514
7515         * buffer.h (NO_COMPABILITY): turn off compability
7516
7517         * ColorHandler.C: include scoped_array.hpp
7518
7519         * font.C: Use more specific smart_ptr header.
7520         * Painter.C: ditto
7521         * gettext.C: ditto
7522         * ShareContainer.h: ditto
7523         * lyx_main.h: ditto
7524         * kbmap.h: ditto
7525         * FontInfo.h: ditto
7526         * BufferView_pimpl.h: ditto
7527         * ColorHandler.h: ditto
7528
7529         * kbmap.C (defkey): change call to shared_ptr::reset
7530
7531 2002-05-21  Juergen Vigna  <jug@sad.it>
7532
7533         * buffer.C (insertErtContents): fix to insert ert asis if it is
7534         non empty. Skip it completely if it contains only whitespaces.
7535
7536 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7537
7538         * BufferView_pimpl.C:
7539         * BufferView2.C: clear selection on paste (bug 393)
7540
7541 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7542
7543         * DepTable.C: include ctime
7544
7545 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7546
7547         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7548
7549 2002-05-14  Juergen Vigna  <jug@sad.it>
7550
7551         * text.C (breakParagraph): fixed function to honor the keepempty
7552         layout in the right maner and also to permit the right breaking
7553         algorithm on empty or non empyt keepempty paragraphs.
7554
7555         * paragraph.C (breakParagraph): we have to check also if the par
7556         is really empty (!size()) for isempty otherwise we do the wrong
7557         paragraph break.
7558
7559 2002-05-10  Juergen Vigna  <jug@sad.it>
7560
7561         * buffer.[Ch] : The following are only changes to the ert
7562         compatibility read reading old LaTeX layout and font stuff and
7563         convert it to ERTInsets.
7564
7565         * buffer.h: added isErtInset().
7566
7567         * buffer.C (struct ErtComp): add a fromlayout bool to check
7568         if we're inside a LaTeX layout.
7569         (isErtInset): new helper function.
7570         (insertErtContents): look for other ert insets before this one
7571         and insert the contents there, so that we don't have subsequent
7572         ERT insets with nothing between them. This way we create only one
7573         inset with multiple paragraphs. Also check if we don't insert only
7574         spaces ' ' as they are ignored anyway afterwards in the .tex file
7575         so if we have only spaces we will ignore this latex part in the
7576         new file.
7577         (parseSingleLyXformat2Token \\layout): better compatibility when
7578         reading layout-latex stuff.
7579         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7580         language tag.
7581         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7582         stuff after reading the inset only get the information back from
7583         the stack.
7584
7585 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7586
7587         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7588
7589         * LaTeXFeatures.C (getBabelOptions): New method.
7590
7591 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7592
7593         * BufferView_pimpl.C (Dispatch): work around missing argument for
7594         'layout'
7595
7596 2002-05-08  Juergen Vigna  <jug@sad.it>
7597
7598         * text.C (leftMargin): handle paragraph leftindent.
7599
7600         * paragraph.C (writeFile): write the new \\leftindent tag.
7601         (validate): handle leftindent code.
7602         (TeXEnvironment): handle paragraphleftindent code again.
7603
7604         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7605
7606         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7607         for paragrap_extra indent code and new token \\leftindent.
7608         (latexParagraphs): handle the leftindent as environment.
7609
7610         * ParameterStruct.h: added leftindent support.
7611
7612         * ParagraphParameters.C (leftIndent): added support functions for
7613         the paragraph left indent.
7614
7615         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7616         more appropriate.
7617
7618 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7619
7620         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7621         inside insetERT.
7622
7623         * text.C (computeBidiTables): No bidi in insetERT.
7624
7625         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7626         in RTL documents.
7627
7628 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7629
7630         * version.C.in: pre 5
7631
7632 2002-05-02  José Matos  <jamatos@fep.up.pt>
7633         * buffer.C (makeDocBookFile): white space changes, add newline to
7634         command styles.
7635         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7636
7637         * tabular.C (docBook): fix typo.
7638
7639 2002-05-03  Juergen Vigna  <jug@sad.it>
7640
7641         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7642         change in LyXText as we can not be sure it was not freed.
7643         (drawOneRow): remove unused code.
7644
7645         * text.C (drawInset): redo the calculation of the need_break_row as
7646         it could have a row which was already freed.
7647         (draw): look at the return value of drawInset and return false if
7648         it also returned false.
7649         (paintRowText): look at the return value of draw and return false if
7650         it also returned false.
7651
7652         * lyxtext.h: added bool return type to drawInset() and draw() so that
7653         if we have a change in the row so that the rowbreak has to be redone
7654         we abort drawing as it will be called again.
7655
7656 2002-05-02  Juergen Vigna  <jug@sad.it>
7657
7658         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7659         a change in the maintext also if we're inside an inset.
7660         (Dispatch): set the cursor again after a break line and after the
7661         screen has been updated as it could be we're in a different row.
7662
7663         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7664         to set the cursor behind the pargraph with > size().
7665         (setCursor): check also for the same paragraph when checking where
7666         to put the cursor if we have a NFR inset.
7667
7668         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7669         parts of layout read further up as it still was in the wrong
7670         position.
7671
7672 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7673
7674         * screen.C (drawFromTo): change sine fullRebreak always return
7675         true.
7676
7677         * buffer.C (parseSingleLyXformat2Token): reindent some
7678
7679         * BufferView_pimpl.C (update): change since fullRebreak always
7680         return true.
7681         (Dispatch): git rid of the last hardcoded "Standard"s.
7682
7683 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7684
7685         * text2.[Ch] (fullRebreak): make it return void now that we always
7686         returned true.
7687
7688 2002-04-30  Juergen Vigna  <jug@sad.it>
7689
7690         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7691         ert compatibility check for "latex" layout.
7692
7693 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7694
7695         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7696         minipages: use col% instead of p%, and also use the current font.
7697         (makeLaTeXFile): Fix use babel condition.
7698         (parseSingleLyXformat2Token): Correct font when reading old floats.
7699
7700 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7701
7702         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7703         inserting list of floats.
7704
7705 2002-04-25  Herbert Voss  <voss@lyx.org>
7706
7707         * MenuBackend.C (expand): don't add the graphics extensions to the
7708         export menu
7709
7710 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7711
7712         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7713         non-existing layout, do not complain if it was the default layout
7714         of the original class (bug #342)
7715
7716 2002-04-24  Juergen Vigna  <jug@sad.it>
7717
7718         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7719         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7720
7721 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7722
7723         * buffer.C (getBibkeyList): If using \bibliography, return the
7724         option field with the reference itself. Enables us to provide natbib
7725         support when using \bibliography.
7726
7727 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7728
7729         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7730
7731         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7732         natbib is provided by the LaTeX class.
7733
7734 2002-04-23  Juergen Vigna  <jug@sad.it>
7735
7736         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7737         Wakeup functions.
7738
7739         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7740
7741 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7742
7743         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7744
7745         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7746         ensuremath around textordmasculine, textordfeminine and
7747         textdegree.
7748
7749 2002-04-19  Juergen Vigna  <jug@sad.it>
7750
7751         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7752         reinitializing the buffer otherwise row-dimensions may be wrong.
7753         (update): reset also the selection cursors if they do exits otherwise
7754         their x/y positions may be wrong.
7755
7756         * text2.C (cursorDown): don't enter the inset if we came from a row
7757         above and are one row over the inset.
7758
7759         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7760         really leaving an inset.
7761
7762 2002-04-18  Juergen Vigna  <jug@sad.it>
7763
7764         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7765         of the selected paragraph does not have the selected layout also if
7766         the last one had!
7767
7768         * text2.C (setLayout): fixed bug which did not change last selected
7769         paragraph.
7770
7771         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7772         changed the read and substituted \\end_float with \\end_inset!
7773
7774         * BufferView_pimpl.C (cursorPrevious):
7775         (cursorNext): fixed to make it work with rows heigher than the work
7776         area without moving the cursor only the draw of the row.
7777         (workAreaMotionNotify): fix jumping over high rows.
7778
7779 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7780
7781         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7782         Ressler.
7783
7784 2002-04-16  Juergen Vigna  <jug@sad.it>
7785
7786         * text2.C (setCursor): set also the irow().
7787         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7788         (cursorUp):
7789         (cursorDown): support for locking an inset if the x_fix value goes
7790         inside it. That way I can transverse insets too with cursor up/down.
7791
7792         * lyxrow.h: added irow helper function same as other (i) functions.
7793
7794         * BufferView_pimpl.C (cursorPrevious):
7795         (cursorNext): fixed for insets!
7796
7797 2002-04-15  Juergen Vigna  <jug@sad.it>
7798
7799         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7800         position otherwise it is wrong in some cases.
7801
7802         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7803         inside the inset before the call.
7804
7805 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7806
7807         * buffer.[Ch] (getBibkeyList): make it const.
7808
7809 2002-04-12  Juergen Vigna  <jug@sad.it>
7810
7811         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7812
7813         * text2.C (getCursorX): new helper function
7814         (setCursor): compute also ix_
7815         (setCursorFromCoordinates): set also ix.
7816
7817         * lyxcursor.h: added ix_ and helper functions.
7818
7819         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7820
7821         * buffer.C (insertStringAsLines): dont break paragraph if the this
7822         paragraph is inside an inset which does not permit it!
7823
7824         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7825         also with no chars on this paragraph.
7826         (paintRowText): only paint stuff if it's inside the workarea!
7827
7828         * paragraph.C (breakParagraph): honor keepempty flag and break the
7829         paragraph always below not above.
7830
7831         * BufferView2.C (unlockInset): update the paragraph layout on inset
7832         unlock as we changed paragraph in such a case.
7833
7834         * lyxfind.C (LyXFind): clear the former selection if not found!
7835
7836         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7837         again called in insertChar().
7838
7839         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7840         an inset which uses the whole row!
7841         (rightMargin): ditto.
7842         (insertChar): force a rebreak if we inserted an inset!
7843
7844 2002-03-28  Herbert Voss  <voss@lyx.org>
7845
7846         * lyxlength.[Ch]: add inBP() to get the right PS-point
7847         units (BigPoint). With inPixels we have rounding errors
7848
7849 2002-04-11  Juergen Vigna  <jug@sad.it>
7850
7851         * text2.C (setCursorFromCoordinates): set iy to the right value.
7852         (setCursor): add check if row->previous exists!
7853
7854         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7855         an old float_type as this was the case in the old code!
7856
7857         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7858
7859         * BufferView2.C (showLockedInsetCursor): use iy
7860         (fitLockedInsetCursor): ditto
7861
7862         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7863         locked insets as there we have the right value now.
7864
7865         * lyxcursor.C: added iy_ variable and iy functions to set to the
7866         baseline of cursor-y of the locked inset.
7867
7868         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7869         (setCursor): fixed for insets which need a full row.
7870
7871         * text.C (rowLastPrintable): don't ignore the last space when before
7872         an inset which needs a full row.
7873         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7874         as last character of a row when before a inset which needs a full row.
7875
7876 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7877
7878         * version.C.in: update date
7879
7880         * text2.C (fullRebreak): try to always return true and see what
7881         happens...
7882
7883 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7884
7885         * MenuBackend.C (expand): use Floating::listName
7886
7887         * FloatList.C (FloatList): add listName argument to the built-in
7888         floats
7889
7890         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7891         text associated with the float.
7892
7893 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7894
7895         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7896
7897 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7898
7899         * ShareContainer.h: add a couple of missing typenames.
7900
7901 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7902
7903         * lyxrc.C (getDescription): use _() correctly rather than N_().
7904
7905 2002-03-28  Herbert Voss  <voss@lyx.org>
7906
7907         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7908         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7909
7910 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7911
7912         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7913         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7914
7915 2002-03-29  Juergen Vigna  <jug@sad.it>
7916
7917         * lyxfunc.C (dispatch): add a missing fitCursor call.
7918
7919         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7920         it was scrolled by a cursor move, so return the bool status.
7921
7922         * BufferView.C (fitCursor): return the bool flag also to the outside
7923         world as this is needed.
7924
7925         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7926
7927         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7928         call the edit() as it is not needed (and wrong) IMO.
7929         (workAreaButtonPress): set the screen_first variable before evt.
7930         unlock the inset as this may change screen_first and then we have
7931         a wrong y position for the click!
7932
7933 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7934
7935         * MenuBackend.C (expand): another translation that I missed
7936
7937 2002-03-28  Juergen Vigna  <jug@sad.it>
7938
7939         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7940
7941         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7942
7943 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7944
7945         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7946
7947         * MenuBackend.C (expand): fix export/view/update when there is no
7948         document open.
7949
7950 2002-03-27  Herbert Voss  <voss@lyx.org>
7951
7952         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7953         and text%
7954
7955 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7956
7957         * bufferview_funcs.C (currentState): only show paragraph number
7958         for is DEVEL_VERSION is set.
7959
7960         * lyxfunc.C (dispatch): put warning in INFO channel
7961
7962         * MenuBackend.C (expand): translate the name of floats
7963
7964         * FloatList.C (FloatList): mark the float names for translation
7965
7966         * converter.C (convert): use LibScriptSearch
7967
7968 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7969
7970         * MenuBackend.C (defaults): fix default menu (we might as well get
7971         rid of it...)
7972
7973 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7974
7975         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7976         directory.
7977
7978 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7979
7980         * lyxvc.C: reorder includes.
7981
7982 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7983
7984         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7985           properly
7986
7987 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7988
7989         * CutAndPaste.C: change layouts earlier on paste
7990           to avoid crashing when calling getFont()
7991
7992 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7993
7994         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7995         irritating #error.
7996
7997 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7998
7999         * WorkArea.C: remove 'Pending' debug message.
8000
8001         * most files: ws cleanup
8002
8003         * buffer.[Ch]: ws changes
8004
8005         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8006
8007 2002-03-21  Juergen Vigna  <jug@sad.it>
8008
8009         * tabular.C (SetMultiColumn): collapse also the contents of the
8010         cells and set the last border right. Added a Buffer const * param.
8011
8012 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8013
8014         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8015         linking or not.
8016
8017 2002-03-19  Juergen Vigna  <jug@sad.it>
8018
8019         * text2.C (clearSelection): reset also xsel_cache.
8020
8021         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8022         where it needs to be called (John tells us to do so too :)
8023         (selectionLost): reset sel_cache.
8024
8025         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8026
8027 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8028
8029         * text2.C (setCursorIntern): put debuging code in INSETS channel
8030
8031 2002-03-19  André Pönitz <poenitz@gmx.net>
8032
8033         * lyxfunc.C: tiny whitespace change
8034
8035 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8036
8037         * ToolbarDefaults.C (init):
8038         * LyXAction.C (init):
8039         * commandtags.h:
8040         * BufferView_pimpl.C (Dispatch):
8041         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8042
8043 2002-03-19  Allan Rae  <rae@lyx.org>
8044
8045         * exporter.C (Export): removeAutoInsets before doing anything else.
8046         While I've just introduced a dependency on BufferView this really is
8047         the best place to clean the buffer otherwise you need to cleanup in
8048         a dozen places before calling export or cleanup in a dozen functions
8049         that export calls.
8050
8051         * converter.C (runLaTeX):
8052         (scanLog): Better handling of removeAutoInsets and screen updates.
8053
8054         * lyxfunc.C (dispatch): small whitespace changes
8055
8056 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8057
8058         * WorkArea.C (C_WorkAreaEvent): return a value.
8059         (event_cb): return 1 if we handled the event, 0 otherwise.
8060
8061         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8062
8063 2002-03-18  Juergen Vigna  <jug@sad.it>
8064
8065         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8066         (GetAdditionalWidth): ditto.
8067         (RightLine): ditto.
8068         (LeftLine): ditto.
8069
8070         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8071         inset if we're there actually (probably not used right now but this
8072         is the direction to go for unifying code).
8073         (paste): disable code to clear the selection.
8074
8075         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8076         inside an InsetText and move the check further up as it is in the
8077         wrong place.
8078
8079         * text2.C (pasteSelection): set a selection over the pasted text.
8080
8081 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8082
8083         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8084         and libgraphics to build on Cygwin.
8085
8086 2002-03-15  Juergen Vigna  <jug@sad.it>
8087
8088         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8089         inserting an Inset into the paragraph. I know this is not the best
8090         fix but we already use current_view in CutAndPaste so we will remove
8091         all of it's using at the same time.
8092
8093         * buffer.C (sgmlError): deactivated function till it is rewritten in
8094         the right mode, now it can create problems.
8095
8096         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8097         before accessing it.
8098
8099 2002-03-14  Juergen Vigna  <jug@sad.it>
8100
8101         * undo_funcs.C (textHandleUndo): do the right thing when updating
8102         the inset after the undo/redo.
8103
8104         * text2.C (setCursor): just some testcode for #44 not ready yet.
8105
8106         * undo_funcs.C (textHandleUndo): set the next() and previous()
8107         pointers of the paragraph to 0 before deleting otherwise we have
8108         problems with the Paragraph::[destructor].
8109
8110         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8111         on a paragraph insertion.
8112
8113 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8114
8115         * buffer.C (asciiParagraph): use += operator for char append to
8116         string.
8117
8118         * paragraph.C (getFontSettings): compare >= not just >
8119         (highestFontInRange): ditto
8120         (setFont): ditto
8121
8122 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8123
8124         * paragraph.C: change several algorithm to be more appripriate for
8125         the problem domain. This is lookip in FontList and in the InsetList.
8126
8127 2002-03-13  André Pönitz <poenitz@gmx.net>
8128
8129         * commandtags.h:
8130         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8131
8132 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8133
8134         * commandtags.h:
8135         * LyXAction.C:
8136         * lyxfunc.C:
8137         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8138
8139 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8140
8141         * Painter.C (display): anon helper function, adjust code for this
8142         change.
8143         (pixmap): remove function.
8144
8145         * Painter.h: remove private display variable.
8146
8147         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8148
8149 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8150
8151         * WorkArea.[Ch]: remove figinset_canvas cruft.
8152
8153 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8154
8155         * lyxtextclass.C (operator): add one item cache optimization.
8156
8157         * bufferlist.h: doxy changes
8158
8159         * bufferlist.C: ws changes
8160
8161         * DepTable.[Ch] (ext_exist): place const in the right spot.
8162
8163         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8164         call resizeInsets.
8165         (workAreaExpose): call resizeInsets when the with BufferView changes.
8166         (Dispatch): adjust for protectedBlank removal
8167         (specialChar): call updateInset if the insert went ok.
8168
8169         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8170         specialChar instead.
8171
8172         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8173
8174         * BufferView.h: doxy change
8175
8176         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8177
8178         * lyxtextclass.C (operator[]): remove non-const version
8179         (defaultLayout): remove non-const version
8180
8181 2002-03-12  Juergen Vigna  <jug@sad.it>
8182
8183         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8184         did resize the LyXText too.
8185
8186         * buffer.C (readLyXformat2): set layout information on newly allocated
8187         paragraphs.
8188
8189         * tabular.C (OldFormatRead): set layout information on the paragraph.
8190
8191 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8192
8193         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8194
8195 2002-03-11  Juergen Vigna  <jug@sad.it>
8196
8197         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8198         plainly wrong.
8199         (resizeCurrentBuffer): force also the insets to resize themselfes.
8200         (moveCursorUpdate): fixed up for InsetText.
8201
8202 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8203
8204         * commandtags.h:
8205         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8206         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8207         value of Dialogs::tooltipsEnabled().
8208         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8209
8210 2002-03-08  Juergen Vigna  <jug@sad.it>
8211
8212         * BufferView_pimpl.C (updateInset): update inset inside inset also
8213         if it isn't inside theLockingInset().
8214
8215 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8216
8217         * buffer.C (asciiParagraph): redo some of the word and line length
8218         handling.
8219         (getLists): look for Caption instead of caption.
8220
8221 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8222
8223         * buffer.C (Buffer): initialize niceFile to true
8224         (makeLaTeXFile):
8225         (makeLinuxDocFile):
8226         (makeDocBookFile): make sure niceFile is true on exit
8227
8228 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8229
8230         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8231
8232 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8233
8234         * LyXSendto.C: remove.
8235         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8236         * lyx_gui.C: remove now-redundant comment.
8237         * ColorHandler.h: remove forward declaration of class WorkArea.
8238         * lyxfunc.C: remove #include "WorkArea.h".
8239
8240 2002-03-07  Juergen Vigna  <jug@sad.it>
8241
8242         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8243         got moved away with the DEPM and also set the inset_owner always
8244         right which before could have been omitted.
8245
8246 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8247
8248         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8249         wanted layout is not found.
8250
8251 2002-03-07  Juergen Vigna  <jug@sad.it>
8252
8253         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8254
8255 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8256
8257         * paragraph.C (breakParagraph): use default layout not layout of
8258         prev paragraph.
8259         (Paragraph): clear ParagraphParameters.
8260
8261 2002-03-06  Juergen Vigna  <jug@sad.it>
8262
8263         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8264         otherwise it would not be a valid lenght. Fixed a special case in
8265         the minipage compatibility read where we end the document with a
8266         minipage.
8267
8268         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8269         was set as it could be 0 for InsetTexts first entry.
8270
8271 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8272
8273         * paragraph.C (writeFile): if layout is empty write out
8274         defaultLayoutName().
8275
8276         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8277         file without named layout we set layout to defaultLayoutName().
8278
8279 2002-03-06  Juergen Vigna  <jug@sad.it>
8280
8281         * CutAndPaste.C (copySelection): set layout for new paragraph.
8282
8283         * text.C (prepareToPrint): leave ERT inset left aligned
8284         (leftMargin): don't indent paragraphs inside ERT insets
8285
8286 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8287
8288         * paragraph.C (breakParagraph): dont call clear do the work manually
8289
8290         * paragraph.[Ch] (clear): remove function
8291
8292 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8293
8294         * paragraph.C (Paragraph): dont call clear, the work has already
8295         been done.
8296
8297         * lyxtextclass.C (operator): assert if n is empty
8298
8299         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8300         work manually instead.
8301
8302 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8303
8304         * BufferView_pimpl.C: protect selectionLost against text == 0
8305
8306 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8307
8308         * text.C (breakParagraph): fix a setting layout to '0' problem.
8309
8310 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8311
8312         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8313         final location of file, for the included files, and graphics.
8314
8315 2002-03-05  Juergen Vigna  <jug@sad.it>
8316
8317         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8318
8319 2002-03-04  Juergen Vigna  <jug@sad.it>
8320
8321         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8322
8323         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8324         last column of multicolumn cells.
8325         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8326
8327 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8328
8329         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8330         file if it doesn't go to a temporary file.
8331
8332         * buffer.C (sgmlOpenTag):
8333         (sgmlCloseTag):  remove extra newline insertion.
8334
8335 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8336
8337         * text.C (getRowNearY): comment out debug msg
8338
8339 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8340
8341         * text2.C: first -> first_y
8342
8343         * text.C (getRowNearY): add some attemts at a possible
8344         optimization, not working.
8345
8346         * tabular.[Ch]: add BufferParams to several function so that newly
8347         created paragraph can be initialized to he default layotu for the
8348         buffers textclass.
8349
8350         * tabular-old.C (ReadOld): add buf->params to call of Init
8351
8352         * screen.C: rename text->first to text->first_y
8353
8354         * paragraph.C (breakParagraph): always set layout in the broken
8355         paragraph
8356
8357         * lyxtextclass.C (Read): remove lowercase
8358         (hasLayout): ditto
8359         (operator): ditto
8360         (delete_layout): ditto
8361
8362         * lyxtext.h: rename first -> first_y
8363
8364         * lyxlayout.C (Read): remove lowercase
8365         (name): ditto
8366         (setName): ditto
8367         (obsoleted_by): ditto
8368
8369         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8370
8371         * buffer.C (insertErtContents): add params are to InsetERT
8372         (parseSingleLyXformat2Token): add code to check if a paragraphs
8373         layout really exist.
8374         (parseSingleLyXformat2Token): add params to several inset
8375         constructors
8376         (asciiParagraph): remove lowercase, do the layout comparisons with
8377         no_case
8378
8379         * BufferView_pimpl.C (cursorNext): first -> first_y
8380         (resizeCurrentBuffer): first -> first_y
8381         (updateScrollbar): first -> first_y
8382         (scrollCB): first -> first_y
8383         (workAreaMotionNotify): first -> first_y
8384         (workAreaButtonPress): first -> first_y
8385         (checkInsetHit): first -> first_y
8386         (cursorPrevious): first -> first_y
8387         (cursorNext): first -> first_y
8388         (Dispatch): add buffer_->params to severl inset contructors
8389
8390 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8391
8392         * lyxlayout.C (Read): remove some debug info that I forgot.
8393
8394         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8395         clean up the code slightly.
8396         (makeLinuxDocFile): ditto
8397         (makeDocBookFile): ditto
8398
8399         * text2.C: layout as string
8400
8401         * text.C: layout as string
8402
8403         * paragraph_pimpl.C: layout as string
8404
8405         * paragraph.[Ch]: layout as string
8406
8407         * lyxtextclasslist.[Ch]: layout as string
8408
8409         * lyxtextclass.[Ch]: layout as string
8410
8411         * lyxtext.h: layout as string
8412
8413         * lyxlayout.[Ch]: layout as string
8414
8415         * lyx_cb.C: layout as string
8416
8417         * bufferview_funcs.C: layout as string
8418
8419         * bufferparams.C: layout as string
8420
8421         * buffer.C: layout as string
8422
8423         * LyXView.[Ch]: layout as string
8424
8425         * LaTeXFeatures.[Ch]: layout as string
8426
8427         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8428
8429         * BufferView_pimpl.C: change current_layout to string, remove
8430         lyx::layout_type.
8431         (Dispatch):
8432         (smartQuote):
8433         (insertInset):
8434         (workAreaButtonRelease): layout as string
8435
8436         * BufferView2.C (unlockInset): adjust
8437
8438         * vspace.C (asLatexCommand): use an explict temp variable.
8439
8440 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8441
8442         * Makefile.am: use FRONTEND_*
8443
8444 2002-03-01  Juergen Vigna  <jug@sad.it>
8445
8446         * tabular.C (SetWidthOfMulticolCell): changed to something better
8447         I hope but still work in progress.
8448         (recalculateMulticolumnsOfColumn): renamed function from
8449         recalculateMulticolCells as it is more appropriate now.
8450         (SetWidthOfCell): calculate multicols better.
8451
8452 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8453
8454         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8455
8456         * lyxfunc.C (processKeySym): print sequence also if it is
8457         `deleted' (complete)
8458
8459         * kbsequence.C (print): print sequence even if it is deleted
8460         (complete would be a better word, actually).
8461
8462         * lyxfunc.C (dispatch): print complete options after a prefix key
8463
8464         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8465
8466 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8467
8468         * text2.C (setCharFont): eliminate setCharFont code duplication.
8469
8470 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8471
8472         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8473         LFUN_TABULAR_FEATURE (bug #177)
8474
8475 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8476
8477         * Makefile.am: remove figure.h
8478
8479 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8480
8481         * Bufferview_pimpl.C:
8482         * CutAndPasteC:
8483         * LaTeX.C:
8484         * LyXSendto.C:
8485         * buffer.C:
8486         * bufferlist.C:
8487         * converter.C:
8488         * language.C:
8489         * lyxfunc.C:
8490         * lyxvc.C:
8491         * paragraph.C:
8492         * text.C:
8493         * text2.C: remove #include "lyx_gui_misc.h".
8494
8495         * LaTeX.C: added #include <cstdio>
8496
8497 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8498
8499         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8500         that the paragraph following this one can have.
8501
8502         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8503
8504         * vspace.C (asLatexCommand): fix bogus gcc warning
8505
8506         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8507
8508 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8509
8510         * text2.C (setLayout): get rid of redundant code
8511
8512 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8513
8514         * text2.C (incDepth): make sure depth cannot be increased beyond
8515         reasonable values.
8516
8517 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8518
8519         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8520         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8521
8522         * PainterBase.h (image):
8523         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8524         a LyXImage const *.
8525
8526 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8527
8528         * BufferView.C:
8529         * BufferView.h:
8530         * BufferView_pimpl.C:
8531         * BufferView_pimpl.h:
8532         * LaTeXFeatures.C:
8533         * LyXAction.C:
8534         * LyXView.C:
8535         * Makefile.am:
8536         * UpdateList.h:
8537         * UpdateList.C:
8538         * buffer.C:
8539         * figure.h:
8540         * figureForm.C:
8541         * figureForm.h:
8542         * figure_form.C:
8543         * figure_form.h:
8544         * lyx_cb.C:
8545         * lyx_gui.C:
8546         * lyx_gui_misc.C:
8547         * lyxfunc.C:
8548         * sp_base.h:
8549         * sp_ispell.h:
8550         * sp_pspell.h:
8551         * sp_spell.C: remove fig inset, and the crap house of
8552           cards that follows it
8553
8554 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8555
8556         * Makefile.am:
8557         * lyxserver.C:
8558         * os2_defines.h:
8559         * os2_errortable.h:
8560         * nt_defines.h: move .h into support/
8561
8562         * vms_defines.h: remove
8563
8564         * WorkArea.C: add space in debug output
8565
8566         * text2.C:
8567         * paragraph.C:
8568         * buffer.C: add WITH_WARNINGS
8569
8570         * vc-backend.h:
8571         * vc-backend.C:
8572         * bufferlist.C: s/retrive/retrieve/, add docs
8573
8574         * vspace.h:
8575         * vspace.C:
8576         * kbmap.h:
8577         * lyxlength.h:
8578         * lyxgluelength.h:
8579         * length_common.h:
8580         * chset.h:
8581         * chset.C: add docs
8582
8583         * lyxgui.C: add ID to X error handler
8584
8585         * lyxtestclass.c: fix typo
8586
8587 2002-02-26  Juergen Vigna  <jug@sad.it>
8588
8589         * tabular_funcs.C (write_attribute): changed so that some default
8590         attributes are not written at all.
8591         (getTokenValue): set default values before trying to read the
8592         value so we have the return value always set as default if we don't
8593         find the token we search for.
8594
8595         * tabular.C (Write): write bools as bools not as strings!
8596
8597 2002-02-22  Juergen Vigna  <jug@sad.it>
8598
8599         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8600         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8601
8602         * text.C (leftMargin): don't add an indent for paragraphs inside
8603         tabular cells (fix #208).
8604
8605 2002-02-21  José Matos  <jamatos@fep.up.pt>
8606
8607         * tabular.C (docBook): fixed support for long tables.
8608
8609 2002-02-20  Juergen Vigna  <jug@sad.it>
8610
8611         * text2.C (getFont): get the drawing font of the Inset if this
8612         paragraph is inside an inset (only important for InsetERT for now).
8613
8614         * buffer.C (insertErtContents): use new lanugage params in ERT
8615         constructor.
8616
8617         * CutAndPaste.C: commenting out seemingly uneeded code.
8618
8619 2002-02-19  Allan Rae  <rae@lyx.org>
8620
8621         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8622         Iterators might be simple to use but they also get invalidated.
8623         (removeAutoInsets): renamed saved cursor tracking variables and added
8624         some comments to clarify what everything does.
8625
8626 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8627
8628         * Chktex.C:
8629         * LaTeX.C:
8630         * LyXSendto.C:
8631         * converter.C:
8632         * lyx_cb.C:
8633         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8634         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8635
8636         * lyxfunc.C:
8637         * vc-backend.h: remove #include "support/syscall.h"
8638
8639         * LaTeX.C:
8640         * LyXSendto.C:
8641         * converter.C: rearrange #includes in Lars' approved fashion.
8642
8643         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8644         forward declare class Timeout in the header file.
8645
8646         * XFormsView.C: changes due to the above.
8647
8648         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8649         similar to LyXView.
8650
8651         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8652         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8653
8654 2002-02-18  José Matos  <jamatos@fep.up.pt>
8655
8656         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8657         insets contents.
8658
8659 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8660
8661         * a lot of small ws changes
8662         * add a lot of using std::XXX
8663         * use std construcs some places where approp.
8664         * use some exisint stuff from lyxfunctional where approp.
8665         * Make file changes to use partial linking (lets test this now...)
8666
8667 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8668
8669         * Chktex.C:
8670         * buffer.C:
8671         remove #include "support/syscontr.h" as it's redundant. Always has been.
8672
8673         * Chktex.C:
8674         * LaTeX.C:
8675         * LyXSendto.C:
8676         * converter.C:
8677         * lyx_cb.C:
8678         * vc-backend.C:
8679         change Systemcalls::System to Systemcalls::Wait and
8680         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8681         No change of functionality, just reflects the stripped down Systemcalls
8682         class.
8683
8684 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8685
8686         * debug.[Ch]: add a GRAPHICS type to the enum.
8687
8688 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8689
8690         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8691
8692         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8693         there is an inset.
8694
8695 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8696
8697         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8698         match the changes below.
8699
8700         * text2.C (toggleInset): if there is not editable inset at cursor
8701         position, try to see if cursor is _inside_ a collapsable inset
8702         and close it.
8703
8704 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8705
8706         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8707         document menu has a nice checkbox
8708
8709 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8710
8711         * lyxlength.C (asLatexString): change PW to output as percent of
8712         \textwidth.
8713
8714         * lengthcommon.C: change '%' to 't%'
8715
8716         * lyxfunc.C (dispatch): a few comments from Martin
8717
8718 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8719
8720         * WorkArea.h:
8721         * WorkArea.C:
8722         * BufferView_pimpl.h:
8723         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8724           the X selection.
8725
8726 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8727
8728         * vspace.C (inPixels): fix compiler warning
8729
8730 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8731
8732         * lyxfunc.C (getStatus): fix status message for disabled commands.
8733
8734 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8735
8736         * BufferView_pimpl.C: fix crash on close buffer
8737         during selection (#227)
8738
8739 2002-01-27  Herbert Voss  <voss@lyx.org>
8740
8741         * buffer.C: link old Figure to new graphic inset
8742
8743 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8744
8745         * FontLoader.C (getFontinfo): Change the latex font names in order
8746         to match the names of type1inst.
8747
8748 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8749
8750         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8751
8752         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8753         (extchanged): ditto
8754         (ext_exist): ditto
8755         (remove_files_with_extension): ditto
8756         (remove_file): ditto
8757         (write): ditto
8758
8759         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8760         document is smaller than the work area height. Do not initialize
8761         static variables to 0.
8762
8763 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8764
8765         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8766
8767         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8768         LFUN_LAYOUT_PARAGRAPHS.
8769
8770         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8771         tabular. It is possible to provide a possible cell, which will
8772         typically be the actcell from the corresponding insettabular
8773
8774         * lyxfunc.C (getStatus): small cleanup; disable
8775         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8776         true
8777
8778 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8779
8780         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8781
8782         * paragraph.C (startTeXParParams):
8783         (endTeXParParams): new methods. The LaTeX code to
8784         start/end paragraph formatting
8785         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8786         empty (fixes bug #200)
8787
8788         * vspace.C (inPixels): adapt to the change below
8789         (inPixels): [later] more cleanups (remove unused variables)
8790
8791         * lyxlength.C (inPixels): change to use a width and a height as
8792         parameter.
8793
8794 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8795
8796         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8797         Replaced with \paperwidth
8798
8799         * DepTable.C (insert): add std:: qualifier
8800
8801 2002-01-18  Allan Rae  <rae@lyx.org>
8802
8803         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8804         updated also?
8805
8806         * text.C (drawInset): Turned out I didn't know enough about how
8807         rebreaking worked.  This fixes most of the redraw problems.  I see
8808         an occasional cursor trail when a line is broken now and the cursor
8809         placement can seem out by a few pixels also after a rebreak.
8810
8811 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8812
8813         * buffer.C (parseSingleLyXformat2Token): update because minipage
8814         width is now a LyXLength
8815
8816         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8817
8818         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8819         math insets
8820
8821 2002-01-17  Juergen Vigna  <jug@sad.it>
8822
8823         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8824
8825         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8826         is set correctly and the inset is updated correctly.
8827
8828 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8829
8830         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8831         the beginning of the loop.
8832
8833 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8834
8835         * lyxrc.C: improve help for use_scalable_fonts
8836
8837 2002-01-17  Allan Rae  <rae@lyx.org>
8838
8839         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8840
8841 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8842
8843         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8844         make sure to set their inset_owner to the right value (bug #171)
8845
8846 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8847
8848         * DepTable.h
8849         * DepTable.C: Implement mtime checking to reduce time spent doing
8850         CRCs.
8851
8852 2002-01-16  Juergen Vigna  <jug@sad.it>
8853
8854         * tabular.C (GetAdditionalHeight): one of error fixed.
8855
8856         * lyxrc.C (output): small fix in writing use_pspell.
8857
8858 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8859
8860         * sp_base.h: #include LString.h
8861
8862 2002-01-16  Allan Rae  <rae@lyx.org>
8863
8864         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8865         Can someone check this please?
8866
8867         * text.C (drawInset): It was possible that p.row would be removed by
8868         breakAgainOneRow upsetting a few other settings.  There may be another
8869         small tweak possible by setting need_break_row = 0 when p.row has been
8870         removed but I don't know enough about the logic here.
8871
8872 2002-01-15  Allan Rae  <rae@lyx.org>
8873
8874         * text.C (insertChar): removed conditional truism.
8875
8876         * BufferView2.C (removeAutoInsets): More tweaks.
8877         cur_par_prev could be a stray pointer.  Check for trailing empty line
8878         in case last line was cur_par and only had an error inset on it.
8879
8880 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8881
8882         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8883         absolute
8884
8885         * vc-backend.C (most methods):
8886         * exporter.C (Export):
8887         * converter.C (convert):
8888         (runLaTeX):
8889         * LyXSendto.C (SendtoApplyCB):
8890         * lyxfunc.C (dispatch):
8891         (menuNew):
8892         (open):
8893         (doImport):
8894         * lyx_cb.C (AutoSave):
8895         (InsertAsciiFile):
8896         * BufferView_pimpl.C (MenuInsertLyXFile):
8897         * buffer.C (runChktex): use Buffer::filePath().
8898
8899         * buffer.h: rename filename to filename_; rename filepath to
8900         filepath_ and make it private
8901         (filePath): new method
8902
8903         * buffer.C (writeFile): use fileName()
8904         (getLatexName):
8905
8906         * lyx_main.C (init): fix starting  of LyX when the binary is a
8907         link from so,ewhere else.
8908
8909         * minibuffer.C: include <cctype> for isprint
8910
8911 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8912
8913         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8914         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8915         name clash with InsetCollapsable's width function.
8916
8917 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8918
8919         * lastfiles.C: include <iterator>
8920
8921 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8922
8923         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8924         std::count.
8925
8926         * buffer.C (makeLaTeXFile): ditto.
8927         Also make loop operation more transparent.
8928
8929 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8930
8931         * ToolbarDefaults.C: remove trailing comma closing namespace.
8932
8933         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8934
8935         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8936         as in WorkArea.
8937
8938         * trans.C (Load): comment out unused variable, allowed.
8939
8940 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8941
8942         * minibuffer.[Ch] (append_char): new method to recieve input from the
8943         drop-down completion browser. If a key was pressed, then recieve this
8944         char and append it to the existing string.
8945         (peek_event): modify the positioning data passed to the completion
8946         browser so that it can be placed above the minibuffer rather than below.
8947 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8948
8949         * LyXAction.C (init): alloe error-next for readonly documents.
8950
8951         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8952         count.
8953
8954 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8955
8956         * bufferlist.C (readFile): create the buffer _after_ checking that
8957         the file exists.
8958
8959         * lyxfunc.C (verboseDispatch): fix handling of arguments
8960
8961         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8962
8963         * lyxrc.C: use string::erase() instead of initializing to "".
8964
8965
8966 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8967
8968         * BufferView_pimpl.h:
8969         * BufferView_pimpl.C:
8970         * WorkArea.h:
8971         * WorkArea.C:
8972         * text2.C: tell X when we have made a selection for copying
8973
8974 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8975
8976         * BufferView_pimpl.C (MenuInsertLyXFile):
8977         * lyxfunc.C (menuNew):
8978         (open):
8979         (doImport): add shortcuts to directory buttons
8980
8981         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8982         open a float)
8983
8984         * lyxfunc.C (setStatusMessage):
8985         (getStatusMessage): new methods
8986         (getStatus):use setStatusMessage instead of setErrorMessage
8987         (dispatch): when function is disabled, set error message here
8988         [instead of in getStatus previously]
8989
8990         * BufferView_pimpl.C (workAreaButtonRelease): update
8991         toolbar/menubar here too.
8992
8993 2002-01-13  Allan Rae  <rae@lyx.org>
8994
8995         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8996         Now seems indestructible.  Remaining task is to audit all other
8997         code affected by deleteEmptyParagraphMechanism.  One small quirk
8998         left is that an empty document with an error in the preamble can
8999         be made to report an error but no error box appears.  I don't know
9000         where it goes.
9001         (removeAutoInsets): Improved comments.
9002
9003 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9004
9005         * Thesaurus.h:
9006         * Thesaurus.C: update for Aiksaurus 0.14
9007
9008 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9009
9010         * text2.C (firstParagraph): removed member function, all uses
9011         replaces with ownerParagraph
9012         (redoParagraphs): here
9013         (updateInset): here
9014         (toggleAppendix): here
9015         * BufferView2.C (insertErrors): here
9016         (setCursorFromRow): here
9017
9018 2002-01-13  Allan Rae  <rae@lyx.org>
9019
9020         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9021         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9022         There is still a way to segfault this although you may have to do this
9023         multiple times: Have an InsetERT with an unknown command in it.
9024         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9025         <down-arrow>, <Enter> again, View->DVI, BANG!
9026
9027         * text2.C (setCursor):
9028         (deleteEmptyParagraphMechanism):
9029         * lyxtext.h (setCursor):
9030         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9031         Making use of the return value may help fix other bugs.
9032
9033 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9034
9035         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9036
9037         * LyXView.C (updateMenubar): call MenuBar::update here
9038         (updateToolbar): but not here
9039         (showState): do not update toolbar/menubar
9040
9041         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9042         should need to care about that.
9043
9044         * lyxfunc.C (verboseDispatch): simplify a bit
9045         (getStatus): have a version which takes a pseudoaction, and
9046         another which requires a (kb_action,string).
9047
9048         * LyXAction.C (retrieveActionArg): make it work also when action
9049         is not a pseudo-action.
9050         (getActionName): simplify a bit
9051         (helpText):
9052
9053 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9054
9055         * lyxfunc.C (verboseDispatch): new families of methods with
9056         several ways to specify a command and a bool to indicate whether
9057         the command name and shortcut should be displayed in minibuffer
9058         (eventually, we could extend that to a finer bitmask like
9059         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9060         (dispatch): the pristine dispatch command which just, well,
9061         dispatchs! Note it still sets its result to minibuffer; I'm not
9062         sure we want that.
9063
9064         * lyxfunc.h: remove setHintMessage
9065
9066         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9067
9068 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9069
9070         * BufferView_pimpl.C (specialChar): delete new inset if we have
9071         not been able to insert it.
9072
9073         * kbmap.C: revert to using int instead of kb_action, since all we
9074         are dealing with is pseudo-actions.
9075
9076         * LyXAction.C (searchActionArg): change to return int instead of
9077         kb_action, since the result is a pseudoaction.
9078
9079 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9080
9081         * buffer.C (insertErtContents): Fix (partially) the font bug.
9082
9083 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9084
9085         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9086         as the other one is broken on my machine!
9087
9088 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9089
9090         * commandtags.h:
9091         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9092
9093 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9094
9095         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9096         reflect their actual use. Provide compatibility code for older lyxrc
9097         files.
9098
9099         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9100         FL_NORMAL_STYLE.
9101         change names of popup font variables in line with the changes to lyxrc.C
9102
9103 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9104
9105         * buffer.C (asciiParagraph): avoid outputing a word twice after
9106         an inset.
9107
9108         * lyxrc.C (getDescription): document that document_path and
9109         template_path can be empty.
9110
9111 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9112
9113         * LaTeXFeatures.C (getMacros):
9114         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9115
9116         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9117
9118         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9119         getPackages.
9120         (getPackages): rename feature "floats" to "float". Use an array to
9121         iterate over 'simple' features (i.e. just a \usepackage). Add
9122         handling of "amsmath" (renamed from "amsstyle").
9123
9124 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9125
9126         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9127         features list.
9128
9129 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9130
9131         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9132         FuncStaus::FuncStatus & FuncStaus::some_method().
9133
9134 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9135
9136         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9137         of the func_satus stuff. Edited and massaged in various ways by
9138         JMarc.
9139
9140         * lyxfunc.C (getStatus): use FuncStatus
9141
9142 2002-01-08  Juergen Vigna  <jug@sad.it>
9143
9144         * text.C (nextBreakPoint): use function Inset::isChar().
9145
9146         * paragraph.C (TeXOnePar): use function
9147         Inset::forceDefaultParagraphs.
9148
9149         * buffer.C (latexParagraphs): use function
9150         Inset::forceDefaultParagraphs.
9151
9152 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9153
9154         * lyx_gui.C (init): set the style of the menu popups to
9155         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9156
9157 2002-01-07  Juergen Vigna  <jug@sad.it>
9158
9159         * text.C (setHeightOfRow): small fix
9160         (prepareToPrint): don't look at alignment if we don't have the place
9161         for doing it.
9162
9163 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9164
9165         * box.C: New file. Move the Box methods and functions out of box.h,
9166         following Lars' suggestion.
9167
9168 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9169
9170         * box.h: #include "support/LOstream.h", needed for inlined function.
9171
9172         * lyxtextclass.C:
9173         * lyxtextclasslist.C: added some using std declarations.
9174
9175 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9176
9177         * box.h: make signed dimensions to allow insets wider than
9178           the screen (bug #162)
9179
9180         * BufferView_pimpl.C: add some insetHit debug
9181
9182 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9183
9184         * vc-backend.C: add FIXME
9185
9186 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9187
9188         * lyxfunc.C (getStatus): enable code for showing math font status
9189         in toolbar/menu.
9190
9191 2002-01-07  Juergen Vigna  <jug@sad.it>
9192
9193         * text.C (nextBreakPoint): removed debug output not needed anymore.
9194
9195 2002-01-06  Juergen Vigna  <jug@sad.it>
9196
9197         * text.C (nextBreakPoint): fixed up this function we had this bug
9198         since ever but now hopefully we break row better.
9199         (insertChar): we have to check if an inset is the next char as it
9200         could now happen that a large inset is causing a break.
9201
9202 2002-01-05  Juergen Vigna  <jug@sad.it>
9203
9204         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9205         if it doesn't like to be drawed.
9206
9207 2002-01-04  Juergen Vigna  <jug@sad.it>
9208
9209         * BufferView2.C (lockInset): forgot to set a cursor.
9210
9211         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9212
9213 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9214
9215         * FormMathsPanel.C:
9216         * FormMathsPanel.h
9217         * MathsSymbols.C:
9218         * form_maths_panel.C:
9219         * form_maths_panel.h:
9220         * form_maths_panel.fd: implemented sub- and super- buttons in math
9221         panel.
9222
9223         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9224         (or ^ space) to be used as in TeX (req'd by André).
9225
9226         * lyxfunc.C: Allow ^ and _ again to be used both as
9227         super/subscript (mathed) and as themselves (in text).
9228
9229 2002-01-03  Allan Rae  <rae@lyx.org>
9230
9231         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9232         "LyX" or the filename of the current buffer if it has one.  This is a
9233         modified form of John Levon's patch.
9234
9235         * XFormsView.C (setWindowTitle): also set icon title.
9236
9237         * LyXView.h (setWindowTitle): signature changed.
9238         * XFormsView.h (setWindowTitle): ditto.
9239
9240 2002-01-02  Juergen Vigna  <jug@sad.it>
9241
9242         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9243
9244 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9245
9246         * screen.C (topCursorVisible): introduce a temp var for
9247         text->cursor.row(), handle the case where this row is null. (kindo
9248         hachish)
9249
9250         * text2.C (setCursor): add a couple of asserts.
9251
9252         * paragraph.h (inset_iterator): add -> operator
9253
9254         * paragraph.[Ch] (autoDeleteInsets): remove member function
9255
9256         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9257         cursor pos correctly and handle inset deletion by itself.
9258         (insertErrors): move iterator declaration out of for expression
9259
9260         * lyxtextclass.C: add <algorithm>
9261
9262         * Makefile.am: added the new files to sources, removed layout.C
9263
9264         * layout.C: removed file
9265
9266         * layout.h: remove LYX_DUMMY_LAYOUT
9267
9268         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9269         layout.
9270
9271         * lyxlayout.[Ch]:
9272         * lyxtextclass.[Ch]:
9273         * lyxtextclasslist.[Ch]: new files
9274
9275         * include order changes to a lot of files, also changes because of
9276         the six new files.
9277
9278 2001-12-27  Juergen Vigna  <jug@sad.it>
9279
9280         * buffer.C (asciiParagraph): more fixes.
9281
9282         * tabular.C (ascii): make ascii export support export of only the
9283         data separated by a column-delimiter.
9284         (ascii): better support for ascii export.
9285
9286         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9287
9288 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9289
9290         * tabular_funcs.C: use a "using std::getline" instead of the
9291         previous fix from Angus (necessary for cxx + lyxstring)
9292
9293 2001-12-24  Juergen Vigna  <jug@sad.it>
9294
9295         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9296
9297         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9298         problems. First check a minipage also if we have some ert-contents
9299         (not only on par->size(), second set the right depth of the paragraph
9300         on the relink to the root-paragraph-list!
9301
9302         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9303         which then did not anymore update the main paragraphs on undo/redo!
9304
9305 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9306
9307         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9308         code. Support all font-changing funcs (even those which are not in
9309         menu currently). Support for reporting font settings in
9310         mathed (disabled until Andre provides a function on mathed's side).
9311
9312         * func_status.h (toggle): small helper function to set toggle
9313         state on a flag.
9314
9315 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9316
9317         * tabular_funcs.C: getline -> std::getline
9318
9319 2001-12-21  Juergen Vigna  <jug@sad.it>
9320
9321         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9322         accessed and could be 0 (I couldn't generate this but it seems
9323         Michael could!).
9324
9325 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9326
9327         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9328         * tabular_funcs.h: here and include iosfwd
9329
9330 2001-12-20  Juergen Vigna  <jug@sad.it>
9331
9332         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9333         inside inset but undo_par was.
9334
9335 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * Thesaurus.C: always include <config.h> in sources.
9338
9339         * Painter.h:
9340         * lyxlookup.h:
9341         * box.h: do not include <config.h> in header files
9342
9343         * text.C (paintLastRow): remove unused variable
9344
9345         * text.C (transformChar):
9346         (insertChar):
9347         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9348
9349         * Painter.C (text):
9350         * font.C (width): rewrite to use uppercase() instead of
9351         islower/toupper.
9352
9353         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9354
9355 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9356
9357         * lyxfind.C: clean up of find failure position change
9358
9359 2001-12-20  Juergen Vigna  <jug@sad.it>
9360
9361         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9362
9363         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9364         (TeXRow): added to LaTeX a single tabular row.
9365         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9366         (Latex): simplified and finally good LT-h/f support.
9367         (various_functions): just small adaptions for LT-h/f support.
9368
9369         * tabular_funcs.[hC]: added and moved here all not classfunctions
9370         of LyXTabular.
9371
9372 2001-12-19  Juergen Vigna  <jug@sad.it>
9373
9374         * tabular.[Ch]: better support for longtabular options (not finished
9375         yet!)
9376
9377 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9378
9379         * text.C (paintLastRow): use the label font instead of the font of
9380         the last character to compute the size of *_BOX. This makes more
9381         sense and avoids a crash with empty paragraphs.
9382         Use Painter::rectangle to draw EMPTY_BOX.
9383
9384 2001-12-19  Juergen Vigna  <jug@sad.it>
9385
9386         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9387         the paragraphs if the replaced paragraph is not the first one!
9388         Tried to delete not used paragraphs but does not work yet so for
9389         now it's inside #ifdef's and by default off!
9390
9391 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9392
9393         * MenuBackend.C: include "lyx_main.h" instead of declaring
9394         lastfiles (actually was declared as LastFiles* instead of a
9395         scoped_ptr).
9396
9397 2001-12-17  Juergen Vigna  <jug@sad.it>
9398
9399         * tabular.C (AppendColumn): applied John's fix
9400
9401 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9402
9403         * BufferView.h:
9404         * BufferView.C:
9405         * BufferView_pimpl.h:
9406         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9407
9408         * Makefile.am:
9409         * box.h: new start of class for above
9410
9411         * lyxfunc.C: ignore space-only minibuffer dispatches.
9412           Show the command name when it doesn't exist
9413
9414         * minibuffer.C: don't add empty lines to the history
9415
9416         * minibuffer.C: add a space on dropdown completion
9417
9418 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9419
9420         * text.C: fix line above/below drawing in insets
9421
9422 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9423
9424         * lyxlength.C (LyXLength): Initialize private variables.
9425
9426 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9427
9428         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9429         when inserting error insets.
9430
9431 2001-12-13  Juergen Vigna  <jug@sad.it>
9432
9433         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9434         actually sometimes the before-paragraph.
9435         (setUndo): don't clear the redostack if we're not actually undoing!
9436
9437 2001-12-06  Juergen Vigna  <jug@sad.it>
9438
9439         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9440         and fixed redoing of main paragraph, so we can use it now ;)
9441
9442         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9443
9444 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9445
9446         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9447         Juergen's request
9448
9449 2001-12-13  André Pönitz <poenitz@gmx.net>
9450
9451         * undostack.[Ch]:
9452         * undo_func.C: minor cleanup
9453
9454 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9455
9456         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9457         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9458         font in urw-fonts package which is marked as -urw-fontspecific and
9459         does not work (incidentally, changing the encoding in the
9460         fonts.dir of this package to -adobe-fontspecific fixes the
9461         problem).
9462
9463         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9464         is a crash when undoing first paragraph (Juergen, please take a
9465         look). THis does not mean the undo fix is wrong, just that it
9466         uncovers problems.
9467
9468         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9469         the (Paragraph*) version when needed instead of duplicating the
9470         code.
9471
9472         * text.C (workWidth): use Inset::parOwner to find out where the
9473         inset has been inserted. This is a huge performance gain for large
9474         documents with lots of insets. If Inset::parOwner is not set, fall
9475         back on the brute force method
9476
9477         * paragraph_pimpl.C (insertInset):
9478         * paragraph.C (Paragraph):
9479         (cutIntoMinibuffer): set parOwner of insets when
9480         inserting/removing them
9481
9482         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9483
9484 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9485
9486         * commandtags.h:
9487         * LyXAction.C:
9488         * lyx_main.C:
9489         * lyxfunc.C:
9490         * mathed/formulabase.C:
9491         * mathed/math_cursor.[Ch]:
9492         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9493
9494
9495 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9496
9497         * lyxlength.[Ch] (operator!=): new function
9498
9499 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9500
9501         * text.C (workWidth): use Inset::parOwner to find out where the
9502         inset has been inserted. This is a huge performance gain for large
9503         documents with lots of insets. If Inset::parOwner is not set, fall
9504         back on the brute force method
9505
9506         * paragraph_pimpl.C (insertInset):
9507         * paragraph.C (Paragraph):
9508         (cutIntoMinibuffer): set parOwner of insets when
9509         inserting/removing them
9510
9511         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9512
9513 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9514
9515         * tabular-old.C (getTokenValue):
9516         * tabular.C (getTokenValue):
9517         (write_attribute): new versions for LyXLength
9518         (everywhere): adjust the use of widths
9519
9520         * tabular.h: change the type of widths from string to LyXLength
9521
9522 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9523
9524         * paragraph.C: fixed missing line number count when exporting
9525         Environments to LaTeX file
9526
9527         * buffer.C: added informational message for checking line numbers.
9528
9529 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9530
9531         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9532         paragraph, do the 'double space' part, but not the 'empty
9533         paragraph' one.
9534
9535         * text.C (workWidth): small optimization
9536         (getLengthMarkerHeight): use minimal size for negative lengths.
9537
9538 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9539
9540         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9541
9542         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9543
9544 2001-12-11  André Pönitz <poenitz@gmx.net>
9545
9546         * FontLoader.C:
9547         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9548
9549 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9550
9551         * text2.C: keep selection on a setFont()
9552
9553 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9554
9555         * lyx_cb.C: another bv->text misuse, from insert label
9556
9557 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9558
9559         * kbsequence.h:
9560         * kbsequence.C: re-instate nmodifier mask
9561
9562 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9563
9564         * lyx_main.h: make lyxGUI private.
9565
9566 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9567
9568         * lyxfind.C: place the cursor correctly on failed search
9569
9570 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9571
9572         * text.C (getLengthMarkerHeight): for small heights, the arrows
9573         are not always on top/bottom of the text
9574         (drawLengthMarker): smaller arrows; take the left margin in
9575         account; draw also vfills.
9576         (paintFirstRow):
9577         (paintLastRow): remove special code for vfill and standard spaces,
9578         since everything is handled in drawLengthMarker now.
9579
9580 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9581
9582         * buffer.C (insertErtContents): try to handle font and language
9583         interaction a bit better.g
9584
9585         * ColorHandler.C (updateColor): change the hash to cover the whole
9586         LColor enum, ws cleanup
9587         (getGCLinepars): ditto
9588         (getGCLinepars): only lookup in the linecache once.
9589
9590 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9591
9592         * iterators.C (operator++): Make the iterator more robust
9593
9594         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9595         (John's patch)
9596         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9597
9598 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9599
9600         * lyxtext.h:
9601         * text.C: better added space drawing
9602
9603 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9604
9605         * LyXView.C:
9606         * BufferView2.C: fix layout combo update on inset unlock
9607
9608 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9609
9610         * Makefile.am: don't compile unused files
9611
9612 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9613
9614         * lyxfunc.C:
9615         * commandtags.h:
9616         * LyXAction.C: remove old LFUN_LAYOUTNO
9617
9618 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9619
9620         * paragraph_pimpl.h:
9621         * paragraph_pimpl.C: isTextAt() doesn't need font param
9622
9623 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9624
9625         * lyxlex.h:
9626         * lyxlex.C: little cleanup
9627
9628 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9629
9630         * BufferView_pimpl.C: fix insertAscii for insets
9631
9632 2001-12-05  Juergen Vigna  <jug@sad.it>
9633
9634         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9635         set the right font on the "multi" paragraph paste!
9636
9637 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9638
9639         * trans_decl.h:
9640         * trans_mgr.[Ch]:
9641         * trans.[Ch]:
9642         * lyxgluelength.C:
9643         * lyxlength.C: remove out-commented code.
9644
9645         * BufferView_pimpl:
9646         * CutAndPaste.C:
9647         * DepTable.C:
9648         * buffer.C:
9649         * chset.C:
9650         * lastfiles.C:
9651         * lyxlex.C:
9652         * lyxlex_pimpl.C:
9653         * lyxserver.C:
9654         * screen.C:
9655         * tabular-old.C:
9656         * tabular.C:
9657         * text.C:
9658         * trans_mgr.C:
9659         * vc-backend.C: change "while(" to "while ("
9660
9661         * lyxlength.[Ch]: add zero function to check if length is zero or
9662         not
9663         * lyxgluelength.C: use it
9664
9665 2001-12-05  Allan Rae  <rae@lyx.org>
9666
9667         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9668         Works for 2.95.3, from what I understand of Garst's reports this should
9669         work for other g++ versions.  We're screwed if the abs(int) definition
9670         changed between bugfix releases of gcc.
9671
9672 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9673
9674         * text.C: fix chapter label offset !
9675
9676 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9677
9678         * lyxtext.h:
9679         * text.C: fix hfill at end of line, clean up
9680
9681 2001-12-04  Juergen Vigna  <jug@sad.it>
9682
9683         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9684         that we force an update of the inset and it's owners if neccessary.
9685
9686 2001-12-03  Juergen Vigna  <jug@sad.it>
9687
9688         * text.C (rowLast): simplified code
9689
9690 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9691
9692         * lyxfunc.C: fix show options on timeout
9693
9694 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9695
9696         * screen.C (topCursorVisible): scroll half a page when the cursor
9697         reached top of bottom of screen
9698
9699 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9700
9701         * minibuffer.C: deactivate on loss of focus
9702
9703 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9704
9705         * vspace.[Ch] (operator!=): add operator.
9706
9707 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9708
9709         * BufferView_pimpl.C: refuse to open an inset when
9710         there's a selection.
9711
9712 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9713
9714         * BufferView_pimpl.C: allow to click on RHS of full row insets
9715
9716 2001-11-30  Juergen Vigna  <jug@sad.it>
9717
9718         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9719         insets for undo reasons.
9720
9721 2001-11-28  André Pönitz <poenitz@gmx.net>
9722
9723         * vspace.[Ch]: cosmetical changes
9724
9725 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9726
9727         * LyXAction.h:
9728         * LyXAction.C:
9729         * lyxfunc.h:
9730         * lyxfunc.C:
9731         * kbmap.h:
9732         * kbmap.C:
9733         * lyxrc.C:
9734         * kbsequence.h:
9735         * kbsequence.C: part re-write of old kb code
9736
9737         * Painter.C:
9738         * WorkArea.C: remove Lgb_bug_find_hack
9739
9740 2001-11-30  José Matos <jamatos@fep.up.pt>
9741
9742         * buffer.C (makeDocBookFile): add a comment to point a hack.
9743         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9744         Fixed a double write of labels.
9745
9746 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9747
9748         * LaTeX.C:
9749         * LaTeX.h Fixed bug in LaTeX class where it would not
9750         re-run latex if no depfiles were changed, but the .dvi was removed.
9751
9752 2001-11-28  André Pönitz <poenitz@gmx.net>
9753
9754         * all the files from the change on 2001/11/26:
9755         use lyx::layout_type instead of LyXTextClass::size_type
9756         use lyx::textclass_type instead of LyXTextClassList::size_type
9757
9758 2001-11-29  Juergen Vigna  <jug@sad.it>
9759
9760         * text.C: added support for paragraph::isFreeSpacing()
9761
9762         * buffer.C: same as above
9763
9764         * paragraph.h: inserted isFreeSpacing() function to enable
9765         FreeSpacing inside InsetERT.
9766
9767         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9768         of the paragraph's in the cut/copy buffer to 0!
9769
9770         * text2.C (removeRow): remove the assert as it can!
9771
9772         * lyxtext.h: added helper function firstRow returning firstrow and
9773         made firstrow private again.
9774
9775         * BufferView2.C (lockInset): don't relock if we're already locked!
9776
9777         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9778         the only paragraph.
9779         (removeRow): added Assert::(firstrow)
9780
9781         * debug.C: forgot to add INSETTEXT here.
9782
9783 2001-11-28  Juergen Vigna  <jug@sad.it>
9784
9785         * sp_spell.C (initialize): changed error text to more general
9786         spellchecker command use (not only ispell!)
9787
9788         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9789
9790         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9791
9792 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9793
9794         * vspace.C: initialise lyxgluelength on failure
9795
9796 2001-11-28  Allan Rae  <rae@lyx.org>
9797
9798         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9799         declaration & definition that looks like a function declaration.
9800
9801 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9802
9803         * BufferView2.C (copy):
9804         (copyEnvironment): do not clear the selection when doing a copy.
9805
9806         * text.C (paintFirstRow): compilation fix
9807
9808 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9809
9810         * tabular.C (Latex): correct line count when writing latex.
9811
9812 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9813
9814         * paragraph_pimpl.h:
9815         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9816           bug a bit
9817
9818 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9819
9820         * text.C:
9821         * LColor.h:
9822         * LColor.C: change vfillline->added_space
9823
9824         * text.C: add markers and text for added space
9825
9826         * vspace.C: fix comment
9827
9828 2001-11-28  André Pönitz <poenitz@gmx.net>
9829
9830         * paragraph.C: whitespace changes
9831         * all the other files from the change on 2001/11/26:
9832         change *::pos_type into lyx::pos_type
9833
9834 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9835
9836         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9837         language of the document when inserting error insets.
9838
9839 2001-11-26  André Pönitz <poenitz@gmx.net>
9840
9841         * BufferView_pimpl.[Ch]:
9842         *       CutAndPaste.C:
9843         * buffer.[Ch]:
9844         * lyxcursor.[Ch]:
9845         * lyxfind.C:
9846         * lyxfunc.C:
9847         * lyxrow.[Ch]:
9848         * paragraph.[Ch]:
9849         * paragraph_pimpl.[Ch]:
9850         * sp_spell.C:
9851         * text.C:
9852         * text2.C: reduce header dependencies, introduce type for positions
9853
9854 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9855
9856         * <various>: change to use Alert.h
9857
9858 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9859
9860         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9861         when encountering an unknown token.
9862         (readLyXformat2): Show an error message if there were unknown tokens.
9863
9864 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9865
9866         * BufferView2.C:
9867         * BufferView_pimpl.C:
9868         * buffer.C:
9869         * paragraph.h:
9870         * text.C:
9871         * text2.C: use par->isInset()
9872
9873 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9874
9875         * paragraph_pimpl.h:
9876         * paragraph_pimpl.C: cleanup
9877
9878 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9879
9880         * text2.C (removeRow):
9881         * text.C (setHeightOfRow): remove useless (and costly) call to
9882         getRow.
9883
9884 2001-11-20  Allan Rae  <rae@lyx.org>
9885
9886         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9887         Now need Inset*::checkInsertChar() to return true for appropriate
9888         cases so that the characters in the minibuffer will actually be
9889         inserted.
9890
9891 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9892
9893         * text.C: change the order of the includes.
9894         (workWidth): initialize it at once.
9895         (workWidth): make maxw unsigned
9896         (setHeightOfRow): remove unused variable (inset)
9897         (selectSelectedWord): remove unused variable (inset)
9898         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9899
9900 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9901
9902         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9903         server is not running.
9904         (openConnection):
9905         (closeConnection): add debug info when server is disabled.
9906
9907         * ColorHandler.C (getGCForeground): send debug message to GUI
9908         channel.
9909
9910         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9911
9912         * kbmap.C (bind): modify because return conventions of
9913         kb_sequence::parse have changed.
9914
9915         * kbsequence.C (parse): only ignore spaces and not any stupid
9916         control character. This avoids tests like s[i] <= ' ', which are
9917         guaranteed to fail with 8bit characters and signed chars.
9918         Change return code to string::npos when there have been no error
9919         (0 was a bad idea when error is at first character)
9920
9921 2001-11-14  José Matos  <jamatos@fep.up.pt>
9922
9923         * buffer.h:
9924         * buffer.C (simpleDocBookOnePar): removed unused argument.
9925
9926 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9927
9928         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9929         insets which are part of a word. Paragraph::isLetter takes care of
9930         that now. Use Paragraph::isInset to identify insets.
9931         (selectSelectedWord): do not test for hyphenation break.
9932
9933         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9934         that protected spaces are considered as spaces.
9935
9936         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9937         Inset::isLetter.
9938
9939 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9940
9941         * lyxserver.h:
9942         * lyxserver.C: fix it. and small cleanup.
9943
9944 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9945
9946         * BufferView_pimpl.C: use inline helpers
9947
9948         * LaTeXFeatures.h:
9949         * LaTeXFeatures.C: fix typos
9950
9951         * Spacing.h:
9952         * Spacing.C: move spacing_string into class
9953
9954         * ToolbarDefaults.C: move stuff into namespace anon
9955
9956         * layout.h: update enum
9957
9958         * lyxfunc.C: use better debug
9959
9960         * minibuffer.h: fix typo
9961
9962         * debug.h:
9963         * debug.C:
9964         * WorkArea.C: add and use Debug::WORKAREA
9965
9966         * lyxtext.h:
9967         * text.C:
9968         * text2.C: code re-organisation, inline helpers
9969
9970 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9971
9972         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9973         std::vector.empty().
9974
9975 2001-11-09  Allan Rae  <rae@lyx.org>
9976
9977         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9978         '\n's after tables.  Tabular and ERT inset work now makes this no
9979         longer necessary.
9980
9981 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9982
9983         * minibuffer.h:
9984         * minibuffer.C: fix crash, improve drop-down completion
9985
9986 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9987
9988         * lyxserver.h:
9989         * lyxserver.C: invalidate fd's when doing endPipe()
9990
9991 2001-11-08  José Matos  <jamatos@fep.up.pt>
9992
9993         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9994         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9995
9996         * paragraph.h:
9997         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9998
9999 2001-11-07  José Matos  <jamatos@fep.up.pt>
10000
10001         * buffer.h:
10002         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10003         const qualifier.
10004
10005         * buffer.C (sgmlOpenTag):
10006         * buffer.C (sgmlCloseTag): removed debug info.
10007
10008         * buffer.h (sgmlOpenTag):
10009         * buffer.h (sgmlCloseTag): made public.
10010
10011 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10012
10013         * buffer.C (saveParamsAsDefaults):
10014         * lyx_cb.C (MenuLayoutSave): remove
10015
10016         * LyXAction.C (init):
10017         * commandtags.h:
10018         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10019
10020 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10021
10022         * buffer.C (setPaperStuff): removed from here...
10023
10024         * bufferparams.C (setPaperStuff): ... and moved there.
10025
10026 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10027
10028         * minibuffer.h:
10029         * minibuffer.C:
10030         * XFormsView.C: add support for drop-down completion
10031
10032 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10033
10034         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10035         commands.
10036
10037 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10038
10039         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10040         disabled.
10041
10042 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10043
10044         * lyx_main.C: change ref to known bugs
10045
10046 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10047
10048         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10049         to work around older babel problems.
10050
10051 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10052
10053         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10054
10055 2001-10-24  Juergen Vigna  <jug@sad.it>
10056
10057         * tabular-old.C (ReadOld): below variable changes reflected.
10058
10059         * tabular.[Ch]: added ltType struct for longtable header/footer
10060         defines and changed all instances where they are used. Added
10061         future support for double top/bottom rows.
10062
10063 2001-10-24  José Matos  <jamatos@fep.up.pt>
10064
10065         * buffer.h (docbookHandleCaption):
10066         * buffer.C (docbookHandleCaption): removed unused function.
10067         (makeDocBookFile): moved docbook supported version to v4.1.
10068
10069 2001-10-24  José Matos  <jamatos@fep.up.pt>
10070
10071         * tabular.h:
10072         * tabular.C (docbookRow): new function to export docbook code of a row.
10073         (DocBook): now honors the longtable flags.
10074
10075 2001-10-23  José Matos  <jamatos@fep.up.pt>
10076
10077         * LaTeXFeatures.h:
10078         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10079         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10080
10081         * buffer.C (makeLinuxDocFile):
10082         (makeDocBookFile): reworked the preamble, more clean, and with
10083         support for lyx defined entities. Changed the document declaration
10084         to be more XML friendly.
10085
10086         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10087         if we need to output XML that should be done with a filter.
10088
10089 2001-10-22  Juergen Vigna  <jug@sad.it>
10090
10091         * sp_pspell.h (class PSpell): add alive function needed in the
10092         controller to see if the spellchecker could be started.
10093
10094 2001-10-22  Juergen Vigna  <jug@sad.it>
10095
10096         * buffer.C (insertStringAsLines): modify the font for inserting
10097         chars in certain conditions by calling checkInsertChar(font).
10098
10099 2001-10-19  Juergen Vigna  <jug@sad.it>
10100
10101         * text.C (workWidth): use getRow instead of wrong algorithm.
10102         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10103
10104 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10105
10106         * lyxserver.h:
10107         * lyxserver.C:
10108         * lyx_main.h:
10109         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10110
10111 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10112
10113         * text.C (workWidth): do not search for the exact row when
10114         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10115         optimization for big documents.
10116
10117 2001-10-18  Juergen Vigna  <jug@sad.it>
10118
10119         * text.C (workWidth): new function with added Inset * parameter.
10120
10121 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10122
10123         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10124
10125         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10126         change return type of getColumnNearX.
10127
10128
10129         * text.C (changeRegionCase): use uppercase/lowercase instead of
10130         toupper/tolower.
10131         (leftMargin):
10132         (rightMargin): simplify code by factoring out the uses of
10133         textclasslist.
10134         (labelFill):
10135         (numberOfHfills):
10136         (setHeightOfRow):
10137         (appendParagraph): use Paragraph::size_type
10138
10139 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10140
10141         * vspace.C (asLatexString): add a missing break
10142
10143 2001-10-15  Herbert Voss  <voss@perce.de>
10144
10145         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10146
10147 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10148
10149         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10150         is not available.
10151
10152 2001-10-10  André Pönitz <poenitz@gmx.net>
10153
10154         * lyxfunc.C: removed greek_kb_flag.
10155
10156 2001-10-10  Herbert Voss  <voss@perce.de>
10157
10158         * lyx_main.C: delete global string help_lyxdir.
10159
10160 2001-10-09  Herbert Voss  <voss@perce.de>
10161
10162         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10163
10164         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10165
10166         * lyx_main.C: added global string help_lyxdir.
10167
10168         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10169
10170 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10171
10172         * lyxrc.C (set_font_norm_type): support iso8859-4
10173
10174 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10175
10176         * LaTeX.C (deplog): add another regex for MikTeX
10177
10178 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10179
10180         * lyxrc.C (set_font_norm_type): support iso8859-3
10181
10182 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10183
10184         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10185
10186         * LaTeXFeatures.C: remove special case of french and index
10187
10188         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10189         before \begin{document}). This solves several incompatibilities.
10190
10191 2001-10-03  Garst Reese  <reese@isn.net>
10192
10193         * lyx_cb.C: change CheckTex error msg.
10194
10195 2001-10-03  José Matos  <jamatos@fep.up.pt>
10196
10197         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10198
10199 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10200
10201         * .cvsignore: update
10202
10203         * lyx_main.C (commandLineVersionInfo): use new style version info.
10204
10205         * buffer.C (writeFile):
10206         (makeLaTeXFile):
10207         (makeLinuxDocFile):
10208         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10209
10210         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10211
10212         * version.h: update to use stuff in version.C
10213
10214         * version.C.in: new file. Contains version information determined
10215         at compile time. This is a merging of version.h and
10216         version_info.h.in.
10217
10218 2001-10-03  Juergen Vigna  <jug@sad.it>
10219
10220         * BufferView_pimpl.C (update): don't change "dirty" status in
10221         updateInset call.
10222
10223 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10224
10225         * WorkArea.C (c-tor): re-position version string slightly.
10226
10227 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10228
10229         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10230         revert to previous code.
10231
10232         WorkArea.[Ch]: (show, destroySplash): methods removed.
10233
10234         WorkArea.C: rework code so that it's an amalgam of the codes before and
10235         after the splash screen was moved to WorkArea.
10236
10237 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10238
10239         * lyxrc.C (read):
10240         * vspace.C (inPixels):
10241         (lyx_advance):
10242         * kbmap.C (bind):
10243         * buffer.C (insertStringAsLines):
10244         (asciiParagraph): fix types to be large enough
10245
10246         * lyxlex_pimpl.h: change member status from short to int
10247
10248         * layout.h: fix type of endlabeltype
10249
10250         * kbmap.C (bind):
10251         * kbsequence.C (parse): change return type to string::size_type
10252
10253         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10254         variable
10255
10256         * Bullet.C (bulletSize):
10257         (bulletEntry): do not use short ints as parameters
10258
10259         * BufferView2.C (insertLyXFile): change a char to an int.
10260
10261         * WorkArea.C (WorkArea): remove unneeded floats in computation
10262
10263 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10264
10265         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10266
10267         * paragraph.C (asString): Do not ignore newline/hfill chars when
10268         copying to the clipboard.
10269
10270 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10271
10272         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10273         after a multi-line inset.
10274
10275 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10276
10277         * paragraph.C (validate): Set NeedLyXFootnoteCode
10278
10279 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10280
10281         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10282         and decrease-error to decrease.
10283
10284 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10285
10286         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10287         it more readable (should be equivalent)
10288
10289 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10290
10291         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10292
10293 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10294
10295         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10296         of a cursor (row, etc.) after a character has been deleted
10297         (deleteEmptyParagraphMechanism): call the method above on _all_
10298         cursors held by the LyXText when a double space has been
10299         detected/deleted.
10300
10301 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10302
10303         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10304         pixmap.
10305         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10306
10307         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10308         background. Use greyOut() and the new show() methods to toggle between
10309         the foreground and background. Add code to remove the splash after
10310         its initial showing.
10311
10312         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10313         (create_forms): no longer call Dialogs::showSplash.
10314
10315 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10316
10317         * .cvsignore: add version_info.h
10318
10319 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10320
10321         * version_info.h.in: new file
10322
10323         * Makefile.am: add version_info.h.in
10324
10325         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10326         version_info.h instead of VERSION_INFO
10327
10328 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10329
10330         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10331         The ERT inset now returns string().
10332
10333 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10334
10335         * lyxtext.h, text.C (selectNextWord): renamed as
10336         selectNextWordToSpellcheck.
10337
10338         * text.C (selectNextWordToSpellcheck): Modified to not select
10339         words inside an ERT inset.
10340
10341 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10342
10343         * lyx_cb.C (MenuLayoutSave): change a bit the question
10344
10345         * sp_base.h: include <sys/types.h>
10346
10347 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10348
10349         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10350
10351 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10352
10353         * several files: fix typos in user-visible strings
10354
10355 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10356
10357         * text2.C (pasteSelection): do not set the selection, since it
10358         will be cleared later. Actually, the intent was to fix the way the
10359         selection was set, but I figured rmoving the code was just as good.
10360
10361 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10362
10363         * FontLoader.C (available): Check if font is available without
10364         loading the font.
10365
10366 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10367
10368         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10369
10370 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10371
10372         * lyxrc.[Ch]: added display_graphics variable and associated code.
10373
10374 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10375
10376         * bufferparams.C (hasClassDefaults): new method. Returns true if
10377         the buffer parameters correspond to known class defaults
10378
10379 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10380
10381         * XFormsView.C (show): set minimum size to the main window.
10382
10383 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10384
10385         * text2.C (copySelection):
10386         (cutSelection):
10387         * lyxfind.C (LyXReplace):
10388         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10389         LyXText::selectionAsString.
10390
10391         * paragraph.C (asString): add "label" argument to the second form
10392
10393         * text2.C (selectionAsString): add "label" argument and pass it to
10394         Paragraph::asString.
10395
10396 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10397
10398         * lyx_main.C (commandLineHelp): remove version information
10399
10400 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10401
10402         * lyx_main.C: add -version commandline option
10403
10404 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10405
10406         * paragraph.h: make the optional constructor arg required instead.
10407         some modifications to other files because of this.
10408
10409         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10410
10411         * lyxserver.C (C_LyXComm_callback): make it static
10412
10413         * lyx_main.C (error_handler): make it static
10414
10415         * lyx_gui.C (LyX_XErrHandler): make it static
10416
10417         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10418
10419         * WorkArea.C: make the extern "C" methods static.
10420
10421         * Makefile.am (lyx_LDADD): simplify
10422
10423 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10424
10425         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10426         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10427
10428         * LyXAction.C (init):
10429         * lyxfunc.C (dispatch): associated code removal.
10430
10431 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10432
10433         * lyxfont.h (isSymbolFont): shut off warning
10434
10435         * text.C (setHeightOfRow):
10436         (getVisibleRow): fix crash with empty paragraphs which have a
10437         bottom line
10438
10439 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10440
10441         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10442         code.
10443
10444 2001-09-04  José Matos  <jamatos@fep.up.pt>
10445         * buffer.C
10446         * buffer.h
10447         * tabular.C (docbook): rename docBook method to docbook.
10448
10449 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10450
10451         * Makefile.am: add dependencies to main.o.
10452
10453 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10454
10455         * FontLoader.C (available): Return false if !lyxrc.use_gui
10456
10457 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10458
10459         * FontInfo.C (query):
10460         * converter.C (view):
10461         * importer.C (Import):
10462         * exporter.C (Export): Can not -> cannot.
10463
10464 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10465
10466         * BufferView_pimpl.C: allow to create index inset even if
10467           string is empty
10468
10469 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10470
10471         * buffer.C (getLists): replace boost::tie code with an explicit pair
10472         as boost::tie can break some compilers.
10473
10474         * iterators.h: Added a std:: declaration to the return type of
10475         ParIterator::size.
10476
10477 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10478
10479         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10480           case.
10481
10482 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10483
10484         * iterators.[Ch]: New files. Provide paragraph iterators.
10485
10486         * buffer.C (changeLanguage): Use paragraph iterators.
10487         (isMultiLingual): ditto
10488
10489         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10490
10491 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10492
10493         * FontLoader.C: Support for cmr font.
10494
10495 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10496
10497         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10498         (available): New method.
10499
10500         * FontInfo.C (getFontname): Use scalable fonts even when
10501         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10502         found.
10503
10504 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10505
10506         * converter.C (Formats::view): reverted! Incorrect fix.
10507
10508 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10509
10510         * converter.C (Formats::view): only output the -paper option
10511         if the dvi viewer is xdvi, thereby fixing bug #233429.
10512
10513 2001-08-23  Herbert Voss  <voss@perce>
10514
10515         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10516
10517 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10518
10519         * Spacing.h (Spacing): Set space to Default on in the default
10520         constructor.
10521
10522 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10523
10524         * vc-backend.h (RCS::versionString): add RCS to version
10525         (CVS::versionString): add CVS to version
10526
10527         * vc-backend.C (scanMaster): do not add CVS to version.
10528         (scanMaster): do not add RCS to version
10529
10530         * lyxvc.C (versionString): new method
10531
10532         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10533
10534 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10535
10536         * Spacing.C (set): initialize fval
10537
10538 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10539
10540         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10541         " or \.
10542
10543 2001-08-16  Juergen Vigna  <jug@sad.it>
10544
10545         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10546
10547 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10548
10549         * BufferView_pimpl.C:
10550         * figureForm.C:
10551         * lyxtext.h:
10552         * text2.C: setParagraph takes linespacing now
10553
10554 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10555
10556         * LyxAction.C: add internal LFUN_CITATION_INSERT
10557
10558         * LyXView.C: actually apply fix
10559
10560         * bufferlist.C: fix open non-existent file
10561
10562         * lyxfind.C: fix indentation
10563
10564         * lyxfunc.C: remove unneeded assert, fix typo
10565
10566 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10567
10568         * MenuBackend.C: use "Floatname List"
10569
10570 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10571
10572         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10573         when converting LaTeX layout to insetERT.
10574         Generate a non-collapsed float when reading old float
10575
10576 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10577
10578         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10579         ERT insets.
10580
10581 2001-08-13  Juergen Vigna  <jug@sad.it>
10582
10583         * text.C (fill): return 0 instead of 20 as this seems to be the more
10584         correct value.
10585
10586 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10587
10588         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10589         lyxrc.font_norm.
10590
10591 2001-08-13  Juergen Vigna  <jug@sad.it>
10592
10593         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10594         casesensitive off.
10595         (SearchBackward): comment out the unlocking of the inset_owner this
10596         should not be needed!
10597
10598 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10599
10600         * Many files: Remove inherit_language, and add latex_language
10601
10602         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10603         collapsible insets.
10604
10605 2001-08-10  Juergen Vigna  <jug@sad.it>
10606
10607         * text.C (prepareToPrint): fixed hfill-width in draw!
10608
10609         * BufferView2.C (selectLastWord): save the selection cursor as this
10610         now is cleared in the function LyXText::clearSelection!
10611
10612 2001-08-08  Juergen Vigna  <jug@sad.it>
10613
10614         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10615         BACKSPACE type functions.
10616
10617         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10618         is only cutted from the document but not put in the cut-buffer, where
10619         still the old stuff should be.
10620
10621         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10622
10623         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10624
10625         * tabular.C (SetWidthOfCell): fixed special case where the width
10626         was not updated!
10627         (LeftLine): handle '|' in align_special.
10628         (RightLine): ditto
10629         (LeftAlreadyDrawed): ditto
10630         (SetWidthOfCell): ditto
10631
10632 2001-08-07  Juergen Vigna  <jug@sad.it>
10633
10634         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10635
10636 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10637
10638         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10639         * lyxlex.[hC]: ditto
10640
10641 2001-08-06  Juergen Vigna  <jug@sad.it>
10642
10643         * text.C (getVisibleRow): fix up row clearing a bit.
10644
10645 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10646
10647         * minibuffer.C: make sure the X server sees the changes in the input.
10648
10649 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10650
10651         * paragraph.C (getFont): split into...
10652         (getLabelFont): this
10653         (getLayoutFont): and this
10654         * paragraph_pimpl.C (realizeFont): calling this
10655
10656         * text2.C (getFont): split into...
10657         (getLayoutFont): this
10658         (getLabelFont): and this
10659         (realizeFont): all three calling this
10660
10661         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10662         files where used.
10663
10664 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10665
10666         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10667
10668 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10669
10670         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10671         layouts from the Quote inset insertion.
10672
10673 2001-08-03  Juergen Vigna  <jug@sad.it>
10674
10675         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10676
10677         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10678         only if status not is already CHANGED_IN_DRAW (second level).
10679
10680         * text.C (draw): don't set the need_break_row when inside an
10681         InsetText LyXText.
10682
10683 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10684
10685         * buffer.C (parseSingleLyXformat2Token): handle more latex
10686         conversion cases.
10687
10688         * bufferview_funcs.[hC]: change function names to
10689         begin with small char, adjust other files.
10690
10691 2001-08-02  André Pönitz <poenitz@gmx.net>
10692
10693         * lyxfunc.C:
10694         BufferView_pimpl.C: remove broken special code for math-greek
10695
10696 2001-08-02  Juergen Vigna  <jug@sad.it>
10697
10698         * BufferView_pimpl.C (update): redone this function so that we
10699         update the text again if there was a CHANGE_IN_DRAW.
10700
10701         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10702         (drawFromTo): added a new internal bool which is used by draw() and
10703         redraw() function.
10704         (general): some cursor drawing problems fixed.
10705
10706 2001-08-01  Juergen Vigna  <jug@sad.it>
10707
10708         * lyxfind.C (LyXFind): fixed
10709         (SearchForward): ditto
10710         (SearchBackward): ditto
10711
10712         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10713         spurius drawing of the cursor in the main area.
10714
10715         * text2.C (status): small fix which could lead to a segfault!
10716         (clearSelection): remove unneeded BufferView param.
10717
10718 2001-08-01  André Pönitz <poenitz@gmx.net>
10719
10720         * lyxfunc.C: small change due to changed mathed interface
10721
10722 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10723
10724         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10725
10726 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10727
10728         * lyxfunc.c: fail gracefully if file doesn't exist
10729
10730         * LyXSendto.C:
10731         * buffer.C:
10732         * lyxfunc.C:
10733         * BufferView_pimpl.C: IsDirWriteable() proto changed
10734
10735         * LyXView.C: fix updateWindowTitle() to store the last title
10736
10737 2001-07-31  Juergen Vigna  <jug@sad.it>
10738
10739         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10740         the font (wrong since using of Paragraph::highestFontInRange).
10741
10742         * paragraph.C (highestFontInRange): added a default_size parameter.
10743
10744         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10745         (setHeightOfRow): reformat
10746
10747 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10748
10749         * converter.[hC] + affected files: move to (inital-char)lowercase
10750         function names.
10751
10752         * ParagraphParameters.C (ParagraphParameters): remove commented code
10753
10754         * PainterBase.[Ch]: remove commented code
10755
10756         * LaTeXFeatures.h: add "bool floats" for float.sty
10757
10758         * LaTeXFeatures.C (LaTeXFeatures): init floats
10759         (require): handle float
10760         (getPackages): do it with floats
10761
10762 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10763
10764         * BufferView_pimpl.C (Dispatch): improve handling of
10765         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10766
10767         * commandtags.h: #include lyxfont.h here temporarily to avoid
10768         keybinding bug.
10769
10770         * bufferlist.h: include LString.h here.
10771
10772 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10773
10774         * text2.C (getStringToIndex): new method.
10775
10776 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10777
10778         * *: Reduced header file dependencies all over.
10779
10780 2001-07-30  Baruch Even  <baruch@lyx.org>
10781
10782         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10783
10784 2001-07-29  Baruch Even  <baruch@lyx.org>
10785
10786         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10787
10788 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10789
10790         * ParameterStruct.h (endif): add a default constructor to make
10791         sure that all variables is initialized.
10792
10793         * ParagraphParameters.C (ParagraphParameters): adjust
10794
10795 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10796
10797         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10798         index; also, check that there is something to index, and that it
10799         does not span over several paragraphs.
10800         (doubleClick): use WHOLE_WORD_STRICT for double click.
10801
10802         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10803
10804         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10805         scheme.
10806
10807 2001-07-26  Baruch Even  <baruch@lyx.org>
10808
10809         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10810         an InsetFig figure, backwards compatible reading of old figure code.
10811
10812 2001-07-27  Juergen Vigna  <jug@sad.it>
10813
10814         * text2.C: font.realize function adaption.
10815
10816         * text.C (draw): add a warnings lyxerr text if needed.
10817
10818         * layout.C: font.realize function adaption.
10819
10820         * language.C: add inherit_language and implement it's handlings
10821
10822         * bufferview_funcs.C (StyleReset): remove language parameter from
10823         font creation (should be language_inherit now).
10824
10825         * bufferparams.C (writeFile): handle ignore_language.
10826
10827         * paragraph.C (getFontSettings): the language has to be resolved
10828         otherwise we have problems in LyXFont!
10829
10830         * lyxfont.C (lyxWriteChanges): added document_language parameter
10831         (update): removed unneeded language parameter
10832
10833         * paragraph.C (validate): fixed wrong output of color-package when
10834         using interface colors for certain fonts in certain environments,
10835         which should not seen as that on the final output.
10836
10837 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10838
10839         * BufferView_pimpl.C:
10840         * Thesaurus.h:
10841         * Thesaurus.C:
10842         * Makefile.am:
10843         * commandtags.h:
10844         * LyXAction.C: add thesaurus support
10845
10846         * lyxfind.h:
10847         * lyxfind.C: add "once" parameter, for thesaurus, to not
10848           move to the next match
10849
10850 2001-07-26  Juergen Vigna  <jug@sad.it>
10851
10852         * lyxfont.C (realize): honor ignore_language too!
10853         (resolved): ditto.
10854
10855         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10856
10857         * text.C (draw): one place more for ignore_language to not draw
10858         itself!
10859
10860 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10861
10862         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10863
10864 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10865
10866         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10867         the minipage conversion problem.
10868
10869 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10870
10871         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10872         insert an inset.
10873
10874 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10875
10876         * BufferView.h: don't forward declare WorkArea
10877
10878         * BufferView.C: don't include WorkArea.h
10879
10880 2001-07-25  André Pönitz <poenitz@gmx.net>
10881
10882         * commandtags.h:
10883         * LyXAction.C:
10884         * lyxfunc.C:  new LFUN 'math-space'
10885
10886         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10887
10888 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10889
10890         * text2.C (toggleInset): call open/close
10891
10892 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10893
10894         * lyxfunc.C (dispatch): add debug for the disabled case
10895
10896         * font.C (buttonText): make similar to rectText
10897
10898         * buffer.C (readInset): comment out parsing of insetlist and
10899         insttheorem
10900
10901         * PainterBase.C (rectText): small correction
10902
10903         * BufferView_pimpl.C: comment out insettheorem and insetlist
10904         * LyXAction.C: ditto
10905         * commandtags.h: ditto
10906
10907 2001-07-24  Juergen Vigna  <jug@sad.it>
10908
10909         * text.C (draw): honor the ignore_language.
10910
10911         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10912
10913 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10914
10915         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10916         char inset.
10917
10918 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10919
10920         * lyxtext.h: remove unused (and unimplemented) methods
10921
10922 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10923
10924         * text.C (getVisibleRow): honor background color
10925
10926         * PainterBase.h:
10927         * Painter.h: remove default color argument for fillRectangle
10928
10929         * text.C (backgroundColor): new method
10930
10931 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10932
10933         * text.C (getVisibleRow): adjust
10934
10935         * font.[Ch] (rectText): new method, metrics
10936         (buttonText): new method, metrics
10937
10938         * PainterBase.[hC]: make rectText and buttonText always draw and take
10939         fewer paramteres.
10940
10941 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10942
10943         * ToolbarDefaults.C (read):
10944         * MenuBackend.C (read): allow escaping in all strings
10945
10946         * BufferView_pimpl.C (insertAndEditInset): new method.
10947         (Dispatch): use insertAndEditInset whenever appropriate.
10948
10949         * BufferView_pimpl.C (insertNote): removed
10950
10951         * BufferView_pimpl.C (smartQuote): new method, moved from
10952         BufferView; if an insetquote cannot be inserted, insert a '"'
10953         character instead.
10954
10955         * BufferView2.C: remove insertCorrectQuote();
10956
10957         * lyxfunc.C (getStatus): Add support for all remaingin
10958         inset-insert lfuns.
10959
10960         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10961
10962         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10963         command (necessary to pass " as parameter of self-insert.
10964
10965         * text.C (selectWordWhenUnderCursor):
10966         (selectWord): add word_location parameter
10967         (selectWordWhenUnderCursor): same + remove special code for word
10968         boundary.
10969         (selectNextWord): use kind() to guess type of insetspecialchar,
10970         not latex().
10971
10972         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10973         (insertErtContents): create ert insets as collapsed.
10974         (readInset): better compatibility code for Info inset.
10975
10976 2001-07-20  Juergen Vigna  <jug@sad.it>
10977
10978         * lyxfunc.C (dispatch): use always LyXFind now!
10979
10980         * text2.C (init): add a reinit flag so that the LyXText can be
10981         reinited instead of deleted and reallocated (used in InsetText).
10982
10983         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10984
10985         * text.C: ditto
10986
10987         * text2.C: ditto
10988
10989 2001-07-18  Juergen Vigna  <jug@sad.it>
10990
10991         * text.C (selectNextWord): handle insets inside inset by calling
10992         always the bv->text functions so that we can go up the_locking_inset!
10993
10994         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10995         in strange locations when inside an inset!
10996
10997         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10998         handling to include insets.
10999
11000         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11001
11002 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11003
11004         * LyXAction.C (init):
11005         * commandtags.h:
11006         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11007         LIGATURE_BREAK, since the name is so stupid.
11008
11009 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11010
11011         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11012         InsetInfos.
11013
11014         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11015
11016         * sp_form.[Ch]: remove.
11017
11018         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11019
11020         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11021         InsetInfo.
11022
11023         * src/buffer.C (readInset): ditto.
11024
11025 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11026
11027         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11028         menuSeparator(), endOfSentenceDot(), ldots() and
11029         hyphenationPoint(), which are therefore removed.
11030         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11031
11032         * LyXAction.C (init):
11033         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11034
11035         * paragraph.C (getWord): removed.
11036
11037         * BufferView_pimpl.C (Dispatch): use last word or selection for
11038         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11039
11040         * lyx_main.C (queryUserLyXDir): do not ask before creating
11041         user_dir, except if it has been named explicitely.
11042
11043 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11044
11045         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11046         a document of zero size.
11047
11048 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11049
11050         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11051         approriately in the c-tor and in require().
11052         (getPackages): output the appropriate LaTeX for natbib support.
11053
11054         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11055         variables "use_natbib" and "use_numerical_citations" when reading the
11056         LyX file.
11057         (readInset): read the various natbib cite commands.
11058         (validate): white-space change.
11059
11060         * bufferparams.[Ch]: new variables "bool use_natbib" and
11061         "bool use_numerical_citations".
11062         (writeFile): output them in the LyX file.
11063
11064 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11065
11066         * lyxfunc.C (getStatus): add support for all the inset insertion
11067         commands.
11068
11069         * text2.C (insertInset):
11070         * paragraph.C (insetAllowed):
11071         * BufferView_pimpl.C (insertInset): update to take in account the
11072         renaming of insertInsetAllowed
11073
11074         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11075
11076         * text2.C (getInset): new method. returns inset at cursor position.
11077
11078         * BufferView_pimpl.C (Dispatch): changes because of this.
11079
11080         * LyXAction.C (init): rename open-stuff to inset-toggle.
11081
11082         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11083
11084         * text2.C (toggleInset): renamed from openStuff; use
11085         Inset::open().
11086
11087 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11088
11089         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11090
11091         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11092
11093 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11094
11095         * buffer.C (readLyXformat2): Add filename to the error dialog
11096
11097 2001-07-18  Juergen Vigna  <jug@sad.it>
11098
11099         * tabular.C (GetCellNumber): put an assert here instead of the check!
11100
11101 2001-07-17  Juergen Vigna  <jug@sad.it>
11102
11103         * BufferView_pimpl.C (toggleSelection): adapted too.
11104
11105         * text.C (selectNextWord): adapted for use with insets.
11106         (selectSelectedWord): ditto
11107
11108 2001-07-17  Juergen Vigna  <jug@sad.it>
11109
11110         * sp_spell.C (PSpell): fix initialitation order.
11111
11112 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11113
11114         * paragraph.C: spacing
11115
11116 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11117
11118         * sp_spell.C: repair language selection for pspell
11119
11120 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11121
11122         * lyxfunc.h: change more methods to begin with lower char.
11123
11124 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11125
11126         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11127         for unknown layouts.
11128
11129 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11130
11131         * buffer.C (readLyXformat2): Generate an error dialog if there are
11132         unknown layouts.
11133
11134 2001-07-16  Juergen Vigna  <jug@sad.it>
11135
11136         * sp_spell.C: always compile ISpell part.
11137
11138         * lyxrc.C: added use_pspell entry and it's handling.
11139
11140 2001-07-13  Juergen Vigna  <jug@sad.it>
11141
11142         * sp_spell.C: removed double includes.
11143
11144 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11145
11146         Consistent use of Lsstream.h:
11147         * Lsstream.h: added using std::stringstream for consistencies sake.
11148
11149         * buffer.C: removed using std::stringstream
11150
11151         * lyxfont.C (stateText):
11152         * paragraph.C (asString):
11153         * text.C (selectNextWord, selectSelectedWord):
11154         * text2.C (setCounter):
11155         * vspace.C (asString, asLatexString):
11156         std::ostringstream -> ostringstream.
11157
11158 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11159
11160         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11161         * commandtags.h: add LFUN_HELP_ABOUTLYX
11162         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11163
11164 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11165
11166         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11167         cursorToggle()
11168         * lyx_gui_misc.C: remove spellchecker
11169         * lyxfunc.C: showSpellchecker
11170         * sp_base.h: added
11171         * sp_ispell.h: added
11172         * sp_pspell.h: added
11173         * sp_spell.C: added
11174         * sp_form.[Ch]: removed
11175         * spellchecker.[Ch]: removed
11176
11177 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11178
11179         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11180         is set.
11181         (simpleTeXSpecialChars): Simply print the input character without
11182         any special translation if pass_thru is set.
11183
11184         * layout.h: Added bool pass_thru to layout class for being able to
11185         implement pass through of a paragraph for Literate Programming.
11186
11187         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11188         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11189         * layout.C (Read): add "passthru" to list of layout tags and add
11190         code to set the pass_thru boolean when it is read.
11191
11192 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11193
11194         * trans_decl.h: remove allowed from KmodInfo
11195
11196         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11197         remove allowed code
11198         (Load): adjust
11199
11200         * paragraph_pimpl.C (erase): use boost::prior
11201
11202         * Painter.C (text): use data() instead of c_str() when length is
11203         also provided.
11204         * WorkArea.C (putClipboard): ditto
11205         * font.h (width): ditto
11206
11207         * BufferView2.C: use it-> instead of (*it). for iterators
11208         * texrow.C: ditto
11209         * paragraph_pimpl.C: ditto
11210         * paragraph.C: ditto
11211         * minibuffer.C: ditto
11212         * language.C: ditto
11213         * kbmap.C: ditto
11214         * encoding.C: ditto
11215         * counters.C: ditto
11216         * converter.C: ditto
11217         * chset.C: ditto
11218         * Variables.C: ditto
11219         * TextCache.C: ditto
11220         * MenuBackend.C: ditto
11221         * LyXAction.C: ditto
11222         * LColor.C: ditto
11223         * FloatList.C: ditto
11224         * DepTable.C: ditto
11225         * ColorHandler.C (LyXColorHandler): ditto
11226
11227 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11228
11229         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11230
11231         * text2.C (openStuff): reintroduce this method (which had been
11232         nuked in NEW_INSETS frenzy).
11233
11234         * lyxfunc.C (Dispatch): when an action has not been handled, use
11235         its name in the error message, not its number.
11236
11237         * paragraph.C (inInset): change method name to begin with lowercase.
11238
11239         * undo_funcs.C:
11240         * text2.C: updates because of this.
11241
11242 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11243
11244         * ToolbarDefaults.C (add): add spaces in error message
11245
11246 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11247
11248         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11249         (readLyXformat2): rename return_par to first_par, use lyxlex's
11250         pushToken and remove the manual push handling.
11251         (parseSingleLyXformat2Token): add another ert comp. variable:
11252         in_tabular, rename return_par to first_par. handle newlines better
11253
11254 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11255
11256         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11257
11258 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11259
11260         * text2.C (getParFromID): removed
11261
11262         * buffer.C (getParFromID): new method moved form lyxtext.
11263         * BufferView2.C (insertErrors): adjust
11264         (setCursorFromRow): adjust
11265         * BufferView_pimpl.C (restorePosition): adjust
11266         * lyxfunc.C (Dispatch): adjust
11267         * undo_funcs.C (textUndo): adjust
11268         (textRedo): adjust
11269         (textHandleUndo): adjust
11270         (textHandleUndo): adjust
11271
11272 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11273
11274         * buffer.C: up' the LYX_FORMAT
11275
11276         * lyxfont.h: turn NO_LATEX on as default
11277
11278         * buffer.C (insertErtContents): new methods of tex style compability.
11279         (parseSingleLyXformat2Token): use it several places.
11280         * tabular.C (OldFormatRead): and here
11281
11282 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11283
11284         * text2.C: remove some commented code.
11285         reindent file.
11286
11287         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11288         * trans.C: changes because of the above.
11289
11290 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11291
11292         * text2.C (setCounter): Fix counters bug with bibliography layout.
11293
11294 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11295
11296         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11297         own member functions
11298         (simpleTeXSpecialChars): ditto
11299
11300 2001-07-06  Juergen Vigna  <jug@sad.it>
11301
11302         * a lot of files: changed the access to LyXText::status and the
11303         call of undo-functions.
11304
11305         * undo.[Ch]: added a inset_id to the undo informations.
11306
11307         * undo_funcs.[Ch]: added and moved here all undo functions.
11308
11309         * lyxtext.h: give the status enum a weight, made status_ a private
11310         variable and made accessor functions for it, removed the whole bunch
11311         of undo-functions as they are now in their own file, make some
11312         functions publically available. Added function ownerParagraph with
11313         int parameter.
11314
11315         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11316         made InInset() a const function, added getParFromID() function.
11317
11318         * buffer.[Ch]: added const version for inset_iterator functions,
11319         added getInsetFromID() function.
11320
11321         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11322         changed undo functions for new version.
11323
11324 2001-07-05  Juergen Vigna  <jug@sad.it>
11325
11326         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11327         unknow mechanism does not call the proper constructor but only this
11328         one also if I request the other!?
11329
11330 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11331
11332         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11333
11334         * text2.C (LyXText): use initialization lists.
11335
11336         * lyxtext.h (Selection): initialize set_ and mark_
11337         (init): remove method
11338
11339 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11340
11341         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11342
11343 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11344
11345         * screen.[Ch]: change method names to begin with lowercase
11346
11347         * BufferView_pimpl.C (updateScrollbar): simplify further and
11348         hopefully make it a bit faster.
11349
11350 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11351
11352         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11353         calling directly xforms functions.
11354
11355         * Painter.C (Painter):
11356         * lyx_cb.C (MenuWrite):
11357         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11358         fl_display.
11359
11360         * lyx_gui.C: remove bogus guiruntime extern declaration.
11361
11362 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11363
11364         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11365         in NEW_INSETS
11366         (redoDrawingOfParagraph): ditto
11367         (redoParagraphs): ditto
11368         (cutSelection): don't create a object for CutAndPaste use the
11369         static method directly
11370         (pasteSelection): ditto
11371
11372         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11373         LyXview (+ rename)
11374
11375 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11376
11377         * modifications to some other files because of this.
11378
11379         * Makefile.am (lyx_SOURCES): add XFormsView
11380
11381         * XFormsView.[Ch]: new files
11382
11383         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11384         the main window. Move the gui dependent stuff to XFormsView
11385
11386 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11387
11388         * tabular.C (GetCellInset): update cur_cell also in the row/col
11389         version of this function.
11390
11391         * lyxfunc.C: no need to include figure_form.h here.
11392
11393         * FontLoader.h:
11394         * lyxfunc.h:
11395         * lyxscreen.h:
11396         * text2.C:
11397         * lyxvc.C: no need to include forms.h here.
11398
11399 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11400
11401         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11402
11403         * lyxfunc.C (Dispatch):
11404         * Spacing.C (set):
11405         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11406         constructor argument.
11407
11408 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11409
11410         * paragraph.C (Paragraph): dont't clear, and just set layout.
11411         (makeSameLayout): use params's copy contructor.
11412
11413         * ParagraphParameters.[Ch] (makeSame): delete method
11414
11415 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11416
11417         * Variables.[Ch]: fix indentation, rename set to isSet
11418
11419 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11420
11421         * lyxfunc.C (Dispatch): fix typo
11422
11423 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11424
11425         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11426         upper_bound.
11427
11428         * bufferlist.C: include assert.h for emergencyWrite().
11429
11430 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11431
11432         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11433           give up at last (bug #425202) !
11434
11435 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11436
11437         * lyx_gui_misc.C:
11438         * sp_form.h:
11439         * sp_form.C:
11440         * spellchecker.h:
11441         * spellchecker.C: strip spellchecker options and bring up
11442           preferences tab instead
11443
11444 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11445
11446         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11447         the istringstream constructor
11448
11449 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11450
11451         * paragraph.C (getLayout): fix return value
11452
11453         * paragraph.h: do not declare getLayout as inline.
11454
11455         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11456
11457 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11458
11459         * lyxcursor.h (operator<): new func
11460         (operator>): new func
11461         (operator>=): new func
11462         (operator<=): new func
11463
11464         * text.C (changeCase): use selection.start and selection.end
11465         (changeRegionCase): require from to be <= to. Require par to be a
11466         valid paragraph.
11467
11468         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11469
11470 2001-06-27  Juergen Vigna  <jug@sad.it>
11471
11472         * text.C (cursorLeftOneWord): changed to return the cursor and added
11473         overlay with BufferView * parameter which calls this one.
11474         (getWord): added
11475         (selectWord): use new getWord function.
11476         (changeCase): renamed from changeWordCase as and extended to work
11477         also on selections.
11478
11479         * lyxtext.h: added enum word_location
11480
11481         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11482         changeCase as this operates now also on selections.
11483
11484 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11485
11486         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11487
11488         * many files: send debug output to Debug::INFO instead of
11489         Debug::ANY.
11490
11491         * converter.C (View):
11492         (Convert):
11493         (Move): send debug output to Debug::FILES instead of console.
11494
11495 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11496
11497         * lyxfunc.C (getStatus): use func_status
11498
11499         * func_status.h: new header, describing the results of
11500         LyXFunc::getStatus;
11501
11502         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11503         LFUN_MATH_HALIGN.
11504
11505 2001-06-25  The LyX Project  <jug@sad.it>
11506
11507         * buffer.C (sgmlOpenTag):
11508         (sgmlCloseTag):
11509         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11510
11511 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11512
11513         * text2.C: remove some dead code
11514
11515         * tabular.C (GetCellInset): store the last cell checked (gotten)
11516
11517         * tabular.h: add the helper for the speedup
11518
11519         * lyxtext.h: remove some dead code
11520
11521 2001-06-26  The LyX Project  <Asger>
11522
11523         * paragraph.C: Change export to LaTeX of alignment to
11524         \begin{center} and family for better roundtrip work with reLyX.
11525
11526         * Tune the math drawing a bit.
11527
11528 2001-06-25  The LyX Project  <Asger>
11529
11530         * LColor.C (LColor): New color for math background. New color
11531         for buttons.
11532
11533 2001-06-25  The LyX Project  <jug@sad.it>
11534
11535         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11536
11537         * lyxfunc.C (Open):
11538         * bufferlist.C (newFile): do not restrict to files ending with
11539         .lyx
11540
11541         * BufferView_pimpl.C (MenuInsertLyXFile):
11542
11543 2001-06-24  The LyX Project  <jug@sad.it>
11544
11545         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11546         of compare_no_case
11547
11548 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11549
11550         * lyxtext.h: rename most methods to begin with a small char.
11551         Lots of changes because of this.
11552
11553         * paragraph.C (Paragraph): do not call fitToSize
11554         (erase): call Pimpl::erase
11555         (insertChar): call Pimpl::insertChar
11556         (insertInset): call Pipl::insertInset
11557         (breakParagraph): do not call fitToSize
11558         (breakParagraphConservative): do not call fitToSize
11559         (fitToSize): remove method
11560
11561         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11562
11563 2001-06-24  The LyX Project  <Asger>
11564
11565         * Fix Qt compilation^2
11566
11567 2001-06-24  The LyX Project  <jug@sad.it>
11568
11569         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11570         depthHook(getDepth()-1).
11571
11572         * paragraph.h:
11573         * ParagraphParameters.h:
11574         * ParameterStruct.h: change type of depth to unsigned int ==
11575         depth_type. Many adaptations to other files before of that.
11576
11577 2001-06-24  The LyX Project  <Asger>
11578
11579         * Fix Qt compilation.
11580
11581 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * paragraph.h: renamed several methods to begin with small letter.
11584         several changes to many parts of the code because of this.
11585
11586 2001-06-23  The LyX Project  <jug@sad.it>
11587
11588         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11589         rewritten to discard all double spaces when KeepEmpty is off
11590         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11591         to only handle newlines but not fiddle with spaces and friends.
11592
11593         * lyxfunc.C (MenuNew): when doing 'new from template', use
11594         template_path as default directory
11595
11596 2001-06-23  The LyX Project  <Asger>
11597
11598         * Clean-up of header file includes all over
11599         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11600
11601 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11602
11603         * paragraph.h: renamed from lyxparagraph.h
11604
11605 2001-06-23  Asger  <lyx@violet.home.sad.it>
11606
11607         * Buffer.h: Removed Buffer::resize
11608         * BufferList.h: Removed BufferList::resize
11609         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11610         the document lazily when we change the width, or the font settings.
11611
11612 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11613
11614         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11615
11616 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11617
11618         * buffer.h: remove out of date comment
11619
11620 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11621
11622         * lyxscreen.h:
11623         * screen.C: fix "theoretical" GC leak
11624
11625 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11626
11627         * LaTeX.C (scanAuxFile):
11628         (deplog): remove trailing \r when reading stream (useful under
11629         win32)
11630
11631 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11632
11633         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11634         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11635         and BufferView::theLockingInset(Inset*), so should use them and not
11636         access bv_->text->the_locking_inset directly.
11637
11638         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11639
11640 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11641
11642         * Makefile.am:
11643         * tex-defs.h: remove old unused file
11644
11645 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11646
11647         * BufferView_pimpl.C: fix typo, remove minibuffer message
11648           when buffer has loaded
11649
11650 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11651
11652         * lyxfunc.C (Dispatch): use stringstream
11653         (MenuNew): use stringstream
11654         (Open): use stringstream
11655
11656         * importer.C (Import): use stringstream
11657
11658         * bufferview_funcs.C (CurrentState): use stringstream
11659
11660         * LaTeX.C (run): use stringstream
11661
11662         * BufferView_pimpl.C (savePosition): use stringstream
11663         (restorePosition): use stringstream
11664         (MenuInsertLyXFile): use stringstream
11665
11666 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11667
11668         * BufferView.C:
11669         * Bullet.C:
11670         * ColorHandler.C:
11671         * FontInfo.C:
11672         * FontLoader.C:
11673         * LColor.C:
11674         * LaTeXFeatures.C:
11675         * Painter.C:
11676         * gettext.C:
11677         * lyx_gui_misc.C:
11678         * lyxserver.C:
11679         * vspace.C: removed // -*- C++ -*- as first line.
11680
11681         * lyxfind.h:
11682         * version.h: added // -*- C++ -*- as first line.
11683
11684 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11685
11686         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11687
11688         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11689         of string
11690
11691 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11692
11693         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11694         of floats.
11695
11696 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11697
11698         * gettext.C: include LString.h even when --disable-nls is on.
11699
11700 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11701
11702         * converter.h (Get): changed argument type from int to
11703         FormatList::size_type to avoid unnecessary conversion.
11704
11705         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11706         before using it.
11707
11708 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11709
11710         * gettext.h: include LString.h even when --disable-nls is on.
11711
11712 2001-06-07  Juergen Vigna  <jug@sad.it>
11713
11714         * text.C (BreakAgain): subst spaces with tabs.
11715
11716         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11717         (resizeInsetsLyXText): set force on resizeLyXText.
11718
11719 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11720
11721         * gettext.h (gettext_init):
11722         (locale_init): use a real definition instead of a macro
11723
11724 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11725
11726         * Bufferview_pimpl.C:
11727         * LColor.h:
11728         * LColor.C: further lcolor tidies
11729
11730 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11731
11732         * BufferView_pimpl.C (updateScrollbar): simplify.
11733
11734         * BufferView2.C: don't include insets/insetinfo.h, change
11735         prototype for insertInset and call the Pimpl version. let
11736         updateInset call Pimpl version.
11737
11738         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11739         gotoInset to BufferView::Pimpl
11740
11741 2001-06-01  Juergen Vigna  <jug@sad.it>
11742
11743         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11744         inside a LockingInset (is the update needed at all?).
11745
11746 2001-05-31  Juergen Vigna  <jug@sad.it>
11747
11748         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11749         here not the old one otherwise how should we compare it afterwards
11750         if it's the same!
11751
11752 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11753
11754         * lyxfont.C:
11755         * tabular.C:
11756         * tabular-old.C:
11757         * FontInfo.C: bring C functions into global namespace when
11758         necessary
11759
11760 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11761
11762         * LString.h: make sure config.h has been loaded before LString.h.
11763
11764         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11765         (one for each char read by EatLine!).
11766
11767         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11768         variables.
11769
11770 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11771
11772         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11773         to the same as the par we break from
11774
11775 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11776
11777         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11778
11779         * MenuBackend.C (expand): also create menu entries for wide
11780         versions of the floats.
11781
11782         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11783
11784         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11785
11786         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11787         frontends/Makefile.am
11788
11789         * text2.C: adjust
11790         * text.C: adjust
11791
11792
11793         * tabular.C (getTokenValue): add std::
11794
11795         * tabular-old.C (getTokenValue): add std::
11796         (getTokenValue): ditto
11797         (getTokenValue): ditto
11798
11799         * screen.C (ToggleSelection): adjust
11800
11801         * lyxtext.h: put selection cursors inside a Selection struct.
11802
11803         * lyxfunc.C (moveCursorUpdate): adjust
11804
11805         * lyxfont.C (latexWriteStartChanges): add std::
11806
11807         * lyxfind.C: adjust
11808
11809         * font.h: delete with(char const *, LyXFont const &)
11810
11811         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11812
11813         * FontInfo.C (getFontname): add std::
11814
11815         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11816         (workAreaButtonPress): adjust
11817         (tripleClick): adjust
11818         (update): adjust
11819         (moveCursorUpdate): adjust
11820         (Dispatch): adjust
11821
11822         * BufferView2.C (gotoInset): adjust
11823
11824 2001-05-30  Juergen Vigna  <jug@sad.it>
11825
11826         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11827         to check pspell I add this as default as I now have new pspell
11828         libraries and they seem to use this.
11829
11830 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11831
11832         * text2.C (CutSelection): make the cursor valid before the call to
11833         ClearSelection.
11834
11835 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11836
11837         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11838         relied on 0 terminated strings and other horrors. Bug found due to
11839         the new assert in lyxstring!
11840
11841         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11842         KP_ keys.
11843
11844 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11845
11846         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11847         to latinkeys.bind.
11848
11849         * lyxfunc.C (processKeySym): change method of getting to the
11850         self-insert char.
11851
11852         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11853         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11854         * BufferView_pimpl.[Ch]: here as private methods.
11855
11856 2001-05-28  Juergen Vigna  <jug@sad.it>
11857
11858         * text.C (SetHeightOfRow): added the update() call again as it is
11859         needed to initialize inset dimensions!
11860
11861 2001-05-16  Juergen Vigna  <jug@sad.it>
11862
11863         * text2.C (SetCharFont): Add new function with BufferView * and
11864         bool toggleall parameters for setting insets internal fonts.
11865         (SetFont): Freeze the undo as we may change fonts in Insets and
11866         all this change should be inside only one Undo!
11867
11868         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11869         setting font's in insets as for them we have the SetFont function!
11870
11871 2001-05-15  Juergen Vigna  <jug@sad.it>
11872
11873         * text2.C (ClearSelection): to be sure we REALLY don't have any
11874         selection anymore!
11875
11876         * tabular.C (TeXCellPreamble): fixed the left border problem for
11877         multicolumn cells.
11878
11879 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11880
11881         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11882         dependancy file
11883
11884 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11885
11886         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11887         LFUN_BREAKPARAGRAPH.
11888
11889         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11890         help test to "internal only", similar for LFUN_INSERT_URL
11891
11892         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11893         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11894         auto_region_delete and deadkeys.
11895
11896 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11897
11898         * LColor.h:
11899         * LColor.C: remove some dead entries, tidy a little
11900
11901 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11904         commented code.
11905         (Dispatch): implement LFUN_ESCAPE
11906
11907         * commandtags.h: add LFUN_ESCAPE
11908
11909         * LyXAction.C (init): add entry for LFUN_ESCAPE
11910
11911         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11912         Remove commented code.
11913         (insertNote): moved here
11914         (open_new_inset): moved here
11915
11916         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11917         BufferView_pimpl
11918
11919 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11920
11921         * kbmap.C (findbinding): clean it up and make it work correctly.
11922
11923         * lyx_main.C (init): do not pass argc and argv as parameters
11924
11925 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11926
11927         * buffer.C: fix path for OS/2 & Win32
11928
11929         * lyx_gui.C:
11930         * lyx_main:
11931         * lyx_main.C: Added os:: class.
11932
11933         * os2_defines.h: update
11934
11935 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11936
11937         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11938         better by trying again with reduced state.
11939
11940 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11941
11942         * lyxrc.C (read): print error about invalid key sequence only when
11943         debugging (because not all latinX keysyms are known to some X
11944         servers)
11945
11946         * kbsequence.C (getiso): add a few std:: qualifiers
11947         (getiso): comment out extra return statement.
11948
11949 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11950
11951         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11952         handling.
11953         (Dispatch): enhance the accent inset a bit. (not perfect)
11954
11955 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11956
11957         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11958
11959 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11960
11961         * bufferlist.C (emergencyWrite): fix assert() call
11962
11963 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11964
11965         * text.C (InsertChar): Added trivial patch to only send the "you
11966         can not do multiple spaces this way" message once during a
11967         session.
11968
11969 2001-05-08  Baruch Even  <baruch@lyx.org>
11970
11971         * Makefile.am: Changed order of libraries to get LyX to link properly
11972         with the gnome frontend.
11973
11974 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11975
11976         * LaTeXFeatures.h: add a std:: qualifier
11977
11978 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11979
11980         * paragraph.C (String): use stringstream
11981
11982 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11983
11984         * paragraph.C (writeFile): remove footflag arg
11985
11986         * buffer.C (makeLaTeXFile): use stringstream
11987         (latexParagraphs): remove footnot gurba
11988
11989         * LaTeXFeatures.C (getPackages): use stringstream
11990         (getMacros): likewise
11991         (getTClassPreamble): likewise
11992         (getFloatDefinitions): new method
11993
11994         * paragraph.C (writeFile): reindent
11995         (Erase): reindent
11996
11997         * WorkArea.h: revert the xpos + etc changes.
11998
11999         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12000
12001         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12002
12003         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12004         (pasteSelection): likewise
12005         * text2.C (CreateUndo): likewise
12006
12007 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12008
12009         * minibuffer.C (peek_event): temporarily reduce the functionality
12010         of the minibuffer (to allow args on lfuns)
12011
12012         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12013         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12014
12015         * buffer.C (readInset): add compability reading of old float
12016         lists, add reading of new style float list.
12017         (readInset): avoid reevaluation of inscmd.getCmdName()
12018         (getLists): reindent
12019
12020         * MenuBackend.C (MenuItem): implement parsing of
12021         md_floatlistinsert and md_floatinsert.
12022         (expand::LastFiles): move initalizaton of iterators out of loop,
12023         avoid reevaluation.
12024         (expand::Documents): introduce typdedef vector<string> Strings,
12025         and use it.
12026         (expand::ExportFormats): introduce typedef vector<Format const *>
12027         Formats, and use it.
12028         (expand): implement FloatListInsert and FloatInsert.
12029
12030         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12031         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12032         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12033
12034         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12035         handling.
12036         (Dispatch::LFUN_FLOAT_LIST): implement
12037
12038 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12039
12040         * LaTeX.C (run): Fix problem with --export code.
12041
12042 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12043
12044         * BufferView.[Ch] (workarea): removed.
12045         (getClipboard) new method; wrapper for workarea()->getClipboard()
12046
12047         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12048         bug.
12049
12050         * WorkArea.h (width, height, xpos, ypos): These methods all
12051         returned the dimensions of the work_area sub-area of WorkArea,
12052         resulting in a position error if the WorkArea were resized. Now
12053         return the dimensions of the entire WorkArea.
12054
12055         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12056
12057 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12058
12059         * LaTeX.C (deplog): correct the syntax of regex reg1
12060
12061 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12062
12063         * undo.C: remove !NEW_INSETS cruft
12064
12065 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12066
12067         * text2.C: remove !NEW_INSETS cruft
12068
12069         * text.C: remove !NEW_INSETS cruft
12070
12071         * tabular.C: remove !NEW_INSETS cruft
12072
12073         * spellchecker.C: remove !NEW_INSETS cruft
12074
12075         * lyxtext.h: remove !NEW_INSETS cruft
12076
12077         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12078
12079         * lyxfunc.C: remove !NEW_INSETS cruft
12080
12081         * lyxfind.C: remove !NEW_INSETS cruft
12082
12083         * lyx_cb.C: remove !NEW_INSETS cruft
12084
12085         * figureForm.C: remove  !NEW_INSETS cruft
12086
12087         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12088
12089         * buffer.[Ch]: remove !NEW_INSETS cruft
12090
12091         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12092
12093         * CutAndPaste.C: remove !NEW_INSETS cruft
12094
12095         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12096
12097         * BufferView2.C: remove !NEW_INSETS cruft
12098
12099         * BufferView.h: remove !NEW_INSETS cruft
12100
12101 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12102
12103         * Lsstream.h: include LString.h before the sstream headers to
12104         fix problem with gcc 2.95.3 and lyxstring
12105
12106 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12107
12108         * lyx_main.C: add using directives when needed for C functions
12109         declared in std:: namespace.
12110
12111 2001-04-27  Juergen Vigna  <jug@sad.it>
12112
12113         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12114         (SetHeightOfRow): comment out the update call should not be needed!
12115
12116 2001-04-13  Juergen Vigna  <jug@sad.it>
12117
12118         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12119         (LyXTabular): tried to minimize operator= operations (and realized
12120         hopfully Lars wish).
12121
12122 2001-04-27  Juergen Vigna  <jug@sad.it>
12123
12124         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12125
12126 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12127
12128         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12129
12130         * buffer.C (readInset): hack to make listof algorithm work
12131
12132         * BufferView_pimpl.C: hack to make listof algorithm work
12133
12134 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12135
12136         * LyXAction.C: removed all !NEW_INSETS cruft
12137         (init): moved lfun_item in method
12138
12139         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12140
12141 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12142
12143         * BufferView2.C (theLockingInset): white space.
12144
12145 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12146
12147         * minibuffer.C: include <iostream>
12148
12149         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12150
12151         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12152
12153         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12154
12155         * text.[Ch] (TransposeChars): new method
12156
12157 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12158
12159         * call message directly through LyXView instead of through LyXFunc
12160         * BufferView2.C: adjust
12161         * BufferView_pimpl.C: adjust
12162         * FontLoader.C: adjust
12163         * buffer.C: adjust
12164         * bufferview_funcs.C: adjust
12165         * converter.C: adjust
12166         * figureForm.C: adjust
12167         * importer.C: adjust
12168         * lyx_cb.C: adjust
12169         * lyx_gui_misc.C: adjust
12170         * lyxfunc.C: adjust
12171         * lyxvc.C: adjust
12172         * text2.C: adjust
12173         + more files in subdirs
12174
12175         * lyxparagraph.h (size): move up int file
12176         (GetLayout): ditto
12177
12178         * adjust all uses of Assert to lyx::Assert.
12179
12180         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12181         lyxfunctional in namespace lyx
12182         * layout.C (hasLayout): ditto
12183         (GetLayout): ditto
12184         (GetLayout): ditto
12185         (delete_layout): ditto
12186         (NumberOfClass): ditto
12187         * converter.C (GetFormat): ditto
12188         (GetNumber): ditto
12189         (Add): ditto
12190         (Delete): ditto
12191         (SetViewer): ditto
12192         * bufferlist.C (getFileNames): ditto
12193         (emergencyWriteAll): ditto
12194         (exists): ditto
12195         (getBuffer): ditto
12196         * MenuBackend.C (hasSubmenu): ditto
12197         (hasMenu): ditto
12198         (getMenu): ditto
12199         * BufferView_pimpl.C (getInsetByCode): ditto
12200
12201 2001-04-18  Juergen Vigna  <jug@sad.it>
12202
12203         * vspace.C (asLatexString): fixed the 100% problem.
12204
12205 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12206
12207         * lyxfunc.C (Dispatch):
12208         * minibuffer.C:
12209         * minibuffer.h: add a few std:: qualifiers
12210
12211 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12212
12213         * minibuffer.[Ch]: reimplement so that commands is initiated and
12214         run from lyxfunc, simplified som handling, and made the completion
12215         and history code for complete. wip.
12216
12217         * lyxfunc.C (processKeySym): call message
12218         (miniDispatch): new temporary method
12219         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12220         (LFUN_MESSAGE): implement
12221         (LFUN_MESSAGE_PUSH): implement
12222         (LFUN_MESSAGE_POP): implement
12223         (initMiniBuffer): the initial/defualt minibuffer message.
12224
12225         * lyxfont.[Ch]: inline some more getters
12226
12227         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12228
12229         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12230
12231         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12232         (AutoSave): use LFUN_MESSAGE
12233         (Reconfigure): ditto
12234
12235         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12236
12237         * figureForm.C: use LFUN_MESSAGE
12238
12239         * converter.C (runLaTeX): use LFUN_MESSAGE
12240
12241         * bufferview_funcs.C: use LFUN_MESSAGE
12242         (Melt): ditto
12243         (changeDepth): ditto
12244
12245         * bufferparams.h: use boost::
12246
12247         * bufferlist.h: inherit privately from noncopyable
12248
12249         * bufferlist.C (loadLyXFile): remove some commented code.
12250
12251         * buffer.C (runChktex): use LFUN_MESSAGE
12252
12253         * ShareContainer.h: inherit privately from noncopyable
12254
12255         * ParagraphParameters.[hC] (depth): inline it.
12256
12257         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12258         methods.
12259         (message): new method
12260         (messagePush): ditto
12261         (messagePop): ditto
12262         (show): init minibuffer
12263         (showState): direct call
12264
12265         * LaTeX.[Ch]: inherit privately from noncopyable
12266         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12267         instead of WriteStatus.
12268
12269         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12270
12271         * BufferView_pimpl.C (buffer): don't init minibuffer
12272         (workAreaButtonPress): use LFUN_MESSAGE
12273         (workAreaButtonRelease): ditto
12274         (savePosition): ditto
12275         (restorePosition): ditto
12276         (MenuInsertLyXFile): ditto
12277         (workAreaExpose): don't init minibuffer
12278         (update): remove commented code, simplify
12279
12280         * BufferView2.C (openStuff): use LFUN_MESSAGE
12281         (toggleFloat): ditto
12282         (menuUndo): ditto
12283         (menuRedo): ditto
12284         (copyEnvironment): ditto
12285         (pasteEnvironment): ditto
12286         (copy): ditto
12287         (cut): ditto
12288         (paste): ditto
12289         (gotoInset): ditto
12290         (updateInset): remove some commented code
12291
12292         * lastfiles.h: inherit privately from noncopyable
12293         * layout.h: ditto
12294         * lyx_gui.h: ditto
12295         * lyx_main.h: ditto
12296         * lyxlex.h: ditto
12297         * lyxlex_pimpl.h: ditto
12298
12299         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12300         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12301         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12302
12303         * LyXAction.h: inherit privately from noncopyable, add methods
12304         func_begin, func_end, returning iterators to the func map.
12305
12306         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12307         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12308         (func_begin): new method
12309         (func_end): new method
12310
12311         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12312         and not)
12313         (copySelection): ditto
12314         (pasteSelection): ditto
12315
12316         * BufferView.C: whitespace change
12317         * BufferView.h: inherit privately from noncopyable
12318
12319 2001-04-16  Allan Rae  <rae@lyx.org>
12320
12321         * tabular-old.C (l_getline):
12322         * spellchecker.C (sc_check_word):
12323         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12324         an unrecognised preprocessor directive.  So ensure they're wrapped.
12325
12326 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12327
12328         * src/exporter.C (Export): Give an error message when path to file
12329         contains spaces.
12330
12331 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12332
12333         * LaTeX.C (deplog): Always check that foundfile exists.
12334
12335 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12336
12337         * lyx_main.h:
12338         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12339
12340 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12341
12342         * tabular.[Ch] (getLabelList): implement new method
12343
12344         * minibuffer.h: comment ouf setTiimer
12345
12346         * minibuffer.C (ExecutingCB): constify res
12347         (peek_event): constify s
12348         (Set): constify ntext
12349         (Init): constify nicename
12350
12351         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12352
12353         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12354         (savePosition): use two params to Minibuffer::Set
12355         (restorePosition): ditto
12356
12357 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12358
12359         * lyx_main.C: include language.h
12360
12361         * Makefile.am (lyx_main.o): add language.h
12362
12363 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12364
12365         * exporter.C:
12366         * paragraph.C:
12367         * screen.C:
12368         * tabular.C:
12369         * CutAndPaste.C: include gettext.h
12370
12371         * lyxfont.h: remove old hack with ON and OFF.
12372
12373         * lyxparagraph.h:
12374         * lyxfont.h: do not include language.h...
12375
12376         * BufferView2.C:
12377         * LaTeXFeatures.C:
12378         * Painter.C:
12379         * bufferview_funcs.C:
12380         * font.C:
12381         * lyxfont.C:
12382         * text.C:
12383         * text2.C:
12384         * trans_mgr.C:
12385         * paragraph.C: ... but do it here instead
12386
12387 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12388
12389         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12390
12391         * tabular.C: small reformat
12392
12393         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12394         NEW_INSETS version
12395         (GetChar): ditto
12396         (BreakParagraph): ditto
12397         (SetOnlyLayout): ditto
12398         (SetLayout): ditto
12399
12400         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12401         with one arg less.
12402
12403         * lastfiles.C: removed most using decl, add std:: where needed
12404
12405         * buffer.C: ws changes
12406
12407         * MenuBackend.C (class compare_format): put into anon namespace
12408         (expand): constify label, names, action, action2
12409         (expand):
12410
12411         * text.C (SingleWidth): constify font
12412         (IsBoundary): constify rtl2
12413         (GetVisibleRow): constify ww
12414
12415         * LaTeX.C (deplog): constify logfile
12416
12417         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12418         start_x, end_x
12419         (workAreaExpose): constify widthChange, heightChange
12420
12421         * lyxrow.C (par): moved
12422         (height): moved
12423         (next): moved
12424         * lyxrow.h: as inlines here
12425
12426         * lyxfont.h (shape): moved from lyxfont.C
12427         (emph): moved from lyxfont.C
12428
12429         * lyxfont.C (LyXFont): use initialization list for all
12430         constructors
12431         (shape): move to lyxfont.h as inline
12432         (emph): move to lyxfont.h as inline
12433
12434
12435 2001-04-04  Juergen Vigna  <jug@sad.it>
12436
12437         * vspace.C: had to include stdio.h for use of sscanf
12438
12439 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12440
12441         * BufferView.h:
12442         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12443         independent of xforms.
12444
12445 2001-04-02  Juergen Vigna  <jug@sad.it>
12446
12447         * spellchecker.C: fixed namespace placing!
12448
12449 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12450
12451         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12452         the LyXParagraph * is 0.
12453
12454 2001-03-29  Juergen Vigna  <jug@sad.it>
12455
12456         * vspace.C: added support for %, c%, p%, l%.
12457         (stringFromUnit): added helper function.
12458         (asLatexString): changed to give right results for the %-values.
12459
12460         * buffer.C: convert the widthp in a width%.
12461
12462 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12463
12464         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12465         figureForm.[Ch].
12466
12467         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12468         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12469
12470         * lyx_cb.[Ch]: see above.
12471
12472         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12473         form1.[Ch].
12474
12475         * form1.[Ch]:
12476         * lyx.[Ch]: replaced by figure_form.[Ch].
12477
12478         * lyx_gui.C:
12479         * lyx_gui_misc.C:
12480         * lyxfunc.C: changed headers associated with above changes.
12481
12482 2001-03-27  Juergen Vigna  <jug@sad.it>
12483
12484         * BufferView_pimpl.C: set the temporary cursor right!
12485
12486 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12487
12488         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12489
12490 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12491
12492         * LString.h: removed "using std::getline"!
12493
12494         * BufferView_pimpl.C (Dispatch): changes due to changes in
12495         InsetInclude::Params.
12496
12497         * buffer.C (tag_name): removed redundant break statements as they were
12498         producing lots of warnings with my compiler.
12499
12500 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12501
12502         * LString.h: add "using std::getline" when using the real <string>.
12503
12504 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12505
12506         * buffer.C: removed bitset usage.
12507         PAR_TAG moved to an anonymous name space.
12508         (tag_name): new funtion, also in the anonymous namespace.
12509         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12510         (makeDocBookFile): clean code. Completed transition from string arrays
12511         to string vectors.
12512         (SimpleDocBookOnePar): code clean.
12513
12514 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12515
12516         * tabular.C: add some comments.
12517
12518 2001-03-22  Juergen Vigna  <jug@sad.it>
12519
12520         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12521         compatibility read a bit and fixed bug with minipage in different
12522         depth.
12523
12524 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12525
12526         * buffer.C (pop_tag): removed.
12527         (push_tag): removed.
12528         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12529         array replaced with vector. Added support for CDATA sections.
12530         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12531         at any nest level.
12532         (makeDocBookFile): XML conformant declaration of CDATA section,
12533         fixed bug related to <emphasis> in the first paragraph char.
12534         (sgmlOpenTag): exclude empty tags.
12535         (sgmlCloseTag): ditto.
12536
12537         * buffer.h (pop_tag): removed.
12538         (push_tag): removed.
12539
12540 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12541
12542         * language.h (Languages): added size_type and size().
12543
12544 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12545
12546         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12547         response on compability reading of minipages. One probliem is that
12548         the old usage of minipages was «flertydig»
12549
12550         * several files here and in subdirs: don't use static at file
12551         scope use anon namespaces instead.
12552
12553 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12554
12555         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12556         LaTeX output. This is necessary for Literate document
12557         processing.
12558
12559 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12560
12561         * buffer.C: insert hfill when needed.
12562
12563         * tabular.C (l_getline): use string::erase, small whitespace change.
12564
12565         * BufferView_pimpl.C: try the anon namespace.
12566         * WorkArea.C: ditto
12567
12568 2001-03-16  Juergen Vigna  <jug@sad.it>
12569
12570         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12571         otherwise it won't open options-dialogs.
12572
12573         * buffer.C: honor pextraWidth(p) on converting minipages.
12574
12575         * tabular.C (l_getline): changed the functions to strip trailing \r.
12576
12577 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12578
12579         * BufferView_pimpl.C:
12580         * minibuffer..C: added "using SigC::slot" declaration.
12581
12582 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12583
12584         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12585
12586         * text2.C: ditto
12587
12588         * text.C: ditto
12589
12590         * paragraph.C: ditto
12591
12592         * lyxtext.h: NO_PEXTRA
12593
12594         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12595
12596         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12597         * ParameterStruct.h: ditto
12598         * ParagraphParameters.h: ditto
12599         * lyxparagraph.h: ditto
12600
12601 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12602
12603         * buffer.C: add compability for minipage alignment.
12604         (latexParagraphs): remove unwanted pextra check.
12605
12606         * several files: remove CXX_WORKING_NAMESPACES
12607
12608         * buffer.C (pop_tag): tie is in namespace boost
12609
12610         * BufferView.h: noncopyable is in namespace boost
12611         * lyxlex.h: ditto
12612         * lyx_main.h: ditto
12613         * lyx_gui.h: ditto
12614         * layout.h: ditto
12615         * lastfiles.h: ditto
12616         * bufferlist.h: ditto
12617         * ShareContainer.h: ditto
12618         * LyXView.h: ditto
12619         * LyXAction.h: ditto
12620         * LaTeX.h: ditto
12621
12622 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12623
12624         * Merging changes from BRANCH_MVC back into HEAD.
12625
12626         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12627
12628 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12629
12630         * BufferView_pimpl.C: change from intl.C
12631
12632         * combox.h:
12633         * combox.C:
12634         * Makefile.am: move combox.*
12635
12636         * form1.h:
12637         * form1.C:
12638         * lyx_gui.C:
12639         * intl.h:
12640         * intl.C: remove dialog (covered by prefs)
12641
12642 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12643
12644         * lyxfunc.C (Dispatch): removed redundant break statement.
12645
12646 2001-03-14  Juergen Vigna  <jug@sad.it>
12647
12648         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12649
12650 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12651
12652         * buffer.C: add hack to fix compability reading of minipages.
12653
12654 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12655
12656         * buffer.C (getLists): Cleanup.
12657
12658 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12659
12660         * lyxfont.C (update): don't honor toggleall on font size.
12661
12662 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12663
12664         * bmtable.c:
12665         * bmtable.h:
12666         * Makefile.am: moved to frontends/xforms/
12667
12668         * lyx_gui_misc.C:
12669         * lyxfunc.C:
12670         * BufferView_pimpl.C: changes for moved mathpanel
12671
12672 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12673
12674         * gettext.h: fix gettext_init() in --disable-nls
12675
12676 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12677
12678         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12679
12680 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12681
12682         * lyx.C:
12683         * lyx.h: strip external form
12684
12685 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12686
12687         * BufferView_pimpl.C: add comment, destroySplash()
12688
12689 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12690
12691         * BufferView_pimpl.C:
12692         * LyXAction.C:
12693         * buffer.C:
12694         * commandtags.h:
12695         * lyxfunc.C: use re-worked insetinclude
12696
12697 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12698
12699         * buffer.C: add using std::stringstream.
12700
12701         * lyx_cb.C: readd using std::ios.
12702
12703         * buffer.C: add using std::map.
12704
12705         * BufferView_pimpl.C: add using std::vector.
12706
12707         * ShareContainer.h: add std:: to swap.
12708
12709         * buffer.h: add some typedefs
12710         * buffer.C (getLists): use them
12711         (getLists): renamed from getTocList.
12712         add a counter for the different float types and use it in the
12713         generated string.
12714         (getLists): use the same counter for the NEW_INSETS and the "non"
12715         NEW_INSETS
12716
12717         * lyx_cb.h: remove unused items, includes, using etc.
12718
12719         * ShareContainer.h: remove some commented code, add more comments
12720         and "documentation".
12721
12722 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12723
12724         * buffer.C (getTocList): make the list also when NEW_INSETS is
12725         defined.
12726
12727         * buffer.h: remove TocType
12728
12729         * buffer.C (getTocList): change to return a map<string,
12730         vector<TocItem> >, implement for dynamic number of list.
12731
12732         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12733         * text2.C (PasteSelection): adjust
12734         * CutAndPaste.C (pasteSelection): adjust
12735
12736         * FloatList.C (FloatList): update from the new_insets branch.
12737         * Floating.[Ch]: ditto
12738         * LaTeXFeatures.C: ditto
12739         * buffer.C: ditto
12740         * lyxlex_pimpl.C: ditto
12741
12742         * paragraph.C (Last): remove when NEW_INSETS is defined.
12743
12744         * other file: changes because of the above.
12745
12746 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12747
12748         * lyxparagraph.h: rename next to next_, previous to previous_,
12749         make them private for NEW_INSETS. Rename Next() to next(),
12750         Previous() to previous().
12751
12752         * other files: changes because of the above.
12753
12754 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12755
12756         * BufferView.h:
12757         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12758         problem.
12759
12760 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12761
12762         * main.C (main): pass lyx_localedir to gettext_init().
12763
12764         * gettext.h: remove locale_init and gettext_init macros
12765
12766         * gettext.C (locale_init): new function
12767         (gettext_init): new function
12768
12769         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12770         setlocale().
12771
12772 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12773
12774         * Moved credits to frontends:
12775         * credits.[Ch]: removed
12776         * credits_form.[Ch]: removed
12777         * lyx_gui_misc.C: remove credits stuff
12778         * Makefile.am:
12779
12780 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12781
12782         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12783
12784         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12785         unneeded destructor.
12786
12787         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12788         a standalone pointer again.
12789
12790         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12791
12792 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12793
12794         * Makefile.am:
12795         * filedlg.h:
12796         * filedlg.C:
12797         * LyXAction.C:
12798         * ToolbarDefaults.C:
12799         * bufferlist.C:
12800         * commandtags.h:
12801         * form1.C:
12802         * form1.h:
12803         * lyx_cb.C:
12804         * lyx_cb.h:
12805         * lyxfunc.h:
12806         * lyxfunc.C:
12807         * BufferView_pimpl.C: use new file dialog in GUII
12808
12809         * lyx_cb.h:
12810         * lyx_cb.C: remove LayoutsCB to Toolbar
12811
12812 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12813
12814         * ShareContainer.h (get): add std:: qualifier
12815
12816 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12817
12818         * ShareContainer.h: define a proper ShareContainer::value_type
12819         type (and use typename to please compaq cxx)
12820
12821 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12822
12823         * lyxparagraph.h: move serveral local vars to
12824         ParameterStruct/ParagraphParameters., use ShareContainer in
12825         FontTable., make vars in FontTable private and add getter and
12826         setter.
12827
12828         * paragraph.C: changes because of the above.
12829
12830         * lyxfont.h: remove copy constructor and copy assignment. (the
12831         default ones is ok), move number inside FontBits. move inlines to
12832         lyxfont.C
12833
12834         * lyxfont.C: add number to initializaton of statics, move several
12835         inlines here. constify several local vars. some whitespace
12836         cleanup. Dont hide outerscope variables.
12837
12838         * Spacing.h: add two new constructors to match the set methods.
12839
12840         * ShareContainer.h: new file, will perhaps be moved to support
12841
12842         * ParameterStruct.h: new file
12843
12844         * ParagraphParameters.h: new file
12845
12846         * ParagraphParameters.C: new file
12847
12848         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12849         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12850
12851         * BufferView_pimpl.C: ParagraphParameter changes.
12852         * buffer.C: Likewise.
12853         * bufferview_funcs.C: Likewise.
12854         * text.C: Likewise.
12855         * text2.C: Likewise.
12856
12857 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12858
12859         * lyxfind.C (LyXReplace): do not redefine default argument in
12860         implementation.
12861         (IsStringInText): ditto
12862         (SearchForward): ditto
12863         (SearchBackward): ditto
12864
12865 2001-03-06  Juergen Vigna  <jug@sad.it>
12866
12867         * lyxfind.C (IsStringInText): put parentes around expressions.
12868
12869 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12870
12871         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12872
12873 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12874
12875         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12876
12877         * stl_string_fwd.h: add comment
12878
12879         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12880
12881         * tabular.h:
12882         * tabular.C: remove unused DocBook methods
12883
12884         * intl.C:
12885         * language.C:
12886         * paragraph.C:
12887         * buffer.C:
12888         killed DO_USE_DEFAULT_LANGUAGE
12889
12890 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12891
12892         * lyx_gui.C: do not include language.h.
12893
12894         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12895         arguments in function implementation.
12896
12897 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12898
12899         * BufferView_pimpl.C: add <ctime>
12900
12901 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12902
12903         * BufferView_pimpl.C: add using std::find_if
12904
12905 2001-02-27  José Matos  <jamatos@fep.up.pt>
12906
12907         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12908         by OnlyPath.
12909
12910 2001-02-11  José Matos  <jamatos@fep.up.pt>
12911
12912         * buffer.C (makeDocBookFile): command styles now have a parameter as
12913         "title" by default.
12914
12915 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12916
12917         * layout_forms.[Ch]: removed
12918         * lyx_cb.[Ch]: out character
12919         * lyx_gui.C: out character
12920         * lyx_gui_misc.C: out character
12921         * bufferview_funcs.C: : out character,
12922         added toggleall as parameter in ToggleAndShow
12923
12924 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12925
12926         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12927
12928         * text2.C (SetCurrentFont): Disable number property at boundary.
12929
12930 2001-02-26  Juergen Vigna  <jug@sad.it>
12931
12932         * lyxfunc.C (getStatus): added a string argument override function so
12933         that this is correctly called from LyXFunc::Dispatch if it contains a
12934         do_not_use_argument which is used!
12935         (Dispatch): added check for "custom" export and call appropriate func.
12936
12937 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12938
12939         * lyxrc.C: Add language_command_local, language_use_babel and
12940         language_global_options.
12941
12942         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12943
12944         * buffer.C (makeLaTeXFile): Use language_use_babel and
12945         language_global_options.
12946
12947 2001-02-23  Juergen Vigna  <jug@sad.it>
12948
12949         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12950         which works with LyXText and putted it inside BufferView. Here now we
12951         only call for that part the BufferView::Dispatch() function.
12952
12953         * BufferView.C (Dispatch): added.
12954
12955         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12956         functions which needs to use a LyXText over from LyXFunc.
12957         (MenuInsertLyXFile): added
12958         (getInsetByCode): added
12959         (moveCursorUpdate): added
12960         (static TEXT): added
12961
12962 2001-02-22  Juergen Vigna  <jug@sad.it>
12963
12964         * BufferView_pimpl.C (update): call a status update to see if LyXText
12965         needs it.
12966
12967 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12968
12969         * vc-backend.C (revert): implement for CVS
12970         (getLog): implement for CVS
12971
12972 2001-02-20  Juergen Vigna  <jug@sad.it>
12973
12974         * text2.C (ClearSelection): added BufferView param for inset_owner call
12975
12976         * lyxfunc.C (TEXT): added this function and use it instead of
12977         directly owner->view()-text of getLyXText().
12978
12979 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12980
12981         * src/layout_forms.C: out preamble
12982         * src/layout_forms.h: out preamble
12983         * src/lyx_cb.C: out preamble
12984         * src/lyx_cb.h: out preamble
12985         * src/lyx_gui.C: out preamble
12986         * src/lyx_gui_misc.C: out preamble
12987         * src/lyxfunc.C: connect with guii preamble
12988
12989 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12990
12991         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12992
12993 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12994
12995         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12996         whether to run bibtex.
12997
12998 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12999
13000         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13001
13002 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13003
13004         * Makefile.am (lyx_SOURCES): removed bibforms.h
13005
13006         * vspace.h: doxygen
13007
13008         * text.C (GetVisibleRow): make several local vars const
13009
13010         * tabular.C: small cleanup.
13011
13012         * lyxserver.C (callback): use compare instead of strncmp
13013
13014         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13015         inlines to after class or to paragraph.C
13016
13017         * lyxfont.h: remove friend operator!=
13018
13019         * converter.h: move friend bool operator< to non friend and after
13020         class def.
13021
13022         * combox.h: small cleanup
13023
13024         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13025         to inlines after class def.
13026
13027         * buffer.C (pop_tag): use string operations instead of strcmp
13028
13029         * bmtable.c: doxygen, small cleanup
13030
13031         * LaTeX.h: remove friend operator==
13032
13033 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13034
13035         * screen.C:
13036         * lyxrc.[Ch]:
13037         * lyxfunc.C:
13038         * lyxfont.[Ch]:
13039         * lyx_cb.C:
13040         * intl.[Ch]:
13041         * commandtags.h:
13042         * buffer.C:
13043         * WorkArea.[Ch]:
13044         * LyXAction.C:
13045         * BufferView_pimpl.C:
13046         * BufferView.[Ch]: remove cruft
13047
13048 2001-02-14  Juergen Vigna  <jug@sad.it>
13049
13050         * lyxfunc.C: removed #if 0 unused code
13051
13052         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13053
13054         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13055
13056         * text2.C (SetSelection): added a BufferView * parameter
13057
13058 2001-02-13  Juergen Vigna  <jug@sad.it>
13059
13060         * lyxfunc.C (Dispatch): fixed protected blank problem.
13061         * BufferView2.C (protectedBlank): added LyxText * parameter.
13062
13063         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13064         (AppendColumn): same as above for column_info.
13065
13066         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13067         (moveCursorUpdate): use a LyXText param for support of InsetText.
13068
13069         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13070         (tripleClick): ditto
13071
13072         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13073
13074         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13075
13076         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13077
13078         * text2.C (SetSelection): set correct update status if inset_owner
13079         (ToggleFree): ditto
13080
13081 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13082
13083         * tabular.C: remove some commented code.
13084
13085 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13086
13087         * BufferView_pimpl.C: call hideSplash()
13088
13089         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13090
13091         * include_form.h:
13092         * bibforms.h: remove
13093
13094         * lyxfunc.C:
13095         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13096           add LFUN_CHILD_CREATE
13097
13098         * counters.h: fix tiny typo
13099
13100         * lyx_cb.C:
13101         * lyx.h:
13102         * lyx_gui.C:
13103         * lyx.C: move splash to frontends/xforms/
13104
13105         * lyx_gui_misc.C: move Include and Bibform to frontends
13106
13107         * lyxvc.h: clarify comment
13108
13109         * vspace.C: tiny housekeeping
13110
13111 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13112
13113         * text.C (PrepareToPrint): RTL Fix.
13114
13115         * paragraph.C (GetUChar): New method.
13116         (String):  Use GetUChar.
13117
13118         * buffer.C (asciiParagraph): Use GetUChar.
13119
13120 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13121
13122         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13123
13124 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13125
13126         * buffer.h:
13127         * buffer.C: rename to getLogName(), handle
13128           build log / latex log nicely
13129
13130 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13131
13132         * MenuBackend.C:
13133         * MenuBackend.h: remove support for reference menuitem type.
13134
13135 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13136
13137         * BufferView_pimpl.C: housekeeping
13138         * BufferView_pimpl.h:
13139         * LyXView.h:
13140         * Makefile.am:
13141         * Timeout.C:
13142         * Timeout.h:
13143         * minibuffer.h: move Timeout GUI-I
13144
13145 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13146
13147         * lyxrc.C (read): Update converters data-structures.
13148
13149 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13150
13151         * LaTeX.h (operator!=): add operator != for Aux_Info
13152
13153 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13154
13155         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13156
13157         * LaTeXLog.C: deleted, useful code moved to Buffer
13158
13159         * buffer.h:
13160         * buffer.C: new function getLatexLogName()
13161
13162         * lyx_gui_misc.C:
13163         * lyx_gui.C:
13164         * lyxvc.C:
13165         * lyxvc.h:
13166         * lyxfunc.C: use frontends for LaTeX and VC logs
13167
13168 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13169
13170         * LaTeX.h: yet another std:: that Allan forgot.
13171
13172         * Variables.C (set): renamed from isset(), because this clashes
13173         with some HP-UX macros (grr).
13174
13175 2001-02-06  Allan Rae  <rae@lyx.org>
13176
13177         * LaTeX.h: Another bug fix.  Missing std:: this time.
13178
13179 2001-02-04  Allan Rae  <rae@lyx.org>
13180
13181         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13182         floats problem. I've left it commented out because it's not quite
13183         correct.  It should also test that the current object is a table or
13184         figure inset.  But I haven't gotten around to figuring out how to do
13185         that.  I *think* it'll be something like: "table" == inset.type()
13186
13187         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13188         bool.
13189
13190 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13191
13192         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13193         all the citation/databases/styles in the auxilary file.
13194         (run): Rerun latex if there was a babel language error.
13195
13196 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13197
13198         * text.C (Backspace): Preserve the font when changing newline char
13199         with a space.
13200         (BreakParagraph): If the cursor is before a space, delete the space.
13201
13202         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13203
13204 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13205
13206         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13207         new argument (code).
13208         (ChangeCitationsIfUnique): New method.
13209
13210         * paragraph.C (GetPositionOfInset): Handle bibkey.
13211
13212 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13213
13214         * BufferView_pimpl.h: change type of Position::par_pos to
13215         LyXParagraph::size_type.
13216
13217 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13218
13219         * BufferView_pimpl.C (savePosition, restorePosition): Write
13220         messages to minibuffer.
13221
13222 2001-01-28  José Matos  <jamatos@fep.up.pt>
13223
13224         * buffer.C (makeDocBookFile): adds support for document language.
13225         A silly restriction on the name of LatexCommand types where removed.
13226         Added support for CDATA sections, allows to chars unescaped, used
13227         among others in code, to avoid escape < and >.
13228
13229 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13230
13231         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13232         saved positions instrad of a stack. Furthermore, a position is
13233         stored using paragraph id/paragraph position.
13234
13235         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13236         Remove LFUN_REF_BACK.
13237
13238 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13239
13240         * converter.C (dvipdfm_options): New method.
13241
13242 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13243
13244         * vspace.C (isValidLength): Fix for empty input string.
13245
13246 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13247
13248         * LyXAction.C (init): change description of LFUN_FIGURE to
13249         "Insert Graphics"
13250
13251 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13252
13253         * LaTeX.C: add using directive
13254
13255 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13256
13257         * MenuBackend.C (expand): Fix the sorting of the formats.
13258
13259 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13260
13261         * lyx_main.C: tiny error message fix
13262
13263 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13264
13265         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13266         calling fl_initialize(). This fixes the problem with ',' as
13267         decimal separator in text files.
13268
13269 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13270
13271         * trans.C (process): Fix the keymap bug.
13272
13273 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13274
13275         * LaTeX.C (scanAuxFiles): New method. Provides support for
13276         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13277         (scanLogFile) Scan for "run BibTeX" messages.
13278
13279         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13280         OT1 font encoding. Also, load the aecompl package if the ae
13281         package is loaded.
13282
13283         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13284
13285 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13286
13287         * texrow.C (increasePos): turn two error messages into debug
13288         messages.
13289
13290 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13291
13292         * LaTeX.C (scanAux): Handle the \@input macro.
13293         (runBibTeX): Use scanAux().
13294
13295         * language.C (latex_options_): New field.
13296
13297         * LaTeXFeatures.C (getMacros): Add language macros.
13298
13299         * buffer.C (makeLaTeXFile): Small fix.
13300
13301 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13302
13303         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13304
13305         * text2.C: add a using directive.
13306
13307 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13308
13309         * BufferView2.C:
13310         * lyx_gui_misc.h:
13311         * lyxfr1.C:
13312         * lyxfunc.C: kill LyXBell.
13313
13314 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13315
13316         * text.C (IsBoundary): Remove the error message
13317
13318         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13319
13320         * lyxrc.C (setDefaults): Correct initialization value for
13321         font_norm_type.
13322
13323 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13324
13325         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13326         gotoError().
13327
13328         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13329         and GotoNextNote().
13330
13331         * src/LyXAction.C: Added reference-next.
13332
13333         * text.C (InsertChar): Use contains instead of strchr.
13334
13335         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13336
13337 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13338
13339         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13340         alignment commands (when needed).
13341
13342         * text.C (InsertChar): Add ':' to number separator chars.