]> git.lyx.org Git - features.git/blob - src/ChangeLog
remove lastPos and use endpos instead
[features.git] / src / ChangeLog
1 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
2
3         * text.C: 
4         * lyxrow_funcs.[Ch]: 
5         * Bidi.C: 
6         * paragraph.C: 
7         * lyxtext.h: 
8         * rowpainter.C: 
9         * text2.C: 
10         * text3.C: remove lastPos uses in favour of Row::endpos
11
12 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
13
14         * undo.C (performUndoOrRedo): fix two crashes by setting a
15         cursor by hand and reordering some calls. Use bv->lockInset instead
16         of inset->edit because the latter loses cursor information
17
18 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
19
20         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested 
21         by Martin
22         (rowBreakPoint): fix width. change point to point + 1. 
23         Add a missing check.
24
25 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
26
27         * MenuBackend.C:
28         * lyxfunc.C: fix (at least partly) the problems
29         with the Nav menu and headers inside branch insets
30         reported by Kayvan
31
32 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
33
34         * paragraph.C (getChar): add strong asserts
35
36         * lyxrow_funcs.C (lastPos): remove hideous hack
37
38         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
39         (fill): adjust to that (avoid an infinite loop)
40
41 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
42
43         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
44
45 2003-10-23  André Pönitz  <poenitz@gmx.net>
46         
47         * RowList_fwd.h: change list<> to vector<> to gain speed
48         after suggestion from Alfredo
49
50 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
51
52         * lyxtext.h: move the bidi stuff from here...
53         * text.C: and here
54         * text2.C: and here
55         * Bidi.[Ch]: ... to here
56
57 2003-10-23  André Pönitz  <poenitz@gmx.net>
58
59         * lyxtext.h:
60         * text.C (isLastRow, isFirstRow): new functions
61
62         * paragraph.h: new width cache member
63
64         * rowpainter.C: replace RowList::iterator with Row & where possible
65
66         * lyxfunc.C: replace several view()->text with a single call
67
68         * toc.C: fix 'unused' warning
69
70 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
71
72         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
73         when woring with stream::pos_type
74         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
75
76 2003-10-22  André Pönitz  <poenitz@gmx.net>
77
78         * lyxtext.h:
79         * text.C: use Row & instead of RowList::iterator
80
81         * lyxrow.h: rename end() to endpos()
82
83         * rowpainter.C:
84         * text.C:
85         * text2.C: adjust
86
87 2003-10-22  Angus Leeming  <leeming@lyx.org>
88
89         * buffer.[Ch] (fully_loaded): new member function, returning true
90         only when the file has been loaded fully.
91         Used to prevent the premature generation of previews and by the
92         citation inset to prevent computation of the natbib-style label.
93
94         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
95         templates are all set up.
96
97         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
98
99 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * text.C: fixed an "oops" in the "is a bit silly"
102         bug fix
103
104 2003-10-21  André Pönitz  <poenitz@gmx.net>
105
106         * FuncStatus.[Ch]: small stuff, whitespace
107
108         * lyxfont.[Ch]: operator<<() for debug reasons
109
110         * lyxfunc.C:
111         * lyxrow_funcs.C:
112         * lyxtext.h: whitespace, spelling
113
114         * paragraph.C: naming of variables
115
116         * text.C:
117         * text2.C: small stuff
118
119
120 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
121
122         * text.C: (1) finish off the inset display() work;
123         (2) fix the "is a bit silly" bug (accessing char
124         past end of par).
125
126 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
127
128         * text.C: re-introduce display() for insets, fixing the
129         various bugs (stretch of line above, math inset
130         positioning, ...)
131
132 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
133
134         * text.C (rightMargin): remove spurious semicolon
135
136         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
137         1415)
138
139 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
140
141         * text3.C: fix one crash due to wrong cursor def
142
143 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
144
145         * vc-backend.C (scanMaster): make the regex static
146
147         * LaTeX.C (scanAuxFile): make the regexs static
148
149         * text3.C (doInsertInset, dispatch, dispatch):
150         * text2.C (cursorUp, cursorDown):
151         * text.C (selectNextWordToSpellcheck):
152         * BufferView_pimpl.C (dispatch):
153         * lyxfunc.C (dispatch):  localDispatch -> dispatch
154
155 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         * lyxsocket.C: include <cerrno>
158
159 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
160
161         * lyxfunc.C (dispatch): remove textcache stuff
162
163         * bufferlist.C (release): remove textcache stuff
164         (closeAll): ditto
165
166         * TextCache.C: delete file
167         * TextCache.h: delete file
168
169         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
170
171         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
172         delete of the bv_->text.
173         (resizeCurrentBuffer): remove texcache stuff
174         (workAreaResize): ditto
175
176 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
177
178         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
179         action.
180
181 2003-10-16  André Pönitz  <poenitz@gmx.net>
182
183         * lyxrow.[Ch]:
184         * paragraph.h:
185         * rowpainter.C:
186         * text.C:
187         * text2.C:
188         * text3.C: speed up by storing y positions per paragraph plus per-row
189         offset instead of having a 'full' y position in the row.
190
191 2003-10-15  André Pönitz  <poenitz@gmx.net>
192
193         * iterators.[Ch]:
194         * iterators.[Ch]:
195         * undo.[Ch]: make undo aware of inner insets
196
197 2003-10-14  Angus Leeming  <leeming@lyx.org>
198
199         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
200         static member functions LyX::ref() and LyX::cref.
201         (lastfiles): new accessor functions for the new lastfiles_ member var.
202         (addLyXView, views_): add a new LyXView to the list of views_.
203         (updateInset): loop over all LyXViews to call their own updateInset
204         member function, returning a pointer to the Buffer owning the inset.
205
206         * BufferView_pimpl.C (loadLyXFile):
207         * MenuBackend.C (expandLastfiles):
208         * bufferlist.C (MenuWrite, QuitLyX):
209         lastfiles is no longer a global variable.
210         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
211
212         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
213         static function. Access through LyX::cref().emergencyCleanup().
214
215 2003-10-14  André Pönitz  <poenitz@gmx.net>
216
217         * iterators.[Ch]: new direct access to innermost LyXText and Inset
218
219         * undo.[Ch]: restoring part of 'undo in insets'
220
221         * Makefile.am:
222         * undo_funcs.[Ch]: merge with undo.[Ch]
223
224         * tabular.C: small cleansing stuff
225
226 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
227
228         * paragraph_funcs.C (readParToken): report unknown insets as error
229         boxes. Use the outer paragraph as location (also for unknown
230         tokens).
231
232         * factory.C (readInset): do not abort on reading an unknown inset.
233         Eat it and return 0.
234
235 2003-10-13  Angus Leeming  <leeming@lyx.org>
236
237         * lyx_main.C (LyX): remove call to setDisplayTranslator().
238
239         * lyxrc.C: displayTranslator is now a function,
240         declared in GraphicsTypes.h.
241
242 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
243
244         * format.C: new placeholder $$a to pass the socket address.
245
246         * bufferlist.[Ch]: new function getBufferFromTmp.
247
248         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
249           files in the temporary dir.
250
251 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
252
253         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
254
255         * Makefile.am: add lyxsocket.[Ch].
256
257         * lyx_main.C (error_handler): handle SIGPIPE.
258
259 2003-10-13  André Pönitz  <poenitz@gmx.net>
260
261         * BufferView_pimpl.C:
262         * lyxtext.h:
263         * text.C:
264         * text2.C:
265         * text3.C:
266         * undo_funcs.[Ch]: use paroffset_type instead of
267           ParagraphList::iterators to prevent multiple conversion
268           (and get a more robust interface)
269
270 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
271
272         * lyxfunc.C (dispatch): RESULT -> dispatch_result
273         * lyxtext.h: ditto
274         * text3.C (dispatch): ditto
275
276 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
277
278         * LaTeX.C (handleFoundFile): move the static to smaller scope,
279         move the onlyfile, use onlyfile instead of foundfile in a couple
280         of places.
281
282         * DepTable.C (update): flush the error stream a bit more
283
284 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
285
286         * lyxserver.C (callback): adjust
287
288         * lyxfunc.C (getStatus): add a missing brace in commented code
289         (ensureBufferClean): reindent
290         (dispatch): delete version taking a string
291
292 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
293
294         * LaTeX.C (deplog): move found file handlig from here...
295         (handleFoundFile): .. to new function here.
296         (deplog): make sure to discover several files mentioned on the
297         same log line.
298
299 2003-10-10  André Pönitz  <poenitz@gmx.net>
300
301         * lyxfunc.C:
302         * lyxtext.h:
303         * tabular.C:
304         * text.C:
305         * text2.C:
306         * text3.C: fix some of the tabular crashes
307
308 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
309
310         * MenuBackend.C (binding): put debug message into Debug::KBMAP
311
312         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
313
314 2003-10-09  André Pönitz  <poenitz@gmx.net>
315
316         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
317
318         * BufferView.C:
319         * BufferView_pimpl.C:
320         * bufferview_funcs.C:
321         * lyx_cb.C:
322         * lyxcursor.C:
323         * lyxfind.C:
324         * lyxfunc.C:
325         * lyxtext.h:
326         * text.C:
327         * text2.C:
328         * text3.C:
329         * text_funcs.[Ch]:
330         * textcursor.[Ch]:
331         * undo_funcs.C: adjust
332
333 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
334
335         * text2.C (incrementItemDepth): new function, use a backtracking
336         algorithm to discover the correct item depth.
337         (resetEnumCounterIfNeeded): new function, use a backtracking
338         algorithm to discover if counter reset is needed.
339         (setCounter): use them. Simplify a bit. Add different labels for
340         different item depths for itemize.
341
342         * paragraph.C (Paragraph): remove initialization of enumdepth
343         (operator=): ditto
344
345         * paragraph.h: get rid of enumdepth, and use itemdepth both for
346         enumerate and itemize. Change the type of itemdepth to signed char.
347
348 2003-10-08  André Pönitz  <poenitz@gmx.net>
349
350         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
351           thing assignable.
352         * text.C:
353         * text2.C: adjust
354
355         * tabular.[Ch]: fix crash after 'row-insert'
356
357 2003-10-08  Angus Leeming  <leeming@lyx.org>
358
359         Fix doxygen warnings.
360
361         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
362         Remove CutAndPaste:: prefix from header file declaration.
363
364         * LColor.h (fill): remove LColor:: prefix from declaration.
365
366         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
367         use lyx::depth_type rather than Paragraph::depth_type so that
368         header file and .C file match.
369
370         * converter.h (intToFormat): remove Converters:: prefix from declaration.
371
372         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
373         * aspell.C: \file aspell_local.C -> \file aspell.C
374         * gettext.C: \file gettext.C -> \file src/gettext.C
375         * gettext.h: \file gettext.h -> \file src/gettext.h
376         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
377         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
378         * text.C: \file text.C -> \file src/text.C
379
380         * toc.C: move comment so that doxygen is not confused.
381
382 2003-10-07  Angus Leeming  <leeming@lyx.org>
383
384         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
385
386 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
387
388         * aspell.C:
389         * aspell_local.h: add forgotten std::string's.
390
391 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
392
393         * LaTeXFeatures.C:
394         * LyXAction.C:
395         * factory.C:
396         * lfuns.h:
397         * lyxfunc.C:
398         * text3.C: The Box patch. Fancybox support, minipage, parbox
399
400 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
401
402         * CutAndPaste.h:
403         * DepTable.h:
404         * FloatList.h:
405         * LaTeXFeatures.h:
406         * ParagraphParameters.h:
407         * TextCache.h:
408         * Thesaurus.h:
409         * bufferlist.h:
410         * exporter.h:
411         * importer.h:
412         * lastfiles.h:
413         * lyxfind.h:
414         * lyxfont.h:
415         * lyxlex.h:
416         * lyxtextclasslist.h:
417         * messages.h:
418         * paragraph.h:
419         * paragraph_pimpl.C:
420         * textcursor.h: add <string> and other small fixes to make Lars'
421         std::string patch compile with STLport.
422
423 2003-10-06  Angus Leeming  <leeming@lyx.org>
424
425         * LColor.h: Add missing #include <string>.
426
427 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
428
429         * All most all file in all subdirs: Make <string> be the prefered
430         way of getting to std::string, add using declarations.
431
432 2003-10-06  André Pönitz  <poenitz@gmx.net>
433
434         * metricsinfo.C: initialize LyXFont before changing attribute.
435         (fixes the 'math in \emph is upright' bug)
436
437 2003-10-06  André Pönitz  <poenitz@gmx.net>
438
439         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
440
441 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
442
443         * graph.C:
444         * paragraph_pimpl.C: Small fixes to build using STLport
445
446 2003-10-02  André Pönitz  <poenitz@gmx.net>
447
448         * lyxfunc.C:
449         * text3.C: move handling of LFUN_DEPTH *; fix #1360
450
451 2003-10-01  André Pönitz  <poenitz@gmx.net>
452
453         * factory.C: assert early
454
455 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
456
457         * lyx_main.C: remove the global debug object
458
459         * debug.h: adjust for new debugstream
460
461         * debug.C: adjust for new debugstream and keep the global debug
462         object here.
463
464 2003-09-22  Angus Leeming  <leeming@lyx.org>
465
466         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
467         of g++ which otherwise complain that the scoped_ptr destructor can't delete
468         an incomplete class LyXFont.
469
470 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
471
472         * factory.C: bug fix in branches
473
474 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
475
476         * lyxfunc.C (processKeySym): adjust
477         (dispatch): adjust
478         (dispatch): change arg name from ev to func, adjust
479         (sendDispatchMessage): ditto
480
481         * lyx_main.C (defaultKeyBindings): adjust keybindings
482         (deadKeyBindings): ditto
483
484         * kbsequence.C (addkey): return a FuncRequest
485
486         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
487
488         * kbmap.C (bind): take a FuncRequest as arg, adjust
489         (read): adjust
490         (lookup): adjust
491         (defkey): change to take a FuncRequest as arg, adjust
492         (findbinding): take a FuncRequest as arg, adjust.
493
494         * funcrequest.h (operator=): added
495
496         * funcrequest.C (FuncRequest): default kb_action changed from
497         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
498
499         * buffer.C (dispatch): simplify
500         (dispatch): adjust to take a FuncRequest as arg, adjust
501
502         * boost.C (assertion_failed): change assertion message slightly
503
504         * ToolbarBackend.C (read): simplify
505
506         * MenuBackend.C (binding): adjust call to findbinding, add a
507         message if no binding is found.
508         (read): simplify
509         (expandToc): correct by adding a empty FuncRequest
510
511         * LyXAction.C: include <boost/assert.hpp>
512         (isPseudoAction): delete function
513         (LookupFunc): change name to...
514         (lookupFunc): this. change return type to FuncRequest.
515         (getActionName): take kb_action as arg, simplify
516         (funcHasFlag): add an assert, simplify.
517
518 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
519
520         * toc.C (action): return a FuncRequest, simplify
521
522         * lyxfunc.C (processKeySym): adjust
523         (getStatus): delete version that takes an int.
524         (getStatus): adjust
525         (dispatch): delete version that takes action as int
526         (dispatch): adjust
527         (sendDispatchMessage): simplify and adjust
528
529         * funcrequest.C (getArg): take unsigned int as arg
530
531         * ToolbarBackend.C (read): adjust
532         (add): delete version that takes func as a string.
533         (getIton): take a FuncRequest as arg
534
535         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
536         action.
537
538         * MenuBackend.C (MenuItem): add a new construct that only takes a
539         Kind, simplify the constructor use for submenus.
540         (add): adjust
541         (expandLastfiles): adjust
542         (expandDocuments): adjust
543         (expandFormats): adjust
544         (expandFloatListInsert): adjust
545         (expandFloatInsert): adjust
546         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
547
548         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
549         Remove class variables lyx_pseudo_map and lyx_arg_map
550
551         * LyXAction.C (searchActionArg): delete function
552         (getPseudoAction): delete function
553         (retrieveActionArg): delete function
554         (LookupFunc): make it return kb_action, simplify.
555         (getActionName): simplify
556
557         * factory.C (createInset): fix new bug
558
559 2003-09-19  Angus Leeming  <leeming@lyx.org>
560
561         * CutAndPaste.C (pasteSelection): remove fudge used to set the
562         masterFilename_ parameter in the include inset.
563
564         * factory.C (createInset): changes due to the changes to InsetInclude.
565
566 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
567
568         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
569
570 2003-09-18  Angus Leeming  <leeming@lyx.org>
571
572         * buffer.C:
573         * BufferView.C: pass the buffer when calling Inset::getLabelList,
574         Inset::fillWithBibKeys.
575         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
576
577 2003-09-18  Angus Leeming  <leeming@lyx.org>
578
579         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
580         variables.
581         (ctor): pass and store a 'Buffer const &'
582         (buffer): new member function.
583
584         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
585         '*this' to the LaTeXFeatures ctor.
586
587 2003-09-18  Angus Leeming  <leeming@lyx.org>
588
589         * LColor.h:
590         * lyxfont.C:
591         * lyxfont.h:
592         * lyxtext.h:
593         * text.C: rename EnumLColor as LColor_color.
594
595 2003-09-18  Angus Leeming  <leeming@lyx.org>
596
597         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
598         remove #include "insets/insetbase.h" from cursor.h.
599
600 2003-09-18  Angus Leeming  <leeming@lyx.org>
601
602         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
603         InsetOld_code to remove #include "inset.h".
604
605         * iterators.C: add #include "insets/inset.h"
606
607 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
608
609         * BufferView.C: remove more locking stuff that apparently doesn't
610         do anything sensible.
611
612 2003-09-16  André Pönitz  <poenitz@gmx.net>
613
614         * paragraph.[Ch]:
615         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
616           performance boost.
617
618 2003-09-16  Angus Leeming  <leeming@lyx.org>
619
620         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
621
622         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
623         arg/return type.
624
625         * paragraph.h: remove #include "lyxfont.h". Forward declare
626         LyXFont_size.
627
628 2003-09-16  Angus Leeming  <leeming@lyx.org>
629
630         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
631         of support/textutils.h.
632         (isWord): move the contents of support/textutils.h's IsWordChar here.
633
634         * buffer.C:
635         * lyxfind.C:
636         * rowpainter.C:
637         * text.C:
638         * text2.C: add #include "paragraph.h".
639
640         * rowpainter.C:
641         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
642
643 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
644
645         * main.C:
646         * lyx_main.C:
647         * lyx_cb.C:
648         * buffer.C:
649         * LaTeX.C: use namespace alias for lyx::support::os
650
651 2003-09-16  Angus Leeming  <leeming@lyx.org>
652
653         * bufferparams.C:
654         * bufferview_funcs.C:
655         * factory.C:
656         * lyxfunc.C:
657         * paragraph_pimpl.C:
658         * rowpainter.C:
659         * text.C: add #include "LColor.h".
660
661 2003-09-16  Angus Leeming  <leeming@lyx.org>
662
663         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
664         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
665         return LyXFont &.
666         Store the FontBits::color variable as an int rather than as an
667         LColor::colorso that we can move LColor.h out of the lyxfont.h header
668         file.
669
670         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
671         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
672         string calls together.
673
674         * lyxrc.C: add #include "LColor.h".
675
676 2003-09-15  Angus Leeming  <leeming@lyx.org>
677
678         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
679         a cow_ptr.
680
681 2003-09-15  Angus Leeming  <leeming@lyx.org>
682
683         * LColor.h: add an EnumLColor wrapper for LColor::color.
684
685         * lyxfont.[Ch] (color, setColor, realColor):
686         * lyxtext.h, text.C (backgroundColor):
687         pass EnumLColor args to/from the functions, rather than LColor::color
688         ones.
689
690         * lyxfont.h:
691         * lyxtext.h: forward declare EnumLColor.
692
693         * lyx_main.C: add #include "LColor.h".
694
695 2003-09-15  Angus Leeming  <leeming@lyx.org>
696
697         * .cvsignore: add lyx-gtk.
698
699 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
700
701         * Chktex.C
702         * LaTeX.C
703         * LaTeXFeatures.C
704         * ParagraphParameters.C
705         * Spacing.C
706         * buffer.C
707         * bufferparams.C
708         * bufferview_funcs.C
709         * chset.C
710         * counters.C
711         * funcrequest.C
712         * lyxfont.C
713         * lyxgluelength.C
714         * lyxlength.C
715         * paragraph.C
716         * paragraph_funcs.C
717         * text3.C
718         * vc-backend.C: remove usage of STRCONV
719
720 2003-09-15  Angus Leeming  <leeming@lyx.org>
721
722         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
723         explicitly define the color passed to the painter.
724
725 2003-09-15  Angus Leeming  <leeming@lyx.org>
726
727         * bufferparams.C (BufferParams): reorder member initializers to avoid
728         compiler warning.
729
730 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
731
732         * CutAndPaste.C (pasteSelection): remove an outdated #warning
733         * text.C (updateRowPositions): remove an unusual nop
734
735 2003-09-12  André Pönitz  <poenitz@gmx.net>
736
737         * BufferView_pimpl.C:
738         * Bullet.C:
739         * layout.h:
740         * lyxfunc.C:
741         * lyxlayout.[Ch]:
742         * lyxtextclass.C:
743         * rowpainter.C:
744         * text.C:
745         * text2.C:
746         * Counters.[Ch]: finish the 'automatic counters' job
747
748 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
749
750         * aspell.C: include <boost/assert.cpp> (compile fix)
751
752 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
753
754         * boost.C (assertion_failed): use lyx::support::abort instead of
755         assert.
756
757 2003-09-10  Angus Leeming  <leeming@lyx.org>
758
759         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
760         with their _fwd progeny.
761
762 2003-09-09  Angus Leeming  <leeming@lyx.org>
763
764         134 files throughtout the source tree: replace 'using namespace abc;'
765         directives with the appropriate 'using abc::xyz;' declarations.
766
767 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
768
769         * boost.C (emergencyCleanup): moved here from LAssert.c
770         (assertion_failed): new function, called by BOOST_ASSERT
771
772         * several files: change Assert to BOOST_ASSERT
773
774 2003-09-09  Angus Leeming  <leeming@lyx.org>
775
776         * buffer.[Ch]: Add an Impl class and move Buffer's member
777         variables into it. As a result move several header files out of
778         buffer.h.
779
780         Add header files to lots of .C files all over the tree as a result.
781
782 2003-09-09  Angus Leeming  <leeming@lyx.org>
783
784         * buffer.[Ch]: make Buffer's member variables private. Add
785         accessor functions.
786
787         Lots of changes all over the tree as a result.
788
789 2003-09-08  Angus Leeming  <leeming@lyx.org>
790
791         * graph.C: #include <config.h>.
792
793 2003-09-08  Angus Leeming  <leeming@lyx.org>
794
795         * BranchList.C:
796         * BufferView.C:
797         * BufferView_pimpl.C:
798         * CutAndPaste.C:
799         * DepTable.C:
800         * LaTeX.C:
801         * LaTeXFeatures.C:
802         * LyXAction.C:
803         * MenuBackend.C:
804         * TextCache.C:
805         * aspell.C:
806         * buffer.C:
807         * bufferlist.C:
808         * changes.C:
809         * chset.C:
810         * converter.C:
811         * counters.C:
812         * debug.C:
813         * graph.C:
814         * ispell.C:
815         * lyx_cb.C:
816         * lyxfind.C:
817         * lyxfunc.C:
818         * lyxlex_pimpl.C:
819         * lyxrc.C:
820         * lyxrow.C:
821         * paragraph.C:
822         * rowpainter.C:
823         * texrow.C:
824         * text.C:
825         * text2.C:
826         * toc.C: remove redundant using directives.
827
828 2003-09-07  Angus Leeming  <leeming@lyx.org>
829
830         * LaTeXFeatures.h: remove #include "support/types.h".
831         * ToolbarBackend.h: remove #include <algorithm>.
832         * changes.h: remove #include <ctime>.
833         * debug.h: remove #include <iosfwd>.
834         * graph.h: remove #include "support/std_string.h".
835         * lyx_main.h: remove #include <csignal>.
836         * lyxlex_pimpl.h: remove #include <fstream>.
837         * sgml.h: remove #include <algorithm>, <utility>.
838         * toc.h: remove #include "support/std_ostream.h".
839         Add #include <iosfwd>.
840
841 2003-09-07  Angus Leeming  <leeming@lyx.org>
842
843         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
844
845         * converter.h: forward declare LatexRunParams.
846         * encoding.h: remove #include "lyxrc.h".
847         * lyxtext.h: remove #include "LColor.h".
848         * lyxtextclass.h: remove #include "support/types.h".
849         * trans.h: remove #include "tex-accent.h".
850         * trans_mgr.h: remove #include "tex-accent.h".
851         * insets/inset.h: remove #include "support/types.h", <vector>.
852         * insets/insetcollapsable.h: remove #include "LColor.h".
853         * insets/insetinclude.h: remove #include "dimension.h".
854         * insets/insetlatexaccent.h: remove #include "dimension.h".
855         * insets/insetoptarg.h:: remove #include "insettext.h".
856         * insets/insettext.h: remove #include "dimension.h",
857         <boost/shared_ptr.hpp>
858
859         * insets/renderers.h: add #include "dimension.h".
860         * insets/updatableinset.h: add #include "support/types.h".
861
862         * many .C files: Associated changes.
863
864 2003-09-06  Angus Leeming  <leeming@lyx.org>
865
866         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
867         one, inside testInvariant.
868
869         * PrinterParams.C: new file.
870         * PrinterParams.[Ch]: move the function bodies out of line.
871
872 2003-09-06  Angus Leeming  <leeming@lyx.org>
873
874         * ParagraphParameters.h: forward declare ParameterStruct rather than
875         including its header file.
876         (depth): moved out-of-line.
877
878 2003-09-06  Angus Leeming  <leeming@lyx.org>
879
880         * BufferView_pimpl.h:
881         * kbmap.h:
882         * kbsequence.h:
883         * lyxfunc.h: forward declare LyXKeySym rather than
884         #include "frontends/LyXKeySym.h".
885
886         * BufferView_pimpl.C:
887         * kbmap.C:
888         * kbsequence.C:
889         * lyxfunc.C: associated changes.
890
891 2003-09-06  Angus Leeming  <leeming@lyx.org>
892
893         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
894         As a result, can remove the #include "insets/inset.h" from BufferView.h
895
896 2003-09-06  Angus Leeming  <leeming@lyx.org>
897
898         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
899         As a result, can remove the #include "insets/inset.h" from BufferView.h
900
901 2003-09-06  Angus Leeming  <leeming@lyx.org>
902
903         * buffer_funcs.C:
904         * buffer.h:
905         * bufferlist.C:
906         * BufferView.C:
907         * bufferview_funcs.C:
908         * BufferView_pimpl.C:
909         * CutAndPaste.C:
910         * lyx_cb.C:
911         * lyxfunc.C:
912         * paragraph.h:
913         * ParagraphParameters.C:
914         * tabular.C:
915         * text3.C:
916         * toc.C:
917         * undo_funcs.C:
918         * frontends/controllers/ControlDocument.C:
919         * insets/insetcaption.C: rearrange the #includes into some sort of
920         coherent order.
921
922         * buffer.h: remove #includes ErrorList.h, undo.h
923
924 2003-09-06  Angus Leeming  <leeming@lyx.org>
925
926         * support/types.h: add a 'depth_type' typedef, used to store the
927         nesting depth of a paragraph.
928
929         * paragraph.h:
930         * ParameterStruct.h: use this lyx::depth_type typedef rather than
931         defining explicitly.
932
933         * buffer.h:
934         * paragraph_funcs.h:
935         * ParagraphParameters.h:
936         * sgml.h: use lyx::depth_type rather than Paragraph or
937         ParameterStruct's depth_type.
938
939         * buffer.h
940         * paragraph_funcs.h: no need to #include paragraph.h anymore.
941
942         * BufferView.C:
943         * BufferView_pimpl.C:
944         * CutAndPaste.C:
945         * ParagraphParameters.C:
946         * buffer_funcs.C:
947         * bufferlist.C:
948         * bufferview_funcs.C:
949         * lyx_cb.C:
950         * lyxfunc.C:
951         * tabular.C:
952         * text3.C:
953         * toc.C:
954         * undo_funcs.C:
955         * frontends/LyXView.C:
956         * frontends/controllers/ControlDocument.C:
957         * frontends/controllers/ControlErrorList.C:
958         * insets/insetbibitem.C:
959         * insets/insetbranch.C:
960         * insets/insetcaption.C:
961         * insets/insetcollapsable.C:
962         * insets/insetenv.C:
963         * insets/insetert.C:
964         * insets/insetfloat.C:
965         * insets/insetfoot.C:
966         * insets/insetfootlike.C:
967         * insets/insetnewline.C:
968         * insets/insetquotes.C:
969         * insets/insettabular.C:
970         * insets/insettext.C:
971         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
972
973         * frontends/controllers/ControlChanges.C: #include "changes.h".
974
975 2003-09-06  Angus Leeming  <leeming@lyx.org>
976
977         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
978         than #including paragraph.h.
979
980         * ParagraphList.h:
981         * RowList.h: deleted. Superfluous.
982
983         * CutAndPaste.h:
984         * iterators.h:
985         * lyxcursor.h:
986         * lyxtext.h:
987         * text_funcs.h:
988         * undo.h:
989         * undo_funcs.h:
990         * insets/inset.h:
991         * insets/insettext.h: use ParagraphList_fwd.h rather than
992         ParagraphList.h.
993
994         * paragraph.h: don't forward declare ParagraphList.
995
996         * buffer.h:
997         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
998         rather than ParagraphList.h. paragraph.h is still needed for the
999         Paragraph::depth_type parameters.
1000
1001         * textcursor.h: enable it to compile stand-alone in light of the
1002         above changes.
1003
1004         * bufferview_funcs.C:
1005         * iterators.C:
1006         * lyxfunc.C:
1007         * lyxrow_funcs.C:
1008         * paragraph.C:
1009         * rowpainter.C:
1010         * text.C:
1011         * text2.C:
1012         * text3.C:
1013         * text_funcs.C:
1014         * textcursor.C:
1015         * undo.C:
1016         * frontends/controllers/ControlParagraph.C:
1017         * frontends/controllers/ControlTabular.C:
1018         * insets/insetmarginal.C:
1019         * insets/insetminipage.C:
1020         * insets/insetnote.C:
1021         * insets/insetoptarg.C: add header files needed to compile again.
1022
1023 2003-09-06  Angus Leeming  <leeming@lyx.org>
1024
1025         * RowList_fwd.h: new file, forward-declaring Row rather than
1026         #including lyxrow.h.
1027
1028         * lyxrow_funcs.h:
1029         * lyxtext.h:
1030         * paragraph.h:
1031         * insets/insettext.h: use it instead of RowList.h
1032
1033         * bufferview_funcs.C:
1034         * lyxfunc.C:
1035         * lyxrow_funcs.C:
1036         * paragraph.C:
1037         * rowpainter.C:
1038         * text.C:
1039         * text2.C:
1040         * text3.C: #include "RowList.h".
1041
1042 2003-09-05  Angus Leeming  <leeming@lyx.org>
1043
1044         * factory.C (createInset):
1045         * vspace.C (c-tor): replace sscanf call with an istringstream.
1046         * ispell.C: re-add missing HP/UX headers.
1047         * lyxserver.C: re-add missing  os2 headers.
1048
1049 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1050
1051         * BranchList.C:
1052         * graph.C:
1053         * ispell.C:
1054         * lastfiles.C:
1055         * lyx_cb.C:
1056         * lyxserver.C:
1057         * texrow.C:
1058         * text3.C: re-add missing system headers, needed for 2.95.2.
1059
1060 2003-09-05  Angus Leeming  <leeming@lyx.org>
1061
1062         Changes most place everywhere due to the removal of using directives
1063         from support/std_sstream.h.
1064
1065 2003-09-05  Angus Leeming  <leeming@lyx.org>
1066
1067         Replace LString.h with support/std_string.h,
1068         Lsstream.h with support/std_sstream.h,
1069         support/LIstream.h with support/std_istream.h,
1070         support/LOstream.h with support/std_ostream.h.
1071
1072         Changes resulting throughout the tree.
1073
1074 2003-09-05  Angus Leeming  <leeming@lyx.org>
1075
1076         * sgml.h: ensure that the header file can be compiled stand-alone.
1077         * *.C: strip out redundant #includes. (320 in total.)
1078
1079 2003-09-04  Angus Leeming  <leeming@lyx.org>
1080
1081         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1082         here (from getPackages).
1083
1084         * debug.[Ch]: add a new EXTERNAL tag.
1085
1086 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1087
1088         * text2.C (cursorEnd): simplify
1089         (setCursor): adjust
1090         (getColumnNearX): adjust
1091
1092         * text.C (computeBidiTables): adjust
1093         (fill): adjust
1094
1095         * rowpainter.C (paintChars): adjust
1096         (paintSelection): adjust
1097         (paintChangeBar): adjust
1098         (paintText): adjust
1099
1100         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1101         lastPos instead.
1102         (numberOfSeparators): adjust
1103
1104 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1105
1106         * LyXAction.C:
1107         * box.[Ch]:
1108         * lfuns.h:
1109         * lyxfunc.C:
1110         * text3.C: Restricts the mouse click functionality
1111         of insets like bibtex, include, toc and floatlist to the visible
1112         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1113         up the dialogs. Cursor has to be in front of the inset (i.e.
1114         start of row) for this to function.
1115
1116 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1117
1118         * bufferview_funcs.C (currentState): output row information
1119
1120 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1121
1122         * bufferview_funcs.C (currentState): output paragraph position
1123
1124 2003-09-04  Angus Leeming  <leeming@lyx.org>
1125
1126         * FloatList.h: move out #include "Floating.h".
1127         * LaTeX.h: move out #include "DepTable.h".
1128         * LyXAction.h: move out #include "funcrequest.h".
1129         * buffer.h: move out #include "author.h", "iterators.h".
1130         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1131         * lyx_main.h: move out #include "errorlist.h".
1132         * lyxfunc.h: move out #include "FuncStatus.h".
1133         * lyxtext: move out #include "lyxcursor.h".
1134         * paragraph_pimpl.h: move out #include "counters.h".
1135
1136 2003-09-03  Angus Leeming  <leeming@lyx.org>
1137
1138         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1139         preamble_snippets list, enabling us to add snippets to the preamble
1140         only if the snippet was not there already.
1141
1142 2003-09-04  Angus Leeming  <leeming@lyx.org>
1143
1144         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1145
1146 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1147
1148         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1149         update
1150
1151 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1152
1153         * BranchList.C: point fix, earlier forgotten
1154
1155 2003-09-02  Angus Leeming  <leeming@lyx.org>
1156
1157         * box.C (contains): renamed from 'contained' after a fantastic
1158         amount of hot air.
1159
1160 2003-09-02  John Levon  <levon@movementarian.org>
1161
1162         * BufferView.C:
1163         * lyxcursor.h:
1164         * lyxcursor.C:
1165         * lyxfunc.C:
1166         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1167
1168 2003-09-02  John Levon  <levon@movementarian.org>
1169
1170         * text2.C: simplification of cursorEnd(), including partial
1171         fix for bug 1376
1172
1173 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1174
1175         * buffer.C (readFile): add a space
1176
1177 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1178
1179         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1180
1181 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1182
1183         * buffer.C (readFile): new function, take a filename and a
1184         ParagraphList::iterator
1185         (readFile): adjust
1186         (readFile): adjust, make it private. don't use setStream, make
1187         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1188         always contain the filename.
1189
1190         * BufferView.C (insertLyXFile): simplify and make it work for
1191         gzipped files.
1192
1193 2003-08-30  John Levon  <levon@movementarian.org>
1194
1195         * Makefile.am: fix dist (from Kayvan)
1196
1197 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1198
1199         * most files: change to use const Buffer refs
1200
1201 2003-08-27  André Pönitz  <poenitz@gmx.net>
1202
1203         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1204         on top of ownerPar().
1205
1206 2003-08-27  John Levon  <levon@movementarian.org>
1207
1208         * funcrequest.C: properly initialise POD members
1209
1210 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1211
1212         * lyxtext.h (top_y): move top_y from here
1213         * text.C:
1214         * text2.C:
1215         * text3.C:
1216         * BufferView.[Ch]:
1217         * BufferView_pimpl.[Ch]: to here
1218         * frontends/screen.C:
1219         * insets/insettabular.C:
1220         * insets/insettext.C: adjust
1221         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1222
1223 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1224
1225         * BufferView.[Ch]:
1226         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1227
1228 2003-08-26  André Pönitz  <poenitz@gmx.net>
1229
1230         * paragraph_func.[Ch] (outerPar): new function
1231
1232         * paragraph.C:
1233         * paragraph_funcs.C:
1234         * paragraph_funcs.h:
1235         * paragraph_pimpl.C:
1236         * text2.C: remove Inset::par_owner
1237
1238 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1239
1240         * lyxrow_funcs.C:
1241         * lyxtext.h:
1242         * text.C:
1243         * text2.C: eliminates the needFullRow/display() stuff
1244         altogether, putting the logic in metrics/draw in the insets.
1245
1246 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1247
1248         * text2.C (redoParagraphInternal, redoParagraphs):
1249         * text.C (redoParagraph): add a call to updateRowPositions at the
1250         end of each 'metrics-like' call. Remove all others.
1251         (getRow): remove the 'y-computing' version.
1252         (getRowNearY): do not compute nor return the real y. Solve the
1253         'y < 0' problem and simplify.
1254
1255 2003-08-22  Angus Leeming  <leeming@lyx.org>
1256
1257         * *.[Ch]: clean-up of licence and author blurbs.
1258         Also move config.h out of a few .h files and into a few .C files.
1259
1260 2003-08-22  André Pönitz  <poenitz@gmx.net>
1261
1262         * lyxrow.[Ch]: add x_ and *fill_ members
1263
1264         * lyxtext.h:
1265         * text.C:
1266         * rowpainter.C:
1267         * text2.C: adjust/remove prepareToPrint() calls
1268
1269 2003-08-22  André Pönitz  <poenitz@gmx.net>
1270
1271         * lyxrow.[Ch]: add  end_ member
1272
1273         * lyxrow_funcs.C: use LyXRow::end_
1274
1275         * lyxtext.h (singleWidth): add LyXFont parameter
1276
1277         * rowpainter.C:
1278         * text2.C: adjust LyXText::singleWidth() calls
1279
1280         * text.C (redoParagraph): simplify row breaking logic
1281
1282
1283 2003-08-19  André Pönitz  <poenitz@gmx.net>
1284
1285         * funcrequest.C: initialize button_ member
1286
1287         * text3.C:
1288         * rowpainter.[Ch]: interface consolidation
1289
1290 2003-08-18  André Pönitz  <poenitz@gmx.net>
1291
1292         * BufferView.C:
1293         * BufferView_pimpl.C:
1294         * lyxfind.C:
1295         * paragraph_funcs.C:
1296         * rowpainter.C:
1297         * text3.C: remove LyXScreen::draw() and fitCursor calls
1298
1299         * BranchList.h: remove spurious semicolons
1300
1301         * MenuBackend.C: fix branchlist related crash
1302
1303 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1304
1305         * BranchList.[Ch]:
1306         * InsetList.[Ch]:
1307         * LColor.[Ch]:
1308         * LyXAction.C:
1309         * Makefile.am:
1310         * MenuBackend.[Ch]:
1311         * bufferparams.[Ch]:
1312         * factory.C:
1313         * lfuns.h:
1314         * lyxfunc.C:
1315         * text3.C: implements the 'branch inset'
1316         idea. This allows the output of various versions of a document
1317         from a single source version, selectively outputing or suppressing
1318         output of parts of the text.
1319         This implementation contains a 'branch list editor' in a separate
1320         tab of the document settings dialog. Branches are user definable
1321         and have a "display colour" to distinguish them on-screen.
1322
1323         ColorHandler was somewhat cleaned up.
1324         (1) make possible a dynamically growing LColor list by allowing
1325         the graphic context cache to grow along (vector);
1326         (2) eliminate an IMHO unnecessary step in colour allocation.
1327
1328 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1329
1330         * BufferView_pimpl.C: compile fix
1331
1332 2003-08-15  André Pönitz  <poenitz@gmx.net>
1333
1334         * rowpainter.C: remove extra metrics calls
1335
1336         * lyxtext.h: merge the two constructors into a single one,
1337           pass reference to owner's par list
1338
1339         * BufferView_pimpl.C:
1340         * text.C:
1341         * text2.C: adjust
1342
1343 2003-08-15  André Pönitz  <poenitz@gmx.net>
1344
1345         * lyxrow_funcs.[Ch]:
1346         * lyxtext.h:
1347         * paragraph.h:
1348         * paragraph_funcs.C:
1349         * rowpainter.C:
1350         * text.C:
1351         * text2.C:
1352         * text3.C:
1353         * text_funcs.C: split LyXText::rowlist_ into individual
1354         Paragraph::rows_ chunks
1355
1356         * BufferView.[Ch]:
1357         * BufferView_pimpl.[Ch]:
1358         * lyxfind.C:
1359         * lyxtext.h:
1360         * text3.C: remove toggleSelection()
1361
1362 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1363
1364         * bufferlist.C: beautify two alerts (shorter text of buttons)
1365         * buffer.C: Remove redundant ' ' from message
1366         * tabular.h:
1367         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1368         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1369         rename VALIGN_CENTER to VALIGN_MIDDLE
1370
1371 2003-08-11  André Pönitz  <poenitz@gmx.net>
1372
1373         * lyxtext.h (getPar):
1374         * text.C: new function
1375
1376 2003-08-11  André Pönitz  <poenitz@gmx.net>
1377
1378         * Makefile.am:
1379         * tracer.[Ch]: remove unneeded files
1380
1381         * InsetList.[Ch]: remove resizeInsetsLyXText()
1382
1383         * lyxtext.h:
1384         * text.C:
1385         * text2.C:
1386         * text3.C: merge insertParagraphs() and appendParagraph()
1387         remove breakAgain(), update()
1388
1389         * BufferView_pimpl.[Ch]:
1390         * bufferview_funcs.[Ch]:
1391         * lyxfunc.C:
1392         * paragraph.[Ch]:
1393         * rowpainter.C:
1394         * tabular.C: adjust after text & InsetList changes.
1395
1396 2003-08-08  André Pönitz  <poenitz@gmx.net>
1397
1398         * text.C (insertChar, backspace): replace rowlist fiddling
1399         with rebreak of full par
1400
1401         * lyxtext.h:
1402         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1403         checkParagraph, updateInset): removed
1404
1405 2003-08-07  André Pönitz  <poenitz@gmx.net>
1406
1407         * paragraph.C:
1408         * text3.C: merge some LFUN handlers, remove dead code
1409
1410 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1411
1412         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1413
1414 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1415
1416         * text2.C (DEPM): fix part of bug 1255 and 1256
1417
1418 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1419
1420         * BufferView_pimpl.C (workAreaDispatch): change to use
1421         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1422         that are no mouse related.
1423
1424 2003-08-05  André Pönitz  <poenitz@gmx.net>
1425
1426         * BufferView.[Ch]:
1427         * BufferView_pimpl.[Ch]:
1428         * bufferview_funcs.C:
1429         * text2.C:
1430         * text3.C: rip out "deep update"
1431
1432         * textcursor.[Ch] (last_sel_cursor): remove unused member
1433
1434 2003-08-04  André Pönitz  <poenitz@gmx.net>
1435
1436         * BufferView.[Ch]:
1437         * BufferView_pimpl.[Ch]:
1438         * ParagraphParameters.C:
1439         * bufferview_funcs.C:
1440         * lyx_cb.C:
1441         * lyxfind.C:
1442         * lyxfunc.C:
1443         * text.C:
1444         * text2.C:
1445         * text3.C: replace "complicated" BufferView::update(...) calls with
1446         simpler ones.
1447
1448         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1449
1450 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1451
1452         * Makefile.am (lyx_SOURCES): add paper.h
1453
1454 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1455
1456         * Makefile.am: move things around so that both lyx-qt and
1457         lyx-xforms can be built (according to --with-frontend). Then lyx
1458         is a symbolic link to lyx-[firstfrontend]
1459
1460 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1461
1462         * Always use std::endl with lyxerr
1463
1464 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1465
1466         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1467
1468 2003-08-01  André Pönitz  <poenitz@gmx.net>
1469
1470         * BufferView.[Ch]:
1471         * BufferView_pimpl.[Ch]:
1472         * lyxfunc.C:
1473         * text3.C: merge BufferView::repaint() and BufferView::update()
1474
1475 2003-08-01  José Matos  <jamatos@lyx.org>
1476
1477         * buffer.[Ch]: file_format is no longer a buffer data element.
1478
1479 2003-08-01  André Pönitz  <poenitz@gmx.net>
1480
1481         * BufferView.C:
1482         * lyxtext.h:
1483         * text.C:
1484         * text2.C: make redoParagraph more independent of current cursor
1485
1486         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1487         * text.C:
1488         * text2.C: remove unneeded members
1489
1490 2003-07-30  André Pönitz  <poenitz@gmx.net>
1491
1492         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1493
1494         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1495           create a single function...
1496
1497         * paragraph_funcs.C (moveItem): ... here.
1498
1499         * text.C:
1500           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1501
1502 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1503
1504         * LColor.[Ch]: Add comment and greyedout logical colors.
1505
1506 2003-07-30  André Pönitz  <poenitz@gmx.net>
1507
1508         * tabular.C: don't use Assert too heavily. This crashes where it
1509           shouldn't
1510
1511 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1512
1513         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1514         is disabled (bug 1232)
1515
1516 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1517
1518         * factory.C: limited 'arg' scope
1519
1520 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1521
1522         * factory.C: fixed Note submenu issues
1523
1524 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1525
1526         * factory.C: submenu for Note/Comment/Greyedout
1527
1528 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1529
1530         * lyx_main.C (LyX):
1531         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1532
1533 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1534
1535         * LaTeXFeatures.C:
1536         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1537         greyedout. Patch provided by Jürgen Spitzmüller.
1538
1539 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1540
1541         * kbmap.C (read): fix error message when reading bind files
1542
1543 2003-07-29  Angus Leeming  <leeming@lyx.org>
1544
1545         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1546         certainly does not do what it purports to do. I am doing it, and
1547         us, a favour by killing it.
1548
1549 2003-07-28  José Matos  <jamatos@lyx.org>
1550
1551         * buffer.C (readBody, do_writeFile):
1552         * paragraph.C(readParagraph): \end_document replaces \the_end.
1553
1554 2003-07-29  André Pönitz  <poenitz@gmx.net>
1555
1556         * BufferView.[Ch]:
1557         * BufferView_pimpl.[Ch]:
1558         * lyxfunc.C:
1559         * text2.C:
1560         * text3.C:
1561         * textcursor.[Ch]: remove toggleToggle & Co
1562
1563 2003-07-28  José Matos  <jamatos@fep.up.pt>
1564
1565         * buffer.C (readParagraph):
1566         * params_func (readParToken, readParagraph):
1567         * paragraph.C (write): \layout -> \begin_layout.
1568
1569 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1570
1571         * lyxlex_pimpl.C (setFile): clean up slightly.
1572
1573         * bufferparams.h: add compressed var
1574
1575         * buffer_funcs.C (readFile): adjust for LyXLex change
1576         (newFile): ditto + simplify
1577
1578         * buffer.C (writeFile): handle writing of compressed files
1579
1580         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1581         Check if the file is compressed and set a bufferparm if so.
1582
1583         * Makefile.am (lyx_LDADD): remove explicit -lz
1584
1585 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1586
1587         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1588         makeDocBookFile): put the real LyX version in the first line of
1589         the file
1590
1591         * version.h:
1592         * version.C.in: remove lyx_docversion
1593
1594         * tabular.C (write_attribute): add a template-based version to
1595         write enums properly
1596
1597 2003-07-28  André Pönitz  <poenitz@gmx.net>
1598
1599         * lyxtext.h:
1600         * text.C:
1601         * text2.C:
1602         * text3.C: use doubles again for x-coordinates. They are needed.
1603
1604 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1605
1606         * messages.C (getLocaleDir): use lyx_localedir()
1607
1608         * lyxlex_pimpl.C (setFile): compress stuff
1609
1610         * buffer.C (writeFile): add some compression stuff
1611         (do_writeFile): new func, dont call expliti close... will this
1612         breake anything?
1613
1614         * Makefile.am (lyx_LDADD): add -lz
1615
1616 2003-07-28  José Matos  <jamatos@fep.up.pt>
1617
1618         * buffer.C: increment file format.
1619         * paragraph_funcs (readParagraph, readParToken):
1620         * paragraph.C (readParagraph): add \end_layout.
1621
1622 2003-07-27  Angus Leeming  <leeming@lyx.org>
1623
1624         * Makefile.am: remove special casing for configure-time setting of
1625         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1626
1627         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1628         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1629
1630 2003-07-26  André Pönitz  <poenitz@gmx.net>
1631
1632         * paragraph_func.[Ch]:
1633         * paragraph.C (realizeFont): inline it whereever it is used
1634
1635         * rowpainter.C:
1636         * text.C:
1637         * text2.C:
1638         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1639
1640
1641 2003-07-26  André Pönitz  <poenitz@gmx.net>
1642
1643         *       lyxtext.h:
1644         * text.C:
1645         * text2.C: get rid of LyXText::need_break_row
1646
1647 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1648
1649         * toc.[Ch]: put namespace toc inside namespace lyx
1650
1651         * MenuBackend.C (expandToc2): adjust for lyx::toc
1652         (expandToc): ditto
1653
1654         * lyxfunc.C (dispatch): adjust for lyx::find
1655
1656         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1657         lyx::find instead. Reorganize a bit.
1658         (LyXReplace): rename to replace
1659         (LyXFind): rename to find
1660
1661         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1662         (dispatch): ditto
1663
1664 2003-07-26  André Pönitz  <poenitz@gmx.net>
1665
1666         * text.C (setHeightOfRow): restrict scope of temporary variable
1667
1668         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1669           code (never has been used?)
1670
1671 2003-07-27  Asger Alstrup  <alstrup@local>
1672
1673         * text.C (fill): Optimise algorithm to exploit that we can reuse
1674         the LyXFont for many characters.
1675         (setHeightOfRow): Same thing.
1676         (rowBreakPoint): Same thing.
1677
1678 2003-07-26  Asger Alstrup  <alstrup@local>
1679
1680         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1681
1682         * text.C (singleWidth): Spurious font copying in hot-spot
1683         singleWidth avoided. Reorder tests for arabic for efficiency.
1684
1685         * text.C (fill): handle empty paragraphs better.
1686
1687 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1688
1689         * ispell.C:
1690         * encoding.h: add includes
1691
1692         * lyxrc.C: remove reading of bind files
1693
1694         * lyx_main.C (init): setup bindings and menus only if we have a
1695         gui.
1696
1697         * kbmap.C (read): new method. Do the actual reading of bind
1698         files.
1699
1700         * converter.C (dvipdfm_options):
1701         * bufferparams.C:
1702         * lyxrc.C (read):
1703         (output): adapt PAPER_* enums.
1704
1705         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1706
1707         * bufferparams.h: remove paper-related enums from there
1708
1709         * paper.h: New file. A trivial header file to hold paper-related
1710         enums. It should later expand to contain many paper-related
1711         horrors access.
1712
1713         * lyxrc.C: declare extern displayTranslator
1714
1715 2003-07-27  José Matos  <jamatos@fep.up.pt>
1716
1717         * tabular.[Ch] (linuxdoc): add support for tables and figures
1718         (linuxdoc).
1719
1720 2003-07-27  José Matos  <jamatos@fep.up.pt>
1721
1722         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1723         consistency in both functions.
1724         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1725
1726 2003-07-26  Asger Alstrup  <alstrup@local>
1727
1728         * rowpainter.C (paintRows): Change algorithm to work directly on
1729         the insets rather than asking every character in the document
1730         whether its an inset.
1731
1732 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1733
1734         * buffer.C (openFileWrite): factorize some code
1735
1736 2003-07-26  Angus Leeming  <leeming@lyx.org>
1737
1738         * lyx_cb.C:
1739         * lyx_main.[Ch]: replace occurances of system_tempdir with
1740         os::getTmpDir().
1741
1742 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1743
1744         * rename Inset to InsetOld
1745
1746 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1747
1748         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1749         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1750         which I think is a bit clearer. EDIT is gone, since it was
1751         premature optimisation, and broken for mathed anyway.
1752         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1753         with cursor positioning in insets as well (math insets still do not
1754         work, but that's a different story anyway.) It mysteriously
1755         crashes sometimes with undo in the first paragraph, but I'm fairly
1756         confident that this is a compiler bug.
1757
1758 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1759
1760         * paragraph.C (Paragraph): adjust for new clone return type
1761         (operator==): ditto
1762         (copyIntoMinibuffer): ditto
1763
1764 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1765
1766         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1767         by not having a special case, and always doing a full rebreak of
1768         the document after undo.
1769
1770 2003-07-23  Angus Leeming  <leeming@lyx.org>
1771
1772         * factory.C (createInset): InsetExternal::setParams now takes a
1773         Buffer const * arg.
1774
1775 2003-07-23  Angus Leeming  <leeming@lyx.org>
1776
1777         * factory.C (createInset): changed interface to the external and
1778         graphics mailers' string2params functions.
1779
1780 2003-07-23  Angus Leeming  <leeming@lyx.org>
1781
1782         * factory.C (createInset): pass a
1783         Buffer const * parameter to InsetExternalMailer's string2params.
1784
1785 2003-07-22  John Levon  <levon@movementarian.org>
1786
1787         * Thesaurus.h: include the right aiksaurus header
1788
1789 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1790
1791         * MenuBackend.C (expand): check menu shortcuts unconditionally
1792
1793 2003-07-21  Angus Leeming  <leeming@lyx.org>
1794
1795         * factory.C (createInset): pass a
1796         buffer_path parameter to InsetGraphicsMailer's string2params.
1797
1798 2003-07-21  Angus Leeming  <leeming@lyx.org>
1799
1800         * BufferView_pimpl.C (buffer):
1801         * buffer.C (d-tor):
1802         * lyx_main.C (LyX):
1803         * lyxfunc.C (dispatch):
1804         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1805         rather than the grfx shortcut.
1806
1807 2003-07-21  André Pönitz  <poenitz@gmx.net>
1808
1809         * rowpainter.C: remove unused variables
1810
1811         * tabular_funcs.C:
1812         * tabular_funcs.h: move to tabular.C
1813         * Makefile.am: adjust
1814
1815         * tabular.[Ch]: basic optical cleaning
1816
1817         * author.h: pass references, not values
1818
1819 2003-07-18  André Pönitz  <poenitz@gmx.net>
1820
1821         * lyxtext.h:
1822         * metricsinfo.C:
1823         * metricsinfo.h:
1824         * rowpainter.C:
1825         * text.C:
1826         * text2.C:
1827         * text3.C: two-phase drawing for InsetText and InsetTabular
1828         some float -> int changes.
1829
1830 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1831
1832         * lyx_main.C: fix the fix
1833
1834 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1835
1836         * lyx_main.C: fix a crash in batch mode if no files specified
1837         * converter.C: ws
1838
1839 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1840
1841         * format.[Ch] (papersize): moved to BufferParams
1842         * converter.[Ch] (dvips_options): moved to BufferParams
1843         (dvipdfm_options): moved to anon namespace
1844         * bufferparams.[Ch]: added above functions.
1845
1846 2003-07-17  André Pönitz  <poenitz@gmx.net>
1847
1848         * lyxtext.h:
1849         * rowpainter.C:
1850         * text2.C: don't call inset->update() anymore
1851
1852         * metricsinfo.[Ch]: add convenience constructor
1853
1854 2003-07-16  André Pönitz  <poenitz@gmx.net>
1855
1856         * lyxcursor.[Ch]:
1857         * lyxfunc.[Ch]:
1858         * text.C:
1859         * text2.C: replace the LyXCursor::irow_ member with
1860          on-demand computation of the value
1861
1862 2003-07-16  John Levon  <levon@movementarian.org>
1863
1864         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1865
1866 2003-07-15  André Pönitz  <poenitz@gmx.net>
1867
1868         * text.C:
1869         * text2.C: remove no more needed refresh_row
1870
1871 2003-07-15  André Pönitz  <poenitz@gmx.net>
1872
1873         * lyxtext.h:
1874         * rowpainter.C:
1875         * text2.C:
1876         * text3.C: refresh_status tristate -> need_update bool
1877
1878 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1879
1880         * lyxtext.h (init): remove reinit argument (act as if always true)
1881         * text2.C: adjust to that
1882
1883 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1884
1885         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1886         * text3.C: use it to delete selections in some cases
1887         (bugs 441, 673, 702, 954).
1888
1889 2003-07-14  André Pönitz  <poenitz@gmx.net>
1890
1891         * rowpainter.[Ch]: reduce interface
1892
1893 2003-07-14  André Pönitz  <poenitz@gmx.net>
1894
1895         * BufferView_pimpl.C:
1896         * text2.C: adjust after removing unused BufferView * argument
1897
1898 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1899
1900         * text2.C (init): fix a crash fired on resize
1901
1902 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1903
1904         * buffer.[Ch]: added new closing signal
1905         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1906         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1907         BufferView::Pimpl via the closing the signal
1908
1909 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1910
1911         * buffer.[Ch]: take out all bv-related from buffer
1912         * BufferView.C:
1913         * BufferView_pimpl.[Ch]: connect to new signals
1914         * CutAndPaste.C: removed useless asserts
1915         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1916         * lyxvc.[Ch]:
1917         * vc-backend.[Ch]:
1918         * lyxfunc.C: moved view-related funciontality from vc here
1919         * paragraph.C: removed outdated comments
1920         * text.C: ws
1921
1922 2003-07-10  André Pönitz  <poenitz@gmx.net>
1923
1924         * BufferView_pimpl.C:
1925         * tabular.h:
1926         * tabular_funcs.C:
1927         * text.C:
1928         * text2.C: remove InsetText::InnerCache, clean up consequences
1929
1930 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1931
1932         * ispell.C: fix two typos in error messages
1933
1934 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1935
1936         * Extend Note inset to other forms of annotation like Comment
1937         and Greyedout. Right button click gives dialog.
1938
1939         Files modified or added (+):
1940
1941         * insetnote.[Ch]
1942         * FormNote.[Ch]      +
1943         * ControlNote.[Ch]   +
1944         * form_note.fd       +
1945         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1946         frontends/controllers
1947         * xforms/Dialogs.C
1948         * factory.C
1949
1950 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1951
1952         * aspell.C: add missing namespace lyx::support
1953
1954 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1955
1956         * BufferView.[Ch] (newFile): Add
1957         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1958         * LaTeX.[Ch] (message): added this signal and use it
1959         * buffer.[Ch] (busy, message): added these signals and use them
1960         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1961         * converter.C:
1962         * exporter.C:
1963         * format.C:
1964         * importer.C: use buffer signals instead of direct bv calling
1965         * lyx_cb.[Ch] (ShowMessage): removed
1966         * lyx_main.C:
1967         * lyxfunc.C:
1968         * paragraph_funcs.C:
1969         * text2.C: use buffer signals
1970
1971 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1972
1973         * introduce namespace lyx::graphics
1974
1975 2003-07-02  André Pönitz  <poenitz@gmx.net>
1976
1977         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1978
1979 2003-07-01  André Pönitz  <poenitz@gmx.net>
1980
1981         * text.C:
1982         * text2.C:
1983         * text3.C:
1984         * text_funcs.[Ch]:
1985         * textcursor.h:
1986         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1987           text*.C to text_func.C
1988
1989 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1990
1991         * introduce namespace lyx::support
1992
1993 2003-06-30  André Pönitz  <poenitz@gmx.net>
1994
1995         * Chktex.C:
1996         * funcrequest.C:
1997         * lyxtext.h:
1998         * text.C: re-enable --with-included-string
1999
2000 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2001
2002         * textcursor.C: add <config.h>
2003
2004         * text.C (getWord): remove const from word_location arg
2005
2006         * lyxvc.C (getLogFile): fix const type order
2007
2008         * lyxtext.h: remove const from word_location arg, add arg name
2009
2010         * lyxlayout.h: currect type on labeltype.
2011
2012         * importer.C: correct \file
2013
2014         * converter.C (intToFormat): use std:: on ret val, ws changes
2015
2016         * bufferlist.h: correct \file
2017
2018         * buffer.C (makeLinuxDocFile): fix const type order
2019         (makeDocBookFile): ditto
2020         (fillWithBibKeys): use std:: on stdlib args.
2021
2022         * CutAndPaste.C: fix authors.
2023         (availableSelections): use std:: on return vector
2024
2025 2003-06-27  André Pönitz  <poenitz@gmx.net>
2026
2027         * BufferView_pimpl.C:
2028         * bufferview_funcs.C:
2029         * lyxcursor.C:
2030         * lyxcursor.h:
2031         * lyxfunc.C:
2032         * lyxtext.h:
2033         * rowpainter.C:
2034         * text.C:
2035         * text2.C:
2036         * text3.C: remove LyXCursor::row_ member
2037
2038         * lyxtext.h:
2039         * text.C: rename fullRebreak() to partialRebreak() and implement
2040           a fullRebreak() that really bereks fully
2041
2042         * textcursor.h: new struct for cursor-related data
2043
2044 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2045
2046         * lyx_main.C (LyX): get full path of document loaded on the
2047         command line
2048
2049 2003-06-26  André Pönitz  <poenitz@gmx.net>
2050
2051         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2052           remove unused/broken operator>,<,>=.
2053
2054         *       text.C: remove only use of broken operator<= in an Assert().
2055
2056 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2057
2058         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2059         moved errorlist_.clear to showErrorList
2060
2061 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2062
2063         * converter.C (scanLog, runLaTeX):
2064         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2065         move the bv->showErrorList call to the callers
2066         * lyxfunc.C: i.e. here...
2067         * text2.C: and here
2068         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2069         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2070         namespace, the second to...
2071         * buffer_funcs (BufferFormat, parseErrors): added
2072         * errorlist.C (ErrorList(TeXErrors const &)): removed
2073
2074 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2075
2076         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2077
2078 2003-06-24  "Garst R. Reese" <reese@isn.net>
2079
2080         * debug.C: fix typo
2081
2082 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2083
2084         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2085
2086         * version.C.in: change docversion to 1.4
2087
2088 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2089
2090         * buffer.C: fix a bug just introduced
2091
2092 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2093
2094         * buffer.[Ch]: added the parseError signal and use it, removed
2095         sgmlError
2096         * BufferView.[Ch] (addError): moved to ...
2097         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2098         to the Buffer::parseError signal to catch (guess what) parse errors
2099         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2100
2101 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2102
2103         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2104         ability to create a buffer and to return an existing one from
2105         the list. Moved these functions to...
2106         * buffer_funcs.[Ch]: added
2107         * BufferView.[Ch] (loadLyXFile): added
2108         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2109         job removed from bufferlist::loadLyXFile.
2110         * buffer.C (setReadOnly): make it work without view
2111         (i.e added an if (users))
2112
2113 2003-06-19  Angus Leeming  <leeming@lyx.org>
2114
2115         * lfuns.h:
2116         * LyXAction.C (init):
2117         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2118         with LFUN_DIALOG_SHOW <name> <data>.
2119
2120 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2121
2122         * CutAndPaste.C (availableSelections): small compilation fix for
2123         ancient (gcc 2.9x) compilers
2124
2125 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2126
2127         * text3.C (cursorNext): add tmp var
2128
2129         * text2.C (updateCounters): for function calling out of for clause
2130         (replaceSelectionWithString): ditto
2131         (insertStringAsParagraphs): ditto
2132         (getColumnNearX): add tmp var
2133         (setCursorFromCoordinates): add tmp var
2134         (cursorDownParagraph): add tmp var
2135         (deleteEmptyParagraphMechanism): add tmp var
2136
2137         * text.C (insertChar): add tmp var
2138
2139         * rowpainter.C (paintDepthBar): add tmp var
2140
2141         * CutAndPaste.C (availableSelections): potentially check all
2142         paragraphs in a cut to fill the shown strings.
2143
2144 2003-06-18  André Pönitz  <poenitz@gmx.net>
2145
2146         * kbmap.[Ch]: use vector<> instead of list<>
2147
2148 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2149
2150         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2151         pasteSelection with index
2152
2153         * text2.C (pasteSelection): modify, call pasteSelection with index
2154
2155         * paragraph.C (asString): reimplement version with no interval to
2156         call the one with interval.
2157
2158         * lyxtext.h: add index arg to pasteSelection
2159
2160         * MenuBackend.C (MenuItem): handle PasteRecent
2161         (Menu::read::Menutags): add md_pasterecent
2162         (read): handle it
2163         (expandPasteRecent): new function
2164         (expand): use it
2165
2166         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2167
2168         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2169         the limited stack
2170         (availableSelections): new function
2171
2172 2003-06-17  Angus Leeming  <leeming@lyx.org>
2173
2174         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2175
2176 2003-06-17  Angus Leeming  <leeming@lyx.org>
2177
2178         * lfuns.h:
2179         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2180
2181         * lyxfunc.C (dispatch): invoke it.
2182
2183 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2184
2185         * iterators.C (operator++, ParPosition): reintroduce some
2186         const_cast for the benefit of older compilers.
2187
2188 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2189
2190         * text3.C (dispatch): do not modify clipboard when doing
2191         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2192         LFUN_DELETE_SKIP on a selection selection
2193
2194 2003-06-16  André Pönitz  <poenitz@gmx.net>
2195
2196         * BufferView.C:
2197         * buffer.C:
2198         * buffer.h:
2199         * paragraph.C:
2200         * tabular.[Ch]: IU of clone() and getLabelList();
2201
2202 2003-06-13  André Pönitz  <poenitz@gmx.net>
2203
2204         * tabular.h: compactification
2205
2206 2003-06-12  André Pönitz  <poenitz@gmx.net>
2207
2208         * tabular.C:
2209         * tabular.h:
2210         * tabular_funcs.h: some renaming plus whitespace
2211
2212 2003-06-12  André Pönitz  <poenitz@gmx.net>
2213
2214         * BufferView.C:
2215         * BufferView_pimpl.C:
2216         * CutAndPaste.C:
2217         * buffer.C:
2218         * iterators.[Ch]:
2219         * lyxfunc.C:
2220         * text.C:
2221         * toc.C: Return a Paragraph & for ParIterator::operator*()
2222
2223 2003-06-11  John Levon  <levon@movementarian.org>
2224
2225         * lyx_main.C:
2226         * ToolbarBackend.h:
2227         * ToolbarBackend.C: add "Toolbars" section and
2228         put the flags there
2229
2230 2003-06-10  Angus Leeming  <leeming@lyx.org>
2231
2232         * lfuns.h:
2233         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2234
2235         * lyxfunc.C (dispatch): invoke it.
2236
2237 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2238
2239         * main.C: protect <ios> with HAVE_IOS
2240         (main): protect sync_with_stdio with HAVE_IOS
2241
2242 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2243
2244         * text2.C (cutSelection): adjust
2245         (pasteSelection): adjust
2246
2247         * messages.C: handle get of empty string
2248
2249         * main.C (main): use sync_with_stdio(false)
2250
2251         * lyxfunc.C (dispatch): adjust
2252
2253         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2254         (WriteAs): remove unneeded BufferView arg.
2255
2256         * bufferparams.h: use correct types on papersize, papersize2 and
2257         paperpackage.
2258
2259         * bufferparams.C (readToken): adjust for type
2260         (writeLaTeX): add missing cases to switch.
2261
2262         * bufferlist.C (quitWriteBuffer): adjust
2263         (close): adjust
2264
2265         * buffer.C (asciiParagraph): remove some commented code.
2266
2267         * CutAndPaste.C: remove current_view extern variable.
2268         (cutSelection): add BufferParams arg.
2269         (eraseSelection): add BufferParams arg.
2270         (pasteSelection): add Buffer const & arg
2271
2272 2003-06-07  John Levon  <levon@movementarian.org>
2273
2274         * buffer.C:
2275         * paragraph_funcs.C:
2276         * paragraph_pimpl.C:
2277         * text.C:
2278         * text2.C:
2279         * paragraph.h:
2280         * paragraph.C: allow InsetERT to freely space lines,
2281         and some consolidation of code
2282
2283 2003-06-06  José Matos  <jamatos@fep.up.pt>
2284
2285         * buffer.C (makeDocBookFile): fix bug #821
2286
2287 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2288
2289         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2290
2291 2003-06-04  Angus Leeming  <leeming@lyx.org>
2292
2293         * buffer.C: bump format to 224.
2294
2295 2003-06-05  André Pönitz  <poenitz@gmx.net>
2296
2297         * text2.C (redoParagraphs): remove two const_cast<>
2298
2299 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2300
2301         * ParagraphList.h: remove last remnants of NO_STD_LIST
2302
2303 2003-06-03  Angus Leeming  <leeming@lyx.org>
2304
2305         * factory.C (createInset): small change to the way InsetExternal's params
2306         are set.
2307
2308 2003-06-04  André Pönitz  <poenitz@gmx.net>
2309
2310         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2311
2312         * paragraph_pimpl.h:
2313         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2314
2315         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2316
2317         * undo_funcs.C: make some simple cases of undo work again
2318
2319 2003-06-03  John Levon  <levon@movementarian.org>
2320
2321         * ispell.C: HPUX doesn't have sys/select.h
2322         (from Albert Chin)
2323
2324 2003-06-03  John Levon  <levon@movementarian.org>
2325
2326         * CutAndPaste.C: update tabular and include inset
2327         buffer references
2328
2329         * buffer.h:
2330         * paragraph.h:
2331         * paragraph.C: remove owningBuffer(), don't pass Buffer
2332         to clone()
2333
2334         * factory.C: insetGraphicsParams changed
2335
2336 2003-06-02  John Levon  <levon@movementarian.org>
2337
2338         * LyXAction.C:
2339         * factory.C:
2340         * lfuns.h:
2341         * lyxfunc.C:
2342         * text3.C: remove insetparent
2343
2344 2003-06-02  John Levon  <levon@movementarian.org>
2345
2346         * buffer.h:
2347         * buffer.C: fix inset_iterator.end(), move out of line
2348         (bug 1149)
2349
2350 2003-06-01  John Levon  <levon@movementarian.org>
2351
2352         * text3.C: use a proper cut/paste when doing inset
2353         insert (from Jürgen Spitzmüller)
2354
2355 2003-06-01  John Levon  <levon@movementarian.org>
2356
2357         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2358
2359 2003-05-30  André Pönitz  <poenitz@gmx.net>
2360
2361         * rowpainter.C: unify second drawing phase
2362
2363 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2364
2365         * trans_mgr.C: remove one case of current_view
2366
2367         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2368
2369         * paragraph_funcs.h: remove paragraph.h include
2370
2371         * paragraph.h: delete NO_STD_LIST stuff
2372
2373         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2374
2375         * buffer.h: remove paragraph.h include
2376
2377         * ParagraphList.C: delete file
2378
2379         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2380
2381         * toc.C (getTocList): adjust
2382
2383         * paragraph_pimpl.C (validate): adjust
2384
2385         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2386
2387         * paragraph.C (Paragraph): adjust
2388         (getPositionOfInset): use const_iterator, adjust
2389         (bibitem): use const_iterator, adjust
2390         (setInsetOwner): adjust
2391
2392         * iterators.C (operator++): adjust
2393
2394         * InsetList.[Ch]: Replace selfmade iterator with standard
2395         vector::iterator also introduce const_iterator. Remove getPos,
2396         getInset and setInset from InsetTable. Adjust accordingly.
2397
2398         * BufferView.C (lockInset): adjust
2399         (ChangeInsets): adjust
2400
2401         * tabular.[Ch]: delete commented same_id functions
2402
2403 2003-05-28  John Levon  <levon@movementarian.org>
2404
2405         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2406
2407 2003-05-28  André Pönitz  <poenitz@gmx.net>
2408
2409         * metricsinfo.[Ch]: remove 'fullredraw' member
2410
2411 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2412
2413         * lyxtextclass.C (operator): remove caching.
2414
2415 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2416
2417         * text3.C: adjust
2418
2419         * text2.C (cursorBottom): adjust
2420         (setCounter): use ParagraphList::find, adjust
2421
2422         * text.C (workWidth): use ParagraphList::find, adjust
2423
2424         * lyxcursor.C (LyXCursor): adjust
2425
2426         * buffer.C (inset_iterator): adjust
2427
2428         * ParagraphList.h: make iterator(value_type) private, make
2429         ParagraphList a friend of iterator.
2430
2431         * ParagraphList.C (find): new function
2432
2433         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2434
2435 2003-05-27  André Pönitz  <poenitz@gmx.net>
2436
2437         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2438
2439 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2440
2441         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2442
2443 2003-05-26  John Levon  <levon@movementarian.org>
2444
2445         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2446
2447 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2448
2449         * remove same_id from function signatures, adjust.
2450
2451 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2452
2453         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2454
2455         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2456
2457         * paragraph.C (Paragraph): get rid of same_ids parameter
2458
2459         * ParagraphList.C (insert): adjust
2460         (push_back): adjust
2461
2462 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2463
2464         * paragraph_funcs.C (breakParagraph): adjust
2465         (breakParagraphConservative): adjust
2466
2467         * buffer.C (readParagraph): adjust
2468
2469         * ParagraphList.C (insert): take a reference instead of a pointer
2470         (insert): adjust
2471
2472         * paragraph.[Ch] (id): new function
2473
2474         * bufferlist.C (newFile): adjust
2475
2476         * ParagraphList.C (ParagraphList): adjust
2477         (assign): adjust
2478         (push_back): take a reference instead of a pointer.
2479
2480         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2481
2482         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2483         instead.
2484
2485         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2486         set else use old code.
2487
2488         * ParagraphList.C: remove all NO_NEXT code and only compile this
2489         code of NO_STD_LIST is set.
2490
2491 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2492
2493         * BufferView_pimpl.C:
2494         * TextCache.C:
2495         * TextCache.h:
2496         * bufferlist.C:
2497         * errorlist.h:
2498         * format.C:
2499         * format.h:
2500         * graph.C:
2501         * lyxfunc.C:
2502         * lyxrc.C:
2503         * graphics/GraphicsConverter.C:
2504         * graphics/PreviewLoader.C: header adjustment
2505
2506 2003-05-23  Angus Leeming  <leeming@lyx.org>
2507
2508         * LaTeXFeatures.[Ch] (useBabel): new method.
2509         * bufferparams.C (writeLaTeX): use it.
2510
2511 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2512
2513         * ParagraphList.h (set): remove unused function.
2514
2515 2003-05-23  André Pönitz  <poenitz@gmx.net>
2516
2517         * BufferView.C:
2518         * BufferView_pimpl.C:
2519         * buffer.C:
2520         * buffer.h:
2521         * lyxfunc.C:
2522         * undo_funcs.C: setUndo reworked
2523
2524         * iterators.[Ch]: add access to topmost ParagraphList
2525
2526         * lyxtext.[Ch] (workWidth): add a const
2527
2528 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2529
2530         * texrow.[Ch] (increasePos): remove function
2531         * exporter.C (export): removed unused var and outdated comment
2532
2533 2003-05-23  Angus Leeming  <leeming@lyx.org>
2534
2535         * latexrunparams.h: rename fragile as moving_arg.
2536         * paragraph.C (simpleTeXOnePar): ditto.
2537         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2538
2539 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2540
2541         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2542         (createUndo): ditto
2543         (textUndoOrRedo): comment out a currently unused var.
2544
2545         * paragraph.h (NO_NEXT): enable NO_NEXT
2546
2547         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2548
2549         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2550
2551         * exporter.C (Export): adjust for removeAutoInsets removal.
2552
2553         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2554
2555         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2556
2557         * BufferView.[Ch] (removeAutoInsets): delete function
2558
2559 2003-05-22  Angus Leeming  <leeming@lyx.org>
2560
2561         * latexrunparams.h: add a free_spacing variable.
2562
2563         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2564         to pass moving_arg, as the data is stored in runparams.fragile.
2565
2566         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2567         to Inset::latexOptional or to simpleTeXOnePar.
2568
2569         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2570         free_spacing arg to Inset::latexOptional.
2571
2572         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2573         free_spacing arg.
2574
2575 2003-05-22  Angus Leeming  <leeming@lyx.org>
2576
2577         * latexrunparams.h: add fragile and use_babel variables.
2578
2579         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2580         * buffer.C (makeLaTeXFile): store this returned value in
2581         runparams.use_babel, thus passing it to the inset::latex methods.
2582
2583         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2584         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2585
2586         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2587         longer has a fragile arg, as it is stored in runparams.fragile.
2588
2589         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2590         moving_arg parameter as the data is stored in runparams.fragile.
2591
2592         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2593         a fragile parameter as the data is stored in runparams.fragile.
2594
2595 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2596
2597         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2598
2599 2003-05-22  Angus Leeming  <leeming@lyx.org>
2600
2601         * latexrunparams.h: add a 'bool nice' which defaults to false.
2602
2603         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2604         now encapsulated within runparams.
2605
2606         * bufferlist.C (updateIncludedTeXfiles):
2607         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2608
2609 2003-05-22  Angus Leeming  <leeming@lyx.org>
2610
2611         * latexrunparams.h: new file containing struct LatexRunParams.
2612         * Makefile.am: add new file.
2613
2614         * LaTeX.[Ch] (c-tor, run):
2615         * buffer.[Ch] (makeLaTeXFile):
2616         * bufferlist.[Ch] (updateIncludedTeXfiles):
2617         * converter.C (convert, scanLog):
2618         * converter.[Ch] (runLaTeX):
2619         * exporter.C (Export):
2620         * paragraph.[Ch] (simpleTeXOnePar):
2621         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2622         * paragraph_funcs.[Ch] (latexParagraphs):
2623         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2624         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2625         pass around a LatexRunParams parameter.
2626
2627 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2628
2629         * paragraph.[Ch]: remove unused constructor
2630
2631         * ParagraphList.C (erase): new function, taking two iterators
2632
2633 2003-05-22  André Pönitz  <poenitz@gmx.net>
2634
2635         * undo_funcs.C: remove duplicated code
2636
2637         * iterator.[Ch]: operator=
2638
2639 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2640
2641         * tabular.C (SetMultiColumn): ws changes
2642
2643         * rowpainter.C (paintFirst): get rid of a ->previous
2644
2645         * lyx_cb.C (getPossibleLabel): parlist simplification
2646
2647         * BufferView.C (ChangeInsets): simplify slightly.
2648
2649 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2650
2651         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2652         * lfuns.h: new LFUN_SPACE
2653         * lyxfunc.C: protected space has a new lfun
2654         * paragraph_funcs.C: read new space insets
2655         * text3.C:
2656         * factory.C: handle new space insets
2657
2658 2003-05-22  André Pönitz  <poenitz@gmx.net>
2659
2660         * BufferView.C:
2661         * BufferView_pimpl.C:
2662         * buffer.[Ch]:
2663         * lyxfunc.C:
2664         * undo_funcs.C: return a ParIterator from getParFromID.
2665
2666         * iterators.[Ch]: add two const's
2667
2668 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2669
2670         * toc.C (getTocList): adjust
2671
2672         * iterators.[Ch]: rework for parlist
2673
2674         * buffer.C (par_iterator_begin): adjust
2675         (par_iterator_end): adjust
2676
2677         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2678
2679         * BufferView.C (removeAutoInsets): adjust
2680         (ChangeInsets): adjust
2681
2682 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2683
2684         * text.C (top_y): fix bug 1110
2685
2686 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2687
2688         * errorlist.[Ch]: added
2689         * buffer.C:
2690         * BufferView.[Ch]:
2691         * BufferView_pimpl.C:
2692         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2693         instead
2694
2695 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2696
2697         * Makefile.am: ensure that lyx is relinked upon changes to the
2698         various "convenience" libs.
2699
2700 2003-05-20  Angus Leeming  <leeming@lyx.org>
2701
2702         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2703         files are compiled in alphabetical order again.
2704
2705         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2706
2707 2003-05-19  Angus Leeming  <leeming@lyx.org>
2708
2709         * gettext.[Ch]: remove "char const * _(char const *)".
2710
2711 2003-05-19  André Pönitz  <poenitz@gmx.net>
2712
2713         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2714
2715         * Makefile.am:
2716         * BufferView.C:
2717         * DepTable.h:
2718         * LaTeXFeatures.C:
2719         * buffer.C:
2720         * lyxfont.C:
2721         * lyxlex.h:
2722         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2723
2724 2003-05-19  André Pönitz  <poenitz@gmx.net>
2725
2726         * buffer.C:
2727         * lyxlayout.[Ch]:
2728         * lyxtextclass.[Ch]:
2729         * paragraph.C:
2730         * paragraph_funcs.[Ch]:
2731         * text2.C:
2732         * text3.C: more insetenv work
2733
2734 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2735
2736         * ParagraphParameters.C (params2string): small bug fixed
2737
2738 2003-05-16  André Pönitz  <poenitz@gmx.net>
2739
2740         * debug.C:
2741         * bufferview_funcs.C: patch from Kornel Benko to prevent
2742           crash when _(...) is called twice in a statement
2743
2744 2003-05-16  André Pönitz  <poenitz@gmx.net>
2745
2746         * BufferView.C:
2747         * lyxfunc.C:
2748         * text.C:
2749         * text2.C:
2750         * text3.C:
2751         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2752
2753 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2754
2755         * lyx_main.C (init): remove spurious static_cast
2756
2757 2003-05-14  André Pönitz  <poenitz@gmx.net>
2758
2759         * BufferView.C: fix format string
2760
2761 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2762
2763         * BufferView.[Ch] (insertErrors): removed
2764         * BufferView.[Ch] (showErrorList): added
2765         * buffer.C (runChkTeX):
2766         * converter.C (scanLog): call showErrorList instead of inserterrors
2767
2768 2003-05-13  André Pönitz  <poenitz@gmx.net>
2769
2770         * BufferView_pimpl.C:
2771         * buffer.C:
2772         * bufferview_func.C:
2773         * MenuBackend.C:
2774         * lyxfunc.C:
2775         * lyxrc.C:
2776         * tex-accent.C:
2777         * text3.C:
2778         * toc.C:
2779         * tabular_funcs.h: tostr() from its own header
2780
2781         * ParagraphParameters.C:
2782         * ToolbarBackend.C:
2783         * bufferparams.C:
2784         * format.C:
2785         * lyxlex_pimpl.C:
2786         * text3.C: STRCONV()
2787
2788 2003-05-12  André Pönitz  <poenitz@gmx.net>
2789
2790         * BufferView.C:
2791         * BufferView_pimpl.C:
2792         * CutAndPaste.C:
2793         * LaTeX.C:
2794         * LaTeXFeatures.C:
2795         * ParagraphParameters.C:
2796         * buffer.C:
2797         * bufferlist.C:
2798         * bufferparams.C:
2799         * bufferview_funcs.C:
2800         * converter.C:
2801         * counters.C:
2802         * debug.C:
2803         * exporter.C:
2804         * format.C:
2805         * importer.C:
2806         * lyx_cb.C:
2807         * lyx_main.C:
2808         * lyxfont.C:
2809         * lyxfunc.C:
2810         * lyxvc.C:
2811         * paragraph.C:
2812         * paragraph_funcs.C:
2813         * tabular.C:
2814         * tabular_funcs.C:
2815         * text2.C:
2816         * text3.C:  boost::format -> bformat  all over the place
2817
2818
2819 2003-05-09  André Pönitz  <poenitz@gmx.net>
2820
2821         * LColor.[Ch]: Pimpl the #include <map> away
2822
2823 2003-05-09  John Levon  <levon@movementarian.org>
2824
2825         * bufferlist.C: never remove emergency saves
2826
2827 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2828
2829         * Makefile.am: better lib building
2830
2831 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2832
2833         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2834         instead.
2835         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2836         (simpleTeXSpecialChars): adjust
2837         (simpleTeXSpecialChars): adjust
2838         * paragraph.C (simpleTeXOnePar): adjust
2839         * buffer.C (makeLaTeXFile): adjust
2840
2841         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2842
2843         * text2.C (changeDepth): parlist cleanup
2844         (getColumnNearX): ditto
2845
2846         * rowpainter.C (getLabelFont): parlist cleanup
2847
2848         * bufferlist.C (newFile): parlist cleanup
2849
2850         * CutAndPaste.C (eraseSelection): parlist cleanup
2851
2852         * BufferView_pimpl.C (trackChanges): parlist cleanup
2853         (dispatch): ditto
2854
2855         * BufferView.C (lockInset): parlist cleanup.
2856         (ChangeInsets): ditto
2857
2858 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2859
2860         * CutAndPaste.h: Update file header.
2861
2862         * CutAndPaste.C: Update file header.
2863         Store the parts cut out of the Document in a limited_stack.
2864         (copySelection): adjust
2865         (pasteSelection): new function, takes the index in the limited stack.
2866         (nrOfParagraphs): adjust
2867         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2868         simplify error inset insertion.
2869         (checkPastePossible): adjust
2870
2871 2003-05-06  John Levon  <levon@movementarian.org>
2872
2873         * text2.C: don't cast wrap inset to float
2874
2875 2003-05-05  André Pönitz  <poenitz@gmx.net>
2876
2877         * iterator.C:
2878         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2879
2880         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2881           few naked Paragraph *.
2882
2883 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2884
2885         * bufferparams.C: Output warning if a document with missing
2886         TeX document class is loaded
2887         * exporter.C: Disable TeX exports if the document class is missing
2888         * lyxtextclass.C:
2889         * lyxtextclass.h:
2890         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2891         isTeXClassAvailable()
2892
2893 2003-05-03  John Levon  <levon@movementarian.org>
2894
2895         * BufferView.h:
2896         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2897         explicit cursor show/hide
2898
2899         * BufferView_pimpl.h:
2900         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2901         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2902
2903         * lyxfunc.C: hide cursor before dispatching.
2904
2905         * lyx_cb.C:
2906         * lyxfind.C:
2907         * text.C:
2908         * text3.C: remove explicit cursor hides
2909
2910 2003-05-02  André Pönitz  <poenitz@gmx.net>
2911
2912         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2913
2914         * undo_funcs.C:
2915         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2916           linked lists
2917
2918         * text2.C: tiny whitespace
2919
2920 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2921
2922         * undo_funcs.C: almost only ws changes.
2923
2924         * ParagraphList.C (splice): just return if pl is empty.
2925
2926 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2927
2928         * ParagraphList.C (splice): new function.
2929
2930         * CutAndPaste.C (pasteSelection): use it
2931
2932 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2933
2934         * CutAndPaste.C (pasteSelection): remove the last next and
2935         previous from this file.
2936
2937 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2938
2939         * CutAndPaste.C (pasteSelection): more clean up, user proper
2940         ParagraphList functions for pasteing.
2941
2942         * ParagraphList.C (insert): new function, three arg insert
2943
2944 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2945
2946         * ParagraphList.C (insert): new function, three arg insert
2947
2948         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2949         not on paragraphs.
2950
2951 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2952
2953         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2954
2955 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2956
2957         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2958
2959 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2960
2961         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2962         (copySelection): clean up a bit.
2963         (pasteSelection): use make_pair
2964
2965         * ParagraphList.C (ParagraphList): implement copy constructor
2966         (operator=): implement, base on copy constructor.
2967         (assign): new func
2968
2969         * paragraph.C (erase): return a bool
2970
2971         * paragraph_pimpl.C (erasePos): remove function, move contents...
2972         (erase): ... here. Return a bool.
2973         (erase): call erase instead of erasePos.
2974
2975 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2976
2977         * ParagraphList.h: define PitPosPair
2978         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2979         ParagraphList, fix a bug on pasting multiple pars
2980         * text2.C: change interface to C&P
2981
2982 2003-04-30  André Pönitz  <poenitz@gmx.net>
2983
2984         * undo_func.C: revert part of yesterday's patch 2
2985
2986 2003-04-30  John Levon  <levon@movementarian.org>
2987
2988         * LColor.C: s/tabular/table/
2989
2990 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2991
2992         * text3.C (dispatch): do not convert iterator -> pointer
2993         * undo_funcs.C (setCursorParUndo): ditto
2994         * text_funcs.C (transposeChars): ditto
2995
2996         * text2.C (setLayout): ws changes only
2997
2998         * text.C (breakParagraph): do not convert iterator -> pointer
2999         (insertChar): ditto
3000         (acceptChange): ditto
3001         (rejectChange): ditto
3002         (changeCase): ditto
3003         (Delete): ditto
3004         (backspace): ditto
3005
3006         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
3007         pointer
3008
3009 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3010
3011         * text3.C (gotoInset): YABG (yet another bad getChar)
3012
3013 2003-04-29  André Pönitz  <poenitz@gmx.net>
3014
3015         * paragraph.h: make operator= private unimplemented as long as
3016           it is unusable
3017
3018         * ParagraphList.C: whitespace
3019
3020         * paragraph.[Ch]:
3021         * paragraph_pimpl.[Ch]:
3022         * paragraph_funcs.C:
3023         * CutAndPaste.C:
3024         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
3025
3026         * text2.C:
3027           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
3028
3029 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
3030
3031         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
3032         * paragraph.[Ch] (erase):
3033         * paragraph_pimpl.[Ch] (erase): change return type and value
3034         * text2.C (cutSelection): some rework
3035
3036 2003-04-28  John Levon  <levon@movementarian.org>
3037
3038         * bufferlist.C: changes for unsaved changes dialog
3039
3040 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3041
3042         * bufferlist.C (newFile): set language (messages_) for new
3043         documents also.
3044
3045         * buffer.C (readFile): ws changes only.
3046
3047 2003-04-28  André Pönitz  <poenitz@gmx.net>
3048
3049         * undo_funcs.C:
3050         * lyxfunc.C:
3051         * buffer.[Ch]:
3052         * BufferView_pimpl.C:
3053         * BufferView.C: getParFromID related ParagraphList::iterator changes
3054
3055 2003-04-28  André Pönitz  <poenitz@gmx.net>
3056
3057         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3058           Changes
3059
3060 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3061
3062         * messages.C: remove one more localedir class variable.
3063
3064 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3065
3066         * messages.C (getLocaleDir): singleton generation function
3067         (Pimpl): use it.
3068         (Messages): add a default constructor.
3069
3070         * main.C (main): do not setup localedir here, do not call
3071         gettext_init.
3072
3073         * gettext.C (_): use it.
3074         (gettext_init): delete funciton
3075
3076 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3077
3078         * gettext.C (getLyXMessages): new singleton generating function.
3079
3080         * buffer.C (updateDocLang): adjust
3081
3082         * Makefile.am (messages.o): add target
3083         (main.o): remove target
3084
3085 2003-04-27  John Levon  <levon@movementarian.org>
3086
3087         * bufferlist.C:
3088         * lyx_cb.C:
3089         * lyxfunc.C:
3090         * lyxvc.C: specify cancel button in Alert::prompt
3091
3092 2003-04-26  John Levon  <levon@movementarian.org>
3093
3094         * text3.C:
3095         * lyxfunc.C:
3096         * lfuns.h:
3097         * LyXAction.C: add LFUN_INSET_SETTINGS
3098
3099         * lyxfunc.C: don't enable tabular-feature when there's
3100         just any locking inset
3101
3102 2003-04-26  John Levon  <levon@movementarian.org>
3103
3104         * bufferlist.C: re-add Cancel to buffer close question
3105
3106         * lyxfunc.C: fix import UI a bit
3107
3108 2003-04-25  John Levon  <levon@movementarian.org>
3109
3110         * gettext.C: remove the broken asserts for now
3111
3112 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3113
3114         * messages.C: make case where setlocale cannot comply work better.
3115
3116         * buffer.C (updateDocLang): new function
3117         (changeLanguage): use it
3118         (readFile): use it
3119
3120         * text2.C (setCounter): use B_ a bit.
3121
3122         * lyxlayout.C (Read): be sure to trim the label strings.
3123
3124         * messages.C (Messages): fix typo in comment
3125
3126         * buffer.C (readFile): set message_ after file is loaded.
3127         (makeDocBookFile): remove double return
3128         (changeLanguage): reset message_ upon language change.
3129         (B_): new func, use this to get translated buffer strings.
3130
3131         * main.C: add myself and Jean Marc as authors.
3132
3133 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3134
3135         * messages.[hC]: pimplify Messages, and three different pimpls to be
3136         used in different circumstances.
3137
3138         * gettext.[Ch]: change for use with new message code.
3139
3140 2003-04-24 André Pönitz <poenitz@gmx.net>
3141
3142         * factory.C: support for eqref
3143
3144 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3145
3146         * messages.[Ch]: add missing char
3147
3148         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3149
3150         * messages.[Ch]: New files
3151
3152 2003-04-18  John Levon  <levon@movementarian.org>
3153
3154         * BufferView.h:
3155         * BufferView.C:
3156         * BufferView_pimpl.C:
3157         * lfuns.h:
3158         * LyXAction.C:
3159         * lyxtext.h:
3160         * text2.C: remove layout-copy/paste (bug 778)
3161
3162 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3163
3164         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3165
3166 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3167
3168         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3169         if they succeed. Act accordingly.
3170
3171 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3172
3173         * text2.C (setCharFont): adjust
3174         (setCounter): adjust
3175         (insertStringAsLines): adjust
3176
3177         * text.C (leftMargin): adjust
3178         (setHeightOfRow): adjust
3179
3180         * rowpainter.C (paintFirst): adjust
3181         (paintLast): adjust
3182
3183         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3184         (outerHook): ditto
3185         (isFirstInSequence): ditto
3186         (getEndLabel): ditto
3187         (outerFont): adjust
3188
3189         * paragraph.C (getParLanguage): comment out some hard stuff.
3190
3191         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3192         (sgmlError): ditto
3193         (simpleDocBookOnePar): ditto
3194         (makeDocBookFile): use ParagraphList::iterator
3195
3196         * CutAndPaste.C (pasteSelection): adjust
3197
3198 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3199
3200         * text2.C (getFont): adjust
3201         (getLayoutFont): adjust
3202         (getLabelFont): adjust
3203
3204         * paragraph_funcs.C (TeXOnePar): adjust
3205
3206         * buffer.C (simpleLinuxDocOnePar): adjust
3207         (simpleDocBookOnePar): adjust
3208
3209         * CutAndPaste.C (pasteSelection): adjust
3210
3211         * BufferView.C (getEncoding): adjust
3212
3213         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3214
3215 2003-04-16  John Levon  <levon@movementarian.org>
3216
3217         * lyxfind.C: use parlist stuff for search/changes
3218
3219 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3220
3221         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3222
3223         * text2.C (deleteEmptyParagraphMechanism): adjust
3224
3225         * text2.[Ch] (ownerParagraph): delete func (both of them
3226
3227 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3228
3229         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3230
3231 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3232
3233         * ParagraphList.C: prepare for NO_NEXT
3234
3235 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3236
3237         * text2.C (getFont): adjust
3238         (getLayoutFont): adjust
3239         (getLabelFont): adjust
3240
3241         * paragraph.C (getFont): adjust
3242         (getLabelFont): adjust
3243         (getLayoutFont): adjust
3244
3245         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3246
3247 2003-04-15  John Levon  <levon@movementarian.org>
3248
3249         From Angus Leeming
3250
3251         * lyx_main.C: handle Include in .ui files
3252
3253 2003-04-15  John Levon  <levon@movementarian.org>
3254
3255         * MenuBackend.C: make the doc files length shorter
3256
3257         * ToolbarBackend.h:
3258         * ToolbarBackend.C: handle toolbar placement flags,
3259         Minibuffer
3260
3261 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3262
3263         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3264         adjust
3265
3266         * paragraph_funcs.C (TeXOnePar): adjust
3267
3268         * paragraph.C (getLabelFont): add outerfont arg, adjust
3269         (getLayoutFont): ditto
3270         (simpleTeXOnePar): adjust
3271
3272         * paragraph_pimpl.C (realizeFont): delete func
3273
3274 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3275
3276         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3277         row argument, constify cur argument.
3278
3279 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3280
3281         * text2.C (getFont): adjust
3282         (getLayoutFont): adjust
3283         (getLabelFont): adjust
3284
3285         * paragraph_funcs.C (TeXOnePar): adjust
3286         (outerFont): new func...
3287         (realizeFont): ...moved out from here, changed this to facilitate
3288         transition
3289
3290         * paragraph.C (getFont): take outerfont as arg, adjust
3291         (simpleTeXOnePar): add outerfont arg, adjust
3292
3293         * buffer.C (simpleLinuxDocOnePar): adjust
3294         (simpleDocBookOnePar): adjust
3295
3296         * CutAndPaste.C (pasteSelection): adjust
3297
3298         * BufferView.C (getEncoding): adjust
3299
3300 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3301
3302         * text2.C (setCharFont): adjust
3303         (setCounter): adjust
3304
3305         * text.C (leftMargin): adjust
3306         (setHeightOfRow): adjust
3307
3308         * rowpainter.C (paintFirst): adjust
3309         (paintLast): adjust
3310
3311         * paragraph_pimpl.C (realizeFont): adjust
3312
3313         * paragraph.C (isFirstInSequence): move from here...
3314         * paragraph_funcs.C (isFirstInSequence): ...to here
3315
3316         * paragraph.C (outerHook): move from here...
3317         * paragraph_funcs.C (outerHook): ...to here
3318
3319         * paragraph.C (depthHook): move from here...
3320         * paragraph_funcs.C (depthHook): ...to here
3321
3322         * paragraph.C (getEndLabel): move from here...
3323         * paragraph_funcs.C (getEndLabel): ...to here
3324
3325         * text2.C (realizeFont): move from here...
3326         * paragraph_funcs.C (realizeFont): ...to here
3327
3328 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3329
3330         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3331
3332 2003-04-14  Angus Leeming  <leeming@lyx.org>
3333
3334         * LColor.[Ch]: scrap LColor mathcursor.
3335
3336 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3337
3338         * lyxlex.[Ch] (text): delete function
3339         * trans.C (Load): adjust
3340         * paragraph_funcs.C (readParToken): adjust
3341
3342 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3343
3344         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3345         vector<char> instead of a char[].
3346
3347         * lyxlex_pimpl.C (getString): adjust
3348         (next): adjust
3349         (lex): use getString
3350         (eatLine): adjust
3351         (nextToken): adjust
3352
3353         * lyxlex.C (text): use pimpl_->getString()
3354         (getBool): ditto
3355         (findToken): ditto
3356
3357 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3358
3359         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3360         (makeFontEntriesLayoutSpecific): temp var for par.size()
3361         (setLayout): temp var for ownerParagraphs().end()
3362         (fullRebreak): temp var for rows().end()
3363         (selectionAsString): temp var for boost::next(startpit), realize
3364         that the while really is a regular for loop.
3365         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3366         setCursor in one place.
3367         (setParagraph): temp vr for ownerParagraphs().end()
3368         (updateCounters): make the while loop a for loop
3369         (cutSelection): temp var for ownerParagraphs().end()
3370         (updateInset): make the do {} while() a regular for loop
3371         (getCursorX): use temp vars
3372         (setCurrentFont): use temp vars
3373         (getColumnNearX): use temp vars
3374
3375 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3376
3377         * text.C (transformChar): use temp var for getChar
3378         (computeBidiTables): use temp var for row->par()
3379         (fill): move temp vars for row->par() and pit->layout() earlier in
3380         the function.
3381         (labelFill): use temp var for row->par()
3382         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3383         asc and desc, realize that pit never changes and that firstpit is
3384         just a duplicate and not needed. Exchange rit->par() with pit in a
3385         lot of places.
3386         (breakAgain): use a temp var for boost::next(rit)
3387         (breakAgainOneRow): ditto
3388         (breakParagraph): use a temp var for rows().begin()
3389         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3390         (cursorRightOneWord): use temp var for cursor.par() and
3391         cursor.pos(), remove usage of tmpcursor.
3392         (cursorLeftOneWord): use temp var for cursor.par() and
3393         cursor.pos() only set cur at end of function.
3394
3395 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3396
3397         * text.C, text2.C: exchange all usage of Paragraph::next with
3398         boost::next(ParagraphList::iterator)
3399
3400         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3401
3402         * text2.C (cursorTop): simplify implementation
3403         (cursorBottom): ditto
3404         (setParagraph): use ParagraphList::iterator
3405         (setCurrentFont): adjust
3406         (getColumnNearX): adjust
3407         (cursorRight): adjust
3408         (cursorLeft): remove usage of Paragraph::previous
3409         (cursorUpParagraph): ditto
3410         (deleteEmptyParagraphMechanism): slight cleanup
3411
3412         * text.C (isBoundary): take a Paragraph const & instead of a
3413         pointer as arg.
3414         (addressBreakPoint): ditto
3415         (leftMargin): remove usage of Paragraph::previous.
3416         (setHeightOfRow): ditto
3417         (cursorLeftOneWord): ditto
3418         (selectNextWordToSpellcheck): ditto
3419         (Delete): ditto
3420         (backspace): ditto
3421         (breakParagraph): remove one usage of Paragraph::next
3422         (redoParagraph): ditto
3423         (acceptChange): ditto
3424         (insertChar): adjust
3425         (rowBreakPoint): adjust
3426
3427         * bufferview_funcs.C (toggleAndShow): adjust
3428
3429 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3430
3431         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3432         methods to access it.
3433         * lyxtext.h:
3434         * text.C: Added updateRowPositions to compute all row positions.
3435         Make top_y and getRowNearY() to use the cached y position
3436
3437 2003-04-11  John Levon  <levon@movementarian.org>
3438
3439         * text.C (rowBreakPoint): reintroduce the labelEnd
3440         checks, code copied from the row fill stuff. Deep voodoo.
3441
3442         * text.C (fill): add a comment and debugging for the
3443         next poor soul.
3444
3445 2003-04-11  John Levon  <levon@movementarian.org>
3446
3447         * text.C: make sure fullrow insets get wrapped to the next line,
3448         even when they're in a manual label
3449
3450 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3451
3452         * text2.C (insertParagraph): make it take ParagraphList::iterator
3453         as arg.
3454         (setLayout): make it return ParagraphList::iterator
3455         (redoParagraphs): ditto
3456         (setCounter): ditto
3457         (checkParagraph): ditto
3458
3459         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3460
3461         * text2.C: adjust several funcs.
3462         (realizeFont): take a ParagraphList::iterator as arg.
3463         (getLayoutFont): ditto
3464         (getLabelFont): ditto
3465         (setCharFont): ditto
3466
3467         * text.C: adjust several funcs.
3468
3469 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3470
3471         * text.C (selectNextWordToSpellcheck): don't accidentally
3472         skip insets
3473
3474 2003-04-10  John Levon  <levon@movementarian.org>
3475
3476         * ToolbarBackend.C (getIcon): special handling for
3477         LFUN_MATH_DELIM
3478
3479 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3480
3481         * text2.C (cursorRight): a getChar assert fixed
3482
3483 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3484
3485         * text2.C (getFont): change to take a ParagraphList::iterator
3486         instead of Paragraph*
3487         Adjust several functions.
3488
3489         * text.C (transformChar): change to take a ParagraphList::iterator
3490         instead of Paragraph*
3491         (singleWidth): ditto
3492         Adjust several functions.
3493
3494         * rowpainter.C: adjust several functions
3495         * rowpainter.h:store a ParagraphList::iterator and not a
3496         Paragraph&.
3497
3498
3499 2003-04-09  John Levon  <levon@movementarian.org>
3500
3501         * lyxfunc.C:
3502         * lfuns.h:
3503         * LyXAction.h:
3504         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3505         and the "help" bits as well
3506
3507 2003-04-09  John Levon  <levon@movementarian.org>
3508
3509         * ToolbarBackend.h:
3510         * ToolbarBackend.C: allow multiple toolbars
3511
3512 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3513
3514         * undo_funcs.C (setCursorParUndo): adjust
3515
3516         * text_funcs.C (transposeChars): adjust
3517
3518         * text3.C (gotoNextInset): adjust
3519         (dispatch): adjust
3520
3521         * text2.C (setLayout): adjust
3522         (changeDepth): adjust
3523         (setFont): adjust
3524         (redoParagraphs): adjust
3525         (selectionAsString): adjust
3526         (setParagraph): adjust
3527         (insertInset): adjust
3528         (cutSelection): adjust
3529         (copySelection): adjust
3530         (pasteSelection): adjust
3531         (insertStringAsLines): adjust
3532         (updateInset): adjust
3533         (setCursor): change to take a ParagraphList::iterator parameter
3534         (setCursorIntern): change to take a ParagraphList::iterator parameter
3535         (setCurrentFont): adjust
3536         (cursorLeft): adjust
3537         (cursorRight): adjust
3538         (deleteEmptyParagraphMechanism): adjust
3539
3540         * text.C (breakParagraph): adjust
3541         (insertChar): adjust
3542         (acceptChange): adjust
3543         (rejectChange): adjust
3544         (selectNextWordToSpellcheck): adjust
3545         (changeCase): adjust
3546         (Delete): adjust
3547         (backspace): adjust
3548
3549         * lyxfind.C (SearchForward): adjust
3550         (SearchBackward): adjust
3551         (nextChange): adjust
3552
3553         * lyxcursor.C (par): adjust
3554
3555         * lyxcursor.h: store a ParagraphList::iterator instead of a
3556         Paragraph*
3557
3558         * lyx_cb.C (getPossibleLabel): adjust
3559
3560         * bufferview_funcs.C (toggleAndShow): adjust
3561
3562         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3563         (dispatch): adjust
3564
3565         * BufferView.C (removeAutoInsets): adjust
3566         (lockedInsetStoreUndo): adjust
3567
3568 2003-04-09  John Levon  <levon@movementarian.org>
3569
3570         * ToolbarBackend.C: try icon without argument
3571         if with argument fails
3572
3573 2003-04-08  John Levon  <levon@movementarian.org>
3574
3575         * ToolbarBackend.h:
3576         * ToolbarBackend.C: add getIcon(), handle tooltip,
3577         and change from "Icon" to "Item".
3578
3579 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3580
3581         * BufferView.C (lockInset): another bad getchar crunched
3582
3583 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3584
3585         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3586         again)
3587
3588 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3589
3590         * lyxfind.C (searchForward, searchBackwards): bug 782
3591
3592 2003-04-07  John Levon  <levon@movementarian.org>
3593
3594         * paragraph.C: remove dead comment
3595
3596         * text.C: remove troublesome depth-fiddling code
3597         in leftMargin() and rightMargin() (bug 1017)
3598
3599         * text.C: fix breaking of rows in nested lists
3600         (bug 1004)
3601
3602         * text2.C (updateCounters): fix up depth values
3603         (bug 1013)
3604
3605 2003-04-07  John Levon  <levon@movementarian.org>
3606
3607         * BufferView_pimpl.C: clear message when doc finishes resizing,
3608         and after a mouse event
3609
3610         * lyxfunc.C: clear message after exiting inset
3611
3612 2003-04-07  John Levon  <levon@movementarian.org>
3613
3614         * bufferview_funcs.C: show math status not outside
3615         status in the statusbar
3616
3617 2003-04-07  John Levon  <levon@movementarian.org>
3618
3619         * lyxfunc.C: note status changed after a depth change
3620
3621 2003-04-04  Angus Leeming  <leeming@lyx.org>
3622
3623         * LaTeX.h: move AuxInfo operator==, != out of line.
3624         Remove LaTeX virtual destructor; nothing derives from it.
3625         Move operator()() out of public area and rename it startscript().
3626         Change protected for private.
3627
3628 2003-04-04  Angus Leeming  <leeming@lyx.org>
3629
3630         * lyxfunc.C:
3631         * text2.C: remove unneeded #includes.
3632
3633 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3634
3635         * text2.C (dEPM): fix the heigth of the next row
3636
3637 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3638
3639         * text.C: squashed an invalid getChar requester + some ws changes
3640
3641 2003-04-03  John Levon  <levon@movementarian.org>
3642
3643         * bufferview_funcs.h:
3644         * bufferview_funcs.C:
3645         * lyxfunc.C:
3646         * lyxtext.h:
3647         * text2.C: make getStatus work for the env depth lfuns
3648
3649 2003-04-03  John Levon  <levon@movementarian.org>
3650
3651         * bufferview_funcs.h:
3652         * bufferview_funcs.C:
3653         * lyxfunc.C:
3654         * lyxtext.h:
3655         * text2.C: parlistize decDepth(), by merging it with incDepth()
3656
3657 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3658
3659         * lyxrow.h: store a ParagraphList::iterator instead of a
3660         Paragraph* and adjust other class functions to suit.
3661
3662         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3663         above.
3664
3665 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3666
3667         * text2.C (setCursor): do not anchor to cursor row for the time being
3668
3669 2003-04-02  John Levon  <levon@movementarian.org>
3670
3671         * LyXAction.C:
3672         * lfuns.h:
3673         * lyx_main.C:
3674         * lyxtext.h:
3675         * text.C:
3676         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3677
3678 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3679
3680         * paragraph.h: make ParagraphList and ParagraphList::iterator
3681         friends of Paragraph.
3682
3683         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3684
3685         * ParagraphList.C: Use the private next_ and previous_ from
3686         Paragraph.
3687
3688 2003-04-01  John Levon  <levon@movementarian.org>
3689
3690         * ToolbarBackend.h:
3691         * ToolbarBackend.C:
3692         * Makefile.am: rename, remove defaults gunk
3693
3694         * MenuBackend.h:
3695         * MenuBackend.C: remove defaults gunk
3696
3697         * Languages.h:
3698         * Languages.C: remove defaults gunk
3699
3700         * lyx_main.h:
3701         * lyx_main.C: error out if files couldn't be found.
3702
3703 2003-04-02  John Levon  <levon@movementarian.org>
3704
3705         * text2.C: make incDepth() use parlist
3706
3707 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3708
3709         * undo_funcs.C (firstUndoParagraph): adjust
3710
3711         * text3.C (gotoInset): adjust
3712         (dispatch): adjust, and rewrite loop.
3713
3714         * text2.C (init): adjust, and rewrite loop.
3715         (redoParagraphs): adjust
3716         (updateInset): adjust, and rewrite loop.
3717         (deleteEmptyParagraphMechanism): adjust
3718
3719         * tabular.C (LyXTabular): adjust
3720         (SetMultiColumn): adjust
3721         (TeXRow): adjust
3722
3723         * lyxtext.[Ch] (ownerParagraph): delete function
3724         (ownerParagraphs): new function returns a ParagraphList.
3725
3726         * BufferView.C (removeAutoInsets): adjust
3727         (insertErrors): adjust
3728         (setCursorFromRow): adjust
3729
3730 2003-04-01  Angus Leeming  <leeming@lyx.org>
3731
3732         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3733         in the frontends.
3734
3735 2003-04-02  John Levon  <levon@movementarian.org>
3736
3737         * lyxtext.h:
3738         * text.C:
3739         * Makefile.am:
3740         * text_funcs.h:
3741         * text_funcs.C: make transposeChars a free function
3742
3743         * lyxrow_funcs.C: remove wrong comment
3744
3745 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3746
3747         * lyxtext.h: adjust
3748         * rowpainter.C: adjust
3749         * text.C: adjust
3750         * text2.C: adjust
3751         * text3.C: adjust
3752
3753         * lyxrow_funcs. [Ch]: new files
3754
3755         * lyxrow.[Ch]: remove next and previous pointers
3756         (next,previous): remove accessor functions
3757         (isParEnd): move to lyxrow_funcs
3758         (lastPos): move to lyxrow_funcs
3759         (nextRowIsAllInset): move to lyxrow_funcs
3760         (lastPrintablePos): move to lyxrow_funcs
3761         (numberOfSeparators): move to lyxrow_funcs
3762         (numberOfHfills): move to lyxrow_funcs
3763         (numberOfLabelHfills): move to lyxrow_funcs
3764         (hfillExpansion): move to lyxrow_funcs
3765
3766         * lyxfunc.C: adjust
3767
3768         * bufferview_funcs.C (toggleAndShow): adjust
3769
3770         * RowList.h: Remove class RowList from file leave just a
3771         std::list<Row>.
3772
3773         * RowList.C: delete file
3774
3775         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3776         and lyxrow_funcs.h
3777
3778 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3779
3780         * text3.C (cursorPrevious): adjust
3781         (cursorNext): adjust
3782         (dispatch): adjust
3783
3784         * text2.C (redoHeightOfParagraph): adjust
3785         (redoDrawingOfParagraph): adjust
3786         (setCursor): adjust
3787
3788         * text.C (breakParagraph): adjust
3789         (insertChar): adjust
3790         (backspace): adjust
3791
3792         * rowpainter.C (RowPainter): adjust
3793         (leftMargin): simplify and adjust
3794         (most rowpainter functions): adjust.
3795
3796         * rowpainter.h: store the row as RowList::iterator not as Row*
3797
3798         * lyxcursor.C (row): taka RowList::iterator as arg
3799         (irow): ditto
3800
3801         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3802         of Row*.
3803
3804 2003-04-01  Angus Leeming  <leeming@lyx.org>
3805
3806         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3807         stuff like bool Bool.
3808
3809 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3810
3811         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3812         rewrite a loop
3813
3814 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3815
3816         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3817         RowList::iterator.
3818
3819         * lyxtext.h (rows): drop one version and leve a const variant that
3820         returns a RowList::iterator.
3821
3822 2003-03-31  Angus Leeming  <leeming@lyx.org>
3823
3824         * text.C (fill): ensure that the signature is the same as that in the
3825         header file.
3826
3827 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * text2.C (redoParagraphs): adjust
3830         (updateCounters): adjust
3831         (checkParagraph): adjust
3832         (getColumnNearX): adjust and reformat a bit.
3833
3834         * text.C (top_y): adjust
3835         (workWidth): adjust
3836         (leftMargin): adjust
3837         (prepareToPrint): adjust
3838         (getRow): adjust
3839         (getRowNearY): adjust
3840
3841         * lyxtext.h: make rowlist_ mutable.
3842
3843         * RowList.h: add const_iterator
3844         * RowList.C: adjust for RowList::const_iterator.
3845
3846         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3847         adjust.
3848
3849 2003-03-31  John Levon  <levon@movementarian.org>
3850
3851         * lyxrc.h:
3852         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3853
3854         * lyx_main.C: set default fonts from using lyx_gui funcs
3855
3856         * exporter.C: pdf_mode moved from lyxrc
3857
3858         * lyx_cb.C:
3859         * lyxfunc.C: changes from above
3860
3861 2003-03-31  John Levon  <levon@movementarian.org>
3862
3863         * lyx_main.C: fix to the last fix
3864
3865 2003-03-31  John Levon  <levon@movementarian.org>
3866
3867         * bufferlist.C: "Load original" -> "Load Original"
3868
3869         * converter.C:
3870         * exporter.C:
3871         * importer.C:
3872         * lyx_main.C:
3873         * format.C: more Alert cleanups
3874
3875 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3876
3877         * text2.C (removeParagraph): make it take a RowList::iterator as
3878         arg, adjust.
3879         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3880         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3881
3882         * text.C (anchor_row): make it take a RowList::iterator as arg,
3883         adjust.
3884         (computeBidiTables): make it take a const reference to Row instead
3885         of Row pointer, adjust.
3886         (leftMargin): make it take a RowList::iterator as arg, adjust.
3887         (rowBreakPoint): adjust
3888         (breakAgainOneRow): make it take a RowList::iterator as arg,
3889         adjust.
3890         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3891
3892         * bufferview_funcs.C (toggleAndShow): adjust
3893
3894 2003-03-30  John Levon  <levon@movementarian.org>
3895
3896         * Makefile.am:
3897         * BoostFormat.h:
3898         * boost-inst.C: moved to support
3899
3900         * several files: changes as a result
3901
3902 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3903
3904         * text2.C (LyXText): adjust.
3905         (init): adjust
3906         (removeRow): make it take a RowList::iterator as arg, adjust.
3907         (fullRebreak): adjust
3908         (deleteEmptyParagraphMechanism): adjust
3909         (clearPaint): adjust
3910         (postPaint): adjust
3911
3912         * text.C (top_y): adjust
3913         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3914         (breakAgain): make it take a RowList::iterator as arg, adjust.
3915         (breakParagraph): adjust
3916         (insertChar): adjust
3917         (backspace): adjust
3918
3919         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3920         need_break_row, and refresh_row.
3921
3922         * text3.C (dispatch): adjust
3923
3924         * text2.C (checkParagraph): adjust
3925         (setCursor): adjust
3926         (setCursorFromCoordinates): adjust
3927
3928         * text.C (top_y): adjust
3929         (workWidth): adjust
3930         (getRow): make it return a RowList::iterator, adjust
3931         (getRowNearY): make it return a RowList::iterator, adjust
3932
3933         * text2.C (init): adjust
3934         (insertRow): remove function
3935         (insertParagraph): adjust
3936         (redoParagraphs): adjust
3937         (fullRebreak): adjust
3938         (updateCounters): adjust
3939
3940         * text.C (top_y): rewrite to use RowList iterators.
3941         (top_y): adjust
3942         (setHeightOfRow): rewrite to sue RowList iterators.
3943         (appendParagraph): adjust
3944         (breakAgain): adjust
3945         (breakAgainOneRow): adjust
3946         (breakParagraph): adjust
3947         (getRow): adjust
3948         (getRowNearY): adjust, and remove commented code.
3949
3950         * lyxtext.h (firstRow): delete function
3951         (lastRow): delete function
3952         (rows): new function (const and non-const versions.)
3953         (insertRow): delete function
3954
3955         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3956
3957 2003-03-29  John Levon  <levon@movementarian.org>
3958
3959         * BufferView_pimpl.C: always update scrollbar top
3960         because pasting text when we're anchored could mean we
3961         miss an update altogether
3962
3963 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3964
3965         * text2.C (init): use rowlist_.end() and not 0.
3966         (insertRow): change to take a RowList::iterator as arg, adjust
3967         for this.
3968         (insertParagraph): change to take a RowList::iterator as arg,
3969         adjust for this.
3970         (redoParagraphs): remove some debug msgs.
3971
3972         * text.C (appendParagraph): change to take a RowList::iterator
3973         arg, adjust for this.
3974         (breakAgain): add an assert
3975         (breakAgainOneRow): ditto
3976
3977 2003-03-29  John Levon  <levon@movementarian.org>
3978
3979         * text2.C: do not clear selection after inc/decDepth
3980         (bug 550)
3981
3982 2003-03-29  John Levon  <levon@movementarian.org>
3983
3984         * BufferView.C:
3985         * buffer.C: fix broken strerrors according to Lars
3986
3987 2003-03-29  John Levon  <levon@movementarian.org>
3988
3989         * converters.C: more Alert cleanups
3990
3991 2003-03-29  John Levon  <levon@movementarian.org>
3992
3993         * bufferview_funcs.C: remove pointless Alert
3994
3995         * buffer.C: fix confusing error message when
3996         a template is chmoded 000
3997
3998 2003-03-29  John Levon  <levon@movementarian.org>
3999
4000         * BufferView.C:
4001         * BufferView.h:
4002         * BufferView_pimpl.C: Alert fixes
4003
4004         * Makefile.am:
4005         * tabular.C:
4006         * tabular-old.C: remove unused table compat reading
4007
4008 2003-03-29  John Levon  <levon@movementarian.org>
4009
4010         * BufferView.C:
4011         * buffer.C:
4012         * lyx_cb.h:
4013         * lyx_cb.C: more Alert cleanups
4014
4015         * lyxfunc.C: don't allow chktex if not latex document
4016
4017 2003-03-29  John Levon  <levon@movementarian.org>
4018
4019         * lyx_cb.C:
4020         * BufferView.C:
4021         * buffer.C: warnings pushed down from support/,
4022         kill err_alert
4023
4024 2003-03-29  John Levon  <levon@movementarian.org>
4025
4026         * lyxfunc.C: safety check for C-r (revert)
4027
4028 2003-03-29  John Levon  <levon@movementarian.org>
4029
4030         * bufferlist.h:
4031         * bufferlist.C: several UI fixes using Alert::prompt.
4032         Fix the pointless looping quit code. Fix stupid revert
4033         behaviour (bug 938)
4034
4035         * lyxvc.h:
4036         * lyxvc.C:
4037         * lyx_cb.C: use Alert::prompt
4038
4039         * lyx_main.C: remove a silly question
4040
4041         * lyxfunc.C: remove a couple of silly questions,
4042         use Alert::prompt
4043
4044 2003-03-28  John Levon  <levon@movementarian.org>
4045
4046         * text2.C: fix bug 974 (End on empty par)
4047
4048 2003-03-28  John Levon  <levon@movementarian.org>
4049
4050         * BufferView_pimpl.C:
4051         * LyXAction.C:
4052         * lfuns.h: remove do-nothing math greek lfuns
4053
4054 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4055
4056         * lyxgluelength.h (isValidGlueLength): add default arg on
4057         parameter 2. Remove default arg from friend in class.
4058
4059         * lyxlength.h (isValidLength): add default arg on parameter 2.
4060         Remove default arg from friend in class.
4061
4062         * text2.C (LyXText): adjust, initialize refresh_row.
4063         (init): adjust
4064         (removeRow): adjust
4065         (insertRow): adjust
4066         (insertParagraph): adjst
4067         (redoParagraphs): adjust
4068         (fullRebreak): adjust
4069         (updateCounters): adjust
4070         (deleteEmptyParagraphMechanism): first attempt at fixing a
4071         crashing bug.
4072
4073         * text.C (top_y): adjust
4074         (setHeightOfRow): adjust
4075         (getRow): adjust
4076         (getRowNearY): adjust
4077
4078         * lyxtext.h: include RowList.h
4079         (~LyXText): not needed anymore, deleted.
4080         (firstRow): modify for RowList
4081         (lastRow): new function
4082         Delete firstrow and lastrow class variables, add a Rowlist
4083         rowlist_ class variable.
4084
4085         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4086         paragraph is empty.
4087
4088         * RowList.C (insert): fix case where it == begin().
4089
4090 2003-03-26  Angus Leeming  <leeming@lyx.org>
4091
4092         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4093         the thesaurus dialog.
4094
4095 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4098
4099         * RowList.[Ch]: new files
4100
4101         * ParagraphList.C (erase): handle the case where it == begin
4102         correctly.
4103
4104 2003-03-25  John Levon  <levon@movementarian.org>
4105
4106         * Makefile.am:
4107         * aspell_local.h:
4108         * aspell.C: add new aspell support
4109
4110         * lyxrc.h:
4111         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4112         have it accessible.
4113
4114 2003-03-25  Angus Leeming  <leeming@lyx.org>
4115
4116         * lfuns.h:
4117         * LyXAction.C (init): new LFUN_INSET_INSERT.
4118
4119         * BufferView_pimpl.C (dispatch): split out part of the
4120         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4121
4122         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4123         LFUN_INSET_APPLY.
4124
4125 2003-03-25  Angus Leeming  <leeming@lyx.org>
4126
4127         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4128
4129 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4130
4131         * text2.C:
4132         * text3.C: remove useless row->height(0)
4133
4134 2003-03-25  John Levon  <levon@movementarian.org>
4135
4136         * lyxtext.h:
4137         * text2.C:
4138         * text3.C: rename the refreshing stuff to better names
4139
4140 2003-03-24  John Levon  <levon@movementarian.org>
4141
4142         * BufferView_pimpl.h:
4143         * BufferView_pimpl.C: update layout choice on a mouse
4144         press/release
4145
4146 2003-03-23  John Levon  <levon@movementarian.org>
4147
4148         * Makefile.am: fix commandtags.h reference
4149
4150 2003-03-22  John Levon  <levon@movementarian.org>
4151
4152         * BufferView_pimpl.C:
4153         * lyxtext.h:
4154         * rowpainter.C:
4155         * rowpainter.h:
4156         * text.C:
4157         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4158
4159 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4160
4161         * lyxtext.h:
4162         * text.C: take the rtl methods out of line
4163
4164 2003-03-21 André Pönitz <poenitz@gmx.net>
4165
4166         * metricsinfo.[Ch]: new files containing structures to be passed around
4167         during the two-phase-drawing...
4168
4169 2003-03-21 André Pönitz <poenitz@gmx.net>
4170
4171         * lyxtextclass.C: read 'environment' tag.
4172
4173 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4174
4175         * text2.C (removeRow): fix bug 964
4176
4177 2003-03-20  John Levon  <levon@movementarian.org>
4178
4179         * rowpainter.C:
4180         * text.C:
4181         * text2.C: paint cleanups. Inset::update() dropped font
4182         parameter
4183
4184 2003-03-19  John Levon  <levon@movementarian.org>
4185
4186         * lyxfunc.C: only fitcursor/markDirty if available()
4187
4188 2003-03-19  John Levon  <levon@movementarian.org>
4189
4190         * commandtags.h: rename to ...
4191
4192         * lfuns.h: ... this, and renumber / cleanup
4193
4194 2003-03-19  John Levon  <levon@movementarian.org>
4195
4196         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4197         fit the cursor after an lfun
4198
4199         * BufferView.h:
4200         * BufferView.C:
4201         * BufferView_pimpl.h:
4202         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4203
4204         * LyXAction.C: layout-character should have ReadOnly
4205
4206         * ParagraphParameters.C:
4207         * buffer.C:
4208         * bufferview_funcs.C:
4209         * lyx_cb.C:
4210         * lyxfind.C:
4211         * lyxtext.h:
4212         * text.C:
4213         * text2.C:
4214         * text3.C:
4215         * undo_funcs.C: changes from above
4216
4217 2003-03-18  John Levon  <levon@movementarian.org>
4218
4219         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4220         remove it from update()
4221
4222         * lyxfunc.C: update layout choice after an lfun
4223
4224         * text3.C: remove extra updateLayoutChoice()s
4225
4226 2003-03-18  John Levon  <levon@movementarian.org>
4227
4228         * text.C: top_y change means full repaint, fix
4229         a drawing bug with cursor movement
4230
4231 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4232
4233         * lyxtext.h:
4234         * text.C:
4235         * text2.C: anchor row on setCursor
4236
4237 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4238
4239         * lyxtext.h: remove almost all mutable keywords
4240         * text.C:
4241         * text2.C:
4242         * text3.C: remove const keywords accordingly
4243
4244 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4245
4246         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4247         anon namespace
4248         (TeXEnvironment): ditto
4249         (TeXOnePar): ditto
4250
4251 2003-03-17  John Levon  <levon@movementarian.org>
4252
4253         * text.C (rowBreakPoint): remove attempt to fix displayed
4254         math insets inside a manual label
4255
4256 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4257
4258         * lyxtext.h: remove BufferView* as first arg from almost all class
4259         functions.
4260         * other files: adjust.
4261
4262 2003-03-17  John Levon  <levon@movementarian.org>
4263
4264         * lyxtext.h:
4265         * undo_funcs.C:
4266         * text2.C: more paint cleanups
4267
4268         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4269
4270         * rowpainter.h:
4271         * rowpainter.C: remove "smart" background painting code
4272
4273 2003-03-16  John Levon  <levon@movementarian.org>
4274
4275         * lyxtext.h:
4276         * text.C:
4277         * text2.C:
4278         * text3.C: add helper functions for setting refresh_row/y
4279
4280 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4281
4282         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4283         newline inset which *can* get inserted in the pass_thru layouts.
4284         This is primarily for literate documents.
4285
4286 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4287
4288         * buffer.C: increment LYX_FORMAT to 223
4289
4290 2003-03-14 André Pönitz <poenitz@gmx.net>
4291
4292         * textclass.h: prepare for environment handling, ws changes
4293         * lyxlayout.C: read latexheader and latexfooter tags
4294
4295 2003-03-14  John Levon  <levon@movementarian.org>
4296
4297         * text2.C: rewrite ::status() a bit
4298
4299 2003-03-13  John Levon  <levon@movementarian.org>
4300
4301         * lyxtext.h: add some docs
4302
4303 2003-03-13  John Levon  <levon@movementarian.org>
4304
4305         * lyxtext.h:
4306         * text.C:
4307         * text2.C:
4308         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4309
4310 2003-03-13  John Levon  <levon@movementarian.org>
4311
4312         * text3.C: fix appendix redrawing
4313
4314 2003-03-13  John Levon  <levon@movementarian.org>
4315
4316         * text.C (setHeightOfRow):
4317         * rowpainter.h:
4318         * rowpainter.C: make appendix mark have the text
4319           "Appendix" so the user knows what it is
4320
4321         * LColor.h:
4322         * LColor.C: s/appendixline/appendix/ from above
4323
4324 2003-03-13  John Levon  <levon@movementarian.org>
4325
4326         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4327
4328         * text.C: fix a getChar(pos) bug properly
4329
4330 2003-03-13  Angus Leeming  <leeming@lyx.org>
4331
4332         * commandtags.h:
4333         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4334         Probably only temporary. Let's see how things pan out.
4335
4336         * BufferView.C (unlockInset):
4337         * BufferView_pimpl.C (fitCursor):
4338         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4339
4340         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4341         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4342
4343         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4344         new functions that convert ParagraphParameters to and from a string.
4345
4346         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4347         BufferView::Pimpl's dispatch.
4348         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4349
4350 2003-03-13 André Pönitz <poenitz@gmx.net>
4351
4352         * lyxfunc.C:
4353         * text3.C:
4354         * factory.C: make it aware of InsetEnv
4355
4356 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4357
4358         * text2.C (setCursor): never ask for one past last
4359         (setCursor): add some debugging messages.
4360
4361         * text.C (singleWidth): never ask for one past last
4362         (singleWidth): ditto
4363         (leftMargin): ditto
4364         (rightMargin): ditto
4365         (rowBreakPoint): ditto
4366         (setHeightOfRow): ditto
4367         (prepareToPrint): ditto
4368
4369         * rowpainter.C (paintBackground): never ask for one past last
4370         (paintText): never ask for one past last
4371
4372         * paragraph_pimpl.C (getChar): make the assert stricter, never
4373         allow the one past last pos to be taken
4374
4375         * paragraph.C (getChar): ws changes only
4376
4377         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4378         (numberOfSeparators): ditto
4379         (numberOfHfills): ditto
4380
4381 2003-03-12  John Levon  <levon@movementarian.org>
4382
4383         * author.h:
4384         * author.C:
4385         * bufferparams.h:
4386         * bufferparams.C:
4387         * paragraph_funcs.C: fix per-buffer authorlists
4388
4389 2003-03-12  John Levon  <levon@movementarian.org>
4390
4391         * text.C: fix newline in right address
4392
4393 2003-03-12  Angus Leeming  <leeming@lyx.org>
4394
4395         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4396         duplicate those in LyXFunc::dispatch.
4397
4398         * commandtags.h:
4399         * LyXAction.C:
4400         * ToolbarDefaults.C:
4401         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4402         Add LFUN_FONTFREE_UPDATE.
4403
4404         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4405         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4406
4407         * bufferview_func.[Ch]: several new functions to facilliate
4408         transfer of data to and from the character dialog.
4409
4410 2003-03-12  John Levon  <levon@movementarian.org>
4411
4412         * buffer.C:
4413         * paragraph.h:
4414         * paragraph.C:
4415         * paragraph_funcs.C:
4416         * paragraph_pimpl.C:
4417         * sgml.C:
4418         * tabular.C:
4419         * text.C:
4420         * text3.C: remove META_NEWLINE in favour of an inset
4421
4422         * rowpainter.h:
4423         * rowpainter.C: remove paintNewline (done by inset)
4424
4425 2003-03-12  John Levon  <levon@movementarian.org>
4426
4427         * paragraph_pimpl.C: complain about bad getChar()s
4428         for a while at least
4429
4430 2003-03-12  John Levon  <levon@movementarian.org>
4431
4432         * buffer.h:
4433         * buffer.C: move paragraph read into a separate function,
4434         a little renaming to reflect that.
4435
4436         * bufferparams.h:
4437         * bufferparams.C: remove the author_ids map, not necessary now
4438
4439         * factory.h:
4440         * factory.C: moved Buffer::readInset to here
4441
4442         * paragraph_funcs.h:
4443         * paragraph_funcs.C: readParagraph free function moved from
4444         buffer.C
4445
4446         * tabular.C: name change
4447
4448 2003-03-12  John Levon  <levon@movementarian.org>
4449
4450         * buffer.C:
4451         * ParagraphParameters.C: move par params input to
4452         a read() method
4453
4454         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4455         behave like a normal read from the stream wrt reading
4456         a line vs. a \\token
4457
4458 2003-03-12  John Levon  <levon@movementarian.org>
4459
4460         * paragraph.C:
4461         * ParagraphParameters.h:
4462         * ParagraphParameters.C: move output code to a
4463         ::write() method
4464
4465 2003-03-12  John Levon  <levon@movementarian.org>
4466
4467         * BufferView.C (insertLyXFile):
4468         * buffer.h:
4469         * buffer.C:
4470         * tabular.C: use a parlist iterator for creating the
4471           document.
4472
4473 2003-03-12  John Levon  <levon@movementarian.org>
4474
4475         * buffer.C: make current_change static local not
4476           static file-scope
4477
4478 2003-03-12  John Levon  <levon@movementarian.org>
4479
4480         * buffer.C: fix insertStringAsLines for change tracking
4481
4482 2003-03-12  John Levon  <levon@movementarian.org>
4483
4484         * BufferView.C:
4485         * tabular.C:
4486         * buffer.h:
4487         * buffer.C:
4488         * bufferparams.h:
4489         * bufferparams.C: move author list into params. Rename some
4490           functions. Move the header reading into a separate token
4491           loop. Move the header token reading into BufferParams.
4492
4493 2003-03-12  John Levon  <levon@movementarian.org>
4494
4495         * changes.C: put debug inside lyxerr.debugging() checks
4496
4497 2003-03-11 André Pönitz <poenitz@gmx.net>
4498
4499         * factory.C: make it aware of InsetHFill
4500
4501 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4502
4503         * buffer.C (latexParagraphs): move function from here...
4504         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4505         args.
4506
4507 2003-03-10  Angus Leeming  <leeming@lyx.org>
4508
4509         * LyXAction.C (init): fix bug in poplating array with multiple entries
4510         with the same LFUN (spotted by JMarc).
4511
4512 2003-03-10  John Levon  <levon@movementarian.org>
4513
4514         * text.C:
4515         * text2.C: move getColumnNearX() near its
4516         only call site
4517
4518 2003-03-10  John Levon  <levon@movementarian.org>
4519
4520         * text.C: fix break before a minipage
4521
4522 2003-03-10  John Levon  <levon@movementarian.org>
4523
4524         * text.C: fix the last commit
4525
4526 2003-03-09  John Levon  <levon@movementarian.org>
4527
4528         * lyxtext.h:
4529         * text.C:
4530         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4531         bug 365 (don't break before insets unless needed). Don't
4532         return a value > last under any circumstances.
4533
4534 2003-03-09  Angus Leeming  <leeming@lyx.org>
4535
4536         * BufferView_pimpl.C (trackChanges, dispatch): call
4537         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4538
4539 2003-03-09  Angus Leeming  <leeming@lyx.org>
4540
4541         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4542         than Dialogs::showAboutlyx().
4543
4544 2003-03-09  Angus Leeming  <leeming@lyx.org>
4545
4546         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4547         than Dialogs::showTabularCreate().
4548
4549 2003-03-09  John Levon  <levon@movementarian.org>
4550
4551         * lyxtext.h:
4552         * text.C:
4553         * text2.C: 3rd arg to nextBreakPoint was always the same.
4554           Use references.
4555
4556 2003-03-08  John Levon  <levon@movementarian.org>
4557
4558         * lyxrow.C:
4559         * paragraph.C:
4560         * paragraph.h:
4561         * rowpainter.C:
4562         * text.C:
4563         * text2.C: Remove the "main" bit from the "main body"
4564           notion.
4565
4566 2003-03-08  John Levon  <levon@movementarian.org>
4567
4568         * text.C (leftMargin): The left margin of an empty
4569         manual label paragraph should not include the label width
4570         string length.
4571
4572         * text.C (prepareToPrint): don't attempt to measure hfills
4573         for empty manual label paragraphs - the answer should be 0
4574
4575 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4576
4577         * CutAndPaste.C: remove commented code and reindent.
4578
4579 2003-03-08  John Levon  <levon@movementarian.org>
4580
4581         * lyxfunc.h:
4582         * lyxfunc.C: move reloadBuffer()
4583
4584         * BufferView.h:
4585         * BufferView.C: to here
4586
4587         * lyxvc.C: add comment
4588
4589         * vc-backend.h:
4590         * vc-backend.C: call bv->reload() to avoid
4591           getStatus() check on MENURELOAD
4592
4593 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4594
4595         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4596         to an old format .dep file.
4597
4598 2003-03-07  Angus Leeming  <leeming@lyx.org>
4599
4600         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4601         when the LFUN_MOUSE_RELEASE should have been handled by
4602         inset->localDispatch.
4603
4604 2003-03-07  Angus Leeming  <leeming@lyx.org>
4605
4606         * BufferView_pimpl.C (dispatch):
4607         * LyXAction.C (init):
4608         * ToolbarDefaults.C (init):
4609         * commandtags.h:
4610         * lyxfunc.C (getStatus):
4611         remove LFUN_INSET_GRAPHICS.
4612
4613         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4614
4615 2003-03-07  Angus Leeming  <leeming@lyx.org>
4616
4617         * commandtags.h:
4618         * LyXAction.C (init):
4619         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4620
4621         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4622
4623         * commandtags.h:
4624         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4625
4626         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4627         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4628
4629 2003-03-07  Angus Leeming  <leeming@lyx.org>
4630
4631         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4632         remove "ert".
4633
4634 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4635
4636         * ParagraphList.C (front): new function
4637         (back): implement
4638
4639 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4640
4641         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4642         and top_row_offset_. removed var first_y.
4643         * text.C (top_y):
4644         * text2.C (LyXText, removeRow):
4645         * text3.C:
4646         * BufferView_pimpl.C:
4647         use these methods instead of using first_y
4648
4649 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4650
4651         * text2.C (pasteSelection): adjust for checkPastePossible
4652
4653         * CutAndPaste.C: remove Paragraph * buf and replace with
4654         ParagraphList paragraphs.
4655         (DeleteBuffer): delete
4656         (cutSelection): change the tc type to textclass_type
4657         (copySelection): change the tc type to textclass_type
4658         (copySelection): adjust for ParagraphList
4659         (pasteSelection): change the tc type to textclass_type
4660         (pasteSelection): adjust for Paragraphlist
4661         (nrOfParagraphs): simplify for ParagraphList
4662         (checkPastePossible): simplify for ParagraphList
4663         (checkPastePossible): remove unused arg
4664
4665         * ParagraphList.C (insert): handle the case where there are no
4666         paragraphs yet.
4667
4668         * CutAndPaste.h: make CutAndPaste a namespace.
4669
4670         * text3.C (dispatch): adjust
4671
4672         * text.C (breakParagraph): add a ParagraphList as arg
4673
4674         * paragraph_funcs.C (breakParagraph): change to take a
4675         BufferParams and a ParagraphList as args.
4676         (breakParagraphConservative): ditto
4677         (mergeParagraph): ditto
4678         (TeXDeeper): add a ParagraphList arg
4679         (TeXEnvironment): ditto
4680         (TeXOnePar): ditto
4681
4682         * buffer.C (readLyXformat2): adjust
4683         (insertStringAsLines): adjust
4684         (latexParagraphs): adjust
4685
4686         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4687         (cutSelection): adjust
4688         (pasteSelection): adjust
4689
4690         * BufferView_pimpl.C (insertInset): adjust
4691
4692 2003-03-05  Angus Leeming  <leeming@lyx.org>
4693
4694         * commandtags.h:
4695         * LyXAction.C (init):
4696         * BufferView_pimpl.C (dispatch):
4697         * lyxfunc.C (getStatus):
4698         remove LFUN_CHILD_INSERT.
4699
4700         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4701
4702 2003-03-05  Angus Leeming  <leeming@lyx.org>
4703
4704         * commandtags.h:
4705         * LyXAction.C (init):
4706         * src/factory.C (createInset):
4707         * lyxfunc.C (getStatus):
4708         * text3.C (dispatch):
4709         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4710
4711         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4712
4713 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4714
4715         * ParagraphList.C (insert): handle insert right before end()
4716         (erase): fix cases where it can be first or last paragraph.
4717
4718 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4719
4720         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4721         Paragraph::next and Paragraph::previous
4722         (TeXOnePar): ditto
4723
4724         * text.C (breakParagraph): adjust
4725
4726         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4727         BufferParams& as arg.
4728         (breakParagraph): use ParagraphList::insert
4729         (breakParagraphConservative): take a Buffer* instead of a
4730         BufferParams& as arg.
4731         (breakParagraphConservative): use ParagraphList::insert.
4732
4733         * buffer.C (insertStringAsLines): un-const it
4734         (insertStringAsLines): adjust
4735
4736         * ParagraphList.C (insert): new function
4737
4738         * CutAndPaste.C (pasteSelection): adjust
4739
4740         * text.C (backspace): adjust
4741
4742         * tabular.C (SetMultiColumn): adjust
4743
4744         * CutAndPaste.C (cutSelection): adjust
4745         (pasteSelection): adjust
4746
4747         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4748         Buffer const * as arg
4749
4750         * ParagraphList.C (erase): new function
4751         * paragraph_funcs.C (mergeParagraph): use it
4752         (mergeParagraph): make it take a Buffer* instead of a
4753         BufferParams* as arg
4754
4755         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4756         as arg
4757         (breakParagraphConservative): ditto
4758
4759         * paragraph.h: remove the breakParagraph friend
4760
4761         * paragraph.C (eraseIntern): new function
4762         (setChange): new function
4763
4764         * paragraph_funcs.C (mergeParagraph): make it take a
4765         ParagraphList::iterator instead of a Paragraph *, adjust
4766         accordingly.
4767
4768         * paragraph.h: move an #endif so that the change tracking stuff
4769         also works in the NO_NEXT case.
4770
4771 2003-03-04  Angus Leeming  <leeming@lyx.org>
4772
4773         * commandtags.h:
4774         * LyXAction.C: new LFUN_INSET_MODIFY.
4775
4776         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4777         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4778
4779 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4780
4781         * several files: ws changes only
4782
4783         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4784         (TeXEnvironment): ditto
4785         (TeXDeeper): ditto
4786
4787         * buffer.C (makeLaTeXFile): adjust
4788         (latexParagraphs): make it take ParagraphList::iterator as args
4789
4790 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4791
4792         * buffer.C (latexParagraphs): adjust
4793
4794         * paragraph.C (TeXOnePar): move function...
4795         (optArgInset): move function...
4796         (TeXEnvironment): move function...
4797         * paragraph_pimpl.C (TeXDeeper): move function...
4798         * paragraph_funcs.C: ...here
4799
4800         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4801
4802 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4803
4804         * buffer.C (readInset): remove compability code for old Figure and
4805         InsetInfo insets
4806
4807 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4808
4809         * buffer.C: ws changes
4810         (readInset):
4811
4812         * BufferView_pimpl.C: ditto
4813         * author.C: ditto
4814         * buffer.h: ditto
4815         * bufferlist.h: ditto
4816         * changes.h: ditto
4817         * lyxfunc.C: ditto
4818
4819 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4820
4821         * converter.[Ch]: split into itself +
4822         * graph.[Ch]
4823         * format.[Ch]
4824         * Makefile.am: += graph.[Ch] + format.[Ch]
4825         * MenuBackend.C
4826         * buffer.C
4827         * exporter.C
4828         * importer.C
4829         * lyx_main.C
4830         * lyxfunc.C
4831         * lyxrc.C: added #include "format.h"
4832
4833 2003-02-27  Angus Leeming  <leeming@lyx.org>
4834
4835         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4836           a label.
4837
4838         * factory.C (createInset): add "label" to the factory.
4839
4840         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4841           string and do no more.
4842
4843 2003-02-27  Angus Leeming  <leeming@lyx.org>
4844
4845         * commandtags.h:
4846         * LyXAction.C (init):
4847         * factory.C (createInset):
4848         * BufferView_pimpl.C (dispatch):
4849           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4850
4851         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4852
4853         * lyxfunc.C (dispatch):
4854         * text3.C (dispatch): pass name to params2string.
4855
4856 2003-02-26  Angus Leeming  <leeming@lyx.org>
4857
4858         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4859           blocks together.
4860           Rearrange the ~includes. Strip out the unnecessary ones.
4861
4862         * factory.C (createInset): reformat.
4863           create new insets for the various LFUN_XYZ_APPLY lfuns.
4864
4865 2003-02-26  John Levon  <levon@movementarian.org>
4866
4867         * lyxrow.h:
4868         * lyxrow.C: add isParStart,isParEnd helpers
4869
4870         * paragraph.h: make isInserted/DeletedText take refs
4871
4872         * paragraph_funcs.h:
4873         * paragraph_funcs.C: remove #if 0'd code
4874
4875         * lyxtext.h:
4876         * text3.C:
4877         * text2.C:
4878         * text.C: use lyxrow helpers above.
4879           Move draw and paint routines to RowPainter.
4880           Make several methods use refs not pointers.
4881           Make backgroundColor() const.
4882           Add markChangeInDraw(), isInInset().
4883           Merge changeRegionCase into changeCase.
4884           Make workWidth() shouldn't-happen code into an Assert.
4885
4886         * rowpainter.h:
4887         * rowpainter.C: new class for painting a row.
4888
4889         * vspace.h:
4890         * vspace.C: make inPixels take a ref
4891
4892 2003-02-26  Angus Leeming  <leeming@lyx.org>
4893
4894         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4895         LFUN_REF_APPLY.
4896
4897 2003-02-25  John Levon  <levon@movementarian.org>
4898
4899         * ispell.C: give the forked command a more accurate name
4900
4901 2003-02-22  John Levon  <levon@movementarian.org>
4902
4903         * toc.h:
4904         * toc.C: make TocItem store an id not a Paragraph *
4905           (bug #913)
4906
4907 2003-02-21  Angus Leeming  <leeming@lyx.org>
4908
4909         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4910           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4911           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4912           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4913           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4914           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4915
4916         * BufferView_pimpl.C (dispatch):
4917         * LyXAction.C (init):
4918         * factory.C (createInset):
4919         * lyxfunc.C (getStatus, dispatch):
4920         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4921
4922 2003-02-21  Angus Leeming  <leeming@lyx.org>
4923
4924         * BufferView_pimpl.C (MenuInsertLyXFile):
4925         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4926         * lyxfunc.C (menuNew, open, doImport):
4927           no longer pass a LyXView & to fileDlg.
4928
4929 2003-02-21  Angus Leeming  <leeming@lyx.org>
4930
4931         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4932         * LyXAction.C: change, BIBKEY to BIBITEM.
4933         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4934         Change InsetBibKey to InsetBibitem.
4935         Change BIBKEY_CODE to BIBITEM_CODE.
4936         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4937         * factory.C: replace insetbib.h with insetbibitem.h.
4938         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4939         * paragraph.C: replace insetbib.h with insetbibitem.h.
4940         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4941         Change bibkey() to bibitem().
4942         * text.C: remove insetbib.h.
4943         * text2.C: replace insetbib.h with insetbibitem.h.
4944         change bibkey() to bibitem().
4945         * text3.C: remove insetbib.h.
4946         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4947
4948 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4949
4950         * lyxrc.C (output): enclose user email in quotes (in case there are
4951         several words)
4952
4953 2003-02-18  John Levon  <levon@movementarian.org>
4954
4955         * buffer.h: add std::
4956
4957 2003-02-17  John Levon  <levon@movementarian.org>
4958
4959         * SpellBase.h:
4960         * ispell.h:
4961         * ispell.C:
4962         * pspell.h:
4963         * pspell.C: reworking. Especially in ispell, a large
4964           number of clean ups and bug fixes.
4965
4966         * lyxfunc.C: fix revert to behave sensibly
4967
4968 2003-02-17 André Pönitz <poenitz@gmx.net>
4969
4970         * LyXAction.C:
4971         * commandtags.h: new LFUN_INSERT_BIBKEY
4972
4973         * layout.h:
4974         * lyxlayout.C:
4975         * buffer.C:
4976         * factory.C:
4977         * text.C:
4978         * text2.C:
4979         * text3.C:
4980         * paragraph.[Ch]:
4981         * paragraph_func.C: remove special bibkey handling
4982
4983 2003-02-17  John Levon  <levon@movementarian.org>
4984
4985         * text.C (Delete): fix case where delete at the end of
4986           the very first paragraph would not merge the pars
4987
4988 2003-02-17  John Levon  <levon@movementarian.org>
4989
4990         * lyxrow.C: fix lastPrintablePos()
4991
4992 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4993
4994         * bufferparams.C (writeLaTeX): add a std:here
4995
4996         * buffer.C: and remove a using directive there
4997
4998 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4999
5000         * buffer.C (makeLaTeXFile): move the code that generates the
5001           preamble...
5002
5003         * bufferparams.C (writeLaTeX): ... in this new method
5004
5005         * LaTeXFeatures.C (getEncodingSet): make const
5006           (getLanguages): make const
5007
5008         * MenuBackend.C (binding): returns the binding associated to this
5009           action
5010           (add): sets the status of each item by calling getStatus. Adds
5011           some intelligence.
5012           (read): add support for OptSubMenu
5013           (expand): remove extra separator at the end of expanded menu
5014
5015 2003-02-15  John Levon  <levon@movementarian.org>
5016
5017         * BufferView.C:
5018         * BufferView_pimpl.C:
5019         * bufferlist.h:
5020         * bufferlist.C: remove pointless BufferStorage bloat. Remove
5021           inset code that had no actual effect. Remove unneeded status
5022           code.
5023
5024 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5025
5026         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
5027           in preamble
5028
5029 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
5030
5031         * text.C (drawLengthMarker): also draw an arrow marker for
5032           symbolic lengths (medskip...)
5033
5034 2003-02-14  John Levon  <levon@movementarian.org>
5035
5036         * tabular.h:
5037         * tabular.C: better method names
5038
5039 2003-02-14  John Levon  <levon@movementarian.org>
5040
5041         * BufferView_pimpl.C:
5042         * bufferlist.C:
5043         * buffer.C:
5044         * converter.C:
5045         * lyx_cb.C:
5046         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5047           it's a more accurate name. Remove some pointless uses.
5048
5049 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5050
5051         * text2.C (LyXText): change order of initilizers to shut off
5052           warnings
5053
5054 2003-02-14  John Levon  <levon@movementarian.org>
5055
5056         * buffer.C: use ParIterator for getParFromID()
5057
5058         * paragraph.h:
5059         * paragraph.C:
5060         * paragraph_pimpl.h:
5061         * paragraph_pimpl.C: remove unused getParFromID()
5062
5063 2003-02-14  John Levon  <levon@movementarian.org>
5064
5065         * buffer.C: remove some very old #if 0'd parse code
5066
5067 2003-02-13  John Levon  <levon@movementarian.org>
5068
5069         * text.h:
5070         * text.C:
5071         * text2.C: move hfillExpansion(), numberOfSeparators(),
5072           rowLast(), rowLastPrintable(), numberofHfills(),
5073           numberOfLabelHfills() ...
5074
5075         * lyxrow.h:
5076         * lyxrow.C: ... to member functions here.
5077
5078         * paragraph.h:
5079         * paragraph.C:
5080         * lyxtext.h:
5081         * text.C: remove LyXText::beginningOfMainBody(), and call
5082           p->beginningOfMainBody() directly. Move the check for
5083           LABEL_MANUAL into the latter.
5084
5085         * text.h:
5086         * text.C:
5087         * text2.C:
5088         * vspace.C:
5089         * BufferView.h:
5090         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5091
5092         * text.h:
5093         * text.C:
5094         * text2.C:
5095         * text3.C:
5096         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5097           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5098
5099 2003-02-13  John Levon  <levon@movementarian.org>
5100
5101         * CutAndPaste.C: remove debug
5102
5103 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5104
5105         * paragraph.C (asString): remove two unused variables
5106
5107         * lyxtextclass.C (readTitleType):
5108           (Read):
5109           (LyXTextClass): handle new members titletype_ and titlename_
5110
5111         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5112
5113 2003-02-09  John Levon  <levon@movementarian.org>
5114
5115         * buffer.h:
5116         * buffer.C: replace hand-coded list with a map for the dep clean
5117
5118 2003-02-08  John Levon  <levon@movementarian.org>
5119
5120         * LaTeX.C: consolidate code into showRunMessage() helper
5121
5122 2003-02-08  John Levon  <levon@movementarian.org>
5123
5124         * lyxfind.C:
5125         * lyxtext.h:
5126         * text2.C:
5127         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5128           and pass the size in explicitly
5129
5130         * BufferView_pimpl.h:
5131         * BufferView_pimpl.C:
5132         * BufferView.h:
5133         * BufferView.C: add getCurrentChange()
5134
5135         * BufferView_pimpl.h:
5136         * BufferView_pimpl.C: handle change lfuns
5137
5138         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5139           for changes. Mark pasted paragraphs as new.
5140
5141         * support/lyxtime.h:
5142         * support/lyxtime.C:
5143         * DepTable.C: abstract time_t as lyx::time_type
5144
5145         * LColor.h:
5146         * LColor.C: add colours for new text, deleted text, changebars
5147
5148         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5149           package use "usenames" option.
5150
5151         * commandtags.h:
5152         * lyxfunc.C:
5153         * LyXAction.C: add change lfuns
5154
5155         * Makefile.am:
5156         * author.h:
5157         * author.C: author handling
5158
5159         * buffer.h:
5160         * buffer.C: add a per-buffer author list, with first entry as
5161           current author. Handle new .lyx tokens for change tracking. Output
5162           author list to .lyx file. Output dvipost stuff to .tex preamble.
5163           Bump lyx format to 222.
5164
5165         * bufferlist.h:
5166         * bufferlist.C: add setCurrentAuthor() to reset current author details
5167           in all buffers.
5168
5169         * bufferparams.h:
5170         * bufferparams.C: add param for tracking
5171
5172         * bufferview_funcs.C: output change info in minibuffer
5173
5174         * Makefile.am:
5175         * changes.h:
5176         * changes.C: add change-tracking structure
5177
5178         * debug.h:
5179         * debug.C: add CHANGES debug flag
5180
5181         * lyxfind.h:
5182         * lyxfind.C: add code for finding the next change piece
5183
5184         * lyxrc.h:
5185         * lyxrc.C: add user_name and user_email
5186
5187         * lyxrow.h:
5188         * lyxrow.C: add a metric for the top of the text line
5189
5190         * lyxtext.h:
5191         * text.C: implement accept/rejectChange()
5192
5193         * lyxtext.h:
5194         * text.C: paint changebars. Paint new/deleted text in the chosen
5195         colours. Strike through deleted text.
5196
5197         * paragraph.h:
5198         * paragraph.C:
5199         * paragraph_pimpl.h:
5200         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5201           in the current change to the insert functions. Rework erase to
5202           mark text as deleted, adding an eraseIntern() and a range-based
5203           erase(). Implement per-paragraph change lookup and
5204           accept/reject.
5205
5206         * paragraph_funcs.C: Fixup paste for change tracking.
5207
5208         * tabular.C: mark added row/columns as new.
5209
5210         * text.C: fix rowLast() to never return -1. Don't allow
5211           spellchecking of deleted text. Track transpose changes. Don't
5212           allow paragraph break or merge where appropriate.
5213
5214         * text2.C: leave cursor at end of selection after a cut.
5215
5216 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5217
5218         * text.C (getLengthMarkerHeight):
5219         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5220         visible on screen too.
5221
5222 2003-02-07  John Levon  <levon@movementarian.org>
5223
5224         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5225
5226 2003-02-05  Angus Leeming  <leeming@lyx.org>
5227
5228         * lyxserver.C (read_ready): revert my patch of 11 September last year
5229         as it sends PC cpu through the roof. Presumably this means that
5230         the lyxserver will no longer run on an Alpha...
5231
5232 2003-01-30  Angus Leeming  <leeming@lyx.org>
5233
5234         * factory.C (createInset): create an InsetCommandParam of type "index"
5235         and use it to 'do the right thing'.
5236
5237         * text2.C (getStringToIndex): ensure that cursor position is always
5238         reset to the reset_cursor position.
5239
5240 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5241
5242         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5243         disabled.
5244
5245 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5246
5247         * bufferview.C:
5248         * lyxcb.C:
5249         * lyxfunc.C: Output messages with identical spelling, punctuation,
5250         and spaces
5251
5252 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5253
5254         * MenuBackend.C (expandFormats): List only viewable export formats
5255         in "View" menu
5256
5257         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5258         message
5259
5260         * lyxfunc.C (getStatus): Make sure that formats other than
5261         "fax" can also be disabled
5262
5263 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5264
5265         * text3.C (dispatch): put the lfuns that insert insets in 3
5266         groups, and call doInsertInset with appropriate arguments.
5267         (doInsertInset): new function, that creates an inset and inserts
5268         it according to some boolean parameters.
5269
5270 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5271
5272         * buffer.C (readFile): remember to pass on 'par' when calling
5273         readFile recursively.
5274
5275 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5276
5277         * MenuBackend.C (expandFormats): add "..." to import formats.
5278
5279 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5280
5281         * paragraph.C (asString): Remove XForms RTL hacks.
5282
5283 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5284         * buffer.C: fix typo
5285
5286 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5287
5288         * Makefile.am (LIBS): delete var
5289         (lyx_LDADD): add @LIBS@ here instead.
5290
5291 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5292
5293         * Clarify the meaning of "wheel mouse jump"
5294
5295 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5296
5297         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5298         tabular in a float
5299
5300 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5301
5302         * importer.C (Loaders): do not preallocate 3 elements in the
5303         vector, since one ends up with 6 elements otherwise
5304
5305 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5306
5307         * DepTable.C (write): write the file name as last element of the
5308         .dep file (because it may contain spaces)
5309         (read): read info in the right order
5310
5311 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5312
5313         * paragraph_pimpl.C (simpleTeXBlanks):
5314         (simpleTeXSpecialChars):
5315         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5316
5317         * tabular.C (latex): add some missing case statements. Reindent.
5318
5319         * MenuBackend.C (expandToc): remove unused variable.
5320
5321 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5322
5323         * LColor.C:
5324         * LaTeX.C:
5325         * LyXAction.C:
5326         * MenuBackend.C:
5327         * buffer.C:
5328         * exporter.C:
5329         * lyxfunc.C:
5330         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5331         and the like.
5332
5333 2003-01-05  John Levon  <levon@movementarian.org>
5334
5335         * BufferView.h:
5336         * BufferView.C: add getEncoding()
5337
5338         * kbsequence.h:
5339         * kbsequence.C: do not store last keypress
5340
5341         * lyxfunc.h:
5342         * lyxfunc.C: store last keypress here instead. Pass encoding
5343           to getISOEncoded()
5344
5345 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5346
5347         * lyx_main.C (init): remove annoying error message when following
5348         symbolic links (bug #780)
5349
5350 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5351
5352         * text.C (insertChar):
5353         * lyxrc.C (getDescription): remove extra spaces
5354
5355 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5356
5357         * lyxrc.C (getDescription): remove extra spaces
5358
5359 2002-12-20  John Levon  <levon@movementarian.org>
5360
5361         * text3.C: hack fix for page up/down across tall rows
5362
5363 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5364
5365         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5366         not been invoked
5367
5368 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5369
5370         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5371         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5372         thesaurus is not compiled in
5373
5374 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5375
5376         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5377
5378 2002-12-16  Angus Leeming  <leeming@lyx.org>
5379
5380         * lyxrc.[Ch]:
5381         * lyx_main.C (init): remove override_x_deadkeys stuff.
5382
5383 2002-12-12  John Levon  <levon@movementarian.org>
5384
5385         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5386           insert. Only remove shift modifier under strict
5387           circumstances.
5388
5389 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5390
5391         * MenuBackend.C (expandToc): fix crash.
5392
5393 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5394
5395         * MenuBackend.C (expandToc): gettext on float names.
5396
5397 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5398
5399         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5400         implement bool empty() [bug 490]
5401
5402 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5405
5406 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5407
5408         * several files: ws changes
5409
5410 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5411
5412         * text2.C (setCounter): clean up a bit, use boost.format.
5413         (updateCounters): initialize par upon declaration.
5414
5415         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5416         if the layout exists. We do not just store the layout any more.
5417         (SwitchLayoutsBetweenClasses): use boost.format
5418
5419 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5420
5421         * converter.C (convert): if from and to files are the same, use a
5422         temporary files as intermediary
5423
5424 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5425
5426         * commandtags.h:
5427         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5428
5429 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5430
5431         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5432
5433 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5434
5435         * tabular.C (asciiPrintCell): use string(size, char) instead of
5436         explicit loop.
5437
5438         * sgml.C (openTag): fix order of arguments to string constructor
5439         (closeTag): ditto
5440
5441         * lyxfunc.C (dispatch): use boost.format
5442
5443         * lots of files: change "c" -> 'c'
5444
5445 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5446
5447         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5448
5449 2002-11-25  Angus Leeming  <leeming@lyx.org>
5450
5451         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5452
5453         * lyx_main.C (init): compile fix.
5454
5455 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5456
5457         * lyx_cb.C (start): boost.formatify
5458         do not include <iostream>
5459
5460         * lengthcommon.C: ws only
5461
5462         * boost-inst.C,BoostFormat.h: add more explict instantations
5463
5464 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5465
5466         * lots of files: handle USE_BOOST_FORMAT
5467
5468 2002-11-21  John Levon  <levon@movementarian.org>
5469
5470         * pspell.C: fix compile
5471
5472 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5473
5474         * lyxfunc.C (dispatch): use boost::format
5475         (open): ditto
5476         (doImport): ditto
5477
5478         * lyxfont.C (stateText): use boost::format
5479
5480         * lyx_main.C (LyX): use boost::format
5481         (init): ditto
5482         (queryUserLyXDir): ditto
5483         (readRcFile): ditto
5484         (parse_dbg): ditto
5485         (typedef boost::function): use the recommened syntax.
5486
5487         * importer.C (Import): use boost::format
5488
5489         * debug.C (showLevel): use boost::format
5490
5491         * converter.C (view): use boost::format
5492         (convert): ditto
5493         (move): ditto
5494         (scanLog): ditto
5495
5496         * bufferview_funcs.C (currentState): use boost::format
5497
5498         * bufferlist.C (emergencyWrite): use boost::format
5499
5500         * buffer.C (readLyXformat2): use boost::format
5501         (parseSingleLyXformat2Token): ditto
5502
5503         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5504
5505         * LaTeX.C (run): use boost::format
5506
5507         * Chktex.C (scanLogFile): use boost::format
5508
5509         * BufferView_pimpl.C (savePosition): use boost::format
5510         (restorePosition): ditto
5511         (MenuInsertLyXFile): ditto
5512
5513         * BoostFormat.h: help file for explicit instation.
5514
5515 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5516
5517         * tabular.C (latex): Support for block alignment in fixed width
5518         columns.
5519
5520 2002-11-17  John Levon  <levon@movementarian.org>
5521
5522         * BufferView_pimpl.C:
5523         * lyx_cb.C:
5524         * lyxfunc.C: split filedialog into open/save
5525
5526 2002-11-08  Juergen Vigna  <jug@sad.it>
5527
5528         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5529         by my last patch (hopefully).
5530
5531 2002-11-08  John Levon  <levon@movementarian.org>
5532
5533         * iterators.h:
5534         * iterators.C:
5535         * buffer.h:
5536         * buffer.C:
5537         * paragraph.h:
5538         * paragraph.C:
5539         * toc.h:
5540         * toc.C: ParConstIterator, and use it (from Lars)
5541
5542 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5543
5544         * lyxtextclass.[Ch]: revise and add doxygen comments
5545
5546 2002-11-07  John Levon  <levon@movementarian.org>
5547
5548         * text.C: fix progress value for spellchecker
5549
5550         * toc.C: fix navigate menu for insetwrap inside minipage
5551
5552         * paragraph_funcs.C: added FIXME for suspect code
5553
5554 2002-11-07  John Levon  <levon@movementarian.org>
5555
5556         * BufferView_pimpl.C: fix redrawing of insets
5557           on buffer switch
5558
5559 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5560
5561         * text2.C (updateCounters): fix bug 668
5562
5563 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5564
5565         * text3.C (dispatch): Do not make the buffer dirty when moving the
5566         cursor.
5567
5568 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5569
5570         * vc-backend.C: STRCONV
5571         (scanMaster): ditto
5572
5573         * text2.C (setCounter): STRCONV
5574
5575         * paragraph.C (asString): STRCONV
5576
5577         * lyxlength.C (asString): STRCONV
5578         (asLatexString): ditto
5579
5580         * lyxgluelength.C (asString): STRCONV
5581         (asLatexString): ditto
5582
5583         * lyxfunc.C (dispatch): STRCONV
5584         (open): ditto
5585
5586         * lyxfont.C (stateText): STRCONV
5587
5588         * importer.C (Import): STRCONV
5589
5590         * counters.C (labelItem): STRCONV
5591         (numberLabel): ditto
5592         (numberLabel): remove unused ostringstream o
5593
5594         * chset.C: STRCONV
5595         (loadFile): ditto
5596
5597         * bufferview_funcs.C (currentState): STRCONV
5598
5599         * buffer.C (readFile): STRCONV
5600         (asciiParagraph): ditto
5601         (makeLaTeXFile): ditto
5602
5603         * Spacing.C (writeEnvirBegin): STRCONV
5604
5605         * LaTeXFeatures.C (getLanguages): STRCONV
5606         (getPackages): ditto
5607         (getMacros): ditto
5608         (getBabelOptions): ditto
5609         (getTClassPreamble): ditto
5610         (getLyXSGMLEntities): ditto
5611         (getIncludedFiles): ditto
5612
5613         * LaTeX.C: STRCONV
5614         (run): ditto
5615         (scanAuxFile): ditto
5616         (deplog): ditto
5617
5618         * LString.h: add the STRCONV macros
5619
5620         * BufferView_pimpl.C (savePosition): STRCONV
5621         (restorePosition): ditto
5622         (MenuInsertLyXFile): ditto
5623
5624         * vc-backend.C (scanMaster): change from submatch[...] to
5625         submatch.str(...)
5626
5627         * funcrequest.C: include config.h
5628
5629         * factory.C: include config.h
5630
5631         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5632
5633         * box.C: include config.h
5634
5635         * LaTeX.C (scanAuxFile): change from submatch[...] to
5636         submatch.str(...)
5637         (deplog): ditto
5638
5639 2002-10-25  Angus Leeming  <leeming@lyx.org>
5640
5641         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5642
5643         * ispell.[Ch] (setError): new method.
5644         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5645         Use setError() insetead of goto END.
5646
5647         * lyx_cb.C (AutoSave): move out child process into new class
5648         AutoSaveBuffer.
5649
5650 2002-10-30  John Levon  <levon@movementarian.org>
5651
5652         * text3.C: make start appendix undoable
5653
5654 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5655
5656         * lyxlength.C (inPixels): Fix returned value.
5657
5658         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5659         environment.
5660
5661 2002-10-24  Angus Leeming  <leeming@lyx.org>
5662
5663         * lyxgluelength.h: no need to forward declare BufferParams
5664         or BufferView, so don't.
5665
5666 2002-10-21  John Levon  <levon@movementarian.org>
5667
5668         * BufferView.C: menuUndo ->undo, redo
5669
5670         * BufferView.h: document, remove dead, make some methods private
5671
5672         * paragraph_funcs.h:
5673         * paragraph_funcs.C:
5674         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5675
5676         * buffer.h:
5677         * buffer.C:
5678         * sgml.h:
5679         * sgml.C: move sgml open/close tag into sgml.C
5680
5681         * bufferview_funcs.h: unused prototype
5682
5683         * lyxfunc.h:
5684         * lyxfunc.C: remove unused
5685
5686         * lyxtext.h:
5687         * text.C: remove unused
5688
5689 2002-10-21  John Levon  <levon@movementarian.org>
5690
5691         * BufferView.h:
5692         * BufferView.C:
5693         * BufferView_pimpl.h:
5694         * BufferView_pimpl.C: fix mouse wheel handling based on
5695           patch from Darren Freeman
5696
5697 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5698
5699         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5700
5701 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5702
5703         * lyxlength.C (inPixels): Fix hanfling of negative length.
5704         Fix LyXLength::MU case.
5705
5706 2002-10-16  John Levon  <levon@movementarian.org>
5707
5708         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5709
5710 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5711
5712         * converter.C (view): add support for $$i (file name) and $$p
5713         (file path) for the viewer command. If $$i is not specified, then
5714         it is appended to the command (for compatibility with old syntax)
5715
5716 2002-10-14  Juergen Vigna  <jug@sad.it>
5717
5718         * undo_funcs.C (textHandleUndo): alter the order in which the
5719         new undopar is added to the LyXText, as we have to set first
5720         the right prev/next and then add it as otherwise the rebuild of
5721         LyXText is not correct. Also reset the cursor to the right paragraph,
5722         with this IMO we could remove the hack in "redoParagraphs()".
5723
5724 2002-10-09  Angus Leeming  <leeming@lyx.org>
5725
5726         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5727         to turn off an optimisation if a new inset is to be inserted.
5728
5729 2002-10-11 André Pönitz <poenitz@gmx.net>
5730
5731         * lyxtext.h: make some functions public to allow access
5732         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5733
5734 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5735
5736         * text3.C (dispatch): when changing layout, avoid an infinite loop
5737         [bug #652]
5738
5739 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5740
5741         * lyxrc.C (read): treat a viewer or converter command of "none" as
5742         if it were empty.
5743
5744         * MenuBackend.C (expandFormats): for an update, also allow the
5745         formats that are not viewable
5746
5747         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5748         script if it is newer than the lyxrc.defaults in user directory
5749
5750 2002-10-07 André Pönitz <poenitz@gmx.net>
5751
5752         * text.C: Vitaly Lipatov's small i18n fix
5753
5754 2002-09-25  Angus Leeming  <leeming@lyx.org>
5755
5756         * ispell.h: doxygen fix.
5757
5758 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5759
5760         * buffer.h (readFile): Add a new argument to the method, to allow
5761         reading of old-format templates.
5762
5763 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5764
5765         * toc.C (getTocList): Get TOC from InsetWrap.
5766
5767 2002-09-16  John Levon  <levon@movementarian.org>
5768
5769         * lyxfunc.C: check tabular for cut/copy too
5770
5771 2002-09-12  John Levon  <levon@movementarian.org>
5772
5773         * LyXAction.C: tidy
5774
5775         * factory.h:
5776         * factory.C: add header
5777
5778         * paragraph_funcs.h:
5779         * paragraph_funcs.C: cleanup
5780
5781 2002-09-11  John Levon  <levon@movementarian.org>
5782
5783         * PrinterParams.h: odd/even default to true
5784
5785 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5786
5787         * PrinterParams.h: update printer parameters for new xforms dialog
5788
5789 2002-09-11  Angus Leeming  <leeming@lyx.org>
5790
5791         * lyxserver.C (read_ready): re-write to make it more transparent
5792         and to make it work in coherent fashion under Tru64 Unix.
5793
5794 2002-09-11  André Pönitz <poenitz@gmx.net>
5795
5796         * commandtags.h:
5797         * LyXAction.C:
5798         * text3.C: implement LFUN_WORDSEL
5799
5800 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5801
5802         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5803         make floatlist_ a boost::shared_ptr<FloatList>
5804
5805         * lyxtextclass.C: include FloatList.h
5806         (LyXTextClass): initialize floatlist_
5807         (TextClassTags): add TC_NOFLOAT
5808         (Read): match "nofloat" to TC_NOFLOAT and use it.
5809         (readFloat): modify call to floatlist_
5810         (floats): ditto
5811         (floats): ditto
5812
5813         * FloatList.[Ch] (FloatList): remove commented out float
5814         initialization.
5815         (erase): new function
5816
5817 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5818
5819         * MenuBackend.C (expandToc): fix crash when there is no document
5820         open
5821
5822 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5823
5824         * many files: Add insetwrap.
5825
5826 2002-09-09  John Levon  <levon@movementarian.org>
5827
5828         * text2.C: remove confusing and awkward depth wraparound
5829
5830 2002-09-09  John Levon  <levon@movementarian.org>
5831
5832         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5833
5834         * buffer.h:
5835         * buffer.C: remove getIncludeonlyList()
5836
5837         * paragraph.C:
5838         * lyxfunc.C: remove headers
5839
5840 2002-09-09  Juergen Vigna  <jug@sad.it>
5841
5842         * text.C (getColumnNearX): fix form Michael this is most
5843         probably a cut&paste bug.
5844
5845 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5846
5847         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5848
5849         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5850         references, ws changes.
5851
5852         * text2.C (init): update counters after init
5853         (insertParagraph): no need to set counter on idividual paragraphs.
5854         (setCounter): access the counters object in the textclass object
5855         on in the buffer object.
5856         (updateCounters): ditto
5857
5858         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5859         shared_ptr<Counters> to avoid loading counters.h in all
5860         compilation units.
5861         (LyXTextClass): initialize ctrs_
5862         (TextClassTags): add TC_COUNTER, and ...
5863         (Read): use it here.
5864         (CounterTags): new tags
5865         (readCounter): new function
5866         (counters): new funtion
5867         (defaultLayoutName): return a const reference
5868
5869         * counters.C (Counters): remove contructor
5870         (newCounter): remove a couple of unneeded statements.
5871         (newCounter): simplify a bit.
5872         (numberLabel): some small formatting changes.
5873
5874         * buffer.[Ch]: remove all traces of counters, move the Counters
5875         object to the LyXTextClass.
5876
5877 2002-09-06  Alain Castera  <castera@in2p3.fr>
5878
5879         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5880         package to set the horizontal alignment on fixed width columns.
5881
5882         * lyx_sty.C:
5883         * lyx_sty.h: added tabularnewline macro def.
5884
5885         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5886
5887 2002-09-06  John Levon  <levon@movementarian.org>
5888
5889         * LyXAction.C: tooltips for sub/superscript
5890
5891         * MenuBackend.C: a bit more verbose
5892
5893         * lyxfunc.C: tiny clean
5894
5895         * undo_funcs.C: document undo_frozen
5896
5897 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5898
5899         * counters.C (Counters): add missing algorithm counter.
5900
5901         * text2.C (setCounter): lookup the counter with layouts latexname
5902         instead of by section number.
5903         (setCounter): use a hackish way to lookup the correct enum
5904         counter.
5905         a float name->type change
5906         reset enum couners with counter name directly instead of depth value.
5907
5908         * counters.C (Counters): remove the push_backs, change to use the
5909         float type not the float name.
5910         (labelItem): remove unused string, float name->type change
5911
5912         * counters.h: don't include vector, loose the enums and sects vectors
5913
5914 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5915
5916         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5917         (Read): add float->TC_FLOAT to textclassTags
5918         (Read): and handle it in the switch
5919         (readFloat): new function
5920
5921         * FloatList.C (FloatList): comment out the hardcoded float
5922         definitions.
5923
5924         * lyxlayout.h: ws change.
5925
5926 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5927
5928         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5929
5930 2002-09-03  Angus Leeming  <leeming@lyx.org>
5931
5932         * BufferView_pimpl.h: qualified name is not allowed in member
5933         declaration: WorkArea & Pimpl::workarea() const;
5934
5935         * factory.C: added using std::endl directive.
5936
5937         * text3.C: added using std::find and std::vector directives.
5938
5939 2002-08-29  André Pönitz <poenitz@gmx.net>
5940
5941         * lyxtext.h:
5942         * text2.C: remove unused member number_of_rows
5943
5944         * Makefile.am:
5945         * BufferView2.C: remove file, move contents to...
5946         * BufferView.C: ... here
5947
5948         * BufferView_pimpl.C:
5949         * factory.C: move more inset creation to factory
5950
5951         * vspace.C: avoid direct usage of LyXText, ws changes
5952
5953         * BufferView.[Ch]:
5954                 don't provide direct access to WorkArea, use two simple
5955                 acessors haveSelction() and workHeight() instead
5956
5957
5958 2002-08-29  John Levon  <levon@movementarian.org>
5959
5960         * BufferView_pimpl.C (dispatch): do not continue when
5961           no buffer
5962
5963 2002-08-28  André Pönitz <poenitz@gmx.net>
5964
5965         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5966
5967         * BufferView.h:
5968         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5969
5970 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5971
5972         * buffer.C: increment LYX_FORMAT to 221
5973
5974         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5975         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5976
5977         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5978
5979         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5980
5981 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5982
5983         * factory.C (createInset): use LyXTextClass::floats
5984
5985         * MenuBackend.C (expandFloatListInsert):
5986         (expandFloatInsert):
5987         (expandToc):
5988
5989         * text2.C (setCounter):
5990
5991         * LaTeXFeatures.C (useFloat):
5992         (getFloatDefinitions):
5993
5994         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5995
5996         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5997         floatlist_, with accessor floats().
5998
5999         * FloatList.h: remove global FloatList
6000
6001 2002-08-26  André Pönitz <poenitz@gmx.net>
6002
6003         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
6004
6005         * BufferView.h:
6006         * BufferView2.C:
6007         * BufferView_pimpl.C:
6008         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
6009
6010 2002-08-25  John Levon  <levon@movementarian.org>
6011
6012         * LyXAction.C: fix margin note description
6013
6014 2002-08-24  John Levon  <levon@movementarian.org>
6015
6016         * buffer.C:
6017         * bufferlist.C:
6018         * bufferview_funcs.C:
6019         * lyxfont.C:
6020         * undo_funcs.C: cleanups
6021
6022         * lyxfunc.C: disable CUT/COPY when no selection
6023
6024 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
6025
6026         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
6027         in "enum UNIT"; e.g. PTW for Percent of TextWidth
6028
6029         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
6030         Add backward compatibility to "mono", "gray" and "no".
6031
6032 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
6033
6034         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
6035         (and file_format >= 200).
6036
6037 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6038
6039         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6040
6041 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6042
6043         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6044
6045 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6046
6047         * BufferView_pimpl.C:
6048         * LyXAction.C:
6049         * buffer.C:
6050         * commandtags.h:
6051         * lyxfunc.C:
6052         * paragraph.[Ch]:
6053         * text2.C:
6054         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6055         inset and code to make it  work with the paragraph code. The inset
6056         can be anywhere in the paragraph, but will only do the expected
6057         thing in LaTeX if the layout file contains the parameter line
6058                         OptionalArgs    1
6059         (or more generally, a nonzero value) for that layout.
6060
6061 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6062
6063         * paragraph.h: remove the declaration of undefined counters class
6064         function.
6065
6066 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6067
6068         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6069         Dr. Richard Hawkins.
6070
6071 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6072
6073         * paragraph_funcs.h: remove some unneeded includes
6074
6075         * text.C (backspace): pasteParagraph now in global scipe
6076
6077         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6078         (pasteSelection): ditto
6079
6080         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6081         * paragraph_funcs.C (pasteParagraph): ... here
6082
6083 2002-08-20  André Pönitz <poenitz@gmx.net>
6084
6085         * commandtags.h: new LFUNs for swapping/copying table row/colums
6086
6087         * LyXAction.C:
6088         * lyxfunc.C: support for new lfuns
6089
6090 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6091
6092         * tabular.C:
6093         * buffer.[Ch]: remove NO_COMPABILITY stuff
6094
6095 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6096
6097         * boost.C (throw_exception): new file, with helper function for
6098         boost compiled without exceptions.
6099
6100         * paragraph.h:
6101         * lyxlength.C:
6102         * buffer.C:
6103         * ParameterStruct.h:
6104         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6105
6106         * bufferlist.C (emergencyWriteAll): use boost bind
6107
6108         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6109
6110         * text.C: include paragraph_funcs.h
6111         (breakParagraph): breakParagraph is now in global scope
6112
6113         * paragraph_funcs.[Ch]: new files
6114
6115         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6116         global scope
6117
6118         * buffer.C: include paragraph_funcs.h
6119         (insertStringAsLines): breakParagraph is now in global scope
6120
6121         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6122         paragraph_funcs.C
6123
6124         * CutAndPaste.C: include paragraph_funcs.h
6125         (cutSelection): breakParagraphConservative is now in global scope
6126         (pasteSelection): ditto
6127
6128         * buffer.h: declare oprator== and operator!= for
6129         Buffer::inset_iterator
6130
6131         * bufferlist.C (emergencyWrite): don't use fmt(...)
6132
6133         * text3.C: add using std::endl
6134
6135         * BufferView.C (moveCursorUpdate): remove default arg
6136
6137 2002-08-20  André Pönitz <poenitz@gmx.net>
6138
6139         * buffer.[Ch]: move inline functions to .C
6140
6141         * BufferView2.C:
6142         * BufferView_pimpl.C:
6143         * text.C:
6144         * buffer.[Ch]: use improved inset_iterator
6145
6146         * buffer.C:
6147         * paragraph.[Ch]: write one paragraph at a time
6148
6149 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6150
6151         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6152         style if style is not specified.
6153
6154 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6155
6156         * text2.C (setCounter): when searching for right label for a
6157         caption, make sure to recurse to parent insets (so that a caption
6158         in a minipage in a figure float works) (bug #568)
6159
6160 2002-08-20  André Pönitz <poenitz@gmx.net>
6161
6162         * text3.C: new file for LyXText::dispatch() and helpers
6163
6164         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6165
6166         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6167
6168 2002-08-19  André Pönitz <poenitz@gmx.net>
6169
6170         * lyxtext.h:
6171         * text.C: new LyXText::dispatch()
6172
6173         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6174
6175 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6176
6177         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6178
6179         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6180         Hebrew text.
6181
6182 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6183
6184         * Makefile.am: use $(variables) instead of @substitutions@
6185
6186 2002-08-15  André Pönitz <poenitz@gmx.net>
6187
6188         * lyxfunc.C:
6189         * BufferView_pimpl.C: streamlining mathed <-> outer world
6190         interaction
6191
6192         * commandtags.h:
6193         * LyXAction.C: remove unused LFUN_MATH
6194
6195 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6196
6197         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6198
6199 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6200
6201         * paragraph.C (Paragraph): reformat a bit
6202         (cutIntoMinibuffer): use builtin InsetList function instad of
6203         doing it manually.
6204         (getInset): ditto
6205
6206         * buffer.C: include boost/bind.hpp, add using std::for_each
6207         (writeFileAscii): use ParagraphList iterators
6208         (validate): use for_each for validate traversal of paragraphs
6209         (getBibkeyList): use ParagraphList iterators
6210         (resizeInsets): use for_each to resizeInsetsLyXText for all
6211         paragraphs.
6212         (getParFromID): use ParagraphList iterators
6213
6214         * BufferView2.C (lockInset): use paragraph list and iterators
6215
6216 2002-08-14  John Levon  <levon@movementarian.org>
6217
6218         * lyxserver.C: remove spurious xforms include
6219
6220 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6221
6222         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6223
6224 2002-08-13  André Pönitz <poenitz@gmx.net>
6225
6226         * LyXAction.[Ch]:
6227         * lyxfunc.C: further cleaning
6228
6229 2002-08-13  André Pönitz <poenitz@gmx.net>
6230
6231         * funcrequest.h: new constructor
6232
6233         * funcrequest.C: move stuff here from .h
6234
6235         * Makefile.am:
6236         * BufferView_pimpl.C:
6237         * LyXAction.C:
6238         * toc.C:
6239         * lyxfunc.C: subsequent changes
6240
6241         * lyxfunc.h: new view() member function
6242
6243         * lyxfunc.C: subsequent changes
6244
6245 2002-08-13  Angus Leeming  <leeming@lyx.org>
6246
6247         * BufferView2.C:
6248         * BufferView_pimpl.C:
6249         * buffer.C:
6250         * converter.C:
6251         * importer.C:
6252         * lyxfunc.C:
6253         * lyxvc.C:
6254         * toc.C:
6255         * vc-backend.C:
6256         changes due to the changed LyXView interface that now returns references
6257         to member variables not pointers.
6258
6259 2002-08-13  Angus Leeming  <leeming@lyx.org>
6260
6261         * WordLangTuple (word, lang_code): return references to strings,
6262         not strings.
6263
6264         * BufferView.h:
6265         * SpellBase.h:
6266         * lyxtext.h: forward-declare WordLangTuple.
6267
6268         * BufferView2.C:
6269         * ispell.C:
6270         * pspell.C:
6271         * text.C: #include "WordLangTuple.h".
6272
6273         * lyxtext.h:
6274         * text.C: (selectNextWordToSpellcheck): constify return type.
6275
6276 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6277
6278         * buffer.C:
6279         * buffer.h:
6280         * lyxtext.h:
6281         * paragraph.C:
6282         * paragraph_pimpl.h:
6283         * text.C:
6284         * text2.C:
6285         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6286         suggested by Angus.
6287         Made updateCounter always count from start of buffer, and removed
6288         second argument (par).
6289         Reverted floats number display to '#'. Perhaps I'll try again when the
6290         code base is sanitized a bit.
6291
6292 2002-08-12  Angus Leeming  <leeming@lyx.org>
6293
6294         * buffer.[Ch] (getLabelList): constify.
6295
6296 2002-08-07  André Pönitz <poenitz@gmx.net>
6297
6298         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6299
6300         * funcrequest.h: extension to keep mouse (x,y) position
6301
6302 2002-08-12  Juergen Vigna  <jug@sad.it>
6303
6304         * BufferView2.C (insertErrors): forbid undo when inserting error
6305         insets.
6306
6307         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6308
6309 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6310
6311         * ParagraphList.[Ch]: new files
6312
6313         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6314
6315         * BufferView2.C (lockInset): ParagraphList changes
6316         * toc.C: ditto
6317         * text2.C: ditto
6318         * bufferlist.C: ditto
6319         * buffer.h: ditto
6320         * buffer.C: ditto
6321
6322 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6323
6324         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6325         unused class variable counter_,
6326
6327         * paragraph.[Ch] (getFirstCounter): delete unused function
6328
6329         * counters.C: include LAssert.h
6330         (reset): add a new function with no arg, change other version to
6331         not have def. arg and to not allow empty arg.
6332
6333         * text2.C (setCounter): remove empty arg from call to Counters::reset
6334
6335 2002-08-11  John Levon  <levon@movementarian.org>
6336
6337         * Makefile.am: add WordLangTuple.h
6338
6339 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6340
6341         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6342         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6343
6344         * insets/insettext.C: InsetList changes
6345
6346         * graphics/GraphicsSupport.C (operator()): InsetList changes
6347
6348         * toc.C (getTocList): InsetList changes
6349
6350         * paragraph_pimpl.[Ch]: InsetList changes
6351
6352         * paragraph.[Ch]: InsetList changes
6353
6354         * buffer.C (inset_iterator): InsetList changes
6355         (setParagraph): ditto
6356         * buffer.h (inset_iterator): ditto
6357         * iterators.C (operator++): ditto
6358         * iterators.h: ditto
6359
6360         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6361
6362         * InsetList.[Ch]: new files, most InsetList handling moved out of
6363         paragraph.C.
6364
6365         * BufferView2.C (removeAutoInsets): InsetList changes
6366         (lockInset): ditto
6367         (ChangeInsets): ditto
6368
6369 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6370
6371         * paragraph_pimpl.h (empty): new function
6372
6373         * paragraph.[Ch] (empty): new function
6374
6375         * other files: use the new Paragraph::empty function
6376
6377 2002-08-09  John Levon  <levon@movementarian.org>
6378
6379         * lyxtext.h: remove unused refresh_height
6380
6381 2002-08-09  John Levon  <levon@movementarian.org>
6382
6383         * Makefile.am:
6384         * sgml.h:
6385         * sgml.C:
6386         * buffer.C:
6387         * paragraph.h:
6388         * paragraph.C: move sgml char escaping out of paragraph
6389
6390         * paragraph.h:
6391         * paragraph.C: remove id setter
6392
6393         * buffer.C:
6394         * paragraph.C:
6395         * paragraph_pimpl.C: remove dead tex_code_break_column
6396
6397         * bufferview_funcs.C: small cleanup
6398
6399         * lyxfunc.C: remove dead proto
6400
6401         * lyxtext.h: make some stuff private. Remove some dead stuff.
6402
6403         * lyxgluelength.C: make as[LyX]String() readable
6404
6405 2002-08-08  John Levon  <levon@movementarian.org>
6406
6407         * LyXAction.h:
6408         * LyXAction.C:
6409         * MenuBackend.C:
6410         * ToolbarDefaults.C:
6411         * lyxfunc.C:
6412         * lyxrc.C:
6413         * toc.C: lyxaction cleanup
6414
6415 2002-08-08  John Levon  <levon@movementarian.org>
6416
6417         * BufferView2.C: small cleanup
6418
6419         * lyxfind.h:
6420         * lyxfind.C: move unnecessary header into the .C
6421
6422 2002-08-08  John Levon  <levon@movementarian.org>
6423
6424         * funcrequest.h: just tedious nonsense
6425
6426         * lyx_main.h:
6427         * lyx_main.C: cleanups
6428
6429         * buffer.C:
6430         * vspace.C: remove dead header lyx_main.h
6431
6432 2002-08-07  Angus Leeming  <leeming@lyx.org>
6433
6434         * Paragraph.[Ch]:
6435         * paragraph_pimpl.h:
6436         Forward declare class Counters in paragraph.h by moving the ctrs member
6437         variable into Paragraph::Pimpl.
6438         (counters): new method, returning a reference to pimpl_->ctrs.
6439
6440         * text2.C: ensuing changes.
6441
6442 2002-08-07  John Levon  <levon@movementarian.org>
6443
6444         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6445
6446         * BufferView_pimpl.C: announce X selection on double/triple
6447           click
6448
6449         * lyx_main.C: use correct bool in batch dispatch
6450
6451         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6452
6453 2002-08-07  André Pönitz <poenitz@gmx.net>
6454
6455         * funcrequest.h: new class to wrap a kb_action and its argument
6456
6457         * BufferView.[Ch]:
6458         * BufferView_pimpl[Ch]:
6459         * LaTeX.C:
6460         * LyXAction.[Ch]:
6461         * lyxfunc.[Ch]:
6462         * lyxrc.C: subsequent changes
6463
6464
6465 2002-08-07  John Levon  <levon@movementarian.org>
6466
6467         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6468           document options change.
6469
6470 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6471
6472         * counters.[Ch]
6473         * text2.C
6474         * paragraph.[Ch]
6475         * makefile.am: move counters functionality over from
6476         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6477
6478 2002-08-06  John Levon  <levon@movementarian.org>
6479
6480         * WordLangTuple.h: new file for word + language code tuple
6481
6482         * SpellBase.h:
6483         * pspell.h:
6484         * pspell.C:
6485         * ispell.h:
6486         * ispell.C:
6487         * lyxtext.h:
6488         * text.C:
6489         * text2.C:
6490         * BufferView.h:
6491         * BufferView2.C: use WordLangTuple
6492
6493         * layout.h:
6494         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6495
6496 2002-08-06  John Levon  <levon@movementarian.org>
6497
6498         * lyx_main.C: fix cmdline batch handling
6499
6500 2002-08-06  André Pönitz <poenitz@gmx.net>
6501
6502         * lyxrc.C: set default for show_banner to true
6503
6504 2002-08-06  John Levon  <levon@movementarian.org>
6505
6506         * pspell.C: fix a crash, and allow new aspell to work
6507
6508 2002-08-06  John Levon  <levon@movementarian.org>
6509
6510         * lyxfunc.C:
6511         * kbmap.C: small cleanup
6512
6513         * vspace.h:
6514         * vspace.C: add const
6515
6516 2002-08-05  John Levon  <levon@movementarian.org>
6517
6518         * LyXAction.C: back to tabular-insert
6519
6520 2002-08-04  John Levon  <levon@movementarian.org>
6521
6522         * BufferView.h:
6523         * BufferView.C: cosmetic change
6524
6525         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6526
6527         * bufferlist.C:
6528         * buffer.h:
6529         * buffer.C:
6530         * lyxcb.h:
6531         * lyxcb.C:
6532         * lyxserver.C:
6533         * lyxvc.C:
6534         * vc-backend.C:
6535         * BufferView2.C: purge all "Lyx" not "LyX" strings
6536
6537         * lyxcursor.h:
6538         * lyxcursor.C: attempt to add some documentation
6539
6540         * lyxfunc.C:
6541         * commandtags.h:
6542         * LyXAction.C:
6543         * ToolbarDefaults.C:
6544         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6545           merge with LFUN_TABULAR_INSERT
6546
6547         * Makefile.am:
6548         * SpellBase.h:
6549         * ispell.h:
6550         * ispell.C:
6551         * pspell.h:
6552         * pspell.C: split up i/pspell implementations into separate
6553           files, many cleanups
6554
6555         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6556
6557         * text2.C: some cleanup
6558
6559         * lyxfunc.C: don't check for isp_command == "none" any more, it
6560           didn't make any sense
6561
6562 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6563
6564         * counters.[Ch]
6565         * text2.C
6566         * paragraph.[Ch]
6567         * makefile.am: move counters functionality over
6568         from text2.C/paragraph.[Ch] to counters.[Ch], and
6569         make proper C++.
6570 2002-08-02  John Levon  <levon@movementarian.org>
6571
6572         * buffer.C: s/lyxconvert/lyx2lyx/
6573
6574 2002-08-02  Angus Leeming  <leeming@lyx.org>
6575
6576         * lyxlex.C: revert John's change as it breaks reading of the user
6577         preamble.
6578
6579 2002-08-02  Angus Leeming  <leeming@lyx.org>
6580
6581         * importer.C (Import):
6582         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6583         changes due to LyXView::view() now returning a boost::shared_ptr.
6584
6585 2002-08-02  John Levon  <levon@movementarian.org>
6586
6587         * lyxlex.C: small cleanup
6588
6589 2002-08-02  John Levon  <levon@movementarian.org>
6590
6591         * text2.C (status): small cleanup, no logic change
6592
6593 2002-08-01  John Levon  <levon@movementarian.org>
6594
6595         * buffer.h:
6596         * buffer.C (writeFile): don't output alerts, caller
6597           handles this
6598
6599         * bufferlist.C:
6600         * lyx_cb.C: from above
6601
6602         * lyxfunc.C: allow to open non-existent files
6603
6604 2002-07-31  John Levon  <levon@movementarian.org>
6605
6606         * lyxserver.C: don't let incidental errors get
6607           in the way (errno)
6608
6609 2002-07-30  John Levon  <levon@movementarian.org>
6610
6611         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6612
6613 2002-07-30  John Levon  <levon@movementarian.org>
6614
6615         * lyxserver.h:
6616         * lyxserver.C: remove I/O callback too
6617
6618 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6619
6620         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6621         log.
6622
6623 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6624
6625         * many files: strip,frontStrip -> trim,ltrim,rtrim
6626
6627 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6628
6629         * PrinterParams.h: remove extern containsOnly, and include
6630         support/lstrings.h instead.
6631
6632         * LaTeX.C (scanAuxFile): modify because of strip changes
6633         (deplog): ditto
6634         * buffer.C (makeLaTeXFile): ditto
6635         * bufferparams.C (writeFile): ditt
6636         * lyxfont.C (stateText): ditto
6637         * lyxserver.C (read_ready): ditto
6638         * vc-backend.C (scanMaster): ditto
6639
6640         * BufferView_pimpl.h: ws changes
6641
6642         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6643
6644 2002-07-26  André Pönitz <poenitz@gmx.net>
6645
6646         * kb_sequence.C: remove unnedred usings
6647
6648 2002-07-26  Juergen Vigna  <jug@sad.it>
6649
6650         * lyxfind.C (LyXReplace): we have to check better if the returned
6651         text is not of theLockingInset()->getLockingInset().
6652
6653 2002-07-25  Juergen Vigna  <jug@sad.it>
6654
6655         * lyxfind.C (LyXReplace): don't replace if we don't get the
6656         right LyXText.
6657
6658         * undo_funcs.C (createUndo): remove debugging code.
6659
6660 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6661
6662         * buffer.C (parseSingleLyXformat2Token): Use default placement
6663         when reading old floats.
6664
6665         * FloatList.C (FloatList): Change the default placement of figure
6666         and tables to "tbp".
6667
6668 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6669
6670         * MenuBackend.C: using std::max
6671
6672 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6673
6674         * MenuBackend.C (expandToc):
6675         (expandToc2): code moved from xforms menu frontend. It is now
6676         generic and TOCs are transparent to menu frontends.
6677
6678 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6679
6680         * toc.C (getTocList): protect against buf=0
6681
6682         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6683         Menu as first parameter. Now, this calls itself recursively to
6684         expand a whole tree (this will be useful for TOC handling)
6685         (expandFloatInsert): remove 'wide' version of floats
6686
6687         * MenuBackend.h (submenuname): returns the name of the submenu.
6688         (submenu): returns the submenu itself, provided it has been
6689         created by MenuBackend::expand
6690
6691 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6692
6693         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6694         insets which have noFontChange == true. (bug #172)
6695
6696 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6697
6698         * BufferView_pimpl.C: add connection objects and use them...
6699         (Pimpl): here.
6700
6701 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6702
6703         * MenuBackend.C (expandLastfiles):
6704         (expandDocuments):
6705         (expandFormats):
6706         (expandFloatListInsert):
6707         (expandFloatInsert):
6708         (expand): split expand in parts
6709
6710 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6711
6712         * lyx_gui.C: use lyx_gui::exit()
6713
6714 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6715
6716         * LyXAction.C: show the failing pseudo action
6717
6718 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6719
6720         * buffer.C (readFile): Run the lyxconvert script in order to read
6721         old files.
6722
6723 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6724
6725         * LyXAction.C:
6726         * commandtags.h:
6727         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6728
6729 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6730
6731         * LyXAction.C:
6732         * commandtags.h:
6733         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6734
6735 2002-07-22  Herbert Voss  <voss@lyx.org>
6736
6737         * lengthcommon.C:
6738         * lyxlength.[Ch]: add support for the vertical lengths
6739
6740 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6741
6742         * toc.[Ch]: std:: fixes
6743
6744 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6745
6746         * lyxrc.C: do not include lyx_main.h
6747
6748         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6749         for layouts
6750
6751         * lyxrc.C:
6752         * encoding.C:
6753         * bufferlist.C:
6754         * BufferView2.C: include "lyxlex.h"
6755
6756         * tabular.h:
6757         * bufferparams.h: do not #include "lyxlex.h"
6758
6759         * lyxtextclasslist.C (Add): remove method
6760         (classlist): renamed to classlist_
6761
6762         * paragraph_pimpl.C:
6763         * paragraph.C:
6764         * text2.C:
6765         * CutAndPaste.C:
6766         * bufferview_funcs.C:
6767         * bufferlist.C:
6768         * text.C:
6769         * LaTeXFeatures.C:
6770         * buffer.C:
6771         * toc.C (getTocList): use BufferParams::getLyXTextClass
6772
6773         * toc.C (getTocList): use InsetFloat::addToToc
6774
6775         * toc.[Ch]: new files, containing helper functions to handle table
6776         of contents
6777
6778         * lyxfunc.C (dispatch): no need to remove spaces around command
6779         given as a string
6780         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6781         first command of the sequence; it is not very clever, but I do not
6782         have a better idea, actually
6783
6784         * LyXAction.C (LookupFunc): make sure to remove space at the
6785         beginning and end of the command
6786
6787 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6788
6789         * MenuBackend.C (getMenubar): new method: return the menubar of
6790         this menu set
6791         (read): treat differently reading of menu and menubar (in
6792         particular, the menubar has no name now)
6793         (Menu::menubar): remove
6794
6795         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6796         saving is finished
6797
6798 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6799
6800         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6801         a bibitem inset in a RTL paragraph.
6802
6803 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6804
6805         * paragraph_pimpl.C: constify
6806
6807         * BufferView_pimpl.C:
6808         * LaTeX.C:
6809         * lyxfunc.C: fix dispatch in a nicer way
6810
6811 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6812
6813         * lyxfunc.C (dispatch):
6814         * BufferView_pimpl.C:
6815         * BufferView_pimpl.h:
6816         * BufferView.C:
6817         * BufferView.h: rename Dispatch() to dispatch()
6818
6819         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6820
6821         * lyxlayout.C (Read): honor DependsOn tag
6822
6823         * lyxlayout.[Ch] (depends_on): new method
6824
6825         * version.C.in: update lyx_docversion
6826
6827         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6828
6829         * paragraph.C (validate): remove from here...
6830         * paragraph_pimpl.C (validate): ... and move here
6831         (isTextAt): make it const
6832
6833         * buffer.C (getLists): ws cleanup
6834
6835 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6836
6837         * language.C (read): Use iso8859-1 encoding in latex_lang
6838         (this prevents LyX from crashing when using iso10646-1 encoding).
6839
6840 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6841
6842         * text2.C (toggleInset): if cursor is inside an inset, close the
6843         inset and leave cursor _after_ it
6844
6845 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6846
6847         * lyxfunc.C: move minibuffer completion handling out of here
6848
6849 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6850
6851         * BufferView_pimpl.C:
6852         * LaTeX.C: fix dispatch calls
6853
6854 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6855
6856         * text.C (drawChars): Fix Arabic text rendering.
6857
6858 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6859
6860         * LyXAction.C:
6861         * commandtags.h:
6862         * lyxfunc.C: remove message-push/pop
6863
6864         * lyxserver.C:
6865         * lyxfunc.h:
6866         * lyxfunc.C: rationalise some code by removing verboseDispatch
6867           in favour of a bool argument to dispatch()
6868
6869 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6870
6871         * lyx_main.C (init): make sure to read symlinks as absolute paths
6872
6873 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6874
6875         * lyxfunc.h:
6876         * lyxfunc.C: no need for commandshortcut to be a member
6877
6878 2002-07-15  André Pönitz <poenitz@gmx.net>
6879
6880         * converter.C: add support for $$s (scripts from lib/scripts dir)
6881         * lyx_main.C: white space
6882
6883 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6884
6885         * bufferlist.C:
6886         * lyxrc.h:
6887         * lyxrc.C: remove second exit confirmation
6888
6889 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6890
6891         * BufferView.h:
6892         * BufferView.C:
6893         * BufferView2.C:
6894         * BufferView_pimpl.h:
6895         * BufferView_pimpl.C:
6896         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6897
6898 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6899
6900         * MenuBackend.C (expand): add numeric shortcuts to document menu
6901
6902         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6903
6904 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6905
6906         * lyxfont.C (setLyXFamily):
6907         (setLyXSeries):
6908         (setLyXShape):
6909         (setLyXSize):
6910         (setLyXMisc):
6911         (lyxRead):
6912         * debug.C (value):
6913         * buffer.C (asciiParagraph): use ascii_lowercase
6914
6915 2002-07-15  Mike Fabian  <mfabian@suse.de>
6916
6917         * lyxlex_pimpl.C (search_kw):
6918         * lyxlex.C (getLongString):
6919         * converter.h (operator<):
6920         * converter.C (operator<):
6921         * buffer.C (parseSingleLyXformat2Token):
6922         (asciiParagraph):
6923         * ToolbarDefaults.C (read):
6924         * MenuBackend.C (checkShortcuts):
6925         (read):
6926         * LColor.C (getFromGUIName):
6927         (getFromLyXName): use the compare_ascii_no_case instead of
6928         compare_no_case, because in turkish, 'i' is not the lowercase
6929         version of 'I', and thus turkish locale breaks parsing of tags.
6930
6931 2002-07-16  Angus Leeming  <leeming@lyx.org>
6932
6933         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6934         now takes a Buffer const & argument.
6935
6936 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6937
6938         * BufferView.C (resize): check there's a buffer to resize
6939
6940 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6941
6942         * lyxfunc.C: remove dead code
6943
6944         * lyxserver.h:
6945         * lyxserver.C: use lyx_guii::set_read_callback
6946
6947 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6948
6949         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6950         an inset in a RTL paragraph.
6951
6952 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6953
6954         * lyxfunc.C: repaint after a font size update
6955
6956 2002-07-15  André Pönitz <poenitz@gmx.net>
6957
6958         * lyxlength.C: inBP should be able to return negative values
6959
6960 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6961
6962         * lyxfunc.C: use lyx_gui::update_fonts()
6963
6964 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6965
6966         * lyxfunc.C: use lyx_gui::update_color()
6967
6968 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6969
6970         * bufferlist.C:
6971         * lyxfunc.h:
6972         * lyxfunc.C:
6973         * lyxrc.h:
6974         * lyxrc.C: remove file->new asks for name option, and let
6975           buffer-new take an argument
6976
6977 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6978
6979         * BufferView_pimpl.C: remove unneeded extra repaint()
6980
6981 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6982
6983         * LyXAction.C: allow command-sequence with NoBuffer
6984
6985         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6986
6987 2002-07-10  Angus Leeming  <leeming@lyx.org>
6988
6989         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6990
6991 2002-07-09  Angus Leeming  <leeming@lyx.org>
6992
6993         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6994
6995 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6996
6997         * lengthcommon.h: whitespace
6998
6999         * lyxfunc.C: update scrollbar after goto paragraph
7000
7001         * lyxtext.h: factor out page break drawing, and fix it so
7002           page break/added space paints as selected nicely
7003
7004 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
7005
7006         * BufferView_pimpl.C: add FIXMEs, clean up a little
7007
7008 2002-07-09  André Pönitz <poenitz@gmx.net>
7009
7010         * lyxfont.[Ch]: support for wasy symbols
7011
7012 2002-07-08  André Pönitz <poenitz@gmx.net>
7013
7014         * BufferView_pimpl.C: apply John's patch for #93.
7015
7016 2002-07-05  Angus Leeming  <leeming@lyx.org>
7017
7018         * BufferView_pimpl.C (buffer): generate previews if desired.
7019
7020         * LColor.h: add "preview" to the color enum.
7021
7022         * LColor.C (LColor): add a corresponding entry to the items array.
7023
7024         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
7025         with this buffer.
7026
7027 2002-07-05  Angus Leeming  <leeming@lyx.org>
7028
7029         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
7030         The body of the code is now in the method that is passed an ostream &
7031         rather than a file name.
7032         Pass an additional only_preamble parameter, useful for the forthcoming
7033         preview stuff.
7034
7035 2002-07-03  André Pönitz <poenitz@gmx.net>
7036
7037         * lyxfunc.C: simplify getStatus() a bit for math stuff
7038
7039 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7040
7041         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7042
7043 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7044
7045         * text.C (changeRegionCase): do not change case of all the
7046         document when region ends at paragraph end (bug #461)
7047
7048 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7049
7050         * paragraph.C (startTeXParParams):
7051         (endTeXParParams): add \protect when necessary
7052
7053 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7054
7055         * BufferView_pimpl.C (workAreaExpose): remove warning
7056
7057 2002-06-27  Angus Leeming  <leeming@lyx.org>
7058
7059         * Makefile.am: add lyxlayout_ptr_fwd.h.
7060
7061 2002-06-26  André Pönitz <poenitz@gmx.net>
7062
7063         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7064
7065 2002-06-25  Angus Leeming  <leeming@lyx.org>
7066
7067         * lyxfunc.C (dispatch): Comment out the call to
7068         grfx::GCache::changeDisplay. The method no longer exists now that the
7069         pixmap generation part of the graphics loader has been moved into
7070         InsetGraphics.
7071
7072 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7073
7074         * text2.C: layout as layout
7075
7076         * text.C: layout as layout
7077
7078         * tabular.C (OldFormatRead): layout as layout
7079
7080         * paragraph_pimpl.C (TeXDeeper): layout as layout
7081         (realizeFont): layout as layout
7082
7083         * paragraph.C (writeFile): layout as layout
7084         (validate): layout as layout
7085         (getFont): layout as layout
7086         (getLabelFont): layout as layout
7087         (getLayoutFont): layout as layout
7088         (breakParagraph): layout as layout
7089         (stripLeadingSpaces): layout as layout
7090         (getEndLabel): layout as layout
7091         (getMaxDepthAfter): layout as layout
7092         (applyLayout): layout as layout
7093         (TeXOnePar): layout as layout
7094         (simpleTeXOnePar): layout as layout
7095         (TeXEnvironment): layout as layout
7096         (layout): layout as layout
7097         (layout): layout as layout
7098
7099         * lyxtextclass.C (compare_name): new functor to work with
7100         shared_ptr, layout as layout
7101         (Read): layout as layout
7102         (hasLayout): layout as layout
7103         (operator): layout as layout
7104         (delete_layout): layout as layout
7105         (defaultLayout): layout as layout
7106
7107         * lyxlayout_ptr_fwd.h: new file
7108
7109         * lyxlayout.C (Read): layout as layout
7110
7111         * lyx_cb.C (MenuInsertLabel): layout as layout
7112
7113         * bufferlist.C (newFile): layout as layout
7114
7115         * buffer.C (readLyXformat2): layout as layout
7116         (parseSingleLyXformat2Token): layout as layout
7117         (insertStringAsLines): layout as layout
7118         (asciiParagraph): layout as layout
7119         (latexParagraphs): layout as layout
7120         (makeLinuxDocFile): layout as layout
7121         (simpleLinuxDocOnePar): layout as layout
7122         (makeDocBookFile): layout as layout
7123         (simpleDocBookOnePar): layout as layout
7124         (getLists): layout as layout
7125
7126         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7127
7128         * CutAndPaste.C (cutSelection): layout as layout
7129         (pasteSelection): layout as layout
7130         (SwitchLayoutsBetweenClasses): layout as layout
7131
7132         * BufferView_pimpl.C (Dispatch): layout as layout
7133         (smartQuote): layout as layout
7134
7135         * BufferView2.C (unlockInset): layout as layout
7136
7137 2002-06-24  André Pönitz <poenitz@gmx.net>
7138
7139         * lyxfunc.C: fix #487
7140
7141 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7142
7143         * lyxrc.h:
7144         * lyxrc.C:
7145         * lyxfunc.C: remove display_shortcuts, show_banner
7146
7147 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7148
7149         * Buffer_pimpl.C: oops, update on resize
7150
7151 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7152
7153         * buffer.C:
7154         * converter.C:
7155         * exporter.C:
7156         * lyxfunc.C:
7157         * BufferView.h:
7158         * BufferView.C: use repaint()
7159
7160         * BufferView_pimpl.h:
7161         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7162           as it's a clearer description. Remove superfluous
7163           redraws.
7164
7165 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7166
7167         * text.C: fix bug 488. Not ideal, but getting
7168           getWord() to work properly for the insets that
7169           matter is more difficult ...
7170
7171 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7172
7173         * BufferView_pimpl.C:
7174         * LyXAction.C:
7175         * commandtags.h:
7176         * lyxfunc.C: remove the six million index lyxfuncs to just
7177           one, and DTRT (bug 458)
7178
7179 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7180
7181         * BufferView.h:
7182         * BufferView.C:
7183         * BufferView_pimpl.h:
7184         * BufferView_pimpl.C: clean up resize() stuff,
7185           and unnecessary updateScreen()s
7186
7187 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7188
7189         * BufferView.h:
7190         * BufferView.C:
7191         * BufferView_pimpl.h:
7192         * BufferView_pimpl.C:
7193         * lyxfind.h:
7194         * lyxfind.C:
7195         * minibuffer.C: remove focus management of workarea,
7196           not needed. Use screen's greyOut()
7197
7198 2002-06-17  Herbert Voss  <voss@lyx.org>
7199
7200         * converter.C: (convert) do not post a message, when converting
7201         fails, let the calling function decide what to do in this case
7202
7203 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7204
7205         * lyxfunc.C: tidy up a little
7206
7207 2002-06-16    <alstrup@diku.dk>
7208
7209         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7210         Got rid of FORMS_H_LOCATION include. Now we are
7211         GUII.
7212
7213 2002-06-15  LyX Development team  <lyx@rilke>
7214
7215         * buffer.[Ch] (sgmlOpenTag):
7216         (sgmlCloseTag): Added support for avoiding pernicious mixed
7217         content. Return number of lines written.
7218
7219         (makeLinuxDocFile):
7220         (makeDocBookFile): Fixed calls to sgml*Tag.
7221         Simple white space clean.
7222
7223         (simpleDocBookOnePar): Simple white space clean.
7224
7225         * tabular.[Ch] (docBook): Renamed to docbook and got another
7226         argument to related with the pernicious mixed content.
7227
7228         (docbookRow): Fixed calls for docbook inset method.
7229
7230 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7231
7232         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7233         so it's X11 independent.
7234
7235         * kb*.[Ch]: ditto.
7236
7237         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7238
7239 2002-06-15  Lyx Development team  <lyx@electronia>
7240
7241         * intl.h: Renamed getTrans to getTransManager.
7242
7243 2002-06-14  Angus Leeming  <leeming@lyx.org>
7244
7245         * Makefile.am: nuke forgotten stl_string_fwd.h.
7246
7247 2002-06-12  Angus Leeming  <leeming@lyx.org>
7248
7249         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7250
7251 2002-06-13  Angus Leeming  <leeming@lyx.org>
7252
7253         * LaTeX.C:
7254         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7255
7256 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7257
7258         * kbmap.C (getiso): add support for cyrillic and greek
7259
7260 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7261
7262         * BufferView.h:
7263         * BufferView.C:
7264         * BufferView_pimpl.h:
7265         * BufferView_pimpl.C: move bogus scrolling logic
7266           to xforms
7267
7268 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7269
7270         * lyxfunc.C:
7271         * BufferView_pimpl.C: view->resize() change
7272
7273 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7274
7275         * BufferView_pimpl.C: topCursorVisible
7276           prototype change
7277
7278 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7279
7280         * Makefile.am:
7281         * lyx_gui.h:
7282         * lyx_gui.C: move to frontends/
7283
7284         * main.C:
7285         * lyx_main.h:
7286         * lyx_main.C: changes from above
7287
7288 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7289
7290         * intl.C:
7291         * intl.h:
7292         * kbmap.C:
7293         * kbsequence.C:
7294         * lyx_cb.C:
7295         * lyx_main.C: minor tidy
7296
7297 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7298
7299         * BufferView_pimpl.h:
7300         * BufferView_pimpl.C:
7301         * BufferView.h:
7302         * BufferView.C: make painter() const,
7303           remove dead code
7304
7305         * BufferView2.C: use screen() accessor
7306
7307         * lyx_main.h:
7308         * lyx_main.C: some minor cleanup
7309
7310 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7311
7312         * BufferView_pimpl.h:
7313         * BufferView_pimpl.C: remove enter/leaveView,
7314           use workHeight()
7315
7316 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7317
7318         * BufferView.h:
7319         * BufferView.C:
7320         * BufferView2.C:
7321         * BufferView_pimpl.h:
7322         * BufferView_pimpl.C: only construct screen once,
7323           rename
7324
7325         * lyxrc.C: remove pointless comment
7326
7327 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7328
7329         * BufferView.h:
7330         * BufferView.C: remove active() and belowMouse()
7331
7332         * BufferView_pimpl.h:
7333         * BufferView_pimpl.C: use workarea() not workarea_,
7334           and make it use a scoped_ptr instead
7335
7336 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7337
7338         * lyx_gui.C: add debug message on BadWindow
7339
7340 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7341
7342         * sp_spell.C: fdopen is not part of the C++ standard.
7343
7344         * paragraph.C (InsetIterator): use >= instead of ==
7345
7346 2002-06-07  Angus Leeming  <leeming@lyx.org>
7347
7348         Fixes needed to compile with Compaq cxx 6.5.
7349         * BufferView_pimpl.C:
7350         * DepTable.C:
7351         * buffer.C:
7352         * converter.C:
7353         * encoding.C:
7354         * lyx_gui.C:
7355         * lyx_main.C:
7356         * lyxtextclasslist.C:
7357         * minibuffer.C:
7358         * sp_spell.C:
7359         * tabular_funcs.C:
7360         * vc-backend.C:
7361         all c-library variables have been moved into namespace std. Wrap
7362         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7363
7364         * lyxlength.C:
7365         * tabular-old.C:
7366         * tabular.C:
7367         Add a using std::abs declaration.
7368
7369         * kbmap.h (modifier_pair):
7370         * paragraph.h (InsetTable, InsetList):
7371         * lyxfont.h (FontBits):
7372         type definition made public.
7373
7374         * bufferlist.C (emergencyWriteAll): the compiler complains that
7375         there is more than one possible lyx::class_fun template to choose from.
7376         I re-named the void specialisation as lyx::void_class_fun.
7377
7378         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7379
7380         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7381         the compiler is is unable to find tostr in write_attribute.
7382
7383 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7384
7385         * buffer.C (sgmlError): hide #warning
7386
7387 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7388
7389         * xtl/*: get rid of xtl, which is not in use anyway
7390
7391         * LyXAction.C (init):
7392         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7393         were unimplemented xtl experimentation
7394
7395 2002-06-04  André Pönitz <poenitz@gmx.net>
7396
7397         * lyxfunc.C: disable array operation on simple formulae
7398
7399 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7400
7401         * converter.C: constify a bit
7402
7403 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7404
7405         * lyx_gui.C: check xforms version correctly
7406
7407 2002-04-30  Herbert Voss  <voss@lyx.org>
7408
7409         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7410         "keep" option
7411
7412 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7413
7414         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7415           attempt to register it with a VCS)
7416
7417 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7418
7419         * lyx_main.C (init): honor variables LYX_DIR_13x and
7420         LYX_USERDIR_13x
7421
7422 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7423
7424         * buffer.h:
7425         * buffer.C:
7426         * lyx_main.C: fix a crash on bad command line,
7427           and give a useful exit status on error
7428
7429         * lyxfunc.C (doImport): allow -i lyx to work
7430
7431 2002-03-30  André Pönitz <poenitz@gmx.net>
7432
7433         * lyxfunc.C: mathed font changes
7434
7435 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7436
7437         * LaTeX.C:
7438         * importer.h:
7439         * importer.C:
7440         * lyx_sty.h:
7441         * lyx_sty.C:
7442         * lyxlex.C:
7443         * lyxrow.h:
7444         * lyxtext.h:
7445         * paragraph.h:
7446         * paragraph.C:
7447         * texrow.h:
7448         * texrow.C:
7449         * text.C:
7450         * trans_mgr.h: srcdocs, and some minor cleanups
7451
7452 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7453
7454         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7455         call getFont all the time)
7456
7457 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7458
7459         * switch from SigC signals to boost::signals
7460
7461 2002-05-29  André Pönitz <poenitz@gmx.net>
7462
7463         * paragraph_pimpl.C (getChar): don't call size() too often...
7464
7465 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7466
7467         * paragraph_pimpl.C (insertChar): do not try to update tables when
7468         appending (pos == size())
7469
7470         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7471         in order to reduce drastically the number of comparisons needed to
7472         parse a large document
7473
7474 2002-05-29  André Pönitz <poenitz@gmx.net>
7475
7476         * text.C:
7477         * text2.C:
7478         * lyxtextclass.C:
7479         * sp_pspell.h:
7480         * textclasslist.[Ch]:
7481         * sp_ispell.h: whitespace change
7482
7483 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7484
7485         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7486         lyxaction directly now.
7487
7488 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7489
7490         * trans.C:
7491         * lyxfont.C:
7492         * lyxvc.C: remove unused headers
7493
7494 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7495
7496         * Makefile.am:
7497         * buffer.h:
7498         * undostack.h:
7499         * undostack.C:
7500         * undo_funcs.h:
7501         * undo_funcs.C: some cleanups. Use shared_ptr
7502           and a template for the undo stacks.
7503
7504 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7505
7506         * BufferView_pimpl.h:
7507         * BufferView_pimpl.C:
7508         * kbmap.h:
7509         * kbmap.C:
7510         * kbsequence.h:
7511         * kbsequence.C:
7512         * lyxfunc.h:
7513         * lyxfunc.C:
7514         * text2.C: use key_state/mouse_state
7515
7516 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7517
7518         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7519         and LSubstring
7520
7521         * chset.C: change include order
7522         (loadFile): use boost regex and get rid of LRegex and LSubstring
7523
7524         * Makefile.am (BOOST_LIBS): new variable
7525         (lyx_LDADD): use it
7526
7527         * LaTeX.C: change include order.
7528         (scanAuxFile): use boost regex and get rid of LRegex and
7529         LSubstring
7530         (deplog): ditto
7531
7532 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7533
7534         * ColorHandler.h:
7535         * ColorHandler.C:
7536         * FontInfo.h:
7537         * FontInfo.C: moved to frontends/xforms/
7538
7539         * FontLoader.h:
7540         * FontLoader.C: moved into frontends for GUIIzation
7541
7542         * Makefile.am:
7543         * lyx_gui.C:
7544         * lyxfont.C:
7545         * lyxfunc.C: changes from above
7546
7547 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7548
7549         * LColor.C: remove spurious X include
7550
7551         * BufferView_pimpl.C:
7552         * Makefile.am:
7553         * font.h:
7554         * font.C:
7555         * text.C:
7556         * text2.C: move font metrics to frontends/
7557
7558 2002-05-24  Juergen Vigna  <jug@sad.it>
7559
7560         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7561         setting the undo_cursor.
7562
7563         * ParagraphParameters.h: include local includes first.
7564
7565 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7566
7567         * BufferView_pimpl.C:
7568         * BufferView_pimpl.h:
7569         * Makefile.am:
7570         * WorkArea.h:
7571         * WorkArea.C:
7572         * screen.C: move WorkArea into frontends/
7573
7574         * lyxscreen.h:
7575         * screen.C:
7576         * text.C:
7577         * BufferView.C:
7578         * BufferView2.C: move LyXScreen into frontends/
7579
7580         * lyxlookup.h:
7581         * lyxlookup.C:
7582         * lyx_gui.C: move lyxlookup into frontends/xforms/
7583
7584 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7585
7586         * BufferView2.C:
7587         * BufferView_pimpl.C:
7588         * FontLoader.C:
7589         * LyXView.h:
7590         * LyXView.C:
7591         * Makefile.am:
7592         * WorkArea.C:
7593         * XFormsView.h:
7594         * XFormsView.C:
7595         * buffer.C:
7596         * bufferlist.C:
7597         * bufferview_funcs.C:
7598         * converter.C:
7599         * importer.C:
7600         * lyx_cb.C:
7601         * lyx_gui.C:
7602         * lyx_main.C:
7603         * lyx_find.C:
7604         * lyxfunc.C:
7605         * lyxvc.C:
7606         * minibuffer.C:
7607         * text.C:
7608         * text2.C:
7609         * trans.C:
7610         * vc-backend.C: move LyX/XFormsView into frontends/
7611
7612 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7613
7614         * Makefile.am:
7615         * PainterBase.C:
7616         * PainterBase.h:
7617         * Painter.C:
7618         * Painter.h:
7619         * WorkArea.C:
7620         * WorkArea.h:
7621         * screen.C:
7622         * tabular.C:
7623         * text.C:
7624         * text2.C: move Painter to frontends/
7625
7626 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7627
7628         * buffer.C: comment out some some code that depend upon lyx_format
7629         < 220
7630
7631         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7632         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7633
7634         * buffer.h (NO_COMPABILITY): turn off compability
7635
7636         * ColorHandler.C: include scoped_array.hpp
7637
7638         * font.C: Use more specific smart_ptr header.
7639         * Painter.C: ditto
7640         * gettext.C: ditto
7641         * ShareContainer.h: ditto
7642         * lyx_main.h: ditto
7643         * kbmap.h: ditto
7644         * FontInfo.h: ditto
7645         * BufferView_pimpl.h: ditto
7646         * ColorHandler.h: ditto
7647
7648         * kbmap.C (defkey): change call to shared_ptr::reset
7649
7650 2002-05-21  Juergen Vigna  <jug@sad.it>
7651
7652         * buffer.C (insertErtContents): fix to insert ert asis if it is
7653         non empty. Skip it completely if it contains only whitespaces.
7654
7655 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7656
7657         * BufferView_pimpl.C:
7658         * BufferView2.C: clear selection on paste (bug 393)
7659
7660 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7661
7662         * DepTable.C: include ctime
7663
7664 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7665
7666         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7667
7668 2002-05-14  Juergen Vigna  <jug@sad.it>
7669
7670         * text.C (breakParagraph): fixed function to honor the keepempty
7671         layout in the right maner and also to permit the right breaking
7672         algorithm on empty or non empyt keepempty paragraphs.
7673
7674         * paragraph.C (breakParagraph): we have to check also if the par
7675         is really empty (!size()) for isempty otherwise we do the wrong
7676         paragraph break.
7677
7678 2002-05-10  Juergen Vigna  <jug@sad.it>
7679
7680         * buffer.[Ch] : The following are only changes to the ert
7681         compatibility read reading old LaTeX layout and font stuff and
7682         convert it to ERTInsets.
7683
7684         * buffer.h: added isErtInset().
7685
7686         * buffer.C (struct ErtComp): add a fromlayout bool to check
7687         if we're inside a LaTeX layout.
7688         (isErtInset): new helper function.
7689         (insertErtContents): look for other ert insets before this one
7690         and insert the contents there, so that we don't have subsequent
7691         ERT insets with nothing between them. This way we create only one
7692         inset with multiple paragraphs. Also check if we don't insert only
7693         spaces ' ' as they are ignored anyway afterwards in the .tex file
7694         so if we have only spaces we will ignore this latex part in the
7695         new file.
7696         (parseSingleLyXformat2Token \\layout): better compatibility when
7697         reading layout-latex stuff.
7698         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7699         language tag.
7700         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7701         stuff after reading the inset only get the information back from
7702         the stack.
7703
7704 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7705
7706         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7707
7708         * LaTeXFeatures.C (getBabelOptions): New method.
7709
7710 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7711
7712         * BufferView_pimpl.C (Dispatch): work around missing argument for
7713         'layout'
7714
7715 2002-05-08  Juergen Vigna  <jug@sad.it>
7716
7717         * text.C (leftMargin): handle paragraph leftindent.
7718
7719         * paragraph.C (writeFile): write the new \\leftindent tag.
7720         (validate): handle leftindent code.
7721         (TeXEnvironment): handle paragraphleftindent code again.
7722
7723         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7724
7725         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7726         for paragrap_extra indent code and new token \\leftindent.
7727         (latexParagraphs): handle the leftindent as environment.
7728
7729         * ParameterStruct.h: added leftindent support.
7730
7731         * ParagraphParameters.C (leftIndent): added support functions for
7732         the paragraph left indent.
7733
7734         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7735         more appropriate.
7736
7737 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7738
7739         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7740         inside insetERT.
7741
7742         * text.C (computeBidiTables): No bidi in insetERT.
7743
7744         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7745         in RTL documents.
7746
7747 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7748
7749         * version.C.in: pre 5
7750
7751 2002-05-02  José Matos  <jamatos@fep.up.pt>
7752         * buffer.C (makeDocBookFile): white space changes, add newline to
7753         command styles.
7754         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7755
7756         * tabular.C (docBook): fix typo.
7757
7758 2002-05-03  Juergen Vigna  <jug@sad.it>
7759
7760         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7761         change in LyXText as we can not be sure it was not freed.
7762         (drawOneRow): remove unused code.
7763
7764         * text.C (drawInset): redo the calculation of the need_break_row as
7765         it could have a row which was already freed.
7766         (draw): look at the return value of drawInset and return false if
7767         it also returned false.
7768         (paintRowText): look at the return value of draw and return false if
7769         it also returned false.
7770
7771         * lyxtext.h: added bool return type to drawInset() and draw() so that
7772         if we have a change in the row so that the rowbreak has to be redone
7773         we abort drawing as it will be called again.
7774
7775 2002-05-02  Juergen Vigna  <jug@sad.it>
7776
7777         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7778         a change in the maintext also if we're inside an inset.
7779         (Dispatch): set the cursor again after a break line and after the
7780         screen has been updated as it could be we're in a different row.
7781
7782         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7783         to set the cursor behind the pargraph with > size().
7784         (setCursor): check also for the same paragraph when checking where
7785         to put the cursor if we have a NFR inset.
7786
7787         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7788         parts of layout read further up as it still was in the wrong
7789         position.
7790
7791 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7792
7793         * screen.C (drawFromTo): change sine fullRebreak always return
7794         true.
7795
7796         * buffer.C (parseSingleLyXformat2Token): reindent some
7797
7798         * BufferView_pimpl.C (update): change since fullRebreak always
7799         return true.
7800         (Dispatch): git rid of the last hardcoded "Standard"s.
7801
7802 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7803
7804         * text2.[Ch] (fullRebreak): make it return void now that we always
7805         returned true.
7806
7807 2002-04-30  Juergen Vigna  <jug@sad.it>
7808
7809         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7810         ert compatibility check for "latex" layout.
7811
7812 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7813
7814         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7815         minipages: use col% instead of p%, and also use the current font.
7816         (makeLaTeXFile): Fix use babel condition.
7817         (parseSingleLyXformat2Token): Correct font when reading old floats.
7818
7819 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7820
7821         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7822         inserting list of floats.
7823
7824 2002-04-25  Herbert Voss  <voss@lyx.org>
7825
7826         * MenuBackend.C (expand): don't add the graphics extensions to the
7827         export menu
7828
7829 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7830
7831         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7832         non-existing layout, do not complain if it was the default layout
7833         of the original class (bug #342)
7834
7835 2002-04-24  Juergen Vigna  <jug@sad.it>
7836
7837         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7838         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7839
7840 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7841
7842         * buffer.C (getBibkeyList): If using \bibliography, return the
7843         option field with the reference itself. Enables us to provide natbib
7844         support when using \bibliography.
7845
7846 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7847
7848         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7849
7850         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7851         natbib is provided by the LaTeX class.
7852
7853 2002-04-23  Juergen Vigna  <jug@sad.it>
7854
7855         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7856         Wakeup functions.
7857
7858         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7859
7860 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7861
7862         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7863
7864         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7865         ensuremath around textordmasculine, textordfeminine and
7866         textdegree.
7867
7868 2002-04-19  Juergen Vigna  <jug@sad.it>
7869
7870         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7871         reinitializing the buffer otherwise row-dimensions may be wrong.
7872         (update): reset also the selection cursors if they do exits otherwise
7873         their x/y positions may be wrong.
7874
7875         * text2.C (cursorDown): don't enter the inset if we came from a row
7876         above and are one row over the inset.
7877
7878         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7879         really leaving an inset.
7880
7881 2002-04-18  Juergen Vigna  <jug@sad.it>
7882
7883         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7884         of the selected paragraph does not have the selected layout also if
7885         the last one had!
7886
7887         * text2.C (setLayout): fixed bug which did not change last selected
7888         paragraph.
7889
7890         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7891         changed the read and substituted \\end_float with \\end_inset!
7892
7893         * BufferView_pimpl.C (cursorPrevious):
7894         (cursorNext): fixed to make it work with rows heigher than the work
7895         area without moving the cursor only the draw of the row.
7896         (workAreaMotionNotify): fix jumping over high rows.
7897
7898 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7899
7900         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7901         Ressler.
7902
7903 2002-04-16  Juergen Vigna  <jug@sad.it>
7904
7905         * text2.C (setCursor): set also the irow().
7906         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7907         (cursorUp):
7908         (cursorDown): support for locking an inset if the x_fix value goes
7909         inside it. That way I can transverse insets too with cursor up/down.
7910
7911         * lyxrow.h: added irow helper function same as other (i) functions.
7912
7913         * BufferView_pimpl.C (cursorPrevious):
7914         (cursorNext): fixed for insets!
7915
7916 2002-04-15  Juergen Vigna  <jug@sad.it>
7917
7918         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7919         position otherwise it is wrong in some cases.
7920
7921         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7922         inside the inset before the call.
7923
7924 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7925
7926         * buffer.[Ch] (getBibkeyList): make it const.
7927
7928 2002-04-12  Juergen Vigna  <jug@sad.it>
7929
7930         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7931
7932         * text2.C (getCursorX): new helper function
7933         (setCursor): compute also ix_
7934         (setCursorFromCoordinates): set also ix.
7935
7936         * lyxcursor.h: added ix_ and helper functions.
7937
7938         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7939
7940         * buffer.C (insertStringAsLines): dont break paragraph if the this
7941         paragraph is inside an inset which does not permit it!
7942
7943         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7944         also with no chars on this paragraph.
7945         (paintRowText): only paint stuff if it's inside the workarea!
7946
7947         * paragraph.C (breakParagraph): honor keepempty flag and break the
7948         paragraph always below not above.
7949
7950         * BufferView2.C (unlockInset): update the paragraph layout on inset
7951         unlock as we changed paragraph in such a case.
7952
7953         * lyxfind.C (LyXFind): clear the former selection if not found!
7954
7955         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7956         again called in insertChar().
7957
7958         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7959         an inset which uses the whole row!
7960         (rightMargin): ditto.
7961         (insertChar): force a rebreak if we inserted an inset!
7962
7963 2002-03-28  Herbert Voss  <voss@lyx.org>
7964
7965         * lyxlength.[Ch]: add inBP() to get the right PS-point
7966         units (BigPoint). With inPixels we have rounding errors
7967
7968 2002-04-11  Juergen Vigna  <jug@sad.it>
7969
7970         * text2.C (setCursorFromCoordinates): set iy to the right value.
7971         (setCursor): add check if row->previous exists!
7972
7973         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7974         an old float_type as this was the case in the old code!
7975
7976         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7977
7978         * BufferView2.C (showLockedInsetCursor): use iy
7979         (fitLockedInsetCursor): ditto
7980
7981         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7982         locked insets as there we have the right value now.
7983
7984         * lyxcursor.C: added iy_ variable and iy functions to set to the
7985         baseline of cursor-y of the locked inset.
7986
7987         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7988         (setCursor): fixed for insets which need a full row.
7989
7990         * text.C (rowLastPrintable): don't ignore the last space when before
7991         an inset which needs a full row.
7992         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7993         as last character of a row when before a inset which needs a full row.
7994
7995 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7996
7997         * version.C.in: update date
7998
7999         * text2.C (fullRebreak): try to always return true and see what
8000         happens...
8001
8002 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8003
8004         * MenuBackend.C (expand): use Floating::listName
8005
8006         * FloatList.C (FloatList): add listName argument to the built-in
8007         floats
8008
8009         * Floating.[Ch]: add listName member, which is the 'List of XXX'
8010         text associated with the float.
8011
8012 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8013
8014         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
8015
8016 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8017
8018         * ShareContainer.h: add a couple of missing typenames.
8019
8020 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
8021
8022         * lyxrc.C (getDescription): use _() correctly rather than N_().
8023
8024 2002-03-28  Herbert Voss  <voss@lyx.org>
8025
8026         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
8027         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
8028
8029 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8030
8031         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
8032         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
8033
8034 2002-03-29  Juergen Vigna  <jug@sad.it>
8035
8036         * lyxfunc.C (dispatch): add a missing fitCursor call.
8037
8038         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8039         it was scrolled by a cursor move, so return the bool status.
8040
8041         * BufferView.C (fitCursor): return the bool flag also to the outside
8042         world as this is needed.
8043
8044         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8045
8046         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8047         call the edit() as it is not needed (and wrong) IMO.
8048         (workAreaButtonPress): set the screen_first variable before evt.
8049         unlock the inset as this may change screen_first and then we have
8050         a wrong y position for the click!
8051
8052 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8053
8054         * MenuBackend.C (expand): another translation that I missed
8055
8056 2002-03-28  Juergen Vigna  <jug@sad.it>
8057
8058         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8059
8060         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8061
8062 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8063
8064         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8065
8066         * MenuBackend.C (expand): fix export/view/update when there is no
8067         document open.
8068
8069 2002-03-27  Herbert Voss  <voss@lyx.org>
8070
8071         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8072         and text%
8073
8074 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8075
8076         * bufferview_funcs.C (currentState): only show paragraph number
8077         for is DEVEL_VERSION is set.
8078
8079         * lyxfunc.C (dispatch): put warning in INFO channel
8080
8081         * MenuBackend.C (expand): translate the name of floats
8082
8083         * FloatList.C (FloatList): mark the float names for translation
8084
8085         * converter.C (convert): use LibScriptSearch
8086
8087 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8088
8089         * MenuBackend.C (defaults): fix default menu (we might as well get
8090         rid of it...)
8091
8092 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8093
8094         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8095         directory.
8096
8097 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8098
8099         * lyxvc.C: reorder includes.
8100
8101 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8102
8103         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8104           properly
8105
8106 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8107
8108         * CutAndPaste.C: change layouts earlier on paste
8109           to avoid crashing when calling getFont()
8110
8111 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8112
8113         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8114         irritating #error.
8115
8116 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8117
8118         * WorkArea.C: remove 'Pending' debug message.
8119
8120         * most files: ws cleanup
8121
8122         * buffer.[Ch]: ws changes
8123
8124         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8125
8126 2002-03-21  Juergen Vigna  <jug@sad.it>
8127
8128         * tabular.C (SetMultiColumn): collapse also the contents of the
8129         cells and set the last border right. Added a Buffer const * param.
8130
8131 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8132
8133         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8134         linking or not.
8135
8136 2002-03-19  Juergen Vigna  <jug@sad.it>
8137
8138         * text2.C (clearSelection): reset also xsel_cache.
8139
8140         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8141         where it needs to be called (John tells us to do so too :)
8142         (selectionLost): reset sel_cache.
8143
8144         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8145
8146 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8147
8148         * text2.C (setCursorIntern): put debuging code in INSETS channel
8149
8150 2002-03-19  André Pönitz <poenitz@gmx.net>
8151
8152         * lyxfunc.C: tiny whitespace change
8153
8154 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8155
8156         * ToolbarDefaults.C (init):
8157         * LyXAction.C (init):
8158         * commandtags.h:
8159         * BufferView_pimpl.C (Dispatch):
8160         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8161
8162 2002-03-19  Allan Rae  <rae@lyx.org>
8163
8164         * exporter.C (Export): removeAutoInsets before doing anything else.
8165         While I've just introduced a dependency on BufferView this really is
8166         the best place to clean the buffer otherwise you need to cleanup in
8167         a dozen places before calling export or cleanup in a dozen functions
8168         that export calls.
8169
8170         * converter.C (runLaTeX):
8171         (scanLog): Better handling of removeAutoInsets and screen updates.
8172
8173         * lyxfunc.C (dispatch): small whitespace changes
8174
8175 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8176
8177         * WorkArea.C (C_WorkAreaEvent): return a value.
8178         (event_cb): return 1 if we handled the event, 0 otherwise.
8179
8180         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8181
8182 2002-03-18  Juergen Vigna  <jug@sad.it>
8183
8184         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8185         (GetAdditionalWidth): ditto.
8186         (RightLine): ditto.
8187         (LeftLine): ditto.
8188
8189         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8190         inset if we're there actually (probably not used right now but this
8191         is the direction to go for unifying code).
8192         (paste): disable code to clear the selection.
8193
8194         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8195         inside an InsetText and move the check further up as it is in the
8196         wrong place.
8197
8198         * text2.C (pasteSelection): set a selection over the pasted text.
8199
8200 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8201
8202         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8203         and libgraphics to build on Cygwin.
8204
8205 2002-03-15  Juergen Vigna  <jug@sad.it>
8206
8207         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8208         inserting an Inset into the paragraph. I know this is not the best
8209         fix but we already use current_view in CutAndPaste so we will remove
8210         all of it's using at the same time.
8211
8212         * buffer.C (sgmlError): deactivated function till it is rewritten in
8213         the right mode, now it can create problems.
8214
8215         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8216         before accessing it.
8217
8218 2002-03-14  Juergen Vigna  <jug@sad.it>
8219
8220         * undo_funcs.C (textHandleUndo): do the right thing when updating
8221         the inset after the undo/redo.
8222
8223         * text2.C (setCursor): just some testcode for #44 not ready yet.
8224
8225         * undo_funcs.C (textHandleUndo): set the next() and previous()
8226         pointers of the paragraph to 0 before deleting otherwise we have
8227         problems with the Paragraph::[destructor].
8228
8229         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8230         on a paragraph insertion.
8231
8232 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8233
8234         * buffer.C (asciiParagraph): use += operator for char append to
8235         string.
8236
8237         * paragraph.C (getFontSettings): compare >= not just >
8238         (highestFontInRange): ditto
8239         (setFont): ditto
8240
8241 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8242
8243         * paragraph.C: change several algorithm to be more appripriate for
8244         the problem domain. This is lookip in FontList and in the InsetList.
8245
8246 2002-03-13  André Pönitz <poenitz@gmx.net>
8247
8248         * commandtags.h:
8249         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8250
8251 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8252
8253         * commandtags.h:
8254         * LyXAction.C:
8255         * lyxfunc.C:
8256         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8257
8258 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8259
8260         * Painter.C (display): anon helper function, adjust code for this
8261         change.
8262         (pixmap): remove function.
8263
8264         * Painter.h: remove private display variable.
8265
8266         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8267
8268 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8269
8270         * WorkArea.[Ch]: remove figinset_canvas cruft.
8271
8272 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8273
8274         * lyxtextclass.C (operator): add one item cache optimization.
8275
8276         * bufferlist.h: doxy changes
8277
8278         * bufferlist.C: ws changes
8279
8280         * DepTable.[Ch] (ext_exist): place const in the right spot.
8281
8282         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8283         call resizeInsets.
8284         (workAreaExpose): call resizeInsets when the with BufferView changes.
8285         (Dispatch): adjust for protectedBlank removal
8286         (specialChar): call updateInset if the insert went ok.
8287
8288         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8289         specialChar instead.
8290
8291         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8292
8293         * BufferView.h: doxy change
8294
8295         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8296
8297         * lyxtextclass.C (operator[]): remove non-const version
8298         (defaultLayout): remove non-const version
8299
8300 2002-03-12  Juergen Vigna  <jug@sad.it>
8301
8302         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8303         did resize the LyXText too.
8304
8305         * buffer.C (readLyXformat2): set layout information on newly allocated
8306         paragraphs.
8307
8308         * tabular.C (OldFormatRead): set layout information on the paragraph.
8309
8310 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8311
8312         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8313
8314 2002-03-11  Juergen Vigna  <jug@sad.it>
8315
8316         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8317         plainly wrong.
8318         (resizeCurrentBuffer): force also the insets to resize themselfes.
8319         (moveCursorUpdate): fixed up for InsetText.
8320
8321 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8322
8323         * commandtags.h:
8324         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8325         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8326         value of Dialogs::tooltipsEnabled().
8327         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8328
8329 2002-03-08  Juergen Vigna  <jug@sad.it>
8330
8331         * BufferView_pimpl.C (updateInset): update inset inside inset also
8332         if it isn't inside theLockingInset().
8333
8334 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8335
8336         * buffer.C (asciiParagraph): redo some of the word and line length
8337         handling.
8338         (getLists): look for Caption instead of caption.
8339
8340 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8341
8342         * buffer.C (Buffer): initialize niceFile to true
8343         (makeLaTeXFile):
8344         (makeLinuxDocFile):
8345         (makeDocBookFile): make sure niceFile is true on exit
8346
8347 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8348
8349         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8350
8351 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8352
8353         * LyXSendto.C: remove.
8354         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8355         * lyx_gui.C: remove now-redundant comment.
8356         * ColorHandler.h: remove forward declaration of class WorkArea.
8357         * lyxfunc.C: remove #include "WorkArea.h".
8358
8359 2002-03-07  Juergen Vigna  <jug@sad.it>
8360
8361         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8362         got moved away with the DEPM and also set the inset_owner always
8363         right which before could have been omitted.
8364
8365 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8366
8367         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8368         wanted layout is not found.
8369
8370 2002-03-07  Juergen Vigna  <jug@sad.it>
8371
8372         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8373
8374 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8375
8376         * paragraph.C (breakParagraph): use default layout not layout of
8377         prev paragraph.
8378         (Paragraph): clear ParagraphParameters.
8379
8380 2002-03-06  Juergen Vigna  <jug@sad.it>
8381
8382         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8383         otherwise it would not be a valid lenght. Fixed a special case in
8384         the minipage compatibility read where we end the document with a
8385         minipage.
8386
8387         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8388         was set as it could be 0 for InsetTexts first entry.
8389
8390 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8391
8392         * paragraph.C (writeFile): if layout is empty write out
8393         defaultLayoutName().
8394
8395         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8396         file without named layout we set layout to defaultLayoutName().
8397
8398 2002-03-06  Juergen Vigna  <jug@sad.it>
8399
8400         * CutAndPaste.C (copySelection): set layout for new paragraph.
8401
8402         * text.C (prepareToPrint): leave ERT inset left aligned
8403         (leftMargin): don't indent paragraphs inside ERT insets
8404
8405 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8406
8407         * paragraph.C (breakParagraph): dont call clear do the work manually
8408
8409         * paragraph.[Ch] (clear): remove function
8410
8411 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8412
8413         * paragraph.C (Paragraph): dont call clear, the work has already
8414         been done.
8415
8416         * lyxtextclass.C (operator): assert if n is empty
8417
8418         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8419         work manually instead.
8420
8421 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8422
8423         * BufferView_pimpl.C: protect selectionLost against text == 0
8424
8425 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8426
8427         * text.C (breakParagraph): fix a setting layout to '0' problem.
8428
8429 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8430
8431         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8432         final location of file, for the included files, and graphics.
8433
8434 2002-03-05  Juergen Vigna  <jug@sad.it>
8435
8436         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8437
8438 2002-03-04  Juergen Vigna  <jug@sad.it>
8439
8440         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8441
8442         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8443         last column of multicolumn cells.
8444         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8445
8446 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8447
8448         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8449         file if it doesn't go to a temporary file.
8450
8451         * buffer.C (sgmlOpenTag):
8452         (sgmlCloseTag):  remove extra newline insertion.
8453
8454 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8455
8456         * text.C (getRowNearY): comment out debug msg
8457
8458 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8459
8460         * text2.C: first -> first_y
8461
8462         * text.C (getRowNearY): add some attemts at a possible
8463         optimization, not working.
8464
8465         * tabular.[Ch]: add BufferParams to several function so that newly
8466         created paragraph can be initialized to he default layotu for the
8467         buffers textclass.
8468
8469         * tabular-old.C (ReadOld): add buf->params to call of Init
8470
8471         * screen.C: rename text->first to text->first_y
8472
8473         * paragraph.C (breakParagraph): always set layout in the broken
8474         paragraph
8475
8476         * lyxtextclass.C (Read): remove lowercase
8477         (hasLayout): ditto
8478         (operator): ditto
8479         (delete_layout): ditto
8480
8481         * lyxtext.h: rename first -> first_y
8482
8483         * lyxlayout.C (Read): remove lowercase
8484         (name): ditto
8485         (setName): ditto
8486         (obsoleted_by): ditto
8487
8488         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8489
8490         * buffer.C (insertErtContents): add params are to InsetERT
8491         (parseSingleLyXformat2Token): add code to check if a paragraphs
8492         layout really exist.
8493         (parseSingleLyXformat2Token): add params to several inset
8494         constructors
8495         (asciiParagraph): remove lowercase, do the layout comparisons with
8496         no_case
8497
8498         * BufferView_pimpl.C (cursorNext): first -> first_y
8499         (resizeCurrentBuffer): first -> first_y
8500         (updateScrollbar): first -> first_y
8501         (scrollCB): first -> first_y
8502         (workAreaMotionNotify): first -> first_y
8503         (workAreaButtonPress): first -> first_y
8504         (checkInsetHit): first -> first_y
8505         (cursorPrevious): first -> first_y
8506         (cursorNext): first -> first_y
8507         (Dispatch): add buffer_->params to severl inset contructors
8508
8509 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8510
8511         * lyxlayout.C (Read): remove some debug info that I forgot.
8512
8513         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8514         clean up the code slightly.
8515         (makeLinuxDocFile): ditto
8516         (makeDocBookFile): ditto
8517
8518         * text2.C: layout as string
8519
8520         * text.C: layout as string
8521
8522         * paragraph_pimpl.C: layout as string
8523
8524         * paragraph.[Ch]: layout as string
8525
8526         * lyxtextclasslist.[Ch]: layout as string
8527
8528         * lyxtextclass.[Ch]: layout as string
8529
8530         * lyxtext.h: layout as string
8531
8532         * lyxlayout.[Ch]: layout as string
8533
8534         * lyx_cb.C: layout as string
8535
8536         * bufferview_funcs.C: layout as string
8537
8538         * bufferparams.C: layout as string
8539
8540         * buffer.C: layout as string
8541
8542         * LyXView.[Ch]: layout as string
8543
8544         * LaTeXFeatures.[Ch]: layout as string
8545
8546         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8547
8548         * BufferView_pimpl.C: change current_layout to string, remove
8549         lyx::layout_type.
8550         (Dispatch):
8551         (smartQuote):
8552         (insertInset):
8553         (workAreaButtonRelease): layout as string
8554
8555         * BufferView2.C (unlockInset): adjust
8556
8557         * vspace.C (asLatexCommand): use an explict temp variable.
8558
8559 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8560
8561         * Makefile.am: use FRONTEND_*
8562
8563 2002-03-01  Juergen Vigna  <jug@sad.it>
8564
8565         * tabular.C (SetWidthOfMulticolCell): changed to something better
8566         I hope but still work in progress.
8567         (recalculateMulticolumnsOfColumn): renamed function from
8568         recalculateMulticolCells as it is more appropriate now.
8569         (SetWidthOfCell): calculate multicols better.
8570
8571 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8572
8573         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8574
8575         * lyxfunc.C (processKeySym): print sequence also if it is
8576         `deleted' (complete)
8577
8578         * kbsequence.C (print): print sequence even if it is deleted
8579         (complete would be a better word, actually).
8580
8581         * lyxfunc.C (dispatch): print complete options after a prefix key
8582
8583         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8584
8585 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8586
8587         * text2.C (setCharFont): eliminate setCharFont code duplication.
8588
8589 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8590
8591         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8592         LFUN_TABULAR_FEATURE (bug #177)
8593
8594 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8595
8596         * Makefile.am: remove figure.h
8597
8598 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8599
8600         * Bufferview_pimpl.C:
8601         * CutAndPasteC:
8602         * LaTeX.C:
8603         * LyXSendto.C:
8604         * buffer.C:
8605         * bufferlist.C:
8606         * converter.C:
8607         * language.C:
8608         * lyxfunc.C:
8609         * lyxvc.C:
8610         * paragraph.C:
8611         * text.C:
8612         * text2.C: remove #include "lyx_gui_misc.h".
8613
8614         * LaTeX.C: added #include <cstdio>
8615
8616 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8617
8618         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8619         that the paragraph following this one can have.
8620
8621         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8622
8623         * vspace.C (asLatexCommand): fix bogus gcc warning
8624
8625         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8626
8627 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8628
8629         * text2.C (setLayout): get rid of redundant code
8630
8631 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8632
8633         * text2.C (incDepth): make sure depth cannot be increased beyond
8634         reasonable values.
8635
8636 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8637
8638         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8639         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8640
8641         * PainterBase.h (image):
8642         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8643         a LyXImage const *.
8644
8645 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8646
8647         * BufferView.C:
8648         * BufferView.h:
8649         * BufferView_pimpl.C:
8650         * BufferView_pimpl.h:
8651         * LaTeXFeatures.C:
8652         * LyXAction.C:
8653         * LyXView.C:
8654         * Makefile.am:
8655         * UpdateList.h:
8656         * UpdateList.C:
8657         * buffer.C:
8658         * figure.h:
8659         * figureForm.C:
8660         * figureForm.h:
8661         * figure_form.C:
8662         * figure_form.h:
8663         * lyx_cb.C:
8664         * lyx_gui.C:
8665         * lyx_gui_misc.C:
8666         * lyxfunc.C:
8667         * sp_base.h:
8668         * sp_ispell.h:
8669         * sp_pspell.h:
8670         * sp_spell.C: remove fig inset, and the crap house of
8671           cards that follows it
8672
8673 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8674
8675         * Makefile.am:
8676         * lyxserver.C:
8677         * os2_defines.h:
8678         * os2_errortable.h:
8679         * nt_defines.h: move .h into support/
8680
8681         * vms_defines.h: remove
8682
8683         * WorkArea.C: add space in debug output
8684
8685         * text2.C:
8686         * paragraph.C:
8687         * buffer.C: add WITH_WARNINGS
8688
8689         * vc-backend.h:
8690         * vc-backend.C:
8691         * bufferlist.C: s/retrive/retrieve/, add docs
8692
8693         * vspace.h:
8694         * vspace.C:
8695         * kbmap.h:
8696         * lyxlength.h:
8697         * lyxgluelength.h:
8698         * length_common.h:
8699         * chset.h:
8700         * chset.C: add docs
8701
8702         * lyxgui.C: add ID to X error handler
8703
8704         * lyxtestclass.c: fix typo
8705
8706 2002-02-26  Juergen Vigna  <jug@sad.it>
8707
8708         * tabular_funcs.C (write_attribute): changed so that some default
8709         attributes are not written at all.
8710         (getTokenValue): set default values before trying to read the
8711         value so we have the return value always set as default if we don't
8712         find the token we search for.
8713
8714         * tabular.C (Write): write bools as bools not as strings!
8715
8716 2002-02-22  Juergen Vigna  <jug@sad.it>
8717
8718         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8719         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8720
8721         * text.C (leftMargin): don't add an indent for paragraphs inside
8722         tabular cells (fix #208).
8723
8724 2002-02-21  José Matos  <jamatos@fep.up.pt>
8725
8726         * tabular.C (docBook): fixed support for long tables.
8727
8728 2002-02-20  Juergen Vigna  <jug@sad.it>
8729
8730         * text2.C (getFont): get the drawing font of the Inset if this
8731         paragraph is inside an inset (only important for InsetERT for now).
8732
8733         * buffer.C (insertErtContents): use new lanugage params in ERT
8734         constructor.
8735
8736         * CutAndPaste.C: commenting out seemingly uneeded code.
8737
8738 2002-02-19  Allan Rae  <rae@lyx.org>
8739
8740         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8741         Iterators might be simple to use but they also get invalidated.
8742         (removeAutoInsets): renamed saved cursor tracking variables and added
8743         some comments to clarify what everything does.
8744
8745 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8746
8747         * Chktex.C:
8748         * LaTeX.C:
8749         * LyXSendto.C:
8750         * converter.C:
8751         * lyx_cb.C:
8752         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8753         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8754
8755         * lyxfunc.C:
8756         * vc-backend.h: remove #include "support/syscall.h"
8757
8758         * LaTeX.C:
8759         * LyXSendto.C:
8760         * converter.C: rearrange #includes in Lars' approved fashion.
8761
8762         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8763         forward declare class Timeout in the header file.
8764
8765         * XFormsView.C: changes due to the above.
8766
8767         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8768         similar to LyXView.
8769
8770         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8771         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8772
8773 2002-02-18  José Matos  <jamatos@fep.up.pt>
8774
8775         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8776         insets contents.
8777
8778 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8779
8780         * a lot of small ws changes
8781         * add a lot of using std::XXX
8782         * use std construcs some places where approp.
8783         * use some exisint stuff from lyxfunctional where approp.
8784         * Make file changes to use partial linking (lets test this now...)
8785
8786 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8787
8788         * Chktex.C:
8789         * buffer.C:
8790         remove #include "support/syscontr.h" as it's redundant. Always has been.
8791
8792         * Chktex.C:
8793         * LaTeX.C:
8794         * LyXSendto.C:
8795         * converter.C:
8796         * lyx_cb.C:
8797         * vc-backend.C:
8798         change Systemcalls::System to Systemcalls::Wait and
8799         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8800         No change of functionality, just reflects the stripped down Systemcalls
8801         class.
8802
8803 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8804
8805         * debug.[Ch]: add a GRAPHICS type to the enum.
8806
8807 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8808
8809         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8810
8811         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8812         there is an inset.
8813
8814 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8815
8816         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8817         match the changes below.
8818
8819         * text2.C (toggleInset): if there is not editable inset at cursor
8820         position, try to see if cursor is _inside_ a collapsable inset
8821         and close it.
8822
8823 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8824
8825         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8826         document menu has a nice checkbox
8827
8828 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8829
8830         * lyxlength.C (asLatexString): change PW to output as percent of
8831         \textwidth.
8832
8833         * lengthcommon.C: change '%' to 't%'
8834
8835         * lyxfunc.C (dispatch): a few comments from Martin
8836
8837 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8838
8839         * WorkArea.h:
8840         * WorkArea.C:
8841         * BufferView_pimpl.h:
8842         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8843           the X selection.
8844
8845 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8846
8847         * vspace.C (inPixels): fix compiler warning
8848
8849 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8850
8851         * lyxfunc.C (getStatus): fix status message for disabled commands.
8852
8853 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8854
8855         * BufferView_pimpl.C: fix crash on close buffer
8856         during selection (#227)
8857
8858 2002-01-27  Herbert Voss  <voss@lyx.org>
8859
8860         * buffer.C: link old Figure to new graphic inset
8861
8862 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8863
8864         * FontLoader.C (getFontinfo): Change the latex font names in order
8865         to match the names of type1inst.
8866
8867 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8868
8869         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8870
8871         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8872         (extchanged): ditto
8873         (ext_exist): ditto
8874         (remove_files_with_extension): ditto
8875         (remove_file): ditto
8876         (write): ditto
8877
8878         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8879         document is smaller than the work area height. Do not initialize
8880         static variables to 0.
8881
8882 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8883
8884         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8885
8886         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8887         LFUN_LAYOUT_PARAGRAPHS.
8888
8889         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8890         tabular. It is possible to provide a possible cell, which will
8891         typically be the actcell from the corresponding insettabular
8892
8893         * lyxfunc.C (getStatus): small cleanup; disable
8894         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8895         true
8896
8897 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8898
8899         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8900
8901         * paragraph.C (startTeXParParams):
8902         (endTeXParParams): new methods. The LaTeX code to
8903         start/end paragraph formatting
8904         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8905         empty (fixes bug #200)
8906
8907         * vspace.C (inPixels): adapt to the change below
8908         (inPixels): [later] more cleanups (remove unused variables)
8909
8910         * lyxlength.C (inPixels): change to use a width and a height as
8911         parameter.
8912
8913 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8914
8915         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8916         Replaced with \paperwidth
8917
8918         * DepTable.C (insert): add std:: qualifier
8919
8920 2002-01-18  Allan Rae  <rae@lyx.org>
8921
8922         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8923         updated also?
8924
8925         * text.C (drawInset): Turned out I didn't know enough about how
8926         rebreaking worked.  This fixes most of the redraw problems.  I see
8927         an occasional cursor trail when a line is broken now and the cursor
8928         placement can seem out by a few pixels also after a rebreak.
8929
8930 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8931
8932         * buffer.C (parseSingleLyXformat2Token): update because minipage
8933         width is now a LyXLength
8934
8935         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8936
8937         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8938         math insets
8939
8940 2002-01-17  Juergen Vigna  <jug@sad.it>
8941
8942         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8943
8944         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8945         is set correctly and the inset is updated correctly.
8946
8947 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8948
8949         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8950         the beginning of the loop.
8951
8952 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8953
8954         * lyxrc.C: improve help for use_scalable_fonts
8955
8956 2002-01-17  Allan Rae  <rae@lyx.org>
8957
8958         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8959
8960 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8961
8962         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8963         make sure to set their inset_owner to the right value (bug #171)
8964
8965 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8966
8967         * DepTable.h
8968         * DepTable.C: Implement mtime checking to reduce time spent doing
8969         CRCs.
8970
8971 2002-01-16  Juergen Vigna  <jug@sad.it>
8972
8973         * tabular.C (GetAdditionalHeight): one of error fixed.
8974
8975         * lyxrc.C (output): small fix in writing use_pspell.
8976
8977 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8978
8979         * sp_base.h: #include LString.h
8980
8981 2002-01-16  Allan Rae  <rae@lyx.org>
8982
8983         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8984         Can someone check this please?
8985
8986         * text.C (drawInset): It was possible that p.row would be removed by
8987         breakAgainOneRow upsetting a few other settings.  There may be another
8988         small tweak possible by setting need_break_row = 0 when p.row has been
8989         removed but I don't know enough about the logic here.
8990
8991 2002-01-15  Allan Rae  <rae@lyx.org>
8992
8993         * text.C (insertChar): removed conditional truism.
8994
8995         * BufferView2.C (removeAutoInsets): More tweaks.
8996         cur_par_prev could be a stray pointer.  Check for trailing empty line
8997         in case last line was cur_par and only had an error inset on it.
8998
8999 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9000
9001         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
9002         absolute
9003
9004         * vc-backend.C (most methods):
9005         * exporter.C (Export):
9006         * converter.C (convert):
9007         (runLaTeX):
9008         * LyXSendto.C (SendtoApplyCB):
9009         * lyxfunc.C (dispatch):
9010         (menuNew):
9011         (open):
9012         (doImport):
9013         * lyx_cb.C (AutoSave):
9014         (InsertAsciiFile):
9015         * BufferView_pimpl.C (MenuInsertLyXFile):
9016         * buffer.C (runChktex): use Buffer::filePath().
9017
9018         * buffer.h: rename filename to filename_; rename filepath to
9019         filepath_ and make it private
9020         (filePath): new method
9021
9022         * buffer.C (writeFile): use fileName()
9023         (getLatexName):
9024
9025         * lyx_main.C (init): fix starting  of LyX when the binary is a
9026         link from so,ewhere else.
9027
9028         * minibuffer.C: include <cctype> for isprint
9029
9030 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9031
9032         * buffer.C (parseSingleLyXformat2Token): changes associated with the
9033         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
9034         name clash with InsetCollapsable's width function.
9035
9036 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9037
9038         * lastfiles.C: include <iterator>
9039
9040 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9041
9042         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9043         std::count.
9044
9045         * buffer.C (makeLaTeXFile): ditto.
9046         Also make loop operation more transparent.
9047
9048 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9049
9050         * ToolbarDefaults.C: remove trailing comma closing namespace.
9051
9052         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9053
9054         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9055         as in WorkArea.
9056
9057         * trans.C (Load): comment out unused variable, allowed.
9058
9059 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9060
9061         * minibuffer.[Ch] (append_char): new method to recieve input from the
9062         drop-down completion browser. If a key was pressed, then recieve this
9063         char and append it to the existing string.
9064         (peek_event): modify the positioning data passed to the completion
9065         browser so that it can be placed above the minibuffer rather than below.
9066 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9067
9068         * LyXAction.C (init): alloe error-next for readonly documents.
9069
9070         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9071         count.
9072
9073 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9074
9075         * bufferlist.C (readFile): create the buffer _after_ checking that
9076         the file exists.
9077
9078         * lyxfunc.C (verboseDispatch): fix handling of arguments
9079
9080         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9081
9082         * lyxrc.C: use string::erase() instead of initializing to "".
9083
9084
9085 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9086
9087         * BufferView_pimpl.h:
9088         * BufferView_pimpl.C:
9089         * WorkArea.h:
9090         * WorkArea.C:
9091         * text2.C: tell X when we have made a selection for copying
9092
9093 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9094
9095         * BufferView_pimpl.C (MenuInsertLyXFile):
9096         * lyxfunc.C (menuNew):
9097         (open):
9098         (doImport): add shortcuts to directory buttons
9099
9100         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9101         open a float)
9102
9103         * lyxfunc.C (setStatusMessage):
9104         (getStatusMessage): new methods
9105         (getStatus):use setStatusMessage instead of setErrorMessage
9106         (dispatch): when function is disabled, set error message here
9107         [instead of in getStatus previously]
9108
9109         * BufferView_pimpl.C (workAreaButtonRelease): update
9110         toolbar/menubar here too.
9111
9112 2002-01-13  Allan Rae  <rae@lyx.org>
9113
9114         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9115         Now seems indestructible.  Remaining task is to audit all other
9116         code affected by deleteEmptyParagraphMechanism.  One small quirk
9117         left is that an empty document with an error in the preamble can
9118         be made to report an error but no error box appears.  I don't know
9119         where it goes.
9120         (removeAutoInsets): Improved comments.
9121
9122 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9123
9124         * Thesaurus.h:
9125         * Thesaurus.C: update for Aiksaurus 0.14
9126
9127 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9128
9129         * text2.C (firstParagraph): removed member function, all uses
9130         replaces with ownerParagraph
9131         (redoParagraphs): here
9132         (updateInset): here
9133         (toggleAppendix): here
9134         * BufferView2.C (insertErrors): here
9135         (setCursorFromRow): here
9136
9137 2002-01-13  Allan Rae  <rae@lyx.org>
9138
9139         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9140         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9141         There is still a way to segfault this although you may have to do this
9142         multiple times: Have an InsetERT with an unknown command in it.
9143         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9144         <down-arrow>, <Enter> again, View->DVI, BANG!
9145
9146         * text2.C (setCursor):
9147         (deleteEmptyParagraphMechanism):
9148         * lyxtext.h (setCursor):
9149         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9150         Making use of the return value may help fix other bugs.
9151
9152 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9153
9154         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9155
9156         * LyXView.C (updateMenubar): call MenuBar::update here
9157         (updateToolbar): but not here
9158         (showState): do not update toolbar/menubar
9159
9160         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9161         should need to care about that.
9162
9163         * lyxfunc.C (verboseDispatch): simplify a bit
9164         (getStatus): have a version which takes a pseudoaction, and
9165         another which requires a (kb_action,string).
9166
9167         * LyXAction.C (retrieveActionArg): make it work also when action
9168         is not a pseudo-action.
9169         (getActionName): simplify a bit
9170         (helpText):
9171
9172 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9173
9174         * lyxfunc.C (verboseDispatch): new families of methods with
9175         several ways to specify a command and a bool to indicate whether
9176         the command name and shortcut should be displayed in minibuffer
9177         (eventually, we could extend that to a finer bitmask like
9178         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9179         (dispatch): the pristine dispatch command which just, well,
9180         dispatchs! Note it still sets its result to minibuffer; I'm not
9181         sure we want that.
9182
9183         * lyxfunc.h: remove setHintMessage
9184
9185         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9186
9187 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9188
9189         * BufferView_pimpl.C (specialChar): delete new inset if we have
9190         not been able to insert it.
9191
9192         * kbmap.C: revert to using int instead of kb_action, since all we
9193         are dealing with is pseudo-actions.
9194
9195         * LyXAction.C (searchActionArg): change to return int instead of
9196         kb_action, since the result is a pseudoaction.
9197
9198 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9199
9200         * buffer.C (insertErtContents): Fix (partially) the font bug.
9201
9202 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9203
9204         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9205         as the other one is broken on my machine!
9206
9207 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9208
9209         * commandtags.h:
9210         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9211
9212 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9213
9214         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9215         reflect their actual use. Provide compatibility code for older lyxrc
9216         files.
9217
9218         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9219         FL_NORMAL_STYLE.
9220         change names of popup font variables in line with the changes to lyxrc.C
9221
9222 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9223
9224         * buffer.C (asciiParagraph): avoid outputing a word twice after
9225         an inset.
9226
9227         * lyxrc.C (getDescription): document that document_path and
9228         template_path can be empty.
9229
9230 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9231
9232         * LaTeXFeatures.C (getMacros):
9233         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9234
9235         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9236
9237         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9238         getPackages.
9239         (getPackages): rename feature "floats" to "float". Use an array to
9240         iterate over 'simple' features (i.e. just a \usepackage). Add
9241         handling of "amsmath" (renamed from "amsstyle").
9242
9243 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9244
9245         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9246         features list.
9247
9248 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9249
9250         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9251         FuncStaus::FuncStatus & FuncStaus::some_method().
9252
9253 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9254
9255         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9256         of the func_satus stuff. Edited and massaged in various ways by
9257         JMarc.
9258
9259         * lyxfunc.C (getStatus): use FuncStatus
9260
9261 2002-01-08  Juergen Vigna  <jug@sad.it>
9262
9263         * text.C (nextBreakPoint): use function Inset::isChar().
9264
9265         * paragraph.C (TeXOnePar): use function
9266         Inset::forceDefaultParagraphs.
9267
9268         * buffer.C (latexParagraphs): use function
9269         Inset::forceDefaultParagraphs.
9270
9271 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9272
9273         * lyx_gui.C (init): set the style of the menu popups to
9274         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9275
9276 2002-01-07  Juergen Vigna  <jug@sad.it>
9277
9278         * text.C (setHeightOfRow): small fix
9279         (prepareToPrint): don't look at alignment if we don't have the place
9280         for doing it.
9281
9282 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9283
9284         * box.C: New file. Move the Box methods and functions out of box.h,
9285         following Lars' suggestion.
9286
9287 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9288
9289         * box.h: #include "support/LOstream.h", needed for inlined function.
9290
9291         * lyxtextclass.C:
9292         * lyxtextclasslist.C: added some using std declarations.
9293
9294 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9295
9296         * box.h: make signed dimensions to allow insets wider than
9297           the screen (bug #162)
9298
9299         * BufferView_pimpl.C: add some insetHit debug
9300
9301 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9302
9303         * vc-backend.C: add FIXME
9304
9305 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9306
9307         * lyxfunc.C (getStatus): enable code for showing math font status
9308         in toolbar/menu.
9309
9310 2002-01-07  Juergen Vigna  <jug@sad.it>
9311
9312         * text.C (nextBreakPoint): removed debug output not needed anymore.
9313
9314 2002-01-06  Juergen Vigna  <jug@sad.it>
9315
9316         * text.C (nextBreakPoint): fixed up this function we had this bug
9317         since ever but now hopefully we break row better.
9318         (insertChar): we have to check if an inset is the next char as it
9319         could now happen that a large inset is causing a break.
9320
9321 2002-01-05  Juergen Vigna  <jug@sad.it>
9322
9323         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9324         if it doesn't like to be drawed.
9325
9326 2002-01-04  Juergen Vigna  <jug@sad.it>
9327
9328         * BufferView2.C (lockInset): forgot to set a cursor.
9329
9330         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9331
9332 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9333
9334         * FormMathsPanel.C:
9335         * FormMathsPanel.h
9336         * MathsSymbols.C:
9337         * form_maths_panel.C:
9338         * form_maths_panel.h:
9339         * form_maths_panel.fd: implemented sub- and super- buttons in math
9340         panel.
9341
9342         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9343         (or ^ space) to be used as in TeX (req'd by André).
9344
9345         * lyxfunc.C: Allow ^ and _ again to be used both as
9346         super/subscript (mathed) and as themselves (in text).
9347
9348 2002-01-03  Allan Rae  <rae@lyx.org>
9349
9350         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9351         "LyX" or the filename of the current buffer if it has one.  This is a
9352         modified form of John Levon's patch.
9353
9354         * XFormsView.C (setWindowTitle): also set icon title.
9355
9356         * LyXView.h (setWindowTitle): signature changed.
9357         * XFormsView.h (setWindowTitle): ditto.
9358
9359 2002-01-02  Juergen Vigna  <jug@sad.it>
9360
9361         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9362
9363 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9364
9365         * screen.C (topCursorVisible): introduce a temp var for
9366         text->cursor.row(), handle the case where this row is null. (kindo
9367         hachish)
9368
9369         * text2.C (setCursor): add a couple of asserts.
9370
9371         * paragraph.h (inset_iterator): add -> operator
9372
9373         * paragraph.[Ch] (autoDeleteInsets): remove member function
9374
9375         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9376         cursor pos correctly and handle inset deletion by itself.
9377         (insertErrors): move iterator declaration out of for expression
9378
9379         * lyxtextclass.C: add <algorithm>
9380
9381         * Makefile.am: added the new files to sources, removed layout.C
9382
9383         * layout.C: removed file
9384
9385         * layout.h: remove LYX_DUMMY_LAYOUT
9386
9387         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9388         layout.
9389
9390         * lyxlayout.[Ch]:
9391         * lyxtextclass.[Ch]:
9392         * lyxtextclasslist.[Ch]: new files
9393
9394         * include order changes to a lot of files, also changes because of
9395         the six new files.
9396
9397 2001-12-27  Juergen Vigna  <jug@sad.it>
9398
9399         * buffer.C (asciiParagraph): more fixes.
9400
9401         * tabular.C (ascii): make ascii export support export of only the
9402         data separated by a column-delimiter.
9403         (ascii): better support for ascii export.
9404
9405         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9406
9407 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9408
9409         * tabular_funcs.C: use a "using std::getline" instead of the
9410         previous fix from Angus (necessary for cxx + lyxstring)
9411
9412 2001-12-24  Juergen Vigna  <jug@sad.it>
9413
9414         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9415
9416         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9417         problems. First check a minipage also if we have some ert-contents
9418         (not only on par->size(), second set the right depth of the paragraph
9419         on the relink to the root-paragraph-list!
9420
9421         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9422         which then did not anymore update the main paragraphs on undo/redo!
9423
9424 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9425
9426         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9427         code. Support all font-changing funcs (even those which are not in
9428         menu currently). Support for reporting font settings in
9429         mathed (disabled until Andre provides a function on mathed's side).
9430
9431         * func_status.h (toggle): small helper function to set toggle
9432         state on a flag.
9433
9434 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9435
9436         * tabular_funcs.C: getline -> std::getline
9437
9438 2001-12-21  Juergen Vigna  <jug@sad.it>
9439
9440         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9441         accessed and could be 0 (I couldn't generate this but it seems
9442         Michael could!).
9443
9444 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9445
9446         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9447         * tabular_funcs.h: here and include iosfwd
9448
9449 2001-12-20  Juergen Vigna  <jug@sad.it>
9450
9451         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9452         inside inset but undo_par was.
9453
9454 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9455
9456         * Thesaurus.C: always include <config.h> in sources.
9457
9458         * Painter.h:
9459         * lyxlookup.h:
9460         * box.h: do not include <config.h> in header files
9461
9462         * text.C (paintLastRow): remove unused variable
9463
9464         * text.C (transformChar):
9465         (insertChar):
9466         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9467
9468         * Painter.C (text):
9469         * font.C (width): rewrite to use uppercase() instead of
9470         islower/toupper.
9471
9472         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9473
9474 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9475
9476         * lyxfind.C: clean up of find failure position change
9477
9478 2001-12-20  Juergen Vigna  <jug@sad.it>
9479
9480         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9481
9482         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9483         (TeXRow): added to LaTeX a single tabular row.
9484         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9485         (Latex): simplified and finally good LT-h/f support.
9486         (various_functions): just small adaptions for LT-h/f support.
9487
9488         * tabular_funcs.[hC]: added and moved here all not classfunctions
9489         of LyXTabular.
9490
9491 2001-12-19  Juergen Vigna  <jug@sad.it>
9492
9493         * tabular.[Ch]: better support for longtabular options (not finished
9494         yet!)
9495
9496 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9497
9498         * text.C (paintLastRow): use the label font instead of the font of
9499         the last character to compute the size of *_BOX. This makes more
9500         sense and avoids a crash with empty paragraphs.
9501         Use Painter::rectangle to draw EMPTY_BOX.
9502
9503 2001-12-19  Juergen Vigna  <jug@sad.it>
9504
9505         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9506         the paragraphs if the replaced paragraph is not the first one!
9507         Tried to delete not used paragraphs but does not work yet so for
9508         now it's inside #ifdef's and by default off!
9509
9510 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9511
9512         * MenuBackend.C: include "lyx_main.h" instead of declaring
9513         lastfiles (actually was declared as LastFiles* instead of a
9514         scoped_ptr).
9515
9516 2001-12-17  Juergen Vigna  <jug@sad.it>
9517
9518         * tabular.C (AppendColumn): applied John's fix
9519
9520 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9521
9522         * BufferView.h:
9523         * BufferView.C:
9524         * BufferView_pimpl.h:
9525         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9526
9527         * Makefile.am:
9528         * box.h: new start of class for above
9529
9530         * lyxfunc.C: ignore space-only minibuffer dispatches.
9531           Show the command name when it doesn't exist
9532
9533         * minibuffer.C: don't add empty lines to the history
9534
9535         * minibuffer.C: add a space on dropdown completion
9536
9537 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9538
9539         * text.C: fix line above/below drawing in insets
9540
9541 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9542
9543         * lyxlength.C (LyXLength): Initialize private variables.
9544
9545 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9546
9547         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9548         when inserting error insets.
9549
9550 2001-12-13  Juergen Vigna  <jug@sad.it>
9551
9552         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9553         actually sometimes the before-paragraph.
9554         (setUndo): don't clear the redostack if we're not actually undoing!
9555
9556 2001-12-06  Juergen Vigna  <jug@sad.it>
9557
9558         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9559         and fixed redoing of main paragraph, so we can use it now ;)
9560
9561         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9562
9563 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9564
9565         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9566         Juergen's request
9567
9568 2001-12-13  André Pönitz <poenitz@gmx.net>
9569
9570         * undostack.[Ch]:
9571         * undo_func.C: minor cleanup
9572
9573 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9574
9575         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9576         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9577         font in urw-fonts package which is marked as -urw-fontspecific and
9578         does not work (incidentally, changing the encoding in the
9579         fonts.dir of this package to -adobe-fontspecific fixes the
9580         problem).
9581
9582         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9583         is a crash when undoing first paragraph (Juergen, please take a
9584         look). THis does not mean the undo fix is wrong, just that it
9585         uncovers problems.
9586
9587         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9588         the (Paragraph*) version when needed instead of duplicating the
9589         code.
9590
9591         * text.C (workWidth): use Inset::parOwner to find out where the
9592         inset has been inserted. This is a huge performance gain for large
9593         documents with lots of insets. If Inset::parOwner is not set, fall
9594         back on the brute force method
9595
9596         * paragraph_pimpl.C (insertInset):
9597         * paragraph.C (Paragraph):
9598         (cutIntoMinibuffer): set parOwner of insets when
9599         inserting/removing them
9600
9601         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9602
9603 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9604
9605         * commandtags.h:
9606         * LyXAction.C:
9607         * lyx_main.C:
9608         * lyxfunc.C:
9609         * mathed/formulabase.C:
9610         * mathed/math_cursor.[Ch]:
9611         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9612
9613
9614 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9615
9616         * lyxlength.[Ch] (operator!=): new function
9617
9618 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9619
9620         * text.C (workWidth): use Inset::parOwner to find out where the
9621         inset has been inserted. This is a huge performance gain for large
9622         documents with lots of insets. If Inset::parOwner is not set, fall
9623         back on the brute force method
9624
9625         * paragraph_pimpl.C (insertInset):
9626         * paragraph.C (Paragraph):
9627         (cutIntoMinibuffer): set parOwner of insets when
9628         inserting/removing them
9629
9630         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9631
9632 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9633
9634         * tabular-old.C (getTokenValue):
9635         * tabular.C (getTokenValue):
9636         (write_attribute): new versions for LyXLength
9637         (everywhere): adjust the use of widths
9638
9639         * tabular.h: change the type of widths from string to LyXLength
9640
9641 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9642
9643         * paragraph.C: fixed missing line number count when exporting
9644         Environments to LaTeX file
9645
9646         * buffer.C: added informational message for checking line numbers.
9647
9648 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9649
9650         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9651         paragraph, do the 'double space' part, but not the 'empty
9652         paragraph' one.
9653
9654         * text.C (workWidth): small optimization
9655         (getLengthMarkerHeight): use minimal size for negative lengths.
9656
9657 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9658
9659         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9660
9661         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9662
9663 2001-12-11  André Pönitz <poenitz@gmx.net>
9664
9665         * FontLoader.C:
9666         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9667
9668 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9669
9670         * text2.C: keep selection on a setFont()
9671
9672 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9673
9674         * lyx_cb.C: another bv->text misuse, from insert label
9675
9676 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9677
9678         * kbsequence.h:
9679         * kbsequence.C: re-instate nmodifier mask
9680
9681 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9682
9683         * lyx_main.h: make lyxGUI private.
9684
9685 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9686
9687         * lyxfind.C: place the cursor correctly on failed search
9688
9689 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9690
9691         * text.C (getLengthMarkerHeight): for small heights, the arrows
9692         are not always on top/bottom of the text
9693         (drawLengthMarker): smaller arrows; take the left margin in
9694         account; draw also vfills.
9695         (paintFirstRow):
9696         (paintLastRow): remove special code for vfill and standard spaces,
9697         since everything is handled in drawLengthMarker now.
9698
9699 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9700
9701         * buffer.C (insertErtContents): try to handle font and language
9702         interaction a bit better.g
9703
9704         * ColorHandler.C (updateColor): change the hash to cover the whole
9705         LColor enum, ws cleanup
9706         (getGCLinepars): ditto
9707         (getGCLinepars): only lookup in the linecache once.
9708
9709 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9710
9711         * iterators.C (operator++): Make the iterator more robust
9712
9713         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9714         (John's patch)
9715         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9716
9717 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9718
9719         * lyxtext.h:
9720         * text.C: better added space drawing
9721
9722 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9723
9724         * LyXView.C:
9725         * BufferView2.C: fix layout combo update on inset unlock
9726
9727 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9728
9729         * Makefile.am: don't compile unused files
9730
9731 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9732
9733         * lyxfunc.C:
9734         * commandtags.h:
9735         * LyXAction.C: remove old LFUN_LAYOUTNO
9736
9737 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9738
9739         * paragraph_pimpl.h:
9740         * paragraph_pimpl.C: isTextAt() doesn't need font param
9741
9742 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * lyxlex.h:
9745         * lyxlex.C: little cleanup
9746
9747 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9748
9749         * BufferView_pimpl.C: fix insertAscii for insets
9750
9751 2001-12-05  Juergen Vigna  <jug@sad.it>
9752
9753         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9754         set the right font on the "multi" paragraph paste!
9755
9756 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9757
9758         * trans_decl.h:
9759         * trans_mgr.[Ch]:
9760         * trans.[Ch]:
9761         * lyxgluelength.C:
9762         * lyxlength.C: remove out-commented code.
9763
9764         * BufferView_pimpl:
9765         * CutAndPaste.C:
9766         * DepTable.C:
9767         * buffer.C:
9768         * chset.C:
9769         * lastfiles.C:
9770         * lyxlex.C:
9771         * lyxlex_pimpl.C:
9772         * lyxserver.C:
9773         * screen.C:
9774         * tabular-old.C:
9775         * tabular.C:
9776         * text.C:
9777         * trans_mgr.C:
9778         * vc-backend.C: change "while(" to "while ("
9779
9780         * lyxlength.[Ch]: add zero function to check if length is zero or
9781         not
9782         * lyxgluelength.C: use it
9783
9784 2001-12-05  Allan Rae  <rae@lyx.org>
9785
9786         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9787         Works for 2.95.3, from what I understand of Garst's reports this should
9788         work for other g++ versions.  We're screwed if the abs(int) definition
9789         changed between bugfix releases of gcc.
9790
9791 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9792
9793         * text.C: fix chapter label offset !
9794
9795 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9796
9797         * lyxtext.h:
9798         * text.C: fix hfill at end of line, clean up
9799
9800 2001-12-04  Juergen Vigna  <jug@sad.it>
9801
9802         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9803         that we force an update of the inset and it's owners if neccessary.
9804
9805 2001-12-03  Juergen Vigna  <jug@sad.it>
9806
9807         * text.C (rowLast): simplified code
9808
9809 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9810
9811         * lyxfunc.C: fix show options on timeout
9812
9813 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9814
9815         * screen.C (topCursorVisible): scroll half a page when the cursor
9816         reached top of bottom of screen
9817
9818 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9819
9820         * minibuffer.C: deactivate on loss of focus
9821
9822 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9823
9824         * vspace.[Ch] (operator!=): add operator.
9825
9826 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9827
9828         * BufferView_pimpl.C: refuse to open an inset when
9829         there's a selection.
9830
9831 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9832
9833         * BufferView_pimpl.C: allow to click on RHS of full row insets
9834
9835 2001-11-30  Juergen Vigna  <jug@sad.it>
9836
9837         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9838         insets for undo reasons.
9839
9840 2001-11-28  André Pönitz <poenitz@gmx.net>
9841
9842         * vspace.[Ch]: cosmetical changes
9843
9844 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9845
9846         * LyXAction.h:
9847         * LyXAction.C:
9848         * lyxfunc.h:
9849         * lyxfunc.C:
9850         * kbmap.h:
9851         * kbmap.C:
9852         * lyxrc.C:
9853         * kbsequence.h:
9854         * kbsequence.C: part re-write of old kb code
9855
9856         * Painter.C:
9857         * WorkArea.C: remove Lgb_bug_find_hack
9858
9859 2001-11-30  José Matos <jamatos@fep.up.pt>
9860
9861         * buffer.C (makeDocBookFile): add a comment to point a hack.
9862         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9863         Fixed a double write of labels.
9864
9865 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9866
9867         * LaTeX.C:
9868         * LaTeX.h Fixed bug in LaTeX class where it would not
9869         re-run latex if no depfiles were changed, but the .dvi was removed.
9870
9871 2001-11-28  André Pönitz <poenitz@gmx.net>
9872
9873         * all the files from the change on 2001/11/26:
9874         use lyx::layout_type instead of LyXTextClass::size_type
9875         use lyx::textclass_type instead of LyXTextClassList::size_type
9876
9877 2001-11-29  Juergen Vigna  <jug@sad.it>
9878
9879         * text.C: added support for paragraph::isFreeSpacing()
9880
9881         * buffer.C: same as above
9882
9883         * paragraph.h: inserted isFreeSpacing() function to enable
9884         FreeSpacing inside InsetERT.
9885
9886         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9887         of the paragraph's in the cut/copy buffer to 0!
9888
9889         * text2.C (removeRow): remove the assert as it can!
9890
9891         * lyxtext.h: added helper function firstRow returning firstrow and
9892         made firstrow private again.
9893
9894         * BufferView2.C (lockInset): don't relock if we're already locked!
9895
9896         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9897         the only paragraph.
9898         (removeRow): added Assert::(firstrow)
9899
9900         * debug.C: forgot to add INSETTEXT here.
9901
9902 2001-11-28  Juergen Vigna  <jug@sad.it>
9903
9904         * sp_spell.C (initialize): changed error text to more general
9905         spellchecker command use (not only ispell!)
9906
9907         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9908
9909         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9910
9911 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9912
9913         * vspace.C: initialise lyxgluelength on failure
9914
9915 2001-11-28  Allan Rae  <rae@lyx.org>
9916
9917         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9918         declaration & definition that looks like a function declaration.
9919
9920 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9921
9922         * BufferView2.C (copy):
9923         (copyEnvironment): do not clear the selection when doing a copy.
9924
9925         * text.C (paintFirstRow): compilation fix
9926
9927 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9928
9929         * tabular.C (Latex): correct line count when writing latex.
9930
9931 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9932
9933         * paragraph_pimpl.h:
9934         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9935           bug a bit
9936
9937 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9938
9939         * text.C:
9940         * LColor.h:
9941         * LColor.C: change vfillline->added_space
9942
9943         * text.C: add markers and text for added space
9944
9945         * vspace.C: fix comment
9946
9947 2001-11-28  André Pönitz <poenitz@gmx.net>
9948
9949         * paragraph.C: whitespace changes
9950         * all the other files from the change on 2001/11/26:
9951         change *::pos_type into lyx::pos_type
9952
9953 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9954
9955         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9956         language of the document when inserting error insets.
9957
9958 2001-11-26  André Pönitz <poenitz@gmx.net>
9959
9960         * BufferView_pimpl.[Ch]:
9961         *       CutAndPaste.C:
9962         * buffer.[Ch]:
9963         * lyxcursor.[Ch]:
9964         * lyxfind.C:
9965         * lyxfunc.C:
9966         * lyxrow.[Ch]:
9967         * paragraph.[Ch]:
9968         * paragraph_pimpl.[Ch]:
9969         * sp_spell.C:
9970         * text.C:
9971         * text2.C: reduce header dependencies, introduce type for positions
9972
9973 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9974
9975         * <various>: change to use Alert.h
9976
9977 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9978
9979         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9980         when encountering an unknown token.
9981         (readLyXformat2): Show an error message if there were unknown tokens.
9982
9983 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9984
9985         * BufferView2.C:
9986         * BufferView_pimpl.C:
9987         * buffer.C:
9988         * paragraph.h:
9989         * text.C:
9990         * text2.C: use par->isInset()
9991
9992 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9993
9994         * paragraph_pimpl.h:
9995         * paragraph_pimpl.C: cleanup
9996
9997 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9998
9999         * text2.C (removeRow):
10000         * text.C (setHeightOfRow): remove useless (and costly) call to
10001         getRow.
10002
10003 2001-11-20  Allan Rae  <rae@lyx.org>
10004
10005         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
10006         Now need Inset*::checkInsertChar() to return true for appropriate
10007         cases so that the characters in the minibuffer will actually be
10008         inserted.
10009
10010 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10011
10012         * text.C: change the order of the includes.
10013         (workWidth): initialize it at once.
10014         (workWidth): make maxw unsigned
10015         (setHeightOfRow): remove unused variable (inset)
10016         (selectSelectedWord): remove unused variable (inset)
10017         (paintRowText): fix drawing of hfill characters, and clean up a bit.
10018
10019 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10020
10021         * lyxserver.C (emergencyCleanup): do not try to close pipes if
10022         server is not running.
10023         (openConnection):
10024         (closeConnection): add debug info when server is disabled.
10025
10026         * ColorHandler.C (getGCForeground): send debug message to GUI
10027         channel.
10028
10029         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
10030
10031         * kbmap.C (bind): modify because return conventions of
10032         kb_sequence::parse have changed.
10033
10034         * kbsequence.C (parse): only ignore spaces and not any stupid
10035         control character. This avoids tests like s[i] <= ' ', which are
10036         guaranteed to fail with 8bit characters and signed chars.
10037         Change return code to string::npos when there have been no error
10038         (0 was a bad idea when error is at first character)
10039
10040 2001-11-14  José Matos  <jamatos@fep.up.pt>
10041
10042         * buffer.h:
10043         * buffer.C (simpleDocBookOnePar): removed unused argument.
10044
10045 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10046
10047         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10048         insets which are part of a word. Paragraph::isLetter takes care of
10049         that now. Use Paragraph::isInset to identify insets.
10050         (selectSelectedWord): do not test for hyphenation break.
10051
10052         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10053         that protected spaces are considered as spaces.
10054
10055         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10056         Inset::isLetter.
10057
10058 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10059
10060         * lyxserver.h:
10061         * lyxserver.C: fix it. and small cleanup.
10062
10063 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10064
10065         * BufferView_pimpl.C: use inline helpers
10066
10067         * LaTeXFeatures.h:
10068         * LaTeXFeatures.C: fix typos
10069
10070         * Spacing.h:
10071         * Spacing.C: move spacing_string into class
10072
10073         * ToolbarDefaults.C: move stuff into namespace anon
10074
10075         * layout.h: update enum
10076
10077         * lyxfunc.C: use better debug
10078
10079         * minibuffer.h: fix typo
10080
10081         * debug.h:
10082         * debug.C:
10083         * WorkArea.C: add and use Debug::WORKAREA
10084
10085         * lyxtext.h:
10086         * text.C:
10087         * text2.C: code re-organisation, inline helpers
10088
10089 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10090
10091         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10092         std::vector.empty().
10093
10094 2001-11-09  Allan Rae  <rae@lyx.org>
10095
10096         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10097         '\n's after tables.  Tabular and ERT inset work now makes this no
10098         longer necessary.
10099
10100 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10101
10102         * minibuffer.h:
10103         * minibuffer.C: fix crash, improve drop-down completion
10104
10105 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10106
10107         * lyxserver.h:
10108         * lyxserver.C: invalidate fd's when doing endPipe()
10109
10110 2001-11-08  José Matos  <jamatos@fep.up.pt>
10111
10112         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10113         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10114
10115         * paragraph.h:
10116         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10117
10118 2001-11-07  José Matos  <jamatos@fep.up.pt>
10119
10120         * buffer.h:
10121         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10122         const qualifier.
10123
10124         * buffer.C (sgmlOpenTag):
10125         * buffer.C (sgmlCloseTag): removed debug info.
10126
10127         * buffer.h (sgmlOpenTag):
10128         * buffer.h (sgmlCloseTag): made public.
10129
10130 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10131
10132         * buffer.C (saveParamsAsDefaults):
10133         * lyx_cb.C (MenuLayoutSave): remove
10134
10135         * LyXAction.C (init):
10136         * commandtags.h:
10137         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10138
10139 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10140
10141         * buffer.C (setPaperStuff): removed from here...
10142
10143         * bufferparams.C (setPaperStuff): ... and moved there.
10144
10145 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10146
10147         * minibuffer.h:
10148         * minibuffer.C:
10149         * XFormsView.C: add support for drop-down completion
10150
10151 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10152
10153         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10154         commands.
10155
10156 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10157
10158         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10159         disabled.
10160
10161 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10162
10163         * lyx_main.C: change ref to known bugs
10164
10165 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10166
10167         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10168         to work around older babel problems.
10169
10170 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10171
10172         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10173
10174 2001-10-24  Juergen Vigna  <jug@sad.it>
10175
10176         * tabular-old.C (ReadOld): below variable changes reflected.
10177
10178         * tabular.[Ch]: added ltType struct for longtable header/footer
10179         defines and changed all instances where they are used. Added
10180         future support for double top/bottom rows.
10181
10182 2001-10-24  José Matos  <jamatos@fep.up.pt>
10183
10184         * buffer.h (docbookHandleCaption):
10185         * buffer.C (docbookHandleCaption): removed unused function.
10186         (makeDocBookFile): moved docbook supported version to v4.1.
10187
10188 2001-10-24  José Matos  <jamatos@fep.up.pt>
10189
10190         * tabular.h:
10191         * tabular.C (docbookRow): new function to export docbook code of a row.
10192         (DocBook): now honors the longtable flags.
10193
10194 2001-10-23  José Matos  <jamatos@fep.up.pt>
10195
10196         * LaTeXFeatures.h:
10197         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10198         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10199
10200         * buffer.C (makeLinuxDocFile):
10201         (makeDocBookFile): reworked the preamble, more clean, and with
10202         support for lyx defined entities. Changed the document declaration
10203         to be more XML friendly.
10204
10205         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10206         if we need to output XML that should be done with a filter.
10207
10208 2001-10-22  Juergen Vigna  <jug@sad.it>
10209
10210         * sp_pspell.h (class PSpell): add alive function needed in the
10211         controller to see if the spellchecker could be started.
10212
10213 2001-10-22  Juergen Vigna  <jug@sad.it>
10214
10215         * buffer.C (insertStringAsLines): modify the font for inserting
10216         chars in certain conditions by calling checkInsertChar(font).
10217
10218 2001-10-19  Juergen Vigna  <jug@sad.it>
10219
10220         * text.C (workWidth): use getRow instead of wrong algorithm.
10221         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10222
10223 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10224
10225         * lyxserver.h:
10226         * lyxserver.C:
10227         * lyx_main.h:
10228         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10229
10230 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10231
10232         * text.C (workWidth): do not search for the exact row when
10233         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10234         optimization for big documents.
10235
10236 2001-10-18  Juergen Vigna  <jug@sad.it>
10237
10238         * text.C (workWidth): new function with added Inset * parameter.
10239
10240 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10241
10242         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10243
10244         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10245         change return type of getColumnNearX.
10246
10247
10248         * text.C (changeRegionCase): use uppercase/lowercase instead of
10249         toupper/tolower.
10250         (leftMargin):
10251         (rightMargin): simplify code by factoring out the uses of
10252         textclasslist.
10253         (labelFill):
10254         (numberOfHfills):
10255         (setHeightOfRow):
10256         (appendParagraph): use Paragraph::size_type
10257
10258 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10259
10260         * vspace.C (asLatexString): add a missing break
10261
10262 2001-10-15  Herbert Voss  <voss@perce.de>
10263
10264         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10265
10266 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10267
10268         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10269         is not available.
10270
10271 2001-10-10  André Pönitz <poenitz@gmx.net>
10272
10273         * lyxfunc.C: removed greek_kb_flag.
10274
10275 2001-10-10  Herbert Voss  <voss@perce.de>
10276
10277         * lyx_main.C: delete global string help_lyxdir.
10278
10279 2001-10-09  Herbert Voss  <voss@perce.de>
10280
10281         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10282
10283         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10284
10285         * lyx_main.C: added global string help_lyxdir.
10286
10287         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10288
10289 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10290
10291         * lyxrc.C (set_font_norm_type): support iso8859-4
10292
10293 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10294
10295         * LaTeX.C (deplog): add another regex for MikTeX
10296
10297 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10298
10299         * lyxrc.C (set_font_norm_type): support iso8859-3
10300
10301 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10302
10303         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10304
10305         * LaTeXFeatures.C: remove special case of french and index
10306
10307         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10308         before \begin{document}). This solves several incompatibilities.
10309
10310 2001-10-03  Garst Reese  <reese@isn.net>
10311
10312         * lyx_cb.C: change CheckTex error msg.
10313
10314 2001-10-03  José Matos  <jamatos@fep.up.pt>
10315
10316         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10317
10318 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10319
10320         * .cvsignore: update
10321
10322         * lyx_main.C (commandLineVersionInfo): use new style version info.
10323
10324         * buffer.C (writeFile):
10325         (makeLaTeXFile):
10326         (makeLinuxDocFile):
10327         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10328
10329         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10330
10331         * version.h: update to use stuff in version.C
10332
10333         * version.C.in: new file. Contains version information determined
10334         at compile time. This is a merging of version.h and
10335         version_info.h.in.
10336
10337 2001-10-03  Juergen Vigna  <jug@sad.it>
10338
10339         * BufferView_pimpl.C (update): don't change "dirty" status in
10340         updateInset call.
10341
10342 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10343
10344         * WorkArea.C (c-tor): re-position version string slightly.
10345
10346 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10347
10348         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10349         revert to previous code.
10350
10351         WorkArea.[Ch]: (show, destroySplash): methods removed.
10352
10353         WorkArea.C: rework code so that it's an amalgam of the codes before and
10354         after the splash screen was moved to WorkArea.
10355
10356 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10357
10358         * lyxrc.C (read):
10359         * vspace.C (inPixels):
10360         (lyx_advance):
10361         * kbmap.C (bind):
10362         * buffer.C (insertStringAsLines):
10363         (asciiParagraph): fix types to be large enough
10364
10365         * lyxlex_pimpl.h: change member status from short to int
10366
10367         * layout.h: fix type of endlabeltype
10368
10369         * kbmap.C (bind):
10370         * kbsequence.C (parse): change return type to string::size_type
10371
10372         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10373         variable
10374
10375         * Bullet.C (bulletSize):
10376         (bulletEntry): do not use short ints as parameters
10377
10378         * BufferView2.C (insertLyXFile): change a char to an int.
10379
10380         * WorkArea.C (WorkArea): remove unneeded floats in computation
10381
10382 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10383
10384         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10385
10386         * paragraph.C (asString): Do not ignore newline/hfill chars when
10387         copying to the clipboard.
10388
10389 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10390
10391         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10392         after a multi-line inset.
10393
10394 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10395
10396         * paragraph.C (validate): Set NeedLyXFootnoteCode
10397
10398 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10399
10400         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10401         and decrease-error to decrease.
10402
10403 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10404
10405         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10406         it more readable (should be equivalent)
10407
10408 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10409
10410         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10411
10412 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10413
10414         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10415         of a cursor (row, etc.) after a character has been deleted
10416         (deleteEmptyParagraphMechanism): call the method above on _all_
10417         cursors held by the LyXText when a double space has been
10418         detected/deleted.
10419
10420 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10421
10422         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10423         pixmap.
10424         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10425
10426         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10427         background. Use greyOut() and the new show() methods to toggle between
10428         the foreground and background. Add code to remove the splash after
10429         its initial showing.
10430
10431         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10432         (create_forms): no longer call Dialogs::showSplash.
10433
10434 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10435
10436         * .cvsignore: add version_info.h
10437
10438 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10439
10440         * version_info.h.in: new file
10441
10442         * Makefile.am: add version_info.h.in
10443
10444         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10445         version_info.h instead of VERSION_INFO
10446
10447 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10448
10449         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10450         The ERT inset now returns string().
10451
10452 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10453
10454         * lyxtext.h, text.C (selectNextWord): renamed as
10455         selectNextWordToSpellcheck.
10456
10457         * text.C (selectNextWordToSpellcheck): Modified to not select
10458         words inside an ERT inset.
10459
10460 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10461
10462         * lyx_cb.C (MenuLayoutSave): change a bit the question
10463
10464         * sp_base.h: include <sys/types.h>
10465
10466 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10467
10468         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10469
10470 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10471
10472         * several files: fix typos in user-visible strings
10473
10474 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10475
10476         * text2.C (pasteSelection): do not set the selection, since it
10477         will be cleared later. Actually, the intent was to fix the way the
10478         selection was set, but I figured rmoving the code was just as good.
10479
10480 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10481
10482         * FontLoader.C (available): Check if font is available without
10483         loading the font.
10484
10485 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10486
10487         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10488
10489 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10490
10491         * lyxrc.[Ch]: added display_graphics variable and associated code.
10492
10493 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10494
10495         * bufferparams.C (hasClassDefaults): new method. Returns true if
10496         the buffer parameters correspond to known class defaults
10497
10498 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10499
10500         * XFormsView.C (show): set minimum size to the main window.
10501
10502 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10503
10504         * text2.C (copySelection):
10505         (cutSelection):
10506         * lyxfind.C (LyXReplace):
10507         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10508         LyXText::selectionAsString.
10509
10510         * paragraph.C (asString): add "label" argument to the second form
10511
10512         * text2.C (selectionAsString): add "label" argument and pass it to
10513         Paragraph::asString.
10514
10515 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10516
10517         * lyx_main.C (commandLineHelp): remove version information
10518
10519 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10520
10521         * lyx_main.C: add -version commandline option
10522
10523 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10524
10525         * paragraph.h: make the optional constructor arg required instead.
10526         some modifications to other files because of this.
10527
10528         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10529
10530         * lyxserver.C (C_LyXComm_callback): make it static
10531
10532         * lyx_main.C (error_handler): make it static
10533
10534         * lyx_gui.C (LyX_XErrHandler): make it static
10535
10536         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10537
10538         * WorkArea.C: make the extern "C" methods static.
10539
10540         * Makefile.am (lyx_LDADD): simplify
10541
10542 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10543
10544         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10545         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10546
10547         * LyXAction.C (init):
10548         * lyxfunc.C (dispatch): associated code removal.
10549
10550 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10551
10552         * lyxfont.h (isSymbolFont): shut off warning
10553
10554         * text.C (setHeightOfRow):
10555         (getVisibleRow): fix crash with empty paragraphs which have a
10556         bottom line
10557
10558 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10559
10560         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10561         code.
10562
10563 2001-09-04  José Matos  <jamatos@fep.up.pt>
10564         * buffer.C
10565         * buffer.h
10566         * tabular.C (docbook): rename docBook method to docbook.
10567
10568 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10569
10570         * Makefile.am: add dependencies to main.o.
10571
10572 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10573
10574         * FontLoader.C (available): Return false if !lyxrc.use_gui
10575
10576 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10577
10578         * FontInfo.C (query):
10579         * converter.C (view):
10580         * importer.C (Import):
10581         * exporter.C (Export): Can not -> cannot.
10582
10583 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10584
10585         * BufferView_pimpl.C: allow to create index inset even if
10586           string is empty
10587
10588 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10589
10590         * buffer.C (getLists): replace boost::tie code with an explicit pair
10591         as boost::tie can break some compilers.
10592
10593         * iterators.h: Added a std:: declaration to the return type of
10594         ParIterator::size.
10595
10596 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10597
10598         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10599           case.
10600
10601 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10602
10603         * iterators.[Ch]: New files. Provide paragraph iterators.
10604
10605         * buffer.C (changeLanguage): Use paragraph iterators.
10606         (isMultiLingual): ditto
10607
10608         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10609
10610 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10611
10612         * FontLoader.C: Support for cmr font.
10613
10614 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10615
10616         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10617         (available): New method.
10618
10619         * FontInfo.C (getFontname): Use scalable fonts even when
10620         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10621         found.
10622
10623 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10624
10625         * converter.C (Formats::view): reverted! Incorrect fix.
10626
10627 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10628
10629         * converter.C (Formats::view): only output the -paper option
10630         if the dvi viewer is xdvi, thereby fixing bug #233429.
10631
10632 2001-08-23  Herbert Voss  <voss@perce>
10633
10634         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10635
10636 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10637
10638         * Spacing.h (Spacing): Set space to Default on in the default
10639         constructor.
10640
10641 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10642
10643         * vc-backend.h (RCS::versionString): add RCS to version
10644         (CVS::versionString): add CVS to version
10645
10646         * vc-backend.C (scanMaster): do not add CVS to version.
10647         (scanMaster): do not add RCS to version
10648
10649         * lyxvc.C (versionString): new method
10650
10651         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10652
10653 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10654
10655         * Spacing.C (set): initialize fval
10656
10657 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10658
10659         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10660         " or \.
10661
10662 2001-08-16  Juergen Vigna  <jug@sad.it>
10663
10664         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10665
10666 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10667
10668         * BufferView_pimpl.C:
10669         * figureForm.C:
10670         * lyxtext.h:
10671         * text2.C: setParagraph takes linespacing now
10672
10673 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10674
10675         * LyxAction.C: add internal LFUN_CITATION_INSERT
10676
10677         * LyXView.C: actually apply fix
10678
10679         * bufferlist.C: fix open non-existent file
10680
10681         * lyxfind.C: fix indentation
10682
10683         * lyxfunc.C: remove unneeded assert, fix typo
10684
10685 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10686
10687         * MenuBackend.C: use "Floatname List"
10688
10689 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10690
10691         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10692         when converting LaTeX layout to insetERT.
10693         Generate a non-collapsed float when reading old float
10694
10695 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10696
10697         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10698         ERT insets.
10699
10700 2001-08-13  Juergen Vigna  <jug@sad.it>
10701
10702         * text.C (fill): return 0 instead of 20 as this seems to be the more
10703         correct value.
10704
10705 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10706
10707         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10708         lyxrc.font_norm.
10709
10710 2001-08-13  Juergen Vigna  <jug@sad.it>
10711
10712         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10713         casesensitive off.
10714         (SearchBackward): comment out the unlocking of the inset_owner this
10715         should not be needed!
10716
10717 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10718
10719         * Many files: Remove inherit_language, and add latex_language
10720
10721         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10722         collapsible insets.
10723
10724 2001-08-10  Juergen Vigna  <jug@sad.it>
10725
10726         * text.C (prepareToPrint): fixed hfill-width in draw!
10727
10728         * BufferView2.C (selectLastWord): save the selection cursor as this
10729         now is cleared in the function LyXText::clearSelection!
10730
10731 2001-08-08  Juergen Vigna  <jug@sad.it>
10732
10733         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10734         BACKSPACE type functions.
10735
10736         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10737         is only cutted from the document but not put in the cut-buffer, where
10738         still the old stuff should be.
10739
10740         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10741
10742         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10743
10744         * tabular.C (SetWidthOfCell): fixed special case where the width
10745         was not updated!
10746         (LeftLine): handle '|' in align_special.
10747         (RightLine): ditto
10748         (LeftAlreadyDrawed): ditto
10749         (SetWidthOfCell): ditto
10750
10751 2001-08-07  Juergen Vigna  <jug@sad.it>
10752
10753         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10754
10755 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10756
10757         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10758         * lyxlex.[hC]: ditto
10759
10760 2001-08-06  Juergen Vigna  <jug@sad.it>
10761
10762         * text.C (getVisibleRow): fix up row clearing a bit.
10763
10764 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10765
10766         * minibuffer.C: make sure the X server sees the changes in the input.
10767
10768 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10769
10770         * paragraph.C (getFont): split into...
10771         (getLabelFont): this
10772         (getLayoutFont): and this
10773         * paragraph_pimpl.C (realizeFont): calling this
10774
10775         * text2.C (getFont): split into...
10776         (getLayoutFont): this
10777         (getLabelFont): and this
10778         (realizeFont): all three calling this
10779
10780         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10781         files where used.
10782
10783 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10784
10785         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10786
10787 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10788
10789         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10790         layouts from the Quote inset insertion.
10791
10792 2001-08-03  Juergen Vigna  <jug@sad.it>
10793
10794         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10795
10796         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10797         only if status not is already CHANGED_IN_DRAW (second level).
10798
10799         * text.C (draw): don't set the need_break_row when inside an
10800         InsetText LyXText.
10801
10802 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10803
10804         * buffer.C (parseSingleLyXformat2Token): handle more latex
10805         conversion cases.
10806
10807         * bufferview_funcs.[hC]: change function names to
10808         begin with small char, adjust other files.
10809
10810 2001-08-02  André Pönitz <poenitz@gmx.net>
10811
10812         * lyxfunc.C:
10813         BufferView_pimpl.C: remove broken special code for math-greek
10814
10815 2001-08-02  Juergen Vigna  <jug@sad.it>
10816
10817         * BufferView_pimpl.C (update): redone this function so that we
10818         update the text again if there was a CHANGE_IN_DRAW.
10819
10820         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10821         (drawFromTo): added a new internal bool which is used by draw() and
10822         redraw() function.
10823         (general): some cursor drawing problems fixed.
10824
10825 2001-08-01  Juergen Vigna  <jug@sad.it>
10826
10827         * lyxfind.C (LyXFind): fixed
10828         (SearchForward): ditto
10829         (SearchBackward): ditto
10830
10831         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10832         spurius drawing of the cursor in the main area.
10833
10834         * text2.C (status): small fix which could lead to a segfault!
10835         (clearSelection): remove unneeded BufferView param.
10836
10837 2001-08-01  André Pönitz <poenitz@gmx.net>
10838
10839         * lyxfunc.C: small change due to changed mathed interface
10840
10841 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10842
10843         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10844
10845 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10846
10847         * lyxfunc.c: fail gracefully if file doesn't exist
10848
10849         * LyXSendto.C:
10850         * buffer.C:
10851         * lyxfunc.C:
10852         * BufferView_pimpl.C: IsDirWriteable() proto changed
10853
10854         * LyXView.C: fix updateWindowTitle() to store the last title
10855
10856 2001-07-31  Juergen Vigna  <jug@sad.it>
10857
10858         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10859         the font (wrong since using of Paragraph::highestFontInRange).
10860
10861         * paragraph.C (highestFontInRange): added a default_size parameter.
10862
10863         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10864         (setHeightOfRow): reformat
10865
10866 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10867
10868         * converter.[hC] + affected files: move to (inital-char)lowercase
10869         function names.
10870
10871         * ParagraphParameters.C (ParagraphParameters): remove commented code
10872
10873         * PainterBase.[Ch]: remove commented code
10874
10875         * LaTeXFeatures.h: add "bool floats" for float.sty
10876
10877         * LaTeXFeatures.C (LaTeXFeatures): init floats
10878         (require): handle float
10879         (getPackages): do it with floats
10880
10881 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10882
10883         * BufferView_pimpl.C (Dispatch): improve handling of
10884         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10885
10886         * commandtags.h: #include lyxfont.h here temporarily to avoid
10887         keybinding bug.
10888
10889         * bufferlist.h: include LString.h here.
10890
10891 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10892
10893         * text2.C (getStringToIndex): new method.
10894
10895 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10896
10897         * *: Reduced header file dependencies all over.
10898
10899 2001-07-30  Baruch Even  <baruch@lyx.org>
10900
10901         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10902
10903 2001-07-29  Baruch Even  <baruch@lyx.org>
10904
10905         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10906
10907 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10908
10909         * ParameterStruct.h (endif): add a default constructor to make
10910         sure that all variables is initialized.
10911
10912         * ParagraphParameters.C (ParagraphParameters): adjust
10913
10914 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10915
10916         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10917         index; also, check that there is something to index, and that it
10918         does not span over several paragraphs.
10919         (doubleClick): use WHOLE_WORD_STRICT for double click.
10920
10921         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10922
10923         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10924         scheme.
10925
10926 2001-07-26  Baruch Even  <baruch@lyx.org>
10927
10928         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10929         an InsetFig figure, backwards compatible reading of old figure code.
10930
10931 2001-07-27  Juergen Vigna  <jug@sad.it>
10932
10933         * text2.C: font.realize function adaption.
10934
10935         * text.C (draw): add a warnings lyxerr text if needed.
10936
10937         * layout.C: font.realize function adaption.
10938
10939         * language.C: add inherit_language and implement it's handlings
10940
10941         * bufferview_funcs.C (StyleReset): remove language parameter from
10942         font creation (should be language_inherit now).
10943
10944         * bufferparams.C (writeFile): handle ignore_language.
10945
10946         * paragraph.C (getFontSettings): the language has to be resolved
10947         otherwise we have problems in LyXFont!
10948
10949         * lyxfont.C (lyxWriteChanges): added document_language parameter
10950         (update): removed unneeded language parameter
10951
10952         * paragraph.C (validate): fixed wrong output of color-package when
10953         using interface colors for certain fonts in certain environments,
10954         which should not seen as that on the final output.
10955
10956 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10957
10958         * BufferView_pimpl.C:
10959         * Thesaurus.h:
10960         * Thesaurus.C:
10961         * Makefile.am:
10962         * commandtags.h:
10963         * LyXAction.C: add thesaurus support
10964
10965         * lyxfind.h:
10966         * lyxfind.C: add "once" parameter, for thesaurus, to not
10967           move to the next match
10968
10969 2001-07-26  Juergen Vigna  <jug@sad.it>
10970
10971         * lyxfont.C (realize): honor ignore_language too!
10972         (resolved): ditto.
10973
10974         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10975
10976         * text.C (draw): one place more for ignore_language to not draw
10977         itself!
10978
10979 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10980
10981         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10982
10983 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10984
10985         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10986         the minipage conversion problem.
10987
10988 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10989
10990         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10991         insert an inset.
10992
10993 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * BufferView.h: don't forward declare WorkArea
10996
10997         * BufferView.C: don't include WorkArea.h
10998
10999 2001-07-25  André Pönitz <poenitz@gmx.net>
11000
11001         * commandtags.h:
11002         * LyXAction.C:
11003         * lyxfunc.C:  new LFUN 'math-space'
11004
11005         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
11006
11007 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11008
11009         * text2.C (toggleInset): call open/close
11010
11011 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11012
11013         * lyxfunc.C (dispatch): add debug for the disabled case
11014
11015         * font.C (buttonText): make similar to rectText
11016
11017         * buffer.C (readInset): comment out parsing of insetlist and
11018         insttheorem
11019
11020         * PainterBase.C (rectText): small correction
11021
11022         * BufferView_pimpl.C: comment out insettheorem and insetlist
11023         * LyXAction.C: ditto
11024         * commandtags.h: ditto
11025
11026 2001-07-24  Juergen Vigna  <jug@sad.it>
11027
11028         * text.C (draw): honor the ignore_language.
11029
11030         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
11031
11032 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11033
11034         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
11035         char inset.
11036
11037 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11038
11039         * lyxtext.h: remove unused (and unimplemented) methods
11040
11041 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11042
11043         * text.C (getVisibleRow): honor background color
11044
11045         * PainterBase.h:
11046         * Painter.h: remove default color argument for fillRectangle
11047
11048         * text.C (backgroundColor): new method
11049
11050 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11051
11052         * text.C (getVisibleRow): adjust
11053
11054         * font.[Ch] (rectText): new method, metrics
11055         (buttonText): new method, metrics
11056
11057         * PainterBase.[hC]: make rectText and buttonText always draw and take
11058         fewer paramteres.
11059
11060 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11061
11062         * ToolbarDefaults.C (read):
11063         * MenuBackend.C (read): allow escaping in all strings
11064
11065         * BufferView_pimpl.C (insertAndEditInset): new method.
11066         (Dispatch): use insertAndEditInset whenever appropriate.
11067
11068         * BufferView_pimpl.C (insertNote): removed
11069
11070         * BufferView_pimpl.C (smartQuote): new method, moved from
11071         BufferView; if an insetquote cannot be inserted, insert a '"'
11072         character instead.
11073
11074         * BufferView2.C: remove insertCorrectQuote();
11075
11076         * lyxfunc.C (getStatus): Add support for all remaingin
11077         inset-insert lfuns.
11078
11079         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11080
11081         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11082         command (necessary to pass " as parameter of self-insert.
11083
11084         * text.C (selectWordWhenUnderCursor):
11085         (selectWord): add word_location parameter
11086         (selectWordWhenUnderCursor): same + remove special code for word
11087         boundary.
11088         (selectNextWord): use kind() to guess type of insetspecialchar,
11089         not latex().
11090
11091         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11092         (insertErtContents): create ert insets as collapsed.
11093         (readInset): better compatibility code for Info inset.
11094
11095 2001-07-20  Juergen Vigna  <jug@sad.it>
11096
11097         * lyxfunc.C (dispatch): use always LyXFind now!
11098
11099         * text2.C (init): add a reinit flag so that the LyXText can be
11100         reinited instead of deleted and reallocated (used in InsetText).
11101
11102         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11103
11104         * text.C: ditto
11105
11106         * text2.C: ditto
11107
11108 2001-07-18  Juergen Vigna  <jug@sad.it>
11109
11110         * text.C (selectNextWord): handle insets inside inset by calling
11111         always the bv->text functions so that we can go up the_locking_inset!
11112
11113         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11114         in strange locations when inside an inset!
11115
11116         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11117         handling to include insets.
11118
11119         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11120
11121 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11122
11123         * LyXAction.C (init):
11124         * commandtags.h:
11125         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11126         LIGATURE_BREAK, since the name is so stupid.
11127
11128 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11129
11130         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11131         InsetInfos.
11132
11133         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11134
11135         * sp_form.[Ch]: remove.
11136
11137         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11138
11139         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11140         InsetInfo.
11141
11142         * src/buffer.C (readInset): ditto.
11143
11144 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11145
11146         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11147         menuSeparator(), endOfSentenceDot(), ldots() and
11148         hyphenationPoint(), which are therefore removed.
11149         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11150
11151         * LyXAction.C (init):
11152         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11153
11154         * paragraph.C (getWord): removed.
11155
11156         * BufferView_pimpl.C (Dispatch): use last word or selection for
11157         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11158
11159         * lyx_main.C (queryUserLyXDir): do not ask before creating
11160         user_dir, except if it has been named explicitely.
11161
11162 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11163
11164         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11165         a document of zero size.
11166
11167 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11168
11169         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11170         approriately in the c-tor and in require().
11171         (getPackages): output the appropriate LaTeX for natbib support.
11172
11173         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11174         variables "use_natbib" and "use_numerical_citations" when reading the
11175         LyX file.
11176         (readInset): read the various natbib cite commands.
11177         (validate): white-space change.
11178
11179         * bufferparams.[Ch]: new variables "bool use_natbib" and
11180         "bool use_numerical_citations".
11181         (writeFile): output them in the LyX file.
11182
11183 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11184
11185         * lyxfunc.C (getStatus): add support for all the inset insertion
11186         commands.
11187
11188         * text2.C (insertInset):
11189         * paragraph.C (insetAllowed):
11190         * BufferView_pimpl.C (insertInset): update to take in account the
11191         renaming of insertInsetAllowed
11192
11193         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11194
11195         * text2.C (getInset): new method. returns inset at cursor position.
11196
11197         * BufferView_pimpl.C (Dispatch): changes because of this.
11198
11199         * LyXAction.C (init): rename open-stuff to inset-toggle.
11200
11201         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11202
11203         * text2.C (toggleInset): renamed from openStuff; use
11204         Inset::open().
11205
11206 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11207
11208         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11209
11210         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11211
11212 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11213
11214         * buffer.C (readLyXformat2): Add filename to the error dialog
11215
11216 2001-07-18  Juergen Vigna  <jug@sad.it>
11217
11218         * tabular.C (GetCellNumber): put an assert here instead of the check!
11219
11220 2001-07-17  Juergen Vigna  <jug@sad.it>
11221
11222         * BufferView_pimpl.C (toggleSelection): adapted too.
11223
11224         * text.C (selectNextWord): adapted for use with insets.
11225         (selectSelectedWord): ditto
11226
11227 2001-07-17  Juergen Vigna  <jug@sad.it>
11228
11229         * sp_spell.C (PSpell): fix initialitation order.
11230
11231 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11232
11233         * paragraph.C: spacing
11234
11235 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11236
11237         * sp_spell.C: repair language selection for pspell
11238
11239 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11240
11241         * lyxfunc.h: change more methods to begin with lower char.
11242
11243 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11244
11245         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11246         for unknown layouts.
11247
11248 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11249
11250         * buffer.C (readLyXformat2): Generate an error dialog if there are
11251         unknown layouts.
11252
11253 2001-07-16  Juergen Vigna  <jug@sad.it>
11254
11255         * sp_spell.C: always compile ISpell part.
11256
11257         * lyxrc.C: added use_pspell entry and it's handling.
11258
11259 2001-07-13  Juergen Vigna  <jug@sad.it>
11260
11261         * sp_spell.C: removed double includes.
11262
11263 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11264
11265         Consistent use of Lsstream.h:
11266         * Lsstream.h: added using std::stringstream for consistencies sake.
11267
11268         * buffer.C: removed using std::stringstream
11269
11270         * lyxfont.C (stateText):
11271         * paragraph.C (asString):
11272         * text.C (selectNextWord, selectSelectedWord):
11273         * text2.C (setCounter):
11274         * vspace.C (asString, asLatexString):
11275         std::ostringstream -> ostringstream.
11276
11277 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11278
11279         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11280         * commandtags.h: add LFUN_HELP_ABOUTLYX
11281         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11282
11283 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11284
11285         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11286         cursorToggle()
11287         * lyx_gui_misc.C: remove spellchecker
11288         * lyxfunc.C: showSpellchecker
11289         * sp_base.h: added
11290         * sp_ispell.h: added
11291         * sp_pspell.h: added
11292         * sp_spell.C: added
11293         * sp_form.[Ch]: removed
11294         * spellchecker.[Ch]: removed
11295
11296 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11297
11298         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11299         is set.
11300         (simpleTeXSpecialChars): Simply print the input character without
11301         any special translation if pass_thru is set.
11302
11303         * layout.h: Added bool pass_thru to layout class for being able to
11304         implement pass through of a paragraph for Literate Programming.
11305
11306         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11307         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11308         * layout.C (Read): add "passthru" to list of layout tags and add
11309         code to set the pass_thru boolean when it is read.
11310
11311 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11312
11313         * trans_decl.h: remove allowed from KmodInfo
11314
11315         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11316         remove allowed code
11317         (Load): adjust
11318
11319         * paragraph_pimpl.C (erase): use boost::prior
11320
11321         * Painter.C (text): use data() instead of c_str() when length is
11322         also provided.
11323         * WorkArea.C (putClipboard): ditto
11324         * font.h (width): ditto
11325
11326         * BufferView2.C: use it-> instead of (*it). for iterators
11327         * texrow.C: ditto
11328         * paragraph_pimpl.C: ditto
11329         * paragraph.C: ditto
11330         * minibuffer.C: ditto
11331         * language.C: ditto
11332         * kbmap.C: ditto
11333         * encoding.C: ditto
11334         * counters.C: ditto
11335         * converter.C: ditto
11336         * chset.C: ditto
11337         * Variables.C: ditto
11338         * TextCache.C: ditto
11339         * MenuBackend.C: ditto
11340         * LyXAction.C: ditto
11341         * LColor.C: ditto
11342         * FloatList.C: ditto
11343         * DepTable.C: ditto
11344         * ColorHandler.C (LyXColorHandler): ditto
11345
11346 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11347
11348         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11349
11350         * text2.C (openStuff): reintroduce this method (which had been
11351         nuked in NEW_INSETS frenzy).
11352
11353         * lyxfunc.C (Dispatch): when an action has not been handled, use
11354         its name in the error message, not its number.
11355
11356         * paragraph.C (inInset): change method name to begin with lowercase.
11357
11358         * undo_funcs.C:
11359         * text2.C: updates because of this.
11360
11361 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11362
11363         * ToolbarDefaults.C (add): add spaces in error message
11364
11365 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11366
11367         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11368         (readLyXformat2): rename return_par to first_par, use lyxlex's
11369         pushToken and remove the manual push handling.
11370         (parseSingleLyXformat2Token): add another ert comp. variable:
11371         in_tabular, rename return_par to first_par. handle newlines better
11372
11373 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11374
11375         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11376
11377 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11378
11379         * text2.C (getParFromID): removed
11380
11381         * buffer.C (getParFromID): new method moved form lyxtext.
11382         * BufferView2.C (insertErrors): adjust
11383         (setCursorFromRow): adjust
11384         * BufferView_pimpl.C (restorePosition): adjust
11385         * lyxfunc.C (Dispatch): adjust
11386         * undo_funcs.C (textUndo): adjust
11387         (textRedo): adjust
11388         (textHandleUndo): adjust
11389         (textHandleUndo): adjust
11390
11391 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11392
11393         * buffer.C: up' the LYX_FORMAT
11394
11395         * lyxfont.h: turn NO_LATEX on as default
11396
11397         * buffer.C (insertErtContents): new methods of tex style compability.
11398         (parseSingleLyXformat2Token): use it several places.
11399         * tabular.C (OldFormatRead): and here
11400
11401 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11402
11403         * text2.C: remove some commented code.
11404         reindent file.
11405
11406         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11407         * trans.C: changes because of the above.
11408
11409 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11410
11411         * text2.C (setCounter): Fix counters bug with bibliography layout.
11412
11413 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11414
11415         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11416         own member functions
11417         (simpleTeXSpecialChars): ditto
11418
11419 2001-07-06  Juergen Vigna  <jug@sad.it>
11420
11421         * a lot of files: changed the access to LyXText::status and the
11422         call of undo-functions.
11423
11424         * undo.[Ch]: added a inset_id to the undo informations.
11425
11426         * undo_funcs.[Ch]: added and moved here all undo functions.
11427
11428         * lyxtext.h: give the status enum a weight, made status_ a private
11429         variable and made accessor functions for it, removed the whole bunch
11430         of undo-functions as they are now in their own file, make some
11431         functions publically available. Added function ownerParagraph with
11432         int parameter.
11433
11434         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11435         made InInset() a const function, added getParFromID() function.
11436
11437         * buffer.[Ch]: added const version for inset_iterator functions,
11438         added getInsetFromID() function.
11439
11440         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11441         changed undo functions for new version.
11442
11443 2001-07-05  Juergen Vigna  <jug@sad.it>
11444
11445         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11446         unknow mechanism does not call the proper constructor but only this
11447         one also if I request the other!?
11448
11449 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11450
11451         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11452
11453         * text2.C (LyXText): use initialization lists.
11454
11455         * lyxtext.h (Selection): initialize set_ and mark_
11456         (init): remove method
11457
11458 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11459
11460         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11461
11462 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11463
11464         * screen.[Ch]: change method names to begin with lowercase
11465
11466         * BufferView_pimpl.C (updateScrollbar): simplify further and
11467         hopefully make it a bit faster.
11468
11469 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11470
11471         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11472         calling directly xforms functions.
11473
11474         * Painter.C (Painter):
11475         * lyx_cb.C (MenuWrite):
11476         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11477         fl_display.
11478
11479         * lyx_gui.C: remove bogus guiruntime extern declaration.
11480
11481 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11482
11483         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11484         in NEW_INSETS
11485         (redoDrawingOfParagraph): ditto
11486         (redoParagraphs): ditto
11487         (cutSelection): don't create a object for CutAndPaste use the
11488         static method directly
11489         (pasteSelection): ditto
11490
11491         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11492         LyXview (+ rename)
11493
11494 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11495
11496         * modifications to some other files because of this.
11497
11498         * Makefile.am (lyx_SOURCES): add XFormsView
11499
11500         * XFormsView.[Ch]: new files
11501
11502         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11503         the main window. Move the gui dependent stuff to XFormsView
11504
11505 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11506
11507         * tabular.C (GetCellInset): update cur_cell also in the row/col
11508         version of this function.
11509
11510         * lyxfunc.C: no need to include figure_form.h here.
11511
11512         * FontLoader.h:
11513         * lyxfunc.h:
11514         * lyxscreen.h:
11515         * text2.C:
11516         * lyxvc.C: no need to include forms.h here.
11517
11518 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11519
11520         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11521
11522         * lyxfunc.C (Dispatch):
11523         * Spacing.C (set):
11524         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11525         constructor argument.
11526
11527 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11528
11529         * paragraph.C (Paragraph): dont't clear, and just set layout.
11530         (makeSameLayout): use params's copy contructor.
11531
11532         * ParagraphParameters.[Ch] (makeSame): delete method
11533
11534 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11535
11536         * Variables.[Ch]: fix indentation, rename set to isSet
11537
11538 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11539
11540         * lyxfunc.C (Dispatch): fix typo
11541
11542 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11543
11544         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11545         upper_bound.
11546
11547         * bufferlist.C: include assert.h for emergencyWrite().
11548
11549 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11550
11551         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11552           give up at last (bug #425202) !
11553
11554 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11555
11556         * lyx_gui_misc.C:
11557         * sp_form.h:
11558         * sp_form.C:
11559         * spellchecker.h:
11560         * spellchecker.C: strip spellchecker options and bring up
11561           preferences tab instead
11562
11563 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11564
11565         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11566         the istringstream constructor
11567
11568 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11569
11570         * paragraph.C (getLayout): fix return value
11571
11572         * paragraph.h: do not declare getLayout as inline.
11573
11574         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11575
11576 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11577
11578         * lyxcursor.h (operator<): new func
11579         (operator>): new func
11580         (operator>=): new func
11581         (operator<=): new func
11582
11583         * text.C (changeCase): use selection.start and selection.end
11584         (changeRegionCase): require from to be <= to. Require par to be a
11585         valid paragraph.
11586
11587         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11588
11589 2001-06-27  Juergen Vigna  <jug@sad.it>
11590
11591         * text.C (cursorLeftOneWord): changed to return the cursor and added
11592         overlay with BufferView * parameter which calls this one.
11593         (getWord): added
11594         (selectWord): use new getWord function.
11595         (changeCase): renamed from changeWordCase as and extended to work
11596         also on selections.
11597
11598         * lyxtext.h: added enum word_location
11599
11600         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11601         changeCase as this operates now also on selections.
11602
11603 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11604
11605         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11606
11607         * many files: send debug output to Debug::INFO instead of
11608         Debug::ANY.
11609
11610         * converter.C (View):
11611         (Convert):
11612         (Move): send debug output to Debug::FILES instead of console.
11613
11614 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11615
11616         * lyxfunc.C (getStatus): use func_status
11617
11618         * func_status.h: new header, describing the results of
11619         LyXFunc::getStatus;
11620
11621         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11622         LFUN_MATH_HALIGN.
11623
11624 2001-06-25  The LyX Project  <jug@sad.it>
11625
11626         * buffer.C (sgmlOpenTag):
11627         (sgmlCloseTag):
11628         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11629
11630 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11631
11632         * text2.C: remove some dead code
11633
11634         * tabular.C (GetCellInset): store the last cell checked (gotten)
11635
11636         * tabular.h: add the helper for the speedup
11637
11638         * lyxtext.h: remove some dead code
11639
11640 2001-06-26  The LyX Project  <Asger>
11641
11642         * paragraph.C: Change export to LaTeX of alignment to
11643         \begin{center} and family for better roundtrip work with reLyX.
11644
11645         * Tune the math drawing a bit.
11646
11647 2001-06-25  The LyX Project  <Asger>
11648
11649         * LColor.C (LColor): New color for math background. New color
11650         for buttons.
11651
11652 2001-06-25  The LyX Project  <jug@sad.it>
11653
11654         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11655
11656         * lyxfunc.C (Open):
11657         * bufferlist.C (newFile): do not restrict to files ending with
11658         .lyx
11659
11660         * BufferView_pimpl.C (MenuInsertLyXFile):
11661
11662 2001-06-24  The LyX Project  <jug@sad.it>
11663
11664         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11665         of compare_no_case
11666
11667 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11668
11669         * lyxtext.h: rename most methods to begin with a small char.
11670         Lots of changes because of this.
11671
11672         * paragraph.C (Paragraph): do not call fitToSize
11673         (erase): call Pimpl::erase
11674         (insertChar): call Pimpl::insertChar
11675         (insertInset): call Pipl::insertInset
11676         (breakParagraph): do not call fitToSize
11677         (breakParagraphConservative): do not call fitToSize
11678         (fitToSize): remove method
11679
11680         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11681
11682 2001-06-24  The LyX Project  <Asger>
11683
11684         * Fix Qt compilation^2
11685
11686 2001-06-24  The LyX Project  <jug@sad.it>
11687
11688         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11689         depthHook(getDepth()-1).
11690
11691         * paragraph.h:
11692         * ParagraphParameters.h:
11693         * ParameterStruct.h: change type of depth to unsigned int ==
11694         depth_type. Many adaptations to other files before of that.
11695
11696 2001-06-24  The LyX Project  <Asger>
11697
11698         * Fix Qt compilation.
11699
11700 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11701
11702         * paragraph.h: renamed several methods to begin with small letter.
11703         several changes to many parts of the code because of this.
11704
11705 2001-06-23  The LyX Project  <jug@sad.it>
11706
11707         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11708         rewritten to discard all double spaces when KeepEmpty is off
11709         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11710         to only handle newlines but not fiddle with spaces and friends.
11711
11712         * lyxfunc.C (MenuNew): when doing 'new from template', use
11713         template_path as default directory
11714
11715 2001-06-23  The LyX Project  <Asger>
11716
11717         * Clean-up of header file includes all over
11718         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11719
11720 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11721
11722         * paragraph.h: renamed from lyxparagraph.h
11723
11724 2001-06-23  Asger  <lyx@violet.home.sad.it>
11725
11726         * Buffer.h: Removed Buffer::resize
11727         * BufferList.h: Removed BufferList::resize
11728         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11729         the document lazily when we change the width, or the font settings.
11730
11731 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11732
11733         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11734
11735 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11736
11737         * buffer.h: remove out of date comment
11738
11739 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11740
11741         * lyxscreen.h:
11742         * screen.C: fix "theoretical" GC leak
11743
11744 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11745
11746         * LaTeX.C (scanAuxFile):
11747         (deplog): remove trailing \r when reading stream (useful under
11748         win32)
11749
11750 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11751
11752         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11753         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11754         and BufferView::theLockingInset(Inset*), so should use them and not
11755         access bv_->text->the_locking_inset directly.
11756
11757         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11758
11759 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11760
11761         * Makefile.am:
11762         * tex-defs.h: remove old unused file
11763
11764 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11765
11766         * BufferView_pimpl.C: fix typo, remove minibuffer message
11767           when buffer has loaded
11768
11769 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11770
11771         * lyxfunc.C (Dispatch): use stringstream
11772         (MenuNew): use stringstream
11773         (Open): use stringstream
11774
11775         * importer.C (Import): use stringstream
11776
11777         * bufferview_funcs.C (CurrentState): use stringstream
11778
11779         * LaTeX.C (run): use stringstream
11780
11781         * BufferView_pimpl.C (savePosition): use stringstream
11782         (restorePosition): use stringstream
11783         (MenuInsertLyXFile): use stringstream
11784
11785 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11786
11787         * BufferView.C:
11788         * Bullet.C:
11789         * ColorHandler.C:
11790         * FontInfo.C:
11791         * FontLoader.C:
11792         * LColor.C:
11793         * LaTeXFeatures.C:
11794         * Painter.C:
11795         * gettext.C:
11796         * lyx_gui_misc.C:
11797         * lyxserver.C:
11798         * vspace.C: removed // -*- C++ -*- as first line.
11799
11800         * lyxfind.h:
11801         * version.h: added // -*- C++ -*- as first line.
11802
11803 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11804
11805         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11806
11807         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11808         of string
11809
11810 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11813         of floats.
11814
11815 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11816
11817         * gettext.C: include LString.h even when --disable-nls is on.
11818
11819 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11820
11821         * converter.h (Get): changed argument type from int to
11822         FormatList::size_type to avoid unnecessary conversion.
11823
11824         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11825         before using it.
11826
11827 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11828
11829         * gettext.h: include LString.h even when --disable-nls is on.
11830
11831 2001-06-07  Juergen Vigna  <jug@sad.it>
11832
11833         * text.C (BreakAgain): subst spaces with tabs.
11834
11835         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11836         (resizeInsetsLyXText): set force on resizeLyXText.
11837
11838 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11839
11840         * gettext.h (gettext_init):
11841         (locale_init): use a real definition instead of a macro
11842
11843 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11844
11845         * Bufferview_pimpl.C:
11846         * LColor.h:
11847         * LColor.C: further lcolor tidies
11848
11849 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11850
11851         * BufferView_pimpl.C (updateScrollbar): simplify.
11852
11853         * BufferView2.C: don't include insets/insetinfo.h, change
11854         prototype for insertInset and call the Pimpl version. let
11855         updateInset call Pimpl version.
11856
11857         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11858         gotoInset to BufferView::Pimpl
11859
11860 2001-06-01  Juergen Vigna  <jug@sad.it>
11861
11862         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11863         inside a LockingInset (is the update needed at all?).
11864
11865 2001-05-31  Juergen Vigna  <jug@sad.it>
11866
11867         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11868         here not the old one otherwise how should we compare it afterwards
11869         if it's the same!
11870
11871 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11872
11873         * lyxfont.C:
11874         * tabular.C:
11875         * tabular-old.C:
11876         * FontInfo.C: bring C functions into global namespace when
11877         necessary
11878
11879 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11880
11881         * LString.h: make sure config.h has been loaded before LString.h.
11882
11883         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11884         (one for each char read by EatLine!).
11885
11886         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11887         variables.
11888
11889 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11890
11891         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11892         to the same as the par we break from
11893
11894 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11895
11896         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11897
11898         * MenuBackend.C (expand): also create menu entries for wide
11899         versions of the floats.
11900
11901         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11902
11903         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11904
11905         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11906         frontends/Makefile.am
11907
11908         * text2.C: adjust
11909         * text.C: adjust
11910
11911
11912         * tabular.C (getTokenValue): add std::
11913
11914         * tabular-old.C (getTokenValue): add std::
11915         (getTokenValue): ditto
11916         (getTokenValue): ditto
11917
11918         * screen.C (ToggleSelection): adjust
11919
11920         * lyxtext.h: put selection cursors inside a Selection struct.
11921
11922         * lyxfunc.C (moveCursorUpdate): adjust
11923
11924         * lyxfont.C (latexWriteStartChanges): add std::
11925
11926         * lyxfind.C: adjust
11927
11928         * font.h: delete with(char const *, LyXFont const &)
11929
11930         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11931
11932         * FontInfo.C (getFontname): add std::
11933
11934         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11935         (workAreaButtonPress): adjust
11936         (tripleClick): adjust
11937         (update): adjust
11938         (moveCursorUpdate): adjust
11939         (Dispatch): adjust
11940
11941         * BufferView2.C (gotoInset): adjust
11942
11943 2001-05-30  Juergen Vigna  <jug@sad.it>
11944
11945         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11946         to check pspell I add this as default as I now have new pspell
11947         libraries and they seem to use this.
11948
11949 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11950
11951         * text2.C (CutSelection): make the cursor valid before the call to
11952         ClearSelection.
11953
11954 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11955
11956         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11957         relied on 0 terminated strings and other horrors. Bug found due to
11958         the new assert in lyxstring!
11959
11960         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11961         KP_ keys.
11962
11963 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11964
11965         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11966         to latinkeys.bind.
11967
11968         * lyxfunc.C (processKeySym): change method of getting to the
11969         self-insert char.
11970
11971         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11972         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11973         * BufferView_pimpl.[Ch]: here as private methods.
11974
11975 2001-05-28  Juergen Vigna  <jug@sad.it>
11976
11977         * text.C (SetHeightOfRow): added the update() call again as it is
11978         needed to initialize inset dimensions!
11979
11980 2001-05-16  Juergen Vigna  <jug@sad.it>
11981
11982         * text2.C (SetCharFont): Add new function with BufferView * and
11983         bool toggleall parameters for setting insets internal fonts.
11984         (SetFont): Freeze the undo as we may change fonts in Insets and
11985         all this change should be inside only one Undo!
11986
11987         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11988         setting font's in insets as for them we have the SetFont function!
11989
11990 2001-05-15  Juergen Vigna  <jug@sad.it>
11991
11992         * text2.C (ClearSelection): to be sure we REALLY don't have any
11993         selection anymore!
11994
11995         * tabular.C (TeXCellPreamble): fixed the left border problem for
11996         multicolumn cells.
11997
11998 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11999
12000         * LaTeX.C (deplog): Make sure that the main .tex file is in the
12001         dependancy file
12002
12003 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12004
12005         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
12006         LFUN_BREAKPARAGRAPH.
12007
12008         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
12009         help test to "internal only", similar for LFUN_INSERT_URL
12010
12011         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
12012         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
12013         auto_region_delete and deadkeys.
12014
12015 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * LColor.h:
12018         * LColor.C: remove some dead entries, tidy a little
12019
12020 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12021
12022         * lyxfunc.C (processKeySym): comment the Escape handling, remove
12023         commented code.
12024         (Dispatch): implement LFUN_ESCAPE
12025
12026         * commandtags.h: add LFUN_ESCAPE
12027
12028         * LyXAction.C (init): add entry for LFUN_ESCAPE
12029
12030         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12031         Remove commented code.
12032         (insertNote): moved here
12033         (open_new_inset): moved here
12034
12035         * BufferView[2].[Ch]: move insertNote and open_new_inset to
12036         BufferView_pimpl
12037
12038 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12039
12040         * kbmap.C (findbinding): clean it up and make it work correctly.
12041
12042         * lyx_main.C (init): do not pass argc and argv as parameters
12043
12044 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12045
12046         * buffer.C: fix path for OS/2 & Win32
12047
12048         * lyx_gui.C:
12049         * lyx_main:
12050         * lyx_main.C: Added os:: class.
12051
12052         * os2_defines.h: update
12053
12054 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12055
12056         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12057         better by trying again with reduced state.
12058
12059 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12060
12061         * lyxrc.C (read): print error about invalid key sequence only when
12062         debugging (because not all latinX keysyms are known to some X
12063         servers)
12064
12065         * kbsequence.C (getiso): add a few std:: qualifiers
12066         (getiso): comment out extra return statement.
12067
12068 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12069
12070         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12071         handling.
12072         (Dispatch): enhance the accent inset a bit. (not perfect)
12073
12074 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12075
12076         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12077
12078 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12079
12080         * bufferlist.C (emergencyWrite): fix assert() call
12081
12082 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12083
12084         * text.C (InsertChar): Added trivial patch to only send the "you
12085         can not do multiple spaces this way" message once during a
12086         session.
12087
12088 2001-05-08  Baruch Even  <baruch@lyx.org>
12089
12090         * Makefile.am: Changed order of libraries to get LyX to link properly
12091         with the gnome frontend.
12092
12093 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12094
12095         * LaTeXFeatures.h: add a std:: qualifier
12096
12097 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12098
12099         * paragraph.C (String): use stringstream
12100
12101 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12102
12103         * paragraph.C (writeFile): remove footflag arg
12104
12105         * buffer.C (makeLaTeXFile): use stringstream
12106         (latexParagraphs): remove footnot gurba
12107
12108         * LaTeXFeatures.C (getPackages): use stringstream
12109         (getMacros): likewise
12110         (getTClassPreamble): likewise
12111         (getFloatDefinitions): new method
12112
12113         * paragraph.C (writeFile): reindent
12114         (Erase): reindent
12115
12116         * WorkArea.h: revert the xpos + etc changes.
12117
12118         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12119
12120         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12121
12122         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12123         (pasteSelection): likewise
12124         * text2.C (CreateUndo): likewise
12125
12126 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12127
12128         * minibuffer.C (peek_event): temporarily reduce the functionality
12129         of the minibuffer (to allow args on lfuns)
12130
12131         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12132         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12133
12134         * buffer.C (readInset): add compability reading of old float
12135         lists, add reading of new style float list.
12136         (readInset): avoid reevaluation of inscmd.getCmdName()
12137         (getLists): reindent
12138
12139         * MenuBackend.C (MenuItem): implement parsing of
12140         md_floatlistinsert and md_floatinsert.
12141         (expand::LastFiles): move initalizaton of iterators out of loop,
12142         avoid reevaluation.
12143         (expand::Documents): introduce typdedef vector<string> Strings,
12144         and use it.
12145         (expand::ExportFormats): introduce typedef vector<Format const *>
12146         Formats, and use it.
12147         (expand): implement FloatListInsert and FloatInsert.
12148
12149         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12150         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12151         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12152
12153         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12154         handling.
12155         (Dispatch::LFUN_FLOAT_LIST): implement
12156
12157 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12158
12159         * LaTeX.C (run): Fix problem with --export code.
12160
12161 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12162
12163         * BufferView.[Ch] (workarea): removed.
12164         (getClipboard) new method; wrapper for workarea()->getClipboard()
12165
12166         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12167         bug.
12168
12169         * WorkArea.h (width, height, xpos, ypos): These methods all
12170         returned the dimensions of the work_area sub-area of WorkArea,
12171         resulting in a position error if the WorkArea were resized. Now
12172         return the dimensions of the entire WorkArea.
12173
12174         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12175
12176 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12177
12178         * LaTeX.C (deplog): correct the syntax of regex reg1
12179
12180 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12181
12182         * undo.C: remove !NEW_INSETS cruft
12183
12184 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12185
12186         * text2.C: remove !NEW_INSETS cruft
12187
12188         * text.C: remove !NEW_INSETS cruft
12189
12190         * tabular.C: remove !NEW_INSETS cruft
12191
12192         * spellchecker.C: remove !NEW_INSETS cruft
12193
12194         * lyxtext.h: remove !NEW_INSETS cruft
12195
12196         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12197
12198         * lyxfunc.C: remove !NEW_INSETS cruft
12199
12200         * lyxfind.C: remove !NEW_INSETS cruft
12201
12202         * lyx_cb.C: remove !NEW_INSETS cruft
12203
12204         * figureForm.C: remove  !NEW_INSETS cruft
12205
12206         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12207
12208         * buffer.[Ch]: remove !NEW_INSETS cruft
12209
12210         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12211
12212         * CutAndPaste.C: remove !NEW_INSETS cruft
12213
12214         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12215
12216         * BufferView2.C: remove !NEW_INSETS cruft
12217
12218         * BufferView.h: remove !NEW_INSETS cruft
12219
12220 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12221
12222         * Lsstream.h: include LString.h before the sstream headers to
12223         fix problem with gcc 2.95.3 and lyxstring
12224
12225 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12226
12227         * lyx_main.C: add using directives when needed for C functions
12228         declared in std:: namespace.
12229
12230 2001-04-27  Juergen Vigna  <jug@sad.it>
12231
12232         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12233         (SetHeightOfRow): comment out the update call should not be needed!
12234
12235 2001-04-13  Juergen Vigna  <jug@sad.it>
12236
12237         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12238         (LyXTabular): tried to minimize operator= operations (and realized
12239         hopfully Lars wish).
12240
12241 2001-04-27  Juergen Vigna  <jug@sad.it>
12242
12243         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12244
12245 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12246
12247         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12248
12249         * buffer.C (readInset): hack to make listof algorithm work
12250
12251         * BufferView_pimpl.C: hack to make listof algorithm work
12252
12253 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12254
12255         * LyXAction.C: removed all !NEW_INSETS cruft
12256         (init): moved lfun_item in method
12257
12258         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12259
12260 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12261
12262         * BufferView2.C (theLockingInset): white space.
12263
12264 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12265
12266         * minibuffer.C: include <iostream>
12267
12268         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12269
12270         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12271
12272         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12273
12274         * text.[Ch] (TransposeChars): new method
12275
12276 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12277
12278         * call message directly through LyXView instead of through LyXFunc
12279         * BufferView2.C: adjust
12280         * BufferView_pimpl.C: adjust
12281         * FontLoader.C: adjust
12282         * buffer.C: adjust
12283         * bufferview_funcs.C: adjust
12284         * converter.C: adjust
12285         * figureForm.C: adjust
12286         * importer.C: adjust
12287         * lyx_cb.C: adjust
12288         * lyx_gui_misc.C: adjust
12289         * lyxfunc.C: adjust
12290         * lyxvc.C: adjust
12291         * text2.C: adjust
12292         + more files in subdirs
12293
12294         * lyxparagraph.h (size): move up int file
12295         (GetLayout): ditto
12296
12297         * adjust all uses of Assert to lyx::Assert.
12298
12299         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12300         lyxfunctional in namespace lyx
12301         * layout.C (hasLayout): ditto
12302         (GetLayout): ditto
12303         (GetLayout): ditto
12304         (delete_layout): ditto
12305         (NumberOfClass): ditto
12306         * converter.C (GetFormat): ditto
12307         (GetNumber): ditto
12308         (Add): ditto
12309         (Delete): ditto
12310         (SetViewer): ditto
12311         * bufferlist.C (getFileNames): ditto
12312         (emergencyWriteAll): ditto
12313         (exists): ditto
12314         (getBuffer): ditto
12315         * MenuBackend.C (hasSubmenu): ditto
12316         (hasMenu): ditto
12317         (getMenu): ditto
12318         * BufferView_pimpl.C (getInsetByCode): ditto
12319
12320 2001-04-18  Juergen Vigna  <jug@sad.it>
12321
12322         * vspace.C (asLatexString): fixed the 100% problem.
12323
12324 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12325
12326         * lyxfunc.C (Dispatch):
12327         * minibuffer.C:
12328         * minibuffer.h: add a few std:: qualifiers
12329
12330 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12331
12332         * minibuffer.[Ch]: reimplement so that commands is initiated and
12333         run from lyxfunc, simplified som handling, and made the completion
12334         and history code for complete. wip.
12335
12336         * lyxfunc.C (processKeySym): call message
12337         (miniDispatch): new temporary method
12338         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12339         (LFUN_MESSAGE): implement
12340         (LFUN_MESSAGE_PUSH): implement
12341         (LFUN_MESSAGE_POP): implement
12342         (initMiniBuffer): the initial/defualt minibuffer message.
12343
12344         * lyxfont.[Ch]: inline some more getters
12345
12346         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12347
12348         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12349
12350         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12351         (AutoSave): use LFUN_MESSAGE
12352         (Reconfigure): ditto
12353
12354         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12355
12356         * figureForm.C: use LFUN_MESSAGE
12357
12358         * converter.C (runLaTeX): use LFUN_MESSAGE
12359
12360         * bufferview_funcs.C: use LFUN_MESSAGE
12361         (Melt): ditto
12362         (changeDepth): ditto
12363
12364         * bufferparams.h: use boost::
12365
12366         * bufferlist.h: inherit privately from noncopyable
12367
12368         * bufferlist.C (loadLyXFile): remove some commented code.
12369
12370         * buffer.C (runChktex): use LFUN_MESSAGE
12371
12372         * ShareContainer.h: inherit privately from noncopyable
12373
12374         * ParagraphParameters.[hC] (depth): inline it.
12375
12376         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12377         methods.
12378         (message): new method
12379         (messagePush): ditto
12380         (messagePop): ditto
12381         (show): init minibuffer
12382         (showState): direct call
12383
12384         * LaTeX.[Ch]: inherit privately from noncopyable
12385         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12386         instead of WriteStatus.
12387
12388         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12389
12390         * BufferView_pimpl.C (buffer): don't init minibuffer
12391         (workAreaButtonPress): use LFUN_MESSAGE
12392         (workAreaButtonRelease): ditto
12393         (savePosition): ditto
12394         (restorePosition): ditto
12395         (MenuInsertLyXFile): ditto
12396         (workAreaExpose): don't init minibuffer
12397         (update): remove commented code, simplify
12398
12399         * BufferView2.C (openStuff): use LFUN_MESSAGE
12400         (toggleFloat): ditto
12401         (menuUndo): ditto
12402         (menuRedo): ditto
12403         (copyEnvironment): ditto
12404         (pasteEnvironment): ditto
12405         (copy): ditto
12406         (cut): ditto
12407         (paste): ditto
12408         (gotoInset): ditto
12409         (updateInset): remove some commented code
12410
12411         * lastfiles.h: inherit privately from noncopyable
12412         * layout.h: ditto
12413         * lyx_gui.h: ditto
12414         * lyx_main.h: ditto
12415         * lyxlex.h: ditto
12416         * lyxlex_pimpl.h: ditto
12417
12418         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12419         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12420         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12421
12422         * LyXAction.h: inherit privately from noncopyable, add methods
12423         func_begin, func_end, returning iterators to the func map.
12424
12425         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12426         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12427         (func_begin): new method
12428         (func_end): new method
12429
12430         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12431         and not)
12432         (copySelection): ditto
12433         (pasteSelection): ditto
12434
12435         * BufferView.C: whitespace change
12436         * BufferView.h: inherit privately from noncopyable
12437
12438 2001-04-16  Allan Rae  <rae@lyx.org>
12439
12440         * tabular-old.C (l_getline):
12441         * spellchecker.C (sc_check_word):
12442         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12443         an unrecognised preprocessor directive.  So ensure they're wrapped.
12444
12445 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12446
12447         * src/exporter.C (Export): Give an error message when path to file
12448         contains spaces.
12449
12450 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12451
12452         * LaTeX.C (deplog): Always check that foundfile exists.
12453
12454 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12455
12456         * lyx_main.h:
12457         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12458
12459 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12460
12461         * tabular.[Ch] (getLabelList): implement new method
12462
12463         * minibuffer.h: comment ouf setTiimer
12464
12465         * minibuffer.C (ExecutingCB): constify res
12466         (peek_event): constify s
12467         (Set): constify ntext
12468         (Init): constify nicename
12469
12470         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12471
12472         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12473         (savePosition): use two params to Minibuffer::Set
12474         (restorePosition): ditto
12475
12476 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12477
12478         * lyx_main.C: include language.h
12479
12480         * Makefile.am (lyx_main.o): add language.h
12481
12482 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12483
12484         * exporter.C:
12485         * paragraph.C:
12486         * screen.C:
12487         * tabular.C:
12488         * CutAndPaste.C: include gettext.h
12489
12490         * lyxfont.h: remove old hack with ON and OFF.
12491
12492         * lyxparagraph.h:
12493         * lyxfont.h: do not include language.h...
12494
12495         * BufferView2.C:
12496         * LaTeXFeatures.C:
12497         * Painter.C:
12498         * bufferview_funcs.C:
12499         * font.C:
12500         * lyxfont.C:
12501         * text.C:
12502         * text2.C:
12503         * trans_mgr.C:
12504         * paragraph.C: ... but do it here instead
12505
12506 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12507
12508         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12509
12510         * tabular.C: small reformat
12511
12512         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12513         NEW_INSETS version
12514         (GetChar): ditto
12515         (BreakParagraph): ditto
12516         (SetOnlyLayout): ditto
12517         (SetLayout): ditto
12518
12519         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12520         with one arg less.
12521
12522         * lastfiles.C: removed most using decl, add std:: where needed
12523
12524         * buffer.C: ws changes
12525
12526         * MenuBackend.C (class compare_format): put into anon namespace
12527         (expand): constify label, names, action, action2
12528         (expand):
12529
12530         * text.C (SingleWidth): constify font
12531         (IsBoundary): constify rtl2
12532         (GetVisibleRow): constify ww
12533
12534         * LaTeX.C (deplog): constify logfile
12535
12536         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12537         start_x, end_x
12538         (workAreaExpose): constify widthChange, heightChange
12539
12540         * lyxrow.C (par): moved
12541         (height): moved
12542         (next): moved
12543         * lyxrow.h: as inlines here
12544
12545         * lyxfont.h (shape): moved from lyxfont.C
12546         (emph): moved from lyxfont.C
12547
12548         * lyxfont.C (LyXFont): use initialization list for all
12549         constructors
12550         (shape): move to lyxfont.h as inline
12551         (emph): move to lyxfont.h as inline
12552
12553
12554 2001-04-04  Juergen Vigna  <jug@sad.it>
12555
12556         * vspace.C: had to include stdio.h for use of sscanf
12557
12558 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12559
12560         * BufferView.h:
12561         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12562         independent of xforms.
12563
12564 2001-04-02  Juergen Vigna  <jug@sad.it>
12565
12566         * spellchecker.C: fixed namespace placing!
12567
12568 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12569
12570         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12571         the LyXParagraph * is 0.
12572
12573 2001-03-29  Juergen Vigna  <jug@sad.it>
12574
12575         * vspace.C: added support for %, c%, p%, l%.
12576         (stringFromUnit): added helper function.
12577         (asLatexString): changed to give right results for the %-values.
12578
12579         * buffer.C: convert the widthp in a width%.
12580
12581 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12582
12583         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12584         figureForm.[Ch].
12585
12586         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12587         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12588
12589         * lyx_cb.[Ch]: see above.
12590
12591         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12592         form1.[Ch].
12593
12594         * form1.[Ch]:
12595         * lyx.[Ch]: replaced by figure_form.[Ch].
12596
12597         * lyx_gui.C:
12598         * lyx_gui_misc.C:
12599         * lyxfunc.C: changed headers associated with above changes.
12600
12601 2001-03-27  Juergen Vigna  <jug@sad.it>
12602
12603         * BufferView_pimpl.C: set the temporary cursor right!
12604
12605 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12606
12607         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12608
12609 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12610
12611         * LString.h: removed "using std::getline"!
12612
12613         * BufferView_pimpl.C (Dispatch): changes due to changes in
12614         InsetInclude::Params.
12615
12616         * buffer.C (tag_name): removed redundant break statements as they were
12617         producing lots of warnings with my compiler.
12618
12619 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12620
12621         * LString.h: add "using std::getline" when using the real <string>.
12622
12623 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12624
12625         * buffer.C: removed bitset usage.
12626         PAR_TAG moved to an anonymous name space.
12627         (tag_name): new funtion, also in the anonymous namespace.
12628         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12629         (makeDocBookFile): clean code. Completed transition from string arrays
12630         to string vectors.
12631         (SimpleDocBookOnePar): code clean.
12632
12633 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12634
12635         * tabular.C: add some comments.
12636
12637 2001-03-22  Juergen Vigna  <jug@sad.it>
12638
12639         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12640         compatibility read a bit and fixed bug with minipage in different
12641         depth.
12642
12643 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12644
12645         * buffer.C (pop_tag): removed.
12646         (push_tag): removed.
12647         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12648         array replaced with vector. Added support for CDATA sections.
12649         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12650         at any nest level.
12651         (makeDocBookFile): XML conformant declaration of CDATA section,
12652         fixed bug related to <emphasis> in the first paragraph char.
12653         (sgmlOpenTag): exclude empty tags.
12654         (sgmlCloseTag): ditto.
12655
12656         * buffer.h (pop_tag): removed.
12657         (push_tag): removed.
12658
12659 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12660
12661         * language.h (Languages): added size_type and size().
12662
12663 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12664
12665         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12666         response on compability reading of minipages. One probliem is that
12667         the old usage of minipages was «flertydig»
12668
12669         * several files here and in subdirs: don't use static at file
12670         scope use anon namespaces instead.
12671
12672 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12673
12674         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12675         LaTeX output. This is necessary for Literate document
12676         processing.
12677
12678 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12679
12680         * buffer.C: insert hfill when needed.
12681
12682         * tabular.C (l_getline): use string::erase, small whitespace change.
12683
12684         * BufferView_pimpl.C: try the anon namespace.
12685         * WorkArea.C: ditto
12686
12687 2001-03-16  Juergen Vigna  <jug@sad.it>
12688
12689         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12690         otherwise it won't open options-dialogs.
12691
12692         * buffer.C: honor pextraWidth(p) on converting minipages.
12693
12694         * tabular.C (l_getline): changed the functions to strip trailing \r.
12695
12696 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12697
12698         * BufferView_pimpl.C:
12699         * minibuffer..C: added "using SigC::slot" declaration.
12700
12701 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12702
12703         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12704
12705         * text2.C: ditto
12706
12707         * text.C: ditto
12708
12709         * paragraph.C: ditto
12710
12711         * lyxtext.h: NO_PEXTRA
12712
12713         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12714
12715         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12716         * ParameterStruct.h: ditto
12717         * ParagraphParameters.h: ditto
12718         * lyxparagraph.h: ditto
12719
12720 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12721
12722         * buffer.C: add compability for minipage alignment.
12723         (latexParagraphs): remove unwanted pextra check.
12724
12725         * several files: remove CXX_WORKING_NAMESPACES
12726
12727         * buffer.C (pop_tag): tie is in namespace boost
12728
12729         * BufferView.h: noncopyable is in namespace boost
12730         * lyxlex.h: ditto
12731         * lyx_main.h: ditto
12732         * lyx_gui.h: ditto
12733         * layout.h: ditto
12734         * lastfiles.h: ditto
12735         * bufferlist.h: ditto
12736         * ShareContainer.h: ditto
12737         * LyXView.h: ditto
12738         * LyXAction.h: ditto
12739         * LaTeX.h: ditto
12740
12741 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12742
12743         * Merging changes from BRANCH_MVC back into HEAD.
12744
12745         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12746
12747 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12748
12749         * BufferView_pimpl.C: change from intl.C
12750
12751         * combox.h:
12752         * combox.C:
12753         * Makefile.am: move combox.*
12754
12755         * form1.h:
12756         * form1.C:
12757         * lyx_gui.C:
12758         * intl.h:
12759         * intl.C: remove dialog (covered by prefs)
12760
12761 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12762
12763         * lyxfunc.C (Dispatch): removed redundant break statement.
12764
12765 2001-03-14  Juergen Vigna  <jug@sad.it>
12766
12767         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12768
12769 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12770
12771         * buffer.C: add hack to fix compability reading of minipages.
12772
12773 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12774
12775         * buffer.C (getLists): Cleanup.
12776
12777 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12778
12779         * lyxfont.C (update): don't honor toggleall on font size.
12780
12781 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12782
12783         * bmtable.c:
12784         * bmtable.h:
12785         * Makefile.am: moved to frontends/xforms/
12786
12787         * lyx_gui_misc.C:
12788         * lyxfunc.C:
12789         * BufferView_pimpl.C: changes for moved mathpanel
12790
12791 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12792
12793         * gettext.h: fix gettext_init() in --disable-nls
12794
12795 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12796
12797         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12798
12799 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12800
12801         * lyx.C:
12802         * lyx.h: strip external form
12803
12804 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12805
12806         * BufferView_pimpl.C: add comment, destroySplash()
12807
12808 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12809
12810         * BufferView_pimpl.C:
12811         * LyXAction.C:
12812         * buffer.C:
12813         * commandtags.h:
12814         * lyxfunc.C: use re-worked insetinclude
12815
12816 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12817
12818         * buffer.C: add using std::stringstream.
12819
12820         * lyx_cb.C: readd using std::ios.
12821
12822         * buffer.C: add using std::map.
12823
12824         * BufferView_pimpl.C: add using std::vector.
12825
12826         * ShareContainer.h: add std:: to swap.
12827
12828         * buffer.h: add some typedefs
12829         * buffer.C (getLists): use them
12830         (getLists): renamed from getTocList.
12831         add a counter for the different float types and use it in the
12832         generated string.
12833         (getLists): use the same counter for the NEW_INSETS and the "non"
12834         NEW_INSETS
12835
12836         * lyx_cb.h: remove unused items, includes, using etc.
12837
12838         * ShareContainer.h: remove some commented code, add more comments
12839         and "documentation".
12840
12841 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12842
12843         * buffer.C (getTocList): make the list also when NEW_INSETS is
12844         defined.
12845
12846         * buffer.h: remove TocType
12847
12848         * buffer.C (getTocList): change to return a map<string,
12849         vector<TocItem> >, implement for dynamic number of list.
12850
12851         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12852         * text2.C (PasteSelection): adjust
12853         * CutAndPaste.C (pasteSelection): adjust
12854
12855         * FloatList.C (FloatList): update from the new_insets branch.
12856         * Floating.[Ch]: ditto
12857         * LaTeXFeatures.C: ditto
12858         * buffer.C: ditto
12859         * lyxlex_pimpl.C: ditto
12860
12861         * paragraph.C (Last): remove when NEW_INSETS is defined.
12862
12863         * other file: changes because of the above.
12864
12865 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12866
12867         * lyxparagraph.h: rename next to next_, previous to previous_,
12868         make them private for NEW_INSETS. Rename Next() to next(),
12869         Previous() to previous().
12870
12871         * other files: changes because of the above.
12872
12873 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12874
12875         * BufferView.h:
12876         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12877         problem.
12878
12879 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12880
12881         * main.C (main): pass lyx_localedir to gettext_init().
12882
12883         * gettext.h: remove locale_init and gettext_init macros
12884
12885         * gettext.C (locale_init): new function
12886         (gettext_init): new function
12887
12888         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12889         setlocale().
12890
12891 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12892
12893         * Moved credits to frontends:
12894         * credits.[Ch]: removed
12895         * credits_form.[Ch]: removed
12896         * lyx_gui_misc.C: remove credits stuff
12897         * Makefile.am:
12898
12899 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12900
12901         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12902
12903         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12904         unneeded destructor.
12905
12906         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12907         a standalone pointer again.
12908
12909         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12910
12911 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12912
12913         * Makefile.am:
12914         * filedlg.h:
12915         * filedlg.C:
12916         * LyXAction.C:
12917         * ToolbarDefaults.C:
12918         * bufferlist.C:
12919         * commandtags.h:
12920         * form1.C:
12921         * form1.h:
12922         * lyx_cb.C:
12923         * lyx_cb.h:
12924         * lyxfunc.h:
12925         * lyxfunc.C:
12926         * BufferView_pimpl.C: use new file dialog in GUII
12927
12928         * lyx_cb.h:
12929         * lyx_cb.C: remove LayoutsCB to Toolbar
12930
12931 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12932
12933         * ShareContainer.h (get): add std:: qualifier
12934
12935 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12936
12937         * ShareContainer.h: define a proper ShareContainer::value_type
12938         type (and use typename to please compaq cxx)
12939
12940 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12941
12942         * lyxparagraph.h: move serveral local vars to
12943         ParameterStruct/ParagraphParameters., use ShareContainer in
12944         FontTable., make vars in FontTable private and add getter and
12945         setter.
12946
12947         * paragraph.C: changes because of the above.
12948
12949         * lyxfont.h: remove copy constructor and copy assignment. (the
12950         default ones is ok), move number inside FontBits. move inlines to
12951         lyxfont.C
12952
12953         * lyxfont.C: add number to initializaton of statics, move several
12954         inlines here. constify several local vars. some whitespace
12955         cleanup. Dont hide outerscope variables.
12956
12957         * Spacing.h: add two new constructors to match the set methods.
12958
12959         * ShareContainer.h: new file, will perhaps be moved to support
12960
12961         * ParameterStruct.h: new file
12962
12963         * ParagraphParameters.h: new file
12964
12965         * ParagraphParameters.C: new file
12966
12967         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12968         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12969
12970         * BufferView_pimpl.C: ParagraphParameter changes.
12971         * buffer.C: Likewise.
12972         * bufferview_funcs.C: Likewise.
12973         * text.C: Likewise.
12974         * text2.C: Likewise.
12975
12976 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12977
12978         * lyxfind.C (LyXReplace): do not redefine default argument in
12979         implementation.
12980         (IsStringInText): ditto
12981         (SearchForward): ditto
12982         (SearchBackward): ditto
12983
12984 2001-03-06  Juergen Vigna  <jug@sad.it>
12985
12986         * lyxfind.C (IsStringInText): put parentes around expressions.
12987
12988 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12989
12990         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12991
12992 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12993
12994         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12995
12996         * stl_string_fwd.h: add comment
12997
12998         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12999
13000         * tabular.h:
13001         * tabular.C: remove unused DocBook methods
13002
13003         * intl.C:
13004         * language.C:
13005         * paragraph.C:
13006         * buffer.C:
13007         killed DO_USE_DEFAULT_LANGUAGE
13008
13009 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13010
13011         * lyx_gui.C: do not include language.h.
13012
13013         * bufferview_funcs.C (ToggleAndShow): do not provide optional
13014         arguments in function implementation.
13015
13016 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13017
13018         * BufferView_pimpl.C: add <ctime>
13019
13020 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13021
13022         * BufferView_pimpl.C: add using std::find_if
13023
13024 2001-02-27  José Matos  <jamatos@fep.up.pt>
13025
13026         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
13027         by OnlyPath.
13028
13029 2001-02-11  José Matos  <jamatos@fep.up.pt>
13030
13031         * buffer.C (makeDocBookFile): command styles now have a parameter as
13032         "title" by default.
13033
13034 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
13035
13036         * layout_forms.[Ch]: removed
13037         * lyx_cb.[Ch]: out character
13038         * lyx_gui.C: out character
13039         * lyx_gui_misc.C: out character
13040         * bufferview_funcs.C: : out character,
13041         added toggleall as parameter in ToggleAndShow
13042
13043 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13044
13045         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13046
13047         * text2.C (SetCurrentFont): Disable number property at boundary.
13048
13049 2001-02-26  Juergen Vigna  <jug@sad.it>
13050
13051         * lyxfunc.C (getStatus): added a string argument override function so
13052         that this is correctly called from LyXFunc::Dispatch if it contains a
13053         do_not_use_argument which is used!
13054         (Dispatch): added check for "custom" export and call appropriate func.
13055
13056 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13057
13058         * lyxrc.C: Add language_command_local, language_use_babel and
13059         language_global_options.
13060
13061         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13062
13063         * buffer.C (makeLaTeXFile): Use language_use_babel and
13064         language_global_options.
13065
13066 2001-02-23  Juergen Vigna  <jug@sad.it>
13067
13068         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13069         which works with LyXText and putted it inside BufferView. Here now we
13070         only call for that part the BufferView::Dispatch() function.
13071
13072         * BufferView.C (Dispatch): added.
13073
13074         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13075         functions which needs to use a LyXText over from LyXFunc.
13076         (MenuInsertLyXFile): added
13077         (getInsetByCode): added
13078         (moveCursorUpdate): added
13079         (static TEXT): added
13080
13081 2001-02-22  Juergen Vigna  <jug@sad.it>
13082
13083         * BufferView_pimpl.C (update): call a status update to see if LyXText
13084         needs it.
13085
13086 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13087
13088         * vc-backend.C (revert): implement for CVS
13089         (getLog): implement for CVS
13090
13091 2001-02-20  Juergen Vigna  <jug@sad.it>
13092
13093         * text2.C (ClearSelection): added BufferView param for inset_owner call
13094
13095         * lyxfunc.C (TEXT): added this function and use it instead of
13096         directly owner->view()-text of getLyXText().
13097
13098 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13099
13100         * src/layout_forms.C: out preamble
13101         * src/layout_forms.h: out preamble
13102         * src/lyx_cb.C: out preamble
13103         * src/lyx_cb.h: out preamble
13104         * src/lyx_gui.C: out preamble
13105         * src/lyx_gui_misc.C: out preamble
13106         * src/lyxfunc.C: connect with guii preamble
13107
13108 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13109
13110         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13111
13112 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13113
13114         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13115         whether to run bibtex.
13116
13117 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13118
13119         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13120
13121 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13122
13123         * Makefile.am (lyx_SOURCES): removed bibforms.h
13124
13125         * vspace.h: doxygen
13126
13127         * text.C (GetVisibleRow): make several local vars const
13128
13129         * tabular.C: small cleanup.
13130
13131         * lyxserver.C (callback): use compare instead of strncmp
13132
13133         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13134         inlines to after class or to paragraph.C
13135
13136         * lyxfont.h: remove friend operator!=
13137
13138         * converter.h: move friend bool operator< to non friend and after
13139         class def.
13140
13141         * combox.h: small cleanup
13142
13143         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13144         to inlines after class def.
13145
13146         * buffer.C (pop_tag): use string operations instead of strcmp
13147
13148         * bmtable.c: doxygen, small cleanup
13149
13150         * LaTeX.h: remove friend operator==
13151
13152 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13153
13154         * screen.C:
13155         * lyxrc.[Ch]:
13156         * lyxfunc.C:
13157         * lyxfont.[Ch]:
13158         * lyx_cb.C:
13159         * intl.[Ch]:
13160         * commandtags.h:
13161         * buffer.C:
13162         * WorkArea.[Ch]:
13163         * LyXAction.C:
13164         * BufferView_pimpl.C:
13165         * BufferView.[Ch]: remove cruft
13166
13167 2001-02-14  Juergen Vigna  <jug@sad.it>
13168
13169         * lyxfunc.C: removed #if 0 unused code
13170
13171         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13172
13173         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13174
13175         * text2.C (SetSelection): added a BufferView * parameter
13176
13177 2001-02-13  Juergen Vigna  <jug@sad.it>
13178
13179         * lyxfunc.C (Dispatch): fixed protected blank problem.
13180         * BufferView2.C (protectedBlank): added LyxText * parameter.
13181
13182         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13183         (AppendColumn): same as above for column_info.
13184
13185         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13186         (moveCursorUpdate): use a LyXText param for support of InsetText.
13187
13188         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13189         (tripleClick): ditto
13190
13191         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13192
13193         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13194
13195         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13196
13197         * text2.C (SetSelection): set correct update status if inset_owner
13198         (ToggleFree): ditto
13199
13200 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13201
13202         * tabular.C: remove some commented code.
13203
13204 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13205
13206         * BufferView_pimpl.C: call hideSplash()
13207
13208         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13209
13210         * include_form.h:
13211         * bibforms.h: remove
13212
13213         * lyxfunc.C:
13214         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13215           add LFUN_CHILD_CREATE
13216
13217         * counters.h: fix tiny typo
13218
13219         * lyx_cb.C:
13220         * lyx.h:
13221         * lyx_gui.C:
13222         * lyx.C: move splash to frontends/xforms/
13223
13224         * lyx_gui_misc.C: move Include and Bibform to frontends
13225
13226         * lyxvc.h: clarify comment
13227
13228         * vspace.C: tiny housekeeping
13229
13230 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13231
13232         * text.C (PrepareToPrint): RTL Fix.
13233
13234         * paragraph.C (GetUChar): New method.
13235         (String):  Use GetUChar.
13236
13237         * buffer.C (asciiParagraph): Use GetUChar.
13238
13239 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13240
13241         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13242
13243 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13244
13245         * buffer.h:
13246         * buffer.C: rename to getLogName(), handle
13247           build log / latex log nicely
13248
13249 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13250
13251         * MenuBackend.C:
13252         * MenuBackend.h: remove support for reference menuitem type.
13253
13254 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13255
13256         * BufferView_pimpl.C: housekeeping
13257         * BufferView_pimpl.h:
13258         * LyXView.h:
13259         * Makefile.am:
13260         * Timeout.C:
13261         * Timeout.h:
13262         * minibuffer.h: move Timeout GUI-I
13263
13264 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13265
13266         * lyxrc.C (read): Update converters data-structures.
13267
13268 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13269
13270         * LaTeX.h (operator!=): add operator != for Aux_Info
13271
13272 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13273
13274         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13275
13276         * LaTeXLog.C: deleted, useful code moved to Buffer
13277
13278         * buffer.h:
13279         * buffer.C: new function getLatexLogName()
13280
13281         * lyx_gui_misc.C:
13282         * lyx_gui.C:
13283         * lyxvc.C:
13284         * lyxvc.h:
13285         * lyxfunc.C: use frontends for LaTeX and VC logs
13286
13287 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13288
13289         * LaTeX.h: yet another std:: that Allan forgot.
13290
13291         * Variables.C (set): renamed from isset(), because this clashes
13292         with some HP-UX macros (grr).
13293
13294 2001-02-06  Allan Rae  <rae@lyx.org>
13295
13296         * LaTeX.h: Another bug fix.  Missing std:: this time.
13297
13298 2001-02-04  Allan Rae  <rae@lyx.org>
13299
13300         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13301         floats problem. I've left it commented out because it's not quite
13302         correct.  It should also test that the current object is a table or
13303         figure inset.  But I haven't gotten around to figuring out how to do
13304         that.  I *think* it'll be something like: "table" == inset.type()
13305
13306         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13307         bool.
13308
13309 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13310
13311         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13312         all the citation/databases/styles in the auxilary file.
13313         (run): Rerun latex if there was a babel language error.
13314
13315 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13316
13317         * text.C (Backspace): Preserve the font when changing newline char
13318         with a space.
13319         (BreakParagraph): If the cursor is before a space, delete the space.
13320
13321         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13322
13323 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13324
13325         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13326         new argument (code).
13327         (ChangeCitationsIfUnique): New method.
13328
13329         * paragraph.C (GetPositionOfInset): Handle bibkey.
13330
13331 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13332
13333         * BufferView_pimpl.h: change type of Position::par_pos to
13334         LyXParagraph::size_type.
13335
13336 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13337
13338         * BufferView_pimpl.C (savePosition, restorePosition): Write
13339         messages to minibuffer.
13340
13341 2001-01-28  José Matos  <jamatos@fep.up.pt>
13342
13343         * buffer.C (makeDocBookFile): adds support for document language.
13344         A silly restriction on the name of LatexCommand types where removed.
13345         Added support for CDATA sections, allows to chars unescaped, used
13346         among others in code, to avoid escape < and >.
13347
13348 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13349
13350         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13351         saved positions instrad of a stack. Furthermore, a position is
13352         stored using paragraph id/paragraph position.
13353
13354         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13355         Remove LFUN_REF_BACK.
13356
13357 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13358
13359         * converter.C (dvipdfm_options): New method.
13360
13361 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13362
13363         * vspace.C (isValidLength): Fix for empty input string.
13364
13365 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13366
13367         * LyXAction.C (init): change description of LFUN_FIGURE to
13368         "Insert Graphics"
13369
13370 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13371
13372         * LaTeX.C: add using directive
13373
13374 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13375
13376         * MenuBackend.C (expand): Fix the sorting of the formats.
13377
13378 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13379
13380         * lyx_main.C: tiny error message fix
13381
13382 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13383
13384         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13385         calling fl_initialize(). This fixes the problem with ',' as
13386         decimal separator in text files.
13387
13388 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13389
13390         * trans.C (process): Fix the keymap bug.
13391
13392 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13393
13394         * LaTeX.C (scanAuxFiles): New method. Provides support for
13395         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13396         (scanLogFile) Scan for "run BibTeX" messages.
13397
13398         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13399         OT1 font encoding. Also, load the aecompl package if the ae
13400         package is loaded.
13401
13402         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13403
13404 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13405
13406         * texrow.C (increasePos): turn two error messages into debug
13407         messages.
13408
13409 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13410
13411         * LaTeX.C (scanAux): Handle the \@input macro.
13412         (runBibTeX): Use scanAux().
13413
13414         * language.C (latex_options_): New field.
13415
13416         * LaTeXFeatures.C (getMacros): Add language macros.
13417
13418         * buffer.C (makeLaTeXFile): Small fix.
13419
13420 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13421
13422         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13423
13424         * text2.C: add a using directive.
13425
13426 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13427
13428         * BufferView2.C:
13429         * lyx_gui_misc.h:
13430         * lyxfr1.C:
13431         * lyxfunc.C: kill LyXBell.
13432
13433 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13434
13435         * text.C (IsBoundary): Remove the error message
13436
13437         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13438
13439         * lyxrc.C (setDefaults): Correct initialization value for
13440         font_norm_type.
13441
13442 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13443
13444         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13445         gotoError().
13446
13447         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13448         and GotoNextNote().
13449
13450         * src/LyXAction.C: Added reference-next.
13451
13452         * text.C (InsertChar): Use contains instead of strchr.
13453
13454         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13455
13456 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13457
13458         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13459         alignment commands (when needed).
13460
13461         * text.C (InsertChar): Add ':' to number separator chars.