]> git.lyx.org Git - features.git/blob - src/ChangeLog
Add a Buffer::fully_loaded member function, returning true only when
[features.git] / src / ChangeLog
1 2003-10-22  Angus Leeming  <leeming@lyx.org>
2
3         * buffer.[Ch] (fully_loaded): new member function, returning true
4         only when the file has been loaded fully.
5         Used to prevent the premature generation of previews and by the
6         citation inset to prevent computation of the natbib-style label.
7
8         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
9
10 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
11
12         * text.C: fixed an "oops" in the "is a bit silly" 
13         bug fix
14
15 2003-10-21  André Pönitz  <poenitz@gmx.net>
16
17         * FuncStatus.[Ch]: small stuff, whitespace
18
19         * lyxfont.[Ch]: operator<<() for debug reasons
20
21         * lyxfunc.C:
22         * lyxrow_funcs.C:
23         * lyxtext.h: whitespace, spelling
24
25         * paragraph.C: naming of variables
26
27         * text.C:
28         * text2.C: small stuff
29
30
31 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
32
33         * text.C: (1) finish off the inset display() work;
34         (2) fix the "is a bit silly" bug (accessing char
35         past end of par).
36
37 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
38
39         * text.C: re-introduce display() for insets, fixing the
40         various bugs (stretch of line above, math inset 
41         positioning, ...)
42
43 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * text.C (rightMargin): remove spurious semicolon
46
47         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
48         1415)
49
50 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
51
52         * text3.C: fix one crash due to wrong cursor def
53
54 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
55
56         * vc-backend.C (scanMaster): make the regex static
57
58         * LaTeX.C (scanAuxFile): make the regexs static
59
60         * text3.C (doInsertInset, dispatch, dispatch):
61         * text2.C (cursorUp, cursorDown):
62         * text.C (selectNextWordToSpellcheck):
63         * BufferView_pimpl.C (dispatch):
64         * lyxfunc.C (dispatch):  localDispatch -> dispatch
65
66 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
67
68         * lyxsocket.C: include <cerrno>
69
70 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
71
72         * lyxfunc.C (dispatch): remove textcache stuff
73
74         * bufferlist.C (release): remove textcache stuff
75         (closeAll): ditto
76
77         * TextCache.C: delete file
78         * TextCache.h: delete file
79
80         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
81
82         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
83         delete of the bv_->text.
84         (resizeCurrentBuffer): remove texcache stuff
85         (workAreaResize): ditto
86
87 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
88
89         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
90         action.
91
92 2003-10-16  André Pönitz  <poenitz@gmx.net>
93
94         * lyxrow.[Ch]:
95         * paragraph.h:
96         * rowpainter.C:
97         * text.C:
98         * text2.C:
99         * text3.C: speed up by storing y positions per paragraph plus per-row
100         offset instead of having a 'full' y position in the row.
101
102 2003-10-15  André Pönitz  <poenitz@gmx.net>
103
104         * iterators.[Ch]:
105         * iterators.[Ch]:
106         * undo.[Ch]: make undo aware of inner insets
107
108 2003-10-14  Angus Leeming  <leeming@lyx.org>
109
110         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
111         static member functions LyX::ref() and LyX::cref.
112         (lastfiles): new accessor functions for the new lastfiles_ member var.
113         (addLyXView, views_): add a new LyXView to the list of views_.
114         (updateInset): loop over all LyXViews to call their own updateInset
115         member function, returning a pointer to the Buffer owning the inset.
116
117         * BufferView_pimpl.C (loadLyXFile):
118         * MenuBackend.C (expandLastfiles):
119         * bufferlist.C (MenuWrite, QuitLyX):
120         lastfiles is no longer a global variable.
121         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
122
123         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
124         static function. Access through LyX::cref().emergencyCleanup().
125
126 2003-10-14  André Pönitz  <poenitz@gmx.net>
127
128         * iterators.[Ch]: new direct access to innermost LyXText and Inset
129
130         * undo.[Ch]: restoring part of 'undo in insets'
131
132         * Makefile.am:
133         * undo_funcs.[Ch]: merge with undo.[Ch]
134
135         * tabular.C: small cleansing stuff
136
137 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
138
139         * paragraph_funcs.C (readParToken): report unknown insets as error
140         boxes. Use the outer paragraph as location (also for unknown
141         tokens).
142
143         * factory.C (readInset): do not abort on reading an unknown inset.
144         Eat it and return 0.
145
146 2003-10-13  Angus Leeming  <leeming@lyx.org>
147
148         * lyx_main.C (LyX): remove call to setDisplayTranslator().
149
150         * lyxrc.C: displayTranslator is now a function,
151         declared in GraphicsTypes.h.
152
153 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
154
155         * format.C: new placeholder $$a to pass the socket address.
156
157         * bufferlist.[Ch]: new function getBufferFromTmp.
158
159         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
160           files in the temporary dir.
161
162 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
163
164         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
165
166         * Makefile.am: add lyxsocket.[Ch].
167
168         * lyx_main.C (error_handler): handle SIGPIPE.
169
170 2003-10-13  André Pönitz  <poenitz@gmx.net>
171
172         * BufferView_pimpl.C:
173         * lyxtext.h:
174         * text.C:
175         * text2.C:
176         * text3.C:
177         * undo_funcs.[Ch]: use paroffset_type instead of
178           ParagraphList::iterators to prevent multiple conversion
179           (and get a more robust interface)
180
181 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
182
183         * lyxfunc.C (dispatch): RESULT -> dispatch_result
184         * lyxtext.h: ditto
185         * text3.C (dispatch): ditto
186
187 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
188
189         * LaTeX.C (handleFoundFile): move the static to smaller scope,
190         move the onlyfile, use onlyfile instead of foundfile in a couple
191         of places.
192
193         * DepTable.C (update): flush the error stream a bit more
194
195 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
196
197         * lyxserver.C (callback): adjust
198
199         * lyxfunc.C (getStatus): add a missing brace in commented code
200         (ensureBufferClean): reindent
201         (dispatch): delete version taking a string
202
203 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
204
205         * LaTeX.C (deplog): move found file handlig from here...
206         (handleFoundFile): .. to new function here.
207         (deplog): make sure to discover several files mentioned on the
208         same log line.
209
210 2003-10-10  André Pönitz  <poenitz@gmx.net>
211
212         * lyxfunc.C:
213         * lyxtext.h:
214         * tabular.C:
215         * text.C:
216         * text2.C:
217         * text3.C: fix some of the tabular crashes
218
219 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
220
221         * MenuBackend.C (binding): put debug message into Debug::KBMAP
222
223         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
224
225 2003-10-09  André Pönitz  <poenitz@gmx.net>
226
227         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
228
229         * BufferView.C:
230         * BufferView_pimpl.C:
231         * bufferview_funcs.C:
232         * lyx_cb.C:
233         * lyxcursor.C:
234         * lyxfind.C:
235         * lyxfunc.C:
236         * lyxtext.h:
237         * text.C:
238         * text2.C:
239         * text3.C:
240         * text_funcs.[Ch]:
241         * textcursor.[Ch]:
242         * undo_funcs.C: adjust
243
244 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
245
246         * text2.C (incrementItemDepth): new function, use a backtracking
247         algorithm to discover the correct item depth.
248         (resetEnumCounterIfNeeded): new function, use a backtracking
249         algorithm to discover if counter reset is needed.
250         (setCounter): use them. Simplify a bit. Add different labels for
251         different item depths for itemize.
252
253         * paragraph.C (Paragraph): remove initialization of enumdepth
254         (operator=): ditto
255
256         * paragraph.h: get rid of enumdepth, and use itemdepth both for
257         enumerate and itemize. Change the type of itemdepth to signed char.
258
259 2003-10-08  André Pönitz  <poenitz@gmx.net>
260
261         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
262           thing assignable.
263         * text.C:
264         * text2.C: adjust
265
266         * tabular.[Ch]: fix crash after 'row-insert'
267
268 2003-10-08  Angus Leeming  <leeming@lyx.org>
269
270         Fix doxygen warnings.
271
272         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
273         Remove CutAndPaste:: prefix from header file declaration.
274
275         * LColor.h (fill): remove LColor:: prefix from declaration.
276
277         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
278         use lyx::depth_type rather than Paragraph::depth_type so that
279         header file and .C file match.
280
281         * converter.h (intToFormat): remove Converters:: prefix from declaration.
282
283         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
284         * aspell.C: \file aspell_local.C -> \file aspell.C
285         * gettext.C: \file gettext.C -> \file src/gettext.C
286         * gettext.h: \file gettext.h -> \file src/gettext.h
287         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
288         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
289         * text.C: \file text.C -> \file src/text.C
290
291         * toc.C: move comment so that doxygen is not confused.
292
293 2003-10-07  Angus Leeming  <leeming@lyx.org>
294
295         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
296
297 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
298
299         * aspell.C:
300         * aspell_local.h: add forgotten std::string's.
301
302 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
303
304         * LaTeXFeatures.C:
305         * LyXAction.C:
306         * factory.C:
307         * lfuns.h:
308         * lyxfunc.C:
309         * text3.C: The Box patch. Fancybox support, minipage, parbox
310
311 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
312
313         * CutAndPaste.h:
314         * DepTable.h:
315         * FloatList.h:
316         * LaTeXFeatures.h:
317         * ParagraphParameters.h:
318         * TextCache.h:
319         * Thesaurus.h:
320         * bufferlist.h:
321         * exporter.h:
322         * importer.h:
323         * lastfiles.h:
324         * lyxfind.h:
325         * lyxfont.h:
326         * lyxlex.h:
327         * lyxtextclasslist.h:
328         * messages.h:
329         * paragraph.h:
330         * paragraph_pimpl.C:
331         * textcursor.h: add <string> and other small fixes to make Lars'
332         std::string patch compile with STLport.
333
334 2003-10-06  Angus Leeming  <leeming@lyx.org>
335
336         * LColor.h: Add missing #include <string>.
337
338 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
339
340         * All most all file in all subdirs: Make <string> be the prefered
341         way of getting to std::string, add using declarations.
342
343 2003-10-06  André Pönitz  <poenitz@gmx.net>
344
345         * metricsinfo.C: initialize LyXFont before changing attribute.
346         (fixes the 'math in \emph is upright' bug)
347
348 2003-10-06  André Pönitz  <poenitz@gmx.net>
349
350         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
351
352 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
353
354         * graph.C:
355         * paragraph_pimpl.C: Small fixes to build using STLport
356
357 2003-10-02  André Pönitz  <poenitz@gmx.net>
358
359         * lyxfunc.C:
360         * text3.C: move handling of LFUN_DEPTH *; fix #1360
361
362 2003-10-01  André Pönitz  <poenitz@gmx.net>
363
364         * factory.C: assert early
365
366 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
367
368         * lyx_main.C: remove the global debug object
369
370         * debug.h: adjust for new debugstream
371
372         * debug.C: adjust for new debugstream and keep the global debug
373         object here.
374
375 2003-09-22  Angus Leeming  <leeming@lyx.org>
376
377         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
378         of g++ which otherwise complain that the scoped_ptr destructor can't delete
379         an incomplete class LyXFont.
380
381 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
382
383         * factory.C: bug fix in branches
384
385 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
386
387         * lyxfunc.C (processKeySym): adjust
388         (dispatch): adjust
389         (dispatch): change arg name from ev to func, adjust
390         (sendDispatchMessage): ditto
391
392         * lyx_main.C (defaultKeyBindings): adjust keybindings
393         (deadKeyBindings): ditto
394
395         * kbsequence.C (addkey): return a FuncRequest
396
397         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
398
399         * kbmap.C (bind): take a FuncRequest as arg, adjust
400         (read): adjust
401         (lookup): adjust
402         (defkey): change to take a FuncRequest as arg, adjust
403         (findbinding): take a FuncRequest as arg, adjust.
404
405         * funcrequest.h (operator=): added
406
407         * funcrequest.C (FuncRequest): default kb_action changed from
408         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
409
410         * buffer.C (dispatch): simplify
411         (dispatch): adjust to take a FuncRequest as arg, adjust
412
413         * boost.C (assertion_failed): change assertion message slightly
414
415         * ToolbarBackend.C (read): simplify
416
417         * MenuBackend.C (binding): adjust call to findbinding, add a
418         message if no binding is found.
419         (read): simplify
420         (expandToc): correct by adding a empty FuncRequest
421
422         * LyXAction.C: include <boost/assert.hpp>
423         (isPseudoAction): delete function
424         (LookupFunc): change name to...
425         (lookupFunc): this. change return type to FuncRequest.
426         (getActionName): take kb_action as arg, simplify
427         (funcHasFlag): add an assert, simplify.
428
429 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
430
431         * toc.C (action): return a FuncRequest, simplify
432
433         * lyxfunc.C (processKeySym): adjust
434         (getStatus): delete version that takes an int.
435         (getStatus): adjust
436         (dispatch): delete version that takes action as int
437         (dispatch): adjust
438         (sendDispatchMessage): simplify and adjust
439
440         * funcrequest.C (getArg): take unsigned int as arg
441
442         * ToolbarBackend.C (read): adjust
443         (add): delete version that takes func as a string.
444         (getIton): take a FuncRequest as arg
445
446         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
447         action.
448
449         * MenuBackend.C (MenuItem): add a new construct that only takes a
450         Kind, simplify the constructor use for submenus.
451         (add): adjust
452         (expandLastfiles): adjust
453         (expandDocuments): adjust
454         (expandFormats): adjust
455         (expandFloatListInsert): adjust
456         (expandFloatInsert): adjust
457         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
458
459         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
460         Remove class variables lyx_pseudo_map and lyx_arg_map
461
462         * LyXAction.C (searchActionArg): delete function
463         (getPseudoAction): delete function
464         (retrieveActionArg): delete function
465         (LookupFunc): make it return kb_action, simplify.
466         (getActionName): simplify
467
468         * factory.C (createInset): fix new bug
469
470 2003-09-19  Angus Leeming  <leeming@lyx.org>
471
472         * CutAndPaste.C (pasteSelection): remove fudge used to set the
473         masterFilename_ parameter in the include inset.
474
475         * factory.C (createInset): changes due to the changes to InsetInclude.
476
477 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
478
479         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
480
481 2003-09-18  Angus Leeming  <leeming@lyx.org>
482
483         * buffer.C:
484         * BufferView.C: pass the buffer when calling Inset::getLabelList,
485         Inset::fillWithBibKeys.
486         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
487
488 2003-09-18  Angus Leeming  <leeming@lyx.org>
489
490         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
491         variables.
492         (ctor): pass and store a 'Buffer const &'
493         (buffer): new member function.
494
495         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
496         '*this' to the LaTeXFeatures ctor.
497
498 2003-09-18  Angus Leeming  <leeming@lyx.org>
499
500         * LColor.h:
501         * lyxfont.C:
502         * lyxfont.h:
503         * lyxtext.h:
504         * text.C: rename EnumLColor as LColor_color.
505
506 2003-09-18  Angus Leeming  <leeming@lyx.org>
507
508         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
509         remove #include "insets/insetbase.h" from cursor.h.
510
511 2003-09-18  Angus Leeming  <leeming@lyx.org>
512
513         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
514         InsetOld_code to remove #include "inset.h".
515
516         * iterators.C: add #include "insets/inset.h"
517
518 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
519
520         * BufferView.C: remove more locking stuff that apparently doesn't
521         do anything sensible.
522
523 2003-09-16  André Pönitz  <poenitz@gmx.net>
524
525         * paragraph.[Ch]:
526         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
527           performance boost.
528
529 2003-09-16  Angus Leeming  <leeming@lyx.org>
530
531         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
532
533         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
534         arg/return type.
535
536         * paragraph.h: remove #include "lyxfont.h". Forward declare
537         LyXFont_size.
538
539 2003-09-16  Angus Leeming  <leeming@lyx.org>
540
541         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
542         of support/textutils.h.
543         (isWord): move the contents of support/textutils.h's IsWordChar here.
544
545         * buffer.C:
546         * lyxfind.C:
547         * rowpainter.C:
548         * text.C:
549         * text2.C: add #include "paragraph.h".
550
551         * rowpainter.C:
552         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
553
554 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
555
556         * main.C:
557         * lyx_main.C:
558         * lyx_cb.C:
559         * buffer.C:
560         * LaTeX.C: use namespace alias for lyx::support::os
561
562 2003-09-16  Angus Leeming  <leeming@lyx.org>
563
564         * bufferparams.C:
565         * bufferview_funcs.C:
566         * factory.C:
567         * lyxfunc.C:
568         * paragraph_pimpl.C:
569         * rowpainter.C:
570         * text.C: add #include "LColor.h".
571
572 2003-09-16  Angus Leeming  <leeming@lyx.org>
573
574         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
575         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
576         return LyXFont &.
577         Store the FontBits::color variable as an int rather than as an
578         LColor::colorso that we can move LColor.h out of the lyxfont.h header
579         file.
580
581         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
582         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
583         string calls together.
584
585         * lyxrc.C: add #include "LColor.h".
586
587 2003-09-15  Angus Leeming  <leeming@lyx.org>
588
589         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
590         a cow_ptr.
591
592 2003-09-15  Angus Leeming  <leeming@lyx.org>
593
594         * LColor.h: add an EnumLColor wrapper for LColor::color.
595
596         * lyxfont.[Ch] (color, setColor, realColor):
597         * lyxtext.h, text.C (backgroundColor):
598         pass EnumLColor args to/from the functions, rather than LColor::color
599         ones.
600
601         * lyxfont.h:
602         * lyxtext.h: forward declare EnumLColor.
603
604         * lyx_main.C: add #include "LColor.h".
605
606 2003-09-15  Angus Leeming  <leeming@lyx.org>
607
608         * .cvsignore: add lyx-gtk.
609
610 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
611
612         * Chktex.C
613         * LaTeX.C
614         * LaTeXFeatures.C
615         * ParagraphParameters.C
616         * Spacing.C
617         * buffer.C
618         * bufferparams.C
619         * bufferview_funcs.C
620         * chset.C
621         * counters.C
622         * funcrequest.C
623         * lyxfont.C
624         * lyxgluelength.C
625         * lyxlength.C
626         * paragraph.C
627         * paragraph_funcs.C
628         * text3.C
629         * vc-backend.C: remove usage of STRCONV
630
631 2003-09-15  Angus Leeming  <leeming@lyx.org>
632
633         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
634         explicitly define the color passed to the painter.
635
636 2003-09-15  Angus Leeming  <leeming@lyx.org>
637
638         * bufferparams.C (BufferParams): reorder member initializers to avoid
639         compiler warning.
640
641 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
642
643         * CutAndPaste.C (pasteSelection): remove an outdated #warning
644         * text.C (updateRowPositions): remove an unusual nop
645
646 2003-09-12  André Pönitz  <poenitz@gmx.net>
647
648         * BufferView_pimpl.C:
649         * Bullet.C:
650         * layout.h:
651         * lyxfunc.C:
652         * lyxlayout.[Ch]:
653         * lyxtextclass.C:
654         * rowpainter.C:
655         * text.C:
656         * text2.C:
657         * Counters.[Ch]: finish the 'automatic counters' job
658
659 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
660
661         * aspell.C: include <boost/assert.cpp> (compile fix)
662
663 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
664
665         * boost.C (assertion_failed): use lyx::support::abort instead of
666         assert.
667
668 2003-09-10  Angus Leeming  <leeming@lyx.org>
669
670         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
671         with their _fwd progeny.
672
673 2003-09-09  Angus Leeming  <leeming@lyx.org>
674
675         134 files throughtout the source tree: replace 'using namespace abc;'
676         directives with the appropriate 'using abc::xyz;' declarations.
677
678 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
679
680         * boost.C (emergencyCleanup): moved here from LAssert.c
681         (assertion_failed): new function, called by BOOST_ASSERT
682
683         * several files: change Assert to BOOST_ASSERT
684
685 2003-09-09  Angus Leeming  <leeming@lyx.org>
686
687         * buffer.[Ch]: Add an Impl class and move Buffer's member
688         variables into it. As a result move several header files out of
689         buffer.h.
690
691         Add header files to lots of .C files all over the tree as a result.
692
693 2003-09-09  Angus Leeming  <leeming@lyx.org>
694
695         * buffer.[Ch]: make Buffer's member variables private. Add
696         accessor functions.
697
698         Lots of changes all over the tree as a result.
699
700 2003-09-08  Angus Leeming  <leeming@lyx.org>
701
702         * graph.C: #include <config.h>.
703
704 2003-09-08  Angus Leeming  <leeming@lyx.org>
705
706         * BranchList.C:
707         * BufferView.C:
708         * BufferView_pimpl.C:
709         * CutAndPaste.C:
710         * DepTable.C:
711         * LaTeX.C:
712         * LaTeXFeatures.C:
713         * LyXAction.C:
714         * MenuBackend.C:
715         * TextCache.C:
716         * aspell.C:
717         * buffer.C:
718         * bufferlist.C:
719         * changes.C:
720         * chset.C:
721         * converter.C:
722         * counters.C:
723         * debug.C:
724         * graph.C:
725         * ispell.C:
726         * lyx_cb.C:
727         * lyxfind.C:
728         * lyxfunc.C:
729         * lyxlex_pimpl.C:
730         * lyxrc.C:
731         * lyxrow.C:
732         * paragraph.C:
733         * rowpainter.C:
734         * texrow.C:
735         * text.C:
736         * text2.C:
737         * toc.C: remove redundant using directives.
738
739 2003-09-07  Angus Leeming  <leeming@lyx.org>
740
741         * LaTeXFeatures.h: remove #include "support/types.h".
742         * ToolbarBackend.h: remove #include <algorithm>.
743         * changes.h: remove #include <ctime>.
744         * debug.h: remove #include <iosfwd>.
745         * graph.h: remove #include "support/std_string.h".
746         * lyx_main.h: remove #include <csignal>.
747         * lyxlex_pimpl.h: remove #include <fstream>.
748         * sgml.h: remove #include <algorithm>, <utility>.
749         * toc.h: remove #include "support/std_ostream.h".
750         Add #include <iosfwd>.
751
752 2003-09-07  Angus Leeming  <leeming@lyx.org>
753
754         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
755
756         * converter.h: forward declare LatexRunParams.
757         * encoding.h: remove #include "lyxrc.h".
758         * lyxtext.h: remove #include "LColor.h".
759         * lyxtextclass.h: remove #include "support/types.h".
760         * trans.h: remove #include "tex-accent.h".
761         * trans_mgr.h: remove #include "tex-accent.h".
762         * insets/inset.h: remove #include "support/types.h", <vector>.
763         * insets/insetcollapsable.h: remove #include "LColor.h".
764         * insets/insetinclude.h: remove #include "dimension.h".
765         * insets/insetlatexaccent.h: remove #include "dimension.h".
766         * insets/insetoptarg.h:: remove #include "insettext.h".
767         * insets/insettext.h: remove #include "dimension.h",
768         <boost/shared_ptr.hpp>
769
770         * insets/renderers.h: add #include "dimension.h".
771         * insets/updatableinset.h: add #include "support/types.h".
772
773         * many .C files: Associated changes.
774
775 2003-09-06  Angus Leeming  <leeming@lyx.org>
776
777         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
778         one, inside testInvariant.
779
780         * PrinterParams.C: new file.
781         * PrinterParams.[Ch]: move the function bodies out of line.
782
783 2003-09-06  Angus Leeming  <leeming@lyx.org>
784
785         * ParagraphParameters.h: forward declare ParameterStruct rather than
786         including its header file.
787         (depth): moved out-of-line.
788
789 2003-09-06  Angus Leeming  <leeming@lyx.org>
790
791         * BufferView_pimpl.h:
792         * kbmap.h:
793         * kbsequence.h:
794         * lyxfunc.h: forward declare LyXKeySym rather than
795         #include "frontends/LyXKeySym.h".
796
797         * BufferView_pimpl.C:
798         * kbmap.C:
799         * kbsequence.C:
800         * lyxfunc.C: associated changes.
801
802 2003-09-06  Angus Leeming  <leeming@lyx.org>
803
804         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
805         As a result, can remove the #include "insets/inset.h" from BufferView.h
806
807 2003-09-06  Angus Leeming  <leeming@lyx.org>
808
809         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
810         As a result, can remove the #include "insets/inset.h" from BufferView.h
811
812 2003-09-06  Angus Leeming  <leeming@lyx.org>
813
814         * buffer_funcs.C:
815         * buffer.h:
816         * bufferlist.C:
817         * BufferView.C:
818         * bufferview_funcs.C:
819         * BufferView_pimpl.C:
820         * CutAndPaste.C:
821         * lyx_cb.C:
822         * lyxfunc.C:
823         * paragraph.h:
824         * ParagraphParameters.C:
825         * tabular.C:
826         * text3.C:
827         * toc.C:
828         * undo_funcs.C:
829         * frontends/controllers/ControlDocument.C:
830         * insets/insetcaption.C: rearrange the #includes into some sort of
831         coherent order.
832
833         * buffer.h: remove #includes ErrorList.h, undo.h
834
835 2003-09-06  Angus Leeming  <leeming@lyx.org>
836
837         * support/types.h: add a 'depth_type' typedef, used to store the
838         nesting depth of a paragraph.
839
840         * paragraph.h:
841         * ParameterStruct.h: use this lyx::depth_type typedef rather than
842         defining explicitly.
843
844         * buffer.h:
845         * paragraph_funcs.h:
846         * ParagraphParameters.h:
847         * sgml.h: use lyx::depth_type rather than Paragraph or
848         ParameterStruct's depth_type.
849
850         * buffer.h
851         * paragraph_funcs.h: no need to #include paragraph.h anymore.
852
853         * BufferView.C:
854         * BufferView_pimpl.C:
855         * CutAndPaste.C:
856         * ParagraphParameters.C:
857         * buffer_funcs.C:
858         * bufferlist.C:
859         * bufferview_funcs.C:
860         * lyx_cb.C:
861         * lyxfunc.C:
862         * tabular.C:
863         * text3.C:
864         * toc.C:
865         * undo_funcs.C:
866         * frontends/LyXView.C:
867         * frontends/controllers/ControlDocument.C:
868         * frontends/controllers/ControlErrorList.C:
869         * insets/insetbibitem.C:
870         * insets/insetbranch.C:
871         * insets/insetcaption.C:
872         * insets/insetcollapsable.C:
873         * insets/insetenv.C:
874         * insets/insetert.C:
875         * insets/insetfloat.C:
876         * insets/insetfoot.C:
877         * insets/insetfootlike.C:
878         * insets/insetnewline.C:
879         * insets/insetquotes.C:
880         * insets/insettabular.C:
881         * insets/insettext.C:
882         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
883
884         * frontends/controllers/ControlChanges.C: #include "changes.h".
885
886 2003-09-06  Angus Leeming  <leeming@lyx.org>
887
888         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
889         than #including paragraph.h.
890
891         * ParagraphList.h:
892         * RowList.h: deleted. Superfluous.
893
894         * CutAndPaste.h:
895         * iterators.h:
896         * lyxcursor.h:
897         * lyxtext.h:
898         * text_funcs.h:
899         * undo.h:
900         * undo_funcs.h:
901         * insets/inset.h:
902         * insets/insettext.h: use ParagraphList_fwd.h rather than
903         ParagraphList.h.
904
905         * paragraph.h: don't forward declare ParagraphList.
906
907         * buffer.h:
908         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
909         rather than ParagraphList.h. paragraph.h is still needed for the
910         Paragraph::depth_type parameters.
911
912         * textcursor.h: enable it to compile stand-alone in light of the
913         above changes.
914
915         * bufferview_funcs.C:
916         * iterators.C:
917         * lyxfunc.C:
918         * lyxrow_funcs.C:
919         * paragraph.C:
920         * rowpainter.C:
921         * text.C:
922         * text2.C:
923         * text3.C:
924         * text_funcs.C:
925         * textcursor.C:
926         * undo.C:
927         * frontends/controllers/ControlParagraph.C:
928         * frontends/controllers/ControlTabular.C:
929         * insets/insetmarginal.C:
930         * insets/insetminipage.C:
931         * insets/insetnote.C:
932         * insets/insetoptarg.C: add header files needed to compile again.
933
934 2003-09-06  Angus Leeming  <leeming@lyx.org>
935
936         * RowList_fwd.h: new file, forward-declaring Row rather than
937         #including lyxrow.h.
938
939         * lyxrow_funcs.h:
940         * lyxtext.h:
941         * paragraph.h:
942         * insets/insettext.h: use it instead of RowList.h
943
944         * bufferview_funcs.C:
945         * lyxfunc.C:
946         * lyxrow_funcs.C:
947         * paragraph.C:
948         * rowpainter.C:
949         * text.C:
950         * text2.C:
951         * text3.C: #include "RowList.h".
952
953 2003-09-05  Angus Leeming  <leeming@lyx.org>
954
955         * factory.C (createInset):
956         * vspace.C (c-tor): replace sscanf call with an istringstream.
957         * ispell.C: re-add missing HP/UX headers.
958         * lyxserver.C: re-add missing  os2 headers.
959
960 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
961
962         * BranchList.C:
963         * graph.C:
964         * ispell.C:
965         * lastfiles.C:
966         * lyx_cb.C:
967         * lyxserver.C:
968         * texrow.C:
969         * text3.C: re-add missing system headers, needed for 2.95.2.
970
971 2003-09-05  Angus Leeming  <leeming@lyx.org>
972
973         Changes most place everywhere due to the removal of using directives
974         from support/std_sstream.h.
975
976 2003-09-05  Angus Leeming  <leeming@lyx.org>
977
978         Replace LString.h with support/std_string.h,
979         Lsstream.h with support/std_sstream.h,
980         support/LIstream.h with support/std_istream.h,
981         support/LOstream.h with support/std_ostream.h.
982
983         Changes resulting throughout the tree.
984
985 2003-09-05  Angus Leeming  <leeming@lyx.org>
986
987         * sgml.h: ensure that the header file can be compiled stand-alone.
988         * *.C: strip out redundant #includes. (320 in total.)
989
990 2003-09-04  Angus Leeming  <leeming@lyx.org>
991
992         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
993         here (from getPackages).
994
995         * debug.[Ch]: add a new EXTERNAL tag.
996
997 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
998
999         * text2.C (cursorEnd): simplify
1000         (setCursor): adjust
1001         (getColumnNearX): adjust
1002
1003         * text.C (computeBidiTables): adjust
1004         (fill): adjust
1005
1006         * rowpainter.C (paintChars): adjust
1007         (paintSelection): adjust
1008         (paintChangeBar): adjust
1009         (paintText): adjust
1010
1011         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1012         lastPos instead.
1013         (numberOfSeparators): adjust
1014
1015 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1016
1017         * LyXAction.C:
1018         * box.[Ch]:
1019         * lfuns.h:
1020         * lyxfunc.C:
1021         * text3.C: Restricts the mouse click functionality
1022         of insets like bibtex, include, toc and floatlist to the visible
1023         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1024         up the dialogs. Cursor has to be in front of the inset (i.e.
1025         start of row) for this to function.
1026
1027 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1028
1029         * bufferview_funcs.C (currentState): output row information
1030
1031 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1032
1033         * bufferview_funcs.C (currentState): output paragraph position
1034
1035 2003-09-04  Angus Leeming  <leeming@lyx.org>
1036
1037         * FloatList.h: move out #include "Floating.h".
1038         * LaTeX.h: move out #include "DepTable.h".
1039         * LyXAction.h: move out #include "funcrequest.h".
1040         * buffer.h: move out #include "author.h", "iterators.h".
1041         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1042         * lyx_main.h: move out #include "errorlist.h".
1043         * lyxfunc.h: move out #include "FuncStatus.h".
1044         * lyxtext: move out #include "lyxcursor.h".
1045         * paragraph_pimpl.h: move out #include "counters.h".
1046
1047 2003-09-03  Angus Leeming  <leeming@lyx.org>
1048
1049         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1050         preamble_snippets list, enabling us to add snippets to the preamble
1051         only if the snippet was not there already.
1052
1053 2003-09-04  Angus Leeming  <leeming@lyx.org>
1054
1055         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1056
1057 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1058
1059         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1060         update
1061
1062 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1063
1064         * BranchList.C: point fix, earlier forgotten
1065
1066 2003-09-02  Angus Leeming  <leeming@lyx.org>
1067
1068         * box.C (contains): renamed from 'contained' after a fantastic
1069         amount of hot air.
1070
1071 2003-09-02  John Levon  <levon@movementarian.org>
1072
1073         * BufferView.C:
1074         * lyxcursor.h:
1075         * lyxcursor.C:
1076         * lyxfunc.C:
1077         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1078
1079 2003-09-02  John Levon  <levon@movementarian.org>
1080
1081         * text2.C: simplification of cursorEnd(), including partial
1082         fix for bug 1376
1083
1084 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1085
1086         * buffer.C (readFile): add a space
1087
1088 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1089
1090         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1091
1092 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1093
1094         * buffer.C (readFile): new function, take a filename and a
1095         ParagraphList::iterator
1096         (readFile): adjust
1097         (readFile): adjust, make it private. don't use setStream, make
1098         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1099         always contain the filename.
1100
1101         * BufferView.C (insertLyXFile): simplify and make it work for
1102         gzipped files.
1103
1104 2003-08-30  John Levon  <levon@movementarian.org>
1105
1106         * Makefile.am: fix dist (from Kayvan)
1107
1108 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1109
1110         * most files: change to use const Buffer refs
1111
1112 2003-08-27  André Pönitz  <poenitz@gmx.net>
1113
1114         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1115         on top of ownerPar().
1116
1117 2003-08-27  John Levon  <levon@movementarian.org>
1118
1119         * funcrequest.C: properly initialise POD members
1120
1121 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1122
1123         * lyxtext.h (top_y): move top_y from here
1124         * text.C:
1125         * text2.C:
1126         * text3.C:
1127         * BufferView.[Ch]:
1128         * BufferView_pimpl.[Ch]: to here
1129         * frontends/screen.C:
1130         * insets/insettabular.C:
1131         * insets/insettext.C: adjust
1132         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1133
1134 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1135
1136         * BufferView.[Ch]:
1137         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1138
1139 2003-08-26  André Pönitz  <poenitz@gmx.net>
1140
1141         * paragraph_func.[Ch] (outerPar): new function
1142
1143         * paragraph.C:
1144         * paragraph_funcs.C:
1145         * paragraph_funcs.h:
1146         * paragraph_pimpl.C:
1147         * text2.C: remove Inset::par_owner
1148
1149 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1150
1151         * lyxrow_funcs.C:
1152         * lyxtext.h:
1153         * text.C:
1154         * text2.C: eliminates the needFullRow/display() stuff
1155         altogether, putting the logic in metrics/draw in the insets.
1156
1157 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1158
1159         * text2.C (redoParagraphInternal, redoParagraphs):
1160         * text.C (redoParagraph): add a call to updateRowPositions at the
1161         end of each 'metrics-like' call. Remove all others.
1162         (getRow): remove the 'y-computing' version.
1163         (getRowNearY): do not compute nor return the real y. Solve the
1164         'y < 0' problem and simplify.
1165
1166 2003-08-22  Angus Leeming  <leeming@lyx.org>
1167
1168         * *.[Ch]: clean-up of licence and author blurbs.
1169         Also move config.h out of a few .h files and into a few .C files.
1170
1171 2003-08-22  André Pönitz  <poenitz@gmx.net>
1172
1173         * lyxrow.[Ch]: add x_ and *fill_ members
1174
1175         * lyxtext.h:
1176         * text.C:
1177         * rowpainter.C:
1178         * text2.C: adjust/remove prepareToPrint() calls
1179
1180 2003-08-22  André Pönitz  <poenitz@gmx.net>
1181
1182         * lyxrow.[Ch]: add  end_ member
1183
1184         * lyxrow_funcs.C: use LyXRow::end_
1185
1186         * lyxtext.h (singleWidth): add LyXFont parameter
1187
1188         * rowpainter.C:
1189         * text2.C: adjust LyXText::singleWidth() calls
1190
1191         * text.C (redoParagraph): simplify row breaking logic
1192
1193
1194 2003-08-19  André Pönitz  <poenitz@gmx.net>
1195
1196         * funcrequest.C: initialize button_ member
1197
1198         * text3.C:
1199         * rowpainter.[Ch]: interface consolidation
1200
1201 2003-08-18  André Pönitz  <poenitz@gmx.net>
1202
1203         * BufferView.C:
1204         * BufferView_pimpl.C:
1205         * lyxfind.C:
1206         * paragraph_funcs.C:
1207         * rowpainter.C:
1208         * text3.C: remove LyXScreen::draw() and fitCursor calls
1209
1210         * BranchList.h: remove spurious semicolons
1211
1212         * MenuBackend.C: fix branchlist related crash
1213
1214 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1215
1216         * BranchList.[Ch]:
1217         * InsetList.[Ch]:
1218         * LColor.[Ch]:
1219         * LyXAction.C:
1220         * Makefile.am:
1221         * MenuBackend.[Ch]:
1222         * bufferparams.[Ch]:
1223         * factory.C:
1224         * lfuns.h:
1225         * lyxfunc.C:
1226         * text3.C: implements the 'branch inset'
1227         idea. This allows the output of various versions of a document
1228         from a single source version, selectively outputing or suppressing
1229         output of parts of the text.
1230         This implementation contains a 'branch list editor' in a separate
1231         tab of the document settings dialog. Branches are user definable
1232         and have a "display colour" to distinguish them on-screen.
1233
1234         ColorHandler was somewhat cleaned up.
1235         (1) make possible a dynamically growing LColor list by allowing
1236         the graphic context cache to grow along (vector);
1237         (2) eliminate an IMHO unnecessary step in colour allocation.
1238
1239 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1240
1241         * BufferView_pimpl.C: compile fix
1242
1243 2003-08-15  André Pönitz  <poenitz@gmx.net>
1244
1245         * rowpainter.C: remove extra metrics calls
1246
1247         * lyxtext.h: merge the two constructors into a single one,
1248           pass reference to owner's par list
1249
1250         * BufferView_pimpl.C:
1251         * text.C:
1252         * text2.C: adjust
1253
1254 2003-08-15  André Pönitz  <poenitz@gmx.net>
1255
1256         * lyxrow_funcs.[Ch]:
1257         * lyxtext.h:
1258         * paragraph.h:
1259         * paragraph_funcs.C:
1260         * rowpainter.C:
1261         * text.C:
1262         * text2.C:
1263         * text3.C:
1264         * text_funcs.C: split LyXText::rowlist_ into individual
1265         Paragraph::rows_ chunks
1266
1267         * BufferView.[Ch]:
1268         * BufferView_pimpl.[Ch]:
1269         * lyxfind.C:
1270         * lyxtext.h:
1271         * text3.C: remove toggleSelection()
1272
1273 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1274
1275         * bufferlist.C: beautify two alerts (shorter text of buttons)
1276         * buffer.C: Remove redundant ' ' from message
1277         * tabular.h:
1278         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1279         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1280         rename VALIGN_CENTER to VALIGN_MIDDLE
1281
1282 2003-08-11  André Pönitz  <poenitz@gmx.net>
1283
1284         * lyxtext.h (getPar):
1285         * text.C: new function
1286
1287 2003-08-11  André Pönitz  <poenitz@gmx.net>
1288
1289         * Makefile.am:
1290         * tracer.[Ch]: remove unneeded files
1291
1292         * InsetList.[Ch]: remove resizeInsetsLyXText()
1293
1294         * lyxtext.h:
1295         * text.C:
1296         * text2.C:
1297         * text3.C: merge insertParagraphs() and appendParagraph()
1298         remove breakAgain(), update()
1299
1300         * BufferView_pimpl.[Ch]:
1301         * bufferview_funcs.[Ch]:
1302         * lyxfunc.C:
1303         * paragraph.[Ch]:
1304         * rowpainter.C:
1305         * tabular.C: adjust after text & InsetList changes.
1306
1307 2003-08-08  André Pönitz  <poenitz@gmx.net>
1308
1309         * text.C (insertChar, backspace): replace rowlist fiddling
1310         with rebreak of full par
1311
1312         * lyxtext.h:
1313         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1314         checkParagraph, updateInset): removed
1315
1316 2003-08-07  André Pönitz  <poenitz@gmx.net>
1317
1318         * paragraph.C:
1319         * text3.C: merge some LFUN handlers, remove dead code
1320
1321 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1322
1323         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1324
1325 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1326
1327         * text2.C (DEPM): fix part of bug 1255 and 1256
1328
1329 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1330
1331         * BufferView_pimpl.C (workAreaDispatch): change to use
1332         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1333         that are no mouse related.
1334
1335 2003-08-05  André Pönitz  <poenitz@gmx.net>
1336
1337         * BufferView.[Ch]:
1338         * BufferView_pimpl.[Ch]:
1339         * bufferview_funcs.C:
1340         * text2.C:
1341         * text3.C: rip out "deep update"
1342
1343         * textcursor.[Ch] (last_sel_cursor): remove unused member
1344
1345 2003-08-04  André Pönitz  <poenitz@gmx.net>
1346
1347         * BufferView.[Ch]:
1348         * BufferView_pimpl.[Ch]:
1349         * ParagraphParameters.C:
1350         * bufferview_funcs.C:
1351         * lyx_cb.C:
1352         * lyxfind.C:
1353         * lyxfunc.C:
1354         * text.C:
1355         * text2.C:
1356         * text3.C: replace "complicated" BufferView::update(...) calls with
1357         simpler ones.
1358
1359         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1360
1361 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1362
1363         * Makefile.am (lyx_SOURCES): add paper.h
1364
1365 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1366
1367         * Makefile.am: move things around so that both lyx-qt and
1368         lyx-xforms can be built (according to --with-frontend). Then lyx
1369         is a symbolic link to lyx-[firstfrontend]
1370
1371 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1372
1373         * Always use std::endl with lyxerr
1374
1375 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1376
1377         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1378
1379 2003-08-01  André Pönitz  <poenitz@gmx.net>
1380
1381         * BufferView.[Ch]:
1382         * BufferView_pimpl.[Ch]:
1383         * lyxfunc.C:
1384         * text3.C: merge BufferView::repaint() and BufferView::update()
1385
1386 2003-08-01  José Matos  <jamatos@lyx.org>
1387
1388         * buffer.[Ch]: file_format is no longer a buffer data element.
1389
1390 2003-08-01  André Pönitz  <poenitz@gmx.net>
1391
1392         * BufferView.C:
1393         * lyxtext.h:
1394         * text.C:
1395         * text2.C: make redoParagraph more independent of current cursor
1396
1397         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1398         * text.C:
1399         * text2.C: remove unneeded members
1400
1401 2003-07-30  André Pönitz  <poenitz@gmx.net>
1402
1403         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1404
1405         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1406           create a single function...
1407
1408         * paragraph_funcs.C (moveItem): ... here.
1409
1410         * text.C:
1411           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1412
1413 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1414
1415         * LColor.[Ch]: Add comment and greyedout logical colors.
1416
1417 2003-07-30  André Pönitz  <poenitz@gmx.net>
1418
1419         * tabular.C: don't use Assert too heavily. This crashes where it
1420           shouldn't
1421
1422 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1423
1424         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1425         is disabled (bug 1232)
1426
1427 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1428
1429         * factory.C: limited 'arg' scope
1430
1431 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1432
1433         * factory.C: fixed Note submenu issues
1434
1435 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1436
1437         * factory.C: submenu for Note/Comment/Greyedout
1438
1439 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1440
1441         * lyx_main.C (LyX):
1442         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1443
1444 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1445
1446         * LaTeXFeatures.C:
1447         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1448         greyedout. Patch provided by Jürgen Spitzmüller.
1449
1450 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1451
1452         * kbmap.C (read): fix error message when reading bind files
1453
1454 2003-07-29  Angus Leeming  <leeming@lyx.org>
1455
1456         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1457         certainly does not do what it purports to do. I am doing it, and
1458         us, a favour by killing it.
1459
1460 2003-07-28  José Matos  <jamatos@lyx.org>
1461
1462         * buffer.C (readBody, do_writeFile):
1463         * paragraph.C(readParagraph): \end_document replaces \the_end.
1464
1465 2003-07-29  André Pönitz  <poenitz@gmx.net>
1466
1467         * BufferView.[Ch]:
1468         * BufferView_pimpl.[Ch]:
1469         * lyxfunc.C:
1470         * text2.C:
1471         * text3.C:
1472         * textcursor.[Ch]: remove toggleToggle & Co
1473
1474 2003-07-28  José Matos  <jamatos@fep.up.pt>
1475
1476         * buffer.C (readParagraph):
1477         * params_func (readParToken, readParagraph):
1478         * paragraph.C (write): \layout -> \begin_layout.
1479
1480 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1481
1482         * lyxlex_pimpl.C (setFile): clean up slightly.
1483
1484         * bufferparams.h: add compressed var
1485
1486         * buffer_funcs.C (readFile): adjust for LyXLex change
1487         (newFile): ditto + simplify
1488
1489         * buffer.C (writeFile): handle writing of compressed files
1490
1491         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1492         Check if the file is compressed and set a bufferparm if so.
1493
1494         * Makefile.am (lyx_LDADD): remove explicit -lz
1495
1496 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1497
1498         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1499         makeDocBookFile): put the real LyX version in the first line of
1500         the file
1501
1502         * version.h:
1503         * version.C.in: remove lyx_docversion
1504
1505         * tabular.C (write_attribute): add a template-based version to
1506         write enums properly
1507
1508 2003-07-28  André Pönitz  <poenitz@gmx.net>
1509
1510         * lyxtext.h:
1511         * text.C:
1512         * text2.C:
1513         * text3.C: use doubles again for x-coordinates. They are needed.
1514
1515 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1516
1517         * messages.C (getLocaleDir): use lyx_localedir()
1518
1519         * lyxlex_pimpl.C (setFile): compress stuff
1520
1521         * buffer.C (writeFile): add some compression stuff
1522         (do_writeFile): new func, dont call expliti close... will this
1523         breake anything?
1524
1525         * Makefile.am (lyx_LDADD): add -lz
1526
1527 2003-07-28  José Matos  <jamatos@fep.up.pt>
1528
1529         * buffer.C: increment file format.
1530         * paragraph_funcs (readParagraph, readParToken):
1531         * paragraph.C (readParagraph): add \end_layout.
1532
1533 2003-07-27  Angus Leeming  <leeming@lyx.org>
1534
1535         * Makefile.am: remove special casing for configure-time setting of
1536         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1537
1538         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1539         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1540
1541 2003-07-26  André Pönitz  <poenitz@gmx.net>
1542
1543         * paragraph_func.[Ch]:
1544         * paragraph.C (realizeFont): inline it whereever it is used
1545
1546         * rowpainter.C:
1547         * text.C:
1548         * text2.C:
1549         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1550
1551
1552 2003-07-26  André Pönitz  <poenitz@gmx.net>
1553
1554         *       lyxtext.h:
1555         * text.C:
1556         * text2.C: get rid of LyXText::need_break_row
1557
1558 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1559
1560         * toc.[Ch]: put namespace toc inside namespace lyx
1561
1562         * MenuBackend.C (expandToc2): adjust for lyx::toc
1563         (expandToc): ditto
1564
1565         * lyxfunc.C (dispatch): adjust for lyx::find
1566
1567         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1568         lyx::find instead. Reorganize a bit.
1569         (LyXReplace): rename to replace
1570         (LyXFind): rename to find
1571
1572         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1573         (dispatch): ditto
1574
1575 2003-07-26  André Pönitz  <poenitz@gmx.net>
1576
1577         * text.C (setHeightOfRow): restrict scope of temporary variable
1578
1579         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1580           code (never has been used?)
1581
1582 2003-07-27  Asger Alstrup  <alstrup@local>
1583
1584         * text.C (fill): Optimise algorithm to exploit that we can reuse
1585         the LyXFont for many characters.
1586         (setHeightOfRow): Same thing.
1587         (rowBreakPoint): Same thing.
1588
1589 2003-07-26  Asger Alstrup  <alstrup@local>
1590
1591         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1592
1593         * text.C (singleWidth): Spurious font copying in hot-spot
1594         singleWidth avoided. Reorder tests for arabic for efficiency.
1595
1596         * text.C (fill): handle empty paragraphs better.
1597
1598 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1599
1600         * ispell.C:
1601         * encoding.h: add includes
1602
1603         * lyxrc.C: remove reading of bind files
1604
1605         * lyx_main.C (init): setup bindings and menus only if we have a
1606         gui.
1607
1608         * kbmap.C (read): new method. Do the actual reading of bind
1609         files.
1610
1611         * converter.C (dvipdfm_options):
1612         * bufferparams.C:
1613         * lyxrc.C (read):
1614         (output): adapt PAPER_* enums.
1615
1616         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1617
1618         * bufferparams.h: remove paper-related enums from there
1619
1620         * paper.h: New file. A trivial header file to hold paper-related
1621         enums. It should later expand to contain many paper-related
1622         horrors access.
1623
1624         * lyxrc.C: declare extern displayTranslator
1625
1626 2003-07-27  José Matos  <jamatos@fep.up.pt>
1627
1628         * tabular.[Ch] (linuxdoc): add support for tables and figures
1629         (linuxdoc).
1630
1631 2003-07-27  José Matos  <jamatos@fep.up.pt>
1632
1633         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1634         consistency in both functions.
1635         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1636
1637 2003-07-26  Asger Alstrup  <alstrup@local>
1638
1639         * rowpainter.C (paintRows): Change algorithm to work directly on
1640         the insets rather than asking every character in the document
1641         whether its an inset.
1642
1643 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1644
1645         * buffer.C (openFileWrite): factorize some code
1646
1647 2003-07-26  Angus Leeming  <leeming@lyx.org>
1648
1649         * lyx_cb.C:
1650         * lyx_main.[Ch]: replace occurances of system_tempdir with
1651         os::getTmpDir().
1652
1653 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1654
1655         * rename Inset to InsetOld
1656
1657 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1658
1659         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1660         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1661         which I think is a bit clearer. EDIT is gone, since it was
1662         premature optimisation, and broken for mathed anyway.
1663         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1664         with cursor positioning in insets as well (math insets still do not
1665         work, but that's a different story anyway.) It mysteriously
1666         crashes sometimes with undo in the first paragraph, but I'm fairly
1667         confident that this is a compiler bug.
1668
1669 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1670
1671         * paragraph.C (Paragraph): adjust for new clone return type
1672         (operator==): ditto
1673         (copyIntoMinibuffer): ditto
1674
1675 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1676
1677         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1678         by not having a special case, and always doing a full rebreak of
1679         the document after undo.
1680
1681 2003-07-23  Angus Leeming  <leeming@lyx.org>
1682
1683         * factory.C (createInset): InsetExternal::setParams now takes a
1684         Buffer const * arg.
1685
1686 2003-07-23  Angus Leeming  <leeming@lyx.org>
1687
1688         * factory.C (createInset): changed interface to the external and
1689         graphics mailers' string2params functions.
1690
1691 2003-07-23  Angus Leeming  <leeming@lyx.org>
1692
1693         * factory.C (createInset): pass a
1694         Buffer const * parameter to InsetExternalMailer's string2params.
1695
1696 2003-07-22  John Levon  <levon@movementarian.org>
1697
1698         * Thesaurus.h: include the right aiksaurus header
1699
1700 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1701
1702         * MenuBackend.C (expand): check menu shortcuts unconditionally
1703
1704 2003-07-21  Angus Leeming  <leeming@lyx.org>
1705
1706         * factory.C (createInset): pass a
1707         buffer_path parameter to InsetGraphicsMailer's string2params.
1708
1709 2003-07-21  Angus Leeming  <leeming@lyx.org>
1710
1711         * BufferView_pimpl.C (buffer):
1712         * buffer.C (d-tor):
1713         * lyx_main.C (LyX):
1714         * lyxfunc.C (dispatch):
1715         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1716         rather than the grfx shortcut.
1717
1718 2003-07-21  André Pönitz  <poenitz@gmx.net>
1719
1720         * rowpainter.C: remove unused variables
1721
1722         * tabular_funcs.C:
1723         * tabular_funcs.h: move to tabular.C
1724         * Makefile.am: adjust
1725
1726         * tabular.[Ch]: basic optical cleaning
1727
1728         * author.h: pass references, not values
1729
1730 2003-07-18  André Pönitz  <poenitz@gmx.net>
1731
1732         * lyxtext.h:
1733         * metricsinfo.C:
1734         * metricsinfo.h:
1735         * rowpainter.C:
1736         * text.C:
1737         * text2.C:
1738         * text3.C: two-phase drawing for InsetText and InsetTabular
1739         some float -> int changes.
1740
1741 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1742
1743         * lyx_main.C: fix the fix
1744
1745 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1746
1747         * lyx_main.C: fix a crash in batch mode if no files specified
1748         * converter.C: ws
1749
1750 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1751
1752         * format.[Ch] (papersize): moved to BufferParams
1753         * converter.[Ch] (dvips_options): moved to BufferParams
1754         (dvipdfm_options): moved to anon namespace
1755         * bufferparams.[Ch]: added above functions.
1756
1757 2003-07-17  André Pönitz  <poenitz@gmx.net>
1758
1759         * lyxtext.h:
1760         * rowpainter.C:
1761         * text2.C: don't call inset->update() anymore
1762
1763         * metricsinfo.[Ch]: add convenience constructor
1764
1765 2003-07-16  André Pönitz  <poenitz@gmx.net>
1766
1767         * lyxcursor.[Ch]:
1768         * lyxfunc.[Ch]:
1769         * text.C:
1770         * text2.C: replace the LyXCursor::irow_ member with
1771          on-demand computation of the value
1772
1773 2003-07-16  John Levon  <levon@movementarian.org>
1774
1775         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1776
1777 2003-07-15  André Pönitz  <poenitz@gmx.net>
1778
1779         * text.C:
1780         * text2.C: remove no more needed refresh_row
1781
1782 2003-07-15  André Pönitz  <poenitz@gmx.net>
1783
1784         * lyxtext.h:
1785         * rowpainter.C:
1786         * text2.C:
1787         * text3.C: refresh_status tristate -> need_update bool
1788
1789 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1790
1791         * lyxtext.h (init): remove reinit argument (act as if always true)
1792         * text2.C: adjust to that
1793
1794 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1795
1796         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1797         * text3.C: use it to delete selections in some cases
1798         (bugs 441, 673, 702, 954).
1799
1800 2003-07-14  André Pönitz  <poenitz@gmx.net>
1801
1802         * rowpainter.[Ch]: reduce interface
1803
1804 2003-07-14  André Pönitz  <poenitz@gmx.net>
1805
1806         * BufferView_pimpl.C:
1807         * text2.C: adjust after removing unused BufferView * argument
1808
1809 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1810
1811         * text2.C (init): fix a crash fired on resize
1812
1813 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1814
1815         * buffer.[Ch]: added new closing signal
1816         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1817         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1818         BufferView::Pimpl via the closing the signal
1819
1820 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1821
1822         * buffer.[Ch]: take out all bv-related from buffer
1823         * BufferView.C:
1824         * BufferView_pimpl.[Ch]: connect to new signals
1825         * CutAndPaste.C: removed useless asserts
1826         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1827         * lyxvc.[Ch]:
1828         * vc-backend.[Ch]:
1829         * lyxfunc.C: moved view-related funciontality from vc here
1830         * paragraph.C: removed outdated comments
1831         * text.C: ws
1832
1833 2003-07-10  André Pönitz  <poenitz@gmx.net>
1834
1835         * BufferView_pimpl.C:
1836         * tabular.h:
1837         * tabular_funcs.C:
1838         * text.C:
1839         * text2.C: remove InsetText::InnerCache, clean up consequences
1840
1841 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1842
1843         * ispell.C: fix two typos in error messages
1844
1845 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1846
1847         * Extend Note inset to other forms of annotation like Comment
1848         and Greyedout. Right button click gives dialog.
1849
1850         Files modified or added (+):
1851
1852         * insetnote.[Ch]
1853         * FormNote.[Ch]      +
1854         * ControlNote.[Ch]   +
1855         * form_note.fd       +
1856         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1857         frontends/controllers
1858         * xforms/Dialogs.C
1859         * factory.C
1860
1861 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1862
1863         * aspell.C: add missing namespace lyx::support
1864
1865 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1866
1867         * BufferView.[Ch] (newFile): Add
1868         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1869         * LaTeX.[Ch] (message): added this signal and use it
1870         * buffer.[Ch] (busy, message): added these signals and use them
1871         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1872         * converter.C:
1873         * exporter.C:
1874         * format.C:
1875         * importer.C: use buffer signals instead of direct bv calling
1876         * lyx_cb.[Ch] (ShowMessage): removed
1877         * lyx_main.C:
1878         * lyxfunc.C:
1879         * paragraph_funcs.C:
1880         * text2.C: use buffer signals
1881
1882 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1883
1884         * introduce namespace lyx::graphics
1885
1886 2003-07-02  André Pönitz  <poenitz@gmx.net>
1887
1888         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1889
1890 2003-07-01  André Pönitz  <poenitz@gmx.net>
1891
1892         * text.C:
1893         * text2.C:
1894         * text3.C:
1895         * text_funcs.[Ch]:
1896         * textcursor.h:
1897         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1898           text*.C to text_func.C
1899
1900 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1901
1902         * introduce namespace lyx::support
1903
1904 2003-06-30  André Pönitz  <poenitz@gmx.net>
1905
1906         * Chktex.C:
1907         * funcrequest.C:
1908         * lyxtext.h:
1909         * text.C: re-enable --with-included-string
1910
1911 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1912
1913         * textcursor.C: add <config.h>
1914
1915         * text.C (getWord): remove const from word_location arg
1916
1917         * lyxvc.C (getLogFile): fix const type order
1918
1919         * lyxtext.h: remove const from word_location arg, add arg name
1920
1921         * lyxlayout.h: currect type on labeltype.
1922
1923         * importer.C: correct \file
1924
1925         * converter.C (intToFormat): use std:: on ret val, ws changes
1926
1927         * bufferlist.h: correct \file
1928
1929         * buffer.C (makeLinuxDocFile): fix const type order
1930         (makeDocBookFile): ditto
1931         (fillWithBibKeys): use std:: on stdlib args.
1932
1933         * CutAndPaste.C: fix authors.
1934         (availableSelections): use std:: on return vector
1935
1936 2003-06-27  André Pönitz  <poenitz@gmx.net>
1937
1938         * BufferView_pimpl.C:
1939         * bufferview_funcs.C:
1940         * lyxcursor.C:
1941         * lyxcursor.h:
1942         * lyxfunc.C:
1943         * lyxtext.h:
1944         * rowpainter.C:
1945         * text.C:
1946         * text2.C:
1947         * text3.C: remove LyXCursor::row_ member
1948
1949         * lyxtext.h:
1950         * text.C: rename fullRebreak() to partialRebreak() and implement
1951           a fullRebreak() that really bereks fully
1952
1953         * textcursor.h: new struct for cursor-related data
1954
1955 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1956
1957         * lyx_main.C (LyX): get full path of document loaded on the
1958         command line
1959
1960 2003-06-26  André Pönitz  <poenitz@gmx.net>
1961
1962         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1963           remove unused/broken operator>,<,>=.
1964
1965         *       text.C: remove only use of broken operator<= in an Assert().
1966
1967 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1968
1969         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1970         moved errorlist_.clear to showErrorList
1971
1972 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1973
1974         * converter.C (scanLog, runLaTeX):
1975         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1976         move the bv->showErrorList call to the callers
1977         * lyxfunc.C: i.e. here...
1978         * text2.C: and here
1979         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1980         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1981         namespace, the second to...
1982         * buffer_funcs (BufferFormat, parseErrors): added
1983         * errorlist.C (ErrorList(TeXErrors const &)): removed
1984
1985 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1986
1987         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1988
1989 2003-06-24  "Garst R. Reese" <reese@isn.net>
1990
1991         * debug.C: fix typo
1992
1993 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1994
1995         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1996
1997         * version.C.in: change docversion to 1.4
1998
1999 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2000
2001         * buffer.C: fix a bug just introduced
2002
2003 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2004
2005         * buffer.[Ch]: added the parseError signal and use it, removed
2006         sgmlError
2007         * BufferView.[Ch] (addError): moved to ...
2008         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2009         to the Buffer::parseError signal to catch (guess what) parse errors
2010         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2011
2012 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2013
2014         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2015         ability to create a buffer and to return an existing one from
2016         the list. Moved these functions to...
2017         * buffer_funcs.[Ch]: added
2018         * BufferView.[Ch] (loadLyXFile): added
2019         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2020         job removed from bufferlist::loadLyXFile.
2021         * buffer.C (setReadOnly): make it work without view
2022         (i.e added an if (users))
2023
2024 2003-06-19  Angus Leeming  <leeming@lyx.org>
2025
2026         * lfuns.h:
2027         * LyXAction.C (init):
2028         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2029         with LFUN_DIALOG_SHOW <name> <data>.
2030
2031 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2032
2033         * CutAndPaste.C (availableSelections): small compilation fix for
2034         ancient (gcc 2.9x) compilers
2035
2036 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2037
2038         * text3.C (cursorNext): add tmp var
2039
2040         * text2.C (updateCounters): for function calling out of for clause
2041         (replaceSelectionWithString): ditto
2042         (insertStringAsParagraphs): ditto
2043         (getColumnNearX): add tmp var
2044         (setCursorFromCoordinates): add tmp var
2045         (cursorDownParagraph): add tmp var
2046         (deleteEmptyParagraphMechanism): add tmp var
2047
2048         * text.C (insertChar): add tmp var
2049
2050         * rowpainter.C (paintDepthBar): add tmp var
2051
2052         * CutAndPaste.C (availableSelections): potentially check all
2053         paragraphs in a cut to fill the shown strings.
2054
2055 2003-06-18  André Pönitz  <poenitz@gmx.net>
2056
2057         * kbmap.[Ch]: use vector<> instead of list<>
2058
2059 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2060
2061         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2062         pasteSelection with index
2063
2064         * text2.C (pasteSelection): modify, call pasteSelection with index
2065
2066         * paragraph.C (asString): reimplement version with no interval to
2067         call the one with interval.
2068
2069         * lyxtext.h: add index arg to pasteSelection
2070
2071         * MenuBackend.C (MenuItem): handle PasteRecent
2072         (Menu::read::Menutags): add md_pasterecent
2073         (read): handle it
2074         (expandPasteRecent): new function
2075         (expand): use it
2076
2077         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2078
2079         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2080         the limited stack
2081         (availableSelections): new function
2082
2083 2003-06-17  Angus Leeming  <leeming@lyx.org>
2084
2085         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2086
2087 2003-06-17  Angus Leeming  <leeming@lyx.org>
2088
2089         * lfuns.h:
2090         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2091
2092         * lyxfunc.C (dispatch): invoke it.
2093
2094 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2095
2096         * iterators.C (operator++, ParPosition): reintroduce some
2097         const_cast for the benefit of older compilers.
2098
2099 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2100
2101         * text3.C (dispatch): do not modify clipboard when doing
2102         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2103         LFUN_DELETE_SKIP on a selection selection
2104
2105 2003-06-16  André Pönitz  <poenitz@gmx.net>
2106
2107         * BufferView.C:
2108         * buffer.C:
2109         * buffer.h:
2110         * paragraph.C:
2111         * tabular.[Ch]: IU of clone() and getLabelList();
2112
2113 2003-06-13  André Pönitz  <poenitz@gmx.net>
2114
2115         * tabular.h: compactification
2116
2117 2003-06-12  André Pönitz  <poenitz@gmx.net>
2118
2119         * tabular.C:
2120         * tabular.h:
2121         * tabular_funcs.h: some renaming plus whitespace
2122
2123 2003-06-12  André Pönitz  <poenitz@gmx.net>
2124
2125         * BufferView.C:
2126         * BufferView_pimpl.C:
2127         * CutAndPaste.C:
2128         * buffer.C:
2129         * iterators.[Ch]:
2130         * lyxfunc.C:
2131         * text.C:
2132         * toc.C: Return a Paragraph & for ParIterator::operator*()
2133
2134 2003-06-11  John Levon  <levon@movementarian.org>
2135
2136         * lyx_main.C:
2137         * ToolbarBackend.h:
2138         * ToolbarBackend.C: add "Toolbars" section and
2139         put the flags there
2140
2141 2003-06-10  Angus Leeming  <leeming@lyx.org>
2142
2143         * lfuns.h:
2144         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2145
2146         * lyxfunc.C (dispatch): invoke it.
2147
2148 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2149
2150         * main.C: protect <ios> with HAVE_IOS
2151         (main): protect sync_with_stdio with HAVE_IOS
2152
2153 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2154
2155         * text2.C (cutSelection): adjust
2156         (pasteSelection): adjust
2157
2158         * messages.C: handle get of empty string
2159
2160         * main.C (main): use sync_with_stdio(false)
2161
2162         * lyxfunc.C (dispatch): adjust
2163
2164         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2165         (WriteAs): remove unneeded BufferView arg.
2166
2167         * bufferparams.h: use correct types on papersize, papersize2 and
2168         paperpackage.
2169
2170         * bufferparams.C (readToken): adjust for type
2171         (writeLaTeX): add missing cases to switch.
2172
2173         * bufferlist.C (quitWriteBuffer): adjust
2174         (close): adjust
2175
2176         * buffer.C (asciiParagraph): remove some commented code.
2177
2178         * CutAndPaste.C: remove current_view extern variable.
2179         (cutSelection): add BufferParams arg.
2180         (eraseSelection): add BufferParams arg.
2181         (pasteSelection): add Buffer const & arg
2182
2183 2003-06-07  John Levon  <levon@movementarian.org>
2184
2185         * buffer.C:
2186         * paragraph_funcs.C:
2187         * paragraph_pimpl.C:
2188         * text.C:
2189         * text2.C:
2190         * paragraph.h:
2191         * paragraph.C: allow InsetERT to freely space lines,
2192         and some consolidation of code
2193
2194 2003-06-06  José Matos  <jamatos@fep.up.pt>
2195
2196         * buffer.C (makeDocBookFile): fix bug #821
2197
2198 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2199
2200         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2201
2202 2003-06-04  Angus Leeming  <leeming@lyx.org>
2203
2204         * buffer.C: bump format to 224.
2205
2206 2003-06-05  André Pönitz  <poenitz@gmx.net>
2207
2208         * text2.C (redoParagraphs): remove two const_cast<>
2209
2210 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2211
2212         * ParagraphList.h: remove last remnants of NO_STD_LIST
2213
2214 2003-06-03  Angus Leeming  <leeming@lyx.org>
2215
2216         * factory.C (createInset): small change to the way InsetExternal's params
2217         are set.
2218
2219 2003-06-04  André Pönitz  <poenitz@gmx.net>
2220
2221         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2222
2223         * paragraph_pimpl.h:
2224         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2225
2226         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2227
2228         * undo_funcs.C: make some simple cases of undo work again
2229
2230 2003-06-03  John Levon  <levon@movementarian.org>
2231
2232         * ispell.C: HPUX doesn't have sys/select.h
2233         (from Albert Chin)
2234
2235 2003-06-03  John Levon  <levon@movementarian.org>
2236
2237         * CutAndPaste.C: update tabular and include inset
2238         buffer references
2239
2240         * buffer.h:
2241         * paragraph.h:
2242         * paragraph.C: remove owningBuffer(), don't pass Buffer
2243         to clone()
2244
2245         * factory.C: insetGraphicsParams changed
2246
2247 2003-06-02  John Levon  <levon@movementarian.org>
2248
2249         * LyXAction.C:
2250         * factory.C:
2251         * lfuns.h:
2252         * lyxfunc.C:
2253         * text3.C: remove insetparent
2254
2255 2003-06-02  John Levon  <levon@movementarian.org>
2256
2257         * buffer.h:
2258         * buffer.C: fix inset_iterator.end(), move out of line
2259         (bug 1149)
2260
2261 2003-06-01  John Levon  <levon@movementarian.org>
2262
2263         * text3.C: use a proper cut/paste when doing inset
2264         insert (from Jürgen Spitzmüller)
2265
2266 2003-06-01  John Levon  <levon@movementarian.org>
2267
2268         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2269
2270 2003-05-30  André Pönitz  <poenitz@gmx.net>
2271
2272         * rowpainter.C: unify second drawing phase
2273
2274 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2275
2276         * trans_mgr.C: remove one case of current_view
2277
2278         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2279
2280         * paragraph_funcs.h: remove paragraph.h include
2281
2282         * paragraph.h: delete NO_STD_LIST stuff
2283
2284         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2285
2286         * buffer.h: remove paragraph.h include
2287
2288         * ParagraphList.C: delete file
2289
2290         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2291
2292         * toc.C (getTocList): adjust
2293
2294         * paragraph_pimpl.C (validate): adjust
2295
2296         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2297
2298         * paragraph.C (Paragraph): adjust
2299         (getPositionOfInset): use const_iterator, adjust
2300         (bibitem): use const_iterator, adjust
2301         (setInsetOwner): adjust
2302
2303         * iterators.C (operator++): adjust
2304
2305         * InsetList.[Ch]: Replace selfmade iterator with standard
2306         vector::iterator also introduce const_iterator. Remove getPos,
2307         getInset and setInset from InsetTable. Adjust accordingly.
2308
2309         * BufferView.C (lockInset): adjust
2310         (ChangeInsets): adjust
2311
2312         * tabular.[Ch]: delete commented same_id functions
2313
2314 2003-05-28  John Levon  <levon@movementarian.org>
2315
2316         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2317
2318 2003-05-28  André Pönitz  <poenitz@gmx.net>
2319
2320         * metricsinfo.[Ch]: remove 'fullredraw' member
2321
2322 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2323
2324         * lyxtextclass.C (operator): remove caching.
2325
2326 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2327
2328         * text3.C: adjust
2329
2330         * text2.C (cursorBottom): adjust
2331         (setCounter): use ParagraphList::find, adjust
2332
2333         * text.C (workWidth): use ParagraphList::find, adjust
2334
2335         * lyxcursor.C (LyXCursor): adjust
2336
2337         * buffer.C (inset_iterator): adjust
2338
2339         * ParagraphList.h: make iterator(value_type) private, make
2340         ParagraphList a friend of iterator.
2341
2342         * ParagraphList.C (find): new function
2343
2344         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2345
2346 2003-05-27  André Pönitz  <poenitz@gmx.net>
2347
2348         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2349
2350 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2351
2352         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2353
2354 2003-05-26  John Levon  <levon@movementarian.org>
2355
2356         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2357
2358 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2359
2360         * remove same_id from function signatures, adjust.
2361
2362 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2363
2364         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2365
2366         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2367
2368         * paragraph.C (Paragraph): get rid of same_ids parameter
2369
2370         * ParagraphList.C (insert): adjust
2371         (push_back): adjust
2372
2373 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2374
2375         * paragraph_funcs.C (breakParagraph): adjust
2376         (breakParagraphConservative): adjust
2377
2378         * buffer.C (readParagraph): adjust
2379
2380         * ParagraphList.C (insert): take a reference instead of a pointer
2381         (insert): adjust
2382
2383         * paragraph.[Ch] (id): new function
2384
2385         * bufferlist.C (newFile): adjust
2386
2387         * ParagraphList.C (ParagraphList): adjust
2388         (assign): adjust
2389         (push_back): take a reference instead of a pointer.
2390
2391         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2392
2393         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2394         instead.
2395
2396         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2397         set else use old code.
2398
2399         * ParagraphList.C: remove all NO_NEXT code and only compile this
2400         code of NO_STD_LIST is set.
2401
2402 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2403
2404         * BufferView_pimpl.C:
2405         * TextCache.C:
2406         * TextCache.h:
2407         * bufferlist.C:
2408         * errorlist.h:
2409         * format.C:
2410         * format.h:
2411         * graph.C:
2412         * lyxfunc.C:
2413         * lyxrc.C:
2414         * graphics/GraphicsConverter.C:
2415         * graphics/PreviewLoader.C: header adjustment
2416
2417 2003-05-23  Angus Leeming  <leeming@lyx.org>
2418
2419         * LaTeXFeatures.[Ch] (useBabel): new method.
2420         * bufferparams.C (writeLaTeX): use it.
2421
2422 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2423
2424         * ParagraphList.h (set): remove unused function.
2425
2426 2003-05-23  André Pönitz  <poenitz@gmx.net>
2427
2428         * BufferView.C:
2429         * BufferView_pimpl.C:
2430         * buffer.C:
2431         * buffer.h:
2432         * lyxfunc.C:
2433         * undo_funcs.C: setUndo reworked
2434
2435         * iterators.[Ch]: add access to topmost ParagraphList
2436
2437         * lyxtext.[Ch] (workWidth): add a const
2438
2439 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2440
2441         * texrow.[Ch] (increasePos): remove function
2442         * exporter.C (export): removed unused var and outdated comment
2443
2444 2003-05-23  Angus Leeming  <leeming@lyx.org>
2445
2446         * latexrunparams.h: rename fragile as moving_arg.
2447         * paragraph.C (simpleTeXOnePar): ditto.
2448         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2449
2450 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2451
2452         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2453         (createUndo): ditto
2454         (textUndoOrRedo): comment out a currently unused var.
2455
2456         * paragraph.h (NO_NEXT): enable NO_NEXT
2457
2458         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2459
2460         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2461
2462         * exporter.C (Export): adjust for removeAutoInsets removal.
2463
2464         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2465
2466         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2467
2468         * BufferView.[Ch] (removeAutoInsets): delete function
2469
2470 2003-05-22  Angus Leeming  <leeming@lyx.org>
2471
2472         * latexrunparams.h: add a free_spacing variable.
2473
2474         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2475         to pass moving_arg, as the data is stored in runparams.fragile.
2476
2477         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2478         to Inset::latexOptional or to simpleTeXOnePar.
2479
2480         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2481         free_spacing arg to Inset::latexOptional.
2482
2483         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2484         free_spacing arg.
2485
2486 2003-05-22  Angus Leeming  <leeming@lyx.org>
2487
2488         * latexrunparams.h: add fragile and use_babel variables.
2489
2490         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2491         * buffer.C (makeLaTeXFile): store this returned value in
2492         runparams.use_babel, thus passing it to the inset::latex methods.
2493
2494         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2495         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2496
2497         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2498         longer has a fragile arg, as it is stored in runparams.fragile.
2499
2500         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2501         moving_arg parameter as the data is stored in runparams.fragile.
2502
2503         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2504         a fragile parameter as the data is stored in runparams.fragile.
2505
2506 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2507
2508         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2509
2510 2003-05-22  Angus Leeming  <leeming@lyx.org>
2511
2512         * latexrunparams.h: add a 'bool nice' which defaults to false.
2513
2514         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2515         now encapsulated within runparams.
2516
2517         * bufferlist.C (updateIncludedTeXfiles):
2518         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2519
2520 2003-05-22  Angus Leeming  <leeming@lyx.org>
2521
2522         * latexrunparams.h: new file containing struct LatexRunParams.
2523         * Makefile.am: add new file.
2524
2525         * LaTeX.[Ch] (c-tor, run):
2526         * buffer.[Ch] (makeLaTeXFile):
2527         * bufferlist.[Ch] (updateIncludedTeXfiles):
2528         * converter.C (convert, scanLog):
2529         * converter.[Ch] (runLaTeX):
2530         * exporter.C (Export):
2531         * paragraph.[Ch] (simpleTeXOnePar):
2532         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2533         * paragraph_funcs.[Ch] (latexParagraphs):
2534         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2535         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2536         pass around a LatexRunParams parameter.
2537
2538 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2539
2540         * paragraph.[Ch]: remove unused constructor
2541
2542         * ParagraphList.C (erase): new function, taking two iterators
2543
2544 2003-05-22  André Pönitz  <poenitz@gmx.net>
2545
2546         * undo_funcs.C: remove duplicated code
2547
2548         * iterator.[Ch]: operator=
2549
2550 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2551
2552         * tabular.C (SetMultiColumn): ws changes
2553
2554         * rowpainter.C (paintFirst): get rid of a ->previous
2555
2556         * lyx_cb.C (getPossibleLabel): parlist simplification
2557
2558         * BufferView.C (ChangeInsets): simplify slightly.
2559
2560 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2561
2562         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2563         * lfuns.h: new LFUN_SPACE
2564         * lyxfunc.C: protected space has a new lfun
2565         * paragraph_funcs.C: read new space insets
2566         * text3.C:
2567         * factory.C: handle new space insets
2568
2569 2003-05-22  André Pönitz  <poenitz@gmx.net>
2570
2571         * BufferView.C:
2572         * BufferView_pimpl.C:
2573         * buffer.[Ch]:
2574         * lyxfunc.C:
2575         * undo_funcs.C: return a ParIterator from getParFromID.
2576
2577         * iterators.[Ch]: add two const's
2578
2579 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2580
2581         * toc.C (getTocList): adjust
2582
2583         * iterators.[Ch]: rework for parlist
2584
2585         * buffer.C (par_iterator_begin): adjust
2586         (par_iterator_end): adjust
2587
2588         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2589
2590         * BufferView.C (removeAutoInsets): adjust
2591         (ChangeInsets): adjust
2592
2593 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2594
2595         * text.C (top_y): fix bug 1110
2596
2597 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2598
2599         * errorlist.[Ch]: added
2600         * buffer.C:
2601         * BufferView.[Ch]:
2602         * BufferView_pimpl.C:
2603         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2604         instead
2605
2606 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2607
2608         * Makefile.am: ensure that lyx is relinked upon changes to the
2609         various "convenience" libs.
2610
2611 2003-05-20  Angus Leeming  <leeming@lyx.org>
2612
2613         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2614         files are compiled in alphabetical order again.
2615
2616         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2617
2618 2003-05-19  Angus Leeming  <leeming@lyx.org>
2619
2620         * gettext.[Ch]: remove "char const * _(char const *)".
2621
2622 2003-05-19  André Pönitz  <poenitz@gmx.net>
2623
2624         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2625
2626         * Makefile.am:
2627         * BufferView.C:
2628         * DepTable.h:
2629         * LaTeXFeatures.C:
2630         * buffer.C:
2631         * lyxfont.C:
2632         * lyxlex.h:
2633         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2634
2635 2003-05-19  André Pönitz  <poenitz@gmx.net>
2636
2637         * buffer.C:
2638         * lyxlayout.[Ch]:
2639         * lyxtextclass.[Ch]:
2640         * paragraph.C:
2641         * paragraph_funcs.[Ch]:
2642         * text2.C:
2643         * text3.C: more insetenv work
2644
2645 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2646
2647         * ParagraphParameters.C (params2string): small bug fixed
2648
2649 2003-05-16  André Pönitz  <poenitz@gmx.net>
2650
2651         * debug.C:
2652         * bufferview_funcs.C: patch from Kornel Benko to prevent
2653           crash when _(...) is called twice in a statement
2654
2655 2003-05-16  André Pönitz  <poenitz@gmx.net>
2656
2657         * BufferView.C:
2658         * lyxfunc.C:
2659         * text.C:
2660         * text2.C:
2661         * text3.C:
2662         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2663
2664 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2665
2666         * lyx_main.C (init): remove spurious static_cast
2667
2668 2003-05-14  André Pönitz  <poenitz@gmx.net>
2669
2670         * BufferView.C: fix format string
2671
2672 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2673
2674         * BufferView.[Ch] (insertErrors): removed
2675         * BufferView.[Ch] (showErrorList): added
2676         * buffer.C (runChkTeX):
2677         * converter.C (scanLog): call showErrorList instead of inserterrors
2678
2679 2003-05-13  André Pönitz  <poenitz@gmx.net>
2680
2681         * BufferView_pimpl.C:
2682         * buffer.C:
2683         * bufferview_func.C:
2684         * MenuBackend.C:
2685         * lyxfunc.C:
2686         * lyxrc.C:
2687         * tex-accent.C:
2688         * text3.C:
2689         * toc.C:
2690         * tabular_funcs.h: tostr() from its own header
2691
2692         * ParagraphParameters.C:
2693         * ToolbarBackend.C:
2694         * bufferparams.C:
2695         * format.C:
2696         * lyxlex_pimpl.C:
2697         * text3.C: STRCONV()
2698
2699 2003-05-12  André Pönitz  <poenitz@gmx.net>
2700
2701         * BufferView.C:
2702         * BufferView_pimpl.C:
2703         * CutAndPaste.C:
2704         * LaTeX.C:
2705         * LaTeXFeatures.C:
2706         * ParagraphParameters.C:
2707         * buffer.C:
2708         * bufferlist.C:
2709         * bufferparams.C:
2710         * bufferview_funcs.C:
2711         * converter.C:
2712         * counters.C:
2713         * debug.C:
2714         * exporter.C:
2715         * format.C:
2716         * importer.C:
2717         * lyx_cb.C:
2718         * lyx_main.C:
2719         * lyxfont.C:
2720         * lyxfunc.C:
2721         * lyxvc.C:
2722         * paragraph.C:
2723         * paragraph_funcs.C:
2724         * tabular.C:
2725         * tabular_funcs.C:
2726         * text2.C:
2727         * text3.C:  boost::format -> bformat  all over the place
2728
2729
2730 2003-05-09  André Pönitz  <poenitz@gmx.net>
2731
2732         * LColor.[Ch]: Pimpl the #include <map> away
2733
2734 2003-05-09  John Levon  <levon@movementarian.org>
2735
2736         * bufferlist.C: never remove emergency saves
2737
2738 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2739
2740         * Makefile.am: better lib building
2741
2742 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2743
2744         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2745         instead.
2746         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2747         (simpleTeXSpecialChars): adjust
2748         (simpleTeXSpecialChars): adjust
2749         * paragraph.C (simpleTeXOnePar): adjust
2750         * buffer.C (makeLaTeXFile): adjust
2751
2752         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2753
2754         * text2.C (changeDepth): parlist cleanup
2755         (getColumnNearX): ditto
2756
2757         * rowpainter.C (getLabelFont): parlist cleanup
2758
2759         * bufferlist.C (newFile): parlist cleanup
2760
2761         * CutAndPaste.C (eraseSelection): parlist cleanup
2762
2763         * BufferView_pimpl.C (trackChanges): parlist cleanup
2764         (dispatch): ditto
2765
2766         * BufferView.C (lockInset): parlist cleanup.
2767         (ChangeInsets): ditto
2768
2769 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2770
2771         * CutAndPaste.h: Update file header.
2772
2773         * CutAndPaste.C: Update file header.
2774         Store the parts cut out of the Document in a limited_stack.
2775         (copySelection): adjust
2776         (pasteSelection): new function, takes the index in the limited stack.
2777         (nrOfParagraphs): adjust
2778         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2779         simplify error inset insertion.
2780         (checkPastePossible): adjust
2781
2782 2003-05-06  John Levon  <levon@movementarian.org>
2783
2784         * text2.C: don't cast wrap inset to float
2785
2786 2003-05-05  André Pönitz  <poenitz@gmx.net>
2787
2788         * iterator.C:
2789         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2790
2791         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2792           few naked Paragraph *.
2793
2794 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2795
2796         * bufferparams.C: Output warning if a document with missing
2797         TeX document class is loaded
2798         * exporter.C: Disable TeX exports if the document class is missing
2799         * lyxtextclass.C:
2800         * lyxtextclass.h:
2801         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2802         isTeXClassAvailable()
2803
2804 2003-05-03  John Levon  <levon@movementarian.org>
2805
2806         * BufferView.h:
2807         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2808         explicit cursor show/hide
2809
2810         * BufferView_pimpl.h:
2811         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2812         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2813
2814         * lyxfunc.C: hide cursor before dispatching.
2815
2816         * lyx_cb.C:
2817         * lyxfind.C:
2818         * text.C:
2819         * text3.C: remove explicit cursor hides
2820
2821 2003-05-02  André Pönitz  <poenitz@gmx.net>
2822
2823         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2824
2825         * undo_funcs.C:
2826         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2827           linked lists
2828
2829         * text2.C: tiny whitespace
2830
2831 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2832
2833         * undo_funcs.C: almost only ws changes.
2834
2835         * ParagraphList.C (splice): just return if pl is empty.
2836
2837 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2838
2839         * ParagraphList.C (splice): new function.
2840
2841         * CutAndPaste.C (pasteSelection): use it
2842
2843 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2844
2845         * CutAndPaste.C (pasteSelection): remove the last next and
2846         previous from this file.
2847
2848 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2849
2850         * CutAndPaste.C (pasteSelection): more clean up, user proper
2851         ParagraphList functions for pasteing.
2852
2853         * ParagraphList.C (insert): new function, three arg insert
2854
2855 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2856
2857         * ParagraphList.C (insert): new function, three arg insert
2858
2859         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2860         not on paragraphs.
2861
2862 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2863
2864         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2865
2866 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2867
2868         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2869
2870 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2871
2872         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2873         (copySelection): clean up a bit.
2874         (pasteSelection): use make_pair
2875
2876         * ParagraphList.C (ParagraphList): implement copy constructor
2877         (operator=): implement, base on copy constructor.
2878         (assign): new func
2879
2880         * paragraph.C (erase): return a bool
2881
2882         * paragraph_pimpl.C (erasePos): remove function, move contents...
2883         (erase): ... here. Return a bool.
2884         (erase): call erase instead of erasePos.
2885
2886 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2887
2888         * ParagraphList.h: define PitPosPair
2889         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2890         ParagraphList, fix a bug on pasting multiple pars
2891         * text2.C: change interface to C&P
2892
2893 2003-04-30  André Pönitz  <poenitz@gmx.net>
2894
2895         * undo_func.C: revert part of yesterday's patch 2
2896
2897 2003-04-30  John Levon  <levon@movementarian.org>
2898
2899         * LColor.C: s/tabular/table/
2900
2901 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2902
2903         * text3.C (dispatch): do not convert iterator -> pointer
2904         * undo_funcs.C (setCursorParUndo): ditto
2905         * text_funcs.C (transposeChars): ditto
2906
2907         * text2.C (setLayout): ws changes only
2908
2909         * text.C (breakParagraph): do not convert iterator -> pointer
2910         (insertChar): ditto
2911         (acceptChange): ditto
2912         (rejectChange): ditto
2913         (changeCase): ditto
2914         (Delete): ditto
2915         (backspace): ditto
2916
2917         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2918         pointer
2919
2920 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2921
2922         * text3.C (gotoInset): YABG (yet another bad getChar)
2923
2924 2003-04-29  André Pönitz  <poenitz@gmx.net>
2925
2926         * paragraph.h: make operator= private unimplemented as long as
2927           it is unusable
2928
2929         * ParagraphList.C: whitespace
2930
2931         * paragraph.[Ch]:
2932         * paragraph_pimpl.[Ch]:
2933         * paragraph_funcs.C:
2934         * CutAndPaste.C:
2935         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2936
2937         * text2.C:
2938           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2939
2940 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2941
2942         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2943         * paragraph.[Ch] (erase):
2944         * paragraph_pimpl.[Ch] (erase): change return type and value
2945         * text2.C (cutSelection): some rework
2946
2947 2003-04-28  John Levon  <levon@movementarian.org>
2948
2949         * bufferlist.C: changes for unsaved changes dialog
2950
2951 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2952
2953         * bufferlist.C (newFile): set language (messages_) for new
2954         documents also.
2955
2956         * buffer.C (readFile): ws changes only.
2957
2958 2003-04-28  André Pönitz  <poenitz@gmx.net>
2959
2960         * undo_funcs.C:
2961         * lyxfunc.C:
2962         * buffer.[Ch]:
2963         * BufferView_pimpl.C:
2964         * BufferView.C: getParFromID related ParagraphList::iterator changes
2965
2966 2003-04-28  André Pönitz  <poenitz@gmx.net>
2967
2968         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2969           Changes
2970
2971 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2972
2973         * messages.C: remove one more localedir class variable.
2974
2975 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2976
2977         * messages.C (getLocaleDir): singleton generation function
2978         (Pimpl): use it.
2979         (Messages): add a default constructor.
2980
2981         * main.C (main): do not setup localedir here, do not call
2982         gettext_init.
2983
2984         * gettext.C (_): use it.
2985         (gettext_init): delete funciton
2986
2987 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2988
2989         * gettext.C (getLyXMessages): new singleton generating function.
2990
2991         * buffer.C (updateDocLang): adjust
2992
2993         * Makefile.am (messages.o): add target
2994         (main.o): remove target
2995
2996 2003-04-27  John Levon  <levon@movementarian.org>
2997
2998         * bufferlist.C:
2999         * lyx_cb.C:
3000         * lyxfunc.C:
3001         * lyxvc.C: specify cancel button in Alert::prompt
3002
3003 2003-04-26  John Levon  <levon@movementarian.org>
3004
3005         * text3.C:
3006         * lyxfunc.C:
3007         * lfuns.h:
3008         * LyXAction.C: add LFUN_INSET_SETTINGS
3009
3010         * lyxfunc.C: don't enable tabular-feature when there's
3011         just any locking inset
3012
3013 2003-04-26  John Levon  <levon@movementarian.org>
3014
3015         * bufferlist.C: re-add Cancel to buffer close question
3016
3017         * lyxfunc.C: fix import UI a bit
3018
3019 2003-04-25  John Levon  <levon@movementarian.org>
3020
3021         * gettext.C: remove the broken asserts for now
3022
3023 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * messages.C: make case where setlocale cannot comply work better.
3026
3027         * buffer.C (updateDocLang): new function
3028         (changeLanguage): use it
3029         (readFile): use it
3030
3031         * text2.C (setCounter): use B_ a bit.
3032
3033         * lyxlayout.C (Read): be sure to trim the label strings.
3034
3035         * messages.C (Messages): fix typo in comment
3036
3037         * buffer.C (readFile): set message_ after file is loaded.
3038         (makeDocBookFile): remove double return
3039         (changeLanguage): reset message_ upon language change.
3040         (B_): new func, use this to get translated buffer strings.
3041
3042         * main.C: add myself and Jean Marc as authors.
3043
3044 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3045
3046         * messages.[hC]: pimplify Messages, and three different pimpls to be
3047         used in different circumstances.
3048
3049         * gettext.[Ch]: change for use with new message code.
3050
3051 2003-04-24 André Pönitz <poenitz@gmx.net>
3052
3053         * factory.C: support for eqref
3054
3055 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3056
3057         * messages.[Ch]: add missing char
3058
3059         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3060
3061         * messages.[Ch]: New files
3062
3063 2003-04-18  John Levon  <levon@movementarian.org>
3064
3065         * BufferView.h:
3066         * BufferView.C:
3067         * BufferView_pimpl.C:
3068         * lfuns.h:
3069         * LyXAction.C:
3070         * lyxtext.h:
3071         * text2.C: remove layout-copy/paste (bug 778)
3072
3073 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3074
3075         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3076
3077 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3078
3079         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3080         if they succeed. Act accordingly.
3081
3082 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3083
3084         * text2.C (setCharFont): adjust
3085         (setCounter): adjust
3086         (insertStringAsLines): adjust
3087
3088         * text.C (leftMargin): adjust
3089         (setHeightOfRow): adjust
3090
3091         * rowpainter.C (paintFirst): adjust
3092         (paintLast): adjust
3093
3094         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3095         (outerHook): ditto
3096         (isFirstInSequence): ditto
3097         (getEndLabel): ditto
3098         (outerFont): adjust
3099
3100         * paragraph.C (getParLanguage): comment out some hard stuff.
3101
3102         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3103         (sgmlError): ditto
3104         (simpleDocBookOnePar): ditto
3105         (makeDocBookFile): use ParagraphList::iterator
3106
3107         * CutAndPaste.C (pasteSelection): adjust
3108
3109 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3110
3111         * text2.C (getFont): adjust
3112         (getLayoutFont): adjust
3113         (getLabelFont): adjust
3114
3115         * paragraph_funcs.C (TeXOnePar): adjust
3116
3117         * buffer.C (simpleLinuxDocOnePar): adjust
3118         (simpleDocBookOnePar): adjust
3119
3120         * CutAndPaste.C (pasteSelection): adjust
3121
3122         * BufferView.C (getEncoding): adjust
3123
3124         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3125
3126 2003-04-16  John Levon  <levon@movementarian.org>
3127
3128         * lyxfind.C: use parlist stuff for search/changes
3129
3130 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3131
3132         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3133
3134         * text2.C (deleteEmptyParagraphMechanism): adjust
3135
3136         * text2.[Ch] (ownerParagraph): delete func (both of them
3137
3138 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3139
3140         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3141
3142 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3143
3144         * ParagraphList.C: prepare for NO_NEXT
3145
3146 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3147
3148         * text2.C (getFont): adjust
3149         (getLayoutFont): adjust
3150         (getLabelFont): adjust
3151
3152         * paragraph.C (getFont): adjust
3153         (getLabelFont): adjust
3154         (getLayoutFont): adjust
3155
3156         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3157
3158 2003-04-15  John Levon  <levon@movementarian.org>
3159
3160         From Angus Leeming
3161
3162         * lyx_main.C: handle Include in .ui files
3163
3164 2003-04-15  John Levon  <levon@movementarian.org>
3165
3166         * MenuBackend.C: make the doc files length shorter
3167
3168         * ToolbarBackend.h:
3169         * ToolbarBackend.C: handle toolbar placement flags,
3170         Minibuffer
3171
3172 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3173
3174         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3175         adjust
3176
3177         * paragraph_funcs.C (TeXOnePar): adjust
3178
3179         * paragraph.C (getLabelFont): add outerfont arg, adjust
3180         (getLayoutFont): ditto
3181         (simpleTeXOnePar): adjust
3182
3183         * paragraph_pimpl.C (realizeFont): delete func
3184
3185 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3186
3187         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3188         row argument, constify cur argument.
3189
3190 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3191
3192         * text2.C (getFont): adjust
3193         (getLayoutFont): adjust
3194         (getLabelFont): adjust
3195
3196         * paragraph_funcs.C (TeXOnePar): adjust
3197         (outerFont): new func...
3198         (realizeFont): ...moved out from here, changed this to facilitate
3199         transition
3200
3201         * paragraph.C (getFont): take outerfont as arg, adjust
3202         (simpleTeXOnePar): add outerfont arg, adjust
3203
3204         * buffer.C (simpleLinuxDocOnePar): adjust
3205         (simpleDocBookOnePar): adjust
3206
3207         * CutAndPaste.C (pasteSelection): adjust
3208
3209         * BufferView.C (getEncoding): adjust
3210
3211 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3212
3213         * text2.C (setCharFont): adjust
3214         (setCounter): adjust
3215
3216         * text.C (leftMargin): adjust
3217         (setHeightOfRow): adjust
3218
3219         * rowpainter.C (paintFirst): adjust
3220         (paintLast): adjust
3221
3222         * paragraph_pimpl.C (realizeFont): adjust
3223
3224         * paragraph.C (isFirstInSequence): move from here...
3225         * paragraph_funcs.C (isFirstInSequence): ...to here
3226
3227         * paragraph.C (outerHook): move from here...
3228         * paragraph_funcs.C (outerHook): ...to here
3229
3230         * paragraph.C (depthHook): move from here...
3231         * paragraph_funcs.C (depthHook): ...to here
3232
3233         * paragraph.C (getEndLabel): move from here...
3234         * paragraph_funcs.C (getEndLabel): ...to here
3235
3236         * text2.C (realizeFont): move from here...
3237         * paragraph_funcs.C (realizeFont): ...to here
3238
3239 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3240
3241         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3242
3243 2003-04-14  Angus Leeming  <leeming@lyx.org>
3244
3245         * LColor.[Ch]: scrap LColor mathcursor.
3246
3247 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3248
3249         * lyxlex.[Ch] (text): delete function
3250         * trans.C (Load): adjust
3251         * paragraph_funcs.C (readParToken): adjust
3252
3253 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3254
3255         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3256         vector<char> instead of a char[].
3257
3258         * lyxlex_pimpl.C (getString): adjust
3259         (next): adjust
3260         (lex): use getString
3261         (eatLine): adjust
3262         (nextToken): adjust
3263
3264         * lyxlex.C (text): use pimpl_->getString()
3265         (getBool): ditto
3266         (findToken): ditto
3267
3268 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3269
3270         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3271         (makeFontEntriesLayoutSpecific): temp var for par.size()
3272         (setLayout): temp var for ownerParagraphs().end()
3273         (fullRebreak): temp var for rows().end()
3274         (selectionAsString): temp var for boost::next(startpit), realize
3275         that the while really is a regular for loop.
3276         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3277         setCursor in one place.
3278         (setParagraph): temp vr for ownerParagraphs().end()
3279         (updateCounters): make the while loop a for loop
3280         (cutSelection): temp var for ownerParagraphs().end()
3281         (updateInset): make the do {} while() a regular for loop
3282         (getCursorX): use temp vars
3283         (setCurrentFont): use temp vars
3284         (getColumnNearX): use temp vars
3285
3286 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3287
3288         * text.C (transformChar): use temp var for getChar
3289         (computeBidiTables): use temp var for row->par()
3290         (fill): move temp vars for row->par() and pit->layout() earlier in
3291         the function.
3292         (labelFill): use temp var for row->par()
3293         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3294         asc and desc, realize that pit never changes and that firstpit is
3295         just a duplicate and not needed. Exchange rit->par() with pit in a
3296         lot of places.
3297         (breakAgain): use a temp var for boost::next(rit)
3298         (breakAgainOneRow): ditto
3299         (breakParagraph): use a temp var for rows().begin()
3300         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3301         (cursorRightOneWord): use temp var for cursor.par() and
3302         cursor.pos(), remove usage of tmpcursor.
3303         (cursorLeftOneWord): use temp var for cursor.par() and
3304         cursor.pos() only set cur at end of function.
3305
3306 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3307
3308         * text.C, text2.C: exchange all usage of Paragraph::next with
3309         boost::next(ParagraphList::iterator)
3310
3311         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3312
3313         * text2.C (cursorTop): simplify implementation
3314         (cursorBottom): ditto
3315         (setParagraph): use ParagraphList::iterator
3316         (setCurrentFont): adjust
3317         (getColumnNearX): adjust
3318         (cursorRight): adjust
3319         (cursorLeft): remove usage of Paragraph::previous
3320         (cursorUpParagraph): ditto
3321         (deleteEmptyParagraphMechanism): slight cleanup
3322
3323         * text.C (isBoundary): take a Paragraph const & instead of a
3324         pointer as arg.
3325         (addressBreakPoint): ditto
3326         (leftMargin): remove usage of Paragraph::previous.
3327         (setHeightOfRow): ditto
3328         (cursorLeftOneWord): ditto
3329         (selectNextWordToSpellcheck): ditto
3330         (Delete): ditto
3331         (backspace): ditto
3332         (breakParagraph): remove one usage of Paragraph::next
3333         (redoParagraph): ditto
3334         (acceptChange): ditto
3335         (insertChar): adjust
3336         (rowBreakPoint): adjust
3337
3338         * bufferview_funcs.C (toggleAndShow): adjust
3339
3340 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3341
3342         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3343         methods to access it.
3344         * lyxtext.h:
3345         * text.C: Added updateRowPositions to compute all row positions.
3346         Make top_y and getRowNearY() to use the cached y position
3347
3348 2003-04-11  John Levon  <levon@movementarian.org>
3349
3350         * text.C (rowBreakPoint): reintroduce the labelEnd
3351         checks, code copied from the row fill stuff. Deep voodoo.
3352
3353         * text.C (fill): add a comment and debugging for the
3354         next poor soul.
3355
3356 2003-04-11  John Levon  <levon@movementarian.org>
3357
3358         * text.C: make sure fullrow insets get wrapped to the next line,
3359         even when they're in a manual label
3360
3361 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3362
3363         * text2.C (insertParagraph): make it take ParagraphList::iterator
3364         as arg.
3365         (setLayout): make it return ParagraphList::iterator
3366         (redoParagraphs): ditto
3367         (setCounter): ditto
3368         (checkParagraph): ditto
3369
3370         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3371
3372         * text2.C: adjust several funcs.
3373         (realizeFont): take a ParagraphList::iterator as arg.
3374         (getLayoutFont): ditto
3375         (getLabelFont): ditto
3376         (setCharFont): ditto
3377
3378         * text.C: adjust several funcs.
3379
3380 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3381
3382         * text.C (selectNextWordToSpellcheck): don't accidentally
3383         skip insets
3384
3385 2003-04-10  John Levon  <levon@movementarian.org>
3386
3387         * ToolbarBackend.C (getIcon): special handling for
3388         LFUN_MATH_DELIM
3389
3390 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3391
3392         * text2.C (cursorRight): a getChar assert fixed
3393
3394 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3395
3396         * text2.C (getFont): change to take a ParagraphList::iterator
3397         instead of Paragraph*
3398         Adjust several functions.
3399
3400         * text.C (transformChar): change to take a ParagraphList::iterator
3401         instead of Paragraph*
3402         (singleWidth): ditto
3403         Adjust several functions.
3404
3405         * rowpainter.C: adjust several functions
3406         * rowpainter.h:store a ParagraphList::iterator and not a
3407         Paragraph&.
3408
3409
3410 2003-04-09  John Levon  <levon@movementarian.org>
3411
3412         * lyxfunc.C:
3413         * lfuns.h:
3414         * LyXAction.h:
3415         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3416         and the "help" bits as well
3417
3418 2003-04-09  John Levon  <levon@movementarian.org>
3419
3420         * ToolbarBackend.h:
3421         * ToolbarBackend.C: allow multiple toolbars
3422
3423 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3424
3425         * undo_funcs.C (setCursorParUndo): adjust
3426
3427         * text_funcs.C (transposeChars): adjust
3428
3429         * text3.C (gotoNextInset): adjust
3430         (dispatch): adjust
3431
3432         * text2.C (setLayout): adjust
3433         (changeDepth): adjust
3434         (setFont): adjust
3435         (redoParagraphs): adjust
3436         (selectionAsString): adjust
3437         (setParagraph): adjust
3438         (insertInset): adjust
3439         (cutSelection): adjust
3440         (copySelection): adjust
3441         (pasteSelection): adjust
3442         (insertStringAsLines): adjust
3443         (updateInset): adjust
3444         (setCursor): change to take a ParagraphList::iterator parameter
3445         (setCursorIntern): change to take a ParagraphList::iterator parameter
3446         (setCurrentFont): adjust
3447         (cursorLeft): adjust
3448         (cursorRight): adjust
3449         (deleteEmptyParagraphMechanism): adjust
3450
3451         * text.C (breakParagraph): adjust
3452         (insertChar): adjust
3453         (acceptChange): adjust
3454         (rejectChange): adjust
3455         (selectNextWordToSpellcheck): adjust
3456         (changeCase): adjust
3457         (Delete): adjust
3458         (backspace): adjust
3459
3460         * lyxfind.C (SearchForward): adjust
3461         (SearchBackward): adjust
3462         (nextChange): adjust
3463
3464         * lyxcursor.C (par): adjust
3465
3466         * lyxcursor.h: store a ParagraphList::iterator instead of a
3467         Paragraph*
3468
3469         * lyx_cb.C (getPossibleLabel): adjust
3470
3471         * bufferview_funcs.C (toggleAndShow): adjust
3472
3473         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3474         (dispatch): adjust
3475
3476         * BufferView.C (removeAutoInsets): adjust
3477         (lockedInsetStoreUndo): adjust
3478
3479 2003-04-09  John Levon  <levon@movementarian.org>
3480
3481         * ToolbarBackend.C: try icon without argument
3482         if with argument fails
3483
3484 2003-04-08  John Levon  <levon@movementarian.org>
3485
3486         * ToolbarBackend.h:
3487         * ToolbarBackend.C: add getIcon(), handle tooltip,
3488         and change from "Icon" to "Item".
3489
3490 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3491
3492         * BufferView.C (lockInset): another bad getchar crunched
3493
3494 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3495
3496         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3497         again)
3498
3499 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3500
3501         * lyxfind.C (searchForward, searchBackwards): bug 782
3502
3503 2003-04-07  John Levon  <levon@movementarian.org>
3504
3505         * paragraph.C: remove dead comment
3506
3507         * text.C: remove troublesome depth-fiddling code
3508         in leftMargin() and rightMargin() (bug 1017)
3509
3510         * text.C: fix breaking of rows in nested lists
3511         (bug 1004)
3512
3513         * text2.C (updateCounters): fix up depth values
3514         (bug 1013)
3515
3516 2003-04-07  John Levon  <levon@movementarian.org>
3517
3518         * BufferView_pimpl.C: clear message when doc finishes resizing,
3519         and after a mouse event
3520
3521         * lyxfunc.C: clear message after exiting inset
3522
3523 2003-04-07  John Levon  <levon@movementarian.org>
3524
3525         * bufferview_funcs.C: show math status not outside
3526         status in the statusbar
3527
3528 2003-04-07  John Levon  <levon@movementarian.org>
3529
3530         * lyxfunc.C: note status changed after a depth change
3531
3532 2003-04-04  Angus Leeming  <leeming@lyx.org>
3533
3534         * LaTeX.h: move AuxInfo operator==, != out of line.
3535         Remove LaTeX virtual destructor; nothing derives from it.
3536         Move operator()() out of public area and rename it startscript().
3537         Change protected for private.
3538
3539 2003-04-04  Angus Leeming  <leeming@lyx.org>
3540
3541         * lyxfunc.C:
3542         * text2.C: remove unneeded #includes.
3543
3544 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3545
3546         * text2.C (dEPM): fix the heigth of the next row
3547
3548 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3549
3550         * text.C: squashed an invalid getChar requester + some ws changes
3551
3552 2003-04-03  John Levon  <levon@movementarian.org>
3553
3554         * bufferview_funcs.h:
3555         * bufferview_funcs.C:
3556         * lyxfunc.C:
3557         * lyxtext.h:
3558         * text2.C: make getStatus work for the env depth lfuns
3559
3560 2003-04-03  John Levon  <levon@movementarian.org>
3561
3562         * bufferview_funcs.h:
3563         * bufferview_funcs.C:
3564         * lyxfunc.C:
3565         * lyxtext.h:
3566         * text2.C: parlistize decDepth(), by merging it with incDepth()
3567
3568 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3569
3570         * lyxrow.h: store a ParagraphList::iterator instead of a
3571         Paragraph* and adjust other class functions to suit.
3572
3573         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3574         above.
3575
3576 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3577
3578         * text2.C (setCursor): do not anchor to cursor row for the time being
3579
3580 2003-04-02  John Levon  <levon@movementarian.org>
3581
3582         * LyXAction.C:
3583         * lfuns.h:
3584         * lyx_main.C:
3585         * lyxtext.h:
3586         * text.C:
3587         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3588
3589 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3590
3591         * paragraph.h: make ParagraphList and ParagraphList::iterator
3592         friends of Paragraph.
3593
3594         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3595
3596         * ParagraphList.C: Use the private next_ and previous_ from
3597         Paragraph.
3598
3599 2003-04-01  John Levon  <levon@movementarian.org>
3600
3601         * ToolbarBackend.h:
3602         * ToolbarBackend.C:
3603         * Makefile.am: rename, remove defaults gunk
3604
3605         * MenuBackend.h:
3606         * MenuBackend.C: remove defaults gunk
3607
3608         * Languages.h:
3609         * Languages.C: remove defaults gunk
3610
3611         * lyx_main.h:
3612         * lyx_main.C: error out if files couldn't be found.
3613
3614 2003-04-02  John Levon  <levon@movementarian.org>
3615
3616         * text2.C: make incDepth() use parlist
3617
3618 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3619
3620         * undo_funcs.C (firstUndoParagraph): adjust
3621
3622         * text3.C (gotoInset): adjust
3623         (dispatch): adjust, and rewrite loop.
3624
3625         * text2.C (init): adjust, and rewrite loop.
3626         (redoParagraphs): adjust
3627         (updateInset): adjust, and rewrite loop.
3628         (deleteEmptyParagraphMechanism): adjust
3629
3630         * tabular.C (LyXTabular): adjust
3631         (SetMultiColumn): adjust
3632         (TeXRow): adjust
3633
3634         * lyxtext.[Ch] (ownerParagraph): delete function
3635         (ownerParagraphs): new function returns a ParagraphList.
3636
3637         * BufferView.C (removeAutoInsets): adjust
3638         (insertErrors): adjust
3639         (setCursorFromRow): adjust
3640
3641 2003-04-01  Angus Leeming  <leeming@lyx.org>
3642
3643         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3644         in the frontends.
3645
3646 2003-04-02  John Levon  <levon@movementarian.org>
3647
3648         * lyxtext.h:
3649         * text.C:
3650         * Makefile.am:
3651         * text_funcs.h:
3652         * text_funcs.C: make transposeChars a free function
3653
3654         * lyxrow_funcs.C: remove wrong comment
3655
3656 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3657
3658         * lyxtext.h: adjust
3659         * rowpainter.C: adjust
3660         * text.C: adjust
3661         * text2.C: adjust
3662         * text3.C: adjust
3663
3664         * lyxrow_funcs. [Ch]: new files
3665
3666         * lyxrow.[Ch]: remove next and previous pointers
3667         (next,previous): remove accessor functions
3668         (isParEnd): move to lyxrow_funcs
3669         (lastPos): move to lyxrow_funcs
3670         (nextRowIsAllInset): move to lyxrow_funcs
3671         (lastPrintablePos): move to lyxrow_funcs
3672         (numberOfSeparators): move to lyxrow_funcs
3673         (numberOfHfills): move to lyxrow_funcs
3674         (numberOfLabelHfills): move to lyxrow_funcs
3675         (hfillExpansion): move to lyxrow_funcs
3676
3677         * lyxfunc.C: adjust
3678
3679         * bufferview_funcs.C (toggleAndShow): adjust
3680
3681         * RowList.h: Remove class RowList from file leave just a
3682         std::list<Row>.
3683
3684         * RowList.C: delete file
3685
3686         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3687         and lyxrow_funcs.h
3688
3689 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3690
3691         * text3.C (cursorPrevious): adjust
3692         (cursorNext): adjust
3693         (dispatch): adjust
3694
3695         * text2.C (redoHeightOfParagraph): adjust
3696         (redoDrawingOfParagraph): adjust
3697         (setCursor): adjust
3698
3699         * text.C (breakParagraph): adjust
3700         (insertChar): adjust
3701         (backspace): adjust
3702
3703         * rowpainter.C (RowPainter): adjust
3704         (leftMargin): simplify and adjust
3705         (most rowpainter functions): adjust.
3706
3707         * rowpainter.h: store the row as RowList::iterator not as Row*
3708
3709         * lyxcursor.C (row): taka RowList::iterator as arg
3710         (irow): ditto
3711
3712         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3713         of Row*.
3714
3715 2003-04-01  Angus Leeming  <leeming@lyx.org>
3716
3717         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3718         stuff like bool Bool.
3719
3720 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3721
3722         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3723         rewrite a loop
3724
3725 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3726
3727         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3728         RowList::iterator.
3729
3730         * lyxtext.h (rows): drop one version and leve a const variant that
3731         returns a RowList::iterator.
3732
3733 2003-03-31  Angus Leeming  <leeming@lyx.org>
3734
3735         * text.C (fill): ensure that the signature is the same as that in the
3736         header file.
3737
3738 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3739
3740         * text2.C (redoParagraphs): adjust
3741         (updateCounters): adjust
3742         (checkParagraph): adjust
3743         (getColumnNearX): adjust and reformat a bit.
3744
3745         * text.C (top_y): adjust
3746         (workWidth): adjust
3747         (leftMargin): adjust
3748         (prepareToPrint): adjust
3749         (getRow): adjust
3750         (getRowNearY): adjust
3751
3752         * lyxtext.h: make rowlist_ mutable.
3753
3754         * RowList.h: add const_iterator
3755         * RowList.C: adjust for RowList::const_iterator.
3756
3757         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3758         adjust.
3759
3760 2003-03-31  John Levon  <levon@movementarian.org>
3761
3762         * lyxrc.h:
3763         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3764
3765         * lyx_main.C: set default fonts from using lyx_gui funcs
3766
3767         * exporter.C: pdf_mode moved from lyxrc
3768
3769         * lyx_cb.C:
3770         * lyxfunc.C: changes from above
3771
3772 2003-03-31  John Levon  <levon@movementarian.org>
3773
3774         * lyx_main.C: fix to the last fix
3775
3776 2003-03-31  John Levon  <levon@movementarian.org>
3777
3778         * bufferlist.C: "Load original" -> "Load Original"
3779
3780         * converter.C:
3781         * exporter.C:
3782         * importer.C:
3783         * lyx_main.C:
3784         * format.C: more Alert cleanups
3785
3786 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3787
3788         * text2.C (removeParagraph): make it take a RowList::iterator as
3789         arg, adjust.
3790         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3791         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3792
3793         * text.C (anchor_row): make it take a RowList::iterator as arg,
3794         adjust.
3795         (computeBidiTables): make it take a const reference to Row instead
3796         of Row pointer, adjust.
3797         (leftMargin): make it take a RowList::iterator as arg, adjust.
3798         (rowBreakPoint): adjust
3799         (breakAgainOneRow): make it take a RowList::iterator as arg,
3800         adjust.
3801         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3802
3803         * bufferview_funcs.C (toggleAndShow): adjust
3804
3805 2003-03-30  John Levon  <levon@movementarian.org>
3806
3807         * Makefile.am:
3808         * BoostFormat.h:
3809         * boost-inst.C: moved to support
3810
3811         * several files: changes as a result
3812
3813 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3814
3815         * text2.C (LyXText): adjust.
3816         (init): adjust
3817         (removeRow): make it take a RowList::iterator as arg, adjust.
3818         (fullRebreak): adjust
3819         (deleteEmptyParagraphMechanism): adjust
3820         (clearPaint): adjust
3821         (postPaint): adjust
3822
3823         * text.C (top_y): adjust
3824         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3825         (breakAgain): make it take a RowList::iterator as arg, adjust.
3826         (breakParagraph): adjust
3827         (insertChar): adjust
3828         (backspace): adjust
3829
3830         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3831         need_break_row, and refresh_row.
3832
3833         * text3.C (dispatch): adjust
3834
3835         * text2.C (checkParagraph): adjust
3836         (setCursor): adjust
3837         (setCursorFromCoordinates): adjust
3838
3839         * text.C (top_y): adjust
3840         (workWidth): adjust
3841         (getRow): make it return a RowList::iterator, adjust
3842         (getRowNearY): make it return a RowList::iterator, adjust
3843
3844         * text2.C (init): adjust
3845         (insertRow): remove function
3846         (insertParagraph): adjust
3847         (redoParagraphs): adjust
3848         (fullRebreak): adjust
3849         (updateCounters): adjust
3850
3851         * text.C (top_y): rewrite to use RowList iterators.
3852         (top_y): adjust
3853         (setHeightOfRow): rewrite to sue RowList iterators.
3854         (appendParagraph): adjust
3855         (breakAgain): adjust
3856         (breakAgainOneRow): adjust
3857         (breakParagraph): adjust
3858         (getRow): adjust
3859         (getRowNearY): adjust, and remove commented code.
3860
3861         * lyxtext.h (firstRow): delete function
3862         (lastRow): delete function
3863         (rows): new function (const and non-const versions.)
3864         (insertRow): delete function
3865
3866         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3867
3868 2003-03-29  John Levon  <levon@movementarian.org>
3869
3870         * BufferView_pimpl.C: always update scrollbar top
3871         because pasting text when we're anchored could mean we
3872         miss an update altogether
3873
3874 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3875
3876         * text2.C (init): use rowlist_.end() and not 0.
3877         (insertRow): change to take a RowList::iterator as arg, adjust
3878         for this.
3879         (insertParagraph): change to take a RowList::iterator as arg,
3880         adjust for this.
3881         (redoParagraphs): remove some debug msgs.
3882
3883         * text.C (appendParagraph): change to take a RowList::iterator
3884         arg, adjust for this.
3885         (breakAgain): add an assert
3886         (breakAgainOneRow): ditto
3887
3888 2003-03-29  John Levon  <levon@movementarian.org>
3889
3890         * text2.C: do not clear selection after inc/decDepth
3891         (bug 550)
3892
3893 2003-03-29  John Levon  <levon@movementarian.org>
3894
3895         * BufferView.C:
3896         * buffer.C: fix broken strerrors according to Lars
3897
3898 2003-03-29  John Levon  <levon@movementarian.org>
3899
3900         * converters.C: more Alert cleanups
3901
3902 2003-03-29  John Levon  <levon@movementarian.org>
3903
3904         * bufferview_funcs.C: remove pointless Alert
3905
3906         * buffer.C: fix confusing error message when
3907         a template is chmoded 000
3908
3909 2003-03-29  John Levon  <levon@movementarian.org>
3910
3911         * BufferView.C:
3912         * BufferView.h:
3913         * BufferView_pimpl.C: Alert fixes
3914
3915         * Makefile.am:
3916         * tabular.C:
3917         * tabular-old.C: remove unused table compat reading
3918
3919 2003-03-29  John Levon  <levon@movementarian.org>
3920
3921         * BufferView.C:
3922         * buffer.C:
3923         * lyx_cb.h:
3924         * lyx_cb.C: more Alert cleanups
3925
3926         * lyxfunc.C: don't allow chktex if not latex document
3927
3928 2003-03-29  John Levon  <levon@movementarian.org>
3929
3930         * lyx_cb.C:
3931         * BufferView.C:
3932         * buffer.C: warnings pushed down from support/,
3933         kill err_alert
3934
3935 2003-03-29  John Levon  <levon@movementarian.org>
3936
3937         * lyxfunc.C: safety check for C-r (revert)
3938
3939 2003-03-29  John Levon  <levon@movementarian.org>
3940
3941         * bufferlist.h:
3942         * bufferlist.C: several UI fixes using Alert::prompt.
3943         Fix the pointless looping quit code. Fix stupid revert
3944         behaviour (bug 938)
3945
3946         * lyxvc.h:
3947         * lyxvc.C:
3948         * lyx_cb.C: use Alert::prompt
3949
3950         * lyx_main.C: remove a silly question
3951
3952         * lyxfunc.C: remove a couple of silly questions,
3953         use Alert::prompt
3954
3955 2003-03-28  John Levon  <levon@movementarian.org>
3956
3957         * text2.C: fix bug 974 (End on empty par)
3958
3959 2003-03-28  John Levon  <levon@movementarian.org>
3960
3961         * BufferView_pimpl.C:
3962         * LyXAction.C:
3963         * lfuns.h: remove do-nothing math greek lfuns
3964
3965 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3966
3967         * lyxgluelength.h (isValidGlueLength): add default arg on
3968         parameter 2. Remove default arg from friend in class.
3969
3970         * lyxlength.h (isValidLength): add default arg on parameter 2.
3971         Remove default arg from friend in class.
3972
3973         * text2.C (LyXText): adjust, initialize refresh_row.
3974         (init): adjust
3975         (removeRow): adjust
3976         (insertRow): adjust
3977         (insertParagraph): adjst
3978         (redoParagraphs): adjust
3979         (fullRebreak): adjust
3980         (updateCounters): adjust
3981         (deleteEmptyParagraphMechanism): first attempt at fixing a
3982         crashing bug.
3983
3984         * text.C (top_y): adjust
3985         (setHeightOfRow): adjust
3986         (getRow): adjust
3987         (getRowNearY): adjust
3988
3989         * lyxtext.h: include RowList.h
3990         (~LyXText): not needed anymore, deleted.
3991         (firstRow): modify for RowList
3992         (lastRow): new function
3993         Delete firstrow and lastrow class variables, add a Rowlist
3994         rowlist_ class variable.
3995
3996         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3997         paragraph is empty.
3998
3999         * RowList.C (insert): fix case where it == begin().
4000
4001 2003-03-26  Angus Leeming  <leeming@lyx.org>
4002
4003         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4004         the thesaurus dialog.
4005
4006 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4007
4008         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4009
4010         * RowList.[Ch]: new files
4011
4012         * ParagraphList.C (erase): handle the case where it == begin
4013         correctly.
4014
4015 2003-03-25  John Levon  <levon@movementarian.org>
4016
4017         * Makefile.am:
4018         * aspell_local.h:
4019         * aspell.C: add new aspell support
4020
4021         * lyxrc.h:
4022         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4023         have it accessible.
4024
4025 2003-03-25  Angus Leeming  <leeming@lyx.org>
4026
4027         * lfuns.h:
4028         * LyXAction.C (init): new LFUN_INSET_INSERT.
4029
4030         * BufferView_pimpl.C (dispatch): split out part of the
4031         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4032
4033         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4034         LFUN_INSET_APPLY.
4035
4036 2003-03-25  Angus Leeming  <leeming@lyx.org>
4037
4038         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4039
4040 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4041
4042         * text2.C:
4043         * text3.C: remove useless row->height(0)
4044
4045 2003-03-25  John Levon  <levon@movementarian.org>
4046
4047         * lyxtext.h:
4048         * text2.C:
4049         * text3.C: rename the refreshing stuff to better names
4050
4051 2003-03-24  John Levon  <levon@movementarian.org>
4052
4053         * BufferView_pimpl.h:
4054         * BufferView_pimpl.C: update layout choice on a mouse
4055         press/release
4056
4057 2003-03-23  John Levon  <levon@movementarian.org>
4058
4059         * Makefile.am: fix commandtags.h reference
4060
4061 2003-03-22  John Levon  <levon@movementarian.org>
4062
4063         * BufferView_pimpl.C:
4064         * lyxtext.h:
4065         * rowpainter.C:
4066         * rowpainter.h:
4067         * text.C:
4068         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4069
4070 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4071
4072         * lyxtext.h:
4073         * text.C: take the rtl methods out of line
4074
4075 2003-03-21 André Pönitz <poenitz@gmx.net>
4076
4077         * metricsinfo.[Ch]: new files containing structures to be passed around
4078         during the two-phase-drawing...
4079
4080 2003-03-21 André Pönitz <poenitz@gmx.net>
4081
4082         * lyxtextclass.C: read 'environment' tag.
4083
4084 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4085
4086         * text2.C (removeRow): fix bug 964
4087
4088 2003-03-20  John Levon  <levon@movementarian.org>
4089
4090         * rowpainter.C:
4091         * text.C:
4092         * text2.C: paint cleanups. Inset::update() dropped font
4093         parameter
4094
4095 2003-03-19  John Levon  <levon@movementarian.org>
4096
4097         * lyxfunc.C: only fitcursor/markDirty if available()
4098
4099 2003-03-19  John Levon  <levon@movementarian.org>
4100
4101         * commandtags.h: rename to ...
4102
4103         * lfuns.h: ... this, and renumber / cleanup
4104
4105 2003-03-19  John Levon  <levon@movementarian.org>
4106
4107         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4108         fit the cursor after an lfun
4109
4110         * BufferView.h:
4111         * BufferView.C:
4112         * BufferView_pimpl.h:
4113         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4114
4115         * LyXAction.C: layout-character should have ReadOnly
4116
4117         * ParagraphParameters.C:
4118         * buffer.C:
4119         * bufferview_funcs.C:
4120         * lyx_cb.C:
4121         * lyxfind.C:
4122         * lyxtext.h:
4123         * text.C:
4124         * text2.C:
4125         * text3.C:
4126         * undo_funcs.C: changes from above
4127
4128 2003-03-18  John Levon  <levon@movementarian.org>
4129
4130         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4131         remove it from update()
4132
4133         * lyxfunc.C: update layout choice after an lfun
4134
4135         * text3.C: remove extra updateLayoutChoice()s
4136
4137 2003-03-18  John Levon  <levon@movementarian.org>
4138
4139         * text.C: top_y change means full repaint, fix
4140         a drawing bug with cursor movement
4141
4142 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4143
4144         * lyxtext.h:
4145         * text.C:
4146         * text2.C: anchor row on setCursor
4147
4148 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4149
4150         * lyxtext.h: remove almost all mutable keywords
4151         * text.C:
4152         * text2.C:
4153         * text3.C: remove const keywords accordingly
4154
4155 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4156
4157         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4158         anon namespace
4159         (TeXEnvironment): ditto
4160         (TeXOnePar): ditto
4161
4162 2003-03-17  John Levon  <levon@movementarian.org>
4163
4164         * text.C (rowBreakPoint): remove attempt to fix displayed
4165         math insets inside a manual label
4166
4167 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4168
4169         * lyxtext.h: remove BufferView* as first arg from almost all class
4170         functions.
4171         * other files: adjust.
4172
4173 2003-03-17  John Levon  <levon@movementarian.org>
4174
4175         * lyxtext.h:
4176         * undo_funcs.C:
4177         * text2.C: more paint cleanups
4178
4179         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4180
4181         * rowpainter.h:
4182         * rowpainter.C: remove "smart" background painting code
4183
4184 2003-03-16  John Levon  <levon@movementarian.org>
4185
4186         * lyxtext.h:
4187         * text.C:
4188         * text2.C:
4189         * text3.C: add helper functions for setting refresh_row/y
4190
4191 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4192
4193         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4194         newline inset which *can* get inserted in the pass_thru layouts.
4195         This is primarily for literate documents.
4196
4197 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4198
4199         * buffer.C: increment LYX_FORMAT to 223
4200
4201 2003-03-14 André Pönitz <poenitz@gmx.net>
4202
4203         * textclass.h: prepare for environment handling, ws changes
4204         * lyxlayout.C: read latexheader and latexfooter tags
4205
4206 2003-03-14  John Levon  <levon@movementarian.org>
4207
4208         * text2.C: rewrite ::status() a bit
4209
4210 2003-03-13  John Levon  <levon@movementarian.org>
4211
4212         * lyxtext.h: add some docs
4213
4214 2003-03-13  John Levon  <levon@movementarian.org>
4215
4216         * lyxtext.h:
4217         * text.C:
4218         * text2.C:
4219         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4220
4221 2003-03-13  John Levon  <levon@movementarian.org>
4222
4223         * text3.C: fix appendix redrawing
4224
4225 2003-03-13  John Levon  <levon@movementarian.org>
4226
4227         * text.C (setHeightOfRow):
4228         * rowpainter.h:
4229         * rowpainter.C: make appendix mark have the text
4230           "Appendix" so the user knows what it is
4231
4232         * LColor.h:
4233         * LColor.C: s/appendixline/appendix/ from above
4234
4235 2003-03-13  John Levon  <levon@movementarian.org>
4236
4237         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4238
4239         * text.C: fix a getChar(pos) bug properly
4240
4241 2003-03-13  Angus Leeming  <leeming@lyx.org>
4242
4243         * commandtags.h:
4244         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4245         Probably only temporary. Let's see how things pan out.
4246
4247         * BufferView.C (unlockInset):
4248         * BufferView_pimpl.C (fitCursor):
4249         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4250
4251         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4252         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4253
4254         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4255         new functions that convert ParagraphParameters to and from a string.
4256
4257         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4258         BufferView::Pimpl's dispatch.
4259         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4260
4261 2003-03-13 André Pönitz <poenitz@gmx.net>
4262
4263         * lyxfunc.C:
4264         * text3.C:
4265         * factory.C: make it aware of InsetEnv
4266
4267 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4268
4269         * text2.C (setCursor): never ask for one past last
4270         (setCursor): add some debugging messages.
4271
4272         * text.C (singleWidth): never ask for one past last
4273         (singleWidth): ditto
4274         (leftMargin): ditto
4275         (rightMargin): ditto
4276         (rowBreakPoint): ditto
4277         (setHeightOfRow): ditto
4278         (prepareToPrint): ditto
4279
4280         * rowpainter.C (paintBackground): never ask for one past last
4281         (paintText): never ask for one past last
4282
4283         * paragraph_pimpl.C (getChar): make the assert stricter, never
4284         allow the one past last pos to be taken
4285
4286         * paragraph.C (getChar): ws changes only
4287
4288         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4289         (numberOfSeparators): ditto
4290         (numberOfHfills): ditto
4291
4292 2003-03-12  John Levon  <levon@movementarian.org>
4293
4294         * author.h:
4295         * author.C:
4296         * bufferparams.h:
4297         * bufferparams.C:
4298         * paragraph_funcs.C: fix per-buffer authorlists
4299
4300 2003-03-12  John Levon  <levon@movementarian.org>
4301
4302         * text.C: fix newline in right address
4303
4304 2003-03-12  Angus Leeming  <leeming@lyx.org>
4305
4306         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4307         duplicate those in LyXFunc::dispatch.
4308
4309         * commandtags.h:
4310         * LyXAction.C:
4311         * ToolbarDefaults.C:
4312         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4313         Add LFUN_FONTFREE_UPDATE.
4314
4315         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4316         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4317
4318         * bufferview_func.[Ch]: several new functions to facilliate
4319         transfer of data to and from the character dialog.
4320
4321 2003-03-12  John Levon  <levon@movementarian.org>
4322
4323         * buffer.C:
4324         * paragraph.h:
4325         * paragraph.C:
4326         * paragraph_funcs.C:
4327         * paragraph_pimpl.C:
4328         * sgml.C:
4329         * tabular.C:
4330         * text.C:
4331         * text3.C: remove META_NEWLINE in favour of an inset
4332
4333         * rowpainter.h:
4334         * rowpainter.C: remove paintNewline (done by inset)
4335
4336 2003-03-12  John Levon  <levon@movementarian.org>
4337
4338         * paragraph_pimpl.C: complain about bad getChar()s
4339         for a while at least
4340
4341 2003-03-12  John Levon  <levon@movementarian.org>
4342
4343         * buffer.h:
4344         * buffer.C: move paragraph read into a separate function,
4345         a little renaming to reflect that.
4346
4347         * bufferparams.h:
4348         * bufferparams.C: remove the author_ids map, not necessary now
4349
4350         * factory.h:
4351         * factory.C: moved Buffer::readInset to here
4352
4353         * paragraph_funcs.h:
4354         * paragraph_funcs.C: readParagraph free function moved from
4355         buffer.C
4356
4357         * tabular.C: name change
4358
4359 2003-03-12  John Levon  <levon@movementarian.org>
4360
4361         * buffer.C:
4362         * ParagraphParameters.C: move par params input to
4363         a read() method
4364
4365         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4366         behave like a normal read from the stream wrt reading
4367         a line vs. a \\token
4368
4369 2003-03-12  John Levon  <levon@movementarian.org>
4370
4371         * paragraph.C:
4372         * ParagraphParameters.h:
4373         * ParagraphParameters.C: move output code to a
4374         ::write() method
4375
4376 2003-03-12  John Levon  <levon@movementarian.org>
4377
4378         * BufferView.C (insertLyXFile):
4379         * buffer.h:
4380         * buffer.C:
4381         * tabular.C: use a parlist iterator for creating the
4382           document.
4383
4384 2003-03-12  John Levon  <levon@movementarian.org>
4385
4386         * buffer.C: make current_change static local not
4387           static file-scope
4388
4389 2003-03-12  John Levon  <levon@movementarian.org>
4390
4391         * buffer.C: fix insertStringAsLines for change tracking
4392
4393 2003-03-12  John Levon  <levon@movementarian.org>
4394
4395         * BufferView.C:
4396         * tabular.C:
4397         * buffer.h:
4398         * buffer.C:
4399         * bufferparams.h:
4400         * bufferparams.C: move author list into params. Rename some
4401           functions. Move the header reading into a separate token
4402           loop. Move the header token reading into BufferParams.
4403
4404 2003-03-12  John Levon  <levon@movementarian.org>
4405
4406         * changes.C: put debug inside lyxerr.debugging() checks
4407
4408 2003-03-11 André Pönitz <poenitz@gmx.net>
4409
4410         * factory.C: make it aware of InsetHFill
4411
4412 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4413
4414         * buffer.C (latexParagraphs): move function from here...
4415         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4416         args.
4417
4418 2003-03-10  Angus Leeming  <leeming@lyx.org>
4419
4420         * LyXAction.C (init): fix bug in poplating array with multiple entries
4421         with the same LFUN (spotted by JMarc).
4422
4423 2003-03-10  John Levon  <levon@movementarian.org>
4424
4425         * text.C:
4426         * text2.C: move getColumnNearX() near its
4427         only call site
4428
4429 2003-03-10  John Levon  <levon@movementarian.org>
4430
4431         * text.C: fix break before a minipage
4432
4433 2003-03-10  John Levon  <levon@movementarian.org>
4434
4435         * text.C: fix the last commit
4436
4437 2003-03-09  John Levon  <levon@movementarian.org>
4438
4439         * lyxtext.h:
4440         * text.C:
4441         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4442         bug 365 (don't break before insets unless needed). Don't
4443         return a value > last under any circumstances.
4444
4445 2003-03-09  Angus Leeming  <leeming@lyx.org>
4446
4447         * BufferView_pimpl.C (trackChanges, dispatch): call
4448         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4449
4450 2003-03-09  Angus Leeming  <leeming@lyx.org>
4451
4452         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4453         than Dialogs::showAboutlyx().
4454
4455 2003-03-09  Angus Leeming  <leeming@lyx.org>
4456
4457         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4458         than Dialogs::showTabularCreate().
4459
4460 2003-03-09  John Levon  <levon@movementarian.org>
4461
4462         * lyxtext.h:
4463         * text.C:
4464         * text2.C: 3rd arg to nextBreakPoint was always the same.
4465           Use references.
4466
4467 2003-03-08  John Levon  <levon@movementarian.org>
4468
4469         * lyxrow.C:
4470         * paragraph.C:
4471         * paragraph.h:
4472         * rowpainter.C:
4473         * text.C:
4474         * text2.C: Remove the "main" bit from the "main body"
4475           notion.
4476
4477 2003-03-08  John Levon  <levon@movementarian.org>
4478
4479         * text.C (leftMargin): The left margin of an empty
4480         manual label paragraph should not include the label width
4481         string length.
4482
4483         * text.C (prepareToPrint): don't attempt to measure hfills
4484         for empty manual label paragraphs - the answer should be 0
4485
4486 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4487
4488         * CutAndPaste.C: remove commented code and reindent.
4489
4490 2003-03-08  John Levon  <levon@movementarian.org>
4491
4492         * lyxfunc.h:
4493         * lyxfunc.C: move reloadBuffer()
4494
4495         * BufferView.h:
4496         * BufferView.C: to here
4497
4498         * lyxvc.C: add comment
4499
4500         * vc-backend.h:
4501         * vc-backend.C: call bv->reload() to avoid
4502           getStatus() check on MENURELOAD
4503
4504 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4505
4506         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4507         to an old format .dep file.
4508
4509 2003-03-07  Angus Leeming  <leeming@lyx.org>
4510
4511         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4512         when the LFUN_MOUSE_RELEASE should have been handled by
4513         inset->localDispatch.
4514
4515 2003-03-07  Angus Leeming  <leeming@lyx.org>
4516
4517         * BufferView_pimpl.C (dispatch):
4518         * LyXAction.C (init):
4519         * ToolbarDefaults.C (init):
4520         * commandtags.h:
4521         * lyxfunc.C (getStatus):
4522         remove LFUN_INSET_GRAPHICS.
4523
4524         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4525
4526 2003-03-07  Angus Leeming  <leeming@lyx.org>
4527
4528         * commandtags.h:
4529         * LyXAction.C (init):
4530         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4531
4532         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4533
4534         * commandtags.h:
4535         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4536
4537         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4538         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4539
4540 2003-03-07  Angus Leeming  <leeming@lyx.org>
4541
4542         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4543         remove "ert".
4544
4545 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4546
4547         * ParagraphList.C (front): new function
4548         (back): implement
4549
4550 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4551
4552         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4553         and top_row_offset_. removed var first_y.
4554         * text.C (top_y):
4555         * text2.C (LyXText, removeRow):
4556         * text3.C:
4557         * BufferView_pimpl.C:
4558         use these methods instead of using first_y
4559
4560 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4561
4562         * text2.C (pasteSelection): adjust for checkPastePossible
4563
4564         * CutAndPaste.C: remove Paragraph * buf and replace with
4565         ParagraphList paragraphs.
4566         (DeleteBuffer): delete
4567         (cutSelection): change the tc type to textclass_type
4568         (copySelection): change the tc type to textclass_type
4569         (copySelection): adjust for ParagraphList
4570         (pasteSelection): change the tc type to textclass_type
4571         (pasteSelection): adjust for Paragraphlist
4572         (nrOfParagraphs): simplify for ParagraphList
4573         (checkPastePossible): simplify for ParagraphList
4574         (checkPastePossible): remove unused arg
4575
4576         * ParagraphList.C (insert): handle the case where there are no
4577         paragraphs yet.
4578
4579         * CutAndPaste.h: make CutAndPaste a namespace.
4580
4581         * text3.C (dispatch): adjust
4582
4583         * text.C (breakParagraph): add a ParagraphList as arg
4584
4585         * paragraph_funcs.C (breakParagraph): change to take a
4586         BufferParams and a ParagraphList as args.
4587         (breakParagraphConservative): ditto
4588         (mergeParagraph): ditto
4589         (TeXDeeper): add a ParagraphList arg
4590         (TeXEnvironment): ditto
4591         (TeXOnePar): ditto
4592
4593         * buffer.C (readLyXformat2): adjust
4594         (insertStringAsLines): adjust
4595         (latexParagraphs): adjust
4596
4597         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4598         (cutSelection): adjust
4599         (pasteSelection): adjust
4600
4601         * BufferView_pimpl.C (insertInset): adjust
4602
4603 2003-03-05  Angus Leeming  <leeming@lyx.org>
4604
4605         * commandtags.h:
4606         * LyXAction.C (init):
4607         * BufferView_pimpl.C (dispatch):
4608         * lyxfunc.C (getStatus):
4609         remove LFUN_CHILD_INSERT.
4610
4611         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4612
4613 2003-03-05  Angus Leeming  <leeming@lyx.org>
4614
4615         * commandtags.h:
4616         * LyXAction.C (init):
4617         * src/factory.C (createInset):
4618         * lyxfunc.C (getStatus):
4619         * text3.C (dispatch):
4620         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4621
4622         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4623
4624 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4625
4626         * ParagraphList.C (insert): handle insert right before end()
4627         (erase): fix cases where it can be first or last paragraph.
4628
4629 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4630
4631         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4632         Paragraph::next and Paragraph::previous
4633         (TeXOnePar): ditto
4634
4635         * text.C (breakParagraph): adjust
4636
4637         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4638         BufferParams& as arg.
4639         (breakParagraph): use ParagraphList::insert
4640         (breakParagraphConservative): take a Buffer* instead of a
4641         BufferParams& as arg.
4642         (breakParagraphConservative): use ParagraphList::insert.
4643
4644         * buffer.C (insertStringAsLines): un-const it
4645         (insertStringAsLines): adjust
4646
4647         * ParagraphList.C (insert): new function
4648
4649         * CutAndPaste.C (pasteSelection): adjust
4650
4651         * text.C (backspace): adjust
4652
4653         * tabular.C (SetMultiColumn): adjust
4654
4655         * CutAndPaste.C (cutSelection): adjust
4656         (pasteSelection): adjust
4657
4658         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4659         Buffer const * as arg
4660
4661         * ParagraphList.C (erase): new function
4662         * paragraph_funcs.C (mergeParagraph): use it
4663         (mergeParagraph): make it take a Buffer* instead of a
4664         BufferParams* as arg
4665
4666         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4667         as arg
4668         (breakParagraphConservative): ditto
4669
4670         * paragraph.h: remove the breakParagraph friend
4671
4672         * paragraph.C (eraseIntern): new function
4673         (setChange): new function
4674
4675         * paragraph_funcs.C (mergeParagraph): make it take a
4676         ParagraphList::iterator instead of a Paragraph *, adjust
4677         accordingly.
4678
4679         * paragraph.h: move an #endif so that the change tracking stuff
4680         also works in the NO_NEXT case.
4681
4682 2003-03-04  Angus Leeming  <leeming@lyx.org>
4683
4684         * commandtags.h:
4685         * LyXAction.C: new LFUN_INSET_MODIFY.
4686
4687         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4688         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4689
4690 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4691
4692         * several files: ws changes only
4693
4694         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4695         (TeXEnvironment): ditto
4696         (TeXDeeper): ditto
4697
4698         * buffer.C (makeLaTeXFile): adjust
4699         (latexParagraphs): make it take ParagraphList::iterator as args
4700
4701 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4702
4703         * buffer.C (latexParagraphs): adjust
4704
4705         * paragraph.C (TeXOnePar): move function...
4706         (optArgInset): move function...
4707         (TeXEnvironment): move function...
4708         * paragraph_pimpl.C (TeXDeeper): move function...
4709         * paragraph_funcs.C: ...here
4710
4711         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4712
4713 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4714
4715         * buffer.C (readInset): remove compability code for old Figure and
4716         InsetInfo insets
4717
4718 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4719
4720         * buffer.C: ws changes
4721         (readInset):
4722
4723         * BufferView_pimpl.C: ditto
4724         * author.C: ditto
4725         * buffer.h: ditto
4726         * bufferlist.h: ditto
4727         * changes.h: ditto
4728         * lyxfunc.C: ditto
4729
4730 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4731
4732         * converter.[Ch]: split into itself +
4733         * graph.[Ch]
4734         * format.[Ch]
4735         * Makefile.am: += graph.[Ch] + format.[Ch]
4736         * MenuBackend.C
4737         * buffer.C
4738         * exporter.C
4739         * importer.C
4740         * lyx_main.C
4741         * lyxfunc.C
4742         * lyxrc.C: added #include "format.h"
4743
4744 2003-02-27  Angus Leeming  <leeming@lyx.org>
4745
4746         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4747           a label.
4748
4749         * factory.C (createInset): add "label" to the factory.
4750
4751         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4752           string and do no more.
4753
4754 2003-02-27  Angus Leeming  <leeming@lyx.org>
4755
4756         * commandtags.h:
4757         * LyXAction.C (init):
4758         * factory.C (createInset):
4759         * BufferView_pimpl.C (dispatch):
4760           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4761
4762         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4763
4764         * lyxfunc.C (dispatch):
4765         * text3.C (dispatch): pass name to params2string.
4766
4767 2003-02-26  Angus Leeming  <leeming@lyx.org>
4768
4769         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4770           blocks together.
4771           Rearrange the ~includes. Strip out the unnecessary ones.
4772
4773         * factory.C (createInset): reformat.
4774           create new insets for the various LFUN_XYZ_APPLY lfuns.
4775
4776 2003-02-26  John Levon  <levon@movementarian.org>
4777
4778         * lyxrow.h:
4779         * lyxrow.C: add isParStart,isParEnd helpers
4780
4781         * paragraph.h: make isInserted/DeletedText take refs
4782
4783         * paragraph_funcs.h:
4784         * paragraph_funcs.C: remove #if 0'd code
4785
4786         * lyxtext.h:
4787         * text3.C:
4788         * text2.C:
4789         * text.C: use lyxrow helpers above.
4790           Move draw and paint routines to RowPainter.
4791           Make several methods use refs not pointers.
4792           Make backgroundColor() const.
4793           Add markChangeInDraw(), isInInset().
4794           Merge changeRegionCase into changeCase.
4795           Make workWidth() shouldn't-happen code into an Assert.
4796
4797         * rowpainter.h:
4798         * rowpainter.C: new class for painting a row.
4799
4800         * vspace.h:
4801         * vspace.C: make inPixels take a ref
4802
4803 2003-02-26  Angus Leeming  <leeming@lyx.org>
4804
4805         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4806         LFUN_REF_APPLY.
4807
4808 2003-02-25  John Levon  <levon@movementarian.org>
4809
4810         * ispell.C: give the forked command a more accurate name
4811
4812 2003-02-22  John Levon  <levon@movementarian.org>
4813
4814         * toc.h:
4815         * toc.C: make TocItem store an id not a Paragraph *
4816           (bug #913)
4817
4818 2003-02-21  Angus Leeming  <leeming@lyx.org>
4819
4820         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4821           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4822           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4823           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4824           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4825           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4826
4827         * BufferView_pimpl.C (dispatch):
4828         * LyXAction.C (init):
4829         * factory.C (createInset):
4830         * lyxfunc.C (getStatus, dispatch):
4831         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4832
4833 2003-02-21  Angus Leeming  <leeming@lyx.org>
4834
4835         * BufferView_pimpl.C (MenuInsertLyXFile):
4836         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4837         * lyxfunc.C (menuNew, open, doImport):
4838           no longer pass a LyXView & to fileDlg.
4839
4840 2003-02-21  Angus Leeming  <leeming@lyx.org>
4841
4842         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4843         * LyXAction.C: change, BIBKEY to BIBITEM.
4844         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4845         Change InsetBibKey to InsetBibitem.
4846         Change BIBKEY_CODE to BIBITEM_CODE.
4847         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4848         * factory.C: replace insetbib.h with insetbibitem.h.
4849         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4850         * paragraph.C: replace insetbib.h with insetbibitem.h.
4851         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4852         Change bibkey() to bibitem().
4853         * text.C: remove insetbib.h.
4854         * text2.C: replace insetbib.h with insetbibitem.h.
4855         change bibkey() to bibitem().
4856         * text3.C: remove insetbib.h.
4857         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4858
4859 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4860
4861         * lyxrc.C (output): enclose user email in quotes (in case there are
4862         several words)
4863
4864 2003-02-18  John Levon  <levon@movementarian.org>
4865
4866         * buffer.h: add std::
4867
4868 2003-02-17  John Levon  <levon@movementarian.org>
4869
4870         * SpellBase.h:
4871         * ispell.h:
4872         * ispell.C:
4873         * pspell.h:
4874         * pspell.C: reworking. Especially in ispell, a large
4875           number of clean ups and bug fixes.
4876
4877         * lyxfunc.C: fix revert to behave sensibly
4878
4879 2003-02-17 André Pönitz <poenitz@gmx.net>
4880
4881         * LyXAction.C:
4882         * commandtags.h: new LFUN_INSERT_BIBKEY
4883
4884         * layout.h:
4885         * lyxlayout.C:
4886         * buffer.C:
4887         * factory.C:
4888         * text.C:
4889         * text2.C:
4890         * text3.C:
4891         * paragraph.[Ch]:
4892         * paragraph_func.C: remove special bibkey handling
4893
4894 2003-02-17  John Levon  <levon@movementarian.org>
4895
4896         * text.C (Delete): fix case where delete at the end of
4897           the very first paragraph would not merge the pars
4898
4899 2003-02-17  John Levon  <levon@movementarian.org>
4900
4901         * lyxrow.C: fix lastPrintablePos()
4902
4903 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4904
4905         * bufferparams.C (writeLaTeX): add a std:here
4906
4907         * buffer.C: and remove a using directive there
4908
4909 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4910
4911         * buffer.C (makeLaTeXFile): move the code that generates the
4912           preamble...
4913
4914         * bufferparams.C (writeLaTeX): ... in this new method
4915
4916         * LaTeXFeatures.C (getEncodingSet): make const
4917           (getLanguages): make const
4918
4919         * MenuBackend.C (binding): returns the binding associated to this
4920           action
4921           (add): sets the status of each item by calling getStatus. Adds
4922           some intelligence.
4923           (read): add support for OptSubMenu
4924           (expand): remove extra separator at the end of expanded menu
4925
4926 2003-02-15  John Levon  <levon@movementarian.org>
4927
4928         * BufferView.C:
4929         * BufferView_pimpl.C:
4930         * bufferlist.h:
4931         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4932           inset code that had no actual effect. Remove unneeded status
4933           code.
4934
4935 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4936
4937         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4938           in preamble
4939
4940 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4941
4942         * text.C (drawLengthMarker): also draw an arrow marker for
4943           symbolic lengths (medskip...)
4944
4945 2003-02-14  John Levon  <levon@movementarian.org>
4946
4947         * tabular.h:
4948         * tabular.C: better method names
4949
4950 2003-02-14  John Levon  <levon@movementarian.org>
4951
4952         * BufferView_pimpl.C:
4953         * bufferlist.C:
4954         * buffer.C:
4955         * converter.C:
4956         * lyx_cb.C:
4957         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4958           it's a more accurate name. Remove some pointless uses.
4959
4960 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4961
4962         * text2.C (LyXText): change order of initilizers to shut off
4963           warnings
4964
4965 2003-02-14  John Levon  <levon@movementarian.org>
4966
4967         * buffer.C: use ParIterator for getParFromID()
4968
4969         * paragraph.h:
4970         * paragraph.C:
4971         * paragraph_pimpl.h:
4972         * paragraph_pimpl.C: remove unused getParFromID()
4973
4974 2003-02-14  John Levon  <levon@movementarian.org>
4975
4976         * buffer.C: remove some very old #if 0'd parse code
4977
4978 2003-02-13  John Levon  <levon@movementarian.org>
4979
4980         * text.h:
4981         * text.C:
4982         * text2.C: move hfillExpansion(), numberOfSeparators(),
4983           rowLast(), rowLastPrintable(), numberofHfills(),
4984           numberOfLabelHfills() ...
4985
4986         * lyxrow.h:
4987         * lyxrow.C: ... to member functions here.
4988
4989         * paragraph.h:
4990         * paragraph.C:
4991         * lyxtext.h:
4992         * text.C: remove LyXText::beginningOfMainBody(), and call
4993           p->beginningOfMainBody() directly. Move the check for
4994           LABEL_MANUAL into the latter.
4995
4996         * text.h:
4997         * text.C:
4998         * text2.C:
4999         * vspace.C:
5000         * BufferView.h:
5001         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5002
5003         * text.h:
5004         * text.C:
5005         * text2.C:
5006         * text3.C:
5007         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5008           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5009
5010 2003-02-13  John Levon  <levon@movementarian.org>
5011
5012         * CutAndPaste.C: remove debug
5013
5014 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5015
5016         * paragraph.C (asString): remove two unused variables
5017
5018         * lyxtextclass.C (readTitleType):
5019           (Read):
5020           (LyXTextClass): handle new members titletype_ and titlename_
5021
5022         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5023
5024 2003-02-09  John Levon  <levon@movementarian.org>
5025
5026         * buffer.h:
5027         * buffer.C: replace hand-coded list with a map for the dep clean
5028
5029 2003-02-08  John Levon  <levon@movementarian.org>
5030
5031         * LaTeX.C: consolidate code into showRunMessage() helper
5032
5033 2003-02-08  John Levon  <levon@movementarian.org>
5034
5035         * lyxfind.C:
5036         * lyxtext.h:
5037         * text2.C:
5038         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5039           and pass the size in explicitly
5040
5041         * BufferView_pimpl.h:
5042         * BufferView_pimpl.C:
5043         * BufferView.h:
5044         * BufferView.C: add getCurrentChange()
5045
5046         * BufferView_pimpl.h:
5047         * BufferView_pimpl.C: handle change lfuns
5048
5049         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5050           for changes. Mark pasted paragraphs as new.
5051
5052         * support/lyxtime.h:
5053         * support/lyxtime.C:
5054         * DepTable.C: abstract time_t as lyx::time_type
5055
5056         * LColor.h:
5057         * LColor.C: add colours for new text, deleted text, changebars
5058
5059         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5060           package use "usenames" option.
5061
5062         * commandtags.h:
5063         * lyxfunc.C:
5064         * LyXAction.C: add change lfuns
5065
5066         * Makefile.am:
5067         * author.h:
5068         * author.C: author handling
5069
5070         * buffer.h:
5071         * buffer.C: add a per-buffer author list, with first entry as
5072           current author. Handle new .lyx tokens for change tracking. Output
5073           author list to .lyx file. Output dvipost stuff to .tex preamble.
5074           Bump lyx format to 222.
5075
5076         * bufferlist.h:
5077         * bufferlist.C: add setCurrentAuthor() to reset current author details
5078           in all buffers.
5079
5080         * bufferparams.h:
5081         * bufferparams.C: add param for tracking
5082
5083         * bufferview_funcs.C: output change info in minibuffer
5084
5085         * Makefile.am:
5086         * changes.h:
5087         * changes.C: add change-tracking structure
5088
5089         * debug.h:
5090         * debug.C: add CHANGES debug flag
5091
5092         * lyxfind.h:
5093         * lyxfind.C: add code for finding the next change piece
5094
5095         * lyxrc.h:
5096         * lyxrc.C: add user_name and user_email
5097
5098         * lyxrow.h:
5099         * lyxrow.C: add a metric for the top of the text line
5100
5101         * lyxtext.h:
5102         * text.C: implement accept/rejectChange()
5103
5104         * lyxtext.h:
5105         * text.C: paint changebars. Paint new/deleted text in the chosen
5106         colours. Strike through deleted text.
5107
5108         * paragraph.h:
5109         * paragraph.C:
5110         * paragraph_pimpl.h:
5111         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5112           in the current change to the insert functions. Rework erase to
5113           mark text as deleted, adding an eraseIntern() and a range-based
5114           erase(). Implement per-paragraph change lookup and
5115           accept/reject.
5116
5117         * paragraph_funcs.C: Fixup paste for change tracking.
5118
5119         * tabular.C: mark added row/columns as new.
5120
5121         * text.C: fix rowLast() to never return -1. Don't allow
5122           spellchecking of deleted text. Track transpose changes. Don't
5123           allow paragraph break or merge where appropriate.
5124
5125         * text2.C: leave cursor at end of selection after a cut.
5126
5127 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5128
5129         * text.C (getLengthMarkerHeight):
5130         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5131         visible on screen too.
5132
5133 2003-02-07  John Levon  <levon@movementarian.org>
5134
5135         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5136
5137 2003-02-05  Angus Leeming  <leeming@lyx.org>
5138
5139         * lyxserver.C (read_ready): revert my patch of 11 September last year
5140         as it sends PC cpu through the roof. Presumably this means that
5141         the lyxserver will no longer run on an Alpha...
5142
5143 2003-01-30  Angus Leeming  <leeming@lyx.org>
5144
5145         * factory.C (createInset): create an InsetCommandParam of type "index"
5146         and use it to 'do the right thing'.
5147
5148         * text2.C (getStringToIndex): ensure that cursor position is always
5149         reset to the reset_cursor position.
5150
5151 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5152
5153         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5154         disabled.
5155
5156 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5157
5158         * bufferview.C:
5159         * lyxcb.C:
5160         * lyxfunc.C: Output messages with identical spelling, punctuation,
5161         and spaces
5162
5163 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5164
5165         * MenuBackend.C (expandFormats): List only viewable export formats
5166         in "View" menu
5167
5168         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5169         message
5170
5171         * lyxfunc.C (getStatus): Make sure that formats other than
5172         "fax" can also be disabled
5173
5174 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5175
5176         * text3.C (dispatch): put the lfuns that insert insets in 3
5177         groups, and call doInsertInset with appropriate arguments.
5178         (doInsertInset): new function, that creates an inset and inserts
5179         it according to some boolean parameters.
5180
5181 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5182
5183         * buffer.C (readFile): remember to pass on 'par' when calling
5184         readFile recursively.
5185
5186 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5187
5188         * MenuBackend.C (expandFormats): add "..." to import formats.
5189
5190 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5191
5192         * paragraph.C (asString): Remove XForms RTL hacks.
5193
5194 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5195         * buffer.C: fix typo
5196
5197 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5198
5199         * Makefile.am (LIBS): delete var
5200         (lyx_LDADD): add @LIBS@ here instead.
5201
5202 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5203
5204         * Clarify the meaning of "wheel mouse jump"
5205
5206 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5207
5208         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5209         tabular in a float
5210
5211 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5212
5213         * importer.C (Loaders): do not preallocate 3 elements in the
5214         vector, since one ends up with 6 elements otherwise
5215
5216 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5217
5218         * DepTable.C (write): write the file name as last element of the
5219         .dep file (because it may contain spaces)
5220         (read): read info in the right order
5221
5222 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5223
5224         * paragraph_pimpl.C (simpleTeXBlanks):
5225         (simpleTeXSpecialChars):
5226         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5227
5228         * tabular.C (latex): add some missing case statements. Reindent.
5229
5230         * MenuBackend.C (expandToc): remove unused variable.
5231
5232 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5233
5234         * LColor.C:
5235         * LaTeX.C:
5236         * LyXAction.C:
5237         * MenuBackend.C:
5238         * buffer.C:
5239         * exporter.C:
5240         * lyxfunc.C:
5241         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5242         and the like.
5243
5244 2003-01-05  John Levon  <levon@movementarian.org>
5245
5246         * BufferView.h:
5247         * BufferView.C: add getEncoding()
5248
5249         * kbsequence.h:
5250         * kbsequence.C: do not store last keypress
5251
5252         * lyxfunc.h:
5253         * lyxfunc.C: store last keypress here instead. Pass encoding
5254           to getISOEncoded()
5255
5256 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5257
5258         * lyx_main.C (init): remove annoying error message when following
5259         symbolic links (bug #780)
5260
5261 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5262
5263         * text.C (insertChar):
5264         * lyxrc.C (getDescription): remove extra spaces
5265
5266 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5267
5268         * lyxrc.C (getDescription): remove extra spaces
5269
5270 2002-12-20  John Levon  <levon@movementarian.org>
5271
5272         * text3.C: hack fix for page up/down across tall rows
5273
5274 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5275
5276         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5277         not been invoked
5278
5279 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5280
5281         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5282         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5283         thesaurus is not compiled in
5284
5285 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5286
5287         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5288
5289 2002-12-16  Angus Leeming  <leeming@lyx.org>
5290
5291         * lyxrc.[Ch]:
5292         * lyx_main.C (init): remove override_x_deadkeys stuff.
5293
5294 2002-12-12  John Levon  <levon@movementarian.org>
5295
5296         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5297           insert. Only remove shift modifier under strict
5298           circumstances.
5299
5300 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * MenuBackend.C (expandToc): fix crash.
5303
5304 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * MenuBackend.C (expandToc): gettext on float names.
5307
5308 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5309
5310         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5311         implement bool empty() [bug 490]
5312
5313 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5314
5315         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5316
5317 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5318
5319         * several files: ws changes
5320
5321 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5322
5323         * text2.C (setCounter): clean up a bit, use boost.format.
5324         (updateCounters): initialize par upon declaration.
5325
5326         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5327         if the layout exists. We do not just store the layout any more.
5328         (SwitchLayoutsBetweenClasses): use boost.format
5329
5330 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5331
5332         * converter.C (convert): if from and to files are the same, use a
5333         temporary files as intermediary
5334
5335 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5336
5337         * commandtags.h:
5338         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5339
5340 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5341
5342         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5343
5344 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5345
5346         * tabular.C (asciiPrintCell): use string(size, char) instead of
5347         explicit loop.
5348
5349         * sgml.C (openTag): fix order of arguments to string constructor
5350         (closeTag): ditto
5351
5352         * lyxfunc.C (dispatch): use boost.format
5353
5354         * lots of files: change "c" -> 'c'
5355
5356 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5357
5358         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5359
5360 2002-11-25  Angus Leeming  <leeming@lyx.org>
5361
5362         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5363
5364         * lyx_main.C (init): compile fix.
5365
5366 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5367
5368         * lyx_cb.C (start): boost.formatify
5369         do not include <iostream>
5370
5371         * lengthcommon.C: ws only
5372
5373         * boost-inst.C,BoostFormat.h: add more explict instantations
5374
5375 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5376
5377         * lots of files: handle USE_BOOST_FORMAT
5378
5379 2002-11-21  John Levon  <levon@movementarian.org>
5380
5381         * pspell.C: fix compile
5382
5383 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5384
5385         * lyxfunc.C (dispatch): use boost::format
5386         (open): ditto
5387         (doImport): ditto
5388
5389         * lyxfont.C (stateText): use boost::format
5390
5391         * lyx_main.C (LyX): use boost::format
5392         (init): ditto
5393         (queryUserLyXDir): ditto
5394         (readRcFile): ditto
5395         (parse_dbg): ditto
5396         (typedef boost::function): use the recommened syntax.
5397
5398         * importer.C (Import): use boost::format
5399
5400         * debug.C (showLevel): use boost::format
5401
5402         * converter.C (view): use boost::format
5403         (convert): ditto
5404         (move): ditto
5405         (scanLog): ditto
5406
5407         * bufferview_funcs.C (currentState): use boost::format
5408
5409         * bufferlist.C (emergencyWrite): use boost::format
5410
5411         * buffer.C (readLyXformat2): use boost::format
5412         (parseSingleLyXformat2Token): ditto
5413
5414         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5415
5416         * LaTeX.C (run): use boost::format
5417
5418         * Chktex.C (scanLogFile): use boost::format
5419
5420         * BufferView_pimpl.C (savePosition): use boost::format
5421         (restorePosition): ditto
5422         (MenuInsertLyXFile): ditto
5423
5424         * BoostFormat.h: help file for explicit instation.
5425
5426 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5427
5428         * tabular.C (latex): Support for block alignment in fixed width
5429         columns.
5430
5431 2002-11-17  John Levon  <levon@movementarian.org>
5432
5433         * BufferView_pimpl.C:
5434         * lyx_cb.C:
5435         * lyxfunc.C: split filedialog into open/save
5436
5437 2002-11-08  Juergen Vigna  <jug@sad.it>
5438
5439         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5440         by my last patch (hopefully).
5441
5442 2002-11-08  John Levon  <levon@movementarian.org>
5443
5444         * iterators.h:
5445         * iterators.C:
5446         * buffer.h:
5447         * buffer.C:
5448         * paragraph.h:
5449         * paragraph.C:
5450         * toc.h:
5451         * toc.C: ParConstIterator, and use it (from Lars)
5452
5453 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5454
5455         * lyxtextclass.[Ch]: revise and add doxygen comments
5456
5457 2002-11-07  John Levon  <levon@movementarian.org>
5458
5459         * text.C: fix progress value for spellchecker
5460
5461         * toc.C: fix navigate menu for insetwrap inside minipage
5462
5463         * paragraph_funcs.C: added FIXME for suspect code
5464
5465 2002-11-07  John Levon  <levon@movementarian.org>
5466
5467         * BufferView_pimpl.C: fix redrawing of insets
5468           on buffer switch
5469
5470 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5471
5472         * text2.C (updateCounters): fix bug 668
5473
5474 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5475
5476         * text3.C (dispatch): Do not make the buffer dirty when moving the
5477         cursor.
5478
5479 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5480
5481         * vc-backend.C: STRCONV
5482         (scanMaster): ditto
5483
5484         * text2.C (setCounter): STRCONV
5485
5486         * paragraph.C (asString): STRCONV
5487
5488         * lyxlength.C (asString): STRCONV
5489         (asLatexString): ditto
5490
5491         * lyxgluelength.C (asString): STRCONV
5492         (asLatexString): ditto
5493
5494         * lyxfunc.C (dispatch): STRCONV
5495         (open): ditto
5496
5497         * lyxfont.C (stateText): STRCONV
5498
5499         * importer.C (Import): STRCONV
5500
5501         * counters.C (labelItem): STRCONV
5502         (numberLabel): ditto
5503         (numberLabel): remove unused ostringstream o
5504
5505         * chset.C: STRCONV
5506         (loadFile): ditto
5507
5508         * bufferview_funcs.C (currentState): STRCONV
5509
5510         * buffer.C (readFile): STRCONV
5511         (asciiParagraph): ditto
5512         (makeLaTeXFile): ditto
5513
5514         * Spacing.C (writeEnvirBegin): STRCONV
5515
5516         * LaTeXFeatures.C (getLanguages): STRCONV
5517         (getPackages): ditto
5518         (getMacros): ditto
5519         (getBabelOptions): ditto
5520         (getTClassPreamble): ditto
5521         (getLyXSGMLEntities): ditto
5522         (getIncludedFiles): ditto
5523
5524         * LaTeX.C: STRCONV
5525         (run): ditto
5526         (scanAuxFile): ditto
5527         (deplog): ditto
5528
5529         * LString.h: add the STRCONV macros
5530
5531         * BufferView_pimpl.C (savePosition): STRCONV
5532         (restorePosition): ditto
5533         (MenuInsertLyXFile): ditto
5534
5535         * vc-backend.C (scanMaster): change from submatch[...] to
5536         submatch.str(...)
5537
5538         * funcrequest.C: include config.h
5539
5540         * factory.C: include config.h
5541
5542         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5543
5544         * box.C: include config.h
5545
5546         * LaTeX.C (scanAuxFile): change from submatch[...] to
5547         submatch.str(...)
5548         (deplog): ditto
5549
5550 2002-10-25  Angus Leeming  <leeming@lyx.org>
5551
5552         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5553
5554         * ispell.[Ch] (setError): new method.
5555         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5556         Use setError() insetead of goto END.
5557
5558         * lyx_cb.C (AutoSave): move out child process into new class
5559         AutoSaveBuffer.
5560
5561 2002-10-30  John Levon  <levon@movementarian.org>
5562
5563         * text3.C: make start appendix undoable
5564
5565 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5566
5567         * lyxlength.C (inPixels): Fix returned value.
5568
5569         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5570         environment.
5571
5572 2002-10-24  Angus Leeming  <leeming@lyx.org>
5573
5574         * lyxgluelength.h: no need to forward declare BufferParams
5575         or BufferView, so don't.
5576
5577 2002-10-21  John Levon  <levon@movementarian.org>
5578
5579         * BufferView.C: menuUndo ->undo, redo
5580
5581         * BufferView.h: document, remove dead, make some methods private
5582
5583         * paragraph_funcs.h:
5584         * paragraph_funcs.C:
5585         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5586
5587         * buffer.h:
5588         * buffer.C:
5589         * sgml.h:
5590         * sgml.C: move sgml open/close tag into sgml.C
5591
5592         * bufferview_funcs.h: unused prototype
5593
5594         * lyxfunc.h:
5595         * lyxfunc.C: remove unused
5596
5597         * lyxtext.h:
5598         * text.C: remove unused
5599
5600 2002-10-21  John Levon  <levon@movementarian.org>
5601
5602         * BufferView.h:
5603         * BufferView.C:
5604         * BufferView_pimpl.h:
5605         * BufferView_pimpl.C: fix mouse wheel handling based on
5606           patch from Darren Freeman
5607
5608 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5609
5610         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5611
5612 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5613
5614         * lyxlength.C (inPixels): Fix hanfling of negative length.
5615         Fix LyXLength::MU case.
5616
5617 2002-10-16  John Levon  <levon@movementarian.org>
5618
5619         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5620
5621 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5622
5623         * converter.C (view): add support for $$i (file name) and $$p
5624         (file path) for the viewer command. If $$i is not specified, then
5625         it is appended to the command (for compatibility with old syntax)
5626
5627 2002-10-14  Juergen Vigna  <jug@sad.it>
5628
5629         * undo_funcs.C (textHandleUndo): alter the order in which the
5630         new undopar is added to the LyXText, as we have to set first
5631         the right prev/next and then add it as otherwise the rebuild of
5632         LyXText is not correct. Also reset the cursor to the right paragraph,
5633         with this IMO we could remove the hack in "redoParagraphs()".
5634
5635 2002-10-09  Angus Leeming  <leeming@lyx.org>
5636
5637         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5638         to turn off an optimisation if a new inset is to be inserted.
5639
5640 2002-10-11 André Pönitz <poenitz@gmx.net>
5641
5642         * lyxtext.h: make some functions public to allow access
5643         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5644
5645 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5646
5647         * text3.C (dispatch): when changing layout, avoid an infinite loop
5648         [bug #652]
5649
5650 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5651
5652         * lyxrc.C (read): treat a viewer or converter command of "none" as
5653         if it were empty.
5654
5655         * MenuBackend.C (expandFormats): for an update, also allow the
5656         formats that are not viewable
5657
5658         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5659         script if it is newer than the lyxrc.defaults in user directory
5660
5661 2002-10-07 André Pönitz <poenitz@gmx.net>
5662
5663         * text.C: Vitaly Lipatov's small i18n fix
5664
5665 2002-09-25  Angus Leeming  <leeming@lyx.org>
5666
5667         * ispell.h: doxygen fix.
5668
5669 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5670
5671         * buffer.h (readFile): Add a new argument to the method, to allow
5672         reading of old-format templates.
5673
5674 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5675
5676         * toc.C (getTocList): Get TOC from InsetWrap.
5677
5678 2002-09-16  John Levon  <levon@movementarian.org>
5679
5680         * lyxfunc.C: check tabular for cut/copy too
5681
5682 2002-09-12  John Levon  <levon@movementarian.org>
5683
5684         * LyXAction.C: tidy
5685
5686         * factory.h:
5687         * factory.C: add header
5688
5689         * paragraph_funcs.h:
5690         * paragraph_funcs.C: cleanup
5691
5692 2002-09-11  John Levon  <levon@movementarian.org>
5693
5694         * PrinterParams.h: odd/even default to true
5695
5696 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5697
5698         * PrinterParams.h: update printer parameters for new xforms dialog
5699
5700 2002-09-11  Angus Leeming  <leeming@lyx.org>
5701
5702         * lyxserver.C (read_ready): re-write to make it more transparent
5703         and to make it work in coherent fashion under Tru64 Unix.
5704
5705 2002-09-11  André Pönitz <poenitz@gmx.net>
5706
5707         * commandtags.h:
5708         * LyXAction.C:
5709         * text3.C: implement LFUN_WORDSEL
5710
5711 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5712
5713         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5714         make floatlist_ a boost::shared_ptr<FloatList>
5715
5716         * lyxtextclass.C: include FloatList.h
5717         (LyXTextClass): initialize floatlist_
5718         (TextClassTags): add TC_NOFLOAT
5719         (Read): match "nofloat" to TC_NOFLOAT and use it.
5720         (readFloat): modify call to floatlist_
5721         (floats): ditto
5722         (floats): ditto
5723
5724         * FloatList.[Ch] (FloatList): remove commented out float
5725         initialization.
5726         (erase): new function
5727
5728 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5729
5730         * MenuBackend.C (expandToc): fix crash when there is no document
5731         open
5732
5733 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5734
5735         * many files: Add insetwrap.
5736
5737 2002-09-09  John Levon  <levon@movementarian.org>
5738
5739         * text2.C: remove confusing and awkward depth wraparound
5740
5741 2002-09-09  John Levon  <levon@movementarian.org>
5742
5743         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5744
5745         * buffer.h:
5746         * buffer.C: remove getIncludeonlyList()
5747
5748         * paragraph.C:
5749         * lyxfunc.C: remove headers
5750
5751 2002-09-09  Juergen Vigna  <jug@sad.it>
5752
5753         * text.C (getColumnNearX): fix form Michael this is most
5754         probably a cut&paste bug.
5755
5756 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5757
5758         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5759
5760         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5761         references, ws changes.
5762
5763         * text2.C (init): update counters after init
5764         (insertParagraph): no need to set counter on idividual paragraphs.
5765         (setCounter): access the counters object in the textclass object
5766         on in the buffer object.
5767         (updateCounters): ditto
5768
5769         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5770         shared_ptr<Counters> to avoid loading counters.h in all
5771         compilation units.
5772         (LyXTextClass): initialize ctrs_
5773         (TextClassTags): add TC_COUNTER, and ...
5774         (Read): use it here.
5775         (CounterTags): new tags
5776         (readCounter): new function
5777         (counters): new funtion
5778         (defaultLayoutName): return a const reference
5779
5780         * counters.C (Counters): remove contructor
5781         (newCounter): remove a couple of unneeded statements.
5782         (newCounter): simplify a bit.
5783         (numberLabel): some small formatting changes.
5784
5785         * buffer.[Ch]: remove all traces of counters, move the Counters
5786         object to the LyXTextClass.
5787
5788 2002-09-06  Alain Castera  <castera@in2p3.fr>
5789
5790         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5791         package to set the horizontal alignment on fixed width columns.
5792
5793         * lyx_sty.C:
5794         * lyx_sty.h: added tabularnewline macro def.
5795
5796         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5797
5798 2002-09-06  John Levon  <levon@movementarian.org>
5799
5800         * LyXAction.C: tooltips for sub/superscript
5801
5802         * MenuBackend.C: a bit more verbose
5803
5804         * lyxfunc.C: tiny clean
5805
5806         * undo_funcs.C: document undo_frozen
5807
5808 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5809
5810         * counters.C (Counters): add missing algorithm counter.
5811
5812         * text2.C (setCounter): lookup the counter with layouts latexname
5813         instead of by section number.
5814         (setCounter): use a hackish way to lookup the correct enum
5815         counter.
5816         a float name->type change
5817         reset enum couners with counter name directly instead of depth value.
5818
5819         * counters.C (Counters): remove the push_backs, change to use the
5820         float type not the float name.
5821         (labelItem): remove unused string, float name->type change
5822
5823         * counters.h: don't include vector, loose the enums and sects vectors
5824
5825 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5826
5827         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5828         (Read): add float->TC_FLOAT to textclassTags
5829         (Read): and handle it in the switch
5830         (readFloat): new function
5831
5832         * FloatList.C (FloatList): comment out the hardcoded float
5833         definitions.
5834
5835         * lyxlayout.h: ws change.
5836
5837 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5838
5839         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5840
5841 2002-09-03  Angus Leeming  <leeming@lyx.org>
5842
5843         * BufferView_pimpl.h: qualified name is not allowed in member
5844         declaration: WorkArea & Pimpl::workarea() const;
5845
5846         * factory.C: added using std::endl directive.
5847
5848         * text3.C: added using std::find and std::vector directives.
5849
5850 2002-08-29  André Pönitz <poenitz@gmx.net>
5851
5852         * lyxtext.h:
5853         * text2.C: remove unused member number_of_rows
5854
5855         * Makefile.am:
5856         * BufferView2.C: remove file, move contents to...
5857         * BufferView.C: ... here
5858
5859         * BufferView_pimpl.C:
5860         * factory.C: move more inset creation to factory
5861
5862         * vspace.C: avoid direct usage of LyXText, ws changes
5863
5864         * BufferView.[Ch]:
5865                 don't provide direct access to WorkArea, use two simple
5866                 acessors haveSelction() and workHeight() instead
5867
5868
5869 2002-08-29  John Levon  <levon@movementarian.org>
5870
5871         * BufferView_pimpl.C (dispatch): do not continue when
5872           no buffer
5873
5874 2002-08-28  André Pönitz <poenitz@gmx.net>
5875
5876         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5877
5878         * BufferView.h:
5879         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5880
5881 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5882
5883         * buffer.C: increment LYX_FORMAT to 221
5884
5885         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5886         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5887
5888         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5889
5890         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5891
5892 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5893
5894         * factory.C (createInset): use LyXTextClass::floats
5895
5896         * MenuBackend.C (expandFloatListInsert):
5897         (expandFloatInsert):
5898         (expandToc):
5899
5900         * text2.C (setCounter):
5901
5902         * LaTeXFeatures.C (useFloat):
5903         (getFloatDefinitions):
5904
5905         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5906
5907         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5908         floatlist_, with accessor floats().
5909
5910         * FloatList.h: remove global FloatList
5911
5912 2002-08-26  André Pönitz <poenitz@gmx.net>
5913
5914         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5915
5916         * BufferView.h:
5917         * BufferView2.C:
5918         * BufferView_pimpl.C:
5919         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5920
5921 2002-08-25  John Levon  <levon@movementarian.org>
5922
5923         * LyXAction.C: fix margin note description
5924
5925 2002-08-24  John Levon  <levon@movementarian.org>
5926
5927         * buffer.C:
5928         * bufferlist.C:
5929         * bufferview_funcs.C:
5930         * lyxfont.C:
5931         * undo_funcs.C: cleanups
5932
5933         * lyxfunc.C: disable CUT/COPY when no selection
5934
5935 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5936
5937         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5938         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5939
5940         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5941         Add backward compatibility to "mono", "gray" and "no".
5942
5943 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5944
5945         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5946         (and file_format >= 200).
5947
5948 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5949
5950         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5951
5952 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5953
5954         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5955
5956 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5957
5958         * BufferView_pimpl.C:
5959         * LyXAction.C:
5960         * buffer.C:
5961         * commandtags.h:
5962         * lyxfunc.C:
5963         * paragraph.[Ch]:
5964         * text2.C:
5965         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5966         inset and code to make it  work with the paragraph code. The inset
5967         can be anywhere in the paragraph, but will only do the expected
5968         thing in LaTeX if the layout file contains the parameter line
5969                         OptionalArgs    1
5970         (or more generally, a nonzero value) for that layout.
5971
5972 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5973
5974         * paragraph.h: remove the declaration of undefined counters class
5975         function.
5976
5977 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5978
5979         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5980         Dr. Richard Hawkins.
5981
5982 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5983
5984         * paragraph_funcs.h: remove some unneeded includes
5985
5986         * text.C (backspace): pasteParagraph now in global scipe
5987
5988         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5989         (pasteSelection): ditto
5990
5991         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5992         * paragraph_funcs.C (pasteParagraph): ... here
5993
5994 2002-08-20  André Pönitz <poenitz@gmx.net>
5995
5996         * commandtags.h: new LFUNs for swapping/copying table row/colums
5997
5998         * LyXAction.C:
5999         * lyxfunc.C: support for new lfuns
6000
6001 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6002
6003         * tabular.C:
6004         * buffer.[Ch]: remove NO_COMPABILITY stuff
6005
6006 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6007
6008         * boost.C (throw_exception): new file, with helper function for
6009         boost compiled without exceptions.
6010
6011         * paragraph.h:
6012         * lyxlength.C:
6013         * buffer.C:
6014         * ParameterStruct.h:
6015         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6016
6017         * bufferlist.C (emergencyWriteAll): use boost bind
6018
6019         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6020
6021         * text.C: include paragraph_funcs.h
6022         (breakParagraph): breakParagraph is now in global scope
6023
6024         * paragraph_funcs.[Ch]: new files
6025
6026         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6027         global scope
6028
6029         * buffer.C: include paragraph_funcs.h
6030         (insertStringAsLines): breakParagraph is now in global scope
6031
6032         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6033         paragraph_funcs.C
6034
6035         * CutAndPaste.C: include paragraph_funcs.h
6036         (cutSelection): breakParagraphConservative is now in global scope
6037         (pasteSelection): ditto
6038
6039         * buffer.h: declare oprator== and operator!= for
6040         Buffer::inset_iterator
6041
6042         * bufferlist.C (emergencyWrite): don't use fmt(...)
6043
6044         * text3.C: add using std::endl
6045
6046         * BufferView.C (moveCursorUpdate): remove default arg
6047
6048 2002-08-20  André Pönitz <poenitz@gmx.net>
6049
6050         * buffer.[Ch]: move inline functions to .C
6051
6052         * BufferView2.C:
6053         * BufferView_pimpl.C:
6054         * text.C:
6055         * buffer.[Ch]: use improved inset_iterator
6056
6057         * buffer.C:
6058         * paragraph.[Ch]: write one paragraph at a time
6059
6060 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6061
6062         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6063         style if style is not specified.
6064
6065 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6066
6067         * text2.C (setCounter): when searching for right label for a
6068         caption, make sure to recurse to parent insets (so that a caption
6069         in a minipage in a figure float works) (bug #568)
6070
6071 2002-08-20  André Pönitz <poenitz@gmx.net>
6072
6073         * text3.C: new file for LyXText::dispatch() and helpers
6074
6075         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6076
6077         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6078
6079 2002-08-19  André Pönitz <poenitz@gmx.net>
6080
6081         * lyxtext.h:
6082         * text.C: new LyXText::dispatch()
6083
6084         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6085
6086 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6087
6088         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6089
6090         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6091         Hebrew text.
6092
6093 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6094
6095         * Makefile.am: use $(variables) instead of @substitutions@
6096
6097 2002-08-15  André Pönitz <poenitz@gmx.net>
6098
6099         * lyxfunc.C:
6100         * BufferView_pimpl.C: streamlining mathed <-> outer world
6101         interaction
6102
6103         * commandtags.h:
6104         * LyXAction.C: remove unused LFUN_MATH
6105
6106 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6107
6108         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6109
6110 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6111
6112         * paragraph.C (Paragraph): reformat a bit
6113         (cutIntoMinibuffer): use builtin InsetList function instad of
6114         doing it manually.
6115         (getInset): ditto
6116
6117         * buffer.C: include boost/bind.hpp, add using std::for_each
6118         (writeFileAscii): use ParagraphList iterators
6119         (validate): use for_each for validate traversal of paragraphs
6120         (getBibkeyList): use ParagraphList iterators
6121         (resizeInsets): use for_each to resizeInsetsLyXText for all
6122         paragraphs.
6123         (getParFromID): use ParagraphList iterators
6124
6125         * BufferView2.C (lockInset): use paragraph list and iterators
6126
6127 2002-08-14  John Levon  <levon@movementarian.org>
6128
6129         * lyxserver.C: remove spurious xforms include
6130
6131 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6132
6133         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6134
6135 2002-08-13  André Pönitz <poenitz@gmx.net>
6136
6137         * LyXAction.[Ch]:
6138         * lyxfunc.C: further cleaning
6139
6140 2002-08-13  André Pönitz <poenitz@gmx.net>
6141
6142         * funcrequest.h: new constructor
6143
6144         * funcrequest.C: move stuff here from .h
6145
6146         * Makefile.am:
6147         * BufferView_pimpl.C:
6148         * LyXAction.C:
6149         * toc.C:
6150         * lyxfunc.C: subsequent changes
6151
6152         * lyxfunc.h: new view() member function
6153
6154         * lyxfunc.C: subsequent changes
6155
6156 2002-08-13  Angus Leeming  <leeming@lyx.org>
6157
6158         * BufferView2.C:
6159         * BufferView_pimpl.C:
6160         * buffer.C:
6161         * converter.C:
6162         * importer.C:
6163         * lyxfunc.C:
6164         * lyxvc.C:
6165         * toc.C:
6166         * vc-backend.C:
6167         changes due to the changed LyXView interface that now returns references
6168         to member variables not pointers.
6169
6170 2002-08-13  Angus Leeming  <leeming@lyx.org>
6171
6172         * WordLangTuple (word, lang_code): return references to strings,
6173         not strings.
6174
6175         * BufferView.h:
6176         * SpellBase.h:
6177         * lyxtext.h: forward-declare WordLangTuple.
6178
6179         * BufferView2.C:
6180         * ispell.C:
6181         * pspell.C:
6182         * text.C: #include "WordLangTuple.h".
6183
6184         * lyxtext.h:
6185         * text.C: (selectNextWordToSpellcheck): constify return type.
6186
6187 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6188
6189         * buffer.C:
6190         * buffer.h:
6191         * lyxtext.h:
6192         * paragraph.C:
6193         * paragraph_pimpl.h:
6194         * text.C:
6195         * text2.C:
6196         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6197         suggested by Angus.
6198         Made updateCounter always count from start of buffer, and removed
6199         second argument (par).
6200         Reverted floats number display to '#'. Perhaps I'll try again when the
6201         code base is sanitized a bit.
6202
6203 2002-08-12  Angus Leeming  <leeming@lyx.org>
6204
6205         * buffer.[Ch] (getLabelList): constify.
6206
6207 2002-08-07  André Pönitz <poenitz@gmx.net>
6208
6209         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6210
6211         * funcrequest.h: extension to keep mouse (x,y) position
6212
6213 2002-08-12  Juergen Vigna  <jug@sad.it>
6214
6215         * BufferView2.C (insertErrors): forbid undo when inserting error
6216         insets.
6217
6218         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6219
6220 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6221
6222         * ParagraphList.[Ch]: new files
6223
6224         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6225
6226         * BufferView2.C (lockInset): ParagraphList changes
6227         * toc.C: ditto
6228         * text2.C: ditto
6229         * bufferlist.C: ditto
6230         * buffer.h: ditto
6231         * buffer.C: ditto
6232
6233 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6234
6235         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6236         unused class variable counter_,
6237
6238         * paragraph.[Ch] (getFirstCounter): delete unused function
6239
6240         * counters.C: include LAssert.h
6241         (reset): add a new function with no arg, change other version to
6242         not have def. arg and to not allow empty arg.
6243
6244         * text2.C (setCounter): remove empty arg from call to Counters::reset
6245
6246 2002-08-11  John Levon  <levon@movementarian.org>
6247
6248         * Makefile.am: add WordLangTuple.h
6249
6250 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6251
6252         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6253         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6254
6255         * insets/insettext.C: InsetList changes
6256
6257         * graphics/GraphicsSupport.C (operator()): InsetList changes
6258
6259         * toc.C (getTocList): InsetList changes
6260
6261         * paragraph_pimpl.[Ch]: InsetList changes
6262
6263         * paragraph.[Ch]: InsetList changes
6264
6265         * buffer.C (inset_iterator): InsetList changes
6266         (setParagraph): ditto
6267         * buffer.h (inset_iterator): ditto
6268         * iterators.C (operator++): ditto
6269         * iterators.h: ditto
6270
6271         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6272
6273         * InsetList.[Ch]: new files, most InsetList handling moved out of
6274         paragraph.C.
6275
6276         * BufferView2.C (removeAutoInsets): InsetList changes
6277         (lockInset): ditto
6278         (ChangeInsets): ditto
6279
6280 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6281
6282         * paragraph_pimpl.h (empty): new function
6283
6284         * paragraph.[Ch] (empty): new function
6285
6286         * other files: use the new Paragraph::empty function
6287
6288 2002-08-09  John Levon  <levon@movementarian.org>
6289
6290         * lyxtext.h: remove unused refresh_height
6291
6292 2002-08-09  John Levon  <levon@movementarian.org>
6293
6294         * Makefile.am:
6295         * sgml.h:
6296         * sgml.C:
6297         * buffer.C:
6298         * paragraph.h:
6299         * paragraph.C: move sgml char escaping out of paragraph
6300
6301         * paragraph.h:
6302         * paragraph.C: remove id setter
6303
6304         * buffer.C:
6305         * paragraph.C:
6306         * paragraph_pimpl.C: remove dead tex_code_break_column
6307
6308         * bufferview_funcs.C: small cleanup
6309
6310         * lyxfunc.C: remove dead proto
6311
6312         * lyxtext.h: make some stuff private. Remove some dead stuff.
6313
6314         * lyxgluelength.C: make as[LyX]String() readable
6315
6316 2002-08-08  John Levon  <levon@movementarian.org>
6317
6318         * LyXAction.h:
6319         * LyXAction.C:
6320         * MenuBackend.C:
6321         * ToolbarDefaults.C:
6322         * lyxfunc.C:
6323         * lyxrc.C:
6324         * toc.C: lyxaction cleanup
6325
6326 2002-08-08  John Levon  <levon@movementarian.org>
6327
6328         * BufferView2.C: small cleanup
6329
6330         * lyxfind.h:
6331         * lyxfind.C: move unnecessary header into the .C
6332
6333 2002-08-08  John Levon  <levon@movementarian.org>
6334
6335         * funcrequest.h: just tedious nonsense
6336
6337         * lyx_main.h:
6338         * lyx_main.C: cleanups
6339
6340         * buffer.C:
6341         * vspace.C: remove dead header lyx_main.h
6342
6343 2002-08-07  Angus Leeming  <leeming@lyx.org>
6344
6345         * Paragraph.[Ch]:
6346         * paragraph_pimpl.h:
6347         Forward declare class Counters in paragraph.h by moving the ctrs member
6348         variable into Paragraph::Pimpl.
6349         (counters): new method, returning a reference to pimpl_->ctrs.
6350
6351         * text2.C: ensuing changes.
6352
6353 2002-08-07  John Levon  <levon@movementarian.org>
6354
6355         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6356
6357         * BufferView_pimpl.C: announce X selection on double/triple
6358           click
6359
6360         * lyx_main.C: use correct bool in batch dispatch
6361
6362         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6363
6364 2002-08-07  André Pönitz <poenitz@gmx.net>
6365
6366         * funcrequest.h: new class to wrap a kb_action and its argument
6367
6368         * BufferView.[Ch]:
6369         * BufferView_pimpl[Ch]:
6370         * LaTeX.C:
6371         * LyXAction.[Ch]:
6372         * lyxfunc.[Ch]:
6373         * lyxrc.C: subsequent changes
6374
6375
6376 2002-08-07  John Levon  <levon@movementarian.org>
6377
6378         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6379           document options change.
6380
6381 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6382
6383         * counters.[Ch]
6384         * text2.C
6385         * paragraph.[Ch]
6386         * makefile.am: move counters functionality over from
6387         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6388
6389 2002-08-06  John Levon  <levon@movementarian.org>
6390
6391         * WordLangTuple.h: new file for word + language code tuple
6392
6393         * SpellBase.h:
6394         * pspell.h:
6395         * pspell.C:
6396         * ispell.h:
6397         * ispell.C:
6398         * lyxtext.h:
6399         * text.C:
6400         * text2.C:
6401         * BufferView.h:
6402         * BufferView2.C: use WordLangTuple
6403
6404         * layout.h:
6405         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6406
6407 2002-08-06  John Levon  <levon@movementarian.org>
6408
6409         * lyx_main.C: fix cmdline batch handling
6410
6411 2002-08-06  André Pönitz <poenitz@gmx.net>
6412
6413         * lyxrc.C: set default for show_banner to true
6414
6415 2002-08-06  John Levon  <levon@movementarian.org>
6416
6417         * pspell.C: fix a crash, and allow new aspell to work
6418
6419 2002-08-06  John Levon  <levon@movementarian.org>
6420
6421         * lyxfunc.C:
6422         * kbmap.C: small cleanup
6423
6424         * vspace.h:
6425         * vspace.C: add const
6426
6427 2002-08-05  John Levon  <levon@movementarian.org>
6428
6429         * LyXAction.C: back to tabular-insert
6430
6431 2002-08-04  John Levon  <levon@movementarian.org>
6432
6433         * BufferView.h:
6434         * BufferView.C: cosmetic change
6435
6436         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6437
6438         * bufferlist.C:
6439         * buffer.h:
6440         * buffer.C:
6441         * lyxcb.h:
6442         * lyxcb.C:
6443         * lyxserver.C:
6444         * lyxvc.C:
6445         * vc-backend.C:
6446         * BufferView2.C: purge all "Lyx" not "LyX" strings
6447
6448         * lyxcursor.h:
6449         * lyxcursor.C: attempt to add some documentation
6450
6451         * lyxfunc.C:
6452         * commandtags.h:
6453         * LyXAction.C:
6454         * ToolbarDefaults.C:
6455         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6456           merge with LFUN_TABULAR_INSERT
6457
6458         * Makefile.am:
6459         * SpellBase.h:
6460         * ispell.h:
6461         * ispell.C:
6462         * pspell.h:
6463         * pspell.C: split up i/pspell implementations into separate
6464           files, many cleanups
6465
6466         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6467
6468         * text2.C: some cleanup
6469
6470         * lyxfunc.C: don't check for isp_command == "none" any more, it
6471           didn't make any sense
6472
6473 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6474
6475         * counters.[Ch]
6476         * text2.C
6477         * paragraph.[Ch]
6478         * makefile.am: move counters functionality over
6479         from text2.C/paragraph.[Ch] to counters.[Ch], and
6480         make proper C++.
6481 2002-08-02  John Levon  <levon@movementarian.org>
6482
6483         * buffer.C: s/lyxconvert/lyx2lyx/
6484
6485 2002-08-02  Angus Leeming  <leeming@lyx.org>
6486
6487         * lyxlex.C: revert John's change as it breaks reading of the user
6488         preamble.
6489
6490 2002-08-02  Angus Leeming  <leeming@lyx.org>
6491
6492         * importer.C (Import):
6493         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6494         changes due to LyXView::view() now returning a boost::shared_ptr.
6495
6496 2002-08-02  John Levon  <levon@movementarian.org>
6497
6498         * lyxlex.C: small cleanup
6499
6500 2002-08-02  John Levon  <levon@movementarian.org>
6501
6502         * text2.C (status): small cleanup, no logic change
6503
6504 2002-08-01  John Levon  <levon@movementarian.org>
6505
6506         * buffer.h:
6507         * buffer.C (writeFile): don't output alerts, caller
6508           handles this
6509
6510         * bufferlist.C:
6511         * lyx_cb.C: from above
6512
6513         * lyxfunc.C: allow to open non-existent files
6514
6515 2002-07-31  John Levon  <levon@movementarian.org>
6516
6517         * lyxserver.C: don't let incidental errors get
6518           in the way (errno)
6519
6520 2002-07-30  John Levon  <levon@movementarian.org>
6521
6522         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6523
6524 2002-07-30  John Levon  <levon@movementarian.org>
6525
6526         * lyxserver.h:
6527         * lyxserver.C: remove I/O callback too
6528
6529 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6530
6531         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6532         log.
6533
6534 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6535
6536         * many files: strip,frontStrip -> trim,ltrim,rtrim
6537
6538 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6539
6540         * PrinterParams.h: remove extern containsOnly, and include
6541         support/lstrings.h instead.
6542
6543         * LaTeX.C (scanAuxFile): modify because of strip changes
6544         (deplog): ditto
6545         * buffer.C (makeLaTeXFile): ditto
6546         * bufferparams.C (writeFile): ditt
6547         * lyxfont.C (stateText): ditto
6548         * lyxserver.C (read_ready): ditto
6549         * vc-backend.C (scanMaster): ditto
6550
6551         * BufferView_pimpl.h: ws changes
6552
6553         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6554
6555 2002-07-26  André Pönitz <poenitz@gmx.net>
6556
6557         * kb_sequence.C: remove unnedred usings
6558
6559 2002-07-26  Juergen Vigna  <jug@sad.it>
6560
6561         * lyxfind.C (LyXReplace): we have to check better if the returned
6562         text is not of theLockingInset()->getLockingInset().
6563
6564 2002-07-25  Juergen Vigna  <jug@sad.it>
6565
6566         * lyxfind.C (LyXReplace): don't replace if we don't get the
6567         right LyXText.
6568
6569         * undo_funcs.C (createUndo): remove debugging code.
6570
6571 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6572
6573         * buffer.C (parseSingleLyXformat2Token): Use default placement
6574         when reading old floats.
6575
6576         * FloatList.C (FloatList): Change the default placement of figure
6577         and tables to "tbp".
6578
6579 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6580
6581         * MenuBackend.C: using std::max
6582
6583 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6584
6585         * MenuBackend.C (expandToc):
6586         (expandToc2): code moved from xforms menu frontend. It is now
6587         generic and TOCs are transparent to menu frontends.
6588
6589 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6590
6591         * toc.C (getTocList): protect against buf=0
6592
6593         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6594         Menu as first parameter. Now, this calls itself recursively to
6595         expand a whole tree (this will be useful for TOC handling)
6596         (expandFloatInsert): remove 'wide' version of floats
6597
6598         * MenuBackend.h (submenuname): returns the name of the submenu.
6599         (submenu): returns the submenu itself, provided it has been
6600         created by MenuBackend::expand
6601
6602 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6603
6604         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6605         insets which have noFontChange == true. (bug #172)
6606
6607 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6608
6609         * BufferView_pimpl.C: add connection objects and use them...
6610         (Pimpl): here.
6611
6612 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6613
6614         * MenuBackend.C (expandLastfiles):
6615         (expandDocuments):
6616         (expandFormats):
6617         (expandFloatListInsert):
6618         (expandFloatInsert):
6619         (expand): split expand in parts
6620
6621 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6622
6623         * lyx_gui.C: use lyx_gui::exit()
6624
6625 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6626
6627         * LyXAction.C: show the failing pseudo action
6628
6629 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6630
6631         * buffer.C (readFile): Run the lyxconvert script in order to read
6632         old files.
6633
6634 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6635
6636         * LyXAction.C:
6637         * commandtags.h:
6638         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6639
6640 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6641
6642         * LyXAction.C:
6643         * commandtags.h:
6644         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6645
6646 2002-07-22  Herbert Voss  <voss@lyx.org>
6647
6648         * lengthcommon.C:
6649         * lyxlength.[Ch]: add support for the vertical lengths
6650
6651 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6652
6653         * toc.[Ch]: std:: fixes
6654
6655 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6656
6657         * lyxrc.C: do not include lyx_main.h
6658
6659         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6660         for layouts
6661
6662         * lyxrc.C:
6663         * encoding.C:
6664         * bufferlist.C:
6665         * BufferView2.C: include "lyxlex.h"
6666
6667         * tabular.h:
6668         * bufferparams.h: do not #include "lyxlex.h"
6669
6670         * lyxtextclasslist.C (Add): remove method
6671         (classlist): renamed to classlist_
6672
6673         * paragraph_pimpl.C:
6674         * paragraph.C:
6675         * text2.C:
6676         * CutAndPaste.C:
6677         * bufferview_funcs.C:
6678         * bufferlist.C:
6679         * text.C:
6680         * LaTeXFeatures.C:
6681         * buffer.C:
6682         * toc.C (getTocList): use BufferParams::getLyXTextClass
6683
6684         * toc.C (getTocList): use InsetFloat::addToToc
6685
6686         * toc.[Ch]: new files, containing helper functions to handle table
6687         of contents
6688
6689         * lyxfunc.C (dispatch): no need to remove spaces around command
6690         given as a string
6691         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6692         first command of the sequence; it is not very clever, but I do not
6693         have a better idea, actually
6694
6695         * LyXAction.C (LookupFunc): make sure to remove space at the
6696         beginning and end of the command
6697
6698 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6699
6700         * MenuBackend.C (getMenubar): new method: return the menubar of
6701         this menu set
6702         (read): treat differently reading of menu and menubar (in
6703         particular, the menubar has no name now)
6704         (Menu::menubar): remove
6705
6706         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6707         saving is finished
6708
6709 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6710
6711         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6712         a bibitem inset in a RTL paragraph.
6713
6714 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6715
6716         * paragraph_pimpl.C: constify
6717
6718         * BufferView_pimpl.C:
6719         * LaTeX.C:
6720         * lyxfunc.C: fix dispatch in a nicer way
6721
6722 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6723
6724         * lyxfunc.C (dispatch):
6725         * BufferView_pimpl.C:
6726         * BufferView_pimpl.h:
6727         * BufferView.C:
6728         * BufferView.h: rename Dispatch() to dispatch()
6729
6730         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6731
6732         * lyxlayout.C (Read): honor DependsOn tag
6733
6734         * lyxlayout.[Ch] (depends_on): new method
6735
6736         * version.C.in: update lyx_docversion
6737
6738         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6739
6740         * paragraph.C (validate): remove from here...
6741         * paragraph_pimpl.C (validate): ... and move here
6742         (isTextAt): make it const
6743
6744         * buffer.C (getLists): ws cleanup
6745
6746 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6747
6748         * language.C (read): Use iso8859-1 encoding in latex_lang
6749         (this prevents LyX from crashing when using iso10646-1 encoding).
6750
6751 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6752
6753         * text2.C (toggleInset): if cursor is inside an inset, close the
6754         inset and leave cursor _after_ it
6755
6756 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6757
6758         * lyxfunc.C: move minibuffer completion handling out of here
6759
6760 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6761
6762         * BufferView_pimpl.C:
6763         * LaTeX.C: fix dispatch calls
6764
6765 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6766
6767         * text.C (drawChars): Fix Arabic text rendering.
6768
6769 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6770
6771         * LyXAction.C:
6772         * commandtags.h:
6773         * lyxfunc.C: remove message-push/pop
6774
6775         * lyxserver.C:
6776         * lyxfunc.h:
6777         * lyxfunc.C: rationalise some code by removing verboseDispatch
6778           in favour of a bool argument to dispatch()
6779
6780 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6781
6782         * lyx_main.C (init): make sure to read symlinks as absolute paths
6783
6784 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6785
6786         * lyxfunc.h:
6787         * lyxfunc.C: no need for commandshortcut to be a member
6788
6789 2002-07-15  André Pönitz <poenitz@gmx.net>
6790
6791         * converter.C: add support for $$s (scripts from lib/scripts dir)
6792         * lyx_main.C: white space
6793
6794 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6795
6796         * bufferlist.C:
6797         * lyxrc.h:
6798         * lyxrc.C: remove second exit confirmation
6799
6800 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6801
6802         * BufferView.h:
6803         * BufferView.C:
6804         * BufferView2.C:
6805         * BufferView_pimpl.h:
6806         * BufferView_pimpl.C:
6807         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6808
6809 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6810
6811         * MenuBackend.C (expand): add numeric shortcuts to document menu
6812
6813         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6814
6815 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6816
6817         * lyxfont.C (setLyXFamily):
6818         (setLyXSeries):
6819         (setLyXShape):
6820         (setLyXSize):
6821         (setLyXMisc):
6822         (lyxRead):
6823         * debug.C (value):
6824         * buffer.C (asciiParagraph): use ascii_lowercase
6825
6826 2002-07-15  Mike Fabian  <mfabian@suse.de>
6827
6828         * lyxlex_pimpl.C (search_kw):
6829         * lyxlex.C (getLongString):
6830         * converter.h (operator<):
6831         * converter.C (operator<):
6832         * buffer.C (parseSingleLyXformat2Token):
6833         (asciiParagraph):
6834         * ToolbarDefaults.C (read):
6835         * MenuBackend.C (checkShortcuts):
6836         (read):
6837         * LColor.C (getFromGUIName):
6838         (getFromLyXName): use the compare_ascii_no_case instead of
6839         compare_no_case, because in turkish, 'i' is not the lowercase
6840         version of 'I', and thus turkish locale breaks parsing of tags.
6841
6842 2002-07-16  Angus Leeming  <leeming@lyx.org>
6843
6844         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6845         now takes a Buffer const & argument.
6846
6847 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6848
6849         * BufferView.C (resize): check there's a buffer to resize
6850
6851 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6852
6853         * lyxfunc.C: remove dead code
6854
6855         * lyxserver.h:
6856         * lyxserver.C: use lyx_guii::set_read_callback
6857
6858 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6859
6860         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6861         an inset in a RTL paragraph.
6862
6863 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6864
6865         * lyxfunc.C: repaint after a font size update
6866
6867 2002-07-15  André Pönitz <poenitz@gmx.net>
6868
6869         * lyxlength.C: inBP should be able to return negative values
6870
6871 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6872
6873         * lyxfunc.C: use lyx_gui::update_fonts()
6874
6875 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6876
6877         * lyxfunc.C: use lyx_gui::update_color()
6878
6879 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6880
6881         * bufferlist.C:
6882         * lyxfunc.h:
6883         * lyxfunc.C:
6884         * lyxrc.h:
6885         * lyxrc.C: remove file->new asks for name option, and let
6886           buffer-new take an argument
6887
6888 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6889
6890         * BufferView_pimpl.C: remove unneeded extra repaint()
6891
6892 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6893
6894         * LyXAction.C: allow command-sequence with NoBuffer
6895
6896         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6897
6898 2002-07-10  Angus Leeming  <leeming@lyx.org>
6899
6900         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6901
6902 2002-07-09  Angus Leeming  <leeming@lyx.org>
6903
6904         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6905
6906 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6907
6908         * lengthcommon.h: whitespace
6909
6910         * lyxfunc.C: update scrollbar after goto paragraph
6911
6912         * lyxtext.h: factor out page break drawing, and fix it so
6913           page break/added space paints as selected nicely
6914
6915 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6916
6917         * BufferView_pimpl.C: add FIXMEs, clean up a little
6918
6919 2002-07-09  André Pönitz <poenitz@gmx.net>
6920
6921         * lyxfont.[Ch]: support for wasy symbols
6922
6923 2002-07-08  André Pönitz <poenitz@gmx.net>
6924
6925         * BufferView_pimpl.C: apply John's patch for #93.
6926
6927 2002-07-05  Angus Leeming  <leeming@lyx.org>
6928
6929         * BufferView_pimpl.C (buffer): generate previews if desired.
6930
6931         * LColor.h: add "preview" to the color enum.
6932
6933         * LColor.C (LColor): add a corresponding entry to the items array.
6934
6935         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6936         with this buffer.
6937
6938 2002-07-05  Angus Leeming  <leeming@lyx.org>
6939
6940         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6941         The body of the code is now in the method that is passed an ostream &
6942         rather than a file name.
6943         Pass an additional only_preamble parameter, useful for the forthcoming
6944         preview stuff.
6945
6946 2002-07-03  André Pönitz <poenitz@gmx.net>
6947
6948         * lyxfunc.C: simplify getStatus() a bit for math stuff
6949
6950 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6951
6952         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6953
6954 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6955
6956         * text.C (changeRegionCase): do not change case of all the
6957         document when region ends at paragraph end (bug #461)
6958
6959 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6960
6961         * paragraph.C (startTeXParParams):
6962         (endTeXParParams): add \protect when necessary
6963
6964 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6965
6966         * BufferView_pimpl.C (workAreaExpose): remove warning
6967
6968 2002-06-27  Angus Leeming  <leeming@lyx.org>
6969
6970         * Makefile.am: add lyxlayout_ptr_fwd.h.
6971
6972 2002-06-26  André Pönitz <poenitz@gmx.net>
6973
6974         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6975
6976 2002-06-25  Angus Leeming  <leeming@lyx.org>
6977
6978         * lyxfunc.C (dispatch): Comment out the call to
6979         grfx::GCache::changeDisplay. The method no longer exists now that the
6980         pixmap generation part of the graphics loader has been moved into
6981         InsetGraphics.
6982
6983 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6984
6985         * text2.C: layout as layout
6986
6987         * text.C: layout as layout
6988
6989         * tabular.C (OldFormatRead): layout as layout
6990
6991         * paragraph_pimpl.C (TeXDeeper): layout as layout
6992         (realizeFont): layout as layout
6993
6994         * paragraph.C (writeFile): layout as layout
6995         (validate): layout as layout
6996         (getFont): layout as layout
6997         (getLabelFont): layout as layout
6998         (getLayoutFont): layout as layout
6999         (breakParagraph): layout as layout
7000         (stripLeadingSpaces): layout as layout
7001         (getEndLabel): layout as layout
7002         (getMaxDepthAfter): layout as layout
7003         (applyLayout): layout as layout
7004         (TeXOnePar): layout as layout
7005         (simpleTeXOnePar): layout as layout
7006         (TeXEnvironment): layout as layout
7007         (layout): layout as layout
7008         (layout): layout as layout
7009
7010         * lyxtextclass.C (compare_name): new functor to work with
7011         shared_ptr, layout as layout
7012         (Read): layout as layout
7013         (hasLayout): layout as layout
7014         (operator): layout as layout
7015         (delete_layout): layout as layout
7016         (defaultLayout): layout as layout
7017
7018         * lyxlayout_ptr_fwd.h: new file
7019
7020         * lyxlayout.C (Read): layout as layout
7021
7022         * lyx_cb.C (MenuInsertLabel): layout as layout
7023
7024         * bufferlist.C (newFile): layout as layout
7025
7026         * buffer.C (readLyXformat2): layout as layout
7027         (parseSingleLyXformat2Token): layout as layout
7028         (insertStringAsLines): layout as layout
7029         (asciiParagraph): layout as layout
7030         (latexParagraphs): layout as layout
7031         (makeLinuxDocFile): layout as layout
7032         (simpleLinuxDocOnePar): layout as layout
7033         (makeDocBookFile): layout as layout
7034         (simpleDocBookOnePar): layout as layout
7035         (getLists): layout as layout
7036
7037         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7038
7039         * CutAndPaste.C (cutSelection): layout as layout
7040         (pasteSelection): layout as layout
7041         (SwitchLayoutsBetweenClasses): layout as layout
7042
7043         * BufferView_pimpl.C (Dispatch): layout as layout
7044         (smartQuote): layout as layout
7045
7046         * BufferView2.C (unlockInset): layout as layout
7047
7048 2002-06-24  André Pönitz <poenitz@gmx.net>
7049
7050         * lyxfunc.C: fix #487
7051
7052 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7053
7054         * lyxrc.h:
7055         * lyxrc.C:
7056         * lyxfunc.C: remove display_shortcuts, show_banner
7057
7058 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7059
7060         * Buffer_pimpl.C: oops, update on resize
7061
7062 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7063
7064         * buffer.C:
7065         * converter.C:
7066         * exporter.C:
7067         * lyxfunc.C:
7068         * BufferView.h:
7069         * BufferView.C: use repaint()
7070
7071         * BufferView_pimpl.h:
7072         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7073           as it's a clearer description. Remove superfluous
7074           redraws.
7075
7076 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7077
7078         * text.C: fix bug 488. Not ideal, but getting
7079           getWord() to work properly for the insets that
7080           matter is more difficult ...
7081
7082 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7083
7084         * BufferView_pimpl.C:
7085         * LyXAction.C:
7086         * commandtags.h:
7087         * lyxfunc.C: remove the six million index lyxfuncs to just
7088           one, and DTRT (bug 458)
7089
7090 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7091
7092         * BufferView.h:
7093         * BufferView.C:
7094         * BufferView_pimpl.h:
7095         * BufferView_pimpl.C: clean up resize() stuff,
7096           and unnecessary updateScreen()s
7097
7098 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7099
7100         * BufferView.h:
7101         * BufferView.C:
7102         * BufferView_pimpl.h:
7103         * BufferView_pimpl.C:
7104         * lyxfind.h:
7105         * lyxfind.C:
7106         * minibuffer.C: remove focus management of workarea,
7107           not needed. Use screen's greyOut()
7108
7109 2002-06-17  Herbert Voss  <voss@lyx.org>
7110
7111         * converter.C: (convert) do not post a message, when converting
7112         fails, let the calling function decide what to do in this case
7113
7114 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7115
7116         * lyxfunc.C: tidy up a little
7117
7118 2002-06-16    <alstrup@diku.dk>
7119
7120         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7121         Got rid of FORMS_H_LOCATION include. Now we are
7122         GUII.
7123
7124 2002-06-15  LyX Development team  <lyx@rilke>
7125
7126         * buffer.[Ch] (sgmlOpenTag):
7127         (sgmlCloseTag): Added support for avoiding pernicious mixed
7128         content. Return number of lines written.
7129
7130         (makeLinuxDocFile):
7131         (makeDocBookFile): Fixed calls to sgml*Tag.
7132         Simple white space clean.
7133
7134         (simpleDocBookOnePar): Simple white space clean.
7135
7136         * tabular.[Ch] (docBook): Renamed to docbook and got another
7137         argument to related with the pernicious mixed content.
7138
7139         (docbookRow): Fixed calls for docbook inset method.
7140
7141 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7142
7143         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7144         so it's X11 independent.
7145
7146         * kb*.[Ch]: ditto.
7147
7148         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7149
7150 2002-06-15  Lyx Development team  <lyx@electronia>
7151
7152         * intl.h: Renamed getTrans to getTransManager.
7153
7154 2002-06-14  Angus Leeming  <leeming@lyx.org>
7155
7156         * Makefile.am: nuke forgotten stl_string_fwd.h.
7157
7158 2002-06-12  Angus Leeming  <leeming@lyx.org>
7159
7160         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7161
7162 2002-06-13  Angus Leeming  <leeming@lyx.org>
7163
7164         * LaTeX.C:
7165         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7166
7167 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7168
7169         * kbmap.C (getiso): add support for cyrillic and greek
7170
7171 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7172
7173         * BufferView.h:
7174         * BufferView.C:
7175         * BufferView_pimpl.h:
7176         * BufferView_pimpl.C: move bogus scrolling logic
7177           to xforms
7178
7179 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7180
7181         * lyxfunc.C:
7182         * BufferView_pimpl.C: view->resize() change
7183
7184 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7185
7186         * BufferView_pimpl.C: topCursorVisible
7187           prototype change
7188
7189 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7190
7191         * Makefile.am:
7192         * lyx_gui.h:
7193         * lyx_gui.C: move to frontends/
7194
7195         * main.C:
7196         * lyx_main.h:
7197         * lyx_main.C: changes from above
7198
7199 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7200
7201         * intl.C:
7202         * intl.h:
7203         * kbmap.C:
7204         * kbsequence.C:
7205         * lyx_cb.C:
7206         * lyx_main.C: minor tidy
7207
7208 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7209
7210         * BufferView_pimpl.h:
7211         * BufferView_pimpl.C:
7212         * BufferView.h:
7213         * BufferView.C: make painter() const,
7214           remove dead code
7215
7216         * BufferView2.C: use screen() accessor
7217
7218         * lyx_main.h:
7219         * lyx_main.C: some minor cleanup
7220
7221 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7222
7223         * BufferView_pimpl.h:
7224         * BufferView_pimpl.C: remove enter/leaveView,
7225           use workHeight()
7226
7227 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7228
7229         * BufferView.h:
7230         * BufferView.C:
7231         * BufferView2.C:
7232         * BufferView_pimpl.h:
7233         * BufferView_pimpl.C: only construct screen once,
7234           rename
7235
7236         * lyxrc.C: remove pointless comment
7237
7238 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7239
7240         * BufferView.h:
7241         * BufferView.C: remove active() and belowMouse()
7242
7243         * BufferView_pimpl.h:
7244         * BufferView_pimpl.C: use workarea() not workarea_,
7245           and make it use a scoped_ptr instead
7246
7247 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7248
7249         * lyx_gui.C: add debug message on BadWindow
7250
7251 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7252
7253         * sp_spell.C: fdopen is not part of the C++ standard.
7254
7255         * paragraph.C (InsetIterator): use >= instead of ==
7256
7257 2002-06-07  Angus Leeming  <leeming@lyx.org>
7258
7259         Fixes needed to compile with Compaq cxx 6.5.
7260         * BufferView_pimpl.C:
7261         * DepTable.C:
7262         * buffer.C:
7263         * converter.C:
7264         * encoding.C:
7265         * lyx_gui.C:
7266         * lyx_main.C:
7267         * lyxtextclasslist.C:
7268         * minibuffer.C:
7269         * sp_spell.C:
7270         * tabular_funcs.C:
7271         * vc-backend.C:
7272         all c-library variables have been moved into namespace std. Wrap
7273         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7274
7275         * lyxlength.C:
7276         * tabular-old.C:
7277         * tabular.C:
7278         Add a using std::abs declaration.
7279
7280         * kbmap.h (modifier_pair):
7281         * paragraph.h (InsetTable, InsetList):
7282         * lyxfont.h (FontBits):
7283         type definition made public.
7284
7285         * bufferlist.C (emergencyWriteAll): the compiler complains that
7286         there is more than one possible lyx::class_fun template to choose from.
7287         I re-named the void specialisation as lyx::void_class_fun.
7288
7289         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7290
7291         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7292         the compiler is is unable to find tostr in write_attribute.
7293
7294 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7295
7296         * buffer.C (sgmlError): hide #warning
7297
7298 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7299
7300         * xtl/*: get rid of xtl, which is not in use anyway
7301
7302         * LyXAction.C (init):
7303         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7304         were unimplemented xtl experimentation
7305
7306 2002-06-04  André Pönitz <poenitz@gmx.net>
7307
7308         * lyxfunc.C: disable array operation on simple formulae
7309
7310 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7311
7312         * converter.C: constify a bit
7313
7314 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7315
7316         * lyx_gui.C: check xforms version correctly
7317
7318 2002-04-30  Herbert Voss  <voss@lyx.org>
7319
7320         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7321         "keep" option
7322
7323 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7324
7325         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7326           attempt to register it with a VCS)
7327
7328 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7329
7330         * lyx_main.C (init): honor variables LYX_DIR_13x and
7331         LYX_USERDIR_13x
7332
7333 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7334
7335         * buffer.h:
7336         * buffer.C:
7337         * lyx_main.C: fix a crash on bad command line,
7338           and give a useful exit status on error
7339
7340         * lyxfunc.C (doImport): allow -i lyx to work
7341
7342 2002-03-30  André Pönitz <poenitz@gmx.net>
7343
7344         * lyxfunc.C: mathed font changes
7345
7346 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7347
7348         * LaTeX.C:
7349         * importer.h:
7350         * importer.C:
7351         * lyx_sty.h:
7352         * lyx_sty.C:
7353         * lyxlex.C:
7354         * lyxrow.h:
7355         * lyxtext.h:
7356         * paragraph.h:
7357         * paragraph.C:
7358         * texrow.h:
7359         * texrow.C:
7360         * text.C:
7361         * trans_mgr.h: srcdocs, and some minor cleanups
7362
7363 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7364
7365         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7366         call getFont all the time)
7367
7368 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7369
7370         * switch from SigC signals to boost::signals
7371
7372 2002-05-29  André Pönitz <poenitz@gmx.net>
7373
7374         * paragraph_pimpl.C (getChar): don't call size() too often...
7375
7376 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7377
7378         * paragraph_pimpl.C (insertChar): do not try to update tables when
7379         appending (pos == size())
7380
7381         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7382         in order to reduce drastically the number of comparisons needed to
7383         parse a large document
7384
7385 2002-05-29  André Pönitz <poenitz@gmx.net>
7386
7387         * text.C:
7388         * text2.C:
7389         * lyxtextclass.C:
7390         * sp_pspell.h:
7391         * textclasslist.[Ch]:
7392         * sp_ispell.h: whitespace change
7393
7394 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7395
7396         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7397         lyxaction directly now.
7398
7399 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7400
7401         * trans.C:
7402         * lyxfont.C:
7403         * lyxvc.C: remove unused headers
7404
7405 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7406
7407         * Makefile.am:
7408         * buffer.h:
7409         * undostack.h:
7410         * undostack.C:
7411         * undo_funcs.h:
7412         * undo_funcs.C: some cleanups. Use shared_ptr
7413           and a template for the undo stacks.
7414
7415 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7416
7417         * BufferView_pimpl.h:
7418         * BufferView_pimpl.C:
7419         * kbmap.h:
7420         * kbmap.C:
7421         * kbsequence.h:
7422         * kbsequence.C:
7423         * lyxfunc.h:
7424         * lyxfunc.C:
7425         * text2.C: use key_state/mouse_state
7426
7427 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7428
7429         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7430         and LSubstring
7431
7432         * chset.C: change include order
7433         (loadFile): use boost regex and get rid of LRegex and LSubstring
7434
7435         * Makefile.am (BOOST_LIBS): new variable
7436         (lyx_LDADD): use it
7437
7438         * LaTeX.C: change include order.
7439         (scanAuxFile): use boost regex and get rid of LRegex and
7440         LSubstring
7441         (deplog): ditto
7442
7443 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7444
7445         * ColorHandler.h:
7446         * ColorHandler.C:
7447         * FontInfo.h:
7448         * FontInfo.C: moved to frontends/xforms/
7449
7450         * FontLoader.h:
7451         * FontLoader.C: moved into frontends for GUIIzation
7452
7453         * Makefile.am:
7454         * lyx_gui.C:
7455         * lyxfont.C:
7456         * lyxfunc.C: changes from above
7457
7458 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7459
7460         * LColor.C: remove spurious X include
7461
7462         * BufferView_pimpl.C:
7463         * Makefile.am:
7464         * font.h:
7465         * font.C:
7466         * text.C:
7467         * text2.C: move font metrics to frontends/
7468
7469 2002-05-24  Juergen Vigna  <jug@sad.it>
7470
7471         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7472         setting the undo_cursor.
7473
7474         * ParagraphParameters.h: include local includes first.
7475
7476 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7477
7478         * BufferView_pimpl.C:
7479         * BufferView_pimpl.h:
7480         * Makefile.am:
7481         * WorkArea.h:
7482         * WorkArea.C:
7483         * screen.C: move WorkArea into frontends/
7484
7485         * lyxscreen.h:
7486         * screen.C:
7487         * text.C:
7488         * BufferView.C:
7489         * BufferView2.C: move LyXScreen into frontends/
7490
7491         * lyxlookup.h:
7492         * lyxlookup.C:
7493         * lyx_gui.C: move lyxlookup into frontends/xforms/
7494
7495 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7496
7497         * BufferView2.C:
7498         * BufferView_pimpl.C:
7499         * FontLoader.C:
7500         * LyXView.h:
7501         * LyXView.C:
7502         * Makefile.am:
7503         * WorkArea.C:
7504         * XFormsView.h:
7505         * XFormsView.C:
7506         * buffer.C:
7507         * bufferlist.C:
7508         * bufferview_funcs.C:
7509         * converter.C:
7510         * importer.C:
7511         * lyx_cb.C:
7512         * lyx_gui.C:
7513         * lyx_main.C:
7514         * lyx_find.C:
7515         * lyxfunc.C:
7516         * lyxvc.C:
7517         * minibuffer.C:
7518         * text.C:
7519         * text2.C:
7520         * trans.C:
7521         * vc-backend.C: move LyX/XFormsView into frontends/
7522
7523 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7524
7525         * Makefile.am:
7526         * PainterBase.C:
7527         * PainterBase.h:
7528         * Painter.C:
7529         * Painter.h:
7530         * WorkArea.C:
7531         * WorkArea.h:
7532         * screen.C:
7533         * tabular.C:
7534         * text.C:
7535         * text2.C: move Painter to frontends/
7536
7537 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7538
7539         * buffer.C: comment out some some code that depend upon lyx_format
7540         < 220
7541
7542         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7543         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7544
7545         * buffer.h (NO_COMPABILITY): turn off compability
7546
7547         * ColorHandler.C: include scoped_array.hpp
7548
7549         * font.C: Use more specific smart_ptr header.
7550         * Painter.C: ditto
7551         * gettext.C: ditto
7552         * ShareContainer.h: ditto
7553         * lyx_main.h: ditto
7554         * kbmap.h: ditto
7555         * FontInfo.h: ditto
7556         * BufferView_pimpl.h: ditto
7557         * ColorHandler.h: ditto
7558
7559         * kbmap.C (defkey): change call to shared_ptr::reset
7560
7561 2002-05-21  Juergen Vigna  <jug@sad.it>
7562
7563         * buffer.C (insertErtContents): fix to insert ert asis if it is
7564         non empty. Skip it completely if it contains only whitespaces.
7565
7566 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7567
7568         * BufferView_pimpl.C:
7569         * BufferView2.C: clear selection on paste (bug 393)
7570
7571 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7572
7573         * DepTable.C: include ctime
7574
7575 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7576
7577         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7578
7579 2002-05-14  Juergen Vigna  <jug@sad.it>
7580
7581         * text.C (breakParagraph): fixed function to honor the keepempty
7582         layout in the right maner and also to permit the right breaking
7583         algorithm on empty or non empyt keepempty paragraphs.
7584
7585         * paragraph.C (breakParagraph): we have to check also if the par
7586         is really empty (!size()) for isempty otherwise we do the wrong
7587         paragraph break.
7588
7589 2002-05-10  Juergen Vigna  <jug@sad.it>
7590
7591         * buffer.[Ch] : The following are only changes to the ert
7592         compatibility read reading old LaTeX layout and font stuff and
7593         convert it to ERTInsets.
7594
7595         * buffer.h: added isErtInset().
7596
7597         * buffer.C (struct ErtComp): add a fromlayout bool to check
7598         if we're inside a LaTeX layout.
7599         (isErtInset): new helper function.
7600         (insertErtContents): look for other ert insets before this one
7601         and insert the contents there, so that we don't have subsequent
7602         ERT insets with nothing between them. This way we create only one
7603         inset with multiple paragraphs. Also check if we don't insert only
7604         spaces ' ' as they are ignored anyway afterwards in the .tex file
7605         so if we have only spaces we will ignore this latex part in the
7606         new file.
7607         (parseSingleLyXformat2Token \\layout): better compatibility when
7608         reading layout-latex stuff.
7609         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7610         language tag.
7611         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7612         stuff after reading the inset only get the information back from
7613         the stack.
7614
7615 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7616
7617         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7618
7619         * LaTeXFeatures.C (getBabelOptions): New method.
7620
7621 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7622
7623         * BufferView_pimpl.C (Dispatch): work around missing argument for
7624         'layout'
7625
7626 2002-05-08  Juergen Vigna  <jug@sad.it>
7627
7628         * text.C (leftMargin): handle paragraph leftindent.
7629
7630         * paragraph.C (writeFile): write the new \\leftindent tag.
7631         (validate): handle leftindent code.
7632         (TeXEnvironment): handle paragraphleftindent code again.
7633
7634         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7635
7636         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7637         for paragrap_extra indent code and new token \\leftindent.
7638         (latexParagraphs): handle the leftindent as environment.
7639
7640         * ParameterStruct.h: added leftindent support.
7641
7642         * ParagraphParameters.C (leftIndent): added support functions for
7643         the paragraph left indent.
7644
7645         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7646         more appropriate.
7647
7648 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7649
7650         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7651         inside insetERT.
7652
7653         * text.C (computeBidiTables): No bidi in insetERT.
7654
7655         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7656         in RTL documents.
7657
7658 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7659
7660         * version.C.in: pre 5
7661
7662 2002-05-02  José Matos  <jamatos@fep.up.pt>
7663         * buffer.C (makeDocBookFile): white space changes, add newline to
7664         command styles.
7665         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7666
7667         * tabular.C (docBook): fix typo.
7668
7669 2002-05-03  Juergen Vigna  <jug@sad.it>
7670
7671         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7672         change in LyXText as we can not be sure it was not freed.
7673         (drawOneRow): remove unused code.
7674
7675         * text.C (drawInset): redo the calculation of the need_break_row as
7676         it could have a row which was already freed.
7677         (draw): look at the return value of drawInset and return false if
7678         it also returned false.
7679         (paintRowText): look at the return value of draw and return false if
7680         it also returned false.
7681
7682         * lyxtext.h: added bool return type to drawInset() and draw() so that
7683         if we have a change in the row so that the rowbreak has to be redone
7684         we abort drawing as it will be called again.
7685
7686 2002-05-02  Juergen Vigna  <jug@sad.it>
7687
7688         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7689         a change in the maintext also if we're inside an inset.
7690         (Dispatch): set the cursor again after a break line and after the
7691         screen has been updated as it could be we're in a different row.
7692
7693         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7694         to set the cursor behind the pargraph with > size().
7695         (setCursor): check also for the same paragraph when checking where
7696         to put the cursor if we have a NFR inset.
7697
7698         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7699         parts of layout read further up as it still was in the wrong
7700         position.
7701
7702 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7703
7704         * screen.C (drawFromTo): change sine fullRebreak always return
7705         true.
7706
7707         * buffer.C (parseSingleLyXformat2Token): reindent some
7708
7709         * BufferView_pimpl.C (update): change since fullRebreak always
7710         return true.
7711         (Dispatch): git rid of the last hardcoded "Standard"s.
7712
7713 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7714
7715         * text2.[Ch] (fullRebreak): make it return void now that we always
7716         returned true.
7717
7718 2002-04-30  Juergen Vigna  <jug@sad.it>
7719
7720         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7721         ert compatibility check for "latex" layout.
7722
7723 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7724
7725         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7726         minipages: use col% instead of p%, and also use the current font.
7727         (makeLaTeXFile): Fix use babel condition.
7728         (parseSingleLyXformat2Token): Correct font when reading old floats.
7729
7730 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7731
7732         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7733         inserting list of floats.
7734
7735 2002-04-25  Herbert Voss  <voss@lyx.org>
7736
7737         * MenuBackend.C (expand): don't add the graphics extensions to the
7738         export menu
7739
7740 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7741
7742         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7743         non-existing layout, do not complain if it was the default layout
7744         of the original class (bug #342)
7745
7746 2002-04-24  Juergen Vigna  <jug@sad.it>
7747
7748         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7749         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7750
7751 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7752
7753         * buffer.C (getBibkeyList): If using \bibliography, return the
7754         option field with the reference itself. Enables us to provide natbib
7755         support when using \bibliography.
7756
7757 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7758
7759         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7760
7761         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7762         natbib is provided by the LaTeX class.
7763
7764 2002-04-23  Juergen Vigna  <jug@sad.it>
7765
7766         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7767         Wakeup functions.
7768
7769         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7770
7771 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7772
7773         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7774
7775         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7776         ensuremath around textordmasculine, textordfeminine and
7777         textdegree.
7778
7779 2002-04-19  Juergen Vigna  <jug@sad.it>
7780
7781         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7782         reinitializing the buffer otherwise row-dimensions may be wrong.
7783         (update): reset also the selection cursors if they do exits otherwise
7784         their x/y positions may be wrong.
7785
7786         * text2.C (cursorDown): don't enter the inset if we came from a row
7787         above and are one row over the inset.
7788
7789         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7790         really leaving an inset.
7791
7792 2002-04-18  Juergen Vigna  <jug@sad.it>
7793
7794         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7795         of the selected paragraph does not have the selected layout also if
7796         the last one had!
7797
7798         * text2.C (setLayout): fixed bug which did not change last selected
7799         paragraph.
7800
7801         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7802         changed the read and substituted \\end_float with \\end_inset!
7803
7804         * BufferView_pimpl.C (cursorPrevious):
7805         (cursorNext): fixed to make it work with rows heigher than the work
7806         area without moving the cursor only the draw of the row.
7807         (workAreaMotionNotify): fix jumping over high rows.
7808
7809 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7810
7811         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7812         Ressler.
7813
7814 2002-04-16  Juergen Vigna  <jug@sad.it>
7815
7816         * text2.C (setCursor): set also the irow().
7817         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7818         (cursorUp):
7819         (cursorDown): support for locking an inset if the x_fix value goes
7820         inside it. That way I can transverse insets too with cursor up/down.
7821
7822         * lyxrow.h: added irow helper function same as other (i) functions.
7823
7824         * BufferView_pimpl.C (cursorPrevious):
7825         (cursorNext): fixed for insets!
7826
7827 2002-04-15  Juergen Vigna  <jug@sad.it>
7828
7829         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7830         position otherwise it is wrong in some cases.
7831
7832         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7833         inside the inset before the call.
7834
7835 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7836
7837         * buffer.[Ch] (getBibkeyList): make it const.
7838
7839 2002-04-12  Juergen Vigna  <jug@sad.it>
7840
7841         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7842
7843         * text2.C (getCursorX): new helper function
7844         (setCursor): compute also ix_
7845         (setCursorFromCoordinates): set also ix.
7846
7847         * lyxcursor.h: added ix_ and helper functions.
7848
7849         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7850
7851         * buffer.C (insertStringAsLines): dont break paragraph if the this
7852         paragraph is inside an inset which does not permit it!
7853
7854         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7855         also with no chars on this paragraph.
7856         (paintRowText): only paint stuff if it's inside the workarea!
7857
7858         * paragraph.C (breakParagraph): honor keepempty flag and break the
7859         paragraph always below not above.
7860
7861         * BufferView2.C (unlockInset): update the paragraph layout on inset
7862         unlock as we changed paragraph in such a case.
7863
7864         * lyxfind.C (LyXFind): clear the former selection if not found!
7865
7866         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7867         again called in insertChar().
7868
7869         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7870         an inset which uses the whole row!
7871         (rightMargin): ditto.
7872         (insertChar): force a rebreak if we inserted an inset!
7873
7874 2002-03-28  Herbert Voss  <voss@lyx.org>
7875
7876         * lyxlength.[Ch]: add inBP() to get the right PS-point
7877         units (BigPoint). With inPixels we have rounding errors
7878
7879 2002-04-11  Juergen Vigna  <jug@sad.it>
7880
7881         * text2.C (setCursorFromCoordinates): set iy to the right value.
7882         (setCursor): add check if row->previous exists!
7883
7884         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7885         an old float_type as this was the case in the old code!
7886
7887         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7888
7889         * BufferView2.C (showLockedInsetCursor): use iy
7890         (fitLockedInsetCursor): ditto
7891
7892         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7893         locked insets as there we have the right value now.
7894
7895         * lyxcursor.C: added iy_ variable and iy functions to set to the
7896         baseline of cursor-y of the locked inset.
7897
7898         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7899         (setCursor): fixed for insets which need a full row.
7900
7901         * text.C (rowLastPrintable): don't ignore the last space when before
7902         an inset which needs a full row.
7903         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7904         as last character of a row when before a inset which needs a full row.
7905
7906 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7907
7908         * version.C.in: update date
7909
7910         * text2.C (fullRebreak): try to always return true and see what
7911         happens...
7912
7913 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7914
7915         * MenuBackend.C (expand): use Floating::listName
7916
7917         * FloatList.C (FloatList): add listName argument to the built-in
7918         floats
7919
7920         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7921         text associated with the float.
7922
7923 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7924
7925         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7926
7927 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7928
7929         * ShareContainer.h: add a couple of missing typenames.
7930
7931 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7932
7933         * lyxrc.C (getDescription): use _() correctly rather than N_().
7934
7935 2002-03-28  Herbert Voss  <voss@lyx.org>
7936
7937         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7938         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7939
7940 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7941
7942         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7943         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7944
7945 2002-03-29  Juergen Vigna  <jug@sad.it>
7946
7947         * lyxfunc.C (dispatch): add a missing fitCursor call.
7948
7949         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7950         it was scrolled by a cursor move, so return the bool status.
7951
7952         * BufferView.C (fitCursor): return the bool flag also to the outside
7953         world as this is needed.
7954
7955         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7956
7957         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7958         call the edit() as it is not needed (and wrong) IMO.
7959         (workAreaButtonPress): set the screen_first variable before evt.
7960         unlock the inset as this may change screen_first and then we have
7961         a wrong y position for the click!
7962
7963 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7964
7965         * MenuBackend.C (expand): another translation that I missed
7966
7967 2002-03-28  Juergen Vigna  <jug@sad.it>
7968
7969         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7970
7971         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7972
7973 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7974
7975         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7976
7977         * MenuBackend.C (expand): fix export/view/update when there is no
7978         document open.
7979
7980 2002-03-27  Herbert Voss  <voss@lyx.org>
7981
7982         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7983         and text%
7984
7985 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7986
7987         * bufferview_funcs.C (currentState): only show paragraph number
7988         for is DEVEL_VERSION is set.
7989
7990         * lyxfunc.C (dispatch): put warning in INFO channel
7991
7992         * MenuBackend.C (expand): translate the name of floats
7993
7994         * FloatList.C (FloatList): mark the float names for translation
7995
7996         * converter.C (convert): use LibScriptSearch
7997
7998 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7999
8000         * MenuBackend.C (defaults): fix default menu (we might as well get
8001         rid of it...)
8002
8003 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8004
8005         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8006         directory.
8007
8008 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8009
8010         * lyxvc.C: reorder includes.
8011
8012 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8013
8014         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8015           properly
8016
8017 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8018
8019         * CutAndPaste.C: change layouts earlier on paste
8020           to avoid crashing when calling getFont()
8021
8022 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8023
8024         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8025         irritating #error.
8026
8027 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8028
8029         * WorkArea.C: remove 'Pending' debug message.
8030
8031         * most files: ws cleanup
8032
8033         * buffer.[Ch]: ws changes
8034
8035         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8036
8037 2002-03-21  Juergen Vigna  <jug@sad.it>
8038
8039         * tabular.C (SetMultiColumn): collapse also the contents of the
8040         cells and set the last border right. Added a Buffer const * param.
8041
8042 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8043
8044         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8045         linking or not.
8046
8047 2002-03-19  Juergen Vigna  <jug@sad.it>
8048
8049         * text2.C (clearSelection): reset also xsel_cache.
8050
8051         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8052         where it needs to be called (John tells us to do so too :)
8053         (selectionLost): reset sel_cache.
8054
8055         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8056
8057 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8058
8059         * text2.C (setCursorIntern): put debuging code in INSETS channel
8060
8061 2002-03-19  André Pönitz <poenitz@gmx.net>
8062
8063         * lyxfunc.C: tiny whitespace change
8064
8065 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8066
8067         * ToolbarDefaults.C (init):
8068         * LyXAction.C (init):
8069         * commandtags.h:
8070         * BufferView_pimpl.C (Dispatch):
8071         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8072
8073 2002-03-19  Allan Rae  <rae@lyx.org>
8074
8075         * exporter.C (Export): removeAutoInsets before doing anything else.
8076         While I've just introduced a dependency on BufferView this really is
8077         the best place to clean the buffer otherwise you need to cleanup in
8078         a dozen places before calling export or cleanup in a dozen functions
8079         that export calls.
8080
8081         * converter.C (runLaTeX):
8082         (scanLog): Better handling of removeAutoInsets and screen updates.
8083
8084         * lyxfunc.C (dispatch): small whitespace changes
8085
8086 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8087
8088         * WorkArea.C (C_WorkAreaEvent): return a value.
8089         (event_cb): return 1 if we handled the event, 0 otherwise.
8090
8091         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8092
8093 2002-03-18  Juergen Vigna  <jug@sad.it>
8094
8095         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8096         (GetAdditionalWidth): ditto.
8097         (RightLine): ditto.
8098         (LeftLine): ditto.
8099
8100         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8101         inset if we're there actually (probably not used right now but this
8102         is the direction to go for unifying code).
8103         (paste): disable code to clear the selection.
8104
8105         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8106         inside an InsetText and move the check further up as it is in the
8107         wrong place.
8108
8109         * text2.C (pasteSelection): set a selection over the pasted text.
8110
8111 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8112
8113         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8114         and libgraphics to build on Cygwin.
8115
8116 2002-03-15  Juergen Vigna  <jug@sad.it>
8117
8118         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8119         inserting an Inset into the paragraph. I know this is not the best
8120         fix but we already use current_view in CutAndPaste so we will remove
8121         all of it's using at the same time.
8122
8123         * buffer.C (sgmlError): deactivated function till it is rewritten in
8124         the right mode, now it can create problems.
8125
8126         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8127         before accessing it.
8128
8129 2002-03-14  Juergen Vigna  <jug@sad.it>
8130
8131         * undo_funcs.C (textHandleUndo): do the right thing when updating
8132         the inset after the undo/redo.
8133
8134         * text2.C (setCursor): just some testcode for #44 not ready yet.
8135
8136         * undo_funcs.C (textHandleUndo): set the next() and previous()
8137         pointers of the paragraph to 0 before deleting otherwise we have
8138         problems with the Paragraph::[destructor].
8139
8140         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8141         on a paragraph insertion.
8142
8143 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8144
8145         * buffer.C (asciiParagraph): use += operator for char append to
8146         string.
8147
8148         * paragraph.C (getFontSettings): compare >= not just >
8149         (highestFontInRange): ditto
8150         (setFont): ditto
8151
8152 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8153
8154         * paragraph.C: change several algorithm to be more appripriate for
8155         the problem domain. This is lookip in FontList and in the InsetList.
8156
8157 2002-03-13  André Pönitz <poenitz@gmx.net>
8158
8159         * commandtags.h:
8160         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8161
8162 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8163
8164         * commandtags.h:
8165         * LyXAction.C:
8166         * lyxfunc.C:
8167         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8168
8169 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8170
8171         * Painter.C (display): anon helper function, adjust code for this
8172         change.
8173         (pixmap): remove function.
8174
8175         * Painter.h: remove private display variable.
8176
8177         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8178
8179 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8180
8181         * WorkArea.[Ch]: remove figinset_canvas cruft.
8182
8183 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8184
8185         * lyxtextclass.C (operator): add one item cache optimization.
8186
8187         * bufferlist.h: doxy changes
8188
8189         * bufferlist.C: ws changes
8190
8191         * DepTable.[Ch] (ext_exist): place const in the right spot.
8192
8193         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8194         call resizeInsets.
8195         (workAreaExpose): call resizeInsets when the with BufferView changes.
8196         (Dispatch): adjust for protectedBlank removal
8197         (specialChar): call updateInset if the insert went ok.
8198
8199         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8200         specialChar instead.
8201
8202         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8203
8204         * BufferView.h: doxy change
8205
8206         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8207
8208         * lyxtextclass.C (operator[]): remove non-const version
8209         (defaultLayout): remove non-const version
8210
8211 2002-03-12  Juergen Vigna  <jug@sad.it>
8212
8213         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8214         did resize the LyXText too.
8215
8216         * buffer.C (readLyXformat2): set layout information on newly allocated
8217         paragraphs.
8218
8219         * tabular.C (OldFormatRead): set layout information on the paragraph.
8220
8221 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8222
8223         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8224
8225 2002-03-11  Juergen Vigna  <jug@sad.it>
8226
8227         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8228         plainly wrong.
8229         (resizeCurrentBuffer): force also the insets to resize themselfes.
8230         (moveCursorUpdate): fixed up for InsetText.
8231
8232 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8233
8234         * commandtags.h:
8235         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8236         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8237         value of Dialogs::tooltipsEnabled().
8238         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8239
8240 2002-03-08  Juergen Vigna  <jug@sad.it>
8241
8242         * BufferView_pimpl.C (updateInset): update inset inside inset also
8243         if it isn't inside theLockingInset().
8244
8245 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8246
8247         * buffer.C (asciiParagraph): redo some of the word and line length
8248         handling.
8249         (getLists): look for Caption instead of caption.
8250
8251 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8252
8253         * buffer.C (Buffer): initialize niceFile to true
8254         (makeLaTeXFile):
8255         (makeLinuxDocFile):
8256         (makeDocBookFile): make sure niceFile is true on exit
8257
8258 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8259
8260         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8261
8262 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8263
8264         * LyXSendto.C: remove.
8265         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8266         * lyx_gui.C: remove now-redundant comment.
8267         * ColorHandler.h: remove forward declaration of class WorkArea.
8268         * lyxfunc.C: remove #include "WorkArea.h".
8269
8270 2002-03-07  Juergen Vigna  <jug@sad.it>
8271
8272         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8273         got moved away with the DEPM and also set the inset_owner always
8274         right which before could have been omitted.
8275
8276 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8277
8278         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8279         wanted layout is not found.
8280
8281 2002-03-07  Juergen Vigna  <jug@sad.it>
8282
8283         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8284
8285 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8286
8287         * paragraph.C (breakParagraph): use default layout not layout of
8288         prev paragraph.
8289         (Paragraph): clear ParagraphParameters.
8290
8291 2002-03-06  Juergen Vigna  <jug@sad.it>
8292
8293         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8294         otherwise it would not be a valid lenght. Fixed a special case in
8295         the minipage compatibility read where we end the document with a
8296         minipage.
8297
8298         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8299         was set as it could be 0 for InsetTexts first entry.
8300
8301 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8302
8303         * paragraph.C (writeFile): if layout is empty write out
8304         defaultLayoutName().
8305
8306         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8307         file without named layout we set layout to defaultLayoutName().
8308
8309 2002-03-06  Juergen Vigna  <jug@sad.it>
8310
8311         * CutAndPaste.C (copySelection): set layout for new paragraph.
8312
8313         * text.C (prepareToPrint): leave ERT inset left aligned
8314         (leftMargin): don't indent paragraphs inside ERT insets
8315
8316 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8317
8318         * paragraph.C (breakParagraph): dont call clear do the work manually
8319
8320         * paragraph.[Ch] (clear): remove function
8321
8322 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8323
8324         * paragraph.C (Paragraph): dont call clear, the work has already
8325         been done.
8326
8327         * lyxtextclass.C (operator): assert if n is empty
8328
8329         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8330         work manually instead.
8331
8332 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8333
8334         * BufferView_pimpl.C: protect selectionLost against text == 0
8335
8336 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8337
8338         * text.C (breakParagraph): fix a setting layout to '0' problem.
8339
8340 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8341
8342         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8343         final location of file, for the included files, and graphics.
8344
8345 2002-03-05  Juergen Vigna  <jug@sad.it>
8346
8347         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8348
8349 2002-03-04  Juergen Vigna  <jug@sad.it>
8350
8351         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8352
8353         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8354         last column of multicolumn cells.
8355         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8356
8357 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8358
8359         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8360         file if it doesn't go to a temporary file.
8361
8362         * buffer.C (sgmlOpenTag):
8363         (sgmlCloseTag):  remove extra newline insertion.
8364
8365 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8366
8367         * text.C (getRowNearY): comment out debug msg
8368
8369 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8370
8371         * text2.C: first -> first_y
8372
8373         * text.C (getRowNearY): add some attemts at a possible
8374         optimization, not working.
8375
8376         * tabular.[Ch]: add BufferParams to several function so that newly
8377         created paragraph can be initialized to he default layotu for the
8378         buffers textclass.
8379
8380         * tabular-old.C (ReadOld): add buf->params to call of Init
8381
8382         * screen.C: rename text->first to text->first_y
8383
8384         * paragraph.C (breakParagraph): always set layout in the broken
8385         paragraph
8386
8387         * lyxtextclass.C (Read): remove lowercase
8388         (hasLayout): ditto
8389         (operator): ditto
8390         (delete_layout): ditto
8391
8392         * lyxtext.h: rename first -> first_y
8393
8394         * lyxlayout.C (Read): remove lowercase
8395         (name): ditto
8396         (setName): ditto
8397         (obsoleted_by): ditto
8398
8399         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8400
8401         * buffer.C (insertErtContents): add params are to InsetERT
8402         (parseSingleLyXformat2Token): add code to check if a paragraphs
8403         layout really exist.
8404         (parseSingleLyXformat2Token): add params to several inset
8405         constructors
8406         (asciiParagraph): remove lowercase, do the layout comparisons with
8407         no_case
8408
8409         * BufferView_pimpl.C (cursorNext): first -> first_y
8410         (resizeCurrentBuffer): first -> first_y
8411         (updateScrollbar): first -> first_y
8412         (scrollCB): first -> first_y
8413         (workAreaMotionNotify): first -> first_y
8414         (workAreaButtonPress): first -> first_y
8415         (checkInsetHit): first -> first_y
8416         (cursorPrevious): first -> first_y
8417         (cursorNext): first -> first_y
8418         (Dispatch): add buffer_->params to severl inset contructors
8419
8420 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8421
8422         * lyxlayout.C (Read): remove some debug info that I forgot.
8423
8424         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8425         clean up the code slightly.
8426         (makeLinuxDocFile): ditto
8427         (makeDocBookFile): ditto
8428
8429         * text2.C: layout as string
8430
8431         * text.C: layout as string
8432
8433         * paragraph_pimpl.C: layout as string
8434
8435         * paragraph.[Ch]: layout as string
8436
8437         * lyxtextclasslist.[Ch]: layout as string
8438
8439         * lyxtextclass.[Ch]: layout as string
8440
8441         * lyxtext.h: layout as string
8442
8443         * lyxlayout.[Ch]: layout as string
8444
8445         * lyx_cb.C: layout as string
8446
8447         * bufferview_funcs.C: layout as string
8448
8449         * bufferparams.C: layout as string
8450
8451         * buffer.C: layout as string
8452
8453         * LyXView.[Ch]: layout as string
8454
8455         * LaTeXFeatures.[Ch]: layout as string
8456
8457         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8458
8459         * BufferView_pimpl.C: change current_layout to string, remove
8460         lyx::layout_type.
8461         (Dispatch):
8462         (smartQuote):
8463         (insertInset):
8464         (workAreaButtonRelease): layout as string
8465
8466         * BufferView2.C (unlockInset): adjust
8467
8468         * vspace.C (asLatexCommand): use an explict temp variable.
8469
8470 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8471
8472         * Makefile.am: use FRONTEND_*
8473
8474 2002-03-01  Juergen Vigna  <jug@sad.it>
8475
8476         * tabular.C (SetWidthOfMulticolCell): changed to something better
8477         I hope but still work in progress.
8478         (recalculateMulticolumnsOfColumn): renamed function from
8479         recalculateMulticolCells as it is more appropriate now.
8480         (SetWidthOfCell): calculate multicols better.
8481
8482 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8483
8484         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8485
8486         * lyxfunc.C (processKeySym): print sequence also if it is
8487         `deleted' (complete)
8488
8489         * kbsequence.C (print): print sequence even if it is deleted
8490         (complete would be a better word, actually).
8491
8492         * lyxfunc.C (dispatch): print complete options after a prefix key
8493
8494         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8495
8496 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8497
8498         * text2.C (setCharFont): eliminate setCharFont code duplication.
8499
8500 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8501
8502         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8503         LFUN_TABULAR_FEATURE (bug #177)
8504
8505 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8506
8507         * Makefile.am: remove figure.h
8508
8509 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8510
8511         * Bufferview_pimpl.C:
8512         * CutAndPasteC:
8513         * LaTeX.C:
8514         * LyXSendto.C:
8515         * buffer.C:
8516         * bufferlist.C:
8517         * converter.C:
8518         * language.C:
8519         * lyxfunc.C:
8520         * lyxvc.C:
8521         * paragraph.C:
8522         * text.C:
8523         * text2.C: remove #include "lyx_gui_misc.h".
8524
8525         * LaTeX.C: added #include <cstdio>
8526
8527 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8528
8529         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8530         that the paragraph following this one can have.
8531
8532         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8533
8534         * vspace.C (asLatexCommand): fix bogus gcc warning
8535
8536         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8537
8538 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8539
8540         * text2.C (setLayout): get rid of redundant code
8541
8542 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8543
8544         * text2.C (incDepth): make sure depth cannot be increased beyond
8545         reasonable values.
8546
8547 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8548
8549         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8550         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8551
8552         * PainterBase.h (image):
8553         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8554         a LyXImage const *.
8555
8556 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8557
8558         * BufferView.C:
8559         * BufferView.h:
8560         * BufferView_pimpl.C:
8561         * BufferView_pimpl.h:
8562         * LaTeXFeatures.C:
8563         * LyXAction.C:
8564         * LyXView.C:
8565         * Makefile.am:
8566         * UpdateList.h:
8567         * UpdateList.C:
8568         * buffer.C:
8569         * figure.h:
8570         * figureForm.C:
8571         * figureForm.h:
8572         * figure_form.C:
8573         * figure_form.h:
8574         * lyx_cb.C:
8575         * lyx_gui.C:
8576         * lyx_gui_misc.C:
8577         * lyxfunc.C:
8578         * sp_base.h:
8579         * sp_ispell.h:
8580         * sp_pspell.h:
8581         * sp_spell.C: remove fig inset, and the crap house of
8582           cards that follows it
8583
8584 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8585
8586         * Makefile.am:
8587         * lyxserver.C:
8588         * os2_defines.h:
8589         * os2_errortable.h:
8590         * nt_defines.h: move .h into support/
8591
8592         * vms_defines.h: remove
8593
8594         * WorkArea.C: add space in debug output
8595
8596         * text2.C:
8597         * paragraph.C:
8598         * buffer.C: add WITH_WARNINGS
8599
8600         * vc-backend.h:
8601         * vc-backend.C:
8602         * bufferlist.C: s/retrive/retrieve/, add docs
8603
8604         * vspace.h:
8605         * vspace.C:
8606         * kbmap.h:
8607         * lyxlength.h:
8608         * lyxgluelength.h:
8609         * length_common.h:
8610         * chset.h:
8611         * chset.C: add docs
8612
8613         * lyxgui.C: add ID to X error handler
8614
8615         * lyxtestclass.c: fix typo
8616
8617 2002-02-26  Juergen Vigna  <jug@sad.it>
8618
8619         * tabular_funcs.C (write_attribute): changed so that some default
8620         attributes are not written at all.
8621         (getTokenValue): set default values before trying to read the
8622         value so we have the return value always set as default if we don't
8623         find the token we search for.
8624
8625         * tabular.C (Write): write bools as bools not as strings!
8626
8627 2002-02-22  Juergen Vigna  <jug@sad.it>
8628
8629         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8630         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8631
8632         * text.C (leftMargin): don't add an indent for paragraphs inside
8633         tabular cells (fix #208).
8634
8635 2002-02-21  José Matos  <jamatos@fep.up.pt>
8636
8637         * tabular.C (docBook): fixed support for long tables.
8638
8639 2002-02-20  Juergen Vigna  <jug@sad.it>
8640
8641         * text2.C (getFont): get the drawing font of the Inset if this
8642         paragraph is inside an inset (only important for InsetERT for now).
8643
8644         * buffer.C (insertErtContents): use new lanugage params in ERT
8645         constructor.
8646
8647         * CutAndPaste.C: commenting out seemingly uneeded code.
8648
8649 2002-02-19  Allan Rae  <rae@lyx.org>
8650
8651         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8652         Iterators might be simple to use but they also get invalidated.
8653         (removeAutoInsets): renamed saved cursor tracking variables and added
8654         some comments to clarify what everything does.
8655
8656 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8657
8658         * Chktex.C:
8659         * LaTeX.C:
8660         * LyXSendto.C:
8661         * converter.C:
8662         * lyx_cb.C:
8663         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8664         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8665
8666         * lyxfunc.C:
8667         * vc-backend.h: remove #include "support/syscall.h"
8668
8669         * LaTeX.C:
8670         * LyXSendto.C:
8671         * converter.C: rearrange #includes in Lars' approved fashion.
8672
8673         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8674         forward declare class Timeout in the header file.
8675
8676         * XFormsView.C: changes due to the above.
8677
8678         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8679         similar to LyXView.
8680
8681         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8682         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8683
8684 2002-02-18  José Matos  <jamatos@fep.up.pt>
8685
8686         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8687         insets contents.
8688
8689 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8690
8691         * a lot of small ws changes
8692         * add a lot of using std::XXX
8693         * use std construcs some places where approp.
8694         * use some exisint stuff from lyxfunctional where approp.
8695         * Make file changes to use partial linking (lets test this now...)
8696
8697 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8698
8699         * Chktex.C:
8700         * buffer.C:
8701         remove #include "support/syscontr.h" as it's redundant. Always has been.
8702
8703         * Chktex.C:
8704         * LaTeX.C:
8705         * LyXSendto.C:
8706         * converter.C:
8707         * lyx_cb.C:
8708         * vc-backend.C:
8709         change Systemcalls::System to Systemcalls::Wait and
8710         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8711         No change of functionality, just reflects the stripped down Systemcalls
8712         class.
8713
8714 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8715
8716         * debug.[Ch]: add a GRAPHICS type to the enum.
8717
8718 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8719
8720         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8721
8722         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8723         there is an inset.
8724
8725 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8726
8727         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8728         match the changes below.
8729
8730         * text2.C (toggleInset): if there is not editable inset at cursor
8731         position, try to see if cursor is _inside_ a collapsable inset
8732         and close it.
8733
8734 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8735
8736         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8737         document menu has a nice checkbox
8738
8739 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8740
8741         * lyxlength.C (asLatexString): change PW to output as percent of
8742         \textwidth.
8743
8744         * lengthcommon.C: change '%' to 't%'
8745
8746         * lyxfunc.C (dispatch): a few comments from Martin
8747
8748 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8749
8750         * WorkArea.h:
8751         * WorkArea.C:
8752         * BufferView_pimpl.h:
8753         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8754           the X selection.
8755
8756 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8757
8758         * vspace.C (inPixels): fix compiler warning
8759
8760 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8761
8762         * lyxfunc.C (getStatus): fix status message for disabled commands.
8763
8764 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8765
8766         * BufferView_pimpl.C: fix crash on close buffer
8767         during selection (#227)
8768
8769 2002-01-27  Herbert Voss  <voss@lyx.org>
8770
8771         * buffer.C: link old Figure to new graphic inset
8772
8773 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8774
8775         * FontLoader.C (getFontinfo): Change the latex font names in order
8776         to match the names of type1inst.
8777
8778 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8779
8780         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8781
8782         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8783         (extchanged): ditto
8784         (ext_exist): ditto
8785         (remove_files_with_extension): ditto
8786         (remove_file): ditto
8787         (write): ditto
8788
8789         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8790         document is smaller than the work area height. Do not initialize
8791         static variables to 0.
8792
8793 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8794
8795         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8796
8797         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8798         LFUN_LAYOUT_PARAGRAPHS.
8799
8800         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8801         tabular. It is possible to provide a possible cell, which will
8802         typically be the actcell from the corresponding insettabular
8803
8804         * lyxfunc.C (getStatus): small cleanup; disable
8805         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8806         true
8807
8808 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8809
8810         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8811
8812         * paragraph.C (startTeXParParams):
8813         (endTeXParParams): new methods. The LaTeX code to
8814         start/end paragraph formatting
8815         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8816         empty (fixes bug #200)
8817
8818         * vspace.C (inPixels): adapt to the change below
8819         (inPixels): [later] more cleanups (remove unused variables)
8820
8821         * lyxlength.C (inPixels): change to use a width and a height as
8822         parameter.
8823
8824 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8825
8826         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8827         Replaced with \paperwidth
8828
8829         * DepTable.C (insert): add std:: qualifier
8830
8831 2002-01-18  Allan Rae  <rae@lyx.org>
8832
8833         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8834         updated also?
8835
8836         * text.C (drawInset): Turned out I didn't know enough about how
8837         rebreaking worked.  This fixes most of the redraw problems.  I see
8838         an occasional cursor trail when a line is broken now and the cursor
8839         placement can seem out by a few pixels also after a rebreak.
8840
8841 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8842
8843         * buffer.C (parseSingleLyXformat2Token): update because minipage
8844         width is now a LyXLength
8845
8846         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8847
8848         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8849         math insets
8850
8851 2002-01-17  Juergen Vigna  <jug@sad.it>
8852
8853         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8854
8855         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8856         is set correctly and the inset is updated correctly.
8857
8858 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8859
8860         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8861         the beginning of the loop.
8862
8863 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8864
8865         * lyxrc.C: improve help for use_scalable_fonts
8866
8867 2002-01-17  Allan Rae  <rae@lyx.org>
8868
8869         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8870
8871 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8872
8873         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8874         make sure to set their inset_owner to the right value (bug #171)
8875
8876 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8877
8878         * DepTable.h
8879         * DepTable.C: Implement mtime checking to reduce time spent doing
8880         CRCs.
8881
8882 2002-01-16  Juergen Vigna  <jug@sad.it>
8883
8884         * tabular.C (GetAdditionalHeight): one of error fixed.
8885
8886         * lyxrc.C (output): small fix in writing use_pspell.
8887
8888 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8889
8890         * sp_base.h: #include LString.h
8891
8892 2002-01-16  Allan Rae  <rae@lyx.org>
8893
8894         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8895         Can someone check this please?
8896
8897         * text.C (drawInset): It was possible that p.row would be removed by
8898         breakAgainOneRow upsetting a few other settings.  There may be another
8899         small tweak possible by setting need_break_row = 0 when p.row has been
8900         removed but I don't know enough about the logic here.
8901
8902 2002-01-15  Allan Rae  <rae@lyx.org>
8903
8904         * text.C (insertChar): removed conditional truism.
8905
8906         * BufferView2.C (removeAutoInsets): More tweaks.
8907         cur_par_prev could be a stray pointer.  Check for trailing empty line
8908         in case last line was cur_par and only had an error inset on it.
8909
8910 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8911
8912         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8913         absolute
8914
8915         * vc-backend.C (most methods):
8916         * exporter.C (Export):
8917         * converter.C (convert):
8918         (runLaTeX):
8919         * LyXSendto.C (SendtoApplyCB):
8920         * lyxfunc.C (dispatch):
8921         (menuNew):
8922         (open):
8923         (doImport):
8924         * lyx_cb.C (AutoSave):
8925         (InsertAsciiFile):
8926         * BufferView_pimpl.C (MenuInsertLyXFile):
8927         * buffer.C (runChktex): use Buffer::filePath().
8928
8929         * buffer.h: rename filename to filename_; rename filepath to
8930         filepath_ and make it private
8931         (filePath): new method
8932
8933         * buffer.C (writeFile): use fileName()
8934         (getLatexName):
8935
8936         * lyx_main.C (init): fix starting  of LyX when the binary is a
8937         link from so,ewhere else.
8938
8939         * minibuffer.C: include <cctype> for isprint
8940
8941 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8942
8943         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8944         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8945         name clash with InsetCollapsable's width function.
8946
8947 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8948
8949         * lastfiles.C: include <iterator>
8950
8951 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8952
8953         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8954         std::count.
8955
8956         * buffer.C (makeLaTeXFile): ditto.
8957         Also make loop operation more transparent.
8958
8959 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8960
8961         * ToolbarDefaults.C: remove trailing comma closing namespace.
8962
8963         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8964
8965         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8966         as in WorkArea.
8967
8968         * trans.C (Load): comment out unused variable, allowed.
8969
8970 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8971
8972         * minibuffer.[Ch] (append_char): new method to recieve input from the
8973         drop-down completion browser. If a key was pressed, then recieve this
8974         char and append it to the existing string.
8975         (peek_event): modify the positioning data passed to the completion
8976         browser so that it can be placed above the minibuffer rather than below.
8977 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8978
8979         * LyXAction.C (init): alloe error-next for readonly documents.
8980
8981         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8982         count.
8983
8984 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8985
8986         * bufferlist.C (readFile): create the buffer _after_ checking that
8987         the file exists.
8988
8989         * lyxfunc.C (verboseDispatch): fix handling of arguments
8990
8991         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8992
8993         * lyxrc.C: use string::erase() instead of initializing to "".
8994
8995
8996 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8997
8998         * BufferView_pimpl.h:
8999         * BufferView_pimpl.C:
9000         * WorkArea.h:
9001         * WorkArea.C:
9002         * text2.C: tell X when we have made a selection for copying
9003
9004 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9005
9006         * BufferView_pimpl.C (MenuInsertLyXFile):
9007         * lyxfunc.C (menuNew):
9008         (open):
9009         (doImport): add shortcuts to directory buttons
9010
9011         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9012         open a float)
9013
9014         * lyxfunc.C (setStatusMessage):
9015         (getStatusMessage): new methods
9016         (getStatus):use setStatusMessage instead of setErrorMessage
9017         (dispatch): when function is disabled, set error message here
9018         [instead of in getStatus previously]
9019
9020         * BufferView_pimpl.C (workAreaButtonRelease): update
9021         toolbar/menubar here too.
9022
9023 2002-01-13  Allan Rae  <rae@lyx.org>
9024
9025         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9026         Now seems indestructible.  Remaining task is to audit all other
9027         code affected by deleteEmptyParagraphMechanism.  One small quirk
9028         left is that an empty document with an error in the preamble can
9029         be made to report an error but no error box appears.  I don't know
9030         where it goes.
9031         (removeAutoInsets): Improved comments.
9032
9033 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9034
9035         * Thesaurus.h:
9036         * Thesaurus.C: update for Aiksaurus 0.14
9037
9038 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9039
9040         * text2.C (firstParagraph): removed member function, all uses
9041         replaces with ownerParagraph
9042         (redoParagraphs): here
9043         (updateInset): here
9044         (toggleAppendix): here
9045         * BufferView2.C (insertErrors): here
9046         (setCursorFromRow): here
9047
9048 2002-01-13  Allan Rae  <rae@lyx.org>
9049
9050         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9051         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9052         There is still a way to segfault this although you may have to do this
9053         multiple times: Have an InsetERT with an unknown command in it.
9054         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9055         <down-arrow>, <Enter> again, View->DVI, BANG!
9056
9057         * text2.C (setCursor):
9058         (deleteEmptyParagraphMechanism):
9059         * lyxtext.h (setCursor):
9060         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9061         Making use of the return value may help fix other bugs.
9062
9063 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9064
9065         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9066
9067         * LyXView.C (updateMenubar): call MenuBar::update here
9068         (updateToolbar): but not here
9069         (showState): do not update toolbar/menubar
9070
9071         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9072         should need to care about that.
9073
9074         * lyxfunc.C (verboseDispatch): simplify a bit
9075         (getStatus): have a version which takes a pseudoaction, and
9076         another which requires a (kb_action,string).
9077
9078         * LyXAction.C (retrieveActionArg): make it work also when action
9079         is not a pseudo-action.
9080         (getActionName): simplify a bit
9081         (helpText):
9082
9083 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9084
9085         * lyxfunc.C (verboseDispatch): new families of methods with
9086         several ways to specify a command and a bool to indicate whether
9087         the command name and shortcut should be displayed in minibuffer
9088         (eventually, we could extend that to a finer bitmask like
9089         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9090         (dispatch): the pristine dispatch command which just, well,
9091         dispatchs! Note it still sets its result to minibuffer; I'm not
9092         sure we want that.
9093
9094         * lyxfunc.h: remove setHintMessage
9095
9096         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9097
9098 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9099
9100         * BufferView_pimpl.C (specialChar): delete new inset if we have
9101         not been able to insert it.
9102
9103         * kbmap.C: revert to using int instead of kb_action, since all we
9104         are dealing with is pseudo-actions.
9105
9106         * LyXAction.C (searchActionArg): change to return int instead of
9107         kb_action, since the result is a pseudoaction.
9108
9109 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9110
9111         * buffer.C (insertErtContents): Fix (partially) the font bug.
9112
9113 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9114
9115         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9116         as the other one is broken on my machine!
9117
9118 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9119
9120         * commandtags.h:
9121         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9122
9123 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9124
9125         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9126         reflect their actual use. Provide compatibility code for older lyxrc
9127         files.
9128
9129         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9130         FL_NORMAL_STYLE.
9131         change names of popup font variables in line with the changes to lyxrc.C
9132
9133 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9134
9135         * buffer.C (asciiParagraph): avoid outputing a word twice after
9136         an inset.
9137
9138         * lyxrc.C (getDescription): document that document_path and
9139         template_path can be empty.
9140
9141 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9142
9143         * LaTeXFeatures.C (getMacros):
9144         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9145
9146         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9147
9148         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9149         getPackages.
9150         (getPackages): rename feature "floats" to "float". Use an array to
9151         iterate over 'simple' features (i.e. just a \usepackage). Add
9152         handling of "amsmath" (renamed from "amsstyle").
9153
9154 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9155
9156         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9157         features list.
9158
9159 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9160
9161         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9162         FuncStaus::FuncStatus & FuncStaus::some_method().
9163
9164 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9165
9166         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9167         of the func_satus stuff. Edited and massaged in various ways by
9168         JMarc.
9169
9170         * lyxfunc.C (getStatus): use FuncStatus
9171
9172 2002-01-08  Juergen Vigna  <jug@sad.it>
9173
9174         * text.C (nextBreakPoint): use function Inset::isChar().
9175
9176         * paragraph.C (TeXOnePar): use function
9177         Inset::forceDefaultParagraphs.
9178
9179         * buffer.C (latexParagraphs): use function
9180         Inset::forceDefaultParagraphs.
9181
9182 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9183
9184         * lyx_gui.C (init): set the style of the menu popups to
9185         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9186
9187 2002-01-07  Juergen Vigna  <jug@sad.it>
9188
9189         * text.C (setHeightOfRow): small fix
9190         (prepareToPrint): don't look at alignment if we don't have the place
9191         for doing it.
9192
9193 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9194
9195         * box.C: New file. Move the Box methods and functions out of box.h,
9196         following Lars' suggestion.
9197
9198 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9199
9200         * box.h: #include "support/LOstream.h", needed for inlined function.
9201
9202         * lyxtextclass.C:
9203         * lyxtextclasslist.C: added some using std declarations.
9204
9205 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9206
9207         * box.h: make signed dimensions to allow insets wider than
9208           the screen (bug #162)
9209
9210         * BufferView_pimpl.C: add some insetHit debug
9211
9212 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9213
9214         * vc-backend.C: add FIXME
9215
9216 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9217
9218         * lyxfunc.C (getStatus): enable code for showing math font status
9219         in toolbar/menu.
9220
9221 2002-01-07  Juergen Vigna  <jug@sad.it>
9222
9223         * text.C (nextBreakPoint): removed debug output not needed anymore.
9224
9225 2002-01-06  Juergen Vigna  <jug@sad.it>
9226
9227         * text.C (nextBreakPoint): fixed up this function we had this bug
9228         since ever but now hopefully we break row better.
9229         (insertChar): we have to check if an inset is the next char as it
9230         could now happen that a large inset is causing a break.
9231
9232 2002-01-05  Juergen Vigna  <jug@sad.it>
9233
9234         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9235         if it doesn't like to be drawed.
9236
9237 2002-01-04  Juergen Vigna  <jug@sad.it>
9238
9239         * BufferView2.C (lockInset): forgot to set a cursor.
9240
9241         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9242
9243 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9244
9245         * FormMathsPanel.C:
9246         * FormMathsPanel.h
9247         * MathsSymbols.C:
9248         * form_maths_panel.C:
9249         * form_maths_panel.h:
9250         * form_maths_panel.fd: implemented sub- and super- buttons in math
9251         panel.
9252
9253         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9254         (or ^ space) to be used as in TeX (req'd by André).
9255
9256         * lyxfunc.C: Allow ^ and _ again to be used both as
9257         super/subscript (mathed) and as themselves (in text).
9258
9259 2002-01-03  Allan Rae  <rae@lyx.org>
9260
9261         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9262         "LyX" or the filename of the current buffer if it has one.  This is a
9263         modified form of John Levon's patch.
9264
9265         * XFormsView.C (setWindowTitle): also set icon title.
9266
9267         * LyXView.h (setWindowTitle): signature changed.
9268         * XFormsView.h (setWindowTitle): ditto.
9269
9270 2002-01-02  Juergen Vigna  <jug@sad.it>
9271
9272         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9273
9274 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9275
9276         * screen.C (topCursorVisible): introduce a temp var for
9277         text->cursor.row(), handle the case where this row is null. (kindo
9278         hachish)
9279
9280         * text2.C (setCursor): add a couple of asserts.
9281
9282         * paragraph.h (inset_iterator): add -> operator
9283
9284         * paragraph.[Ch] (autoDeleteInsets): remove member function
9285
9286         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9287         cursor pos correctly and handle inset deletion by itself.
9288         (insertErrors): move iterator declaration out of for expression
9289
9290         * lyxtextclass.C: add <algorithm>
9291
9292         * Makefile.am: added the new files to sources, removed layout.C
9293
9294         * layout.C: removed file
9295
9296         * layout.h: remove LYX_DUMMY_LAYOUT
9297
9298         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9299         layout.
9300
9301         * lyxlayout.[Ch]:
9302         * lyxtextclass.[Ch]:
9303         * lyxtextclasslist.[Ch]: new files
9304
9305         * include order changes to a lot of files, also changes because of
9306         the six new files.
9307
9308 2001-12-27  Juergen Vigna  <jug@sad.it>
9309
9310         * buffer.C (asciiParagraph): more fixes.
9311
9312         * tabular.C (ascii): make ascii export support export of only the
9313         data separated by a column-delimiter.
9314         (ascii): better support for ascii export.
9315
9316         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9317
9318 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9319
9320         * tabular_funcs.C: use a "using std::getline" instead of the
9321         previous fix from Angus (necessary for cxx + lyxstring)
9322
9323 2001-12-24  Juergen Vigna  <jug@sad.it>
9324
9325         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9326
9327         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9328         problems. First check a minipage also if we have some ert-contents
9329         (not only on par->size(), second set the right depth of the paragraph
9330         on the relink to the root-paragraph-list!
9331
9332         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9333         which then did not anymore update the main paragraphs on undo/redo!
9334
9335 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9336
9337         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9338         code. Support all font-changing funcs (even those which are not in
9339         menu currently). Support for reporting font settings in
9340         mathed (disabled until Andre provides a function on mathed's side).
9341
9342         * func_status.h (toggle): small helper function to set toggle
9343         state on a flag.
9344
9345 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9346
9347         * tabular_funcs.C: getline -> std::getline
9348
9349 2001-12-21  Juergen Vigna  <jug@sad.it>
9350
9351         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9352         accessed and could be 0 (I couldn't generate this but it seems
9353         Michael could!).
9354
9355 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9356
9357         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9358         * tabular_funcs.h: here and include iosfwd
9359
9360 2001-12-20  Juergen Vigna  <jug@sad.it>
9361
9362         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9363         inside inset but undo_par was.
9364
9365 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9366
9367         * Thesaurus.C: always include <config.h> in sources.
9368
9369         * Painter.h:
9370         * lyxlookup.h:
9371         * box.h: do not include <config.h> in header files
9372
9373         * text.C (paintLastRow): remove unused variable
9374
9375         * text.C (transformChar):
9376         (insertChar):
9377         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9378
9379         * Painter.C (text):
9380         * font.C (width): rewrite to use uppercase() instead of
9381         islower/toupper.
9382
9383         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9384
9385 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9386
9387         * lyxfind.C: clean up of find failure position change
9388
9389 2001-12-20  Juergen Vigna  <jug@sad.it>
9390
9391         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9392
9393         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9394         (TeXRow): added to LaTeX a single tabular row.
9395         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9396         (Latex): simplified and finally good LT-h/f support.
9397         (various_functions): just small adaptions for LT-h/f support.
9398
9399         * tabular_funcs.[hC]: added and moved here all not classfunctions
9400         of LyXTabular.
9401
9402 2001-12-19  Juergen Vigna  <jug@sad.it>
9403
9404         * tabular.[Ch]: better support for longtabular options (not finished
9405         yet!)
9406
9407 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9408
9409         * text.C (paintLastRow): use the label font instead of the font of
9410         the last character to compute the size of *_BOX. This makes more
9411         sense and avoids a crash with empty paragraphs.
9412         Use Painter::rectangle to draw EMPTY_BOX.
9413
9414 2001-12-19  Juergen Vigna  <jug@sad.it>
9415
9416         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9417         the paragraphs if the replaced paragraph is not the first one!
9418         Tried to delete not used paragraphs but does not work yet so for
9419         now it's inside #ifdef's and by default off!
9420
9421 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9422
9423         * MenuBackend.C: include "lyx_main.h" instead of declaring
9424         lastfiles (actually was declared as LastFiles* instead of a
9425         scoped_ptr).
9426
9427 2001-12-17  Juergen Vigna  <jug@sad.it>
9428
9429         * tabular.C (AppendColumn): applied John's fix
9430
9431 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9432
9433         * BufferView.h:
9434         * BufferView.C:
9435         * BufferView_pimpl.h:
9436         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9437
9438         * Makefile.am:
9439         * box.h: new start of class for above
9440
9441         * lyxfunc.C: ignore space-only minibuffer dispatches.
9442           Show the command name when it doesn't exist
9443
9444         * minibuffer.C: don't add empty lines to the history
9445
9446         * minibuffer.C: add a space on dropdown completion
9447
9448 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9449
9450         * text.C: fix line above/below drawing in insets
9451
9452 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9453
9454         * lyxlength.C (LyXLength): Initialize private variables.
9455
9456 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9457
9458         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9459         when inserting error insets.
9460
9461 2001-12-13  Juergen Vigna  <jug@sad.it>
9462
9463         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9464         actually sometimes the before-paragraph.
9465         (setUndo): don't clear the redostack if we're not actually undoing!
9466
9467 2001-12-06  Juergen Vigna  <jug@sad.it>
9468
9469         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9470         and fixed redoing of main paragraph, so we can use it now ;)
9471
9472         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9473
9474 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9475
9476         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9477         Juergen's request
9478
9479 2001-12-13  André Pönitz <poenitz@gmx.net>
9480
9481         * undostack.[Ch]:
9482         * undo_func.C: minor cleanup
9483
9484 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9485
9486         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9487         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9488         font in urw-fonts package which is marked as -urw-fontspecific and
9489         does not work (incidentally, changing the encoding in the
9490         fonts.dir of this package to -adobe-fontspecific fixes the
9491         problem).
9492
9493         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9494         is a crash when undoing first paragraph (Juergen, please take a
9495         look). THis does not mean the undo fix is wrong, just that it
9496         uncovers problems.
9497
9498         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9499         the (Paragraph*) version when needed instead of duplicating the
9500         code.
9501
9502         * text.C (workWidth): use Inset::parOwner to find out where the
9503         inset has been inserted. This is a huge performance gain for large
9504         documents with lots of insets. If Inset::parOwner is not set, fall
9505         back on the brute force method
9506
9507         * paragraph_pimpl.C (insertInset):
9508         * paragraph.C (Paragraph):
9509         (cutIntoMinibuffer): set parOwner of insets when
9510         inserting/removing them
9511
9512         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9513
9514 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9515
9516         * commandtags.h:
9517         * LyXAction.C:
9518         * lyx_main.C:
9519         * lyxfunc.C:
9520         * mathed/formulabase.C:
9521         * mathed/math_cursor.[Ch]:
9522         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9523
9524
9525 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9526
9527         * lyxlength.[Ch] (operator!=): new function
9528
9529 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9530
9531         * text.C (workWidth): use Inset::parOwner to find out where the
9532         inset has been inserted. This is a huge performance gain for large
9533         documents with lots of insets. If Inset::parOwner is not set, fall
9534         back on the brute force method
9535
9536         * paragraph_pimpl.C (insertInset):
9537         * paragraph.C (Paragraph):
9538         (cutIntoMinibuffer): set parOwner of insets when
9539         inserting/removing them
9540
9541         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9542
9543 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9544
9545         * tabular-old.C (getTokenValue):
9546         * tabular.C (getTokenValue):
9547         (write_attribute): new versions for LyXLength
9548         (everywhere): adjust the use of widths
9549
9550         * tabular.h: change the type of widths from string to LyXLength
9551
9552 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9553
9554         * paragraph.C: fixed missing line number count when exporting
9555         Environments to LaTeX file
9556
9557         * buffer.C: added informational message for checking line numbers.
9558
9559 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9560
9561         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9562         paragraph, do the 'double space' part, but not the 'empty
9563         paragraph' one.
9564
9565         * text.C (workWidth): small optimization
9566         (getLengthMarkerHeight): use minimal size for negative lengths.
9567
9568 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9569
9570         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9571
9572         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9573
9574 2001-12-11  André Pönitz <poenitz@gmx.net>
9575
9576         * FontLoader.C:
9577         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9578
9579 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9580
9581         * text2.C: keep selection on a setFont()
9582
9583 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9584
9585         * lyx_cb.C: another bv->text misuse, from insert label
9586
9587 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9588
9589         * kbsequence.h:
9590         * kbsequence.C: re-instate nmodifier mask
9591
9592 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9593
9594         * lyx_main.h: make lyxGUI private.
9595
9596 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9597
9598         * lyxfind.C: place the cursor correctly on failed search
9599
9600 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9601
9602         * text.C (getLengthMarkerHeight): for small heights, the arrows
9603         are not always on top/bottom of the text
9604         (drawLengthMarker): smaller arrows; take the left margin in
9605         account; draw also vfills.
9606         (paintFirstRow):
9607         (paintLastRow): remove special code for vfill and standard spaces,
9608         since everything is handled in drawLengthMarker now.
9609
9610 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9611
9612         * buffer.C (insertErtContents): try to handle font and language
9613         interaction a bit better.g
9614
9615         * ColorHandler.C (updateColor): change the hash to cover the whole
9616         LColor enum, ws cleanup
9617         (getGCLinepars): ditto
9618         (getGCLinepars): only lookup in the linecache once.
9619
9620 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9621
9622         * iterators.C (operator++): Make the iterator more robust
9623
9624         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9625         (John's patch)
9626         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9627
9628 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9629
9630         * lyxtext.h:
9631         * text.C: better added space drawing
9632
9633 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9634
9635         * LyXView.C:
9636         * BufferView2.C: fix layout combo update on inset unlock
9637
9638 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9639
9640         * Makefile.am: don't compile unused files
9641
9642 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9643
9644         * lyxfunc.C:
9645         * commandtags.h:
9646         * LyXAction.C: remove old LFUN_LAYOUTNO
9647
9648 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9649
9650         * paragraph_pimpl.h:
9651         * paragraph_pimpl.C: isTextAt() doesn't need font param
9652
9653 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9654
9655         * lyxlex.h:
9656         * lyxlex.C: little cleanup
9657
9658 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9659
9660         * BufferView_pimpl.C: fix insertAscii for insets
9661
9662 2001-12-05  Juergen Vigna  <jug@sad.it>
9663
9664         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9665         set the right font on the "multi" paragraph paste!
9666
9667 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9668
9669         * trans_decl.h:
9670         * trans_mgr.[Ch]:
9671         * trans.[Ch]:
9672         * lyxgluelength.C:
9673         * lyxlength.C: remove out-commented code.
9674
9675         * BufferView_pimpl:
9676         * CutAndPaste.C:
9677         * DepTable.C:
9678         * buffer.C:
9679         * chset.C:
9680         * lastfiles.C:
9681         * lyxlex.C:
9682         * lyxlex_pimpl.C:
9683         * lyxserver.C:
9684         * screen.C:
9685         * tabular-old.C:
9686         * tabular.C:
9687         * text.C:
9688         * trans_mgr.C:
9689         * vc-backend.C: change "while(" to "while ("
9690
9691         * lyxlength.[Ch]: add zero function to check if length is zero or
9692         not
9693         * lyxgluelength.C: use it
9694
9695 2001-12-05  Allan Rae  <rae@lyx.org>
9696
9697         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9698         Works for 2.95.3, from what I understand of Garst's reports this should
9699         work for other g++ versions.  We're screwed if the abs(int) definition
9700         changed between bugfix releases of gcc.
9701
9702 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9703
9704         * text.C: fix chapter label offset !
9705
9706 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9707
9708         * lyxtext.h:
9709         * text.C: fix hfill at end of line, clean up
9710
9711 2001-12-04  Juergen Vigna  <jug@sad.it>
9712
9713         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9714         that we force an update of the inset and it's owners if neccessary.
9715
9716 2001-12-03  Juergen Vigna  <jug@sad.it>
9717
9718         * text.C (rowLast): simplified code
9719
9720 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9721
9722         * lyxfunc.C: fix show options on timeout
9723
9724 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9725
9726         * screen.C (topCursorVisible): scroll half a page when the cursor
9727         reached top of bottom of screen
9728
9729 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * minibuffer.C: deactivate on loss of focus
9732
9733 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9734
9735         * vspace.[Ch] (operator!=): add operator.
9736
9737 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9738
9739         * BufferView_pimpl.C: refuse to open an inset when
9740         there's a selection.
9741
9742 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * BufferView_pimpl.C: allow to click on RHS of full row insets
9745
9746 2001-11-30  Juergen Vigna  <jug@sad.it>
9747
9748         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9749         insets for undo reasons.
9750
9751 2001-11-28  André Pönitz <poenitz@gmx.net>
9752
9753         * vspace.[Ch]: cosmetical changes
9754
9755 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9756
9757         * LyXAction.h:
9758         * LyXAction.C:
9759         * lyxfunc.h:
9760         * lyxfunc.C:
9761         * kbmap.h:
9762         * kbmap.C:
9763         * lyxrc.C:
9764         * kbsequence.h:
9765         * kbsequence.C: part re-write of old kb code
9766
9767         * Painter.C:
9768         * WorkArea.C: remove Lgb_bug_find_hack
9769
9770 2001-11-30  José Matos <jamatos@fep.up.pt>
9771
9772         * buffer.C (makeDocBookFile): add a comment to point a hack.
9773         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9774         Fixed a double write of labels.
9775
9776 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9777
9778         * LaTeX.C:
9779         * LaTeX.h Fixed bug in LaTeX class where it would not
9780         re-run latex if no depfiles were changed, but the .dvi was removed.
9781
9782 2001-11-28  André Pönitz <poenitz@gmx.net>
9783
9784         * all the files from the change on 2001/11/26:
9785         use lyx::layout_type instead of LyXTextClass::size_type
9786         use lyx::textclass_type instead of LyXTextClassList::size_type
9787
9788 2001-11-29  Juergen Vigna  <jug@sad.it>
9789
9790         * text.C: added support for paragraph::isFreeSpacing()
9791
9792         * buffer.C: same as above
9793
9794         * paragraph.h: inserted isFreeSpacing() function to enable
9795         FreeSpacing inside InsetERT.
9796
9797         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9798         of the paragraph's in the cut/copy buffer to 0!
9799
9800         * text2.C (removeRow): remove the assert as it can!
9801
9802         * lyxtext.h: added helper function firstRow returning firstrow and
9803         made firstrow private again.
9804
9805         * BufferView2.C (lockInset): don't relock if we're already locked!
9806
9807         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9808         the only paragraph.
9809         (removeRow): added Assert::(firstrow)
9810
9811         * debug.C: forgot to add INSETTEXT here.
9812
9813 2001-11-28  Juergen Vigna  <jug@sad.it>
9814
9815         * sp_spell.C (initialize): changed error text to more general
9816         spellchecker command use (not only ispell!)
9817
9818         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9819
9820         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9821
9822 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9823
9824         * vspace.C: initialise lyxgluelength on failure
9825
9826 2001-11-28  Allan Rae  <rae@lyx.org>
9827
9828         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9829         declaration & definition that looks like a function declaration.
9830
9831 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9832
9833         * BufferView2.C (copy):
9834         (copyEnvironment): do not clear the selection when doing a copy.
9835
9836         * text.C (paintFirstRow): compilation fix
9837
9838 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9839
9840         * tabular.C (Latex): correct line count when writing latex.
9841
9842 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9843
9844         * paragraph_pimpl.h:
9845         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9846           bug a bit
9847
9848 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9849
9850         * text.C:
9851         * LColor.h:
9852         * LColor.C: change vfillline->added_space
9853
9854         * text.C: add markers and text for added space
9855
9856         * vspace.C: fix comment
9857
9858 2001-11-28  André Pönitz <poenitz@gmx.net>
9859
9860         * paragraph.C: whitespace changes
9861         * all the other files from the change on 2001/11/26:
9862         change *::pos_type into lyx::pos_type
9863
9864 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9865
9866         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9867         language of the document when inserting error insets.
9868
9869 2001-11-26  André Pönitz <poenitz@gmx.net>
9870
9871         * BufferView_pimpl.[Ch]:
9872         *       CutAndPaste.C:
9873         * buffer.[Ch]:
9874         * lyxcursor.[Ch]:
9875         * lyxfind.C:
9876         * lyxfunc.C:
9877         * lyxrow.[Ch]:
9878         * paragraph.[Ch]:
9879         * paragraph_pimpl.[Ch]:
9880         * sp_spell.C:
9881         * text.C:
9882         * text2.C: reduce header dependencies, introduce type for positions
9883
9884 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9885
9886         * <various>: change to use Alert.h
9887
9888 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9889
9890         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9891         when encountering an unknown token.
9892         (readLyXformat2): Show an error message if there were unknown tokens.
9893
9894 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * BufferView2.C:
9897         * BufferView_pimpl.C:
9898         * buffer.C:
9899         * paragraph.h:
9900         * text.C:
9901         * text2.C: use par->isInset()
9902
9903 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9904
9905         * paragraph_pimpl.h:
9906         * paragraph_pimpl.C: cleanup
9907
9908 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9909
9910         * text2.C (removeRow):
9911         * text.C (setHeightOfRow): remove useless (and costly) call to
9912         getRow.
9913
9914 2001-11-20  Allan Rae  <rae@lyx.org>
9915
9916         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9917         Now need Inset*::checkInsertChar() to return true for appropriate
9918         cases so that the characters in the minibuffer will actually be
9919         inserted.
9920
9921 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9922
9923         * text.C: change the order of the includes.
9924         (workWidth): initialize it at once.
9925         (workWidth): make maxw unsigned
9926         (setHeightOfRow): remove unused variable (inset)
9927         (selectSelectedWord): remove unused variable (inset)
9928         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9929
9930 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9931
9932         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9933         server is not running.
9934         (openConnection):
9935         (closeConnection): add debug info when server is disabled.
9936
9937         * ColorHandler.C (getGCForeground): send debug message to GUI
9938         channel.
9939
9940         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9941
9942         * kbmap.C (bind): modify because return conventions of
9943         kb_sequence::parse have changed.
9944
9945         * kbsequence.C (parse): only ignore spaces and not any stupid
9946         control character. This avoids tests like s[i] <= ' ', which are
9947         guaranteed to fail with 8bit characters and signed chars.
9948         Change return code to string::npos when there have been no error
9949         (0 was a bad idea when error is at first character)
9950
9951 2001-11-14  José Matos  <jamatos@fep.up.pt>
9952
9953         * buffer.h:
9954         * buffer.C (simpleDocBookOnePar): removed unused argument.
9955
9956 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9957
9958         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9959         insets which are part of a word. Paragraph::isLetter takes care of
9960         that now. Use Paragraph::isInset to identify insets.
9961         (selectSelectedWord): do not test for hyphenation break.
9962
9963         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9964         that protected spaces are considered as spaces.
9965
9966         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9967         Inset::isLetter.
9968
9969 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9970
9971         * lyxserver.h:
9972         * lyxserver.C: fix it. and small cleanup.
9973
9974 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9975
9976         * BufferView_pimpl.C: use inline helpers
9977
9978         * LaTeXFeatures.h:
9979         * LaTeXFeatures.C: fix typos
9980
9981         * Spacing.h:
9982         * Spacing.C: move spacing_string into class
9983
9984         * ToolbarDefaults.C: move stuff into namespace anon
9985
9986         * layout.h: update enum
9987
9988         * lyxfunc.C: use better debug
9989
9990         * minibuffer.h: fix typo
9991
9992         * debug.h:
9993         * debug.C:
9994         * WorkArea.C: add and use Debug::WORKAREA
9995
9996         * lyxtext.h:
9997         * text.C:
9998         * text2.C: code re-organisation, inline helpers
9999
10000 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10001
10002         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10003         std::vector.empty().
10004
10005 2001-11-09  Allan Rae  <rae@lyx.org>
10006
10007         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10008         '\n's after tables.  Tabular and ERT inset work now makes this no
10009         longer necessary.
10010
10011 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10012
10013         * minibuffer.h:
10014         * minibuffer.C: fix crash, improve drop-down completion
10015
10016 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10017
10018         * lyxserver.h:
10019         * lyxserver.C: invalidate fd's when doing endPipe()
10020
10021 2001-11-08  José Matos  <jamatos@fep.up.pt>
10022
10023         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10024         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10025
10026         * paragraph.h:
10027         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10028
10029 2001-11-07  José Matos  <jamatos@fep.up.pt>
10030
10031         * buffer.h:
10032         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10033         const qualifier.
10034
10035         * buffer.C (sgmlOpenTag):
10036         * buffer.C (sgmlCloseTag): removed debug info.
10037
10038         * buffer.h (sgmlOpenTag):
10039         * buffer.h (sgmlCloseTag): made public.
10040
10041 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10042
10043         * buffer.C (saveParamsAsDefaults):
10044         * lyx_cb.C (MenuLayoutSave): remove
10045
10046         * LyXAction.C (init):
10047         * commandtags.h:
10048         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10049
10050 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10051
10052         * buffer.C (setPaperStuff): removed from here...
10053
10054         * bufferparams.C (setPaperStuff): ... and moved there.
10055
10056 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10057
10058         * minibuffer.h:
10059         * minibuffer.C:
10060         * XFormsView.C: add support for drop-down completion
10061
10062 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10063
10064         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10065         commands.
10066
10067 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10068
10069         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10070         disabled.
10071
10072 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10073
10074         * lyx_main.C: change ref to known bugs
10075
10076 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10077
10078         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10079         to work around older babel problems.
10080
10081 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10082
10083         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10084
10085 2001-10-24  Juergen Vigna  <jug@sad.it>
10086
10087         * tabular-old.C (ReadOld): below variable changes reflected.
10088
10089         * tabular.[Ch]: added ltType struct for longtable header/footer
10090         defines and changed all instances where they are used. Added
10091         future support for double top/bottom rows.
10092
10093 2001-10-24  José Matos  <jamatos@fep.up.pt>
10094
10095         * buffer.h (docbookHandleCaption):
10096         * buffer.C (docbookHandleCaption): removed unused function.
10097         (makeDocBookFile): moved docbook supported version to v4.1.
10098
10099 2001-10-24  José Matos  <jamatos@fep.up.pt>
10100
10101         * tabular.h:
10102         * tabular.C (docbookRow): new function to export docbook code of a row.
10103         (DocBook): now honors the longtable flags.
10104
10105 2001-10-23  José Matos  <jamatos@fep.up.pt>
10106
10107         * LaTeXFeatures.h:
10108         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10109         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10110
10111         * buffer.C (makeLinuxDocFile):
10112         (makeDocBookFile): reworked the preamble, more clean, and with
10113         support for lyx defined entities. Changed the document declaration
10114         to be more XML friendly.
10115
10116         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10117         if we need to output XML that should be done with a filter.
10118
10119 2001-10-22  Juergen Vigna  <jug@sad.it>
10120
10121         * sp_pspell.h (class PSpell): add alive function needed in the
10122         controller to see if the spellchecker could be started.
10123
10124 2001-10-22  Juergen Vigna  <jug@sad.it>
10125
10126         * buffer.C (insertStringAsLines): modify the font for inserting
10127         chars in certain conditions by calling checkInsertChar(font).
10128
10129 2001-10-19  Juergen Vigna  <jug@sad.it>
10130
10131         * text.C (workWidth): use getRow instead of wrong algorithm.
10132         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10133
10134 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10135
10136         * lyxserver.h:
10137         * lyxserver.C:
10138         * lyx_main.h:
10139         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10140
10141 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10142
10143         * text.C (workWidth): do not search for the exact row when
10144         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10145         optimization for big documents.
10146
10147 2001-10-18  Juergen Vigna  <jug@sad.it>
10148
10149         * text.C (workWidth): new function with added Inset * parameter.
10150
10151 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10152
10153         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10154
10155         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10156         change return type of getColumnNearX.
10157
10158
10159         * text.C (changeRegionCase): use uppercase/lowercase instead of
10160         toupper/tolower.
10161         (leftMargin):
10162         (rightMargin): simplify code by factoring out the uses of
10163         textclasslist.
10164         (labelFill):
10165         (numberOfHfills):
10166         (setHeightOfRow):
10167         (appendParagraph): use Paragraph::size_type
10168
10169 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10170
10171         * vspace.C (asLatexString): add a missing break
10172
10173 2001-10-15  Herbert Voss  <voss@perce.de>
10174
10175         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10176
10177 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10178
10179         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10180         is not available.
10181
10182 2001-10-10  André Pönitz <poenitz@gmx.net>
10183
10184         * lyxfunc.C: removed greek_kb_flag.
10185
10186 2001-10-10  Herbert Voss  <voss@perce.de>
10187
10188         * lyx_main.C: delete global string help_lyxdir.
10189
10190 2001-10-09  Herbert Voss  <voss@perce.de>
10191
10192         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10193
10194         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10195
10196         * lyx_main.C: added global string help_lyxdir.
10197
10198         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10199
10200 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10201
10202         * lyxrc.C (set_font_norm_type): support iso8859-4
10203
10204 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10205
10206         * LaTeX.C (deplog): add another regex for MikTeX
10207
10208 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10209
10210         * lyxrc.C (set_font_norm_type): support iso8859-3
10211
10212 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10213
10214         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10215
10216         * LaTeXFeatures.C: remove special case of french and index
10217
10218         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10219         before \begin{document}). This solves several incompatibilities.
10220
10221 2001-10-03  Garst Reese  <reese@isn.net>
10222
10223         * lyx_cb.C: change CheckTex error msg.
10224
10225 2001-10-03  José Matos  <jamatos@fep.up.pt>
10226
10227         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10228
10229 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10230
10231         * .cvsignore: update
10232
10233         * lyx_main.C (commandLineVersionInfo): use new style version info.
10234
10235         * buffer.C (writeFile):
10236         (makeLaTeXFile):
10237         (makeLinuxDocFile):
10238         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10239
10240         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10241
10242         * version.h: update to use stuff in version.C
10243
10244         * version.C.in: new file. Contains version information determined
10245         at compile time. This is a merging of version.h and
10246         version_info.h.in.
10247
10248 2001-10-03  Juergen Vigna  <jug@sad.it>
10249
10250         * BufferView_pimpl.C (update): don't change "dirty" status in
10251         updateInset call.
10252
10253 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10254
10255         * WorkArea.C (c-tor): re-position version string slightly.
10256
10257 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10258
10259         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10260         revert to previous code.
10261
10262         WorkArea.[Ch]: (show, destroySplash): methods removed.
10263
10264         WorkArea.C: rework code so that it's an amalgam of the codes before and
10265         after the splash screen was moved to WorkArea.
10266
10267 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10268
10269         * lyxrc.C (read):
10270         * vspace.C (inPixels):
10271         (lyx_advance):
10272         * kbmap.C (bind):
10273         * buffer.C (insertStringAsLines):
10274         (asciiParagraph): fix types to be large enough
10275
10276         * lyxlex_pimpl.h: change member status from short to int
10277
10278         * layout.h: fix type of endlabeltype
10279
10280         * kbmap.C (bind):
10281         * kbsequence.C (parse): change return type to string::size_type
10282
10283         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10284         variable
10285
10286         * Bullet.C (bulletSize):
10287         (bulletEntry): do not use short ints as parameters
10288
10289         * BufferView2.C (insertLyXFile): change a char to an int.
10290
10291         * WorkArea.C (WorkArea): remove unneeded floats in computation
10292
10293 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10294
10295         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10296
10297         * paragraph.C (asString): Do not ignore newline/hfill chars when
10298         copying to the clipboard.
10299
10300 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10301
10302         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10303         after a multi-line inset.
10304
10305 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10306
10307         * paragraph.C (validate): Set NeedLyXFootnoteCode
10308
10309 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10310
10311         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10312         and decrease-error to decrease.
10313
10314 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10315
10316         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10317         it more readable (should be equivalent)
10318
10319 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10320
10321         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10322
10323 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10324
10325         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10326         of a cursor (row, etc.) after a character has been deleted
10327         (deleteEmptyParagraphMechanism): call the method above on _all_
10328         cursors held by the LyXText when a double space has been
10329         detected/deleted.
10330
10331 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10332
10333         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10334         pixmap.
10335         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10336
10337         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10338         background. Use greyOut() and the new show() methods to toggle between
10339         the foreground and background. Add code to remove the splash after
10340         its initial showing.
10341
10342         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10343         (create_forms): no longer call Dialogs::showSplash.
10344
10345 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10346
10347         * .cvsignore: add version_info.h
10348
10349 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10350
10351         * version_info.h.in: new file
10352
10353         * Makefile.am: add version_info.h.in
10354
10355         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10356         version_info.h instead of VERSION_INFO
10357
10358 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10359
10360         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10361         The ERT inset now returns string().
10362
10363 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10364
10365         * lyxtext.h, text.C (selectNextWord): renamed as
10366         selectNextWordToSpellcheck.
10367
10368         * text.C (selectNextWordToSpellcheck): Modified to not select
10369         words inside an ERT inset.
10370
10371 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10372
10373         * lyx_cb.C (MenuLayoutSave): change a bit the question
10374
10375         * sp_base.h: include <sys/types.h>
10376
10377 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10378
10379         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10380
10381 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10382
10383         * several files: fix typos in user-visible strings
10384
10385 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10386
10387         * text2.C (pasteSelection): do not set the selection, since it
10388         will be cleared later. Actually, the intent was to fix the way the
10389         selection was set, but I figured rmoving the code was just as good.
10390
10391 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10392
10393         * FontLoader.C (available): Check if font is available without
10394         loading the font.
10395
10396 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10397
10398         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10399
10400 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10401
10402         * lyxrc.[Ch]: added display_graphics variable and associated code.
10403
10404 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10405
10406         * bufferparams.C (hasClassDefaults): new method. Returns true if
10407         the buffer parameters correspond to known class defaults
10408
10409 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10410
10411         * XFormsView.C (show): set minimum size to the main window.
10412
10413 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10414
10415         * text2.C (copySelection):
10416         (cutSelection):
10417         * lyxfind.C (LyXReplace):
10418         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10419         LyXText::selectionAsString.
10420
10421         * paragraph.C (asString): add "label" argument to the second form
10422
10423         * text2.C (selectionAsString): add "label" argument and pass it to
10424         Paragraph::asString.
10425
10426 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10427
10428         * lyx_main.C (commandLineHelp): remove version information
10429
10430 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10431
10432         * lyx_main.C: add -version commandline option
10433
10434 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10435
10436         * paragraph.h: make the optional constructor arg required instead.
10437         some modifications to other files because of this.
10438
10439         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10440
10441         * lyxserver.C (C_LyXComm_callback): make it static
10442
10443         * lyx_main.C (error_handler): make it static
10444
10445         * lyx_gui.C (LyX_XErrHandler): make it static
10446
10447         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10448
10449         * WorkArea.C: make the extern "C" methods static.
10450
10451         * Makefile.am (lyx_LDADD): simplify
10452
10453 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10454
10455         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10456         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10457
10458         * LyXAction.C (init):
10459         * lyxfunc.C (dispatch): associated code removal.
10460
10461 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10462
10463         * lyxfont.h (isSymbolFont): shut off warning
10464
10465         * text.C (setHeightOfRow):
10466         (getVisibleRow): fix crash with empty paragraphs which have a
10467         bottom line
10468
10469 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10470
10471         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10472         code.
10473
10474 2001-09-04  José Matos  <jamatos@fep.up.pt>
10475         * buffer.C
10476         * buffer.h
10477         * tabular.C (docbook): rename docBook method to docbook.
10478
10479 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10480
10481         * Makefile.am: add dependencies to main.o.
10482
10483 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10484
10485         * FontLoader.C (available): Return false if !lyxrc.use_gui
10486
10487 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10488
10489         * FontInfo.C (query):
10490         * converter.C (view):
10491         * importer.C (Import):
10492         * exporter.C (Export): Can not -> cannot.
10493
10494 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * BufferView_pimpl.C: allow to create index inset even if
10497           string is empty
10498
10499 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10500
10501         * buffer.C (getLists): replace boost::tie code with an explicit pair
10502         as boost::tie can break some compilers.
10503
10504         * iterators.h: Added a std:: declaration to the return type of
10505         ParIterator::size.
10506
10507 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10508
10509         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10510           case.
10511
10512 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10513
10514         * iterators.[Ch]: New files. Provide paragraph iterators.
10515
10516         * buffer.C (changeLanguage): Use paragraph iterators.
10517         (isMultiLingual): ditto
10518
10519         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10520
10521 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10522
10523         * FontLoader.C: Support for cmr font.
10524
10525 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10526
10527         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10528         (available): New method.
10529
10530         * FontInfo.C (getFontname): Use scalable fonts even when
10531         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10532         found.
10533
10534 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10535
10536         * converter.C (Formats::view): reverted! Incorrect fix.
10537
10538 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10539
10540         * converter.C (Formats::view): only output the -paper option
10541         if the dvi viewer is xdvi, thereby fixing bug #233429.
10542
10543 2001-08-23  Herbert Voss  <voss@perce>
10544
10545         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10546
10547 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10548
10549         * Spacing.h (Spacing): Set space to Default on in the default
10550         constructor.
10551
10552 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10553
10554         * vc-backend.h (RCS::versionString): add RCS to version
10555         (CVS::versionString): add CVS to version
10556
10557         * vc-backend.C (scanMaster): do not add CVS to version.
10558         (scanMaster): do not add RCS to version
10559
10560         * lyxvc.C (versionString): new method
10561
10562         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10563
10564 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10565
10566         * Spacing.C (set): initialize fval
10567
10568 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10569
10570         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10571         " or \.
10572
10573 2001-08-16  Juergen Vigna  <jug@sad.it>
10574
10575         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10576
10577 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10578
10579         * BufferView_pimpl.C:
10580         * figureForm.C:
10581         * lyxtext.h:
10582         * text2.C: setParagraph takes linespacing now
10583
10584 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10585
10586         * LyxAction.C: add internal LFUN_CITATION_INSERT
10587
10588         * LyXView.C: actually apply fix
10589
10590         * bufferlist.C: fix open non-existent file
10591
10592         * lyxfind.C: fix indentation
10593
10594         * lyxfunc.C: remove unneeded assert, fix typo
10595
10596 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * MenuBackend.C: use "Floatname List"
10599
10600 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10601
10602         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10603         when converting LaTeX layout to insetERT.
10604         Generate a non-collapsed float when reading old float
10605
10606 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10607
10608         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10609         ERT insets.
10610
10611 2001-08-13  Juergen Vigna  <jug@sad.it>
10612
10613         * text.C (fill): return 0 instead of 20 as this seems to be the more
10614         correct value.
10615
10616 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10617
10618         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10619         lyxrc.font_norm.
10620
10621 2001-08-13  Juergen Vigna  <jug@sad.it>
10622
10623         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10624         casesensitive off.
10625         (SearchBackward): comment out the unlocking of the inset_owner this
10626         should not be needed!
10627
10628 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10629
10630         * Many files: Remove inherit_language, and add latex_language
10631
10632         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10633         collapsible insets.
10634
10635 2001-08-10  Juergen Vigna  <jug@sad.it>
10636
10637         * text.C (prepareToPrint): fixed hfill-width in draw!
10638
10639         * BufferView2.C (selectLastWord): save the selection cursor as this
10640         now is cleared in the function LyXText::clearSelection!
10641
10642 2001-08-08  Juergen Vigna  <jug@sad.it>
10643
10644         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10645         BACKSPACE type functions.
10646
10647         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10648         is only cutted from the document but not put in the cut-buffer, where
10649         still the old stuff should be.
10650
10651         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10652
10653         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10654
10655         * tabular.C (SetWidthOfCell): fixed special case where the width
10656         was not updated!
10657         (LeftLine): handle '|' in align_special.
10658         (RightLine): ditto
10659         (LeftAlreadyDrawed): ditto
10660         (SetWidthOfCell): ditto
10661
10662 2001-08-07  Juergen Vigna  <jug@sad.it>
10663
10664         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10665
10666 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10667
10668         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10669         * lyxlex.[hC]: ditto
10670
10671 2001-08-06  Juergen Vigna  <jug@sad.it>
10672
10673         * text.C (getVisibleRow): fix up row clearing a bit.
10674
10675 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10676
10677         * minibuffer.C: make sure the X server sees the changes in the input.
10678
10679 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10680
10681         * paragraph.C (getFont): split into...
10682         (getLabelFont): this
10683         (getLayoutFont): and this
10684         * paragraph_pimpl.C (realizeFont): calling this
10685
10686         * text2.C (getFont): split into...
10687         (getLayoutFont): this
10688         (getLabelFont): and this
10689         (realizeFont): all three calling this
10690
10691         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10692         files where used.
10693
10694 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10695
10696         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10697
10698 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10699
10700         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10701         layouts from the Quote inset insertion.
10702
10703 2001-08-03  Juergen Vigna  <jug@sad.it>
10704
10705         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10706
10707         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10708         only if status not is already CHANGED_IN_DRAW (second level).
10709
10710         * text.C (draw): don't set the need_break_row when inside an
10711         InsetText LyXText.
10712
10713 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10714
10715         * buffer.C (parseSingleLyXformat2Token): handle more latex
10716         conversion cases.
10717
10718         * bufferview_funcs.[hC]: change function names to
10719         begin with small char, adjust other files.
10720
10721 2001-08-02  André Pönitz <poenitz@gmx.net>
10722
10723         * lyxfunc.C:
10724         BufferView_pimpl.C: remove broken special code for math-greek
10725
10726 2001-08-02  Juergen Vigna  <jug@sad.it>
10727
10728         * BufferView_pimpl.C (update): redone this function so that we
10729         update the text again if there was a CHANGE_IN_DRAW.
10730
10731         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10732         (drawFromTo): added a new internal bool which is used by draw() and
10733         redraw() function.
10734         (general): some cursor drawing problems fixed.
10735
10736 2001-08-01  Juergen Vigna  <jug@sad.it>
10737
10738         * lyxfind.C (LyXFind): fixed
10739         (SearchForward): ditto
10740         (SearchBackward): ditto
10741
10742         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10743         spurius drawing of the cursor in the main area.
10744
10745         * text2.C (status): small fix which could lead to a segfault!
10746         (clearSelection): remove unneeded BufferView param.
10747
10748 2001-08-01  André Pönitz <poenitz@gmx.net>
10749
10750         * lyxfunc.C: small change due to changed mathed interface
10751
10752 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10753
10754         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10755
10756 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10757
10758         * lyxfunc.c: fail gracefully if file doesn't exist
10759
10760         * LyXSendto.C:
10761         * buffer.C:
10762         * lyxfunc.C:
10763         * BufferView_pimpl.C: IsDirWriteable() proto changed
10764
10765         * LyXView.C: fix updateWindowTitle() to store the last title
10766
10767 2001-07-31  Juergen Vigna  <jug@sad.it>
10768
10769         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10770         the font (wrong since using of Paragraph::highestFontInRange).
10771
10772         * paragraph.C (highestFontInRange): added a default_size parameter.
10773
10774         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10775         (setHeightOfRow): reformat
10776
10777 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10778
10779         * converter.[hC] + affected files: move to (inital-char)lowercase
10780         function names.
10781
10782         * ParagraphParameters.C (ParagraphParameters): remove commented code
10783
10784         * PainterBase.[Ch]: remove commented code
10785
10786         * LaTeXFeatures.h: add "bool floats" for float.sty
10787
10788         * LaTeXFeatures.C (LaTeXFeatures): init floats
10789         (require): handle float
10790         (getPackages): do it with floats
10791
10792 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10793
10794         * BufferView_pimpl.C (Dispatch): improve handling of
10795         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10796
10797         * commandtags.h: #include lyxfont.h here temporarily to avoid
10798         keybinding bug.
10799
10800         * bufferlist.h: include LString.h here.
10801
10802 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10803
10804         * text2.C (getStringToIndex): new method.
10805
10806 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10807
10808         * *: Reduced header file dependencies all over.
10809
10810 2001-07-30  Baruch Even  <baruch@lyx.org>
10811
10812         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10813
10814 2001-07-29  Baruch Even  <baruch@lyx.org>
10815
10816         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10817
10818 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10819
10820         * ParameterStruct.h (endif): add a default constructor to make
10821         sure that all variables is initialized.
10822
10823         * ParagraphParameters.C (ParagraphParameters): adjust
10824
10825 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10826
10827         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10828         index; also, check that there is something to index, and that it
10829         does not span over several paragraphs.
10830         (doubleClick): use WHOLE_WORD_STRICT for double click.
10831
10832         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10833
10834         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10835         scheme.
10836
10837 2001-07-26  Baruch Even  <baruch@lyx.org>
10838
10839         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10840         an InsetFig figure, backwards compatible reading of old figure code.
10841
10842 2001-07-27  Juergen Vigna  <jug@sad.it>
10843
10844         * text2.C: font.realize function adaption.
10845
10846         * text.C (draw): add a warnings lyxerr text if needed.
10847
10848         * layout.C: font.realize function adaption.
10849
10850         * language.C: add inherit_language and implement it's handlings
10851
10852         * bufferview_funcs.C (StyleReset): remove language parameter from
10853         font creation (should be language_inherit now).
10854
10855         * bufferparams.C (writeFile): handle ignore_language.
10856
10857         * paragraph.C (getFontSettings): the language has to be resolved
10858         otherwise we have problems in LyXFont!
10859
10860         * lyxfont.C (lyxWriteChanges): added document_language parameter
10861         (update): removed unneeded language parameter
10862
10863         * paragraph.C (validate): fixed wrong output of color-package when
10864         using interface colors for certain fonts in certain environments,
10865         which should not seen as that on the final output.
10866
10867 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10868
10869         * BufferView_pimpl.C:
10870         * Thesaurus.h:
10871         * Thesaurus.C:
10872         * Makefile.am:
10873         * commandtags.h:
10874         * LyXAction.C: add thesaurus support
10875
10876         * lyxfind.h:
10877         * lyxfind.C: add "once" parameter, for thesaurus, to not
10878           move to the next match
10879
10880 2001-07-26  Juergen Vigna  <jug@sad.it>
10881
10882         * lyxfont.C (realize): honor ignore_language too!
10883         (resolved): ditto.
10884
10885         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10886
10887         * text.C (draw): one place more for ignore_language to not draw
10888         itself!
10889
10890 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10891
10892         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10893
10894 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10895
10896         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10897         the minipage conversion problem.
10898
10899 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10900
10901         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10902         insert an inset.
10903
10904 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10905
10906         * BufferView.h: don't forward declare WorkArea
10907
10908         * BufferView.C: don't include WorkArea.h
10909
10910 2001-07-25  André Pönitz <poenitz@gmx.net>
10911
10912         * commandtags.h:
10913         * LyXAction.C:
10914         * lyxfunc.C:  new LFUN 'math-space'
10915
10916         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10917
10918 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10919
10920         * text2.C (toggleInset): call open/close
10921
10922 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10923
10924         * lyxfunc.C (dispatch): add debug for the disabled case
10925
10926         * font.C (buttonText): make similar to rectText
10927
10928         * buffer.C (readInset): comment out parsing of insetlist and
10929         insttheorem
10930
10931         * PainterBase.C (rectText): small correction
10932
10933         * BufferView_pimpl.C: comment out insettheorem and insetlist
10934         * LyXAction.C: ditto
10935         * commandtags.h: ditto
10936
10937 2001-07-24  Juergen Vigna  <jug@sad.it>
10938
10939         * text.C (draw): honor the ignore_language.
10940
10941         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10942
10943 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10944
10945         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10946         char inset.
10947
10948 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10949
10950         * lyxtext.h: remove unused (and unimplemented) methods
10951
10952 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10953
10954         * text.C (getVisibleRow): honor background color
10955
10956         * PainterBase.h:
10957         * Painter.h: remove default color argument for fillRectangle
10958
10959         * text.C (backgroundColor): new method
10960
10961 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10962
10963         * text.C (getVisibleRow): adjust
10964
10965         * font.[Ch] (rectText): new method, metrics
10966         (buttonText): new method, metrics
10967
10968         * PainterBase.[hC]: make rectText and buttonText always draw and take
10969         fewer paramteres.
10970
10971 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10972
10973         * ToolbarDefaults.C (read):
10974         * MenuBackend.C (read): allow escaping in all strings
10975
10976         * BufferView_pimpl.C (insertAndEditInset): new method.
10977         (Dispatch): use insertAndEditInset whenever appropriate.
10978
10979         * BufferView_pimpl.C (insertNote): removed
10980
10981         * BufferView_pimpl.C (smartQuote): new method, moved from
10982         BufferView; if an insetquote cannot be inserted, insert a '"'
10983         character instead.
10984
10985         * BufferView2.C: remove insertCorrectQuote();
10986
10987         * lyxfunc.C (getStatus): Add support for all remaingin
10988         inset-insert lfuns.
10989
10990         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10991
10992         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10993         command (necessary to pass " as parameter of self-insert.
10994
10995         * text.C (selectWordWhenUnderCursor):
10996         (selectWord): add word_location parameter
10997         (selectWordWhenUnderCursor): same + remove special code for word
10998         boundary.
10999         (selectNextWord): use kind() to guess type of insetspecialchar,
11000         not latex().
11001
11002         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11003         (insertErtContents): create ert insets as collapsed.
11004         (readInset): better compatibility code for Info inset.
11005
11006 2001-07-20  Juergen Vigna  <jug@sad.it>
11007
11008         * lyxfunc.C (dispatch): use always LyXFind now!
11009
11010         * text2.C (init): add a reinit flag so that the LyXText can be
11011         reinited instead of deleted and reallocated (used in InsetText).
11012
11013         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11014
11015         * text.C: ditto
11016
11017         * text2.C: ditto
11018
11019 2001-07-18  Juergen Vigna  <jug@sad.it>
11020
11021         * text.C (selectNextWord): handle insets inside inset by calling
11022         always the bv->text functions so that we can go up the_locking_inset!
11023
11024         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11025         in strange locations when inside an inset!
11026
11027         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11028         handling to include insets.
11029
11030         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11031
11032 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11033
11034         * LyXAction.C (init):
11035         * commandtags.h:
11036         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11037         LIGATURE_BREAK, since the name is so stupid.
11038
11039 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11040
11041         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11042         InsetInfos.
11043
11044         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11045
11046         * sp_form.[Ch]: remove.
11047
11048         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11049
11050         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11051         InsetInfo.
11052
11053         * src/buffer.C (readInset): ditto.
11054
11055 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11056
11057         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11058         menuSeparator(), endOfSentenceDot(), ldots() and
11059         hyphenationPoint(), which are therefore removed.
11060         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11061
11062         * LyXAction.C (init):
11063         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11064
11065         * paragraph.C (getWord): removed.
11066
11067         * BufferView_pimpl.C (Dispatch): use last word or selection for
11068         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11069
11070         * lyx_main.C (queryUserLyXDir): do not ask before creating
11071         user_dir, except if it has been named explicitely.
11072
11073 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11074
11075         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11076         a document of zero size.
11077
11078 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11079
11080         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11081         approriately in the c-tor and in require().
11082         (getPackages): output the appropriate LaTeX for natbib support.
11083
11084         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11085         variables "use_natbib" and "use_numerical_citations" when reading the
11086         LyX file.
11087         (readInset): read the various natbib cite commands.
11088         (validate): white-space change.
11089
11090         * bufferparams.[Ch]: new variables "bool use_natbib" and
11091         "bool use_numerical_citations".
11092         (writeFile): output them in the LyX file.
11093
11094 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11095
11096         * lyxfunc.C (getStatus): add support for all the inset insertion
11097         commands.
11098
11099         * text2.C (insertInset):
11100         * paragraph.C (insetAllowed):
11101         * BufferView_pimpl.C (insertInset): update to take in account the
11102         renaming of insertInsetAllowed
11103
11104         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11105
11106         * text2.C (getInset): new method. returns inset at cursor position.
11107
11108         * BufferView_pimpl.C (Dispatch): changes because of this.
11109
11110         * LyXAction.C (init): rename open-stuff to inset-toggle.
11111
11112         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11113
11114         * text2.C (toggleInset): renamed from openStuff; use
11115         Inset::open().
11116
11117 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11118
11119         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11120
11121         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11122
11123 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11124
11125         * buffer.C (readLyXformat2): Add filename to the error dialog
11126
11127 2001-07-18  Juergen Vigna  <jug@sad.it>
11128
11129         * tabular.C (GetCellNumber): put an assert here instead of the check!
11130
11131 2001-07-17  Juergen Vigna  <jug@sad.it>
11132
11133         * BufferView_pimpl.C (toggleSelection): adapted too.
11134
11135         * text.C (selectNextWord): adapted for use with insets.
11136         (selectSelectedWord): ditto
11137
11138 2001-07-17  Juergen Vigna  <jug@sad.it>
11139
11140         * sp_spell.C (PSpell): fix initialitation order.
11141
11142 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11143
11144         * paragraph.C: spacing
11145
11146 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11147
11148         * sp_spell.C: repair language selection for pspell
11149
11150 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11151
11152         * lyxfunc.h: change more methods to begin with lower char.
11153
11154 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11155
11156         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11157         for unknown layouts.
11158
11159 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11160
11161         * buffer.C (readLyXformat2): Generate an error dialog if there are
11162         unknown layouts.
11163
11164 2001-07-16  Juergen Vigna  <jug@sad.it>
11165
11166         * sp_spell.C: always compile ISpell part.
11167
11168         * lyxrc.C: added use_pspell entry and it's handling.
11169
11170 2001-07-13  Juergen Vigna  <jug@sad.it>
11171
11172         * sp_spell.C: removed double includes.
11173
11174 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11175
11176         Consistent use of Lsstream.h:
11177         * Lsstream.h: added using std::stringstream for consistencies sake.
11178
11179         * buffer.C: removed using std::stringstream
11180
11181         * lyxfont.C (stateText):
11182         * paragraph.C (asString):
11183         * text.C (selectNextWord, selectSelectedWord):
11184         * text2.C (setCounter):
11185         * vspace.C (asString, asLatexString):
11186         std::ostringstream -> ostringstream.
11187
11188 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11189
11190         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11191         * commandtags.h: add LFUN_HELP_ABOUTLYX
11192         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11193
11194 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11195
11196         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11197         cursorToggle()
11198         * lyx_gui_misc.C: remove spellchecker
11199         * lyxfunc.C: showSpellchecker
11200         * sp_base.h: added
11201         * sp_ispell.h: added
11202         * sp_pspell.h: added
11203         * sp_spell.C: added
11204         * sp_form.[Ch]: removed
11205         * spellchecker.[Ch]: removed
11206
11207 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11208
11209         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11210         is set.
11211         (simpleTeXSpecialChars): Simply print the input character without
11212         any special translation if pass_thru is set.
11213
11214         * layout.h: Added bool pass_thru to layout class for being able to
11215         implement pass through of a paragraph for Literate Programming.
11216
11217         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11218         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11219         * layout.C (Read): add "passthru" to list of layout tags and add
11220         code to set the pass_thru boolean when it is read.
11221
11222 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11223
11224         * trans_decl.h: remove allowed from KmodInfo
11225
11226         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11227         remove allowed code
11228         (Load): adjust
11229
11230         * paragraph_pimpl.C (erase): use boost::prior
11231
11232         * Painter.C (text): use data() instead of c_str() when length is
11233         also provided.
11234         * WorkArea.C (putClipboard): ditto
11235         * font.h (width): ditto
11236
11237         * BufferView2.C: use it-> instead of (*it). for iterators
11238         * texrow.C: ditto
11239         * paragraph_pimpl.C: ditto
11240         * paragraph.C: ditto
11241         * minibuffer.C: ditto
11242         * language.C: ditto
11243         * kbmap.C: ditto
11244         * encoding.C: ditto
11245         * counters.C: ditto
11246         * converter.C: ditto
11247         * chset.C: ditto
11248         * Variables.C: ditto
11249         * TextCache.C: ditto
11250         * MenuBackend.C: ditto
11251         * LyXAction.C: ditto
11252         * LColor.C: ditto
11253         * FloatList.C: ditto
11254         * DepTable.C: ditto
11255         * ColorHandler.C (LyXColorHandler): ditto
11256
11257 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11258
11259         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11260
11261         * text2.C (openStuff): reintroduce this method (which had been
11262         nuked in NEW_INSETS frenzy).
11263
11264         * lyxfunc.C (Dispatch): when an action has not been handled, use
11265         its name in the error message, not its number.
11266
11267         * paragraph.C (inInset): change method name to begin with lowercase.
11268
11269         * undo_funcs.C:
11270         * text2.C: updates because of this.
11271
11272 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11273
11274         * ToolbarDefaults.C (add): add spaces in error message
11275
11276 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11277
11278         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11279         (readLyXformat2): rename return_par to first_par, use lyxlex's
11280         pushToken and remove the manual push handling.
11281         (parseSingleLyXformat2Token): add another ert comp. variable:
11282         in_tabular, rename return_par to first_par. handle newlines better
11283
11284 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11285
11286         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11287
11288 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11289
11290         * text2.C (getParFromID): removed
11291
11292         * buffer.C (getParFromID): new method moved form lyxtext.
11293         * BufferView2.C (insertErrors): adjust
11294         (setCursorFromRow): adjust
11295         * BufferView_pimpl.C (restorePosition): adjust
11296         * lyxfunc.C (Dispatch): adjust
11297         * undo_funcs.C (textUndo): adjust
11298         (textRedo): adjust
11299         (textHandleUndo): adjust
11300         (textHandleUndo): adjust
11301
11302 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11303
11304         * buffer.C: up' the LYX_FORMAT
11305
11306         * lyxfont.h: turn NO_LATEX on as default
11307
11308         * buffer.C (insertErtContents): new methods of tex style compability.
11309         (parseSingleLyXformat2Token): use it several places.
11310         * tabular.C (OldFormatRead): and here
11311
11312 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11313
11314         * text2.C: remove some commented code.
11315         reindent file.
11316
11317         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11318         * trans.C: changes because of the above.
11319
11320 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11321
11322         * text2.C (setCounter): Fix counters bug with bibliography layout.
11323
11324 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11325
11326         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11327         own member functions
11328         (simpleTeXSpecialChars): ditto
11329
11330 2001-07-06  Juergen Vigna  <jug@sad.it>
11331
11332         * a lot of files: changed the access to LyXText::status and the
11333         call of undo-functions.
11334
11335         * undo.[Ch]: added a inset_id to the undo informations.
11336
11337         * undo_funcs.[Ch]: added and moved here all undo functions.
11338
11339         * lyxtext.h: give the status enum a weight, made status_ a private
11340         variable and made accessor functions for it, removed the whole bunch
11341         of undo-functions as they are now in their own file, make some
11342         functions publically available. Added function ownerParagraph with
11343         int parameter.
11344
11345         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11346         made InInset() a const function, added getParFromID() function.
11347
11348         * buffer.[Ch]: added const version for inset_iterator functions,
11349         added getInsetFromID() function.
11350
11351         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11352         changed undo functions for new version.
11353
11354 2001-07-05  Juergen Vigna  <jug@sad.it>
11355
11356         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11357         unknow mechanism does not call the proper constructor but only this
11358         one also if I request the other!?
11359
11360 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11361
11362         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11363
11364         * text2.C (LyXText): use initialization lists.
11365
11366         * lyxtext.h (Selection): initialize set_ and mark_
11367         (init): remove method
11368
11369 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11370
11371         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11372
11373 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11374
11375         * screen.[Ch]: change method names to begin with lowercase
11376
11377         * BufferView_pimpl.C (updateScrollbar): simplify further and
11378         hopefully make it a bit faster.
11379
11380 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11381
11382         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11383         calling directly xforms functions.
11384
11385         * Painter.C (Painter):
11386         * lyx_cb.C (MenuWrite):
11387         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11388         fl_display.
11389
11390         * lyx_gui.C: remove bogus guiruntime extern declaration.
11391
11392 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11393
11394         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11395         in NEW_INSETS
11396         (redoDrawingOfParagraph): ditto
11397         (redoParagraphs): ditto
11398         (cutSelection): don't create a object for CutAndPaste use the
11399         static method directly
11400         (pasteSelection): ditto
11401
11402         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11403         LyXview (+ rename)
11404
11405 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11406
11407         * modifications to some other files because of this.
11408
11409         * Makefile.am (lyx_SOURCES): add XFormsView
11410
11411         * XFormsView.[Ch]: new files
11412
11413         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11414         the main window. Move the gui dependent stuff to XFormsView
11415
11416 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11417
11418         * tabular.C (GetCellInset): update cur_cell also in the row/col
11419         version of this function.
11420
11421         * lyxfunc.C: no need to include figure_form.h here.
11422
11423         * FontLoader.h:
11424         * lyxfunc.h:
11425         * lyxscreen.h:
11426         * text2.C:
11427         * lyxvc.C: no need to include forms.h here.
11428
11429 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11430
11431         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11432
11433         * lyxfunc.C (Dispatch):
11434         * Spacing.C (set):
11435         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11436         constructor argument.
11437
11438 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11439
11440         * paragraph.C (Paragraph): dont't clear, and just set layout.
11441         (makeSameLayout): use params's copy contructor.
11442
11443         * ParagraphParameters.[Ch] (makeSame): delete method
11444
11445 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11446
11447         * Variables.[Ch]: fix indentation, rename set to isSet
11448
11449 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11450
11451         * lyxfunc.C (Dispatch): fix typo
11452
11453 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11454
11455         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11456         upper_bound.
11457
11458         * bufferlist.C: include assert.h for emergencyWrite().
11459
11460 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11461
11462         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11463           give up at last (bug #425202) !
11464
11465 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11466
11467         * lyx_gui_misc.C:
11468         * sp_form.h:
11469         * sp_form.C:
11470         * spellchecker.h:
11471         * spellchecker.C: strip spellchecker options and bring up
11472           preferences tab instead
11473
11474 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11475
11476         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11477         the istringstream constructor
11478
11479 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11480
11481         * paragraph.C (getLayout): fix return value
11482
11483         * paragraph.h: do not declare getLayout as inline.
11484
11485         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11486
11487 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11488
11489         * lyxcursor.h (operator<): new func
11490         (operator>): new func
11491         (operator>=): new func
11492         (operator<=): new func
11493
11494         * text.C (changeCase): use selection.start and selection.end
11495         (changeRegionCase): require from to be <= to. Require par to be a
11496         valid paragraph.
11497
11498         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11499
11500 2001-06-27  Juergen Vigna  <jug@sad.it>
11501
11502         * text.C (cursorLeftOneWord): changed to return the cursor and added
11503         overlay with BufferView * parameter which calls this one.
11504         (getWord): added
11505         (selectWord): use new getWord function.
11506         (changeCase): renamed from changeWordCase as and extended to work
11507         also on selections.
11508
11509         * lyxtext.h: added enum word_location
11510
11511         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11512         changeCase as this operates now also on selections.
11513
11514 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11515
11516         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11517
11518         * many files: send debug output to Debug::INFO instead of
11519         Debug::ANY.
11520
11521         * converter.C (View):
11522         (Convert):
11523         (Move): send debug output to Debug::FILES instead of console.
11524
11525 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11526
11527         * lyxfunc.C (getStatus): use func_status
11528
11529         * func_status.h: new header, describing the results of
11530         LyXFunc::getStatus;
11531
11532         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11533         LFUN_MATH_HALIGN.
11534
11535 2001-06-25  The LyX Project  <jug@sad.it>
11536
11537         * buffer.C (sgmlOpenTag):
11538         (sgmlCloseTag):
11539         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11540
11541 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11542
11543         * text2.C: remove some dead code
11544
11545         * tabular.C (GetCellInset): store the last cell checked (gotten)
11546
11547         * tabular.h: add the helper for the speedup
11548
11549         * lyxtext.h: remove some dead code
11550
11551 2001-06-26  The LyX Project  <Asger>
11552
11553         * paragraph.C: Change export to LaTeX of alignment to
11554         \begin{center} and family for better roundtrip work with reLyX.
11555
11556         * Tune the math drawing a bit.
11557
11558 2001-06-25  The LyX Project  <Asger>
11559
11560         * LColor.C (LColor): New color for math background. New color
11561         for buttons.
11562
11563 2001-06-25  The LyX Project  <jug@sad.it>
11564
11565         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11566
11567         * lyxfunc.C (Open):
11568         * bufferlist.C (newFile): do not restrict to files ending with
11569         .lyx
11570
11571         * BufferView_pimpl.C (MenuInsertLyXFile):
11572
11573 2001-06-24  The LyX Project  <jug@sad.it>
11574
11575         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11576         of compare_no_case
11577
11578 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11579
11580         * lyxtext.h: rename most methods to begin with a small char.
11581         Lots of changes because of this.
11582
11583         * paragraph.C (Paragraph): do not call fitToSize
11584         (erase): call Pimpl::erase
11585         (insertChar): call Pimpl::insertChar
11586         (insertInset): call Pipl::insertInset
11587         (breakParagraph): do not call fitToSize
11588         (breakParagraphConservative): do not call fitToSize
11589         (fitToSize): remove method
11590
11591         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11592
11593 2001-06-24  The LyX Project  <Asger>
11594
11595         * Fix Qt compilation^2
11596
11597 2001-06-24  The LyX Project  <jug@sad.it>
11598
11599         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11600         depthHook(getDepth()-1).
11601
11602         * paragraph.h:
11603         * ParagraphParameters.h:
11604         * ParameterStruct.h: change type of depth to unsigned int ==
11605         depth_type. Many adaptations to other files before of that.
11606
11607 2001-06-24  The LyX Project  <Asger>
11608
11609         * Fix Qt compilation.
11610
11611 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * paragraph.h: renamed several methods to begin with small letter.
11614         several changes to many parts of the code because of this.
11615
11616 2001-06-23  The LyX Project  <jug@sad.it>
11617
11618         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11619         rewritten to discard all double spaces when KeepEmpty is off
11620         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11621         to only handle newlines but not fiddle with spaces and friends.
11622
11623         * lyxfunc.C (MenuNew): when doing 'new from template', use
11624         template_path as default directory
11625
11626 2001-06-23  The LyX Project  <Asger>
11627
11628         * Clean-up of header file includes all over
11629         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11630
11631 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11632
11633         * paragraph.h: renamed from lyxparagraph.h
11634
11635 2001-06-23  Asger  <lyx@violet.home.sad.it>
11636
11637         * Buffer.h: Removed Buffer::resize
11638         * BufferList.h: Removed BufferList::resize
11639         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11640         the document lazily when we change the width, or the font settings.
11641
11642 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11643
11644         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11645
11646 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11647
11648         * buffer.h: remove out of date comment
11649
11650 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11651
11652         * lyxscreen.h:
11653         * screen.C: fix "theoretical" GC leak
11654
11655 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11656
11657         * LaTeX.C (scanAuxFile):
11658         (deplog): remove trailing \r when reading stream (useful under
11659         win32)
11660
11661 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11662
11663         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11664         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11665         and BufferView::theLockingInset(Inset*), so should use them and not
11666         access bv_->text->the_locking_inset directly.
11667
11668         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11669
11670 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11671
11672         * Makefile.am:
11673         * tex-defs.h: remove old unused file
11674
11675 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11676
11677         * BufferView_pimpl.C: fix typo, remove minibuffer message
11678           when buffer has loaded
11679
11680 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11681
11682         * lyxfunc.C (Dispatch): use stringstream
11683         (MenuNew): use stringstream
11684         (Open): use stringstream
11685
11686         * importer.C (Import): use stringstream
11687
11688         * bufferview_funcs.C (CurrentState): use stringstream
11689
11690         * LaTeX.C (run): use stringstream
11691
11692         * BufferView_pimpl.C (savePosition): use stringstream
11693         (restorePosition): use stringstream
11694         (MenuInsertLyXFile): use stringstream
11695
11696 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11697
11698         * BufferView.C:
11699         * Bullet.C:
11700         * ColorHandler.C:
11701         * FontInfo.C:
11702         * FontLoader.C:
11703         * LColor.C:
11704         * LaTeXFeatures.C:
11705         * Painter.C:
11706         * gettext.C:
11707         * lyx_gui_misc.C:
11708         * lyxserver.C:
11709         * vspace.C: removed // -*- C++ -*- as first line.
11710
11711         * lyxfind.h:
11712         * version.h: added // -*- C++ -*- as first line.
11713
11714 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11715
11716         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11717
11718         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11719         of string
11720
11721 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11722
11723         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11724         of floats.
11725
11726 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11727
11728         * gettext.C: include LString.h even when --disable-nls is on.
11729
11730 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11731
11732         * converter.h (Get): changed argument type from int to
11733         FormatList::size_type to avoid unnecessary conversion.
11734
11735         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11736         before using it.
11737
11738 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11739
11740         * gettext.h: include LString.h even when --disable-nls is on.
11741
11742 2001-06-07  Juergen Vigna  <jug@sad.it>
11743
11744         * text.C (BreakAgain): subst spaces with tabs.
11745
11746         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11747         (resizeInsetsLyXText): set force on resizeLyXText.
11748
11749 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11750
11751         * gettext.h (gettext_init):
11752         (locale_init): use a real definition instead of a macro
11753
11754 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11755
11756         * Bufferview_pimpl.C:
11757         * LColor.h:
11758         * LColor.C: further lcolor tidies
11759
11760 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11761
11762         * BufferView_pimpl.C (updateScrollbar): simplify.
11763
11764         * BufferView2.C: don't include insets/insetinfo.h, change
11765         prototype for insertInset and call the Pimpl version. let
11766         updateInset call Pimpl version.
11767
11768         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11769         gotoInset to BufferView::Pimpl
11770
11771 2001-06-01  Juergen Vigna  <jug@sad.it>
11772
11773         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11774         inside a LockingInset (is the update needed at all?).
11775
11776 2001-05-31  Juergen Vigna  <jug@sad.it>
11777
11778         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11779         here not the old one otherwise how should we compare it afterwards
11780         if it's the same!
11781
11782 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11783
11784         * lyxfont.C:
11785         * tabular.C:
11786         * tabular-old.C:
11787         * FontInfo.C: bring C functions into global namespace when
11788         necessary
11789
11790 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11791
11792         * LString.h: make sure config.h has been loaded before LString.h.
11793
11794         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11795         (one for each char read by EatLine!).
11796
11797         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11798         variables.
11799
11800 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11801
11802         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11803         to the same as the par we break from
11804
11805 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11806
11807         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11808
11809         * MenuBackend.C (expand): also create menu entries for wide
11810         versions of the floats.
11811
11812         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11813
11814         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11815
11816         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11817         frontends/Makefile.am
11818
11819         * text2.C: adjust
11820         * text.C: adjust
11821
11822
11823         * tabular.C (getTokenValue): add std::
11824
11825         * tabular-old.C (getTokenValue): add std::
11826         (getTokenValue): ditto
11827         (getTokenValue): ditto
11828
11829         * screen.C (ToggleSelection): adjust
11830
11831         * lyxtext.h: put selection cursors inside a Selection struct.
11832
11833         * lyxfunc.C (moveCursorUpdate): adjust
11834
11835         * lyxfont.C (latexWriteStartChanges): add std::
11836
11837         * lyxfind.C: adjust
11838
11839         * font.h: delete with(char const *, LyXFont const &)
11840
11841         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11842
11843         * FontInfo.C (getFontname): add std::
11844
11845         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11846         (workAreaButtonPress): adjust
11847         (tripleClick): adjust
11848         (update): adjust
11849         (moveCursorUpdate): adjust
11850         (Dispatch): adjust
11851
11852         * BufferView2.C (gotoInset): adjust
11853
11854 2001-05-30  Juergen Vigna  <jug@sad.it>
11855
11856         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11857         to check pspell I add this as default as I now have new pspell
11858         libraries and they seem to use this.
11859
11860 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11861
11862         * text2.C (CutSelection): make the cursor valid before the call to
11863         ClearSelection.
11864
11865 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11866
11867         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11868         relied on 0 terminated strings and other horrors. Bug found due to
11869         the new assert in lyxstring!
11870
11871         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11872         KP_ keys.
11873
11874 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11875
11876         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11877         to latinkeys.bind.
11878
11879         * lyxfunc.C (processKeySym): change method of getting to the
11880         self-insert char.
11881
11882         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11883         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11884         * BufferView_pimpl.[Ch]: here as private methods.
11885
11886 2001-05-28  Juergen Vigna  <jug@sad.it>
11887
11888         * text.C (SetHeightOfRow): added the update() call again as it is
11889         needed to initialize inset dimensions!
11890
11891 2001-05-16  Juergen Vigna  <jug@sad.it>
11892
11893         * text2.C (SetCharFont): Add new function with BufferView * and
11894         bool toggleall parameters for setting insets internal fonts.
11895         (SetFont): Freeze the undo as we may change fonts in Insets and
11896         all this change should be inside only one Undo!
11897
11898         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11899         setting font's in insets as for them we have the SetFont function!
11900
11901 2001-05-15  Juergen Vigna  <jug@sad.it>
11902
11903         * text2.C (ClearSelection): to be sure we REALLY don't have any
11904         selection anymore!
11905
11906         * tabular.C (TeXCellPreamble): fixed the left border problem for
11907         multicolumn cells.
11908
11909 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11910
11911         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11912         dependancy file
11913
11914 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11915
11916         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11917         LFUN_BREAKPARAGRAPH.
11918
11919         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11920         help test to "internal only", similar for LFUN_INSERT_URL
11921
11922         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11923         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11924         auto_region_delete and deadkeys.
11925
11926 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * LColor.h:
11929         * LColor.C: remove some dead entries, tidy a little
11930
11931 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11932
11933         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11934         commented code.
11935         (Dispatch): implement LFUN_ESCAPE
11936
11937         * commandtags.h: add LFUN_ESCAPE
11938
11939         * LyXAction.C (init): add entry for LFUN_ESCAPE
11940
11941         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11942         Remove commented code.
11943         (insertNote): moved here
11944         (open_new_inset): moved here
11945
11946         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11947         BufferView_pimpl
11948
11949 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11950
11951         * kbmap.C (findbinding): clean it up and make it work correctly.
11952
11953         * lyx_main.C (init): do not pass argc and argv as parameters
11954
11955 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11956
11957         * buffer.C: fix path for OS/2 & Win32
11958
11959         * lyx_gui.C:
11960         * lyx_main:
11961         * lyx_main.C: Added os:: class.
11962
11963         * os2_defines.h: update
11964
11965 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11966
11967         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11968         better by trying again with reduced state.
11969
11970 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11971
11972         * lyxrc.C (read): print error about invalid key sequence only when
11973         debugging (because not all latinX keysyms are known to some X
11974         servers)
11975
11976         * kbsequence.C (getiso): add a few std:: qualifiers
11977         (getiso): comment out extra return statement.
11978
11979 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11980
11981         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11982         handling.
11983         (Dispatch): enhance the accent inset a bit. (not perfect)
11984
11985 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11986
11987         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11988
11989 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11990
11991         * bufferlist.C (emergencyWrite): fix assert() call
11992
11993 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11994
11995         * text.C (InsertChar): Added trivial patch to only send the "you
11996         can not do multiple spaces this way" message once during a
11997         session.
11998
11999 2001-05-08  Baruch Even  <baruch@lyx.org>
12000
12001         * Makefile.am: Changed order of libraries to get LyX to link properly
12002         with the gnome frontend.
12003
12004 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12005
12006         * LaTeXFeatures.h: add a std:: qualifier
12007
12008 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12009
12010         * paragraph.C (String): use stringstream
12011
12012 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12013
12014         * paragraph.C (writeFile): remove footflag arg
12015
12016         * buffer.C (makeLaTeXFile): use stringstream
12017         (latexParagraphs): remove footnot gurba
12018
12019         * LaTeXFeatures.C (getPackages): use stringstream
12020         (getMacros): likewise
12021         (getTClassPreamble): likewise
12022         (getFloatDefinitions): new method
12023
12024         * paragraph.C (writeFile): reindent
12025         (Erase): reindent
12026
12027         * WorkArea.h: revert the xpos + etc changes.
12028
12029         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12030
12031         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12032
12033         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12034         (pasteSelection): likewise
12035         * text2.C (CreateUndo): likewise
12036
12037 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12038
12039         * minibuffer.C (peek_event): temporarily reduce the functionality
12040         of the minibuffer (to allow args on lfuns)
12041
12042         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12043         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12044
12045         * buffer.C (readInset): add compability reading of old float
12046         lists, add reading of new style float list.
12047         (readInset): avoid reevaluation of inscmd.getCmdName()
12048         (getLists): reindent
12049
12050         * MenuBackend.C (MenuItem): implement parsing of
12051         md_floatlistinsert and md_floatinsert.
12052         (expand::LastFiles): move initalizaton of iterators out of loop,
12053         avoid reevaluation.
12054         (expand::Documents): introduce typdedef vector<string> Strings,
12055         and use it.
12056         (expand::ExportFormats): introduce typedef vector<Format const *>
12057         Formats, and use it.
12058         (expand): implement FloatListInsert and FloatInsert.
12059
12060         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12061         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12062         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12063
12064         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12065         handling.
12066         (Dispatch::LFUN_FLOAT_LIST): implement
12067
12068 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12069
12070         * LaTeX.C (run): Fix problem with --export code.
12071
12072 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12073
12074         * BufferView.[Ch] (workarea): removed.
12075         (getClipboard) new method; wrapper for workarea()->getClipboard()
12076
12077         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12078         bug.
12079
12080         * WorkArea.h (width, height, xpos, ypos): These methods all
12081         returned the dimensions of the work_area sub-area of WorkArea,
12082         resulting in a position error if the WorkArea were resized. Now
12083         return the dimensions of the entire WorkArea.
12084
12085         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12086
12087 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12088
12089         * LaTeX.C (deplog): correct the syntax of regex reg1
12090
12091 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12092
12093         * undo.C: remove !NEW_INSETS cruft
12094
12095 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12096
12097         * text2.C: remove !NEW_INSETS cruft
12098
12099         * text.C: remove !NEW_INSETS cruft
12100
12101         * tabular.C: remove !NEW_INSETS cruft
12102
12103         * spellchecker.C: remove !NEW_INSETS cruft
12104
12105         * lyxtext.h: remove !NEW_INSETS cruft
12106
12107         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12108
12109         * lyxfunc.C: remove !NEW_INSETS cruft
12110
12111         * lyxfind.C: remove !NEW_INSETS cruft
12112
12113         * lyx_cb.C: remove !NEW_INSETS cruft
12114
12115         * figureForm.C: remove  !NEW_INSETS cruft
12116
12117         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12118
12119         * buffer.[Ch]: remove !NEW_INSETS cruft
12120
12121         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12122
12123         * CutAndPaste.C: remove !NEW_INSETS cruft
12124
12125         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12126
12127         * BufferView2.C: remove !NEW_INSETS cruft
12128
12129         * BufferView.h: remove !NEW_INSETS cruft
12130
12131 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12132
12133         * Lsstream.h: include LString.h before the sstream headers to
12134         fix problem with gcc 2.95.3 and lyxstring
12135
12136 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12137
12138         * lyx_main.C: add using directives when needed for C functions
12139         declared in std:: namespace.
12140
12141 2001-04-27  Juergen Vigna  <jug@sad.it>
12142
12143         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12144         (SetHeightOfRow): comment out the update call should not be needed!
12145
12146 2001-04-13  Juergen Vigna  <jug@sad.it>
12147
12148         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12149         (LyXTabular): tried to minimize operator= operations (and realized
12150         hopfully Lars wish).
12151
12152 2001-04-27  Juergen Vigna  <jug@sad.it>
12153
12154         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12155
12156 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12157
12158         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12159
12160         * buffer.C (readInset): hack to make listof algorithm work
12161
12162         * BufferView_pimpl.C: hack to make listof algorithm work
12163
12164 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12165
12166         * LyXAction.C: removed all !NEW_INSETS cruft
12167         (init): moved lfun_item in method
12168
12169         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12170
12171 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12172
12173         * BufferView2.C (theLockingInset): white space.
12174
12175 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12176
12177         * minibuffer.C: include <iostream>
12178
12179         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12180
12181         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12182
12183         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12184
12185         * text.[Ch] (TransposeChars): new method
12186
12187 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12188
12189         * call message directly through LyXView instead of through LyXFunc
12190         * BufferView2.C: adjust
12191         * BufferView_pimpl.C: adjust
12192         * FontLoader.C: adjust
12193         * buffer.C: adjust
12194         * bufferview_funcs.C: adjust
12195         * converter.C: adjust
12196         * figureForm.C: adjust
12197         * importer.C: adjust
12198         * lyx_cb.C: adjust
12199         * lyx_gui_misc.C: adjust
12200         * lyxfunc.C: adjust
12201         * lyxvc.C: adjust
12202         * text2.C: adjust
12203         + more files in subdirs
12204
12205         * lyxparagraph.h (size): move up int file
12206         (GetLayout): ditto
12207
12208         * adjust all uses of Assert to lyx::Assert.
12209
12210         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12211         lyxfunctional in namespace lyx
12212         * layout.C (hasLayout): ditto
12213         (GetLayout): ditto
12214         (GetLayout): ditto
12215         (delete_layout): ditto
12216         (NumberOfClass): ditto
12217         * converter.C (GetFormat): ditto
12218         (GetNumber): ditto
12219         (Add): ditto
12220         (Delete): ditto
12221         (SetViewer): ditto
12222         * bufferlist.C (getFileNames): ditto
12223         (emergencyWriteAll): ditto
12224         (exists): ditto
12225         (getBuffer): ditto
12226         * MenuBackend.C (hasSubmenu): ditto
12227         (hasMenu): ditto
12228         (getMenu): ditto
12229         * BufferView_pimpl.C (getInsetByCode): ditto
12230
12231 2001-04-18  Juergen Vigna  <jug@sad.it>
12232
12233         * vspace.C (asLatexString): fixed the 100% problem.
12234
12235 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12236
12237         * lyxfunc.C (Dispatch):
12238         * minibuffer.C:
12239         * minibuffer.h: add a few std:: qualifiers
12240
12241 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12242
12243         * minibuffer.[Ch]: reimplement so that commands is initiated and
12244         run from lyxfunc, simplified som handling, and made the completion
12245         and history code for complete. wip.
12246
12247         * lyxfunc.C (processKeySym): call message
12248         (miniDispatch): new temporary method
12249         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12250         (LFUN_MESSAGE): implement
12251         (LFUN_MESSAGE_PUSH): implement
12252         (LFUN_MESSAGE_POP): implement
12253         (initMiniBuffer): the initial/defualt minibuffer message.
12254
12255         * lyxfont.[Ch]: inline some more getters
12256
12257         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12258
12259         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12260
12261         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12262         (AutoSave): use LFUN_MESSAGE
12263         (Reconfigure): ditto
12264
12265         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12266
12267         * figureForm.C: use LFUN_MESSAGE
12268
12269         * converter.C (runLaTeX): use LFUN_MESSAGE
12270
12271         * bufferview_funcs.C: use LFUN_MESSAGE
12272         (Melt): ditto
12273         (changeDepth): ditto
12274
12275         * bufferparams.h: use boost::
12276
12277         * bufferlist.h: inherit privately from noncopyable
12278
12279         * bufferlist.C (loadLyXFile): remove some commented code.
12280
12281         * buffer.C (runChktex): use LFUN_MESSAGE
12282
12283         * ShareContainer.h: inherit privately from noncopyable
12284
12285         * ParagraphParameters.[hC] (depth): inline it.
12286
12287         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12288         methods.
12289         (message): new method
12290         (messagePush): ditto
12291         (messagePop): ditto
12292         (show): init minibuffer
12293         (showState): direct call
12294
12295         * LaTeX.[Ch]: inherit privately from noncopyable
12296         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12297         instead of WriteStatus.
12298
12299         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12300
12301         * BufferView_pimpl.C (buffer): don't init minibuffer
12302         (workAreaButtonPress): use LFUN_MESSAGE
12303         (workAreaButtonRelease): ditto
12304         (savePosition): ditto
12305         (restorePosition): ditto
12306         (MenuInsertLyXFile): ditto
12307         (workAreaExpose): don't init minibuffer
12308         (update): remove commented code, simplify
12309
12310         * BufferView2.C (openStuff): use LFUN_MESSAGE
12311         (toggleFloat): ditto
12312         (menuUndo): ditto
12313         (menuRedo): ditto
12314         (copyEnvironment): ditto
12315         (pasteEnvironment): ditto
12316         (copy): ditto
12317         (cut): ditto
12318         (paste): ditto
12319         (gotoInset): ditto
12320         (updateInset): remove some commented code
12321
12322         * lastfiles.h: inherit privately from noncopyable
12323         * layout.h: ditto
12324         * lyx_gui.h: ditto
12325         * lyx_main.h: ditto
12326         * lyxlex.h: ditto
12327         * lyxlex_pimpl.h: ditto
12328
12329         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12330         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12331         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12332
12333         * LyXAction.h: inherit privately from noncopyable, add methods
12334         func_begin, func_end, returning iterators to the func map.
12335
12336         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12337         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12338         (func_begin): new method
12339         (func_end): new method
12340
12341         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12342         and not)
12343         (copySelection): ditto
12344         (pasteSelection): ditto
12345
12346         * BufferView.C: whitespace change
12347         * BufferView.h: inherit privately from noncopyable
12348
12349 2001-04-16  Allan Rae  <rae@lyx.org>
12350
12351         * tabular-old.C (l_getline):
12352         * spellchecker.C (sc_check_word):
12353         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12354         an unrecognised preprocessor directive.  So ensure they're wrapped.
12355
12356 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12357
12358         * src/exporter.C (Export): Give an error message when path to file
12359         contains spaces.
12360
12361 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12362
12363         * LaTeX.C (deplog): Always check that foundfile exists.
12364
12365 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12366
12367         * lyx_main.h:
12368         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12369
12370 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12371
12372         * tabular.[Ch] (getLabelList): implement new method
12373
12374         * minibuffer.h: comment ouf setTiimer
12375
12376         * minibuffer.C (ExecutingCB): constify res
12377         (peek_event): constify s
12378         (Set): constify ntext
12379         (Init): constify nicename
12380
12381         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12382
12383         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12384         (savePosition): use two params to Minibuffer::Set
12385         (restorePosition): ditto
12386
12387 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12388
12389         * lyx_main.C: include language.h
12390
12391         * Makefile.am (lyx_main.o): add language.h
12392
12393 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12394
12395         * exporter.C:
12396         * paragraph.C:
12397         * screen.C:
12398         * tabular.C:
12399         * CutAndPaste.C: include gettext.h
12400
12401         * lyxfont.h: remove old hack with ON and OFF.
12402
12403         * lyxparagraph.h:
12404         * lyxfont.h: do not include language.h...
12405
12406         * BufferView2.C:
12407         * LaTeXFeatures.C:
12408         * Painter.C:
12409         * bufferview_funcs.C:
12410         * font.C:
12411         * lyxfont.C:
12412         * text.C:
12413         * text2.C:
12414         * trans_mgr.C:
12415         * paragraph.C: ... but do it here instead
12416
12417 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12418
12419         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12420
12421         * tabular.C: small reformat
12422
12423         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12424         NEW_INSETS version
12425         (GetChar): ditto
12426         (BreakParagraph): ditto
12427         (SetOnlyLayout): ditto
12428         (SetLayout): ditto
12429
12430         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12431         with one arg less.
12432
12433         * lastfiles.C: removed most using decl, add std:: where needed
12434
12435         * buffer.C: ws changes
12436
12437         * MenuBackend.C (class compare_format): put into anon namespace
12438         (expand): constify label, names, action, action2
12439         (expand):
12440
12441         * text.C (SingleWidth): constify font
12442         (IsBoundary): constify rtl2
12443         (GetVisibleRow): constify ww
12444
12445         * LaTeX.C (deplog): constify logfile
12446
12447         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12448         start_x, end_x
12449         (workAreaExpose): constify widthChange, heightChange
12450
12451         * lyxrow.C (par): moved
12452         (height): moved
12453         (next): moved
12454         * lyxrow.h: as inlines here
12455
12456         * lyxfont.h (shape): moved from lyxfont.C
12457         (emph): moved from lyxfont.C
12458
12459         * lyxfont.C (LyXFont): use initialization list for all
12460         constructors
12461         (shape): move to lyxfont.h as inline
12462         (emph): move to lyxfont.h as inline
12463
12464
12465 2001-04-04  Juergen Vigna  <jug@sad.it>
12466
12467         * vspace.C: had to include stdio.h for use of sscanf
12468
12469 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12470
12471         * BufferView.h:
12472         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12473         independent of xforms.
12474
12475 2001-04-02  Juergen Vigna  <jug@sad.it>
12476
12477         * spellchecker.C: fixed namespace placing!
12478
12479 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12480
12481         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12482         the LyXParagraph * is 0.
12483
12484 2001-03-29  Juergen Vigna  <jug@sad.it>
12485
12486         * vspace.C: added support for %, c%, p%, l%.
12487         (stringFromUnit): added helper function.
12488         (asLatexString): changed to give right results for the %-values.
12489
12490         * buffer.C: convert the widthp in a width%.
12491
12492 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12493
12494         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12495         figureForm.[Ch].
12496
12497         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12498         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12499
12500         * lyx_cb.[Ch]: see above.
12501
12502         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12503         form1.[Ch].
12504
12505         * form1.[Ch]:
12506         * lyx.[Ch]: replaced by figure_form.[Ch].
12507
12508         * lyx_gui.C:
12509         * lyx_gui_misc.C:
12510         * lyxfunc.C: changed headers associated with above changes.
12511
12512 2001-03-27  Juergen Vigna  <jug@sad.it>
12513
12514         * BufferView_pimpl.C: set the temporary cursor right!
12515
12516 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12517
12518         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12519
12520 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12521
12522         * LString.h: removed "using std::getline"!
12523
12524         * BufferView_pimpl.C (Dispatch): changes due to changes in
12525         InsetInclude::Params.
12526
12527         * buffer.C (tag_name): removed redundant break statements as they were
12528         producing lots of warnings with my compiler.
12529
12530 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12531
12532         * LString.h: add "using std::getline" when using the real <string>.
12533
12534 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12535
12536         * buffer.C: removed bitset usage.
12537         PAR_TAG moved to an anonymous name space.
12538         (tag_name): new funtion, also in the anonymous namespace.
12539         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12540         (makeDocBookFile): clean code. Completed transition from string arrays
12541         to string vectors.
12542         (SimpleDocBookOnePar): code clean.
12543
12544 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12545
12546         * tabular.C: add some comments.
12547
12548 2001-03-22  Juergen Vigna  <jug@sad.it>
12549
12550         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12551         compatibility read a bit and fixed bug with minipage in different
12552         depth.
12553
12554 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12555
12556         * buffer.C (pop_tag): removed.
12557         (push_tag): removed.
12558         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12559         array replaced with vector. Added support for CDATA sections.
12560         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12561         at any nest level.
12562         (makeDocBookFile): XML conformant declaration of CDATA section,
12563         fixed bug related to <emphasis> in the first paragraph char.
12564         (sgmlOpenTag): exclude empty tags.
12565         (sgmlCloseTag): ditto.
12566
12567         * buffer.h (pop_tag): removed.
12568         (push_tag): removed.
12569
12570 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12571
12572         * language.h (Languages): added size_type and size().
12573
12574 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12575
12576         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12577         response on compability reading of minipages. One probliem is that
12578         the old usage of minipages was «flertydig»
12579
12580         * several files here and in subdirs: don't use static at file
12581         scope use anon namespaces instead.
12582
12583 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12584
12585         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12586         LaTeX output. This is necessary for Literate document
12587         processing.
12588
12589 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12590
12591         * buffer.C: insert hfill when needed.
12592
12593         * tabular.C (l_getline): use string::erase, small whitespace change.
12594
12595         * BufferView_pimpl.C: try the anon namespace.
12596         * WorkArea.C: ditto
12597
12598 2001-03-16  Juergen Vigna  <jug@sad.it>
12599
12600         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12601         otherwise it won't open options-dialogs.
12602
12603         * buffer.C: honor pextraWidth(p) on converting minipages.
12604
12605         * tabular.C (l_getline): changed the functions to strip trailing \r.
12606
12607 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12608
12609         * BufferView_pimpl.C:
12610         * minibuffer..C: added "using SigC::slot" declaration.
12611
12612 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12613
12614         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12615
12616         * text2.C: ditto
12617
12618         * text.C: ditto
12619
12620         * paragraph.C: ditto
12621
12622         * lyxtext.h: NO_PEXTRA
12623
12624         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12625
12626         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12627         * ParameterStruct.h: ditto
12628         * ParagraphParameters.h: ditto
12629         * lyxparagraph.h: ditto
12630
12631 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12632
12633         * buffer.C: add compability for minipage alignment.
12634         (latexParagraphs): remove unwanted pextra check.
12635
12636         * several files: remove CXX_WORKING_NAMESPACES
12637
12638         * buffer.C (pop_tag): tie is in namespace boost
12639
12640         * BufferView.h: noncopyable is in namespace boost
12641         * lyxlex.h: ditto
12642         * lyx_main.h: ditto
12643         * lyx_gui.h: ditto
12644         * layout.h: ditto
12645         * lastfiles.h: ditto
12646         * bufferlist.h: ditto
12647         * ShareContainer.h: ditto
12648         * LyXView.h: ditto
12649         * LyXAction.h: ditto
12650         * LaTeX.h: ditto
12651
12652 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12653
12654         * Merging changes from BRANCH_MVC back into HEAD.
12655
12656         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12657
12658 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12659
12660         * BufferView_pimpl.C: change from intl.C
12661
12662         * combox.h:
12663         * combox.C:
12664         * Makefile.am: move combox.*
12665
12666         * form1.h:
12667         * form1.C:
12668         * lyx_gui.C:
12669         * intl.h:
12670         * intl.C: remove dialog (covered by prefs)
12671
12672 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12673
12674         * lyxfunc.C (Dispatch): removed redundant break statement.
12675
12676 2001-03-14  Juergen Vigna  <jug@sad.it>
12677
12678         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12679
12680 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12681
12682         * buffer.C: add hack to fix compability reading of minipages.
12683
12684 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12685
12686         * buffer.C (getLists): Cleanup.
12687
12688 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12689
12690         * lyxfont.C (update): don't honor toggleall on font size.
12691
12692 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * bmtable.c:
12695         * bmtable.h:
12696         * Makefile.am: moved to frontends/xforms/
12697
12698         * lyx_gui_misc.C:
12699         * lyxfunc.C:
12700         * BufferView_pimpl.C: changes for moved mathpanel
12701
12702 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12703
12704         * gettext.h: fix gettext_init() in --disable-nls
12705
12706 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12707
12708         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12709
12710 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12711
12712         * lyx.C:
12713         * lyx.h: strip external form
12714
12715 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12716
12717         * BufferView_pimpl.C: add comment, destroySplash()
12718
12719 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12720
12721         * BufferView_pimpl.C:
12722         * LyXAction.C:
12723         * buffer.C:
12724         * commandtags.h:
12725         * lyxfunc.C: use re-worked insetinclude
12726
12727 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12728
12729         * buffer.C: add using std::stringstream.
12730
12731         * lyx_cb.C: readd using std::ios.
12732
12733         * buffer.C: add using std::map.
12734
12735         * BufferView_pimpl.C: add using std::vector.
12736
12737         * ShareContainer.h: add std:: to swap.
12738
12739         * buffer.h: add some typedefs
12740         * buffer.C (getLists): use them
12741         (getLists): renamed from getTocList.
12742         add a counter for the different float types and use it in the
12743         generated string.
12744         (getLists): use the same counter for the NEW_INSETS and the "non"
12745         NEW_INSETS
12746
12747         * lyx_cb.h: remove unused items, includes, using etc.
12748
12749         * ShareContainer.h: remove some commented code, add more comments
12750         and "documentation".
12751
12752 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12753
12754         * buffer.C (getTocList): make the list also when NEW_INSETS is
12755         defined.
12756
12757         * buffer.h: remove TocType
12758
12759         * buffer.C (getTocList): change to return a map<string,
12760         vector<TocItem> >, implement for dynamic number of list.
12761
12762         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12763         * text2.C (PasteSelection): adjust
12764         * CutAndPaste.C (pasteSelection): adjust
12765
12766         * FloatList.C (FloatList): update from the new_insets branch.
12767         * Floating.[Ch]: ditto
12768         * LaTeXFeatures.C: ditto
12769         * buffer.C: ditto
12770         * lyxlex_pimpl.C: ditto
12771
12772         * paragraph.C (Last): remove when NEW_INSETS is defined.
12773
12774         * other file: changes because of the above.
12775
12776 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12777
12778         * lyxparagraph.h: rename next to next_, previous to previous_,
12779         make them private for NEW_INSETS. Rename Next() to next(),
12780         Previous() to previous().
12781
12782         * other files: changes because of the above.
12783
12784 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12785
12786         * BufferView.h:
12787         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12788         problem.
12789
12790 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12791
12792         * main.C (main): pass lyx_localedir to gettext_init().
12793
12794         * gettext.h: remove locale_init and gettext_init macros
12795
12796         * gettext.C (locale_init): new function
12797         (gettext_init): new function
12798
12799         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12800         setlocale().
12801
12802 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12803
12804         * Moved credits to frontends:
12805         * credits.[Ch]: removed
12806         * credits_form.[Ch]: removed
12807         * lyx_gui_misc.C: remove credits stuff
12808         * Makefile.am:
12809
12810 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12811
12812         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12813
12814         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12815         unneeded destructor.
12816
12817         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12818         a standalone pointer again.
12819
12820         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12821
12822 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12823
12824         * Makefile.am:
12825         * filedlg.h:
12826         * filedlg.C:
12827         * LyXAction.C:
12828         * ToolbarDefaults.C:
12829         * bufferlist.C:
12830         * commandtags.h:
12831         * form1.C:
12832         * form1.h:
12833         * lyx_cb.C:
12834         * lyx_cb.h:
12835         * lyxfunc.h:
12836         * lyxfunc.C:
12837         * BufferView_pimpl.C: use new file dialog in GUII
12838
12839         * lyx_cb.h:
12840         * lyx_cb.C: remove LayoutsCB to Toolbar
12841
12842 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12843
12844         * ShareContainer.h (get): add std:: qualifier
12845
12846 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12847
12848         * ShareContainer.h: define a proper ShareContainer::value_type
12849         type (and use typename to please compaq cxx)
12850
12851 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12852
12853         * lyxparagraph.h: move serveral local vars to
12854         ParameterStruct/ParagraphParameters., use ShareContainer in
12855         FontTable., make vars in FontTable private and add getter and
12856         setter.
12857
12858         * paragraph.C: changes because of the above.
12859
12860         * lyxfont.h: remove copy constructor and copy assignment. (the
12861         default ones is ok), move number inside FontBits. move inlines to
12862         lyxfont.C
12863
12864         * lyxfont.C: add number to initializaton of statics, move several
12865         inlines here. constify several local vars. some whitespace
12866         cleanup. Dont hide outerscope variables.
12867
12868         * Spacing.h: add two new constructors to match the set methods.
12869
12870         * ShareContainer.h: new file, will perhaps be moved to support
12871
12872         * ParameterStruct.h: new file
12873
12874         * ParagraphParameters.h: new file
12875
12876         * ParagraphParameters.C: new file
12877
12878         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12879         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12880
12881         * BufferView_pimpl.C: ParagraphParameter changes.
12882         * buffer.C: Likewise.
12883         * bufferview_funcs.C: Likewise.
12884         * text.C: Likewise.
12885         * text2.C: Likewise.
12886
12887 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12888
12889         * lyxfind.C (LyXReplace): do not redefine default argument in
12890         implementation.
12891         (IsStringInText): ditto
12892         (SearchForward): ditto
12893         (SearchBackward): ditto
12894
12895 2001-03-06  Juergen Vigna  <jug@sad.it>
12896
12897         * lyxfind.C (IsStringInText): put parentes around expressions.
12898
12899 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12900
12901         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12902
12903 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12904
12905         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12906
12907         * stl_string_fwd.h: add comment
12908
12909         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12910
12911         * tabular.h:
12912         * tabular.C: remove unused DocBook methods
12913
12914         * intl.C:
12915         * language.C:
12916         * paragraph.C:
12917         * buffer.C:
12918         killed DO_USE_DEFAULT_LANGUAGE
12919
12920 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12921
12922         * lyx_gui.C: do not include language.h.
12923
12924         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12925         arguments in function implementation.
12926
12927 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12928
12929         * BufferView_pimpl.C: add <ctime>
12930
12931 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12932
12933         * BufferView_pimpl.C: add using std::find_if
12934
12935 2001-02-27  José Matos  <jamatos@fep.up.pt>
12936
12937         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12938         by OnlyPath.
12939
12940 2001-02-11  José Matos  <jamatos@fep.up.pt>
12941
12942         * buffer.C (makeDocBookFile): command styles now have a parameter as
12943         "title" by default.
12944
12945 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12946
12947         * layout_forms.[Ch]: removed
12948         * lyx_cb.[Ch]: out character
12949         * lyx_gui.C: out character
12950         * lyx_gui_misc.C: out character
12951         * bufferview_funcs.C: : out character,
12952         added toggleall as parameter in ToggleAndShow
12953
12954 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12955
12956         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12957
12958         * text2.C (SetCurrentFont): Disable number property at boundary.
12959
12960 2001-02-26  Juergen Vigna  <jug@sad.it>
12961
12962         * lyxfunc.C (getStatus): added a string argument override function so
12963         that this is correctly called from LyXFunc::Dispatch if it contains a
12964         do_not_use_argument which is used!
12965         (Dispatch): added check for "custom" export and call appropriate func.
12966
12967 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12968
12969         * lyxrc.C: Add language_command_local, language_use_babel and
12970         language_global_options.
12971
12972         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12973
12974         * buffer.C (makeLaTeXFile): Use language_use_babel and
12975         language_global_options.
12976
12977 2001-02-23  Juergen Vigna  <jug@sad.it>
12978
12979         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12980         which works with LyXText and putted it inside BufferView. Here now we
12981         only call for that part the BufferView::Dispatch() function.
12982
12983         * BufferView.C (Dispatch): added.
12984
12985         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12986         functions which needs to use a LyXText over from LyXFunc.
12987         (MenuInsertLyXFile): added
12988         (getInsetByCode): added
12989         (moveCursorUpdate): added
12990         (static TEXT): added
12991
12992 2001-02-22  Juergen Vigna  <jug@sad.it>
12993
12994         * BufferView_pimpl.C (update): call a status update to see if LyXText
12995         needs it.
12996
12997 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12998
12999         * vc-backend.C (revert): implement for CVS
13000         (getLog): implement for CVS
13001
13002 2001-02-20  Juergen Vigna  <jug@sad.it>
13003
13004         * text2.C (ClearSelection): added BufferView param for inset_owner call
13005
13006         * lyxfunc.C (TEXT): added this function and use it instead of
13007         directly owner->view()-text of getLyXText().
13008
13009 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13010
13011         * src/layout_forms.C: out preamble
13012         * src/layout_forms.h: out preamble
13013         * src/lyx_cb.C: out preamble
13014         * src/lyx_cb.h: out preamble
13015         * src/lyx_gui.C: out preamble
13016         * src/lyx_gui_misc.C: out preamble
13017         * src/lyxfunc.C: connect with guii preamble
13018
13019 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13020
13021         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13022
13023 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13024
13025         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13026         whether to run bibtex.
13027
13028 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13029
13030         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13031
13032 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13033
13034         * Makefile.am (lyx_SOURCES): removed bibforms.h
13035
13036         * vspace.h: doxygen
13037
13038         * text.C (GetVisibleRow): make several local vars const
13039
13040         * tabular.C: small cleanup.
13041
13042         * lyxserver.C (callback): use compare instead of strncmp
13043
13044         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13045         inlines to after class or to paragraph.C
13046
13047         * lyxfont.h: remove friend operator!=
13048
13049         * converter.h: move friend bool operator< to non friend and after
13050         class def.
13051
13052         * combox.h: small cleanup
13053
13054         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13055         to inlines after class def.
13056
13057         * buffer.C (pop_tag): use string operations instead of strcmp
13058
13059         * bmtable.c: doxygen, small cleanup
13060
13061         * LaTeX.h: remove friend operator==
13062
13063 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13064
13065         * screen.C:
13066         * lyxrc.[Ch]:
13067         * lyxfunc.C:
13068         * lyxfont.[Ch]:
13069         * lyx_cb.C:
13070         * intl.[Ch]:
13071         * commandtags.h:
13072         * buffer.C:
13073         * WorkArea.[Ch]:
13074         * LyXAction.C:
13075         * BufferView_pimpl.C:
13076         * BufferView.[Ch]: remove cruft
13077
13078 2001-02-14  Juergen Vigna  <jug@sad.it>
13079
13080         * lyxfunc.C: removed #if 0 unused code
13081
13082         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13083
13084         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13085
13086         * text2.C (SetSelection): added a BufferView * parameter
13087
13088 2001-02-13  Juergen Vigna  <jug@sad.it>
13089
13090         * lyxfunc.C (Dispatch): fixed protected blank problem.
13091         * BufferView2.C (protectedBlank): added LyxText * parameter.
13092
13093         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13094         (AppendColumn): same as above for column_info.
13095
13096         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13097         (moveCursorUpdate): use a LyXText param for support of InsetText.
13098
13099         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13100         (tripleClick): ditto
13101
13102         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13103
13104         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13105
13106         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13107
13108         * text2.C (SetSelection): set correct update status if inset_owner
13109         (ToggleFree): ditto
13110
13111 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13112
13113         * tabular.C: remove some commented code.
13114
13115 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13116
13117         * BufferView_pimpl.C: call hideSplash()
13118
13119         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13120
13121         * include_form.h:
13122         * bibforms.h: remove
13123
13124         * lyxfunc.C:
13125         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13126           add LFUN_CHILD_CREATE
13127
13128         * counters.h: fix tiny typo
13129
13130         * lyx_cb.C:
13131         * lyx.h:
13132         * lyx_gui.C:
13133         * lyx.C: move splash to frontends/xforms/
13134
13135         * lyx_gui_misc.C: move Include and Bibform to frontends
13136
13137         * lyxvc.h: clarify comment
13138
13139         * vspace.C: tiny housekeeping
13140
13141 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13142
13143         * text.C (PrepareToPrint): RTL Fix.
13144
13145         * paragraph.C (GetUChar): New method.
13146         (String):  Use GetUChar.
13147
13148         * buffer.C (asciiParagraph): Use GetUChar.
13149
13150 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13151
13152         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13153
13154 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13155
13156         * buffer.h:
13157         * buffer.C: rename to getLogName(), handle
13158           build log / latex log nicely
13159
13160 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13161
13162         * MenuBackend.C:
13163         * MenuBackend.h: remove support for reference menuitem type.
13164
13165 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13166
13167         * BufferView_pimpl.C: housekeeping
13168         * BufferView_pimpl.h:
13169         * LyXView.h:
13170         * Makefile.am:
13171         * Timeout.C:
13172         * Timeout.h:
13173         * minibuffer.h: move Timeout GUI-I
13174
13175 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13176
13177         * lyxrc.C (read): Update converters data-structures.
13178
13179 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13180
13181         * LaTeX.h (operator!=): add operator != for Aux_Info
13182
13183 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13184
13185         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13186
13187         * LaTeXLog.C: deleted, useful code moved to Buffer
13188
13189         * buffer.h:
13190         * buffer.C: new function getLatexLogName()
13191
13192         * lyx_gui_misc.C:
13193         * lyx_gui.C:
13194         * lyxvc.C:
13195         * lyxvc.h:
13196         * lyxfunc.C: use frontends for LaTeX and VC logs
13197
13198 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13199
13200         * LaTeX.h: yet another std:: that Allan forgot.
13201
13202         * Variables.C (set): renamed from isset(), because this clashes
13203         with some HP-UX macros (grr).
13204
13205 2001-02-06  Allan Rae  <rae@lyx.org>
13206
13207         * LaTeX.h: Another bug fix.  Missing std:: this time.
13208
13209 2001-02-04  Allan Rae  <rae@lyx.org>
13210
13211         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13212         floats problem. I've left it commented out because it's not quite
13213         correct.  It should also test that the current object is a table or
13214         figure inset.  But I haven't gotten around to figuring out how to do
13215         that.  I *think* it'll be something like: "table" == inset.type()
13216
13217         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13218         bool.
13219
13220 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13221
13222         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13223         all the citation/databases/styles in the auxilary file.
13224         (run): Rerun latex if there was a babel language error.
13225
13226 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13227
13228         * text.C (Backspace): Preserve the font when changing newline char
13229         with a space.
13230         (BreakParagraph): If the cursor is before a space, delete the space.
13231
13232         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13233
13234 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13235
13236         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13237         new argument (code).
13238         (ChangeCitationsIfUnique): New method.
13239
13240         * paragraph.C (GetPositionOfInset): Handle bibkey.
13241
13242 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13243
13244         * BufferView_pimpl.h: change type of Position::par_pos to
13245         LyXParagraph::size_type.
13246
13247 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13248
13249         * BufferView_pimpl.C (savePosition, restorePosition): Write
13250         messages to minibuffer.
13251
13252 2001-01-28  José Matos  <jamatos@fep.up.pt>
13253
13254         * buffer.C (makeDocBookFile): adds support for document language.
13255         A silly restriction on the name of LatexCommand types where removed.
13256         Added support for CDATA sections, allows to chars unescaped, used
13257         among others in code, to avoid escape < and >.
13258
13259 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13260
13261         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13262         saved positions instrad of a stack. Furthermore, a position is
13263         stored using paragraph id/paragraph position.
13264
13265         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13266         Remove LFUN_REF_BACK.
13267
13268 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13269
13270         * converter.C (dvipdfm_options): New method.
13271
13272 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13273
13274         * vspace.C (isValidLength): Fix for empty input string.
13275
13276 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * LyXAction.C (init): change description of LFUN_FIGURE to
13279         "Insert Graphics"
13280
13281 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13282
13283         * LaTeX.C: add using directive
13284
13285 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13286
13287         * MenuBackend.C (expand): Fix the sorting of the formats.
13288
13289 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13290
13291         * lyx_main.C: tiny error message fix
13292
13293 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13294
13295         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13296         calling fl_initialize(). This fixes the problem with ',' as
13297         decimal separator in text files.
13298
13299 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13300
13301         * trans.C (process): Fix the keymap bug.
13302
13303 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13304
13305         * LaTeX.C (scanAuxFiles): New method. Provides support for
13306         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13307         (scanLogFile) Scan for "run BibTeX" messages.
13308
13309         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13310         OT1 font encoding. Also, load the aecompl package if the ae
13311         package is loaded.
13312
13313         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13314
13315 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13316
13317         * texrow.C (increasePos): turn two error messages into debug
13318         messages.
13319
13320 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13321
13322         * LaTeX.C (scanAux): Handle the \@input macro.
13323         (runBibTeX): Use scanAux().
13324
13325         * language.C (latex_options_): New field.
13326
13327         * LaTeXFeatures.C (getMacros): Add language macros.
13328
13329         * buffer.C (makeLaTeXFile): Small fix.
13330
13331 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13332
13333         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13334
13335         * text2.C: add a using directive.
13336
13337 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13338
13339         * BufferView2.C:
13340         * lyx_gui_misc.h:
13341         * lyxfr1.C:
13342         * lyxfunc.C: kill LyXBell.
13343
13344 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13345
13346         * text.C (IsBoundary): Remove the error message
13347
13348         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13349
13350         * lyxrc.C (setDefaults): Correct initialization value for
13351         font_norm_type.
13352
13353 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13354
13355         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13356         gotoError().
13357
13358         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13359         and GotoNextNote().
13360
13361         * src/LyXAction.C: Added reference-next.
13362
13363         * text.C (InsertChar): Use contains instead of strchr.
13364
13365         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13366
13367 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13368
13369         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13370         alignment commands (when needed).
13371
13372         * text.C (InsertChar): Add ':' to number separator chars.