]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
6cbb3deb1a4edb1c7ba79168f5aead1d8f327c50
[lyx.git] / src / ChangeLog
1
2 2003-10-21  André Pönitz  <poenitz@gmx.net>
3
4         * FuncStatus.[Ch]: small stuff, whitespace
5
6         * lyxfont.[Ch]: operator<<() for debug reasons
7
8         * lyxfunc.C:
9         * lyxrow_funcs.C:
10         * lyxtext.h: whitespace, spelling
11
12         * paragraph.C: naming of variables
13
14         * text.C:
15         * text2.C: small stuff
16
17
18 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
19
20         * text.C: (1) finish off the inset display() work;
21         (2) fix the "is a bit silly" bug (accessing char
22         past end of par).
23
24 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
25
26         * text.C: re-introduce display() for insets, fixing the
27         various bugs (stretch of line above, math inset 
28         positioning, ...)
29
30 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
31
32         * text.C (rightMargin): remove spurious semicolon
33
34         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
35         1415)
36
37 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
38
39         * text3.C: fix one crash due to wrong cursor def
40
41 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
42
43         * vc-backend.C (scanMaster): make the regex static
44
45         * LaTeX.C (scanAuxFile): make the regexs static
46
47         * text3.C (doInsertInset, dispatch, dispatch):
48         * text2.C (cursorUp, cursorDown):
49         * text.C (selectNextWordToSpellcheck):
50         * BufferView_pimpl.C (dispatch):
51         * lyxfunc.C (dispatch):  localDispatch -> dispatch
52
53 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
54
55         * lyxsocket.C: include <cerrno>
56
57 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
58
59         * lyxfunc.C (dispatch): remove textcache stuff
60
61         * bufferlist.C (release): remove textcache stuff
62         (closeAll): ditto
63
64         * TextCache.C: delete file
65         * TextCache.h: delete file
66
67         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
68
69         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
70         delete of the bv_->text.
71         (resizeCurrentBuffer): remove texcache stuff
72         (workAreaResize): ditto
73
74 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
75
76         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
77         action.
78
79 2003-10-16  André Pönitz  <poenitz@gmx.net>
80
81         * lyxrow.[Ch]:
82         * paragraph.h:
83         * rowpainter.C:
84         * text.C:
85         * text2.C:
86         * text3.C: speed up by storing y positions per paragraph plus per-row
87         offset instead of having a 'full' y position in the row.
88
89 2003-10-15  André Pönitz  <poenitz@gmx.net>
90
91         * iterators.[Ch]:
92         * iterators.[Ch]:
93         * undo.[Ch]: make undo aware of inner insets
94
95 2003-10-14  Angus Leeming  <leeming@lyx.org>
96
97         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
98         static member functions LyX::ref() and LyX::cref.
99         (lastfiles): new accessor functions for the new lastfiles_ member var.
100         (addLyXView, views_): add a new LyXView to the list of views_.
101         (updateInset): loop over all LyXViews to call their own updateInset
102         member function, returning a pointer to the Buffer owning the inset.
103
104         * BufferView_pimpl.C (loadLyXFile):
105         * MenuBackend.C (expandLastfiles):
106         * bufferlist.C (MenuWrite, QuitLyX):
107         lastfiles is no longer a global variable.
108         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
109
110         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
111         static function. Access through LyX::cref().emergencyCleanup().
112
113 2003-10-14  André Pönitz  <poenitz@gmx.net>
114
115         * iterators.[Ch]: new direct access to innermost LyXText and Inset
116
117         * undo.[Ch]: restoring part of 'undo in insets'
118
119         * Makefile.am:
120         * undo_funcs.[Ch]: merge with undo.[Ch]
121
122         * tabular.C: small cleansing stuff
123
124 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
125
126         * paragraph_funcs.C (readParToken): report unknown insets as error
127         boxes. Use the outer paragraph as location (also for unknown
128         tokens).
129
130         * factory.C (readInset): do not abort on reading an unknown inset.
131         Eat it and return 0.
132
133 2003-10-13  Angus Leeming  <leeming@lyx.org>
134
135         * lyx_main.C (LyX): remove call to setDisplayTranslator().
136
137         * lyxrc.C: displayTranslator is now a function,
138         declared in GraphicsTypes.h.
139
140 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
141
142         * format.C: new placeholder $$a to pass the socket address.
143
144         * bufferlist.[Ch]: new function getBufferFromTmp.
145
146         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
147           files in the temporary dir.
148
149 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
150
151         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
152
153         * Makefile.am: add lyxsocket.[Ch].
154
155         * lyx_main.C (error_handler): handle SIGPIPE.
156
157 2003-10-13  André Pönitz  <poenitz@gmx.net>
158
159         * BufferView_pimpl.C:
160         * lyxtext.h:
161         * text.C:
162         * text2.C:
163         * text3.C:
164         * undo_funcs.[Ch]: use paroffset_type instead of
165           ParagraphList::iterators to prevent multiple conversion
166           (and get a more robust interface)
167
168 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
169
170         * lyxfunc.C (dispatch): RESULT -> dispatch_result
171         * lyxtext.h: ditto
172         * text3.C (dispatch): ditto
173
174 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
175
176         * LaTeX.C (handleFoundFile): move the static to smaller scope,
177         move the onlyfile, use onlyfile instead of foundfile in a couple
178         of places.
179
180         * DepTable.C (update): flush the error stream a bit more
181
182 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
183
184         * lyxserver.C (callback): adjust
185
186         * lyxfunc.C (getStatus): add a missing brace in commented code
187         (ensureBufferClean): reindent
188         (dispatch): delete version taking a string
189
190 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
191
192         * LaTeX.C (deplog): move found file handlig from here...
193         (handleFoundFile): .. to new function here.
194         (deplog): make sure to discover several files mentioned on the
195         same log line.
196
197 2003-10-10  André Pönitz  <poenitz@gmx.net>
198
199         * lyxfunc.C:
200         * lyxtext.h:
201         * tabular.C:
202         * text.C:
203         * text2.C:
204         * text3.C: fix some of the tabular crashes
205
206 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
207
208         * MenuBackend.C (binding): put debug message into Debug::KBMAP
209
210         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
211
212 2003-10-09  André Pönitz  <poenitz@gmx.net>
213
214         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
215
216         * BufferView.C:
217         * BufferView_pimpl.C:
218         * bufferview_funcs.C:
219         * lyx_cb.C:
220         * lyxcursor.C:
221         * lyxfind.C:
222         * lyxfunc.C:
223         * lyxtext.h:
224         * text.C:
225         * text2.C:
226         * text3.C:
227         * text_funcs.[Ch]:
228         * textcursor.[Ch]:
229         * undo_funcs.C: adjust
230
231 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
232
233         * text2.C (incrementItemDepth): new function, use a backtracking
234         algorithm to discover the correct item depth.
235         (resetEnumCounterIfNeeded): new function, use a backtracking
236         algorithm to discover if counter reset is needed.
237         (setCounter): use them. Simplify a bit. Add different labels for
238         different item depths for itemize.
239
240         * paragraph.C (Paragraph): remove initialization of enumdepth
241         (operator=): ditto
242
243         * paragraph.h: get rid of enumdepth, and use itemdepth both for
244         enumerate and itemize. Change the type of itemdepth to signed char.
245
246 2003-10-08  André Pönitz  <poenitz@gmx.net>
247
248         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
249           thing assignable.
250         * text.C:
251         * text2.C: adjust
252
253         * tabular.[Ch]: fix crash after 'row-insert'
254
255 2003-10-08  Angus Leeming  <leeming@lyx.org>
256
257         Fix doxygen warnings.
258
259         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
260         Remove CutAndPaste:: prefix from header file declaration.
261
262         * LColor.h (fill): remove LColor:: prefix from declaration.
263
264         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
265         use lyx::depth_type rather than Paragraph::depth_type so that
266         header file and .C file match.
267
268         * converter.h (intToFormat): remove Converters:: prefix from declaration.
269
270         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
271         * aspell.C: \file aspell_local.C -> \file aspell.C
272         * gettext.C: \file gettext.C -> \file src/gettext.C
273         * gettext.h: \file gettext.h -> \file src/gettext.h
274         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
275         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
276         * text.C: \file text.C -> \file src/text.C
277
278         * toc.C: move comment so that doxygen is not confused.
279
280 2003-10-07  Angus Leeming  <leeming@lyx.org>
281
282         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
283
284 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
285
286         * aspell.C:
287         * aspell_local.h: add forgotten std::string's.
288
289 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
290
291         * LaTeXFeatures.C:
292         * LyXAction.C:
293         * factory.C:
294         * lfuns.h:
295         * lyxfunc.C:
296         * text3.C: The Box patch. Fancybox support, minipage, parbox
297
298 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
299
300         * CutAndPaste.h:
301         * DepTable.h:
302         * FloatList.h:
303         * LaTeXFeatures.h:
304         * ParagraphParameters.h:
305         * TextCache.h:
306         * Thesaurus.h:
307         * bufferlist.h:
308         * exporter.h:
309         * importer.h:
310         * lastfiles.h:
311         * lyxfind.h:
312         * lyxfont.h:
313         * lyxlex.h:
314         * lyxtextclasslist.h:
315         * messages.h:
316         * paragraph.h:
317         * paragraph_pimpl.C:
318         * textcursor.h: add <string> and other small fixes to make Lars'
319         std::string patch compile with STLport.
320
321 2003-10-06  Angus Leeming  <leeming@lyx.org>
322
323         * LColor.h: Add missing #include <string>.
324
325 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
326
327         * All most all file in all subdirs: Make <string> be the prefered
328         way of getting to std::string, add using declarations.
329
330 2003-10-06  André Pönitz  <poenitz@gmx.net>
331
332         * metricsinfo.C: initialize LyXFont before changing attribute.
333         (fixes the 'math in \emph is upright' bug)
334
335 2003-10-06  André Pönitz  <poenitz@gmx.net>
336
337         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
338
339 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
340
341         * graph.C:
342         * paragraph_pimpl.C: Small fixes to build using STLport
343
344 2003-10-02  André Pönitz  <poenitz@gmx.net>
345
346         * lyxfunc.C:
347         * text3.C: move handling of LFUN_DEPTH *; fix #1360
348
349 2003-10-01  André Pönitz  <poenitz@gmx.net>
350
351         * factory.C: assert early
352
353 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
354
355         * lyx_main.C: remove the global debug object
356
357         * debug.h: adjust for new debugstream
358
359         * debug.C: adjust for new debugstream and keep the global debug
360         object here.
361
362 2003-09-22  Angus Leeming  <leeming@lyx.org>
363
364         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
365         of g++ which otherwise complain that the scoped_ptr destructor can't delete
366         an incomplete class LyXFont.
367
368 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
369
370         * factory.C: bug fix in branches
371
372 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
373
374         * lyxfunc.C (processKeySym): adjust
375         (dispatch): adjust
376         (dispatch): change arg name from ev to func, adjust
377         (sendDispatchMessage): ditto
378
379         * lyx_main.C (defaultKeyBindings): adjust keybindings
380         (deadKeyBindings): ditto
381
382         * kbsequence.C (addkey): return a FuncRequest
383
384         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
385
386         * kbmap.C (bind): take a FuncRequest as arg, adjust
387         (read): adjust
388         (lookup): adjust
389         (defkey): change to take a FuncRequest as arg, adjust
390         (findbinding): take a FuncRequest as arg, adjust.
391
392         * funcrequest.h (operator=): added
393
394         * funcrequest.C (FuncRequest): default kb_action changed from
395         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
396
397         * buffer.C (dispatch): simplify
398         (dispatch): adjust to take a FuncRequest as arg, adjust
399
400         * boost.C (assertion_failed): change assertion message slightly
401
402         * ToolbarBackend.C (read): simplify
403
404         * MenuBackend.C (binding): adjust call to findbinding, add a
405         message if no binding is found.
406         (read): simplify
407         (expandToc): correct by adding a empty FuncRequest
408
409         * LyXAction.C: include <boost/assert.hpp>
410         (isPseudoAction): delete function
411         (LookupFunc): change name to...
412         (lookupFunc): this. change return type to FuncRequest.
413         (getActionName): take kb_action as arg, simplify
414         (funcHasFlag): add an assert, simplify.
415
416 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
417
418         * toc.C (action): return a FuncRequest, simplify
419
420         * lyxfunc.C (processKeySym): adjust
421         (getStatus): delete version that takes an int.
422         (getStatus): adjust
423         (dispatch): delete version that takes action as int
424         (dispatch): adjust
425         (sendDispatchMessage): simplify and adjust
426
427         * funcrequest.C (getArg): take unsigned int as arg
428
429         * ToolbarBackend.C (read): adjust
430         (add): delete version that takes func as a string.
431         (getIton): take a FuncRequest as arg
432
433         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
434         action.
435
436         * MenuBackend.C (MenuItem): add a new construct that only takes a
437         Kind, simplify the constructor use for submenus.
438         (add): adjust
439         (expandLastfiles): adjust
440         (expandDocuments): adjust
441         (expandFormats): adjust
442         (expandFloatListInsert): adjust
443         (expandFloatInsert): adjust
444         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
445
446         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
447         Remove class variables lyx_pseudo_map and lyx_arg_map
448
449         * LyXAction.C (searchActionArg): delete function
450         (getPseudoAction): delete function
451         (retrieveActionArg): delete function
452         (LookupFunc): make it return kb_action, simplify.
453         (getActionName): simplify
454
455         * factory.C (createInset): fix new bug
456
457 2003-09-19  Angus Leeming  <leeming@lyx.org>
458
459         * CutAndPaste.C (pasteSelection): remove fudge used to set the
460         masterFilename_ parameter in the include inset.
461
462         * factory.C (createInset): changes due to the changes to InsetInclude.
463
464 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
465
466         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
467
468 2003-09-18  Angus Leeming  <leeming@lyx.org>
469
470         * buffer.C:
471         * BufferView.C: pass the buffer when calling Inset::getLabelList,
472         Inset::fillWithBibKeys.
473         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
474
475 2003-09-18  Angus Leeming  <leeming@lyx.org>
476
477         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
478         variables.
479         (ctor): pass and store a 'Buffer const &'
480         (buffer): new member function.
481
482         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
483         '*this' to the LaTeXFeatures ctor.
484
485 2003-09-18  Angus Leeming  <leeming@lyx.org>
486
487         * LColor.h:
488         * lyxfont.C:
489         * lyxfont.h:
490         * lyxtext.h:
491         * text.C: rename EnumLColor as LColor_color.
492
493 2003-09-18  Angus Leeming  <leeming@lyx.org>
494
495         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
496         remove #include "insets/insetbase.h" from cursor.h.
497
498 2003-09-18  Angus Leeming  <leeming@lyx.org>
499
500         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
501         InsetOld_code to remove #include "inset.h".
502
503         * iterators.C: add #include "insets/inset.h"
504
505 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
506
507         * BufferView.C: remove more locking stuff that apparently doesn't
508         do anything sensible.
509
510 2003-09-16  André Pönitz  <poenitz@gmx.net>
511
512         * paragraph.[Ch]:
513         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
514           performance boost.
515
516 2003-09-16  Angus Leeming  <leeming@lyx.org>
517
518         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
519
520         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
521         arg/return type.
522
523         * paragraph.h: remove #include "lyxfont.h". Forward declare
524         LyXFont_size.
525
526 2003-09-16  Angus Leeming  <leeming@lyx.org>
527
528         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
529         of support/textutils.h.
530         (isWord): move the contents of support/textutils.h's IsWordChar here.
531
532         * buffer.C:
533         * lyxfind.C:
534         * rowpainter.C:
535         * text.C:
536         * text2.C: add #include "paragraph.h".
537
538         * rowpainter.C:
539         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
540
541 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
542
543         * main.C:
544         * lyx_main.C:
545         * lyx_cb.C:
546         * buffer.C:
547         * LaTeX.C: use namespace alias for lyx::support::os
548
549 2003-09-16  Angus Leeming  <leeming@lyx.org>
550
551         * bufferparams.C:
552         * bufferview_funcs.C:
553         * factory.C:
554         * lyxfunc.C:
555         * paragraph_pimpl.C:
556         * rowpainter.C:
557         * text.C: add #include "LColor.h".
558
559 2003-09-16  Angus Leeming  <leeming@lyx.org>
560
561         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
562         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
563         return LyXFont &.
564         Store the FontBits::color variable as an int rather than as an
565         LColor::colorso that we can move LColor.h out of the lyxfont.h header
566         file.
567
568         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
569         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
570         string calls together.
571
572         * lyxrc.C: add #include "LColor.h".
573
574 2003-09-15  Angus Leeming  <leeming@lyx.org>
575
576         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
577         a cow_ptr.
578
579 2003-09-15  Angus Leeming  <leeming@lyx.org>
580
581         * LColor.h: add an EnumLColor wrapper for LColor::color.
582
583         * lyxfont.[Ch] (color, setColor, realColor):
584         * lyxtext.h, text.C (backgroundColor):
585         pass EnumLColor args to/from the functions, rather than LColor::color
586         ones.
587
588         * lyxfont.h:
589         * lyxtext.h: forward declare EnumLColor.
590
591         * lyx_main.C: add #include "LColor.h".
592
593 2003-09-15  Angus Leeming  <leeming@lyx.org>
594
595         * .cvsignore: add lyx-gtk.
596
597 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
598
599         * Chktex.C
600         * LaTeX.C
601         * LaTeXFeatures.C
602         * ParagraphParameters.C
603         * Spacing.C
604         * buffer.C
605         * bufferparams.C
606         * bufferview_funcs.C
607         * chset.C
608         * counters.C
609         * funcrequest.C
610         * lyxfont.C
611         * lyxgluelength.C
612         * lyxlength.C
613         * paragraph.C
614         * paragraph_funcs.C
615         * text3.C
616         * vc-backend.C: remove usage of STRCONV
617
618 2003-09-15  Angus Leeming  <leeming@lyx.org>
619
620         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
621         explicitly define the color passed to the painter.
622
623 2003-09-15  Angus Leeming  <leeming@lyx.org>
624
625         * bufferparams.C (BufferParams): reorder member initializers to avoid
626         compiler warning.
627
628 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
629
630         * CutAndPaste.C (pasteSelection): remove an outdated #warning
631         * text.C (updateRowPositions): remove an unusual nop
632
633 2003-09-12  André Pönitz  <poenitz@gmx.net>
634
635         * BufferView_pimpl.C:
636         * Bullet.C:
637         * layout.h:
638         * lyxfunc.C:
639         * lyxlayout.[Ch]:
640         * lyxtextclass.C:
641         * rowpainter.C:
642         * text.C:
643         * text2.C:
644         * Counters.[Ch]: finish the 'automatic counters' job
645
646 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
647
648         * aspell.C: include <boost/assert.cpp> (compile fix)
649
650 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
651
652         * boost.C (assertion_failed): use lyx::support::abort instead of
653         assert.
654
655 2003-09-10  Angus Leeming  <leeming@lyx.org>
656
657         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
658         with their _fwd progeny.
659
660 2003-09-09  Angus Leeming  <leeming@lyx.org>
661
662         134 files throughtout the source tree: replace 'using namespace abc;'
663         directives with the appropriate 'using abc::xyz;' declarations.
664
665 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
666
667         * boost.C (emergencyCleanup): moved here from LAssert.c
668         (assertion_failed): new function, called by BOOST_ASSERT
669
670         * several files: change Assert to BOOST_ASSERT
671
672 2003-09-09  Angus Leeming  <leeming@lyx.org>
673
674         * buffer.[Ch]: Add an Impl class and move Buffer's member
675         variables into it. As a result move several header files out of
676         buffer.h.
677
678         Add header files to lots of .C files all over the tree as a result.
679
680 2003-09-09  Angus Leeming  <leeming@lyx.org>
681
682         * buffer.[Ch]: make Buffer's member variables private. Add
683         accessor functions.
684
685         Lots of changes all over the tree as a result.
686
687 2003-09-08  Angus Leeming  <leeming@lyx.org>
688
689         * graph.C: #include <config.h>.
690
691 2003-09-08  Angus Leeming  <leeming@lyx.org>
692
693         * BranchList.C:
694         * BufferView.C:
695         * BufferView_pimpl.C:
696         * CutAndPaste.C:
697         * DepTable.C:
698         * LaTeX.C:
699         * LaTeXFeatures.C:
700         * LyXAction.C:
701         * MenuBackend.C:
702         * TextCache.C:
703         * aspell.C:
704         * buffer.C:
705         * bufferlist.C:
706         * changes.C:
707         * chset.C:
708         * converter.C:
709         * counters.C:
710         * debug.C:
711         * graph.C:
712         * ispell.C:
713         * lyx_cb.C:
714         * lyxfind.C:
715         * lyxfunc.C:
716         * lyxlex_pimpl.C:
717         * lyxrc.C:
718         * lyxrow.C:
719         * paragraph.C:
720         * rowpainter.C:
721         * texrow.C:
722         * text.C:
723         * text2.C:
724         * toc.C: remove redundant using directives.
725
726 2003-09-07  Angus Leeming  <leeming@lyx.org>
727
728         * LaTeXFeatures.h: remove #include "support/types.h".
729         * ToolbarBackend.h: remove #include <algorithm>.
730         * changes.h: remove #include <ctime>.
731         * debug.h: remove #include <iosfwd>.
732         * graph.h: remove #include "support/std_string.h".
733         * lyx_main.h: remove #include <csignal>.
734         * lyxlex_pimpl.h: remove #include <fstream>.
735         * sgml.h: remove #include <algorithm>, <utility>.
736         * toc.h: remove #include "support/std_ostream.h".
737         Add #include <iosfwd>.
738
739 2003-09-07  Angus Leeming  <leeming@lyx.org>
740
741         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
742
743         * converter.h: forward declare LatexRunParams.
744         * encoding.h: remove #include "lyxrc.h".
745         * lyxtext.h: remove #include "LColor.h".
746         * lyxtextclass.h: remove #include "support/types.h".
747         * trans.h: remove #include "tex-accent.h".
748         * trans_mgr.h: remove #include "tex-accent.h".
749         * insets/inset.h: remove #include "support/types.h", <vector>.
750         * insets/insetcollapsable.h: remove #include "LColor.h".
751         * insets/insetinclude.h: remove #include "dimension.h".
752         * insets/insetlatexaccent.h: remove #include "dimension.h".
753         * insets/insetoptarg.h:: remove #include "insettext.h".
754         * insets/insettext.h: remove #include "dimension.h",
755         <boost/shared_ptr.hpp>
756
757         * insets/renderers.h: add #include "dimension.h".
758         * insets/updatableinset.h: add #include "support/types.h".
759
760         * many .C files: Associated changes.
761
762 2003-09-06  Angus Leeming  <leeming@lyx.org>
763
764         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
765         one, inside testInvariant.
766
767         * PrinterParams.C: new file.
768         * PrinterParams.[Ch]: move the function bodies out of line.
769
770 2003-09-06  Angus Leeming  <leeming@lyx.org>
771
772         * ParagraphParameters.h: forward declare ParameterStruct rather than
773         including its header file.
774         (depth): moved out-of-line.
775
776 2003-09-06  Angus Leeming  <leeming@lyx.org>
777
778         * BufferView_pimpl.h:
779         * kbmap.h:
780         * kbsequence.h:
781         * lyxfunc.h: forward declare LyXKeySym rather than
782         #include "frontends/LyXKeySym.h".
783
784         * BufferView_pimpl.C:
785         * kbmap.C:
786         * kbsequence.C:
787         * lyxfunc.C: associated changes.
788
789 2003-09-06  Angus Leeming  <leeming@lyx.org>
790
791         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
792         As a result, can remove the #include "insets/inset.h" from BufferView.h
793
794 2003-09-06  Angus Leeming  <leeming@lyx.org>
795
796         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
797         As a result, can remove the #include "insets/inset.h" from BufferView.h
798
799 2003-09-06  Angus Leeming  <leeming@lyx.org>
800
801         * buffer_funcs.C:
802         * buffer.h:
803         * bufferlist.C:
804         * BufferView.C:
805         * bufferview_funcs.C:
806         * BufferView_pimpl.C:
807         * CutAndPaste.C:
808         * lyx_cb.C:
809         * lyxfunc.C:
810         * paragraph.h:
811         * ParagraphParameters.C:
812         * tabular.C:
813         * text3.C:
814         * toc.C:
815         * undo_funcs.C:
816         * frontends/controllers/ControlDocument.C:
817         * insets/insetcaption.C: rearrange the #includes into some sort of
818         coherent order.
819
820         * buffer.h: remove #includes ErrorList.h, undo.h
821
822 2003-09-06  Angus Leeming  <leeming@lyx.org>
823
824         * support/types.h: add a 'depth_type' typedef, used to store the
825         nesting depth of a paragraph.
826
827         * paragraph.h:
828         * ParameterStruct.h: use this lyx::depth_type typedef rather than
829         defining explicitly.
830
831         * buffer.h:
832         * paragraph_funcs.h:
833         * ParagraphParameters.h:
834         * sgml.h: use lyx::depth_type rather than Paragraph or
835         ParameterStruct's depth_type.
836
837         * buffer.h
838         * paragraph_funcs.h: no need to #include paragraph.h anymore.
839
840         * BufferView.C:
841         * BufferView_pimpl.C:
842         * CutAndPaste.C:
843         * ParagraphParameters.C:
844         * buffer_funcs.C:
845         * bufferlist.C:
846         * bufferview_funcs.C:
847         * lyx_cb.C:
848         * lyxfunc.C:
849         * tabular.C:
850         * text3.C:
851         * toc.C:
852         * undo_funcs.C:
853         * frontends/LyXView.C:
854         * frontends/controllers/ControlDocument.C:
855         * frontends/controllers/ControlErrorList.C:
856         * insets/insetbibitem.C:
857         * insets/insetbranch.C:
858         * insets/insetcaption.C:
859         * insets/insetcollapsable.C:
860         * insets/insetenv.C:
861         * insets/insetert.C:
862         * insets/insetfloat.C:
863         * insets/insetfoot.C:
864         * insets/insetfootlike.C:
865         * insets/insetnewline.C:
866         * insets/insetquotes.C:
867         * insets/insettabular.C:
868         * insets/insettext.C:
869         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
870
871         * frontends/controllers/ControlChanges.C: #include "changes.h".
872
873 2003-09-06  Angus Leeming  <leeming@lyx.org>
874
875         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
876         than #including paragraph.h.
877
878         * ParagraphList.h:
879         * RowList.h: deleted. Superfluous.
880
881         * CutAndPaste.h:
882         * iterators.h:
883         * lyxcursor.h:
884         * lyxtext.h:
885         * text_funcs.h:
886         * undo.h:
887         * undo_funcs.h:
888         * insets/inset.h:
889         * insets/insettext.h: use ParagraphList_fwd.h rather than
890         ParagraphList.h.
891
892         * paragraph.h: don't forward declare ParagraphList.
893
894         * buffer.h:
895         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
896         rather than ParagraphList.h. paragraph.h is still needed for the
897         Paragraph::depth_type parameters.
898
899         * textcursor.h: enable it to compile stand-alone in light of the
900         above changes.
901
902         * bufferview_funcs.C:
903         * iterators.C:
904         * lyxfunc.C:
905         * lyxrow_funcs.C:
906         * paragraph.C:
907         * rowpainter.C:
908         * text.C:
909         * text2.C:
910         * text3.C:
911         * text_funcs.C:
912         * textcursor.C:
913         * undo.C:
914         * frontends/controllers/ControlParagraph.C:
915         * frontends/controllers/ControlTabular.C:
916         * insets/insetmarginal.C:
917         * insets/insetminipage.C:
918         * insets/insetnote.C:
919         * insets/insetoptarg.C: add header files needed to compile again.
920
921 2003-09-06  Angus Leeming  <leeming@lyx.org>
922
923         * RowList_fwd.h: new file, forward-declaring Row rather than
924         #including lyxrow.h.
925
926         * lyxrow_funcs.h:
927         * lyxtext.h:
928         * paragraph.h:
929         * insets/insettext.h: use it instead of RowList.h
930
931         * bufferview_funcs.C:
932         * lyxfunc.C:
933         * lyxrow_funcs.C:
934         * paragraph.C:
935         * rowpainter.C:
936         * text.C:
937         * text2.C:
938         * text3.C: #include "RowList.h".
939
940 2003-09-05  Angus Leeming  <leeming@lyx.org>
941
942         * factory.C (createInset):
943         * vspace.C (c-tor): replace sscanf call with an istringstream.
944         * ispell.C: re-add missing HP/UX headers.
945         * lyxserver.C: re-add missing  os2 headers.
946
947 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
948
949         * BranchList.C:
950         * graph.C:
951         * ispell.C:
952         * lastfiles.C:
953         * lyx_cb.C:
954         * lyxserver.C:
955         * texrow.C:
956         * text3.C: re-add missing system headers, needed for 2.95.2.
957
958 2003-09-05  Angus Leeming  <leeming@lyx.org>
959
960         Changes most place everywhere due to the removal of using directives
961         from support/std_sstream.h.
962
963 2003-09-05  Angus Leeming  <leeming@lyx.org>
964
965         Replace LString.h with support/std_string.h,
966         Lsstream.h with support/std_sstream.h,
967         support/LIstream.h with support/std_istream.h,
968         support/LOstream.h with support/std_ostream.h.
969
970         Changes resulting throughout the tree.
971
972 2003-09-05  Angus Leeming  <leeming@lyx.org>
973
974         * sgml.h: ensure that the header file can be compiled stand-alone.
975         * *.C: strip out redundant #includes. (320 in total.)
976
977 2003-09-04  Angus Leeming  <leeming@lyx.org>
978
979         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
980         here (from getPackages).
981
982         * debug.[Ch]: add a new EXTERNAL tag.
983
984 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
985
986         * text2.C (cursorEnd): simplify
987         (setCursor): adjust
988         (getColumnNearX): adjust
989
990         * text.C (computeBidiTables): adjust
991         (fill): adjust
992
993         * rowpainter.C (paintChars): adjust
994         (paintSelection): adjust
995         (paintChangeBar): adjust
996         (paintText): adjust
997
998         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
999         lastPos instead.
1000         (numberOfSeparators): adjust
1001
1002 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1003
1004         * LyXAction.C:
1005         * box.[Ch]:
1006         * lfuns.h:
1007         * lyxfunc.C:
1008         * text3.C: Restricts the mouse click functionality
1009         of insets like bibtex, include, toc and floatlist to the visible
1010         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1011         up the dialogs. Cursor has to be in front of the inset (i.e.
1012         start of row) for this to function.
1013
1014 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1015
1016         * bufferview_funcs.C (currentState): output row information
1017
1018 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1019
1020         * bufferview_funcs.C (currentState): output paragraph position
1021
1022 2003-09-04  Angus Leeming  <leeming@lyx.org>
1023
1024         * FloatList.h: move out #include "Floating.h".
1025         * LaTeX.h: move out #include "DepTable.h".
1026         * LyXAction.h: move out #include "funcrequest.h".
1027         * buffer.h: move out #include "author.h", "iterators.h".
1028         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1029         * lyx_main.h: move out #include "errorlist.h".
1030         * lyxfunc.h: move out #include "FuncStatus.h".
1031         * lyxtext: move out #include "lyxcursor.h".
1032         * paragraph_pimpl.h: move out #include "counters.h".
1033
1034 2003-09-03  Angus Leeming  <leeming@lyx.org>
1035
1036         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1037         preamble_snippets list, enabling us to add snippets to the preamble
1038         only if the snippet was not there already.
1039
1040 2003-09-04  Angus Leeming  <leeming@lyx.org>
1041
1042         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1043
1044 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1045
1046         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1047         update
1048
1049 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1050
1051         * BranchList.C: point fix, earlier forgotten
1052
1053 2003-09-02  Angus Leeming  <leeming@lyx.org>
1054
1055         * box.C (contains): renamed from 'contained' after a fantastic
1056         amount of hot air.
1057
1058 2003-09-02  John Levon  <levon@movementarian.org>
1059
1060         * BufferView.C:
1061         * lyxcursor.h:
1062         * lyxcursor.C:
1063         * lyxfunc.C:
1064         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1065
1066 2003-09-02  John Levon  <levon@movementarian.org>
1067
1068         * text2.C: simplification of cursorEnd(), including partial
1069         fix for bug 1376
1070
1071 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1072
1073         * buffer.C (readFile): add a space
1074
1075 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1076
1077         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1078
1079 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1080
1081         * buffer.C (readFile): new function, take a filename and a
1082         ParagraphList::iterator
1083         (readFile): adjust
1084         (readFile): adjust, make it private. don't use setStream, make
1085         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1086         always contain the filename.
1087
1088         * BufferView.C (insertLyXFile): simplify and make it work for
1089         gzipped files.
1090
1091 2003-08-30  John Levon  <levon@movementarian.org>
1092
1093         * Makefile.am: fix dist (from Kayvan)
1094
1095 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1096
1097         * most files: change to use const Buffer refs
1098
1099 2003-08-27  André Pönitz  <poenitz@gmx.net>
1100
1101         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1102         on top of ownerPar().
1103
1104 2003-08-27  John Levon  <levon@movementarian.org>
1105
1106         * funcrequest.C: properly initialise POD members
1107
1108 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1109
1110         * lyxtext.h (top_y): move top_y from here
1111         * text.C:
1112         * text2.C:
1113         * text3.C:
1114         * BufferView.[Ch]:
1115         * BufferView_pimpl.[Ch]: to here
1116         * frontends/screen.C:
1117         * insets/insettabular.C:
1118         * insets/insettext.C: adjust
1119         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1120
1121 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1122
1123         * BufferView.[Ch]:
1124         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1125
1126 2003-08-26  André Pönitz  <poenitz@gmx.net>
1127
1128         * paragraph_func.[Ch] (outerPar): new function
1129
1130         * paragraph.C:
1131         * paragraph_funcs.C:
1132         * paragraph_funcs.h:
1133         * paragraph_pimpl.C:
1134         * text2.C: remove Inset::par_owner
1135
1136 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1137
1138         * lyxrow_funcs.C:
1139         * lyxtext.h:
1140         * text.C:
1141         * text2.C: eliminates the needFullRow/display() stuff
1142         altogether, putting the logic in metrics/draw in the insets.
1143
1144 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1145
1146         * text2.C (redoParagraphInternal, redoParagraphs):
1147         * text.C (redoParagraph): add a call to updateRowPositions at the
1148         end of each 'metrics-like' call. Remove all others.
1149         (getRow): remove the 'y-computing' version.
1150         (getRowNearY): do not compute nor return the real y. Solve the
1151         'y < 0' problem and simplify.
1152
1153 2003-08-22  Angus Leeming  <leeming@lyx.org>
1154
1155         * *.[Ch]: clean-up of licence and author blurbs.
1156         Also move config.h out of a few .h files and into a few .C files.
1157
1158 2003-08-22  André Pönitz  <poenitz@gmx.net>
1159
1160         * lyxrow.[Ch]: add x_ and *fill_ members
1161
1162         * lyxtext.h:
1163         * text.C:
1164         * rowpainter.C:
1165         * text2.C: adjust/remove prepareToPrint() calls
1166
1167 2003-08-22  André Pönitz  <poenitz@gmx.net>
1168
1169         * lyxrow.[Ch]: add  end_ member
1170
1171         * lyxrow_funcs.C: use LyXRow::end_
1172
1173         * lyxtext.h (singleWidth): add LyXFont parameter
1174
1175         * rowpainter.C:
1176         * text2.C: adjust LyXText::singleWidth() calls
1177
1178         * text.C (redoParagraph): simplify row breaking logic
1179
1180
1181 2003-08-19  André Pönitz  <poenitz@gmx.net>
1182
1183         * funcrequest.C: initialize button_ member
1184
1185         * text3.C:
1186         * rowpainter.[Ch]: interface consolidation
1187
1188 2003-08-18  André Pönitz  <poenitz@gmx.net>
1189
1190         * BufferView.C:
1191         * BufferView_pimpl.C:
1192         * lyxfind.C:
1193         * paragraph_funcs.C:
1194         * rowpainter.C:
1195         * text3.C: remove LyXScreen::draw() and fitCursor calls
1196
1197         * BranchList.h: remove spurious semicolons
1198
1199         * MenuBackend.C: fix branchlist related crash
1200
1201 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1202
1203         * BranchList.[Ch]:
1204         * InsetList.[Ch]:
1205         * LColor.[Ch]:
1206         * LyXAction.C:
1207         * Makefile.am:
1208         * MenuBackend.[Ch]:
1209         * bufferparams.[Ch]:
1210         * factory.C:
1211         * lfuns.h:
1212         * lyxfunc.C:
1213         * text3.C: implements the 'branch inset'
1214         idea. This allows the output of various versions of a document
1215         from a single source version, selectively outputing or suppressing
1216         output of parts of the text.
1217         This implementation contains a 'branch list editor' in a separate
1218         tab of the document settings dialog. Branches are user definable
1219         and have a "display colour" to distinguish them on-screen.
1220
1221         ColorHandler was somewhat cleaned up.
1222         (1) make possible a dynamically growing LColor list by allowing
1223         the graphic context cache to grow along (vector);
1224         (2) eliminate an IMHO unnecessary step in colour allocation.
1225
1226 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1227
1228         * BufferView_pimpl.C: compile fix
1229
1230 2003-08-15  André Pönitz  <poenitz@gmx.net>
1231
1232         * rowpainter.C: remove extra metrics calls
1233
1234         * lyxtext.h: merge the two constructors into a single one,
1235           pass reference to owner's par list
1236
1237         * BufferView_pimpl.C:
1238         * text.C:
1239         * text2.C: adjust
1240
1241 2003-08-15  André Pönitz  <poenitz@gmx.net>
1242
1243         * lyxrow_funcs.[Ch]:
1244         * lyxtext.h:
1245         * paragraph.h:
1246         * paragraph_funcs.C:
1247         * rowpainter.C:
1248         * text.C:
1249         * text2.C:
1250         * text3.C:
1251         * text_funcs.C: split LyXText::rowlist_ into individual
1252         Paragraph::rows_ chunks
1253
1254         * BufferView.[Ch]:
1255         * BufferView_pimpl.[Ch]:
1256         * lyxfind.C:
1257         * lyxtext.h:
1258         * text3.C: remove toggleSelection()
1259
1260 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1261
1262         * bufferlist.C: beautify two alerts (shorter text of buttons)
1263         * buffer.C: Remove redundant ' ' from message
1264         * tabular.h:
1265         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1266         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1267         rename VALIGN_CENTER to VALIGN_MIDDLE
1268
1269 2003-08-11  André Pönitz  <poenitz@gmx.net>
1270
1271         * lyxtext.h (getPar):
1272         * text.C: new function
1273
1274 2003-08-11  André Pönitz  <poenitz@gmx.net>
1275
1276         * Makefile.am:
1277         * tracer.[Ch]: remove unneeded files
1278
1279         * InsetList.[Ch]: remove resizeInsetsLyXText()
1280
1281         * lyxtext.h:
1282         * text.C:
1283         * text2.C:
1284         * text3.C: merge insertParagraphs() and appendParagraph()
1285         remove breakAgain(), update()
1286
1287         * BufferView_pimpl.[Ch]:
1288         * bufferview_funcs.[Ch]:
1289         * lyxfunc.C:
1290         * paragraph.[Ch]:
1291         * rowpainter.C:
1292         * tabular.C: adjust after text & InsetList changes.
1293
1294 2003-08-08  André Pönitz  <poenitz@gmx.net>
1295
1296         * text.C (insertChar, backspace): replace rowlist fiddling
1297         with rebreak of full par
1298
1299         * lyxtext.h:
1300         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1301         checkParagraph, updateInset): removed
1302
1303 2003-08-07  André Pönitz  <poenitz@gmx.net>
1304
1305         * paragraph.C:
1306         * text3.C: merge some LFUN handlers, remove dead code
1307
1308 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1309
1310         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1311
1312 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1313
1314         * text2.C (DEPM): fix part of bug 1255 and 1256
1315
1316 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1317
1318         * BufferView_pimpl.C (workAreaDispatch): change to use
1319         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1320         that are no mouse related.
1321
1322 2003-08-05  André Pönitz  <poenitz@gmx.net>
1323
1324         * BufferView.[Ch]:
1325         * BufferView_pimpl.[Ch]:
1326         * bufferview_funcs.C:
1327         * text2.C:
1328         * text3.C: rip out "deep update"
1329
1330         * textcursor.[Ch] (last_sel_cursor): remove unused member
1331
1332 2003-08-04  André Pönitz  <poenitz@gmx.net>
1333
1334         * BufferView.[Ch]:
1335         * BufferView_pimpl.[Ch]:
1336         * ParagraphParameters.C:
1337         * bufferview_funcs.C:
1338         * lyx_cb.C:
1339         * lyxfind.C:
1340         * lyxfunc.C:
1341         * text.C:
1342         * text2.C:
1343         * text3.C: replace "complicated" BufferView::update(...) calls with
1344         simpler ones.
1345
1346         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1347
1348 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1349
1350         * Makefile.am (lyx_SOURCES): add paper.h
1351
1352 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1353
1354         * Makefile.am: move things around so that both lyx-qt and
1355         lyx-xforms can be built (according to --with-frontend). Then lyx
1356         is a symbolic link to lyx-[firstfrontend]
1357
1358 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1359
1360         * Always use std::endl with lyxerr
1361
1362 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1363
1364         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1365
1366 2003-08-01  André Pönitz  <poenitz@gmx.net>
1367
1368         * BufferView.[Ch]:
1369         * BufferView_pimpl.[Ch]:
1370         * lyxfunc.C:
1371         * text3.C: merge BufferView::repaint() and BufferView::update()
1372
1373 2003-08-01  José Matos  <jamatos@lyx.org>
1374
1375         * buffer.[Ch]: file_format is no longer a buffer data element.
1376
1377 2003-08-01  André Pönitz  <poenitz@gmx.net>
1378
1379         * BufferView.C:
1380         * lyxtext.h:
1381         * text.C:
1382         * text2.C: make redoParagraph more independent of current cursor
1383
1384         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1385         * text.C:
1386         * text2.C: remove unneeded members
1387
1388 2003-07-30  André Pönitz  <poenitz@gmx.net>
1389
1390         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1391
1392         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1393           create a single function...
1394
1395         * paragraph_funcs.C (moveItem): ... here.
1396
1397         * text.C:
1398           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1399
1400 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1401
1402         * LColor.[Ch]: Add comment and greyedout logical colors.
1403
1404 2003-07-30  André Pönitz  <poenitz@gmx.net>
1405
1406         * tabular.C: don't use Assert too heavily. This crashes where it
1407           shouldn't
1408
1409 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1410
1411         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1412         is disabled (bug 1232)
1413
1414 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1415
1416         * factory.C: limited 'arg' scope
1417
1418 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1419
1420         * factory.C: fixed Note submenu issues
1421
1422 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1423
1424         * factory.C: submenu for Note/Comment/Greyedout
1425
1426 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1427
1428         * lyx_main.C (LyX):
1429         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1430
1431 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1432
1433         * LaTeXFeatures.C:
1434         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1435         greyedout. Patch provided by Jürgen Spitzmüller.
1436
1437 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1438
1439         * kbmap.C (read): fix error message when reading bind files
1440
1441 2003-07-29  Angus Leeming  <leeming@lyx.org>
1442
1443         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1444         certainly does not do what it purports to do. I am doing it, and
1445         us, a favour by killing it.
1446
1447 2003-07-28  José Matos  <jamatos@lyx.org>
1448
1449         * buffer.C (readBody, do_writeFile):
1450         * paragraph.C(readParagraph): \end_document replaces \the_end.
1451
1452 2003-07-29  André Pönitz  <poenitz@gmx.net>
1453
1454         * BufferView.[Ch]:
1455         * BufferView_pimpl.[Ch]:
1456         * lyxfunc.C:
1457         * text2.C:
1458         * text3.C:
1459         * textcursor.[Ch]: remove toggleToggle & Co
1460
1461 2003-07-28  José Matos  <jamatos@fep.up.pt>
1462
1463         * buffer.C (readParagraph):
1464         * params_func (readParToken, readParagraph):
1465         * paragraph.C (write): \layout -> \begin_layout.
1466
1467 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1468
1469         * lyxlex_pimpl.C (setFile): clean up slightly.
1470
1471         * bufferparams.h: add compressed var
1472
1473         * buffer_funcs.C (readFile): adjust for LyXLex change
1474         (newFile): ditto + simplify
1475
1476         * buffer.C (writeFile): handle writing of compressed files
1477
1478         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1479         Check if the file is compressed and set a bufferparm if so.
1480
1481         * Makefile.am (lyx_LDADD): remove explicit -lz
1482
1483 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1484
1485         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1486         makeDocBookFile): put the real LyX version in the first line of
1487         the file
1488
1489         * version.h:
1490         * version.C.in: remove lyx_docversion
1491
1492         * tabular.C (write_attribute): add a template-based version to
1493         write enums properly
1494
1495 2003-07-28  André Pönitz  <poenitz@gmx.net>
1496
1497         * lyxtext.h:
1498         * text.C:
1499         * text2.C:
1500         * text3.C: use doubles again for x-coordinates. They are needed.
1501
1502 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1503
1504         * messages.C (getLocaleDir): use lyx_localedir()
1505
1506         * lyxlex_pimpl.C (setFile): compress stuff
1507
1508         * buffer.C (writeFile): add some compression stuff
1509         (do_writeFile): new func, dont call expliti close... will this
1510         breake anything?
1511
1512         * Makefile.am (lyx_LDADD): add -lz
1513
1514 2003-07-28  José Matos  <jamatos@fep.up.pt>
1515
1516         * buffer.C: increment file format.
1517         * paragraph_funcs (readParagraph, readParToken):
1518         * paragraph.C (readParagraph): add \end_layout.
1519
1520 2003-07-27  Angus Leeming  <leeming@lyx.org>
1521
1522         * Makefile.am: remove special casing for configure-time setting of
1523         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1524
1525         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1526         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1527
1528 2003-07-26  André Pönitz  <poenitz@gmx.net>
1529
1530         * paragraph_func.[Ch]:
1531         * paragraph.C (realizeFont): inline it whereever it is used
1532
1533         * rowpainter.C:
1534         * text.C:
1535         * text2.C:
1536         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1537
1538
1539 2003-07-26  André Pönitz  <poenitz@gmx.net>
1540
1541         *       lyxtext.h:
1542         * text.C:
1543         * text2.C: get rid of LyXText::need_break_row
1544
1545 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1546
1547         * toc.[Ch]: put namespace toc inside namespace lyx
1548
1549         * MenuBackend.C (expandToc2): adjust for lyx::toc
1550         (expandToc): ditto
1551
1552         * lyxfunc.C (dispatch): adjust for lyx::find
1553
1554         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1555         lyx::find instead. Reorganize a bit.
1556         (LyXReplace): rename to replace
1557         (LyXFind): rename to find
1558
1559         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1560         (dispatch): ditto
1561
1562 2003-07-26  André Pönitz  <poenitz@gmx.net>
1563
1564         * text.C (setHeightOfRow): restrict scope of temporary variable
1565
1566         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1567           code (never has been used?)
1568
1569 2003-07-27  Asger Alstrup  <alstrup@local>
1570
1571         * text.C (fill): Optimise algorithm to exploit that we can reuse
1572         the LyXFont for many characters.
1573         (setHeightOfRow): Same thing.
1574         (rowBreakPoint): Same thing.
1575
1576 2003-07-26  Asger Alstrup  <alstrup@local>
1577
1578         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1579
1580         * text.C (singleWidth): Spurious font copying in hot-spot
1581         singleWidth avoided. Reorder tests for arabic for efficiency.
1582
1583         * text.C (fill): handle empty paragraphs better.
1584
1585 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1586
1587         * ispell.C:
1588         * encoding.h: add includes
1589
1590         * lyxrc.C: remove reading of bind files
1591
1592         * lyx_main.C (init): setup bindings and menus only if we have a
1593         gui.
1594
1595         * kbmap.C (read): new method. Do the actual reading of bind
1596         files.
1597
1598         * converter.C (dvipdfm_options):
1599         * bufferparams.C:
1600         * lyxrc.C (read):
1601         (output): adapt PAPER_* enums.
1602
1603         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1604
1605         * bufferparams.h: remove paper-related enums from there
1606
1607         * paper.h: New file. A trivial header file to hold paper-related
1608         enums. It should later expand to contain many paper-related
1609         horrors access.
1610
1611         * lyxrc.C: declare extern displayTranslator
1612
1613 2003-07-27  José Matos  <jamatos@fep.up.pt>
1614
1615         * tabular.[Ch] (linuxdoc): add support for tables and figures
1616         (linuxdoc).
1617
1618 2003-07-27  José Matos  <jamatos@fep.up.pt>
1619
1620         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1621         consistency in both functions.
1622         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1623
1624 2003-07-26  Asger Alstrup  <alstrup@local>
1625
1626         * rowpainter.C (paintRows): Change algorithm to work directly on
1627         the insets rather than asking every character in the document
1628         whether its an inset.
1629
1630 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1631
1632         * buffer.C (openFileWrite): factorize some code
1633
1634 2003-07-26  Angus Leeming  <leeming@lyx.org>
1635
1636         * lyx_cb.C:
1637         * lyx_main.[Ch]: replace occurances of system_tempdir with
1638         os::getTmpDir().
1639
1640 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1641
1642         * rename Inset to InsetOld
1643
1644 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1645
1646         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1647         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1648         which I think is a bit clearer. EDIT is gone, since it was
1649         premature optimisation, and broken for mathed anyway.
1650         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1651         with cursor positioning in insets as well (math insets still do not
1652         work, but that's a different story anyway.) It mysteriously
1653         crashes sometimes with undo in the first paragraph, but I'm fairly
1654         confident that this is a compiler bug.
1655
1656 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1657
1658         * paragraph.C (Paragraph): adjust for new clone return type
1659         (operator==): ditto
1660         (copyIntoMinibuffer): ditto
1661
1662 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1663
1664         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1665         by not having a special case, and always doing a full rebreak of
1666         the document after undo.
1667
1668 2003-07-23  Angus Leeming  <leeming@lyx.org>
1669
1670         * factory.C (createInset): InsetExternal::setParams now takes a
1671         Buffer const * arg.
1672
1673 2003-07-23  Angus Leeming  <leeming@lyx.org>
1674
1675         * factory.C (createInset): changed interface to the external and
1676         graphics mailers' string2params functions.
1677
1678 2003-07-23  Angus Leeming  <leeming@lyx.org>
1679
1680         * factory.C (createInset): pass a
1681         Buffer const * parameter to InsetExternalMailer's string2params.
1682
1683 2003-07-22  John Levon  <levon@movementarian.org>
1684
1685         * Thesaurus.h: include the right aiksaurus header
1686
1687 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1688
1689         * MenuBackend.C (expand): check menu shortcuts unconditionally
1690
1691 2003-07-21  Angus Leeming  <leeming@lyx.org>
1692
1693         * factory.C (createInset): pass a
1694         buffer_path parameter to InsetGraphicsMailer's string2params.
1695
1696 2003-07-21  Angus Leeming  <leeming@lyx.org>
1697
1698         * BufferView_pimpl.C (buffer):
1699         * buffer.C (d-tor):
1700         * lyx_main.C (LyX):
1701         * lyxfunc.C (dispatch):
1702         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1703         rather than the grfx shortcut.
1704
1705 2003-07-21  André Pönitz  <poenitz@gmx.net>
1706
1707         * rowpainter.C: remove unused variables
1708
1709         * tabular_funcs.C:
1710         * tabular_funcs.h: move to tabular.C
1711         * Makefile.am: adjust
1712
1713         * tabular.[Ch]: basic optical cleaning
1714
1715         * author.h: pass references, not values
1716
1717 2003-07-18  André Pönitz  <poenitz@gmx.net>
1718
1719         * lyxtext.h:
1720         * metricsinfo.C:
1721         * metricsinfo.h:
1722         * rowpainter.C:
1723         * text.C:
1724         * text2.C:
1725         * text3.C: two-phase drawing for InsetText and InsetTabular
1726         some float -> int changes.
1727
1728 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1729
1730         * lyx_main.C: fix the fix
1731
1732 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1733
1734         * lyx_main.C: fix a crash in batch mode if no files specified
1735         * converter.C: ws
1736
1737 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1738
1739         * format.[Ch] (papersize): moved to BufferParams
1740         * converter.[Ch] (dvips_options): moved to BufferParams
1741         (dvipdfm_options): moved to anon namespace
1742         * bufferparams.[Ch]: added above functions.
1743
1744 2003-07-17  André Pönitz  <poenitz@gmx.net>
1745
1746         * lyxtext.h:
1747         * rowpainter.C:
1748         * text2.C: don't call inset->update() anymore
1749
1750         * metricsinfo.[Ch]: add convenience constructor
1751
1752 2003-07-16  André Pönitz  <poenitz@gmx.net>
1753
1754         * lyxcursor.[Ch]:
1755         * lyxfunc.[Ch]:
1756         * text.C:
1757         * text2.C: replace the LyXCursor::irow_ member with
1758          on-demand computation of the value
1759
1760 2003-07-16  John Levon  <levon@movementarian.org>
1761
1762         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1763
1764 2003-07-15  André Pönitz  <poenitz@gmx.net>
1765
1766         * text.C:
1767         * text2.C: remove no more needed refresh_row
1768
1769 2003-07-15  André Pönitz  <poenitz@gmx.net>
1770
1771         * lyxtext.h:
1772         * rowpainter.C:
1773         * text2.C:
1774         * text3.C: refresh_status tristate -> need_update bool
1775
1776 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1777
1778         * lyxtext.h (init): remove reinit argument (act as if always true)
1779         * text2.C: adjust to that
1780
1781 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1782
1783         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1784         * text3.C: use it to delete selections in some cases
1785         (bugs 441, 673, 702, 954).
1786
1787 2003-07-14  André Pönitz  <poenitz@gmx.net>
1788
1789         * rowpainter.[Ch]: reduce interface
1790
1791 2003-07-14  André Pönitz  <poenitz@gmx.net>
1792
1793         * BufferView_pimpl.C:
1794         * text2.C: adjust after removing unused BufferView * argument
1795
1796 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1797
1798         * text2.C (init): fix a crash fired on resize
1799
1800 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1801
1802         * buffer.[Ch]: added new closing signal
1803         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1804         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1805         BufferView::Pimpl via the closing the signal
1806
1807 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1808
1809         * buffer.[Ch]: take out all bv-related from buffer
1810         * BufferView.C:
1811         * BufferView_pimpl.[Ch]: connect to new signals
1812         * CutAndPaste.C: removed useless asserts
1813         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1814         * lyxvc.[Ch]:
1815         * vc-backend.[Ch]:
1816         * lyxfunc.C: moved view-related funciontality from vc here
1817         * paragraph.C: removed outdated comments
1818         * text.C: ws
1819
1820 2003-07-10  André Pönitz  <poenitz@gmx.net>
1821
1822         * BufferView_pimpl.C:
1823         * tabular.h:
1824         * tabular_funcs.C:
1825         * text.C:
1826         * text2.C: remove InsetText::InnerCache, clean up consequences
1827
1828 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1829
1830         * ispell.C: fix two typos in error messages
1831
1832 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1833
1834         * Extend Note inset to other forms of annotation like Comment
1835         and Greyedout. Right button click gives dialog.
1836
1837         Files modified or added (+):
1838
1839         * insetnote.[Ch]
1840         * FormNote.[Ch]      +
1841         * ControlNote.[Ch]   +
1842         * form_note.fd       +
1843         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1844         frontends/controllers
1845         * xforms/Dialogs.C
1846         * factory.C
1847
1848 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1849
1850         * aspell.C: add missing namespace lyx::support
1851
1852 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1853
1854         * BufferView.[Ch] (newFile): Add
1855         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1856         * LaTeX.[Ch] (message): added this signal and use it
1857         * buffer.[Ch] (busy, message): added these signals and use them
1858         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1859         * converter.C:
1860         * exporter.C:
1861         * format.C:
1862         * importer.C: use buffer signals instead of direct bv calling
1863         * lyx_cb.[Ch] (ShowMessage): removed
1864         * lyx_main.C:
1865         * lyxfunc.C:
1866         * paragraph_funcs.C:
1867         * text2.C: use buffer signals
1868
1869 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1870
1871         * introduce namespace lyx::graphics
1872
1873 2003-07-02  André Pönitz  <poenitz@gmx.net>
1874
1875         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1876
1877 2003-07-01  André Pönitz  <poenitz@gmx.net>
1878
1879         * text.C:
1880         * text2.C:
1881         * text3.C:
1882         * text_funcs.[Ch]:
1883         * textcursor.h:
1884         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1885           text*.C to text_func.C
1886
1887 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1888
1889         * introduce namespace lyx::support
1890
1891 2003-06-30  André Pönitz  <poenitz@gmx.net>
1892
1893         * Chktex.C:
1894         * funcrequest.C:
1895         * lyxtext.h:
1896         * text.C: re-enable --with-included-string
1897
1898 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1899
1900         * textcursor.C: add <config.h>
1901
1902         * text.C (getWord): remove const from word_location arg
1903
1904         * lyxvc.C (getLogFile): fix const type order
1905
1906         * lyxtext.h: remove const from word_location arg, add arg name
1907
1908         * lyxlayout.h: currect type on labeltype.
1909
1910         * importer.C: correct \file
1911
1912         * converter.C (intToFormat): use std:: on ret val, ws changes
1913
1914         * bufferlist.h: correct \file
1915
1916         * buffer.C (makeLinuxDocFile): fix const type order
1917         (makeDocBookFile): ditto
1918         (fillWithBibKeys): use std:: on stdlib args.
1919
1920         * CutAndPaste.C: fix authors.
1921         (availableSelections): use std:: on return vector
1922
1923 2003-06-27  André Pönitz  <poenitz@gmx.net>
1924
1925         * BufferView_pimpl.C:
1926         * bufferview_funcs.C:
1927         * lyxcursor.C:
1928         * lyxcursor.h:
1929         * lyxfunc.C:
1930         * lyxtext.h:
1931         * rowpainter.C:
1932         * text.C:
1933         * text2.C:
1934         * text3.C: remove LyXCursor::row_ member
1935
1936         * lyxtext.h:
1937         * text.C: rename fullRebreak() to partialRebreak() and implement
1938           a fullRebreak() that really bereks fully
1939
1940         * textcursor.h: new struct for cursor-related data
1941
1942 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1943
1944         * lyx_main.C (LyX): get full path of document loaded on the
1945         command line
1946
1947 2003-06-26  André Pönitz  <poenitz@gmx.net>
1948
1949         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1950           remove unused/broken operator>,<,>=.
1951
1952         *       text.C: remove only use of broken operator<= in an Assert().
1953
1954 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1955
1956         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1957         moved errorlist_.clear to showErrorList
1958
1959 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1960
1961         * converter.C (scanLog, runLaTeX):
1962         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1963         move the bv->showErrorList call to the callers
1964         * lyxfunc.C: i.e. here...
1965         * text2.C: and here
1966         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1967         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1968         namespace, the second to...
1969         * buffer_funcs (BufferFormat, parseErrors): added
1970         * errorlist.C (ErrorList(TeXErrors const &)): removed
1971
1972 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1973
1974         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1975
1976 2003-06-24  "Garst R. Reese" <reese@isn.net>
1977
1978         * debug.C: fix typo
1979
1980 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1981
1982         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1983
1984         * version.C.in: change docversion to 1.4
1985
1986 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1987
1988         * buffer.C: fix a bug just introduced
1989
1990 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1991
1992         * buffer.[Ch]: added the parseError signal and use it, removed
1993         sgmlError
1994         * BufferView.[Ch] (addError): moved to ...
1995         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1996         to the Buffer::parseError signal to catch (guess what) parse errors
1997         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1998
1999 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2000
2001         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2002         ability to create a buffer and to return an existing one from
2003         the list. Moved these functions to...
2004         * buffer_funcs.[Ch]: added
2005         * BufferView.[Ch] (loadLyXFile): added
2006         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2007         job removed from bufferlist::loadLyXFile.
2008         * buffer.C (setReadOnly): make it work without view
2009         (i.e added an if (users))
2010
2011 2003-06-19  Angus Leeming  <leeming@lyx.org>
2012
2013         * lfuns.h:
2014         * LyXAction.C (init):
2015         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2016         with LFUN_DIALOG_SHOW <name> <data>.
2017
2018 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2019
2020         * CutAndPaste.C (availableSelections): small compilation fix for
2021         ancient (gcc 2.9x) compilers
2022
2023 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2024
2025         * text3.C (cursorNext): add tmp var
2026
2027         * text2.C (updateCounters): for function calling out of for clause
2028         (replaceSelectionWithString): ditto
2029         (insertStringAsParagraphs): ditto
2030         (getColumnNearX): add tmp var
2031         (setCursorFromCoordinates): add tmp var
2032         (cursorDownParagraph): add tmp var
2033         (deleteEmptyParagraphMechanism): add tmp var
2034
2035         * text.C (insertChar): add tmp var
2036
2037         * rowpainter.C (paintDepthBar): add tmp var
2038
2039         * CutAndPaste.C (availableSelections): potentially check all
2040         paragraphs in a cut to fill the shown strings.
2041
2042 2003-06-18  André Pönitz  <poenitz@gmx.net>
2043
2044         * kbmap.[Ch]: use vector<> instead of list<>
2045
2046 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2047
2048         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2049         pasteSelection with index
2050
2051         * text2.C (pasteSelection): modify, call pasteSelection with index
2052
2053         * paragraph.C (asString): reimplement version with no interval to
2054         call the one with interval.
2055
2056         * lyxtext.h: add index arg to pasteSelection
2057
2058         * MenuBackend.C (MenuItem): handle PasteRecent
2059         (Menu::read::Menutags): add md_pasterecent
2060         (read): handle it
2061         (expandPasteRecent): new function
2062         (expand): use it
2063
2064         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2065
2066         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2067         the limited stack
2068         (availableSelections): new function
2069
2070 2003-06-17  Angus Leeming  <leeming@lyx.org>
2071
2072         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2073
2074 2003-06-17  Angus Leeming  <leeming@lyx.org>
2075
2076         * lfuns.h:
2077         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2078
2079         * lyxfunc.C (dispatch): invoke it.
2080
2081 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2082
2083         * iterators.C (operator++, ParPosition): reintroduce some
2084         const_cast for the benefit of older compilers.
2085
2086 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2087
2088         * text3.C (dispatch): do not modify clipboard when doing
2089         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2090         LFUN_DELETE_SKIP on a selection selection
2091
2092 2003-06-16  André Pönitz  <poenitz@gmx.net>
2093
2094         * BufferView.C:
2095         * buffer.C:
2096         * buffer.h:
2097         * paragraph.C:
2098         * tabular.[Ch]: IU of clone() and getLabelList();
2099
2100 2003-06-13  André Pönitz  <poenitz@gmx.net>
2101
2102         * tabular.h: compactification
2103
2104 2003-06-12  André Pönitz  <poenitz@gmx.net>
2105
2106         * tabular.C:
2107         * tabular.h:
2108         * tabular_funcs.h: some renaming plus whitespace
2109
2110 2003-06-12  André Pönitz  <poenitz@gmx.net>
2111
2112         * BufferView.C:
2113         * BufferView_pimpl.C:
2114         * CutAndPaste.C:
2115         * buffer.C:
2116         * iterators.[Ch]:
2117         * lyxfunc.C:
2118         * text.C:
2119         * toc.C: Return a Paragraph & for ParIterator::operator*()
2120
2121 2003-06-11  John Levon  <levon@movementarian.org>
2122
2123         * lyx_main.C:
2124         * ToolbarBackend.h:
2125         * ToolbarBackend.C: add "Toolbars" section and
2126         put the flags there
2127
2128 2003-06-10  Angus Leeming  <leeming@lyx.org>
2129
2130         * lfuns.h:
2131         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2132
2133         * lyxfunc.C (dispatch): invoke it.
2134
2135 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2136
2137         * main.C: protect <ios> with HAVE_IOS
2138         (main): protect sync_with_stdio with HAVE_IOS
2139
2140 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2141
2142         * text2.C (cutSelection): adjust
2143         (pasteSelection): adjust
2144
2145         * messages.C: handle get of empty string
2146
2147         * main.C (main): use sync_with_stdio(false)
2148
2149         * lyxfunc.C (dispatch): adjust
2150
2151         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2152         (WriteAs): remove unneeded BufferView arg.
2153
2154         * bufferparams.h: use correct types on papersize, papersize2 and
2155         paperpackage.
2156
2157         * bufferparams.C (readToken): adjust for type
2158         (writeLaTeX): add missing cases to switch.
2159
2160         * bufferlist.C (quitWriteBuffer): adjust
2161         (close): adjust
2162
2163         * buffer.C (asciiParagraph): remove some commented code.
2164
2165         * CutAndPaste.C: remove current_view extern variable.
2166         (cutSelection): add BufferParams arg.
2167         (eraseSelection): add BufferParams arg.
2168         (pasteSelection): add Buffer const & arg
2169
2170 2003-06-07  John Levon  <levon@movementarian.org>
2171
2172         * buffer.C:
2173         * paragraph_funcs.C:
2174         * paragraph_pimpl.C:
2175         * text.C:
2176         * text2.C:
2177         * paragraph.h:
2178         * paragraph.C: allow InsetERT to freely space lines,
2179         and some consolidation of code
2180
2181 2003-06-06  José Matos  <jamatos@fep.up.pt>
2182
2183         * buffer.C (makeDocBookFile): fix bug #821
2184
2185 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2186
2187         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2188
2189 2003-06-04  Angus Leeming  <leeming@lyx.org>
2190
2191         * buffer.C: bump format to 224.
2192
2193 2003-06-05  André Pönitz  <poenitz@gmx.net>
2194
2195         * text2.C (redoParagraphs): remove two const_cast<>
2196
2197 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2198
2199         * ParagraphList.h: remove last remnants of NO_STD_LIST
2200
2201 2003-06-03  Angus Leeming  <leeming@lyx.org>
2202
2203         * factory.C (createInset): small change to the way InsetExternal's params
2204         are set.
2205
2206 2003-06-04  André Pönitz  <poenitz@gmx.net>
2207
2208         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2209
2210         * paragraph_pimpl.h:
2211         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2212
2213         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2214
2215         * undo_funcs.C: make some simple cases of undo work again
2216
2217 2003-06-03  John Levon  <levon@movementarian.org>
2218
2219         * ispell.C: HPUX doesn't have sys/select.h
2220         (from Albert Chin)
2221
2222 2003-06-03  John Levon  <levon@movementarian.org>
2223
2224         * CutAndPaste.C: update tabular and include inset
2225         buffer references
2226
2227         * buffer.h:
2228         * paragraph.h:
2229         * paragraph.C: remove owningBuffer(), don't pass Buffer
2230         to clone()
2231
2232         * factory.C: insetGraphicsParams changed
2233
2234 2003-06-02  John Levon  <levon@movementarian.org>
2235
2236         * LyXAction.C:
2237         * factory.C:
2238         * lfuns.h:
2239         * lyxfunc.C:
2240         * text3.C: remove insetparent
2241
2242 2003-06-02  John Levon  <levon@movementarian.org>
2243
2244         * buffer.h:
2245         * buffer.C: fix inset_iterator.end(), move out of line
2246         (bug 1149)
2247
2248 2003-06-01  John Levon  <levon@movementarian.org>
2249
2250         * text3.C: use a proper cut/paste when doing inset
2251         insert (from Jürgen Spitzmüller)
2252
2253 2003-06-01  John Levon  <levon@movementarian.org>
2254
2255         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2256
2257 2003-05-30  André Pönitz  <poenitz@gmx.net>
2258
2259         * rowpainter.C: unify second drawing phase
2260
2261 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2262
2263         * trans_mgr.C: remove one case of current_view
2264
2265         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2266
2267         * paragraph_funcs.h: remove paragraph.h include
2268
2269         * paragraph.h: delete NO_STD_LIST stuff
2270
2271         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2272
2273         * buffer.h: remove paragraph.h include
2274
2275         * ParagraphList.C: delete file
2276
2277         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2278
2279         * toc.C (getTocList): adjust
2280
2281         * paragraph_pimpl.C (validate): adjust
2282
2283         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2284
2285         * paragraph.C (Paragraph): adjust
2286         (getPositionOfInset): use const_iterator, adjust
2287         (bibitem): use const_iterator, adjust
2288         (setInsetOwner): adjust
2289
2290         * iterators.C (operator++): adjust
2291
2292         * InsetList.[Ch]: Replace selfmade iterator with standard
2293         vector::iterator also introduce const_iterator. Remove getPos,
2294         getInset and setInset from InsetTable. Adjust accordingly.
2295
2296         * BufferView.C (lockInset): adjust
2297         (ChangeInsets): adjust
2298
2299         * tabular.[Ch]: delete commented same_id functions
2300
2301 2003-05-28  John Levon  <levon@movementarian.org>
2302
2303         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2304
2305 2003-05-28  André Pönitz  <poenitz@gmx.net>
2306
2307         * metricsinfo.[Ch]: remove 'fullredraw' member
2308
2309 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2310
2311         * lyxtextclass.C (operator): remove caching.
2312
2313 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2314
2315         * text3.C: adjust
2316
2317         * text2.C (cursorBottom): adjust
2318         (setCounter): use ParagraphList::find, adjust
2319
2320         * text.C (workWidth): use ParagraphList::find, adjust
2321
2322         * lyxcursor.C (LyXCursor): adjust
2323
2324         * buffer.C (inset_iterator): adjust
2325
2326         * ParagraphList.h: make iterator(value_type) private, make
2327         ParagraphList a friend of iterator.
2328
2329         * ParagraphList.C (find): new function
2330
2331         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2332
2333 2003-05-27  André Pönitz  <poenitz@gmx.net>
2334
2335         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2336
2337 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2338
2339         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2340
2341 2003-05-26  John Levon  <levon@movementarian.org>
2342
2343         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2344
2345 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2346
2347         * remove same_id from function signatures, adjust.
2348
2349 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2350
2351         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2352
2353         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2354
2355         * paragraph.C (Paragraph): get rid of same_ids parameter
2356
2357         * ParagraphList.C (insert): adjust
2358         (push_back): adjust
2359
2360 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2361
2362         * paragraph_funcs.C (breakParagraph): adjust
2363         (breakParagraphConservative): adjust
2364
2365         * buffer.C (readParagraph): adjust
2366
2367         * ParagraphList.C (insert): take a reference instead of a pointer
2368         (insert): adjust
2369
2370         * paragraph.[Ch] (id): new function
2371
2372         * bufferlist.C (newFile): adjust
2373
2374         * ParagraphList.C (ParagraphList): adjust
2375         (assign): adjust
2376         (push_back): take a reference instead of a pointer.
2377
2378         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2379
2380         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2381         instead.
2382
2383         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2384         set else use old code.
2385
2386         * ParagraphList.C: remove all NO_NEXT code and only compile this
2387         code of NO_STD_LIST is set.
2388
2389 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2390
2391         * BufferView_pimpl.C:
2392         * TextCache.C:
2393         * TextCache.h:
2394         * bufferlist.C:
2395         * errorlist.h:
2396         * format.C:
2397         * format.h:
2398         * graph.C:
2399         * lyxfunc.C:
2400         * lyxrc.C:
2401         * graphics/GraphicsConverter.C:
2402         * graphics/PreviewLoader.C: header adjustment
2403
2404 2003-05-23  Angus Leeming  <leeming@lyx.org>
2405
2406         * LaTeXFeatures.[Ch] (useBabel): new method.
2407         * bufferparams.C (writeLaTeX): use it.
2408
2409 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2410
2411         * ParagraphList.h (set): remove unused function.
2412
2413 2003-05-23  André Pönitz  <poenitz@gmx.net>
2414
2415         * BufferView.C:
2416         * BufferView_pimpl.C:
2417         * buffer.C:
2418         * buffer.h:
2419         * lyxfunc.C:
2420         * undo_funcs.C: setUndo reworked
2421
2422         * iterators.[Ch]: add access to topmost ParagraphList
2423
2424         * lyxtext.[Ch] (workWidth): add a const
2425
2426 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2427
2428         * texrow.[Ch] (increasePos): remove function
2429         * exporter.C (export): removed unused var and outdated comment
2430
2431 2003-05-23  Angus Leeming  <leeming@lyx.org>
2432
2433         * latexrunparams.h: rename fragile as moving_arg.
2434         * paragraph.C (simpleTeXOnePar): ditto.
2435         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2436
2437 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2438
2439         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2440         (createUndo): ditto
2441         (textUndoOrRedo): comment out a currently unused var.
2442
2443         * paragraph.h (NO_NEXT): enable NO_NEXT
2444
2445         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2446
2447         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2448
2449         * exporter.C (Export): adjust for removeAutoInsets removal.
2450
2451         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2452
2453         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2454
2455         * BufferView.[Ch] (removeAutoInsets): delete function
2456
2457 2003-05-22  Angus Leeming  <leeming@lyx.org>
2458
2459         * latexrunparams.h: add a free_spacing variable.
2460
2461         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2462         to pass moving_arg, as the data is stored in runparams.fragile.
2463
2464         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2465         to Inset::latexOptional or to simpleTeXOnePar.
2466
2467         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2468         free_spacing arg to Inset::latexOptional.
2469
2470         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2471         free_spacing arg.
2472
2473 2003-05-22  Angus Leeming  <leeming@lyx.org>
2474
2475         * latexrunparams.h: add fragile and use_babel variables.
2476
2477         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2478         * buffer.C (makeLaTeXFile): store this returned value in
2479         runparams.use_babel, thus passing it to the inset::latex methods.
2480
2481         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2482         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2483
2484         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2485         longer has a fragile arg, as it is stored in runparams.fragile.
2486
2487         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2488         moving_arg parameter as the data is stored in runparams.fragile.
2489
2490         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2491         a fragile parameter as the data is stored in runparams.fragile.
2492
2493 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2494
2495         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2496
2497 2003-05-22  Angus Leeming  <leeming@lyx.org>
2498
2499         * latexrunparams.h: add a 'bool nice' which defaults to false.
2500
2501         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2502         now encapsulated within runparams.
2503
2504         * bufferlist.C (updateIncludedTeXfiles):
2505         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2506
2507 2003-05-22  Angus Leeming  <leeming@lyx.org>
2508
2509         * latexrunparams.h: new file containing struct LatexRunParams.
2510         * Makefile.am: add new file.
2511
2512         * LaTeX.[Ch] (c-tor, run):
2513         * buffer.[Ch] (makeLaTeXFile):
2514         * bufferlist.[Ch] (updateIncludedTeXfiles):
2515         * converter.C (convert, scanLog):
2516         * converter.[Ch] (runLaTeX):
2517         * exporter.C (Export):
2518         * paragraph.[Ch] (simpleTeXOnePar):
2519         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2520         * paragraph_funcs.[Ch] (latexParagraphs):
2521         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2522         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2523         pass around a LatexRunParams parameter.
2524
2525 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2526
2527         * paragraph.[Ch]: remove unused constructor
2528
2529         * ParagraphList.C (erase): new function, taking two iterators
2530
2531 2003-05-22  André Pönitz  <poenitz@gmx.net>
2532
2533         * undo_funcs.C: remove duplicated code
2534
2535         * iterator.[Ch]: operator=
2536
2537 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * tabular.C (SetMultiColumn): ws changes
2540
2541         * rowpainter.C (paintFirst): get rid of a ->previous
2542
2543         * lyx_cb.C (getPossibleLabel): parlist simplification
2544
2545         * BufferView.C (ChangeInsets): simplify slightly.
2546
2547 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2548
2549         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2550         * lfuns.h: new LFUN_SPACE
2551         * lyxfunc.C: protected space has a new lfun
2552         * paragraph_funcs.C: read new space insets
2553         * text3.C:
2554         * factory.C: handle new space insets
2555
2556 2003-05-22  André Pönitz  <poenitz@gmx.net>
2557
2558         * BufferView.C:
2559         * BufferView_pimpl.C:
2560         * buffer.[Ch]:
2561         * lyxfunc.C:
2562         * undo_funcs.C: return a ParIterator from getParFromID.
2563
2564         * iterators.[Ch]: add two const's
2565
2566 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2567
2568         * toc.C (getTocList): adjust
2569
2570         * iterators.[Ch]: rework for parlist
2571
2572         * buffer.C (par_iterator_begin): adjust
2573         (par_iterator_end): adjust
2574
2575         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2576
2577         * BufferView.C (removeAutoInsets): adjust
2578         (ChangeInsets): adjust
2579
2580 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2581
2582         * text.C (top_y): fix bug 1110
2583
2584 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2585
2586         * errorlist.[Ch]: added
2587         * buffer.C:
2588         * BufferView.[Ch]:
2589         * BufferView_pimpl.C:
2590         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2591         instead
2592
2593 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2594
2595         * Makefile.am: ensure that lyx is relinked upon changes to the
2596         various "convenience" libs.
2597
2598 2003-05-20  Angus Leeming  <leeming@lyx.org>
2599
2600         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2601         files are compiled in alphabetical order again.
2602
2603         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2604
2605 2003-05-19  Angus Leeming  <leeming@lyx.org>
2606
2607         * gettext.[Ch]: remove "char const * _(char const *)".
2608
2609 2003-05-19  André Pönitz  <poenitz@gmx.net>
2610
2611         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2612
2613         * Makefile.am:
2614         * BufferView.C:
2615         * DepTable.h:
2616         * LaTeXFeatures.C:
2617         * buffer.C:
2618         * lyxfont.C:
2619         * lyxlex.h:
2620         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2621
2622 2003-05-19  André Pönitz  <poenitz@gmx.net>
2623
2624         * buffer.C:
2625         * lyxlayout.[Ch]:
2626         * lyxtextclass.[Ch]:
2627         * paragraph.C:
2628         * paragraph_funcs.[Ch]:
2629         * text2.C:
2630         * text3.C: more insetenv work
2631
2632 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2633
2634         * ParagraphParameters.C (params2string): small bug fixed
2635
2636 2003-05-16  André Pönitz  <poenitz@gmx.net>
2637
2638         * debug.C:
2639         * bufferview_funcs.C: patch from Kornel Benko to prevent
2640           crash when _(...) is called twice in a statement
2641
2642 2003-05-16  André Pönitz  <poenitz@gmx.net>
2643
2644         * BufferView.C:
2645         * lyxfunc.C:
2646         * text.C:
2647         * text2.C:
2648         * text3.C:
2649         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2650
2651 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2652
2653         * lyx_main.C (init): remove spurious static_cast
2654
2655 2003-05-14  André Pönitz  <poenitz@gmx.net>
2656
2657         * BufferView.C: fix format string
2658
2659 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2660
2661         * BufferView.[Ch] (insertErrors): removed
2662         * BufferView.[Ch] (showErrorList): added
2663         * buffer.C (runChkTeX):
2664         * converter.C (scanLog): call showErrorList instead of inserterrors
2665
2666 2003-05-13  André Pönitz  <poenitz@gmx.net>
2667
2668         * BufferView_pimpl.C:
2669         * buffer.C:
2670         * bufferview_func.C:
2671         * MenuBackend.C:
2672         * lyxfunc.C:
2673         * lyxrc.C:
2674         * tex-accent.C:
2675         * text3.C:
2676         * toc.C:
2677         * tabular_funcs.h: tostr() from its own header
2678
2679         * ParagraphParameters.C:
2680         * ToolbarBackend.C:
2681         * bufferparams.C:
2682         * format.C:
2683         * lyxlex_pimpl.C:
2684         * text3.C: STRCONV()
2685
2686 2003-05-12  André Pönitz  <poenitz@gmx.net>
2687
2688         * BufferView.C:
2689         * BufferView_pimpl.C:
2690         * CutAndPaste.C:
2691         * LaTeX.C:
2692         * LaTeXFeatures.C:
2693         * ParagraphParameters.C:
2694         * buffer.C:
2695         * bufferlist.C:
2696         * bufferparams.C:
2697         * bufferview_funcs.C:
2698         * converter.C:
2699         * counters.C:
2700         * debug.C:
2701         * exporter.C:
2702         * format.C:
2703         * importer.C:
2704         * lyx_cb.C:
2705         * lyx_main.C:
2706         * lyxfont.C:
2707         * lyxfunc.C:
2708         * lyxvc.C:
2709         * paragraph.C:
2710         * paragraph_funcs.C:
2711         * tabular.C:
2712         * tabular_funcs.C:
2713         * text2.C:
2714         * text3.C:  boost::format -> bformat  all over the place
2715
2716
2717 2003-05-09  André Pönitz  <poenitz@gmx.net>
2718
2719         * LColor.[Ch]: Pimpl the #include <map> away
2720
2721 2003-05-09  John Levon  <levon@movementarian.org>
2722
2723         * bufferlist.C: never remove emergency saves
2724
2725 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2726
2727         * Makefile.am: better lib building
2728
2729 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2730
2731         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2732         instead.
2733         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2734         (simpleTeXSpecialChars): adjust
2735         (simpleTeXSpecialChars): adjust
2736         * paragraph.C (simpleTeXOnePar): adjust
2737         * buffer.C (makeLaTeXFile): adjust
2738
2739         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2740
2741         * text2.C (changeDepth): parlist cleanup
2742         (getColumnNearX): ditto
2743
2744         * rowpainter.C (getLabelFont): parlist cleanup
2745
2746         * bufferlist.C (newFile): parlist cleanup
2747
2748         * CutAndPaste.C (eraseSelection): parlist cleanup
2749
2750         * BufferView_pimpl.C (trackChanges): parlist cleanup
2751         (dispatch): ditto
2752
2753         * BufferView.C (lockInset): parlist cleanup.
2754         (ChangeInsets): ditto
2755
2756 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2757
2758         * CutAndPaste.h: Update file header.
2759
2760         * CutAndPaste.C: Update file header.
2761         Store the parts cut out of the Document in a limited_stack.
2762         (copySelection): adjust
2763         (pasteSelection): new function, takes the index in the limited stack.
2764         (nrOfParagraphs): adjust
2765         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2766         simplify error inset insertion.
2767         (checkPastePossible): adjust
2768
2769 2003-05-06  John Levon  <levon@movementarian.org>
2770
2771         * text2.C: don't cast wrap inset to float
2772
2773 2003-05-05  André Pönitz  <poenitz@gmx.net>
2774
2775         * iterator.C:
2776         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2777
2778         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2779           few naked Paragraph *.
2780
2781 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2782
2783         * bufferparams.C: Output warning if a document with missing
2784         TeX document class is loaded
2785         * exporter.C: Disable TeX exports if the document class is missing
2786         * lyxtextclass.C:
2787         * lyxtextclass.h:
2788         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2789         isTeXClassAvailable()
2790
2791 2003-05-03  John Levon  <levon@movementarian.org>
2792
2793         * BufferView.h:
2794         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2795         explicit cursor show/hide
2796
2797         * BufferView_pimpl.h:
2798         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2799         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2800
2801         * lyxfunc.C: hide cursor before dispatching.
2802
2803         * lyx_cb.C:
2804         * lyxfind.C:
2805         * text.C:
2806         * text3.C: remove explicit cursor hides
2807
2808 2003-05-02  André Pönitz  <poenitz@gmx.net>
2809
2810         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2811
2812         * undo_funcs.C:
2813         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2814           linked lists
2815
2816         * text2.C: tiny whitespace
2817
2818 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2819
2820         * undo_funcs.C: almost only ws changes.
2821
2822         * ParagraphList.C (splice): just return if pl is empty.
2823
2824 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2825
2826         * ParagraphList.C (splice): new function.
2827
2828         * CutAndPaste.C (pasteSelection): use it
2829
2830 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2831
2832         * CutAndPaste.C (pasteSelection): remove the last next and
2833         previous from this file.
2834
2835 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2836
2837         * CutAndPaste.C (pasteSelection): more clean up, user proper
2838         ParagraphList functions for pasteing.
2839
2840         * ParagraphList.C (insert): new function, three arg insert
2841
2842 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2843
2844         * ParagraphList.C (insert): new function, three arg insert
2845
2846         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2847         not on paragraphs.
2848
2849 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2850
2851         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2852
2853 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2854
2855         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2856
2857 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2858
2859         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2860         (copySelection): clean up a bit.
2861         (pasteSelection): use make_pair
2862
2863         * ParagraphList.C (ParagraphList): implement copy constructor
2864         (operator=): implement, base on copy constructor.
2865         (assign): new func
2866
2867         * paragraph.C (erase): return a bool
2868
2869         * paragraph_pimpl.C (erasePos): remove function, move contents...
2870         (erase): ... here. Return a bool.
2871         (erase): call erase instead of erasePos.
2872
2873 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2874
2875         * ParagraphList.h: define PitPosPair
2876         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2877         ParagraphList, fix a bug on pasting multiple pars
2878         * text2.C: change interface to C&P
2879
2880 2003-04-30  André Pönitz  <poenitz@gmx.net>
2881
2882         * undo_func.C: revert part of yesterday's patch 2
2883
2884 2003-04-30  John Levon  <levon@movementarian.org>
2885
2886         * LColor.C: s/tabular/table/
2887
2888 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2889
2890         * text3.C (dispatch): do not convert iterator -> pointer
2891         * undo_funcs.C (setCursorParUndo): ditto
2892         * text_funcs.C (transposeChars): ditto
2893
2894         * text2.C (setLayout): ws changes only
2895
2896         * text.C (breakParagraph): do not convert iterator -> pointer
2897         (insertChar): ditto
2898         (acceptChange): ditto
2899         (rejectChange): ditto
2900         (changeCase): ditto
2901         (Delete): ditto
2902         (backspace): ditto
2903
2904         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2905         pointer
2906
2907 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2908
2909         * text3.C (gotoInset): YABG (yet another bad getChar)
2910
2911 2003-04-29  André Pönitz  <poenitz@gmx.net>
2912
2913         * paragraph.h: make operator= private unimplemented as long as
2914           it is unusable
2915
2916         * ParagraphList.C: whitespace
2917
2918         * paragraph.[Ch]:
2919         * paragraph_pimpl.[Ch]:
2920         * paragraph_funcs.C:
2921         * CutAndPaste.C:
2922         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2923
2924         * text2.C:
2925           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2926
2927 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2928
2929         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2930         * paragraph.[Ch] (erase):
2931         * paragraph_pimpl.[Ch] (erase): change return type and value
2932         * text2.C (cutSelection): some rework
2933
2934 2003-04-28  John Levon  <levon@movementarian.org>
2935
2936         * bufferlist.C: changes for unsaved changes dialog
2937
2938 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2939
2940         * bufferlist.C (newFile): set language (messages_) for new
2941         documents also.
2942
2943         * buffer.C (readFile): ws changes only.
2944
2945 2003-04-28  André Pönitz  <poenitz@gmx.net>
2946
2947         * undo_funcs.C:
2948         * lyxfunc.C:
2949         * buffer.[Ch]:
2950         * BufferView_pimpl.C:
2951         * BufferView.C: getParFromID related ParagraphList::iterator changes
2952
2953 2003-04-28  André Pönitz  <poenitz@gmx.net>
2954
2955         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2956           Changes
2957
2958 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2959
2960         * messages.C: remove one more localedir class variable.
2961
2962 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2963
2964         * messages.C (getLocaleDir): singleton generation function
2965         (Pimpl): use it.
2966         (Messages): add a default constructor.
2967
2968         * main.C (main): do not setup localedir here, do not call
2969         gettext_init.
2970
2971         * gettext.C (_): use it.
2972         (gettext_init): delete funciton
2973
2974 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2975
2976         * gettext.C (getLyXMessages): new singleton generating function.
2977
2978         * buffer.C (updateDocLang): adjust
2979
2980         * Makefile.am (messages.o): add target
2981         (main.o): remove target
2982
2983 2003-04-27  John Levon  <levon@movementarian.org>
2984
2985         * bufferlist.C:
2986         * lyx_cb.C:
2987         * lyxfunc.C:
2988         * lyxvc.C: specify cancel button in Alert::prompt
2989
2990 2003-04-26  John Levon  <levon@movementarian.org>
2991
2992         * text3.C:
2993         * lyxfunc.C:
2994         * lfuns.h:
2995         * LyXAction.C: add LFUN_INSET_SETTINGS
2996
2997         * lyxfunc.C: don't enable tabular-feature when there's
2998         just any locking inset
2999
3000 2003-04-26  John Levon  <levon@movementarian.org>
3001
3002         * bufferlist.C: re-add Cancel to buffer close question
3003
3004         * lyxfunc.C: fix import UI a bit
3005
3006 2003-04-25  John Levon  <levon@movementarian.org>
3007
3008         * gettext.C: remove the broken asserts for now
3009
3010 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3011
3012         * messages.C: make case where setlocale cannot comply work better.
3013
3014         * buffer.C (updateDocLang): new function
3015         (changeLanguage): use it
3016         (readFile): use it
3017
3018         * text2.C (setCounter): use B_ a bit.
3019
3020         * lyxlayout.C (Read): be sure to trim the label strings.
3021
3022         * messages.C (Messages): fix typo in comment
3023
3024         * buffer.C (readFile): set message_ after file is loaded.
3025         (makeDocBookFile): remove double return
3026         (changeLanguage): reset message_ upon language change.
3027         (B_): new func, use this to get translated buffer strings.
3028
3029         * main.C: add myself and Jean Marc as authors.
3030
3031 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3032
3033         * messages.[hC]: pimplify Messages, and three different pimpls to be
3034         used in different circumstances.
3035
3036         * gettext.[Ch]: change for use with new message code.
3037
3038 2003-04-24 André Pönitz <poenitz@gmx.net>
3039
3040         * factory.C: support for eqref
3041
3042 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3043
3044         * messages.[Ch]: add missing char
3045
3046         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3047
3048         * messages.[Ch]: New files
3049
3050 2003-04-18  John Levon  <levon@movementarian.org>
3051
3052         * BufferView.h:
3053         * BufferView.C:
3054         * BufferView_pimpl.C:
3055         * lfuns.h:
3056         * LyXAction.C:
3057         * lyxtext.h:
3058         * text2.C: remove layout-copy/paste (bug 778)
3059
3060 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3061
3062         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3063
3064 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3065
3066         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3067         if they succeed. Act accordingly.
3068
3069 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3070
3071         * text2.C (setCharFont): adjust
3072         (setCounter): adjust
3073         (insertStringAsLines): adjust
3074
3075         * text.C (leftMargin): adjust
3076         (setHeightOfRow): adjust
3077
3078         * rowpainter.C (paintFirst): adjust
3079         (paintLast): adjust
3080
3081         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3082         (outerHook): ditto
3083         (isFirstInSequence): ditto
3084         (getEndLabel): ditto
3085         (outerFont): adjust
3086
3087         * paragraph.C (getParLanguage): comment out some hard stuff.
3088
3089         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3090         (sgmlError): ditto
3091         (simpleDocBookOnePar): ditto
3092         (makeDocBookFile): use ParagraphList::iterator
3093
3094         * CutAndPaste.C (pasteSelection): adjust
3095
3096 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3097
3098         * text2.C (getFont): adjust
3099         (getLayoutFont): adjust
3100         (getLabelFont): adjust
3101
3102         * paragraph_funcs.C (TeXOnePar): adjust
3103
3104         * buffer.C (simpleLinuxDocOnePar): adjust
3105         (simpleDocBookOnePar): adjust
3106
3107         * CutAndPaste.C (pasteSelection): adjust
3108
3109         * BufferView.C (getEncoding): adjust
3110
3111         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3112
3113 2003-04-16  John Levon  <levon@movementarian.org>
3114
3115         * lyxfind.C: use parlist stuff for search/changes
3116
3117 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3118
3119         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3120
3121         * text2.C (deleteEmptyParagraphMechanism): adjust
3122
3123         * text2.[Ch] (ownerParagraph): delete func (both of them
3124
3125 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3126
3127         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3128
3129 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3130
3131         * ParagraphList.C: prepare for NO_NEXT
3132
3133 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3134
3135         * text2.C (getFont): adjust
3136         (getLayoutFont): adjust
3137         (getLabelFont): adjust
3138
3139         * paragraph.C (getFont): adjust
3140         (getLabelFont): adjust
3141         (getLayoutFont): adjust
3142
3143         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3144
3145 2003-04-15  John Levon  <levon@movementarian.org>
3146
3147         From Angus Leeming
3148
3149         * lyx_main.C: handle Include in .ui files
3150
3151 2003-04-15  John Levon  <levon@movementarian.org>
3152
3153         * MenuBackend.C: make the doc files length shorter
3154
3155         * ToolbarBackend.h:
3156         * ToolbarBackend.C: handle toolbar placement flags,
3157         Minibuffer
3158
3159 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3160
3161         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3162         adjust
3163
3164         * paragraph_funcs.C (TeXOnePar): adjust
3165
3166         * paragraph.C (getLabelFont): add outerfont arg, adjust
3167         (getLayoutFont): ditto
3168         (simpleTeXOnePar): adjust
3169
3170         * paragraph_pimpl.C (realizeFont): delete func
3171
3172 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3173
3174         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3175         row argument, constify cur argument.
3176
3177 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3178
3179         * text2.C (getFont): adjust
3180         (getLayoutFont): adjust
3181         (getLabelFont): adjust
3182
3183         * paragraph_funcs.C (TeXOnePar): adjust
3184         (outerFont): new func...
3185         (realizeFont): ...moved out from here, changed this to facilitate
3186         transition
3187
3188         * paragraph.C (getFont): take outerfont as arg, adjust
3189         (simpleTeXOnePar): add outerfont arg, adjust
3190
3191         * buffer.C (simpleLinuxDocOnePar): adjust
3192         (simpleDocBookOnePar): adjust
3193
3194         * CutAndPaste.C (pasteSelection): adjust
3195
3196         * BufferView.C (getEncoding): adjust
3197
3198 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3199
3200         * text2.C (setCharFont): adjust
3201         (setCounter): adjust
3202
3203         * text.C (leftMargin): adjust
3204         (setHeightOfRow): adjust
3205
3206         * rowpainter.C (paintFirst): adjust
3207         (paintLast): adjust
3208
3209         * paragraph_pimpl.C (realizeFont): adjust
3210
3211         * paragraph.C (isFirstInSequence): move from here...
3212         * paragraph_funcs.C (isFirstInSequence): ...to here
3213
3214         * paragraph.C (outerHook): move from here...
3215         * paragraph_funcs.C (outerHook): ...to here
3216
3217         * paragraph.C (depthHook): move from here...
3218         * paragraph_funcs.C (depthHook): ...to here
3219
3220         * paragraph.C (getEndLabel): move from here...
3221         * paragraph_funcs.C (getEndLabel): ...to here
3222
3223         * text2.C (realizeFont): move from here...
3224         * paragraph_funcs.C (realizeFont): ...to here
3225
3226 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3227
3228         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3229
3230 2003-04-14  Angus Leeming  <leeming@lyx.org>
3231
3232         * LColor.[Ch]: scrap LColor mathcursor.
3233
3234 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3235
3236         * lyxlex.[Ch] (text): delete function
3237         * trans.C (Load): adjust
3238         * paragraph_funcs.C (readParToken): adjust
3239
3240 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3241
3242         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3243         vector<char> instead of a char[].
3244
3245         * lyxlex_pimpl.C (getString): adjust
3246         (next): adjust
3247         (lex): use getString
3248         (eatLine): adjust
3249         (nextToken): adjust
3250
3251         * lyxlex.C (text): use pimpl_->getString()
3252         (getBool): ditto
3253         (findToken): ditto
3254
3255 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3256
3257         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3258         (makeFontEntriesLayoutSpecific): temp var for par.size()
3259         (setLayout): temp var for ownerParagraphs().end()
3260         (fullRebreak): temp var for rows().end()
3261         (selectionAsString): temp var for boost::next(startpit), realize
3262         that the while really is a regular for loop.
3263         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3264         setCursor in one place.
3265         (setParagraph): temp vr for ownerParagraphs().end()
3266         (updateCounters): make the while loop a for loop
3267         (cutSelection): temp var for ownerParagraphs().end()
3268         (updateInset): make the do {} while() a regular for loop
3269         (getCursorX): use temp vars
3270         (setCurrentFont): use temp vars
3271         (getColumnNearX): use temp vars
3272
3273 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3274
3275         * text.C (transformChar): use temp var for getChar
3276         (computeBidiTables): use temp var for row->par()
3277         (fill): move temp vars for row->par() and pit->layout() earlier in
3278         the function.
3279         (labelFill): use temp var for row->par()
3280         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3281         asc and desc, realize that pit never changes and that firstpit is
3282         just a duplicate and not needed. Exchange rit->par() with pit in a
3283         lot of places.
3284         (breakAgain): use a temp var for boost::next(rit)
3285         (breakAgainOneRow): ditto
3286         (breakParagraph): use a temp var for rows().begin()
3287         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3288         (cursorRightOneWord): use temp var for cursor.par() and
3289         cursor.pos(), remove usage of tmpcursor.
3290         (cursorLeftOneWord): use temp var for cursor.par() and
3291         cursor.pos() only set cur at end of function.
3292
3293 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3294
3295         * text.C, text2.C: exchange all usage of Paragraph::next with
3296         boost::next(ParagraphList::iterator)
3297
3298         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3299
3300         * text2.C (cursorTop): simplify implementation
3301         (cursorBottom): ditto
3302         (setParagraph): use ParagraphList::iterator
3303         (setCurrentFont): adjust
3304         (getColumnNearX): adjust
3305         (cursorRight): adjust
3306         (cursorLeft): remove usage of Paragraph::previous
3307         (cursorUpParagraph): ditto
3308         (deleteEmptyParagraphMechanism): slight cleanup
3309
3310         * text.C (isBoundary): take a Paragraph const & instead of a
3311         pointer as arg.
3312         (addressBreakPoint): ditto
3313         (leftMargin): remove usage of Paragraph::previous.
3314         (setHeightOfRow): ditto
3315         (cursorLeftOneWord): ditto
3316         (selectNextWordToSpellcheck): ditto
3317         (Delete): ditto
3318         (backspace): ditto
3319         (breakParagraph): remove one usage of Paragraph::next
3320         (redoParagraph): ditto
3321         (acceptChange): ditto
3322         (insertChar): adjust
3323         (rowBreakPoint): adjust
3324
3325         * bufferview_funcs.C (toggleAndShow): adjust
3326
3327 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3328
3329         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3330         methods to access it.
3331         * lyxtext.h:
3332         * text.C: Added updateRowPositions to compute all row positions.
3333         Make top_y and getRowNearY() to use the cached y position
3334
3335 2003-04-11  John Levon  <levon@movementarian.org>
3336
3337         * text.C (rowBreakPoint): reintroduce the labelEnd
3338         checks, code copied from the row fill stuff. Deep voodoo.
3339
3340         * text.C (fill): add a comment and debugging for the
3341         next poor soul.
3342
3343 2003-04-11  John Levon  <levon@movementarian.org>
3344
3345         * text.C: make sure fullrow insets get wrapped to the next line,
3346         even when they're in a manual label
3347
3348 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3349
3350         * text2.C (insertParagraph): make it take ParagraphList::iterator
3351         as arg.
3352         (setLayout): make it return ParagraphList::iterator
3353         (redoParagraphs): ditto
3354         (setCounter): ditto
3355         (checkParagraph): ditto
3356
3357         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3358
3359         * text2.C: adjust several funcs.
3360         (realizeFont): take a ParagraphList::iterator as arg.
3361         (getLayoutFont): ditto
3362         (getLabelFont): ditto
3363         (setCharFont): ditto
3364
3365         * text.C: adjust several funcs.
3366
3367 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3368
3369         * text.C (selectNextWordToSpellcheck): don't accidentally
3370         skip insets
3371
3372 2003-04-10  John Levon  <levon@movementarian.org>
3373
3374         * ToolbarBackend.C (getIcon): special handling for
3375         LFUN_MATH_DELIM
3376
3377 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3378
3379         * text2.C (cursorRight): a getChar assert fixed
3380
3381 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3382
3383         * text2.C (getFont): change to take a ParagraphList::iterator
3384         instead of Paragraph*
3385         Adjust several functions.
3386
3387         * text.C (transformChar): change to take a ParagraphList::iterator
3388         instead of Paragraph*
3389         (singleWidth): ditto
3390         Adjust several functions.
3391
3392         * rowpainter.C: adjust several functions
3393         * rowpainter.h:store a ParagraphList::iterator and not a
3394         Paragraph&.
3395
3396
3397 2003-04-09  John Levon  <levon@movementarian.org>
3398
3399         * lyxfunc.C:
3400         * lfuns.h:
3401         * LyXAction.h:
3402         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3403         and the "help" bits as well
3404
3405 2003-04-09  John Levon  <levon@movementarian.org>
3406
3407         * ToolbarBackend.h:
3408         * ToolbarBackend.C: allow multiple toolbars
3409
3410 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3411
3412         * undo_funcs.C (setCursorParUndo): adjust
3413
3414         * text_funcs.C (transposeChars): adjust
3415
3416         * text3.C (gotoNextInset): adjust
3417         (dispatch): adjust
3418
3419         * text2.C (setLayout): adjust
3420         (changeDepth): adjust
3421         (setFont): adjust
3422         (redoParagraphs): adjust
3423         (selectionAsString): adjust
3424         (setParagraph): adjust
3425         (insertInset): adjust
3426         (cutSelection): adjust
3427         (copySelection): adjust
3428         (pasteSelection): adjust
3429         (insertStringAsLines): adjust
3430         (updateInset): adjust
3431         (setCursor): change to take a ParagraphList::iterator parameter
3432         (setCursorIntern): change to take a ParagraphList::iterator parameter
3433         (setCurrentFont): adjust
3434         (cursorLeft): adjust
3435         (cursorRight): adjust
3436         (deleteEmptyParagraphMechanism): adjust
3437
3438         * text.C (breakParagraph): adjust
3439         (insertChar): adjust
3440         (acceptChange): adjust
3441         (rejectChange): adjust
3442         (selectNextWordToSpellcheck): adjust
3443         (changeCase): adjust
3444         (Delete): adjust
3445         (backspace): adjust
3446
3447         * lyxfind.C (SearchForward): adjust
3448         (SearchBackward): adjust
3449         (nextChange): adjust
3450
3451         * lyxcursor.C (par): adjust
3452
3453         * lyxcursor.h: store a ParagraphList::iterator instead of a
3454         Paragraph*
3455
3456         * lyx_cb.C (getPossibleLabel): adjust
3457
3458         * bufferview_funcs.C (toggleAndShow): adjust
3459
3460         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3461         (dispatch): adjust
3462
3463         * BufferView.C (removeAutoInsets): adjust
3464         (lockedInsetStoreUndo): adjust
3465
3466 2003-04-09  John Levon  <levon@movementarian.org>
3467
3468         * ToolbarBackend.C: try icon without argument
3469         if with argument fails
3470
3471 2003-04-08  John Levon  <levon@movementarian.org>
3472
3473         * ToolbarBackend.h:
3474         * ToolbarBackend.C: add getIcon(), handle tooltip,
3475         and change from "Icon" to "Item".
3476
3477 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3478
3479         * BufferView.C (lockInset): another bad getchar crunched
3480
3481 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3482
3483         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3484         again)
3485
3486 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3487
3488         * lyxfind.C (searchForward, searchBackwards): bug 782
3489
3490 2003-04-07  John Levon  <levon@movementarian.org>
3491
3492         * paragraph.C: remove dead comment
3493
3494         * text.C: remove troublesome depth-fiddling code
3495         in leftMargin() and rightMargin() (bug 1017)
3496
3497         * text.C: fix breaking of rows in nested lists
3498         (bug 1004)
3499
3500         * text2.C (updateCounters): fix up depth values
3501         (bug 1013)
3502
3503 2003-04-07  John Levon  <levon@movementarian.org>
3504
3505         * BufferView_pimpl.C: clear message when doc finishes resizing,
3506         and after a mouse event
3507
3508         * lyxfunc.C: clear message after exiting inset
3509
3510 2003-04-07  John Levon  <levon@movementarian.org>
3511
3512         * bufferview_funcs.C: show math status not outside
3513         status in the statusbar
3514
3515 2003-04-07  John Levon  <levon@movementarian.org>
3516
3517         * lyxfunc.C: note status changed after a depth change
3518
3519 2003-04-04  Angus Leeming  <leeming@lyx.org>
3520
3521         * LaTeX.h: move AuxInfo operator==, != out of line.
3522         Remove LaTeX virtual destructor; nothing derives from it.
3523         Move operator()() out of public area and rename it startscript().
3524         Change protected for private.
3525
3526 2003-04-04  Angus Leeming  <leeming@lyx.org>
3527
3528         * lyxfunc.C:
3529         * text2.C: remove unneeded #includes.
3530
3531 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3532
3533         * text2.C (dEPM): fix the heigth of the next row
3534
3535 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3536
3537         * text.C: squashed an invalid getChar requester + some ws changes
3538
3539 2003-04-03  John Levon  <levon@movementarian.org>
3540
3541         * bufferview_funcs.h:
3542         * bufferview_funcs.C:
3543         * lyxfunc.C:
3544         * lyxtext.h:
3545         * text2.C: make getStatus work for the env depth lfuns
3546
3547 2003-04-03  John Levon  <levon@movementarian.org>
3548
3549         * bufferview_funcs.h:
3550         * bufferview_funcs.C:
3551         * lyxfunc.C:
3552         * lyxtext.h:
3553         * text2.C: parlistize decDepth(), by merging it with incDepth()
3554
3555 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3556
3557         * lyxrow.h: store a ParagraphList::iterator instead of a
3558         Paragraph* and adjust other class functions to suit.
3559
3560         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3561         above.
3562
3563 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3564
3565         * text2.C (setCursor): do not anchor to cursor row for the time being
3566
3567 2003-04-02  John Levon  <levon@movementarian.org>
3568
3569         * LyXAction.C:
3570         * lfuns.h:
3571         * lyx_main.C:
3572         * lyxtext.h:
3573         * text.C:
3574         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3575
3576 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3577
3578         * paragraph.h: make ParagraphList and ParagraphList::iterator
3579         friends of Paragraph.
3580
3581         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3582
3583         * ParagraphList.C: Use the private next_ and previous_ from
3584         Paragraph.
3585
3586 2003-04-01  John Levon  <levon@movementarian.org>
3587
3588         * ToolbarBackend.h:
3589         * ToolbarBackend.C:
3590         * Makefile.am: rename, remove defaults gunk
3591
3592         * MenuBackend.h:
3593         * MenuBackend.C: remove defaults gunk
3594
3595         * Languages.h:
3596         * Languages.C: remove defaults gunk
3597
3598         * lyx_main.h:
3599         * lyx_main.C: error out if files couldn't be found.
3600
3601 2003-04-02  John Levon  <levon@movementarian.org>
3602
3603         * text2.C: make incDepth() use parlist
3604
3605 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3606
3607         * undo_funcs.C (firstUndoParagraph): adjust
3608
3609         * text3.C (gotoInset): adjust
3610         (dispatch): adjust, and rewrite loop.
3611
3612         * text2.C (init): adjust, and rewrite loop.
3613         (redoParagraphs): adjust
3614         (updateInset): adjust, and rewrite loop.
3615         (deleteEmptyParagraphMechanism): adjust
3616
3617         * tabular.C (LyXTabular): adjust
3618         (SetMultiColumn): adjust
3619         (TeXRow): adjust
3620
3621         * lyxtext.[Ch] (ownerParagraph): delete function
3622         (ownerParagraphs): new function returns a ParagraphList.
3623
3624         * BufferView.C (removeAutoInsets): adjust
3625         (insertErrors): adjust
3626         (setCursorFromRow): adjust
3627
3628 2003-04-01  Angus Leeming  <leeming@lyx.org>
3629
3630         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3631         in the frontends.
3632
3633 2003-04-02  John Levon  <levon@movementarian.org>
3634
3635         * lyxtext.h:
3636         * text.C:
3637         * Makefile.am:
3638         * text_funcs.h:
3639         * text_funcs.C: make transposeChars a free function
3640
3641         * lyxrow_funcs.C: remove wrong comment
3642
3643 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3644
3645         * lyxtext.h: adjust
3646         * rowpainter.C: adjust
3647         * text.C: adjust
3648         * text2.C: adjust
3649         * text3.C: adjust
3650
3651         * lyxrow_funcs. [Ch]: new files
3652
3653         * lyxrow.[Ch]: remove next and previous pointers
3654         (next,previous): remove accessor functions
3655         (isParEnd): move to lyxrow_funcs
3656         (lastPos): move to lyxrow_funcs
3657         (nextRowIsAllInset): move to lyxrow_funcs
3658         (lastPrintablePos): move to lyxrow_funcs
3659         (numberOfSeparators): move to lyxrow_funcs
3660         (numberOfHfills): move to lyxrow_funcs
3661         (numberOfLabelHfills): move to lyxrow_funcs
3662         (hfillExpansion): move to lyxrow_funcs
3663
3664         * lyxfunc.C: adjust
3665
3666         * bufferview_funcs.C (toggleAndShow): adjust
3667
3668         * RowList.h: Remove class RowList from file leave just a
3669         std::list<Row>.
3670
3671         * RowList.C: delete file
3672
3673         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3674         and lyxrow_funcs.h
3675
3676 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3677
3678         * text3.C (cursorPrevious): adjust
3679         (cursorNext): adjust
3680         (dispatch): adjust
3681
3682         * text2.C (redoHeightOfParagraph): adjust
3683         (redoDrawingOfParagraph): adjust
3684         (setCursor): adjust
3685
3686         * text.C (breakParagraph): adjust
3687         (insertChar): adjust
3688         (backspace): adjust
3689
3690         * rowpainter.C (RowPainter): adjust
3691         (leftMargin): simplify and adjust
3692         (most rowpainter functions): adjust.
3693
3694         * rowpainter.h: store the row as RowList::iterator not as Row*
3695
3696         * lyxcursor.C (row): taka RowList::iterator as arg
3697         (irow): ditto
3698
3699         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3700         of Row*.
3701
3702 2003-04-01  Angus Leeming  <leeming@lyx.org>
3703
3704         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3705         stuff like bool Bool.
3706
3707 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3708
3709         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3710         rewrite a loop
3711
3712 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3713
3714         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3715         RowList::iterator.
3716
3717         * lyxtext.h (rows): drop one version and leve a const variant that
3718         returns a RowList::iterator.
3719
3720 2003-03-31  Angus Leeming  <leeming@lyx.org>
3721
3722         * text.C (fill): ensure that the signature is the same as that in the
3723         header file.
3724
3725 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3726
3727         * text2.C (redoParagraphs): adjust
3728         (updateCounters): adjust
3729         (checkParagraph): adjust
3730         (getColumnNearX): adjust and reformat a bit.
3731
3732         * text.C (top_y): adjust
3733         (workWidth): adjust
3734         (leftMargin): adjust
3735         (prepareToPrint): adjust
3736         (getRow): adjust
3737         (getRowNearY): adjust
3738
3739         * lyxtext.h: make rowlist_ mutable.
3740
3741         * RowList.h: add const_iterator
3742         * RowList.C: adjust for RowList::const_iterator.
3743
3744         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3745         adjust.
3746
3747 2003-03-31  John Levon  <levon@movementarian.org>
3748
3749         * lyxrc.h:
3750         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3751
3752         * lyx_main.C: set default fonts from using lyx_gui funcs
3753
3754         * exporter.C: pdf_mode moved from lyxrc
3755
3756         * lyx_cb.C:
3757         * lyxfunc.C: changes from above
3758
3759 2003-03-31  John Levon  <levon@movementarian.org>
3760
3761         * lyx_main.C: fix to the last fix
3762
3763 2003-03-31  John Levon  <levon@movementarian.org>
3764
3765         * bufferlist.C: "Load original" -> "Load Original"
3766
3767         * converter.C:
3768         * exporter.C:
3769         * importer.C:
3770         * lyx_main.C:
3771         * format.C: more Alert cleanups
3772
3773 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3774
3775         * text2.C (removeParagraph): make it take a RowList::iterator as
3776         arg, adjust.
3777         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3778         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3779
3780         * text.C (anchor_row): make it take a RowList::iterator as arg,
3781         adjust.
3782         (computeBidiTables): make it take a const reference to Row instead
3783         of Row pointer, adjust.
3784         (leftMargin): make it take a RowList::iterator as arg, adjust.
3785         (rowBreakPoint): adjust
3786         (breakAgainOneRow): make it take a RowList::iterator as arg,
3787         adjust.
3788         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3789
3790         * bufferview_funcs.C (toggleAndShow): adjust
3791
3792 2003-03-30  John Levon  <levon@movementarian.org>
3793
3794         * Makefile.am:
3795         * BoostFormat.h:
3796         * boost-inst.C: moved to support
3797
3798         * several files: changes as a result
3799
3800 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3801
3802         * text2.C (LyXText): adjust.
3803         (init): adjust
3804         (removeRow): make it take a RowList::iterator as arg, adjust.
3805         (fullRebreak): adjust
3806         (deleteEmptyParagraphMechanism): adjust
3807         (clearPaint): adjust
3808         (postPaint): adjust
3809
3810         * text.C (top_y): adjust
3811         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3812         (breakAgain): make it take a RowList::iterator as arg, adjust.
3813         (breakParagraph): adjust
3814         (insertChar): adjust
3815         (backspace): adjust
3816
3817         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3818         need_break_row, and refresh_row.
3819
3820         * text3.C (dispatch): adjust
3821
3822         * text2.C (checkParagraph): adjust
3823         (setCursor): adjust
3824         (setCursorFromCoordinates): adjust
3825
3826         * text.C (top_y): adjust
3827         (workWidth): adjust
3828         (getRow): make it return a RowList::iterator, adjust
3829         (getRowNearY): make it return a RowList::iterator, adjust
3830
3831         * text2.C (init): adjust
3832         (insertRow): remove function
3833         (insertParagraph): adjust
3834         (redoParagraphs): adjust
3835         (fullRebreak): adjust
3836         (updateCounters): adjust
3837
3838         * text.C (top_y): rewrite to use RowList iterators.
3839         (top_y): adjust
3840         (setHeightOfRow): rewrite to sue RowList iterators.
3841         (appendParagraph): adjust
3842         (breakAgain): adjust
3843         (breakAgainOneRow): adjust
3844         (breakParagraph): adjust
3845         (getRow): adjust
3846         (getRowNearY): adjust, and remove commented code.
3847
3848         * lyxtext.h (firstRow): delete function
3849         (lastRow): delete function
3850         (rows): new function (const and non-const versions.)
3851         (insertRow): delete function
3852
3853         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3854
3855 2003-03-29  John Levon  <levon@movementarian.org>
3856
3857         * BufferView_pimpl.C: always update scrollbar top
3858         because pasting text when we're anchored could mean we
3859         miss an update altogether
3860
3861 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3862
3863         * text2.C (init): use rowlist_.end() and not 0.
3864         (insertRow): change to take a RowList::iterator as arg, adjust
3865         for this.
3866         (insertParagraph): change to take a RowList::iterator as arg,
3867         adjust for this.
3868         (redoParagraphs): remove some debug msgs.
3869
3870         * text.C (appendParagraph): change to take a RowList::iterator
3871         arg, adjust for this.
3872         (breakAgain): add an assert
3873         (breakAgainOneRow): ditto
3874
3875 2003-03-29  John Levon  <levon@movementarian.org>
3876
3877         * text2.C: do not clear selection after inc/decDepth
3878         (bug 550)
3879
3880 2003-03-29  John Levon  <levon@movementarian.org>
3881
3882         * BufferView.C:
3883         * buffer.C: fix broken strerrors according to Lars
3884
3885 2003-03-29  John Levon  <levon@movementarian.org>
3886
3887         * converters.C: more Alert cleanups
3888
3889 2003-03-29  John Levon  <levon@movementarian.org>
3890
3891         * bufferview_funcs.C: remove pointless Alert
3892
3893         * buffer.C: fix confusing error message when
3894         a template is chmoded 000
3895
3896 2003-03-29  John Levon  <levon@movementarian.org>
3897
3898         * BufferView.C:
3899         * BufferView.h:
3900         * BufferView_pimpl.C: Alert fixes
3901
3902         * Makefile.am:
3903         * tabular.C:
3904         * tabular-old.C: remove unused table compat reading
3905
3906 2003-03-29  John Levon  <levon@movementarian.org>
3907
3908         * BufferView.C:
3909         * buffer.C:
3910         * lyx_cb.h:
3911         * lyx_cb.C: more Alert cleanups
3912
3913         * lyxfunc.C: don't allow chktex if not latex document
3914
3915 2003-03-29  John Levon  <levon@movementarian.org>
3916
3917         * lyx_cb.C:
3918         * BufferView.C:
3919         * buffer.C: warnings pushed down from support/,
3920         kill err_alert
3921
3922 2003-03-29  John Levon  <levon@movementarian.org>
3923
3924         * lyxfunc.C: safety check for C-r (revert)
3925
3926 2003-03-29  John Levon  <levon@movementarian.org>
3927
3928         * bufferlist.h:
3929         * bufferlist.C: several UI fixes using Alert::prompt.
3930         Fix the pointless looping quit code. Fix stupid revert
3931         behaviour (bug 938)
3932
3933         * lyxvc.h:
3934         * lyxvc.C:
3935         * lyx_cb.C: use Alert::prompt
3936
3937         * lyx_main.C: remove a silly question
3938
3939         * lyxfunc.C: remove a couple of silly questions,
3940         use Alert::prompt
3941
3942 2003-03-28  John Levon  <levon@movementarian.org>
3943
3944         * text2.C: fix bug 974 (End on empty par)
3945
3946 2003-03-28  John Levon  <levon@movementarian.org>
3947
3948         * BufferView_pimpl.C:
3949         * LyXAction.C:
3950         * lfuns.h: remove do-nothing math greek lfuns
3951
3952 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3953
3954         * lyxgluelength.h (isValidGlueLength): add default arg on
3955         parameter 2. Remove default arg from friend in class.
3956
3957         * lyxlength.h (isValidLength): add default arg on parameter 2.
3958         Remove default arg from friend in class.
3959
3960         * text2.C (LyXText): adjust, initialize refresh_row.
3961         (init): adjust
3962         (removeRow): adjust
3963         (insertRow): adjust
3964         (insertParagraph): adjst
3965         (redoParagraphs): adjust
3966         (fullRebreak): adjust
3967         (updateCounters): adjust
3968         (deleteEmptyParagraphMechanism): first attempt at fixing a
3969         crashing bug.
3970
3971         * text.C (top_y): adjust
3972         (setHeightOfRow): adjust
3973         (getRow): adjust
3974         (getRowNearY): adjust
3975
3976         * lyxtext.h: include RowList.h
3977         (~LyXText): not needed anymore, deleted.
3978         (firstRow): modify for RowList
3979         (lastRow): new function
3980         Delete firstrow and lastrow class variables, add a Rowlist
3981         rowlist_ class variable.
3982
3983         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3984         paragraph is empty.
3985
3986         * RowList.C (insert): fix case where it == begin().
3987
3988 2003-03-26  Angus Leeming  <leeming@lyx.org>
3989
3990         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3991         the thesaurus dialog.
3992
3993 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3994
3995         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3996
3997         * RowList.[Ch]: new files
3998
3999         * ParagraphList.C (erase): handle the case where it == begin
4000         correctly.
4001
4002 2003-03-25  John Levon  <levon@movementarian.org>
4003
4004         * Makefile.am:
4005         * aspell_local.h:
4006         * aspell.C: add new aspell support
4007
4008         * lyxrc.h:
4009         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4010         have it accessible.
4011
4012 2003-03-25  Angus Leeming  <leeming@lyx.org>
4013
4014         * lfuns.h:
4015         * LyXAction.C (init): new LFUN_INSET_INSERT.
4016
4017         * BufferView_pimpl.C (dispatch): split out part of the
4018         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4019
4020         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4021         LFUN_INSET_APPLY.
4022
4023 2003-03-25  Angus Leeming  <leeming@lyx.org>
4024
4025         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4026
4027 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4028
4029         * text2.C:
4030         * text3.C: remove useless row->height(0)
4031
4032 2003-03-25  John Levon  <levon@movementarian.org>
4033
4034         * lyxtext.h:
4035         * text2.C:
4036         * text3.C: rename the refreshing stuff to better names
4037
4038 2003-03-24  John Levon  <levon@movementarian.org>
4039
4040         * BufferView_pimpl.h:
4041         * BufferView_pimpl.C: update layout choice on a mouse
4042         press/release
4043
4044 2003-03-23  John Levon  <levon@movementarian.org>
4045
4046         * Makefile.am: fix commandtags.h reference
4047
4048 2003-03-22  John Levon  <levon@movementarian.org>
4049
4050         * BufferView_pimpl.C:
4051         * lyxtext.h:
4052         * rowpainter.C:
4053         * rowpainter.h:
4054         * text.C:
4055         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4056
4057 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4058
4059         * lyxtext.h:
4060         * text.C: take the rtl methods out of line
4061
4062 2003-03-21 André Pönitz <poenitz@gmx.net>
4063
4064         * metricsinfo.[Ch]: new files containing structures to be passed around
4065         during the two-phase-drawing...
4066
4067 2003-03-21 André Pönitz <poenitz@gmx.net>
4068
4069         * lyxtextclass.C: read 'environment' tag.
4070
4071 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4072
4073         * text2.C (removeRow): fix bug 964
4074
4075 2003-03-20  John Levon  <levon@movementarian.org>
4076
4077         * rowpainter.C:
4078         * text.C:
4079         * text2.C: paint cleanups. Inset::update() dropped font
4080         parameter
4081
4082 2003-03-19  John Levon  <levon@movementarian.org>
4083
4084         * lyxfunc.C: only fitcursor/markDirty if available()
4085
4086 2003-03-19  John Levon  <levon@movementarian.org>
4087
4088         * commandtags.h: rename to ...
4089
4090         * lfuns.h: ... this, and renumber / cleanup
4091
4092 2003-03-19  John Levon  <levon@movementarian.org>
4093
4094         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4095         fit the cursor after an lfun
4096
4097         * BufferView.h:
4098         * BufferView.C:
4099         * BufferView_pimpl.h:
4100         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4101
4102         * LyXAction.C: layout-character should have ReadOnly
4103
4104         * ParagraphParameters.C:
4105         * buffer.C:
4106         * bufferview_funcs.C:
4107         * lyx_cb.C:
4108         * lyxfind.C:
4109         * lyxtext.h:
4110         * text.C:
4111         * text2.C:
4112         * text3.C:
4113         * undo_funcs.C: changes from above
4114
4115 2003-03-18  John Levon  <levon@movementarian.org>
4116
4117         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4118         remove it from update()
4119
4120         * lyxfunc.C: update layout choice after an lfun
4121
4122         * text3.C: remove extra updateLayoutChoice()s
4123
4124 2003-03-18  John Levon  <levon@movementarian.org>
4125
4126         * text.C: top_y change means full repaint, fix
4127         a drawing bug with cursor movement
4128
4129 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4130
4131         * lyxtext.h:
4132         * text.C:
4133         * text2.C: anchor row on setCursor
4134
4135 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4136
4137         * lyxtext.h: remove almost all mutable keywords
4138         * text.C:
4139         * text2.C:
4140         * text3.C: remove const keywords accordingly
4141
4142 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4143
4144         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4145         anon namespace
4146         (TeXEnvironment): ditto
4147         (TeXOnePar): ditto
4148
4149 2003-03-17  John Levon  <levon@movementarian.org>
4150
4151         * text.C (rowBreakPoint): remove attempt to fix displayed
4152         math insets inside a manual label
4153
4154 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4155
4156         * lyxtext.h: remove BufferView* as first arg from almost all class
4157         functions.
4158         * other files: adjust.
4159
4160 2003-03-17  John Levon  <levon@movementarian.org>
4161
4162         * lyxtext.h:
4163         * undo_funcs.C:
4164         * text2.C: more paint cleanups
4165
4166         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4167
4168         * rowpainter.h:
4169         * rowpainter.C: remove "smart" background painting code
4170
4171 2003-03-16  John Levon  <levon@movementarian.org>
4172
4173         * lyxtext.h:
4174         * text.C:
4175         * text2.C:
4176         * text3.C: add helper functions for setting refresh_row/y
4177
4178 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4179
4180         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4181         newline inset which *can* get inserted in the pass_thru layouts.
4182         This is primarily for literate documents.
4183
4184 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4185
4186         * buffer.C: increment LYX_FORMAT to 223
4187
4188 2003-03-14 André Pönitz <poenitz@gmx.net>
4189
4190         * textclass.h: prepare for environment handling, ws changes
4191         * lyxlayout.C: read latexheader and latexfooter tags
4192
4193 2003-03-14  John Levon  <levon@movementarian.org>
4194
4195         * text2.C: rewrite ::status() a bit
4196
4197 2003-03-13  John Levon  <levon@movementarian.org>
4198
4199         * lyxtext.h: add some docs
4200
4201 2003-03-13  John Levon  <levon@movementarian.org>
4202
4203         * lyxtext.h:
4204         * text.C:
4205         * text2.C:
4206         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4207
4208 2003-03-13  John Levon  <levon@movementarian.org>
4209
4210         * text3.C: fix appendix redrawing
4211
4212 2003-03-13  John Levon  <levon@movementarian.org>
4213
4214         * text.C (setHeightOfRow):
4215         * rowpainter.h:
4216         * rowpainter.C: make appendix mark have the text
4217           "Appendix" so the user knows what it is
4218
4219         * LColor.h:
4220         * LColor.C: s/appendixline/appendix/ from above
4221
4222 2003-03-13  John Levon  <levon@movementarian.org>
4223
4224         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4225
4226         * text.C: fix a getChar(pos) bug properly
4227
4228 2003-03-13  Angus Leeming  <leeming@lyx.org>
4229
4230         * commandtags.h:
4231         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4232         Probably only temporary. Let's see how things pan out.
4233
4234         * BufferView.C (unlockInset):
4235         * BufferView_pimpl.C (fitCursor):
4236         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4237
4238         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4239         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4240
4241         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4242         new functions that convert ParagraphParameters to and from a string.
4243
4244         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4245         BufferView::Pimpl's dispatch.
4246         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4247
4248 2003-03-13 André Pönitz <poenitz@gmx.net>
4249
4250         * lyxfunc.C:
4251         * text3.C:
4252         * factory.C: make it aware of InsetEnv
4253
4254 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4255
4256         * text2.C (setCursor): never ask for one past last
4257         (setCursor): add some debugging messages.
4258
4259         * text.C (singleWidth): never ask for one past last
4260         (singleWidth): ditto
4261         (leftMargin): ditto
4262         (rightMargin): ditto
4263         (rowBreakPoint): ditto
4264         (setHeightOfRow): ditto
4265         (prepareToPrint): ditto
4266
4267         * rowpainter.C (paintBackground): never ask for one past last
4268         (paintText): never ask for one past last
4269
4270         * paragraph_pimpl.C (getChar): make the assert stricter, never
4271         allow the one past last pos to be taken
4272
4273         * paragraph.C (getChar): ws changes only
4274
4275         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4276         (numberOfSeparators): ditto
4277         (numberOfHfills): ditto
4278
4279 2003-03-12  John Levon  <levon@movementarian.org>
4280
4281         * author.h:
4282         * author.C:
4283         * bufferparams.h:
4284         * bufferparams.C:
4285         * paragraph_funcs.C: fix per-buffer authorlists
4286
4287 2003-03-12  John Levon  <levon@movementarian.org>
4288
4289         * text.C: fix newline in right address
4290
4291 2003-03-12  Angus Leeming  <leeming@lyx.org>
4292
4293         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4294         duplicate those in LyXFunc::dispatch.
4295
4296         * commandtags.h:
4297         * LyXAction.C:
4298         * ToolbarDefaults.C:
4299         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4300         Add LFUN_FONTFREE_UPDATE.
4301
4302         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4303         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4304
4305         * bufferview_func.[Ch]: several new functions to facilliate
4306         transfer of data to and from the character dialog.
4307
4308 2003-03-12  John Levon  <levon@movementarian.org>
4309
4310         * buffer.C:
4311         * paragraph.h:
4312         * paragraph.C:
4313         * paragraph_funcs.C:
4314         * paragraph_pimpl.C:
4315         * sgml.C:
4316         * tabular.C:
4317         * text.C:
4318         * text3.C: remove META_NEWLINE in favour of an inset
4319
4320         * rowpainter.h:
4321         * rowpainter.C: remove paintNewline (done by inset)
4322
4323 2003-03-12  John Levon  <levon@movementarian.org>
4324
4325         * paragraph_pimpl.C: complain about bad getChar()s
4326         for a while at least
4327
4328 2003-03-12  John Levon  <levon@movementarian.org>
4329
4330         * buffer.h:
4331         * buffer.C: move paragraph read into a separate function,
4332         a little renaming to reflect that.
4333
4334         * bufferparams.h:
4335         * bufferparams.C: remove the author_ids map, not necessary now
4336
4337         * factory.h:
4338         * factory.C: moved Buffer::readInset to here
4339
4340         * paragraph_funcs.h:
4341         * paragraph_funcs.C: readParagraph free function moved from
4342         buffer.C
4343
4344         * tabular.C: name change
4345
4346 2003-03-12  John Levon  <levon@movementarian.org>
4347
4348         * buffer.C:
4349         * ParagraphParameters.C: move par params input to
4350         a read() method
4351
4352         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4353         behave like a normal read from the stream wrt reading
4354         a line vs. a \\token
4355
4356 2003-03-12  John Levon  <levon@movementarian.org>
4357
4358         * paragraph.C:
4359         * ParagraphParameters.h:
4360         * ParagraphParameters.C: move output code to a
4361         ::write() method
4362
4363 2003-03-12  John Levon  <levon@movementarian.org>
4364
4365         * BufferView.C (insertLyXFile):
4366         * buffer.h:
4367         * buffer.C:
4368         * tabular.C: use a parlist iterator for creating the
4369           document.
4370
4371 2003-03-12  John Levon  <levon@movementarian.org>
4372
4373         * buffer.C: make current_change static local not
4374           static file-scope
4375
4376 2003-03-12  John Levon  <levon@movementarian.org>
4377
4378         * buffer.C: fix insertStringAsLines for change tracking
4379
4380 2003-03-12  John Levon  <levon@movementarian.org>
4381
4382         * BufferView.C:
4383         * tabular.C:
4384         * buffer.h:
4385         * buffer.C:
4386         * bufferparams.h:
4387         * bufferparams.C: move author list into params. Rename some
4388           functions. Move the header reading into a separate token
4389           loop. Move the header token reading into BufferParams.
4390
4391 2003-03-12  John Levon  <levon@movementarian.org>
4392
4393         * changes.C: put debug inside lyxerr.debugging() checks
4394
4395 2003-03-11 André Pönitz <poenitz@gmx.net>
4396
4397         * factory.C: make it aware of InsetHFill
4398
4399 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4400
4401         * buffer.C (latexParagraphs): move function from here...
4402         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4403         args.
4404
4405 2003-03-10  Angus Leeming  <leeming@lyx.org>
4406
4407         * LyXAction.C (init): fix bug in poplating array with multiple entries
4408         with the same LFUN (spotted by JMarc).
4409
4410 2003-03-10  John Levon  <levon@movementarian.org>
4411
4412         * text.C:
4413         * text2.C: move getColumnNearX() near its
4414         only call site
4415
4416 2003-03-10  John Levon  <levon@movementarian.org>
4417
4418         * text.C: fix break before a minipage
4419
4420 2003-03-10  John Levon  <levon@movementarian.org>
4421
4422         * text.C: fix the last commit
4423
4424 2003-03-09  John Levon  <levon@movementarian.org>
4425
4426         * lyxtext.h:
4427         * text.C:
4428         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4429         bug 365 (don't break before insets unless needed). Don't
4430         return a value > last under any circumstances.
4431
4432 2003-03-09  Angus Leeming  <leeming@lyx.org>
4433
4434         * BufferView_pimpl.C (trackChanges, dispatch): call
4435         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4436
4437 2003-03-09  Angus Leeming  <leeming@lyx.org>
4438
4439         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4440         than Dialogs::showAboutlyx().
4441
4442 2003-03-09  Angus Leeming  <leeming@lyx.org>
4443
4444         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4445         than Dialogs::showTabularCreate().
4446
4447 2003-03-09  John Levon  <levon@movementarian.org>
4448
4449         * lyxtext.h:
4450         * text.C:
4451         * text2.C: 3rd arg to nextBreakPoint was always the same.
4452           Use references.
4453
4454 2003-03-08  John Levon  <levon@movementarian.org>
4455
4456         * lyxrow.C:
4457         * paragraph.C:
4458         * paragraph.h:
4459         * rowpainter.C:
4460         * text.C:
4461         * text2.C: Remove the "main" bit from the "main body"
4462           notion.
4463
4464 2003-03-08  John Levon  <levon@movementarian.org>
4465
4466         * text.C (leftMargin): The left margin of an empty
4467         manual label paragraph should not include the label width
4468         string length.
4469
4470         * text.C (prepareToPrint): don't attempt to measure hfills
4471         for empty manual label paragraphs - the answer should be 0
4472
4473 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4474
4475         * CutAndPaste.C: remove commented code and reindent.
4476
4477 2003-03-08  John Levon  <levon@movementarian.org>
4478
4479         * lyxfunc.h:
4480         * lyxfunc.C: move reloadBuffer()
4481
4482         * BufferView.h:
4483         * BufferView.C: to here
4484
4485         * lyxvc.C: add comment
4486
4487         * vc-backend.h:
4488         * vc-backend.C: call bv->reload() to avoid
4489           getStatus() check on MENURELOAD
4490
4491 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4492
4493         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4494         to an old format .dep file.
4495
4496 2003-03-07  Angus Leeming  <leeming@lyx.org>
4497
4498         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4499         when the LFUN_MOUSE_RELEASE should have been handled by
4500         inset->localDispatch.
4501
4502 2003-03-07  Angus Leeming  <leeming@lyx.org>
4503
4504         * BufferView_pimpl.C (dispatch):
4505         * LyXAction.C (init):
4506         * ToolbarDefaults.C (init):
4507         * commandtags.h:
4508         * lyxfunc.C (getStatus):
4509         remove LFUN_INSET_GRAPHICS.
4510
4511         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4512
4513 2003-03-07  Angus Leeming  <leeming@lyx.org>
4514
4515         * commandtags.h:
4516         * LyXAction.C (init):
4517         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4518
4519         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4520
4521         * commandtags.h:
4522         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4523
4524         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4525         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4526
4527 2003-03-07  Angus Leeming  <leeming@lyx.org>
4528
4529         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4530         remove "ert".
4531
4532 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4533
4534         * ParagraphList.C (front): new function
4535         (back): implement
4536
4537 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4538
4539         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4540         and top_row_offset_. removed var first_y.
4541         * text.C (top_y):
4542         * text2.C (LyXText, removeRow):
4543         * text3.C:
4544         * BufferView_pimpl.C:
4545         use these methods instead of using first_y
4546
4547 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4548
4549         * text2.C (pasteSelection): adjust for checkPastePossible
4550
4551         * CutAndPaste.C: remove Paragraph * buf and replace with
4552         ParagraphList paragraphs.
4553         (DeleteBuffer): delete
4554         (cutSelection): change the tc type to textclass_type
4555         (copySelection): change the tc type to textclass_type
4556         (copySelection): adjust for ParagraphList
4557         (pasteSelection): change the tc type to textclass_type
4558         (pasteSelection): adjust for Paragraphlist
4559         (nrOfParagraphs): simplify for ParagraphList
4560         (checkPastePossible): simplify for ParagraphList
4561         (checkPastePossible): remove unused arg
4562
4563         * ParagraphList.C (insert): handle the case where there are no
4564         paragraphs yet.
4565
4566         * CutAndPaste.h: make CutAndPaste a namespace.
4567
4568         * text3.C (dispatch): adjust
4569
4570         * text.C (breakParagraph): add a ParagraphList as arg
4571
4572         * paragraph_funcs.C (breakParagraph): change to take a
4573         BufferParams and a ParagraphList as args.
4574         (breakParagraphConservative): ditto
4575         (mergeParagraph): ditto
4576         (TeXDeeper): add a ParagraphList arg
4577         (TeXEnvironment): ditto
4578         (TeXOnePar): ditto
4579
4580         * buffer.C (readLyXformat2): adjust
4581         (insertStringAsLines): adjust
4582         (latexParagraphs): adjust
4583
4584         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4585         (cutSelection): adjust
4586         (pasteSelection): adjust
4587
4588         * BufferView_pimpl.C (insertInset): adjust
4589
4590 2003-03-05  Angus Leeming  <leeming@lyx.org>
4591
4592         * commandtags.h:
4593         * LyXAction.C (init):
4594         * BufferView_pimpl.C (dispatch):
4595         * lyxfunc.C (getStatus):
4596         remove LFUN_CHILD_INSERT.
4597
4598         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4599
4600 2003-03-05  Angus Leeming  <leeming@lyx.org>
4601
4602         * commandtags.h:
4603         * LyXAction.C (init):
4604         * src/factory.C (createInset):
4605         * lyxfunc.C (getStatus):
4606         * text3.C (dispatch):
4607         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4608
4609         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4610
4611 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4612
4613         * ParagraphList.C (insert): handle insert right before end()
4614         (erase): fix cases where it can be first or last paragraph.
4615
4616 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4617
4618         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4619         Paragraph::next and Paragraph::previous
4620         (TeXOnePar): ditto
4621
4622         * text.C (breakParagraph): adjust
4623
4624         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4625         BufferParams& as arg.
4626         (breakParagraph): use ParagraphList::insert
4627         (breakParagraphConservative): take a Buffer* instead of a
4628         BufferParams& as arg.
4629         (breakParagraphConservative): use ParagraphList::insert.
4630
4631         * buffer.C (insertStringAsLines): un-const it
4632         (insertStringAsLines): adjust
4633
4634         * ParagraphList.C (insert): new function
4635
4636         * CutAndPaste.C (pasteSelection): adjust
4637
4638         * text.C (backspace): adjust
4639
4640         * tabular.C (SetMultiColumn): adjust
4641
4642         * CutAndPaste.C (cutSelection): adjust
4643         (pasteSelection): adjust
4644
4645         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4646         Buffer const * as arg
4647
4648         * ParagraphList.C (erase): new function
4649         * paragraph_funcs.C (mergeParagraph): use it
4650         (mergeParagraph): make it take a Buffer* instead of a
4651         BufferParams* as arg
4652
4653         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4654         as arg
4655         (breakParagraphConservative): ditto
4656
4657         * paragraph.h: remove the breakParagraph friend
4658
4659         * paragraph.C (eraseIntern): new function
4660         (setChange): new function
4661
4662         * paragraph_funcs.C (mergeParagraph): make it take a
4663         ParagraphList::iterator instead of a Paragraph *, adjust
4664         accordingly.
4665
4666         * paragraph.h: move an #endif so that the change tracking stuff
4667         also works in the NO_NEXT case.
4668
4669 2003-03-04  Angus Leeming  <leeming@lyx.org>
4670
4671         * commandtags.h:
4672         * LyXAction.C: new LFUN_INSET_MODIFY.
4673
4674         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4675         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4676
4677 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4678
4679         * several files: ws changes only
4680
4681         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4682         (TeXEnvironment): ditto
4683         (TeXDeeper): ditto
4684
4685         * buffer.C (makeLaTeXFile): adjust
4686         (latexParagraphs): make it take ParagraphList::iterator as args
4687
4688 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4689
4690         * buffer.C (latexParagraphs): adjust
4691
4692         * paragraph.C (TeXOnePar): move function...
4693         (optArgInset): move function...
4694         (TeXEnvironment): move function...
4695         * paragraph_pimpl.C (TeXDeeper): move function...
4696         * paragraph_funcs.C: ...here
4697
4698         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4699
4700 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4701
4702         * buffer.C (readInset): remove compability code for old Figure and
4703         InsetInfo insets
4704
4705 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4706
4707         * buffer.C: ws changes
4708         (readInset):
4709
4710         * BufferView_pimpl.C: ditto
4711         * author.C: ditto
4712         * buffer.h: ditto
4713         * bufferlist.h: ditto
4714         * changes.h: ditto
4715         * lyxfunc.C: ditto
4716
4717 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4718
4719         * converter.[Ch]: split into itself +
4720         * graph.[Ch]
4721         * format.[Ch]
4722         * Makefile.am: += graph.[Ch] + format.[Ch]
4723         * MenuBackend.C
4724         * buffer.C
4725         * exporter.C
4726         * importer.C
4727         * lyx_main.C
4728         * lyxfunc.C
4729         * lyxrc.C: added #include "format.h"
4730
4731 2003-02-27  Angus Leeming  <leeming@lyx.org>
4732
4733         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4734           a label.
4735
4736         * factory.C (createInset): add "label" to the factory.
4737
4738         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4739           string and do no more.
4740
4741 2003-02-27  Angus Leeming  <leeming@lyx.org>
4742
4743         * commandtags.h:
4744         * LyXAction.C (init):
4745         * factory.C (createInset):
4746         * BufferView_pimpl.C (dispatch):
4747           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4748
4749         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4750
4751         * lyxfunc.C (dispatch):
4752         * text3.C (dispatch): pass name to params2string.
4753
4754 2003-02-26  Angus Leeming  <leeming@lyx.org>
4755
4756         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4757           blocks together.
4758           Rearrange the ~includes. Strip out the unnecessary ones.
4759
4760         * factory.C (createInset): reformat.
4761           create new insets for the various LFUN_XYZ_APPLY lfuns.
4762
4763 2003-02-26  John Levon  <levon@movementarian.org>
4764
4765         * lyxrow.h:
4766         * lyxrow.C: add isParStart,isParEnd helpers
4767
4768         * paragraph.h: make isInserted/DeletedText take refs
4769
4770         * paragraph_funcs.h:
4771         * paragraph_funcs.C: remove #if 0'd code
4772
4773         * lyxtext.h:
4774         * text3.C:
4775         * text2.C:
4776         * text.C: use lyxrow helpers above.
4777           Move draw and paint routines to RowPainter.
4778           Make several methods use refs not pointers.
4779           Make backgroundColor() const.
4780           Add markChangeInDraw(), isInInset().
4781           Merge changeRegionCase into changeCase.
4782           Make workWidth() shouldn't-happen code into an Assert.
4783
4784         * rowpainter.h:
4785         * rowpainter.C: new class for painting a row.
4786
4787         * vspace.h:
4788         * vspace.C: make inPixels take a ref
4789
4790 2003-02-26  Angus Leeming  <leeming@lyx.org>
4791
4792         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4793         LFUN_REF_APPLY.
4794
4795 2003-02-25  John Levon  <levon@movementarian.org>
4796
4797         * ispell.C: give the forked command a more accurate name
4798
4799 2003-02-22  John Levon  <levon@movementarian.org>
4800
4801         * toc.h:
4802         * toc.C: make TocItem store an id not a Paragraph *
4803           (bug #913)
4804
4805 2003-02-21  Angus Leeming  <leeming@lyx.org>
4806
4807         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4808           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4809           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4810           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4811           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4812           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4813
4814         * BufferView_pimpl.C (dispatch):
4815         * LyXAction.C (init):
4816         * factory.C (createInset):
4817         * lyxfunc.C (getStatus, dispatch):
4818         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4819
4820 2003-02-21  Angus Leeming  <leeming@lyx.org>
4821
4822         * BufferView_pimpl.C (MenuInsertLyXFile):
4823         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4824         * lyxfunc.C (menuNew, open, doImport):
4825           no longer pass a LyXView & to fileDlg.
4826
4827 2003-02-21  Angus Leeming  <leeming@lyx.org>
4828
4829         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4830         * LyXAction.C: change, BIBKEY to BIBITEM.
4831         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4832         Change InsetBibKey to InsetBibitem.
4833         Change BIBKEY_CODE to BIBITEM_CODE.
4834         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4835         * factory.C: replace insetbib.h with insetbibitem.h.
4836         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4837         * paragraph.C: replace insetbib.h with insetbibitem.h.
4838         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4839         Change bibkey() to bibitem().
4840         * text.C: remove insetbib.h.
4841         * text2.C: replace insetbib.h with insetbibitem.h.
4842         change bibkey() to bibitem().
4843         * text3.C: remove insetbib.h.
4844         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4845
4846 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4847
4848         * lyxrc.C (output): enclose user email in quotes (in case there are
4849         several words)
4850
4851 2003-02-18  John Levon  <levon@movementarian.org>
4852
4853         * buffer.h: add std::
4854
4855 2003-02-17  John Levon  <levon@movementarian.org>
4856
4857         * SpellBase.h:
4858         * ispell.h:
4859         * ispell.C:
4860         * pspell.h:
4861         * pspell.C: reworking. Especially in ispell, a large
4862           number of clean ups and bug fixes.
4863
4864         * lyxfunc.C: fix revert to behave sensibly
4865
4866 2003-02-17 André Pönitz <poenitz@gmx.net>
4867
4868         * LyXAction.C:
4869         * commandtags.h: new LFUN_INSERT_BIBKEY
4870
4871         * layout.h:
4872         * lyxlayout.C:
4873         * buffer.C:
4874         * factory.C:
4875         * text.C:
4876         * text2.C:
4877         * text3.C:
4878         * paragraph.[Ch]:
4879         * paragraph_func.C: remove special bibkey handling
4880
4881 2003-02-17  John Levon  <levon@movementarian.org>
4882
4883         * text.C (Delete): fix case where delete at the end of
4884           the very first paragraph would not merge the pars
4885
4886 2003-02-17  John Levon  <levon@movementarian.org>
4887
4888         * lyxrow.C: fix lastPrintablePos()
4889
4890 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4891
4892         * bufferparams.C (writeLaTeX): add a std:here
4893
4894         * buffer.C: and remove a using directive there
4895
4896 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4897
4898         * buffer.C (makeLaTeXFile): move the code that generates the
4899           preamble...
4900
4901         * bufferparams.C (writeLaTeX): ... in this new method
4902
4903         * LaTeXFeatures.C (getEncodingSet): make const
4904           (getLanguages): make const
4905
4906         * MenuBackend.C (binding): returns the binding associated to this
4907           action
4908           (add): sets the status of each item by calling getStatus. Adds
4909           some intelligence.
4910           (read): add support for OptSubMenu
4911           (expand): remove extra separator at the end of expanded menu
4912
4913 2003-02-15  John Levon  <levon@movementarian.org>
4914
4915         * BufferView.C:
4916         * BufferView_pimpl.C:
4917         * bufferlist.h:
4918         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4919           inset code that had no actual effect. Remove unneeded status
4920           code.
4921
4922 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4923
4924         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4925           in preamble
4926
4927 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4928
4929         * text.C (drawLengthMarker): also draw an arrow marker for
4930           symbolic lengths (medskip...)
4931
4932 2003-02-14  John Levon  <levon@movementarian.org>
4933
4934         * tabular.h:
4935         * tabular.C: better method names
4936
4937 2003-02-14  John Levon  <levon@movementarian.org>
4938
4939         * BufferView_pimpl.C:
4940         * bufferlist.C:
4941         * buffer.C:
4942         * converter.C:
4943         * lyx_cb.C:
4944         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4945           it's a more accurate name. Remove some pointless uses.
4946
4947 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4948
4949         * text2.C (LyXText): change order of initilizers to shut off
4950           warnings
4951
4952 2003-02-14  John Levon  <levon@movementarian.org>
4953
4954         * buffer.C: use ParIterator for getParFromID()
4955
4956         * paragraph.h:
4957         * paragraph.C:
4958         * paragraph_pimpl.h:
4959         * paragraph_pimpl.C: remove unused getParFromID()
4960
4961 2003-02-14  John Levon  <levon@movementarian.org>
4962
4963         * buffer.C: remove some very old #if 0'd parse code
4964
4965 2003-02-13  John Levon  <levon@movementarian.org>
4966
4967         * text.h:
4968         * text.C:
4969         * text2.C: move hfillExpansion(), numberOfSeparators(),
4970           rowLast(), rowLastPrintable(), numberofHfills(),
4971           numberOfLabelHfills() ...
4972
4973         * lyxrow.h:
4974         * lyxrow.C: ... to member functions here.
4975
4976         * paragraph.h:
4977         * paragraph.C:
4978         * lyxtext.h:
4979         * text.C: remove LyXText::beginningOfMainBody(), and call
4980           p->beginningOfMainBody() directly. Move the check for
4981           LABEL_MANUAL into the latter.
4982
4983         * text.h:
4984         * text.C:
4985         * text2.C:
4986         * vspace.C:
4987         * BufferView.h:
4988         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4989
4990         * text.h:
4991         * text.C:
4992         * text2.C:
4993         * text3.C:
4994         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4995           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4996
4997 2003-02-13  John Levon  <levon@movementarian.org>
4998
4999         * CutAndPaste.C: remove debug
5000
5001 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5002
5003         * paragraph.C (asString): remove two unused variables
5004
5005         * lyxtextclass.C (readTitleType):
5006           (Read):
5007           (LyXTextClass): handle new members titletype_ and titlename_
5008
5009         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5010
5011 2003-02-09  John Levon  <levon@movementarian.org>
5012
5013         * buffer.h:
5014         * buffer.C: replace hand-coded list with a map for the dep clean
5015
5016 2003-02-08  John Levon  <levon@movementarian.org>
5017
5018         * LaTeX.C: consolidate code into showRunMessage() helper
5019
5020 2003-02-08  John Levon  <levon@movementarian.org>
5021
5022         * lyxfind.C:
5023         * lyxtext.h:
5024         * text2.C:
5025         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5026           and pass the size in explicitly
5027
5028         * BufferView_pimpl.h:
5029         * BufferView_pimpl.C:
5030         * BufferView.h:
5031         * BufferView.C: add getCurrentChange()
5032
5033         * BufferView_pimpl.h:
5034         * BufferView_pimpl.C: handle change lfuns
5035
5036         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5037           for changes. Mark pasted paragraphs as new.
5038
5039         * support/lyxtime.h:
5040         * support/lyxtime.C:
5041         * DepTable.C: abstract time_t as lyx::time_type
5042
5043         * LColor.h:
5044         * LColor.C: add colours for new text, deleted text, changebars
5045
5046         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5047           package use "usenames" option.
5048
5049         * commandtags.h:
5050         * lyxfunc.C:
5051         * LyXAction.C: add change lfuns
5052
5053         * Makefile.am:
5054         * author.h:
5055         * author.C: author handling
5056
5057         * buffer.h:
5058         * buffer.C: add a per-buffer author list, with first entry as
5059           current author. Handle new .lyx tokens for change tracking. Output
5060           author list to .lyx file. Output dvipost stuff to .tex preamble.
5061           Bump lyx format to 222.
5062
5063         * bufferlist.h:
5064         * bufferlist.C: add setCurrentAuthor() to reset current author details
5065           in all buffers.
5066
5067         * bufferparams.h:
5068         * bufferparams.C: add param for tracking
5069
5070         * bufferview_funcs.C: output change info in minibuffer
5071
5072         * Makefile.am:
5073         * changes.h:
5074         * changes.C: add change-tracking structure
5075
5076         * debug.h:
5077         * debug.C: add CHANGES debug flag
5078
5079         * lyxfind.h:
5080         * lyxfind.C: add code for finding the next change piece
5081
5082         * lyxrc.h:
5083         * lyxrc.C: add user_name and user_email
5084
5085         * lyxrow.h:
5086         * lyxrow.C: add a metric for the top of the text line
5087
5088         * lyxtext.h:
5089         * text.C: implement accept/rejectChange()
5090
5091         * lyxtext.h:
5092         * text.C: paint changebars. Paint new/deleted text in the chosen
5093         colours. Strike through deleted text.
5094
5095         * paragraph.h:
5096         * paragraph.C:
5097         * paragraph_pimpl.h:
5098         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5099           in the current change to the insert functions. Rework erase to
5100           mark text as deleted, adding an eraseIntern() and a range-based
5101           erase(). Implement per-paragraph change lookup and
5102           accept/reject.
5103
5104         * paragraph_funcs.C: Fixup paste for change tracking.
5105
5106         * tabular.C: mark added row/columns as new.
5107
5108         * text.C: fix rowLast() to never return -1. Don't allow
5109           spellchecking of deleted text. Track transpose changes. Don't
5110           allow paragraph break or merge where appropriate.
5111
5112         * text2.C: leave cursor at end of selection after a cut.
5113
5114 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5115
5116         * text.C (getLengthMarkerHeight):
5117         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5118         visible on screen too.
5119
5120 2003-02-07  John Levon  <levon@movementarian.org>
5121
5122         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5123
5124 2003-02-05  Angus Leeming  <leeming@lyx.org>
5125
5126         * lyxserver.C (read_ready): revert my patch of 11 September last year
5127         as it sends PC cpu through the roof. Presumably this means that
5128         the lyxserver will no longer run on an Alpha...
5129
5130 2003-01-30  Angus Leeming  <leeming@lyx.org>
5131
5132         * factory.C (createInset): create an InsetCommandParam of type "index"
5133         and use it to 'do the right thing'.
5134
5135         * text2.C (getStringToIndex): ensure that cursor position is always
5136         reset to the reset_cursor position.
5137
5138 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5139
5140         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5141         disabled.
5142
5143 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5144
5145         * bufferview.C:
5146         * lyxcb.C:
5147         * lyxfunc.C: Output messages with identical spelling, punctuation,
5148         and spaces
5149
5150 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5151
5152         * MenuBackend.C (expandFormats): List only viewable export formats
5153         in "View" menu
5154
5155         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5156         message
5157
5158         * lyxfunc.C (getStatus): Make sure that formats other than
5159         "fax" can also be disabled
5160
5161 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5162
5163         * text3.C (dispatch): put the lfuns that insert insets in 3
5164         groups, and call doInsertInset with appropriate arguments.
5165         (doInsertInset): new function, that creates an inset and inserts
5166         it according to some boolean parameters.
5167
5168 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5169
5170         * buffer.C (readFile): remember to pass on 'par' when calling
5171         readFile recursively.
5172
5173 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5174
5175         * MenuBackend.C (expandFormats): add "..." to import formats.
5176
5177 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5178
5179         * paragraph.C (asString): Remove XForms RTL hacks.
5180
5181 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5182         * buffer.C: fix typo
5183
5184 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5185
5186         * Makefile.am (LIBS): delete var
5187         (lyx_LDADD): add @LIBS@ here instead.
5188
5189 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5190
5191         * Clarify the meaning of "wheel mouse jump"
5192
5193 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5194
5195         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5196         tabular in a float
5197
5198 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5199
5200         * importer.C (Loaders): do not preallocate 3 elements in the
5201         vector, since one ends up with 6 elements otherwise
5202
5203 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5204
5205         * DepTable.C (write): write the file name as last element of the
5206         .dep file (because it may contain spaces)
5207         (read): read info in the right order
5208
5209 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5210
5211         * paragraph_pimpl.C (simpleTeXBlanks):
5212         (simpleTeXSpecialChars):
5213         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5214
5215         * tabular.C (latex): add some missing case statements. Reindent.
5216
5217         * MenuBackend.C (expandToc): remove unused variable.
5218
5219 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5220
5221         * LColor.C:
5222         * LaTeX.C:
5223         * LyXAction.C:
5224         * MenuBackend.C:
5225         * buffer.C:
5226         * exporter.C:
5227         * lyxfunc.C:
5228         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5229         and the like.
5230
5231 2003-01-05  John Levon  <levon@movementarian.org>
5232
5233         * BufferView.h:
5234         * BufferView.C: add getEncoding()
5235
5236         * kbsequence.h:
5237         * kbsequence.C: do not store last keypress
5238
5239         * lyxfunc.h:
5240         * lyxfunc.C: store last keypress here instead. Pass encoding
5241           to getISOEncoded()
5242
5243 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5244
5245         * lyx_main.C (init): remove annoying error message when following
5246         symbolic links (bug #780)
5247
5248 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5249
5250         * text.C (insertChar):
5251         * lyxrc.C (getDescription): remove extra spaces
5252
5253 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5254
5255         * lyxrc.C (getDescription): remove extra spaces
5256
5257 2002-12-20  John Levon  <levon@movementarian.org>
5258
5259         * text3.C: hack fix for page up/down across tall rows
5260
5261 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5262
5263         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5264         not been invoked
5265
5266 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5267
5268         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5269         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5270         thesaurus is not compiled in
5271
5272 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5273
5274         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5275
5276 2002-12-16  Angus Leeming  <leeming@lyx.org>
5277
5278         * lyxrc.[Ch]:
5279         * lyx_main.C (init): remove override_x_deadkeys stuff.
5280
5281 2002-12-12  John Levon  <levon@movementarian.org>
5282
5283         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5284           insert. Only remove shift modifier under strict
5285           circumstances.
5286
5287 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5288
5289         * MenuBackend.C (expandToc): fix crash.
5290
5291 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5292
5293         * MenuBackend.C (expandToc): gettext on float names.
5294
5295 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5296
5297         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5298         implement bool empty() [bug 490]
5299
5300 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5301
5302         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5303
5304 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5305
5306         * several files: ws changes
5307
5308 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5309
5310         * text2.C (setCounter): clean up a bit, use boost.format.
5311         (updateCounters): initialize par upon declaration.
5312
5313         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5314         if the layout exists. We do not just store the layout any more.
5315         (SwitchLayoutsBetweenClasses): use boost.format
5316
5317 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5318
5319         * converter.C (convert): if from and to files are the same, use a
5320         temporary files as intermediary
5321
5322 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5323
5324         * commandtags.h:
5325         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5326
5327 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5328
5329         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5330
5331 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5332
5333         * tabular.C (asciiPrintCell): use string(size, char) instead of
5334         explicit loop.
5335
5336         * sgml.C (openTag): fix order of arguments to string constructor
5337         (closeTag): ditto
5338
5339         * lyxfunc.C (dispatch): use boost.format
5340
5341         * lots of files: change "c" -> 'c'
5342
5343 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5344
5345         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5346
5347 2002-11-25  Angus Leeming  <leeming@lyx.org>
5348
5349         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5350
5351         * lyx_main.C (init): compile fix.
5352
5353 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5354
5355         * lyx_cb.C (start): boost.formatify
5356         do not include <iostream>
5357
5358         * lengthcommon.C: ws only
5359
5360         * boost-inst.C,BoostFormat.h: add more explict instantations
5361
5362 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5363
5364         * lots of files: handle USE_BOOST_FORMAT
5365
5366 2002-11-21  John Levon  <levon@movementarian.org>
5367
5368         * pspell.C: fix compile
5369
5370 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5371
5372         * lyxfunc.C (dispatch): use boost::format
5373         (open): ditto
5374         (doImport): ditto
5375
5376         * lyxfont.C (stateText): use boost::format
5377
5378         * lyx_main.C (LyX): use boost::format
5379         (init): ditto
5380         (queryUserLyXDir): ditto
5381         (readRcFile): ditto
5382         (parse_dbg): ditto
5383         (typedef boost::function): use the recommened syntax.
5384
5385         * importer.C (Import): use boost::format
5386
5387         * debug.C (showLevel): use boost::format
5388
5389         * converter.C (view): use boost::format
5390         (convert): ditto
5391         (move): ditto
5392         (scanLog): ditto
5393
5394         * bufferview_funcs.C (currentState): use boost::format
5395
5396         * bufferlist.C (emergencyWrite): use boost::format
5397
5398         * buffer.C (readLyXformat2): use boost::format
5399         (parseSingleLyXformat2Token): ditto
5400
5401         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5402
5403         * LaTeX.C (run): use boost::format
5404
5405         * Chktex.C (scanLogFile): use boost::format
5406
5407         * BufferView_pimpl.C (savePosition): use boost::format
5408         (restorePosition): ditto
5409         (MenuInsertLyXFile): ditto
5410
5411         * BoostFormat.h: help file for explicit instation.
5412
5413 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5414
5415         * tabular.C (latex): Support for block alignment in fixed width
5416         columns.
5417
5418 2002-11-17  John Levon  <levon@movementarian.org>
5419
5420         * BufferView_pimpl.C:
5421         * lyx_cb.C:
5422         * lyxfunc.C: split filedialog into open/save
5423
5424 2002-11-08  Juergen Vigna  <jug@sad.it>
5425
5426         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5427         by my last patch (hopefully).
5428
5429 2002-11-08  John Levon  <levon@movementarian.org>
5430
5431         * iterators.h:
5432         * iterators.C:
5433         * buffer.h:
5434         * buffer.C:
5435         * paragraph.h:
5436         * paragraph.C:
5437         * toc.h:
5438         * toc.C: ParConstIterator, and use it (from Lars)
5439
5440 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5441
5442         * lyxtextclass.[Ch]: revise and add doxygen comments
5443
5444 2002-11-07  John Levon  <levon@movementarian.org>
5445
5446         * text.C: fix progress value for spellchecker
5447
5448         * toc.C: fix navigate menu for insetwrap inside minipage
5449
5450         * paragraph_funcs.C: added FIXME for suspect code
5451
5452 2002-11-07  John Levon  <levon@movementarian.org>
5453
5454         * BufferView_pimpl.C: fix redrawing of insets
5455           on buffer switch
5456
5457 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5458
5459         * text2.C (updateCounters): fix bug 668
5460
5461 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5462
5463         * text3.C (dispatch): Do not make the buffer dirty when moving the
5464         cursor.
5465
5466 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5467
5468         * vc-backend.C: STRCONV
5469         (scanMaster): ditto
5470
5471         * text2.C (setCounter): STRCONV
5472
5473         * paragraph.C (asString): STRCONV
5474
5475         * lyxlength.C (asString): STRCONV
5476         (asLatexString): ditto
5477
5478         * lyxgluelength.C (asString): STRCONV
5479         (asLatexString): ditto
5480
5481         * lyxfunc.C (dispatch): STRCONV
5482         (open): ditto
5483
5484         * lyxfont.C (stateText): STRCONV
5485
5486         * importer.C (Import): STRCONV
5487
5488         * counters.C (labelItem): STRCONV
5489         (numberLabel): ditto
5490         (numberLabel): remove unused ostringstream o
5491
5492         * chset.C: STRCONV
5493         (loadFile): ditto
5494
5495         * bufferview_funcs.C (currentState): STRCONV
5496
5497         * buffer.C (readFile): STRCONV
5498         (asciiParagraph): ditto
5499         (makeLaTeXFile): ditto
5500
5501         * Spacing.C (writeEnvirBegin): STRCONV
5502
5503         * LaTeXFeatures.C (getLanguages): STRCONV
5504         (getPackages): ditto
5505         (getMacros): ditto
5506         (getBabelOptions): ditto
5507         (getTClassPreamble): ditto
5508         (getLyXSGMLEntities): ditto
5509         (getIncludedFiles): ditto
5510
5511         * LaTeX.C: STRCONV
5512         (run): ditto
5513         (scanAuxFile): ditto
5514         (deplog): ditto
5515
5516         * LString.h: add the STRCONV macros
5517
5518         * BufferView_pimpl.C (savePosition): STRCONV
5519         (restorePosition): ditto
5520         (MenuInsertLyXFile): ditto
5521
5522         * vc-backend.C (scanMaster): change from submatch[...] to
5523         submatch.str(...)
5524
5525         * funcrequest.C: include config.h
5526
5527         * factory.C: include config.h
5528
5529         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5530
5531         * box.C: include config.h
5532
5533         * LaTeX.C (scanAuxFile): change from submatch[...] to
5534         submatch.str(...)
5535         (deplog): ditto
5536
5537 2002-10-25  Angus Leeming  <leeming@lyx.org>
5538
5539         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5540
5541         * ispell.[Ch] (setError): new method.
5542         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5543         Use setError() insetead of goto END.
5544
5545         * lyx_cb.C (AutoSave): move out child process into new class
5546         AutoSaveBuffer.
5547
5548 2002-10-30  John Levon  <levon@movementarian.org>
5549
5550         * text3.C: make start appendix undoable
5551
5552 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5553
5554         * lyxlength.C (inPixels): Fix returned value.
5555
5556         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5557         environment.
5558
5559 2002-10-24  Angus Leeming  <leeming@lyx.org>
5560
5561         * lyxgluelength.h: no need to forward declare BufferParams
5562         or BufferView, so don't.
5563
5564 2002-10-21  John Levon  <levon@movementarian.org>
5565
5566         * BufferView.C: menuUndo ->undo, redo
5567
5568         * BufferView.h: document, remove dead, make some methods private
5569
5570         * paragraph_funcs.h:
5571         * paragraph_funcs.C:
5572         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5573
5574         * buffer.h:
5575         * buffer.C:
5576         * sgml.h:
5577         * sgml.C: move sgml open/close tag into sgml.C
5578
5579         * bufferview_funcs.h: unused prototype
5580
5581         * lyxfunc.h:
5582         * lyxfunc.C: remove unused
5583
5584         * lyxtext.h:
5585         * text.C: remove unused
5586
5587 2002-10-21  John Levon  <levon@movementarian.org>
5588
5589         * BufferView.h:
5590         * BufferView.C:
5591         * BufferView_pimpl.h:
5592         * BufferView_pimpl.C: fix mouse wheel handling based on
5593           patch from Darren Freeman
5594
5595 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5596
5597         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5598
5599 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5600
5601         * lyxlength.C (inPixels): Fix hanfling of negative length.
5602         Fix LyXLength::MU case.
5603
5604 2002-10-16  John Levon  <levon@movementarian.org>
5605
5606         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5607
5608 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5609
5610         * converter.C (view): add support for $$i (file name) and $$p
5611         (file path) for the viewer command. If $$i is not specified, then
5612         it is appended to the command (for compatibility with old syntax)
5613
5614 2002-10-14  Juergen Vigna  <jug@sad.it>
5615
5616         * undo_funcs.C (textHandleUndo): alter the order in which the
5617         new undopar is added to the LyXText, as we have to set first
5618         the right prev/next and then add it as otherwise the rebuild of
5619         LyXText is not correct. Also reset the cursor to the right paragraph,
5620         with this IMO we could remove the hack in "redoParagraphs()".
5621
5622 2002-10-09  Angus Leeming  <leeming@lyx.org>
5623
5624         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5625         to turn off an optimisation if a new inset is to be inserted.
5626
5627 2002-10-11 André Pönitz <poenitz@gmx.net>
5628
5629         * lyxtext.h: make some functions public to allow access
5630         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5631
5632 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5633
5634         * text3.C (dispatch): when changing layout, avoid an infinite loop
5635         [bug #652]
5636
5637 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5638
5639         * lyxrc.C (read): treat a viewer or converter command of "none" as
5640         if it were empty.
5641
5642         * MenuBackend.C (expandFormats): for an update, also allow the
5643         formats that are not viewable
5644
5645         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5646         script if it is newer than the lyxrc.defaults in user directory
5647
5648 2002-10-07 André Pönitz <poenitz@gmx.net>
5649
5650         * text.C: Vitaly Lipatov's small i18n fix
5651
5652 2002-09-25  Angus Leeming  <leeming@lyx.org>
5653
5654         * ispell.h: doxygen fix.
5655
5656 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5657
5658         * buffer.h (readFile): Add a new argument to the method, to allow
5659         reading of old-format templates.
5660
5661 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5662
5663         * toc.C (getTocList): Get TOC from InsetWrap.
5664
5665 2002-09-16  John Levon  <levon@movementarian.org>
5666
5667         * lyxfunc.C: check tabular for cut/copy too
5668
5669 2002-09-12  John Levon  <levon@movementarian.org>
5670
5671         * LyXAction.C: tidy
5672
5673         * factory.h:
5674         * factory.C: add header
5675
5676         * paragraph_funcs.h:
5677         * paragraph_funcs.C: cleanup
5678
5679 2002-09-11  John Levon  <levon@movementarian.org>
5680
5681         * PrinterParams.h: odd/even default to true
5682
5683 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5684
5685         * PrinterParams.h: update printer parameters for new xforms dialog
5686
5687 2002-09-11  Angus Leeming  <leeming@lyx.org>
5688
5689         * lyxserver.C (read_ready): re-write to make it more transparent
5690         and to make it work in coherent fashion under Tru64 Unix.
5691
5692 2002-09-11  André Pönitz <poenitz@gmx.net>
5693
5694         * commandtags.h:
5695         * LyXAction.C:
5696         * text3.C: implement LFUN_WORDSEL
5697
5698 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5699
5700         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5701         make floatlist_ a boost::shared_ptr<FloatList>
5702
5703         * lyxtextclass.C: include FloatList.h
5704         (LyXTextClass): initialize floatlist_
5705         (TextClassTags): add TC_NOFLOAT
5706         (Read): match "nofloat" to TC_NOFLOAT and use it.
5707         (readFloat): modify call to floatlist_
5708         (floats): ditto
5709         (floats): ditto
5710
5711         * FloatList.[Ch] (FloatList): remove commented out float
5712         initialization.
5713         (erase): new function
5714
5715 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5716
5717         * MenuBackend.C (expandToc): fix crash when there is no document
5718         open
5719
5720 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5721
5722         * many files: Add insetwrap.
5723
5724 2002-09-09  John Levon  <levon@movementarian.org>
5725
5726         * text2.C: remove confusing and awkward depth wraparound
5727
5728 2002-09-09  John Levon  <levon@movementarian.org>
5729
5730         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5731
5732         * buffer.h:
5733         * buffer.C: remove getIncludeonlyList()
5734
5735         * paragraph.C:
5736         * lyxfunc.C: remove headers
5737
5738 2002-09-09  Juergen Vigna  <jug@sad.it>
5739
5740         * text.C (getColumnNearX): fix form Michael this is most
5741         probably a cut&paste bug.
5742
5743 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5744
5745         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5746
5747         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5748         references, ws changes.
5749
5750         * text2.C (init): update counters after init
5751         (insertParagraph): no need to set counter on idividual paragraphs.
5752         (setCounter): access the counters object in the textclass object
5753         on in the buffer object.
5754         (updateCounters): ditto
5755
5756         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5757         shared_ptr<Counters> to avoid loading counters.h in all
5758         compilation units.
5759         (LyXTextClass): initialize ctrs_
5760         (TextClassTags): add TC_COUNTER, and ...
5761         (Read): use it here.
5762         (CounterTags): new tags
5763         (readCounter): new function
5764         (counters): new funtion
5765         (defaultLayoutName): return a const reference
5766
5767         * counters.C (Counters): remove contructor
5768         (newCounter): remove a couple of unneeded statements.
5769         (newCounter): simplify a bit.
5770         (numberLabel): some small formatting changes.
5771
5772         * buffer.[Ch]: remove all traces of counters, move the Counters
5773         object to the LyXTextClass.
5774
5775 2002-09-06  Alain Castera  <castera@in2p3.fr>
5776
5777         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5778         package to set the horizontal alignment on fixed width columns.
5779
5780         * lyx_sty.C:
5781         * lyx_sty.h: added tabularnewline macro def.
5782
5783         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5784
5785 2002-09-06  John Levon  <levon@movementarian.org>
5786
5787         * LyXAction.C: tooltips for sub/superscript
5788
5789         * MenuBackend.C: a bit more verbose
5790
5791         * lyxfunc.C: tiny clean
5792
5793         * undo_funcs.C: document undo_frozen
5794
5795 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5796
5797         * counters.C (Counters): add missing algorithm counter.
5798
5799         * text2.C (setCounter): lookup the counter with layouts latexname
5800         instead of by section number.
5801         (setCounter): use a hackish way to lookup the correct enum
5802         counter.
5803         a float name->type change
5804         reset enum couners with counter name directly instead of depth value.
5805
5806         * counters.C (Counters): remove the push_backs, change to use the
5807         float type not the float name.
5808         (labelItem): remove unused string, float name->type change
5809
5810         * counters.h: don't include vector, loose the enums and sects vectors
5811
5812 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5813
5814         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5815         (Read): add float->TC_FLOAT to textclassTags
5816         (Read): and handle it in the switch
5817         (readFloat): new function
5818
5819         * FloatList.C (FloatList): comment out the hardcoded float
5820         definitions.
5821
5822         * lyxlayout.h: ws change.
5823
5824 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5825
5826         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5827
5828 2002-09-03  Angus Leeming  <leeming@lyx.org>
5829
5830         * BufferView_pimpl.h: qualified name is not allowed in member
5831         declaration: WorkArea & Pimpl::workarea() const;
5832
5833         * factory.C: added using std::endl directive.
5834
5835         * text3.C: added using std::find and std::vector directives.
5836
5837 2002-08-29  André Pönitz <poenitz@gmx.net>
5838
5839         * lyxtext.h:
5840         * text2.C: remove unused member number_of_rows
5841
5842         * Makefile.am:
5843         * BufferView2.C: remove file, move contents to...
5844         * BufferView.C: ... here
5845
5846         * BufferView_pimpl.C:
5847         * factory.C: move more inset creation to factory
5848
5849         * vspace.C: avoid direct usage of LyXText, ws changes
5850
5851         * BufferView.[Ch]:
5852                 don't provide direct access to WorkArea, use two simple
5853                 acessors haveSelction() and workHeight() instead
5854
5855
5856 2002-08-29  John Levon  <levon@movementarian.org>
5857
5858         * BufferView_pimpl.C (dispatch): do not continue when
5859           no buffer
5860
5861 2002-08-28  André Pönitz <poenitz@gmx.net>
5862
5863         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5864
5865         * BufferView.h:
5866         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5867
5868 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5869
5870         * buffer.C: increment LYX_FORMAT to 221
5871
5872         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5873         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5874
5875         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5876
5877         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5878
5879 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5880
5881         * factory.C (createInset): use LyXTextClass::floats
5882
5883         * MenuBackend.C (expandFloatListInsert):
5884         (expandFloatInsert):
5885         (expandToc):
5886
5887         * text2.C (setCounter):
5888
5889         * LaTeXFeatures.C (useFloat):
5890         (getFloatDefinitions):
5891
5892         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5893
5894         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5895         floatlist_, with accessor floats().
5896
5897         * FloatList.h: remove global FloatList
5898
5899 2002-08-26  André Pönitz <poenitz@gmx.net>
5900
5901         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5902
5903         * BufferView.h:
5904         * BufferView2.C:
5905         * BufferView_pimpl.C:
5906         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5907
5908 2002-08-25  John Levon  <levon@movementarian.org>
5909
5910         * LyXAction.C: fix margin note description
5911
5912 2002-08-24  John Levon  <levon@movementarian.org>
5913
5914         * buffer.C:
5915         * bufferlist.C:
5916         * bufferview_funcs.C:
5917         * lyxfont.C:
5918         * undo_funcs.C: cleanups
5919
5920         * lyxfunc.C: disable CUT/COPY when no selection
5921
5922 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5923
5924         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5925         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5926
5927         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5928         Add backward compatibility to "mono", "gray" and "no".
5929
5930 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5931
5932         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5933         (and file_format >= 200).
5934
5935 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5936
5937         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5938
5939 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5940
5941         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5942
5943 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5944
5945         * BufferView_pimpl.C:
5946         * LyXAction.C:
5947         * buffer.C:
5948         * commandtags.h:
5949         * lyxfunc.C:
5950         * paragraph.[Ch]:
5951         * text2.C:
5952         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5953         inset and code to make it  work with the paragraph code. The inset
5954         can be anywhere in the paragraph, but will only do the expected
5955         thing in LaTeX if the layout file contains the parameter line
5956                         OptionalArgs    1
5957         (or more generally, a nonzero value) for that layout.
5958
5959 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5960
5961         * paragraph.h: remove the declaration of undefined counters class
5962         function.
5963
5964 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5965
5966         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5967         Dr. Richard Hawkins.
5968
5969 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5970
5971         * paragraph_funcs.h: remove some unneeded includes
5972
5973         * text.C (backspace): pasteParagraph now in global scipe
5974
5975         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5976         (pasteSelection): ditto
5977
5978         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5979         * paragraph_funcs.C (pasteParagraph): ... here
5980
5981 2002-08-20  André Pönitz <poenitz@gmx.net>
5982
5983         * commandtags.h: new LFUNs for swapping/copying table row/colums
5984
5985         * LyXAction.C:
5986         * lyxfunc.C: support for new lfuns
5987
5988 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5989
5990         * tabular.C:
5991         * buffer.[Ch]: remove NO_COMPABILITY stuff
5992
5993 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5994
5995         * boost.C (throw_exception): new file, with helper function for
5996         boost compiled without exceptions.
5997
5998         * paragraph.h:
5999         * lyxlength.C:
6000         * buffer.C:
6001         * ParameterStruct.h:
6002         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6003
6004         * bufferlist.C (emergencyWriteAll): use boost bind
6005
6006         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6007
6008         * text.C: include paragraph_funcs.h
6009         (breakParagraph): breakParagraph is now in global scope
6010
6011         * paragraph_funcs.[Ch]: new files
6012
6013         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6014         global scope
6015
6016         * buffer.C: include paragraph_funcs.h
6017         (insertStringAsLines): breakParagraph is now in global scope
6018
6019         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6020         paragraph_funcs.C
6021
6022         * CutAndPaste.C: include paragraph_funcs.h
6023         (cutSelection): breakParagraphConservative is now in global scope
6024         (pasteSelection): ditto
6025
6026         * buffer.h: declare oprator== and operator!= for
6027         Buffer::inset_iterator
6028
6029         * bufferlist.C (emergencyWrite): don't use fmt(...)
6030
6031         * text3.C: add using std::endl
6032
6033         * BufferView.C (moveCursorUpdate): remove default arg
6034
6035 2002-08-20  André Pönitz <poenitz@gmx.net>
6036
6037         * buffer.[Ch]: move inline functions to .C
6038
6039         * BufferView2.C:
6040         * BufferView_pimpl.C:
6041         * text.C:
6042         * buffer.[Ch]: use improved inset_iterator
6043
6044         * buffer.C:
6045         * paragraph.[Ch]: write one paragraph at a time
6046
6047 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6048
6049         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6050         style if style is not specified.
6051
6052 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6053
6054         * text2.C (setCounter): when searching for right label for a
6055         caption, make sure to recurse to parent insets (so that a caption
6056         in a minipage in a figure float works) (bug #568)
6057
6058 2002-08-20  André Pönitz <poenitz@gmx.net>
6059
6060         * text3.C: new file for LyXText::dispatch() and helpers
6061
6062         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6063
6064         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6065
6066 2002-08-19  André Pönitz <poenitz@gmx.net>
6067
6068         * lyxtext.h:
6069         * text.C: new LyXText::dispatch()
6070
6071         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6072
6073 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6074
6075         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6076
6077         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6078         Hebrew text.
6079
6080 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6081
6082         * Makefile.am: use $(variables) instead of @substitutions@
6083
6084 2002-08-15  André Pönitz <poenitz@gmx.net>
6085
6086         * lyxfunc.C:
6087         * BufferView_pimpl.C: streamlining mathed <-> outer world
6088         interaction
6089
6090         * commandtags.h:
6091         * LyXAction.C: remove unused LFUN_MATH
6092
6093 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6094
6095         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6096
6097 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6098
6099         * paragraph.C (Paragraph): reformat a bit
6100         (cutIntoMinibuffer): use builtin InsetList function instad of
6101         doing it manually.
6102         (getInset): ditto
6103
6104         * buffer.C: include boost/bind.hpp, add using std::for_each
6105         (writeFileAscii): use ParagraphList iterators
6106         (validate): use for_each for validate traversal of paragraphs
6107         (getBibkeyList): use ParagraphList iterators
6108         (resizeInsets): use for_each to resizeInsetsLyXText for all
6109         paragraphs.
6110         (getParFromID): use ParagraphList iterators
6111
6112         * BufferView2.C (lockInset): use paragraph list and iterators
6113
6114 2002-08-14  John Levon  <levon@movementarian.org>
6115
6116         * lyxserver.C: remove spurious xforms include
6117
6118 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6119
6120         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6121
6122 2002-08-13  André Pönitz <poenitz@gmx.net>
6123
6124         * LyXAction.[Ch]:
6125         * lyxfunc.C: further cleaning
6126
6127 2002-08-13  André Pönitz <poenitz@gmx.net>
6128
6129         * funcrequest.h: new constructor
6130
6131         * funcrequest.C: move stuff here from .h
6132
6133         * Makefile.am:
6134         * BufferView_pimpl.C:
6135         * LyXAction.C:
6136         * toc.C:
6137         * lyxfunc.C: subsequent changes
6138
6139         * lyxfunc.h: new view() member function
6140
6141         * lyxfunc.C: subsequent changes
6142
6143 2002-08-13  Angus Leeming  <leeming@lyx.org>
6144
6145         * BufferView2.C:
6146         * BufferView_pimpl.C:
6147         * buffer.C:
6148         * converter.C:
6149         * importer.C:
6150         * lyxfunc.C:
6151         * lyxvc.C:
6152         * toc.C:
6153         * vc-backend.C:
6154         changes due to the changed LyXView interface that now returns references
6155         to member variables not pointers.
6156
6157 2002-08-13  Angus Leeming  <leeming@lyx.org>
6158
6159         * WordLangTuple (word, lang_code): return references to strings,
6160         not strings.
6161
6162         * BufferView.h:
6163         * SpellBase.h:
6164         * lyxtext.h: forward-declare WordLangTuple.
6165
6166         * BufferView2.C:
6167         * ispell.C:
6168         * pspell.C:
6169         * text.C: #include "WordLangTuple.h".
6170
6171         * lyxtext.h:
6172         * text.C: (selectNextWordToSpellcheck): constify return type.
6173
6174 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6175
6176         * buffer.C:
6177         * buffer.h:
6178         * lyxtext.h:
6179         * paragraph.C:
6180         * paragraph_pimpl.h:
6181         * text.C:
6182         * text2.C:
6183         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6184         suggested by Angus.
6185         Made updateCounter always count from start of buffer, and removed
6186         second argument (par).
6187         Reverted floats number display to '#'. Perhaps I'll try again when the
6188         code base is sanitized a bit.
6189
6190 2002-08-12  Angus Leeming  <leeming@lyx.org>
6191
6192         * buffer.[Ch] (getLabelList): constify.
6193
6194 2002-08-07  André Pönitz <poenitz@gmx.net>
6195
6196         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6197
6198         * funcrequest.h: extension to keep mouse (x,y) position
6199
6200 2002-08-12  Juergen Vigna  <jug@sad.it>
6201
6202         * BufferView2.C (insertErrors): forbid undo when inserting error
6203         insets.
6204
6205         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6206
6207 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6208
6209         * ParagraphList.[Ch]: new files
6210
6211         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6212
6213         * BufferView2.C (lockInset): ParagraphList changes
6214         * toc.C: ditto
6215         * text2.C: ditto
6216         * bufferlist.C: ditto
6217         * buffer.h: ditto
6218         * buffer.C: ditto
6219
6220 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6221
6222         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6223         unused class variable counter_,
6224
6225         * paragraph.[Ch] (getFirstCounter): delete unused function
6226
6227         * counters.C: include LAssert.h
6228         (reset): add a new function with no arg, change other version to
6229         not have def. arg and to not allow empty arg.
6230
6231         * text2.C (setCounter): remove empty arg from call to Counters::reset
6232
6233 2002-08-11  John Levon  <levon@movementarian.org>
6234
6235         * Makefile.am: add WordLangTuple.h
6236
6237 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6238
6239         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6240         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6241
6242         * insets/insettext.C: InsetList changes
6243
6244         * graphics/GraphicsSupport.C (operator()): InsetList changes
6245
6246         * toc.C (getTocList): InsetList changes
6247
6248         * paragraph_pimpl.[Ch]: InsetList changes
6249
6250         * paragraph.[Ch]: InsetList changes
6251
6252         * buffer.C (inset_iterator): InsetList changes
6253         (setParagraph): ditto
6254         * buffer.h (inset_iterator): ditto
6255         * iterators.C (operator++): ditto
6256         * iterators.h: ditto
6257
6258         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6259
6260         * InsetList.[Ch]: new files, most InsetList handling moved out of
6261         paragraph.C.
6262
6263         * BufferView2.C (removeAutoInsets): InsetList changes
6264         (lockInset): ditto
6265         (ChangeInsets): ditto
6266
6267 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * paragraph_pimpl.h (empty): new function
6270
6271         * paragraph.[Ch] (empty): new function
6272
6273         * other files: use the new Paragraph::empty function
6274
6275 2002-08-09  John Levon  <levon@movementarian.org>
6276
6277         * lyxtext.h: remove unused refresh_height
6278
6279 2002-08-09  John Levon  <levon@movementarian.org>
6280
6281         * Makefile.am:
6282         * sgml.h:
6283         * sgml.C:
6284         * buffer.C:
6285         * paragraph.h:
6286         * paragraph.C: move sgml char escaping out of paragraph
6287
6288         * paragraph.h:
6289         * paragraph.C: remove id setter
6290
6291         * buffer.C:
6292         * paragraph.C:
6293         * paragraph_pimpl.C: remove dead tex_code_break_column
6294
6295         * bufferview_funcs.C: small cleanup
6296
6297         * lyxfunc.C: remove dead proto
6298
6299         * lyxtext.h: make some stuff private. Remove some dead stuff.
6300
6301         * lyxgluelength.C: make as[LyX]String() readable
6302
6303 2002-08-08  John Levon  <levon@movementarian.org>
6304
6305         * LyXAction.h:
6306         * LyXAction.C:
6307         * MenuBackend.C:
6308         * ToolbarDefaults.C:
6309         * lyxfunc.C:
6310         * lyxrc.C:
6311         * toc.C: lyxaction cleanup
6312
6313 2002-08-08  John Levon  <levon@movementarian.org>
6314
6315         * BufferView2.C: small cleanup
6316
6317         * lyxfind.h:
6318         * lyxfind.C: move unnecessary header into the .C
6319
6320 2002-08-08  John Levon  <levon@movementarian.org>
6321
6322         * funcrequest.h: just tedious nonsense
6323
6324         * lyx_main.h:
6325         * lyx_main.C: cleanups
6326
6327         * buffer.C:
6328         * vspace.C: remove dead header lyx_main.h
6329
6330 2002-08-07  Angus Leeming  <leeming@lyx.org>
6331
6332         * Paragraph.[Ch]:
6333         * paragraph_pimpl.h:
6334         Forward declare class Counters in paragraph.h by moving the ctrs member
6335         variable into Paragraph::Pimpl.
6336         (counters): new method, returning a reference to pimpl_->ctrs.
6337
6338         * text2.C: ensuing changes.
6339
6340 2002-08-07  John Levon  <levon@movementarian.org>
6341
6342         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6343
6344         * BufferView_pimpl.C: announce X selection on double/triple
6345           click
6346
6347         * lyx_main.C: use correct bool in batch dispatch
6348
6349         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6350
6351 2002-08-07  André Pönitz <poenitz@gmx.net>
6352
6353         * funcrequest.h: new class to wrap a kb_action and its argument
6354
6355         * BufferView.[Ch]:
6356         * BufferView_pimpl[Ch]:
6357         * LaTeX.C:
6358         * LyXAction.[Ch]:
6359         * lyxfunc.[Ch]:
6360         * lyxrc.C: subsequent changes
6361
6362
6363 2002-08-07  John Levon  <levon@movementarian.org>
6364
6365         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6366           document options change.
6367
6368 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6369
6370         * counters.[Ch]
6371         * text2.C
6372         * paragraph.[Ch]
6373         * makefile.am: move counters functionality over from
6374         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6375
6376 2002-08-06  John Levon  <levon@movementarian.org>
6377
6378         * WordLangTuple.h: new file for word + language code tuple
6379
6380         * SpellBase.h:
6381         * pspell.h:
6382         * pspell.C:
6383         * ispell.h:
6384         * ispell.C:
6385         * lyxtext.h:
6386         * text.C:
6387         * text2.C:
6388         * BufferView.h:
6389         * BufferView2.C: use WordLangTuple
6390
6391         * layout.h:
6392         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6393
6394 2002-08-06  John Levon  <levon@movementarian.org>
6395
6396         * lyx_main.C: fix cmdline batch handling
6397
6398 2002-08-06  André Pönitz <poenitz@gmx.net>
6399
6400         * lyxrc.C: set default for show_banner to true
6401
6402 2002-08-06  John Levon  <levon@movementarian.org>
6403
6404         * pspell.C: fix a crash, and allow new aspell to work
6405
6406 2002-08-06  John Levon  <levon@movementarian.org>
6407
6408         * lyxfunc.C:
6409         * kbmap.C: small cleanup
6410
6411         * vspace.h:
6412         * vspace.C: add const
6413
6414 2002-08-05  John Levon  <levon@movementarian.org>
6415
6416         * LyXAction.C: back to tabular-insert
6417
6418 2002-08-04  John Levon  <levon@movementarian.org>
6419
6420         * BufferView.h:
6421         * BufferView.C: cosmetic change
6422
6423         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6424
6425         * bufferlist.C:
6426         * buffer.h:
6427         * buffer.C:
6428         * lyxcb.h:
6429         * lyxcb.C:
6430         * lyxserver.C:
6431         * lyxvc.C:
6432         * vc-backend.C:
6433         * BufferView2.C: purge all "Lyx" not "LyX" strings
6434
6435         * lyxcursor.h:
6436         * lyxcursor.C: attempt to add some documentation
6437
6438         * lyxfunc.C:
6439         * commandtags.h:
6440         * LyXAction.C:
6441         * ToolbarDefaults.C:
6442         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6443           merge with LFUN_TABULAR_INSERT
6444
6445         * Makefile.am:
6446         * SpellBase.h:
6447         * ispell.h:
6448         * ispell.C:
6449         * pspell.h:
6450         * pspell.C: split up i/pspell implementations into separate
6451           files, many cleanups
6452
6453         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6454
6455         * text2.C: some cleanup
6456
6457         * lyxfunc.C: don't check for isp_command == "none" any more, it
6458           didn't make any sense
6459
6460 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6461
6462         * counters.[Ch]
6463         * text2.C
6464         * paragraph.[Ch]
6465         * makefile.am: move counters functionality over
6466         from text2.C/paragraph.[Ch] to counters.[Ch], and
6467         make proper C++.
6468 2002-08-02  John Levon  <levon@movementarian.org>
6469
6470         * buffer.C: s/lyxconvert/lyx2lyx/
6471
6472 2002-08-02  Angus Leeming  <leeming@lyx.org>
6473
6474         * lyxlex.C: revert John's change as it breaks reading of the user
6475         preamble.
6476
6477 2002-08-02  Angus Leeming  <leeming@lyx.org>
6478
6479         * importer.C (Import):
6480         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6481         changes due to LyXView::view() now returning a boost::shared_ptr.
6482
6483 2002-08-02  John Levon  <levon@movementarian.org>
6484
6485         * lyxlex.C: small cleanup
6486
6487 2002-08-02  John Levon  <levon@movementarian.org>
6488
6489         * text2.C (status): small cleanup, no logic change
6490
6491 2002-08-01  John Levon  <levon@movementarian.org>
6492
6493         * buffer.h:
6494         * buffer.C (writeFile): don't output alerts, caller
6495           handles this
6496
6497         * bufferlist.C:
6498         * lyx_cb.C: from above
6499
6500         * lyxfunc.C: allow to open non-existent files
6501
6502 2002-07-31  John Levon  <levon@movementarian.org>
6503
6504         * lyxserver.C: don't let incidental errors get
6505           in the way (errno)
6506
6507 2002-07-30  John Levon  <levon@movementarian.org>
6508
6509         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6510
6511 2002-07-30  John Levon  <levon@movementarian.org>
6512
6513         * lyxserver.h:
6514         * lyxserver.C: remove I/O callback too
6515
6516 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6517
6518         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6519         log.
6520
6521 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6522
6523         * many files: strip,frontStrip -> trim,ltrim,rtrim
6524
6525 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6526
6527         * PrinterParams.h: remove extern containsOnly, and include
6528         support/lstrings.h instead.
6529
6530         * LaTeX.C (scanAuxFile): modify because of strip changes
6531         (deplog): ditto
6532         * buffer.C (makeLaTeXFile): ditto
6533         * bufferparams.C (writeFile): ditt
6534         * lyxfont.C (stateText): ditto
6535         * lyxserver.C (read_ready): ditto
6536         * vc-backend.C (scanMaster): ditto
6537
6538         * BufferView_pimpl.h: ws changes
6539
6540         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6541
6542 2002-07-26  André Pönitz <poenitz@gmx.net>
6543
6544         * kb_sequence.C: remove unnedred usings
6545
6546 2002-07-26  Juergen Vigna  <jug@sad.it>
6547
6548         * lyxfind.C (LyXReplace): we have to check better if the returned
6549         text is not of theLockingInset()->getLockingInset().
6550
6551 2002-07-25  Juergen Vigna  <jug@sad.it>
6552
6553         * lyxfind.C (LyXReplace): don't replace if we don't get the
6554         right LyXText.
6555
6556         * undo_funcs.C (createUndo): remove debugging code.
6557
6558 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6559
6560         * buffer.C (parseSingleLyXformat2Token): Use default placement
6561         when reading old floats.
6562
6563         * FloatList.C (FloatList): Change the default placement of figure
6564         and tables to "tbp".
6565
6566 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6567
6568         * MenuBackend.C: using std::max
6569
6570 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6571
6572         * MenuBackend.C (expandToc):
6573         (expandToc2): code moved from xforms menu frontend. It is now
6574         generic and TOCs are transparent to menu frontends.
6575
6576 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6577
6578         * toc.C (getTocList): protect against buf=0
6579
6580         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6581         Menu as first parameter. Now, this calls itself recursively to
6582         expand a whole tree (this will be useful for TOC handling)
6583         (expandFloatInsert): remove 'wide' version of floats
6584
6585         * MenuBackend.h (submenuname): returns the name of the submenu.
6586         (submenu): returns the submenu itself, provided it has been
6587         created by MenuBackend::expand
6588
6589 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6590
6591         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6592         insets which have noFontChange == true. (bug #172)
6593
6594 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6595
6596         * BufferView_pimpl.C: add connection objects and use them...
6597         (Pimpl): here.
6598
6599 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6600
6601         * MenuBackend.C (expandLastfiles):
6602         (expandDocuments):
6603         (expandFormats):
6604         (expandFloatListInsert):
6605         (expandFloatInsert):
6606         (expand): split expand in parts
6607
6608 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6609
6610         * lyx_gui.C: use lyx_gui::exit()
6611
6612 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6613
6614         * LyXAction.C: show the failing pseudo action
6615
6616 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6617
6618         * buffer.C (readFile): Run the lyxconvert script in order to read
6619         old files.
6620
6621 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6622
6623         * LyXAction.C:
6624         * commandtags.h:
6625         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6626
6627 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6628
6629         * LyXAction.C:
6630         * commandtags.h:
6631         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6632
6633 2002-07-22  Herbert Voss  <voss@lyx.org>
6634
6635         * lengthcommon.C:
6636         * lyxlength.[Ch]: add support for the vertical lengths
6637
6638 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6639
6640         * toc.[Ch]: std:: fixes
6641
6642 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6643
6644         * lyxrc.C: do not include lyx_main.h
6645
6646         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6647         for layouts
6648
6649         * lyxrc.C:
6650         * encoding.C:
6651         * bufferlist.C:
6652         * BufferView2.C: include "lyxlex.h"
6653
6654         * tabular.h:
6655         * bufferparams.h: do not #include "lyxlex.h"
6656
6657         * lyxtextclasslist.C (Add): remove method
6658         (classlist): renamed to classlist_
6659
6660         * paragraph_pimpl.C:
6661         * paragraph.C:
6662         * text2.C:
6663         * CutAndPaste.C:
6664         * bufferview_funcs.C:
6665         * bufferlist.C:
6666         * text.C:
6667         * LaTeXFeatures.C:
6668         * buffer.C:
6669         * toc.C (getTocList): use BufferParams::getLyXTextClass
6670
6671         * toc.C (getTocList): use InsetFloat::addToToc
6672
6673         * toc.[Ch]: new files, containing helper functions to handle table
6674         of contents
6675
6676         * lyxfunc.C (dispatch): no need to remove spaces around command
6677         given as a string
6678         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6679         first command of the sequence; it is not very clever, but I do not
6680         have a better idea, actually
6681
6682         * LyXAction.C (LookupFunc): make sure to remove space at the
6683         beginning and end of the command
6684
6685 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6686
6687         * MenuBackend.C (getMenubar): new method: return the menubar of
6688         this menu set
6689         (read): treat differently reading of menu and menubar (in
6690         particular, the menubar has no name now)
6691         (Menu::menubar): remove
6692
6693         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6694         saving is finished
6695
6696 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6697
6698         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6699         a bibitem inset in a RTL paragraph.
6700
6701 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6702
6703         * paragraph_pimpl.C: constify
6704
6705         * BufferView_pimpl.C:
6706         * LaTeX.C:
6707         * lyxfunc.C: fix dispatch in a nicer way
6708
6709 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6710
6711         * lyxfunc.C (dispatch):
6712         * BufferView_pimpl.C:
6713         * BufferView_pimpl.h:
6714         * BufferView.C:
6715         * BufferView.h: rename Dispatch() to dispatch()
6716
6717         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6718
6719         * lyxlayout.C (Read): honor DependsOn tag
6720
6721         * lyxlayout.[Ch] (depends_on): new method
6722
6723         * version.C.in: update lyx_docversion
6724
6725         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6726
6727         * paragraph.C (validate): remove from here...
6728         * paragraph_pimpl.C (validate): ... and move here
6729         (isTextAt): make it const
6730
6731         * buffer.C (getLists): ws cleanup
6732
6733 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6734
6735         * language.C (read): Use iso8859-1 encoding in latex_lang
6736         (this prevents LyX from crashing when using iso10646-1 encoding).
6737
6738 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6739
6740         * text2.C (toggleInset): if cursor is inside an inset, close the
6741         inset and leave cursor _after_ it
6742
6743 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6744
6745         * lyxfunc.C: move minibuffer completion handling out of here
6746
6747 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6748
6749         * BufferView_pimpl.C:
6750         * LaTeX.C: fix dispatch calls
6751
6752 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6753
6754         * text.C (drawChars): Fix Arabic text rendering.
6755
6756 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6757
6758         * LyXAction.C:
6759         * commandtags.h:
6760         * lyxfunc.C: remove message-push/pop
6761
6762         * lyxserver.C:
6763         * lyxfunc.h:
6764         * lyxfunc.C: rationalise some code by removing verboseDispatch
6765           in favour of a bool argument to dispatch()
6766
6767 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6768
6769         * lyx_main.C (init): make sure to read symlinks as absolute paths
6770
6771 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6772
6773         * lyxfunc.h:
6774         * lyxfunc.C: no need for commandshortcut to be a member
6775
6776 2002-07-15  André Pönitz <poenitz@gmx.net>
6777
6778         * converter.C: add support for $$s (scripts from lib/scripts dir)
6779         * lyx_main.C: white space
6780
6781 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6782
6783         * bufferlist.C:
6784         * lyxrc.h:
6785         * lyxrc.C: remove second exit confirmation
6786
6787 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6788
6789         * BufferView.h:
6790         * BufferView.C:
6791         * BufferView2.C:
6792         * BufferView_pimpl.h:
6793         * BufferView_pimpl.C:
6794         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6795
6796 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6797
6798         * MenuBackend.C (expand): add numeric shortcuts to document menu
6799
6800         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6801
6802 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6803
6804         * lyxfont.C (setLyXFamily):
6805         (setLyXSeries):
6806         (setLyXShape):
6807         (setLyXSize):
6808         (setLyXMisc):
6809         (lyxRead):
6810         * debug.C (value):
6811         * buffer.C (asciiParagraph): use ascii_lowercase
6812
6813 2002-07-15  Mike Fabian  <mfabian@suse.de>
6814
6815         * lyxlex_pimpl.C (search_kw):
6816         * lyxlex.C (getLongString):
6817         * converter.h (operator<):
6818         * converter.C (operator<):
6819         * buffer.C (parseSingleLyXformat2Token):
6820         (asciiParagraph):
6821         * ToolbarDefaults.C (read):
6822         * MenuBackend.C (checkShortcuts):
6823         (read):
6824         * LColor.C (getFromGUIName):
6825         (getFromLyXName): use the compare_ascii_no_case instead of
6826         compare_no_case, because in turkish, 'i' is not the lowercase
6827         version of 'I', and thus turkish locale breaks parsing of tags.
6828
6829 2002-07-16  Angus Leeming  <leeming@lyx.org>
6830
6831         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6832         now takes a Buffer const & argument.
6833
6834 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6835
6836         * BufferView.C (resize): check there's a buffer to resize
6837
6838 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6839
6840         * lyxfunc.C: remove dead code
6841
6842         * lyxserver.h:
6843         * lyxserver.C: use lyx_guii::set_read_callback
6844
6845 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6846
6847         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6848         an inset in a RTL paragraph.
6849
6850 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6851
6852         * lyxfunc.C: repaint after a font size update
6853
6854 2002-07-15  André Pönitz <poenitz@gmx.net>
6855
6856         * lyxlength.C: inBP should be able to return negative values
6857
6858 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6859
6860         * lyxfunc.C: use lyx_gui::update_fonts()
6861
6862 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6863
6864         * lyxfunc.C: use lyx_gui::update_color()
6865
6866 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6867
6868         * bufferlist.C:
6869         * lyxfunc.h:
6870         * lyxfunc.C:
6871         * lyxrc.h:
6872         * lyxrc.C: remove file->new asks for name option, and let
6873           buffer-new take an argument
6874
6875 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6876
6877         * BufferView_pimpl.C: remove unneeded extra repaint()
6878
6879 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6880
6881         * LyXAction.C: allow command-sequence with NoBuffer
6882
6883         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6884
6885 2002-07-10  Angus Leeming  <leeming@lyx.org>
6886
6887         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6888
6889 2002-07-09  Angus Leeming  <leeming@lyx.org>
6890
6891         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6892
6893 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6894
6895         * lengthcommon.h: whitespace
6896
6897         * lyxfunc.C: update scrollbar after goto paragraph
6898
6899         * lyxtext.h: factor out page break drawing, and fix it so
6900           page break/added space paints as selected nicely
6901
6902 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6903
6904         * BufferView_pimpl.C: add FIXMEs, clean up a little
6905
6906 2002-07-09  André Pönitz <poenitz@gmx.net>
6907
6908         * lyxfont.[Ch]: support for wasy symbols
6909
6910 2002-07-08  André Pönitz <poenitz@gmx.net>
6911
6912         * BufferView_pimpl.C: apply John's patch for #93.
6913
6914 2002-07-05  Angus Leeming  <leeming@lyx.org>
6915
6916         * BufferView_pimpl.C (buffer): generate previews if desired.
6917
6918         * LColor.h: add "preview" to the color enum.
6919
6920         * LColor.C (LColor): add a corresponding entry to the items array.
6921
6922         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6923         with this buffer.
6924
6925 2002-07-05  Angus Leeming  <leeming@lyx.org>
6926
6927         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6928         The body of the code is now in the method that is passed an ostream &
6929         rather than a file name.
6930         Pass an additional only_preamble parameter, useful for the forthcoming
6931         preview stuff.
6932
6933 2002-07-03  André Pönitz <poenitz@gmx.net>
6934
6935         * lyxfunc.C: simplify getStatus() a bit for math stuff
6936
6937 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6938
6939         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6940
6941 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6942
6943         * text.C (changeRegionCase): do not change case of all the
6944         document when region ends at paragraph end (bug #461)
6945
6946 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6947
6948         * paragraph.C (startTeXParParams):
6949         (endTeXParParams): add \protect when necessary
6950
6951 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6952
6953         * BufferView_pimpl.C (workAreaExpose): remove warning
6954
6955 2002-06-27  Angus Leeming  <leeming@lyx.org>
6956
6957         * Makefile.am: add lyxlayout_ptr_fwd.h.
6958
6959 2002-06-26  André Pönitz <poenitz@gmx.net>
6960
6961         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6962
6963 2002-06-25  Angus Leeming  <leeming@lyx.org>
6964
6965         * lyxfunc.C (dispatch): Comment out the call to
6966         grfx::GCache::changeDisplay. The method no longer exists now that the
6967         pixmap generation part of the graphics loader has been moved into
6968         InsetGraphics.
6969
6970 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6971
6972         * text2.C: layout as layout
6973
6974         * text.C: layout as layout
6975
6976         * tabular.C (OldFormatRead): layout as layout
6977
6978         * paragraph_pimpl.C (TeXDeeper): layout as layout
6979         (realizeFont): layout as layout
6980
6981         * paragraph.C (writeFile): layout as layout
6982         (validate): layout as layout
6983         (getFont): layout as layout
6984         (getLabelFont): layout as layout
6985         (getLayoutFont): layout as layout
6986         (breakParagraph): layout as layout
6987         (stripLeadingSpaces): layout as layout
6988         (getEndLabel): layout as layout
6989         (getMaxDepthAfter): layout as layout
6990         (applyLayout): layout as layout
6991         (TeXOnePar): layout as layout
6992         (simpleTeXOnePar): layout as layout
6993         (TeXEnvironment): layout as layout
6994         (layout): layout as layout
6995         (layout): layout as layout
6996
6997         * lyxtextclass.C (compare_name): new functor to work with
6998         shared_ptr, layout as layout
6999         (Read): layout as layout
7000         (hasLayout): layout as layout
7001         (operator): layout as layout
7002         (delete_layout): layout as layout
7003         (defaultLayout): layout as layout
7004
7005         * lyxlayout_ptr_fwd.h: new file
7006
7007         * lyxlayout.C (Read): layout as layout
7008
7009         * lyx_cb.C (MenuInsertLabel): layout as layout
7010
7011         * bufferlist.C (newFile): layout as layout
7012
7013         * buffer.C (readLyXformat2): layout as layout
7014         (parseSingleLyXformat2Token): layout as layout
7015         (insertStringAsLines): layout as layout
7016         (asciiParagraph): layout as layout
7017         (latexParagraphs): layout as layout
7018         (makeLinuxDocFile): layout as layout
7019         (simpleLinuxDocOnePar): layout as layout
7020         (makeDocBookFile): layout as layout
7021         (simpleDocBookOnePar): layout as layout
7022         (getLists): layout as layout
7023
7024         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7025
7026         * CutAndPaste.C (cutSelection): layout as layout
7027         (pasteSelection): layout as layout
7028         (SwitchLayoutsBetweenClasses): layout as layout
7029
7030         * BufferView_pimpl.C (Dispatch): layout as layout
7031         (smartQuote): layout as layout
7032
7033         * BufferView2.C (unlockInset): layout as layout
7034
7035 2002-06-24  André Pönitz <poenitz@gmx.net>
7036
7037         * lyxfunc.C: fix #487
7038
7039 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7040
7041         * lyxrc.h:
7042         * lyxrc.C:
7043         * lyxfunc.C: remove display_shortcuts, show_banner
7044
7045 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7046
7047         * Buffer_pimpl.C: oops, update on resize
7048
7049 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7050
7051         * buffer.C:
7052         * converter.C:
7053         * exporter.C:
7054         * lyxfunc.C:
7055         * BufferView.h:
7056         * BufferView.C: use repaint()
7057
7058         * BufferView_pimpl.h:
7059         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7060           as it's a clearer description. Remove superfluous
7061           redraws.
7062
7063 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7064
7065         * text.C: fix bug 488. Not ideal, but getting
7066           getWord() to work properly for the insets that
7067           matter is more difficult ...
7068
7069 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7070
7071         * BufferView_pimpl.C:
7072         * LyXAction.C:
7073         * commandtags.h:
7074         * lyxfunc.C: remove the six million index lyxfuncs to just
7075           one, and DTRT (bug 458)
7076
7077 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7078
7079         * BufferView.h:
7080         * BufferView.C:
7081         * BufferView_pimpl.h:
7082         * BufferView_pimpl.C: clean up resize() stuff,
7083           and unnecessary updateScreen()s
7084
7085 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7086
7087         * BufferView.h:
7088         * BufferView.C:
7089         * BufferView_pimpl.h:
7090         * BufferView_pimpl.C:
7091         * lyxfind.h:
7092         * lyxfind.C:
7093         * minibuffer.C: remove focus management of workarea,
7094           not needed. Use screen's greyOut()
7095
7096 2002-06-17  Herbert Voss  <voss@lyx.org>
7097
7098         * converter.C: (convert) do not post a message, when converting
7099         fails, let the calling function decide what to do in this case
7100
7101 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7102
7103         * lyxfunc.C: tidy up a little
7104
7105 2002-06-16    <alstrup@diku.dk>
7106
7107         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7108         Got rid of FORMS_H_LOCATION include. Now we are
7109         GUII.
7110
7111 2002-06-15  LyX Development team  <lyx@rilke>
7112
7113         * buffer.[Ch] (sgmlOpenTag):
7114         (sgmlCloseTag): Added support for avoiding pernicious mixed
7115         content. Return number of lines written.
7116
7117         (makeLinuxDocFile):
7118         (makeDocBookFile): Fixed calls to sgml*Tag.
7119         Simple white space clean.
7120
7121         (simpleDocBookOnePar): Simple white space clean.
7122
7123         * tabular.[Ch] (docBook): Renamed to docbook and got another
7124         argument to related with the pernicious mixed content.
7125
7126         (docbookRow): Fixed calls for docbook inset method.
7127
7128 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7129
7130         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7131         so it's X11 independent.
7132
7133         * kb*.[Ch]: ditto.
7134
7135         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7136
7137 2002-06-15  Lyx Development team  <lyx@electronia>
7138
7139         * intl.h: Renamed getTrans to getTransManager.
7140
7141 2002-06-14  Angus Leeming  <leeming@lyx.org>
7142
7143         * Makefile.am: nuke forgotten stl_string_fwd.h.
7144
7145 2002-06-12  Angus Leeming  <leeming@lyx.org>
7146
7147         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7148
7149 2002-06-13  Angus Leeming  <leeming@lyx.org>
7150
7151         * LaTeX.C:
7152         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7153
7154 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7155
7156         * kbmap.C (getiso): add support for cyrillic and greek
7157
7158 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7159
7160         * BufferView.h:
7161         * BufferView.C:
7162         * BufferView_pimpl.h:
7163         * BufferView_pimpl.C: move bogus scrolling logic
7164           to xforms
7165
7166 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7167
7168         * lyxfunc.C:
7169         * BufferView_pimpl.C: view->resize() change
7170
7171 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7172
7173         * BufferView_pimpl.C: topCursorVisible
7174           prototype change
7175
7176 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7177
7178         * Makefile.am:
7179         * lyx_gui.h:
7180         * lyx_gui.C: move to frontends/
7181
7182         * main.C:
7183         * lyx_main.h:
7184         * lyx_main.C: changes from above
7185
7186 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7187
7188         * intl.C:
7189         * intl.h:
7190         * kbmap.C:
7191         * kbsequence.C:
7192         * lyx_cb.C:
7193         * lyx_main.C: minor tidy
7194
7195 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7196
7197         * BufferView_pimpl.h:
7198         * BufferView_pimpl.C:
7199         * BufferView.h:
7200         * BufferView.C: make painter() const,
7201           remove dead code
7202
7203         * BufferView2.C: use screen() accessor
7204
7205         * lyx_main.h:
7206         * lyx_main.C: some minor cleanup
7207
7208 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7209
7210         * BufferView_pimpl.h:
7211         * BufferView_pimpl.C: remove enter/leaveView,
7212           use workHeight()
7213
7214 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7215
7216         * BufferView.h:
7217         * BufferView.C:
7218         * BufferView2.C:
7219         * BufferView_pimpl.h:
7220         * BufferView_pimpl.C: only construct screen once,
7221           rename
7222
7223         * lyxrc.C: remove pointless comment
7224
7225 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7226
7227         * BufferView.h:
7228         * BufferView.C: remove active() and belowMouse()
7229
7230         * BufferView_pimpl.h:
7231         * BufferView_pimpl.C: use workarea() not workarea_,
7232           and make it use a scoped_ptr instead
7233
7234 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7235
7236         * lyx_gui.C: add debug message on BadWindow
7237
7238 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7239
7240         * sp_spell.C: fdopen is not part of the C++ standard.
7241
7242         * paragraph.C (InsetIterator): use >= instead of ==
7243
7244 2002-06-07  Angus Leeming  <leeming@lyx.org>
7245
7246         Fixes needed to compile with Compaq cxx 6.5.
7247         * BufferView_pimpl.C:
7248         * DepTable.C:
7249         * buffer.C:
7250         * converter.C:
7251         * encoding.C:
7252         * lyx_gui.C:
7253         * lyx_main.C:
7254         * lyxtextclasslist.C:
7255         * minibuffer.C:
7256         * sp_spell.C:
7257         * tabular_funcs.C:
7258         * vc-backend.C:
7259         all c-library variables have been moved into namespace std. Wrap
7260         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7261
7262         * lyxlength.C:
7263         * tabular-old.C:
7264         * tabular.C:
7265         Add a using std::abs declaration.
7266
7267         * kbmap.h (modifier_pair):
7268         * paragraph.h (InsetTable, InsetList):
7269         * lyxfont.h (FontBits):
7270         type definition made public.
7271
7272         * bufferlist.C (emergencyWriteAll): the compiler complains that
7273         there is more than one possible lyx::class_fun template to choose from.
7274         I re-named the void specialisation as lyx::void_class_fun.
7275
7276         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7277
7278         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7279         the compiler is is unable to find tostr in write_attribute.
7280
7281 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7282
7283         * buffer.C (sgmlError): hide #warning
7284
7285 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7286
7287         * xtl/*: get rid of xtl, which is not in use anyway
7288
7289         * LyXAction.C (init):
7290         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7291         were unimplemented xtl experimentation
7292
7293 2002-06-04  André Pönitz <poenitz@gmx.net>
7294
7295         * lyxfunc.C: disable array operation on simple formulae
7296
7297 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7298
7299         * converter.C: constify a bit
7300
7301 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7302
7303         * lyx_gui.C: check xforms version correctly
7304
7305 2002-04-30  Herbert Voss  <voss@lyx.org>
7306
7307         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7308         "keep" option
7309
7310 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7311
7312         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7313           attempt to register it with a VCS)
7314
7315 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7316
7317         * lyx_main.C (init): honor variables LYX_DIR_13x and
7318         LYX_USERDIR_13x
7319
7320 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7321
7322         * buffer.h:
7323         * buffer.C:
7324         * lyx_main.C: fix a crash on bad command line,
7325           and give a useful exit status on error
7326
7327         * lyxfunc.C (doImport): allow -i lyx to work
7328
7329 2002-03-30  André Pönitz <poenitz@gmx.net>
7330
7331         * lyxfunc.C: mathed font changes
7332
7333 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7334
7335         * LaTeX.C:
7336         * importer.h:
7337         * importer.C:
7338         * lyx_sty.h:
7339         * lyx_sty.C:
7340         * lyxlex.C:
7341         * lyxrow.h:
7342         * lyxtext.h:
7343         * paragraph.h:
7344         * paragraph.C:
7345         * texrow.h:
7346         * texrow.C:
7347         * text.C:
7348         * trans_mgr.h: srcdocs, and some minor cleanups
7349
7350 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7351
7352         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7353         call getFont all the time)
7354
7355 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7356
7357         * switch from SigC signals to boost::signals
7358
7359 2002-05-29  André Pönitz <poenitz@gmx.net>
7360
7361         * paragraph_pimpl.C (getChar): don't call size() too often...
7362
7363 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7364
7365         * paragraph_pimpl.C (insertChar): do not try to update tables when
7366         appending (pos == size())
7367
7368         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7369         in order to reduce drastically the number of comparisons needed to
7370         parse a large document
7371
7372 2002-05-29  André Pönitz <poenitz@gmx.net>
7373
7374         * text.C:
7375         * text2.C:
7376         * lyxtextclass.C:
7377         * sp_pspell.h:
7378         * textclasslist.[Ch]:
7379         * sp_ispell.h: whitespace change
7380
7381 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7382
7383         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7384         lyxaction directly now.
7385
7386 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7387
7388         * trans.C:
7389         * lyxfont.C:
7390         * lyxvc.C: remove unused headers
7391
7392 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7393
7394         * Makefile.am:
7395         * buffer.h:
7396         * undostack.h:
7397         * undostack.C:
7398         * undo_funcs.h:
7399         * undo_funcs.C: some cleanups. Use shared_ptr
7400           and a template for the undo stacks.
7401
7402 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7403
7404         * BufferView_pimpl.h:
7405         * BufferView_pimpl.C:
7406         * kbmap.h:
7407         * kbmap.C:
7408         * kbsequence.h:
7409         * kbsequence.C:
7410         * lyxfunc.h:
7411         * lyxfunc.C:
7412         * text2.C: use key_state/mouse_state
7413
7414 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7415
7416         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7417         and LSubstring
7418
7419         * chset.C: change include order
7420         (loadFile): use boost regex and get rid of LRegex and LSubstring
7421
7422         * Makefile.am (BOOST_LIBS): new variable
7423         (lyx_LDADD): use it
7424
7425         * LaTeX.C: change include order.
7426         (scanAuxFile): use boost regex and get rid of LRegex and
7427         LSubstring
7428         (deplog): ditto
7429
7430 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7431
7432         * ColorHandler.h:
7433         * ColorHandler.C:
7434         * FontInfo.h:
7435         * FontInfo.C: moved to frontends/xforms/
7436
7437         * FontLoader.h:
7438         * FontLoader.C: moved into frontends for GUIIzation
7439
7440         * Makefile.am:
7441         * lyx_gui.C:
7442         * lyxfont.C:
7443         * lyxfunc.C: changes from above
7444
7445 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7446
7447         * LColor.C: remove spurious X include
7448
7449         * BufferView_pimpl.C:
7450         * Makefile.am:
7451         * font.h:
7452         * font.C:
7453         * text.C:
7454         * text2.C: move font metrics to frontends/
7455
7456 2002-05-24  Juergen Vigna  <jug@sad.it>
7457
7458         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7459         setting the undo_cursor.
7460
7461         * ParagraphParameters.h: include local includes first.
7462
7463 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7464
7465         * BufferView_pimpl.C:
7466         * BufferView_pimpl.h:
7467         * Makefile.am:
7468         * WorkArea.h:
7469         * WorkArea.C:
7470         * screen.C: move WorkArea into frontends/
7471
7472         * lyxscreen.h:
7473         * screen.C:
7474         * text.C:
7475         * BufferView.C:
7476         * BufferView2.C: move LyXScreen into frontends/
7477
7478         * lyxlookup.h:
7479         * lyxlookup.C:
7480         * lyx_gui.C: move lyxlookup into frontends/xforms/
7481
7482 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7483
7484         * BufferView2.C:
7485         * BufferView_pimpl.C:
7486         * FontLoader.C:
7487         * LyXView.h:
7488         * LyXView.C:
7489         * Makefile.am:
7490         * WorkArea.C:
7491         * XFormsView.h:
7492         * XFormsView.C:
7493         * buffer.C:
7494         * bufferlist.C:
7495         * bufferview_funcs.C:
7496         * converter.C:
7497         * importer.C:
7498         * lyx_cb.C:
7499         * lyx_gui.C:
7500         * lyx_main.C:
7501         * lyx_find.C:
7502         * lyxfunc.C:
7503         * lyxvc.C:
7504         * minibuffer.C:
7505         * text.C:
7506         * text2.C:
7507         * trans.C:
7508         * vc-backend.C: move LyX/XFormsView into frontends/
7509
7510 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7511
7512         * Makefile.am:
7513         * PainterBase.C:
7514         * PainterBase.h:
7515         * Painter.C:
7516         * Painter.h:
7517         * WorkArea.C:
7518         * WorkArea.h:
7519         * screen.C:
7520         * tabular.C:
7521         * text.C:
7522         * text2.C: move Painter to frontends/
7523
7524 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7525
7526         * buffer.C: comment out some some code that depend upon lyx_format
7527         < 220
7528
7529         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7530         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7531
7532         * buffer.h (NO_COMPABILITY): turn off compability
7533
7534         * ColorHandler.C: include scoped_array.hpp
7535
7536         * font.C: Use more specific smart_ptr header.
7537         * Painter.C: ditto
7538         * gettext.C: ditto
7539         * ShareContainer.h: ditto
7540         * lyx_main.h: ditto
7541         * kbmap.h: ditto
7542         * FontInfo.h: ditto
7543         * BufferView_pimpl.h: ditto
7544         * ColorHandler.h: ditto
7545
7546         * kbmap.C (defkey): change call to shared_ptr::reset
7547
7548 2002-05-21  Juergen Vigna  <jug@sad.it>
7549
7550         * buffer.C (insertErtContents): fix to insert ert asis if it is
7551         non empty. Skip it completely if it contains only whitespaces.
7552
7553 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7554
7555         * BufferView_pimpl.C:
7556         * BufferView2.C: clear selection on paste (bug 393)
7557
7558 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7559
7560         * DepTable.C: include ctime
7561
7562 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7563
7564         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7565
7566 2002-05-14  Juergen Vigna  <jug@sad.it>
7567
7568         * text.C (breakParagraph): fixed function to honor the keepempty
7569         layout in the right maner and also to permit the right breaking
7570         algorithm on empty or non empyt keepempty paragraphs.
7571
7572         * paragraph.C (breakParagraph): we have to check also if the par
7573         is really empty (!size()) for isempty otherwise we do the wrong
7574         paragraph break.
7575
7576 2002-05-10  Juergen Vigna  <jug@sad.it>
7577
7578         * buffer.[Ch] : The following are only changes to the ert
7579         compatibility read reading old LaTeX layout and font stuff and
7580         convert it to ERTInsets.
7581
7582         * buffer.h: added isErtInset().
7583
7584         * buffer.C (struct ErtComp): add a fromlayout bool to check
7585         if we're inside a LaTeX layout.
7586         (isErtInset): new helper function.
7587         (insertErtContents): look for other ert insets before this one
7588         and insert the contents there, so that we don't have subsequent
7589         ERT insets with nothing between them. This way we create only one
7590         inset with multiple paragraphs. Also check if we don't insert only
7591         spaces ' ' as they are ignored anyway afterwards in the .tex file
7592         so if we have only spaces we will ignore this latex part in the
7593         new file.
7594         (parseSingleLyXformat2Token \\layout): better compatibility when
7595         reading layout-latex stuff.
7596         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7597         language tag.
7598         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7599         stuff after reading the inset only get the information back from
7600         the stack.
7601
7602 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7603
7604         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7605
7606         * LaTeXFeatures.C (getBabelOptions): New method.
7607
7608 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7609
7610         * BufferView_pimpl.C (Dispatch): work around missing argument for
7611         'layout'
7612
7613 2002-05-08  Juergen Vigna  <jug@sad.it>
7614
7615         * text.C (leftMargin): handle paragraph leftindent.
7616
7617         * paragraph.C (writeFile): write the new \\leftindent tag.
7618         (validate): handle leftindent code.
7619         (TeXEnvironment): handle paragraphleftindent code again.
7620
7621         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7622
7623         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7624         for paragrap_extra indent code and new token \\leftindent.
7625         (latexParagraphs): handle the leftindent as environment.
7626
7627         * ParameterStruct.h: added leftindent support.
7628
7629         * ParagraphParameters.C (leftIndent): added support functions for
7630         the paragraph left indent.
7631
7632         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7633         more appropriate.
7634
7635 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7636
7637         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7638         inside insetERT.
7639
7640         * text.C (computeBidiTables): No bidi in insetERT.
7641
7642         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7643         in RTL documents.
7644
7645 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7646
7647         * version.C.in: pre 5
7648
7649 2002-05-02  José Matos  <jamatos@fep.up.pt>
7650         * buffer.C (makeDocBookFile): white space changes, add newline to
7651         command styles.
7652         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7653
7654         * tabular.C (docBook): fix typo.
7655
7656 2002-05-03  Juergen Vigna  <jug@sad.it>
7657
7658         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7659         change in LyXText as we can not be sure it was not freed.
7660         (drawOneRow): remove unused code.
7661
7662         * text.C (drawInset): redo the calculation of the need_break_row as
7663         it could have a row which was already freed.
7664         (draw): look at the return value of drawInset and return false if
7665         it also returned false.
7666         (paintRowText): look at the return value of draw and return false if
7667         it also returned false.
7668
7669         * lyxtext.h: added bool return type to drawInset() and draw() so that
7670         if we have a change in the row so that the rowbreak has to be redone
7671         we abort drawing as it will be called again.
7672
7673 2002-05-02  Juergen Vigna  <jug@sad.it>
7674
7675         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7676         a change in the maintext also if we're inside an inset.
7677         (Dispatch): set the cursor again after a break line and after the
7678         screen has been updated as it could be we're in a different row.
7679
7680         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7681         to set the cursor behind the pargraph with > size().
7682         (setCursor): check also for the same paragraph when checking where
7683         to put the cursor if we have a NFR inset.
7684
7685         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7686         parts of layout read further up as it still was in the wrong
7687         position.
7688
7689 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7690
7691         * screen.C (drawFromTo): change sine fullRebreak always return
7692         true.
7693
7694         * buffer.C (parseSingleLyXformat2Token): reindent some
7695
7696         * BufferView_pimpl.C (update): change since fullRebreak always
7697         return true.
7698         (Dispatch): git rid of the last hardcoded "Standard"s.
7699
7700 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7701
7702         * text2.[Ch] (fullRebreak): make it return void now that we always
7703         returned true.
7704
7705 2002-04-30  Juergen Vigna  <jug@sad.it>
7706
7707         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7708         ert compatibility check for "latex" layout.
7709
7710 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7711
7712         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7713         minipages: use col% instead of p%, and also use the current font.
7714         (makeLaTeXFile): Fix use babel condition.
7715         (parseSingleLyXformat2Token): Correct font when reading old floats.
7716
7717 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7718
7719         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7720         inserting list of floats.
7721
7722 2002-04-25  Herbert Voss  <voss@lyx.org>
7723
7724         * MenuBackend.C (expand): don't add the graphics extensions to the
7725         export menu
7726
7727 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7728
7729         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7730         non-existing layout, do not complain if it was the default layout
7731         of the original class (bug #342)
7732
7733 2002-04-24  Juergen Vigna  <jug@sad.it>
7734
7735         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7736         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7737
7738 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7739
7740         * buffer.C (getBibkeyList): If using \bibliography, return the
7741         option field with the reference itself. Enables us to provide natbib
7742         support when using \bibliography.
7743
7744 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7745
7746         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7747
7748         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7749         natbib is provided by the LaTeX class.
7750
7751 2002-04-23  Juergen Vigna  <jug@sad.it>
7752
7753         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7754         Wakeup functions.
7755
7756         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7757
7758 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7759
7760         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7761
7762         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7763         ensuremath around textordmasculine, textordfeminine and
7764         textdegree.
7765
7766 2002-04-19  Juergen Vigna  <jug@sad.it>
7767
7768         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7769         reinitializing the buffer otherwise row-dimensions may be wrong.
7770         (update): reset also the selection cursors if they do exits otherwise
7771         their x/y positions may be wrong.
7772
7773         * text2.C (cursorDown): don't enter the inset if we came from a row
7774         above and are one row over the inset.
7775
7776         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7777         really leaving an inset.
7778
7779 2002-04-18  Juergen Vigna  <jug@sad.it>
7780
7781         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7782         of the selected paragraph does not have the selected layout also if
7783         the last one had!
7784
7785         * text2.C (setLayout): fixed bug which did not change last selected
7786         paragraph.
7787
7788         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7789         changed the read and substituted \\end_float with \\end_inset!
7790
7791         * BufferView_pimpl.C (cursorPrevious):
7792         (cursorNext): fixed to make it work with rows heigher than the work
7793         area without moving the cursor only the draw of the row.
7794         (workAreaMotionNotify): fix jumping over high rows.
7795
7796 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7797
7798         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7799         Ressler.
7800
7801 2002-04-16  Juergen Vigna  <jug@sad.it>
7802
7803         * text2.C (setCursor): set also the irow().
7804         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7805         (cursorUp):
7806         (cursorDown): support for locking an inset if the x_fix value goes
7807         inside it. That way I can transverse insets too with cursor up/down.
7808
7809         * lyxrow.h: added irow helper function same as other (i) functions.
7810
7811         * BufferView_pimpl.C (cursorPrevious):
7812         (cursorNext): fixed for insets!
7813
7814 2002-04-15  Juergen Vigna  <jug@sad.it>
7815
7816         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7817         position otherwise it is wrong in some cases.
7818
7819         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7820         inside the inset before the call.
7821
7822 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7823
7824         * buffer.[Ch] (getBibkeyList): make it const.
7825
7826 2002-04-12  Juergen Vigna  <jug@sad.it>
7827
7828         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7829
7830         * text2.C (getCursorX): new helper function
7831         (setCursor): compute also ix_
7832         (setCursorFromCoordinates): set also ix.
7833
7834         * lyxcursor.h: added ix_ and helper functions.
7835
7836         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7837
7838         * buffer.C (insertStringAsLines): dont break paragraph if the this
7839         paragraph is inside an inset which does not permit it!
7840
7841         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7842         also with no chars on this paragraph.
7843         (paintRowText): only paint stuff if it's inside the workarea!
7844
7845         * paragraph.C (breakParagraph): honor keepempty flag and break the
7846         paragraph always below not above.
7847
7848         * BufferView2.C (unlockInset): update the paragraph layout on inset
7849         unlock as we changed paragraph in such a case.
7850
7851         * lyxfind.C (LyXFind): clear the former selection if not found!
7852
7853         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7854         again called in insertChar().
7855
7856         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7857         an inset which uses the whole row!
7858         (rightMargin): ditto.
7859         (insertChar): force a rebreak if we inserted an inset!
7860
7861 2002-03-28  Herbert Voss  <voss@lyx.org>
7862
7863         * lyxlength.[Ch]: add inBP() to get the right PS-point
7864         units (BigPoint). With inPixels we have rounding errors
7865
7866 2002-04-11  Juergen Vigna  <jug@sad.it>
7867
7868         * text2.C (setCursorFromCoordinates): set iy to the right value.
7869         (setCursor): add check if row->previous exists!
7870
7871         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7872         an old float_type as this was the case in the old code!
7873
7874         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7875
7876         * BufferView2.C (showLockedInsetCursor): use iy
7877         (fitLockedInsetCursor): ditto
7878
7879         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7880         locked insets as there we have the right value now.
7881
7882         * lyxcursor.C: added iy_ variable and iy functions to set to the
7883         baseline of cursor-y of the locked inset.
7884
7885         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7886         (setCursor): fixed for insets which need a full row.
7887
7888         * text.C (rowLastPrintable): don't ignore the last space when before
7889         an inset which needs a full row.
7890         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7891         as last character of a row when before a inset which needs a full row.
7892
7893 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7894
7895         * version.C.in: update date
7896
7897         * text2.C (fullRebreak): try to always return true and see what
7898         happens...
7899
7900 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7901
7902         * MenuBackend.C (expand): use Floating::listName
7903
7904         * FloatList.C (FloatList): add listName argument to the built-in
7905         floats
7906
7907         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7908         text associated with the float.
7909
7910 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7911
7912         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7913
7914 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7915
7916         * ShareContainer.h: add a couple of missing typenames.
7917
7918 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7919
7920         * lyxrc.C (getDescription): use _() correctly rather than N_().
7921
7922 2002-03-28  Herbert Voss  <voss@lyx.org>
7923
7924         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7925         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7926
7927 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7928
7929         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7930         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7931
7932 2002-03-29  Juergen Vigna  <jug@sad.it>
7933
7934         * lyxfunc.C (dispatch): add a missing fitCursor call.
7935
7936         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7937         it was scrolled by a cursor move, so return the bool status.
7938
7939         * BufferView.C (fitCursor): return the bool flag also to the outside
7940         world as this is needed.
7941
7942         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7943
7944         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7945         call the edit() as it is not needed (and wrong) IMO.
7946         (workAreaButtonPress): set the screen_first variable before evt.
7947         unlock the inset as this may change screen_first and then we have
7948         a wrong y position for the click!
7949
7950 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7951
7952         * MenuBackend.C (expand): another translation that I missed
7953
7954 2002-03-28  Juergen Vigna  <jug@sad.it>
7955
7956         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7957
7958         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7959
7960 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7961
7962         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7963
7964         * MenuBackend.C (expand): fix export/view/update when there is no
7965         document open.
7966
7967 2002-03-27  Herbert Voss  <voss@lyx.org>
7968
7969         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7970         and text%
7971
7972 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7973
7974         * bufferview_funcs.C (currentState): only show paragraph number
7975         for is DEVEL_VERSION is set.
7976
7977         * lyxfunc.C (dispatch): put warning in INFO channel
7978
7979         * MenuBackend.C (expand): translate the name of floats
7980
7981         * FloatList.C (FloatList): mark the float names for translation
7982
7983         * converter.C (convert): use LibScriptSearch
7984
7985 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7986
7987         * MenuBackend.C (defaults): fix default menu (we might as well get
7988         rid of it...)
7989
7990 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7991
7992         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7993         directory.
7994
7995 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7996
7997         * lyxvc.C: reorder includes.
7998
7999 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8000
8001         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8002           properly
8003
8004 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8005
8006         * CutAndPaste.C: change layouts earlier on paste
8007           to avoid crashing when calling getFont()
8008
8009 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8010
8011         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8012         irritating #error.
8013
8014 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8015
8016         * WorkArea.C: remove 'Pending' debug message.
8017
8018         * most files: ws cleanup
8019
8020         * buffer.[Ch]: ws changes
8021
8022         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8023
8024 2002-03-21  Juergen Vigna  <jug@sad.it>
8025
8026         * tabular.C (SetMultiColumn): collapse also the contents of the
8027         cells and set the last border right. Added a Buffer const * param.
8028
8029 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8030
8031         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8032         linking or not.
8033
8034 2002-03-19  Juergen Vigna  <jug@sad.it>
8035
8036         * text2.C (clearSelection): reset also xsel_cache.
8037
8038         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8039         where it needs to be called (John tells us to do so too :)
8040         (selectionLost): reset sel_cache.
8041
8042         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8043
8044 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8045
8046         * text2.C (setCursorIntern): put debuging code in INSETS channel
8047
8048 2002-03-19  André Pönitz <poenitz@gmx.net>
8049
8050         * lyxfunc.C: tiny whitespace change
8051
8052 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8053
8054         * ToolbarDefaults.C (init):
8055         * LyXAction.C (init):
8056         * commandtags.h:
8057         * BufferView_pimpl.C (Dispatch):
8058         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8059
8060 2002-03-19  Allan Rae  <rae@lyx.org>
8061
8062         * exporter.C (Export): removeAutoInsets before doing anything else.
8063         While I've just introduced a dependency on BufferView this really is
8064         the best place to clean the buffer otherwise you need to cleanup in
8065         a dozen places before calling export or cleanup in a dozen functions
8066         that export calls.
8067
8068         * converter.C (runLaTeX):
8069         (scanLog): Better handling of removeAutoInsets and screen updates.
8070
8071         * lyxfunc.C (dispatch): small whitespace changes
8072
8073 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8074
8075         * WorkArea.C (C_WorkAreaEvent): return a value.
8076         (event_cb): return 1 if we handled the event, 0 otherwise.
8077
8078         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8079
8080 2002-03-18  Juergen Vigna  <jug@sad.it>
8081
8082         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8083         (GetAdditionalWidth): ditto.
8084         (RightLine): ditto.
8085         (LeftLine): ditto.
8086
8087         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8088         inset if we're there actually (probably not used right now but this
8089         is the direction to go for unifying code).
8090         (paste): disable code to clear the selection.
8091
8092         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8093         inside an InsetText and move the check further up as it is in the
8094         wrong place.
8095
8096         * text2.C (pasteSelection): set a selection over the pasted text.
8097
8098 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8099
8100         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8101         and libgraphics to build on Cygwin.
8102
8103 2002-03-15  Juergen Vigna  <jug@sad.it>
8104
8105         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8106         inserting an Inset into the paragraph. I know this is not the best
8107         fix but we already use current_view in CutAndPaste so we will remove
8108         all of it's using at the same time.
8109
8110         * buffer.C (sgmlError): deactivated function till it is rewritten in
8111         the right mode, now it can create problems.
8112
8113         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8114         before accessing it.
8115
8116 2002-03-14  Juergen Vigna  <jug@sad.it>
8117
8118         * undo_funcs.C (textHandleUndo): do the right thing when updating
8119         the inset after the undo/redo.
8120
8121         * text2.C (setCursor): just some testcode for #44 not ready yet.
8122
8123         * undo_funcs.C (textHandleUndo): set the next() and previous()
8124         pointers of the paragraph to 0 before deleting otherwise we have
8125         problems with the Paragraph::[destructor].
8126
8127         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8128         on a paragraph insertion.
8129
8130 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8131
8132         * buffer.C (asciiParagraph): use += operator for char append to
8133         string.
8134
8135         * paragraph.C (getFontSettings): compare >= not just >
8136         (highestFontInRange): ditto
8137         (setFont): ditto
8138
8139 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8140
8141         * paragraph.C: change several algorithm to be more appripriate for
8142         the problem domain. This is lookip in FontList and in the InsetList.
8143
8144 2002-03-13  André Pönitz <poenitz@gmx.net>
8145
8146         * commandtags.h:
8147         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8148
8149 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8150
8151         * commandtags.h:
8152         * LyXAction.C:
8153         * lyxfunc.C:
8154         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8155
8156 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8157
8158         * Painter.C (display): anon helper function, adjust code for this
8159         change.
8160         (pixmap): remove function.
8161
8162         * Painter.h: remove private display variable.
8163
8164         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8165
8166 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8167
8168         * WorkArea.[Ch]: remove figinset_canvas cruft.
8169
8170 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8171
8172         * lyxtextclass.C (operator): add one item cache optimization.
8173
8174         * bufferlist.h: doxy changes
8175
8176         * bufferlist.C: ws changes
8177
8178         * DepTable.[Ch] (ext_exist): place const in the right spot.
8179
8180         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8181         call resizeInsets.
8182         (workAreaExpose): call resizeInsets when the with BufferView changes.
8183         (Dispatch): adjust for protectedBlank removal
8184         (specialChar): call updateInset if the insert went ok.
8185
8186         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8187         specialChar instead.
8188
8189         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8190
8191         * BufferView.h: doxy change
8192
8193         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8194
8195         * lyxtextclass.C (operator[]): remove non-const version
8196         (defaultLayout): remove non-const version
8197
8198 2002-03-12  Juergen Vigna  <jug@sad.it>
8199
8200         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8201         did resize the LyXText too.
8202
8203         * buffer.C (readLyXformat2): set layout information on newly allocated
8204         paragraphs.
8205
8206         * tabular.C (OldFormatRead): set layout information on the paragraph.
8207
8208 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8209
8210         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8211
8212 2002-03-11  Juergen Vigna  <jug@sad.it>
8213
8214         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8215         plainly wrong.
8216         (resizeCurrentBuffer): force also the insets to resize themselfes.
8217         (moveCursorUpdate): fixed up for InsetText.
8218
8219 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8220
8221         * commandtags.h:
8222         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8223         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8224         value of Dialogs::tooltipsEnabled().
8225         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8226
8227 2002-03-08  Juergen Vigna  <jug@sad.it>
8228
8229         * BufferView_pimpl.C (updateInset): update inset inside inset also
8230         if it isn't inside theLockingInset().
8231
8232 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8233
8234         * buffer.C (asciiParagraph): redo some of the word and line length
8235         handling.
8236         (getLists): look for Caption instead of caption.
8237
8238 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8239
8240         * buffer.C (Buffer): initialize niceFile to true
8241         (makeLaTeXFile):
8242         (makeLinuxDocFile):
8243         (makeDocBookFile): make sure niceFile is true on exit
8244
8245 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8246
8247         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8248
8249 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8250
8251         * LyXSendto.C: remove.
8252         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8253         * lyx_gui.C: remove now-redundant comment.
8254         * ColorHandler.h: remove forward declaration of class WorkArea.
8255         * lyxfunc.C: remove #include "WorkArea.h".
8256
8257 2002-03-07  Juergen Vigna  <jug@sad.it>
8258
8259         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8260         got moved away with the DEPM and also set the inset_owner always
8261         right which before could have been omitted.
8262
8263 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8264
8265         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8266         wanted layout is not found.
8267
8268 2002-03-07  Juergen Vigna  <jug@sad.it>
8269
8270         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8271
8272 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8273
8274         * paragraph.C (breakParagraph): use default layout not layout of
8275         prev paragraph.
8276         (Paragraph): clear ParagraphParameters.
8277
8278 2002-03-06  Juergen Vigna  <jug@sad.it>
8279
8280         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8281         otherwise it would not be a valid lenght. Fixed a special case in
8282         the minipage compatibility read where we end the document with a
8283         minipage.
8284
8285         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8286         was set as it could be 0 for InsetTexts first entry.
8287
8288 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8289
8290         * paragraph.C (writeFile): if layout is empty write out
8291         defaultLayoutName().
8292
8293         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8294         file without named layout we set layout to defaultLayoutName().
8295
8296 2002-03-06  Juergen Vigna  <jug@sad.it>
8297
8298         * CutAndPaste.C (copySelection): set layout for new paragraph.
8299
8300         * text.C (prepareToPrint): leave ERT inset left aligned
8301         (leftMargin): don't indent paragraphs inside ERT insets
8302
8303 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8304
8305         * paragraph.C (breakParagraph): dont call clear do the work manually
8306
8307         * paragraph.[Ch] (clear): remove function
8308
8309 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8310
8311         * paragraph.C (Paragraph): dont call clear, the work has already
8312         been done.
8313
8314         * lyxtextclass.C (operator): assert if n is empty
8315
8316         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8317         work manually instead.
8318
8319 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8320
8321         * BufferView_pimpl.C: protect selectionLost against text == 0
8322
8323 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8324
8325         * text.C (breakParagraph): fix a setting layout to '0' problem.
8326
8327 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8328
8329         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8330         final location of file, for the included files, and graphics.
8331
8332 2002-03-05  Juergen Vigna  <jug@sad.it>
8333
8334         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8335
8336 2002-03-04  Juergen Vigna  <jug@sad.it>
8337
8338         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8339
8340         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8341         last column of multicolumn cells.
8342         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8343
8344 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8345
8346         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8347         file if it doesn't go to a temporary file.
8348
8349         * buffer.C (sgmlOpenTag):
8350         (sgmlCloseTag):  remove extra newline insertion.
8351
8352 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8353
8354         * text.C (getRowNearY): comment out debug msg
8355
8356 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8357
8358         * text2.C: first -> first_y
8359
8360         * text.C (getRowNearY): add some attemts at a possible
8361         optimization, not working.
8362
8363         * tabular.[Ch]: add BufferParams to several function so that newly
8364         created paragraph can be initialized to he default layotu for the
8365         buffers textclass.
8366
8367         * tabular-old.C (ReadOld): add buf->params to call of Init
8368
8369         * screen.C: rename text->first to text->first_y
8370
8371         * paragraph.C (breakParagraph): always set layout in the broken
8372         paragraph
8373
8374         * lyxtextclass.C (Read): remove lowercase
8375         (hasLayout): ditto
8376         (operator): ditto
8377         (delete_layout): ditto
8378
8379         * lyxtext.h: rename first -> first_y
8380
8381         * lyxlayout.C (Read): remove lowercase
8382         (name): ditto
8383         (setName): ditto
8384         (obsoleted_by): ditto
8385
8386         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8387
8388         * buffer.C (insertErtContents): add params are to InsetERT
8389         (parseSingleLyXformat2Token): add code to check if a paragraphs
8390         layout really exist.
8391         (parseSingleLyXformat2Token): add params to several inset
8392         constructors
8393         (asciiParagraph): remove lowercase, do the layout comparisons with
8394         no_case
8395
8396         * BufferView_pimpl.C (cursorNext): first -> first_y
8397         (resizeCurrentBuffer): first -> first_y
8398         (updateScrollbar): first -> first_y
8399         (scrollCB): first -> first_y
8400         (workAreaMotionNotify): first -> first_y
8401         (workAreaButtonPress): first -> first_y
8402         (checkInsetHit): first -> first_y
8403         (cursorPrevious): first -> first_y
8404         (cursorNext): first -> first_y
8405         (Dispatch): add buffer_->params to severl inset contructors
8406
8407 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8408
8409         * lyxlayout.C (Read): remove some debug info that I forgot.
8410
8411         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8412         clean up the code slightly.
8413         (makeLinuxDocFile): ditto
8414         (makeDocBookFile): ditto
8415
8416         * text2.C: layout as string
8417
8418         * text.C: layout as string
8419
8420         * paragraph_pimpl.C: layout as string
8421
8422         * paragraph.[Ch]: layout as string
8423
8424         * lyxtextclasslist.[Ch]: layout as string
8425
8426         * lyxtextclass.[Ch]: layout as string
8427
8428         * lyxtext.h: layout as string
8429
8430         * lyxlayout.[Ch]: layout as string
8431
8432         * lyx_cb.C: layout as string
8433
8434         * bufferview_funcs.C: layout as string
8435
8436         * bufferparams.C: layout as string
8437
8438         * buffer.C: layout as string
8439
8440         * LyXView.[Ch]: layout as string
8441
8442         * LaTeXFeatures.[Ch]: layout as string
8443
8444         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8445
8446         * BufferView_pimpl.C: change current_layout to string, remove
8447         lyx::layout_type.
8448         (Dispatch):
8449         (smartQuote):
8450         (insertInset):
8451         (workAreaButtonRelease): layout as string
8452
8453         * BufferView2.C (unlockInset): adjust
8454
8455         * vspace.C (asLatexCommand): use an explict temp variable.
8456
8457 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8458
8459         * Makefile.am: use FRONTEND_*
8460
8461 2002-03-01  Juergen Vigna  <jug@sad.it>
8462
8463         * tabular.C (SetWidthOfMulticolCell): changed to something better
8464         I hope but still work in progress.
8465         (recalculateMulticolumnsOfColumn): renamed function from
8466         recalculateMulticolCells as it is more appropriate now.
8467         (SetWidthOfCell): calculate multicols better.
8468
8469 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8470
8471         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8472
8473         * lyxfunc.C (processKeySym): print sequence also if it is
8474         `deleted' (complete)
8475
8476         * kbsequence.C (print): print sequence even if it is deleted
8477         (complete would be a better word, actually).
8478
8479         * lyxfunc.C (dispatch): print complete options after a prefix key
8480
8481         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8482
8483 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8484
8485         * text2.C (setCharFont): eliminate setCharFont code duplication.
8486
8487 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8488
8489         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8490         LFUN_TABULAR_FEATURE (bug #177)
8491
8492 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8493
8494         * Makefile.am: remove figure.h
8495
8496 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8497
8498         * Bufferview_pimpl.C:
8499         * CutAndPasteC:
8500         * LaTeX.C:
8501         * LyXSendto.C:
8502         * buffer.C:
8503         * bufferlist.C:
8504         * converter.C:
8505         * language.C:
8506         * lyxfunc.C:
8507         * lyxvc.C:
8508         * paragraph.C:
8509         * text.C:
8510         * text2.C: remove #include "lyx_gui_misc.h".
8511
8512         * LaTeX.C: added #include <cstdio>
8513
8514 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8515
8516         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8517         that the paragraph following this one can have.
8518
8519         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8520
8521         * vspace.C (asLatexCommand): fix bogus gcc warning
8522
8523         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8524
8525 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8526
8527         * text2.C (setLayout): get rid of redundant code
8528
8529 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8530
8531         * text2.C (incDepth): make sure depth cannot be increased beyond
8532         reasonable values.
8533
8534 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8535
8536         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8537         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8538
8539         * PainterBase.h (image):
8540         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8541         a LyXImage const *.
8542
8543 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8544
8545         * BufferView.C:
8546         * BufferView.h:
8547         * BufferView_pimpl.C:
8548         * BufferView_pimpl.h:
8549         * LaTeXFeatures.C:
8550         * LyXAction.C:
8551         * LyXView.C:
8552         * Makefile.am:
8553         * UpdateList.h:
8554         * UpdateList.C:
8555         * buffer.C:
8556         * figure.h:
8557         * figureForm.C:
8558         * figureForm.h:
8559         * figure_form.C:
8560         * figure_form.h:
8561         * lyx_cb.C:
8562         * lyx_gui.C:
8563         * lyx_gui_misc.C:
8564         * lyxfunc.C:
8565         * sp_base.h:
8566         * sp_ispell.h:
8567         * sp_pspell.h:
8568         * sp_spell.C: remove fig inset, and the crap house of
8569           cards that follows it
8570
8571 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8572
8573         * Makefile.am:
8574         * lyxserver.C:
8575         * os2_defines.h:
8576         * os2_errortable.h:
8577         * nt_defines.h: move .h into support/
8578
8579         * vms_defines.h: remove
8580
8581         * WorkArea.C: add space in debug output
8582
8583         * text2.C:
8584         * paragraph.C:
8585         * buffer.C: add WITH_WARNINGS
8586
8587         * vc-backend.h:
8588         * vc-backend.C:
8589         * bufferlist.C: s/retrive/retrieve/, add docs
8590
8591         * vspace.h:
8592         * vspace.C:
8593         * kbmap.h:
8594         * lyxlength.h:
8595         * lyxgluelength.h:
8596         * length_common.h:
8597         * chset.h:
8598         * chset.C: add docs
8599
8600         * lyxgui.C: add ID to X error handler
8601
8602         * lyxtestclass.c: fix typo
8603
8604 2002-02-26  Juergen Vigna  <jug@sad.it>
8605
8606         * tabular_funcs.C (write_attribute): changed so that some default
8607         attributes are not written at all.
8608         (getTokenValue): set default values before trying to read the
8609         value so we have the return value always set as default if we don't
8610         find the token we search for.
8611
8612         * tabular.C (Write): write bools as bools not as strings!
8613
8614 2002-02-22  Juergen Vigna  <jug@sad.it>
8615
8616         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8617         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8618
8619         * text.C (leftMargin): don't add an indent for paragraphs inside
8620         tabular cells (fix #208).
8621
8622 2002-02-21  José Matos  <jamatos@fep.up.pt>
8623
8624         * tabular.C (docBook): fixed support for long tables.
8625
8626 2002-02-20  Juergen Vigna  <jug@sad.it>
8627
8628         * text2.C (getFont): get the drawing font of the Inset if this
8629         paragraph is inside an inset (only important for InsetERT for now).
8630
8631         * buffer.C (insertErtContents): use new lanugage params in ERT
8632         constructor.
8633
8634         * CutAndPaste.C: commenting out seemingly uneeded code.
8635
8636 2002-02-19  Allan Rae  <rae@lyx.org>
8637
8638         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8639         Iterators might be simple to use but they also get invalidated.
8640         (removeAutoInsets): renamed saved cursor tracking variables and added
8641         some comments to clarify what everything does.
8642
8643 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8644
8645         * Chktex.C:
8646         * LaTeX.C:
8647         * LyXSendto.C:
8648         * converter.C:
8649         * lyx_cb.C:
8650         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8651         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8652
8653         * lyxfunc.C:
8654         * vc-backend.h: remove #include "support/syscall.h"
8655
8656         * LaTeX.C:
8657         * LyXSendto.C:
8658         * converter.C: rearrange #includes in Lars' approved fashion.
8659
8660         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8661         forward declare class Timeout in the header file.
8662
8663         * XFormsView.C: changes due to the above.
8664
8665         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8666         similar to LyXView.
8667
8668         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8669         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8670
8671 2002-02-18  José Matos  <jamatos@fep.up.pt>
8672
8673         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8674         insets contents.
8675
8676 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8677
8678         * a lot of small ws changes
8679         * add a lot of using std::XXX
8680         * use std construcs some places where approp.
8681         * use some exisint stuff from lyxfunctional where approp.
8682         * Make file changes to use partial linking (lets test this now...)
8683
8684 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8685
8686         * Chktex.C:
8687         * buffer.C:
8688         remove #include "support/syscontr.h" as it's redundant. Always has been.
8689
8690         * Chktex.C:
8691         * LaTeX.C:
8692         * LyXSendto.C:
8693         * converter.C:
8694         * lyx_cb.C:
8695         * vc-backend.C:
8696         change Systemcalls::System to Systemcalls::Wait and
8697         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8698         No change of functionality, just reflects the stripped down Systemcalls
8699         class.
8700
8701 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8702
8703         * debug.[Ch]: add a GRAPHICS type to the enum.
8704
8705 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8706
8707         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8708
8709         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8710         there is an inset.
8711
8712 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8713
8714         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8715         match the changes below.
8716
8717         * text2.C (toggleInset): if there is not editable inset at cursor
8718         position, try to see if cursor is _inside_ a collapsable inset
8719         and close it.
8720
8721 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8722
8723         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8724         document menu has a nice checkbox
8725
8726 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8727
8728         * lyxlength.C (asLatexString): change PW to output as percent of
8729         \textwidth.
8730
8731         * lengthcommon.C: change '%' to 't%'
8732
8733         * lyxfunc.C (dispatch): a few comments from Martin
8734
8735 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8736
8737         * WorkArea.h:
8738         * WorkArea.C:
8739         * BufferView_pimpl.h:
8740         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8741           the X selection.
8742
8743 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8744
8745         * vspace.C (inPixels): fix compiler warning
8746
8747 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8748
8749         * lyxfunc.C (getStatus): fix status message for disabled commands.
8750
8751 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8752
8753         * BufferView_pimpl.C: fix crash on close buffer
8754         during selection (#227)
8755
8756 2002-01-27  Herbert Voss  <voss@lyx.org>
8757
8758         * buffer.C: link old Figure to new graphic inset
8759
8760 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8761
8762         * FontLoader.C (getFontinfo): Change the latex font names in order
8763         to match the names of type1inst.
8764
8765 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8766
8767         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8768
8769         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8770         (extchanged): ditto
8771         (ext_exist): ditto
8772         (remove_files_with_extension): ditto
8773         (remove_file): ditto
8774         (write): ditto
8775
8776         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8777         document is smaller than the work area height. Do not initialize
8778         static variables to 0.
8779
8780 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8781
8782         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8783
8784         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8785         LFUN_LAYOUT_PARAGRAPHS.
8786
8787         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8788         tabular. It is possible to provide a possible cell, which will
8789         typically be the actcell from the corresponding insettabular
8790
8791         * lyxfunc.C (getStatus): small cleanup; disable
8792         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8793         true
8794
8795 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8796
8797         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8798
8799         * paragraph.C (startTeXParParams):
8800         (endTeXParParams): new methods. The LaTeX code to
8801         start/end paragraph formatting
8802         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8803         empty (fixes bug #200)
8804
8805         * vspace.C (inPixels): adapt to the change below
8806         (inPixels): [later] more cleanups (remove unused variables)
8807
8808         * lyxlength.C (inPixels): change to use a width and a height as
8809         parameter.
8810
8811 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8812
8813         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8814         Replaced with \paperwidth
8815
8816         * DepTable.C (insert): add std:: qualifier
8817
8818 2002-01-18  Allan Rae  <rae@lyx.org>
8819
8820         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8821         updated also?
8822
8823         * text.C (drawInset): Turned out I didn't know enough about how
8824         rebreaking worked.  This fixes most of the redraw problems.  I see
8825         an occasional cursor trail when a line is broken now and the cursor
8826         placement can seem out by a few pixels also after a rebreak.
8827
8828 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8829
8830         * buffer.C (parseSingleLyXformat2Token): update because minipage
8831         width is now a LyXLength
8832
8833         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8834
8835         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8836         math insets
8837
8838 2002-01-17  Juergen Vigna  <jug@sad.it>
8839
8840         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8841
8842         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8843         is set correctly and the inset is updated correctly.
8844
8845 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8846
8847         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8848         the beginning of the loop.
8849
8850 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8851
8852         * lyxrc.C: improve help for use_scalable_fonts
8853
8854 2002-01-17  Allan Rae  <rae@lyx.org>
8855
8856         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8857
8858 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8859
8860         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8861         make sure to set their inset_owner to the right value (bug #171)
8862
8863 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8864
8865         * DepTable.h
8866         * DepTable.C: Implement mtime checking to reduce time spent doing
8867         CRCs.
8868
8869 2002-01-16  Juergen Vigna  <jug@sad.it>
8870
8871         * tabular.C (GetAdditionalHeight): one of error fixed.
8872
8873         * lyxrc.C (output): small fix in writing use_pspell.
8874
8875 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8876
8877         * sp_base.h: #include LString.h
8878
8879 2002-01-16  Allan Rae  <rae@lyx.org>
8880
8881         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8882         Can someone check this please?
8883
8884         * text.C (drawInset): It was possible that p.row would be removed by
8885         breakAgainOneRow upsetting a few other settings.  There may be another
8886         small tweak possible by setting need_break_row = 0 when p.row has been
8887         removed but I don't know enough about the logic here.
8888
8889 2002-01-15  Allan Rae  <rae@lyx.org>
8890
8891         * text.C (insertChar): removed conditional truism.
8892
8893         * BufferView2.C (removeAutoInsets): More tweaks.
8894         cur_par_prev could be a stray pointer.  Check for trailing empty line
8895         in case last line was cur_par and only had an error inset on it.
8896
8897 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8898
8899         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8900         absolute
8901
8902         * vc-backend.C (most methods):
8903         * exporter.C (Export):
8904         * converter.C (convert):
8905         (runLaTeX):
8906         * LyXSendto.C (SendtoApplyCB):
8907         * lyxfunc.C (dispatch):
8908         (menuNew):
8909         (open):
8910         (doImport):
8911         * lyx_cb.C (AutoSave):
8912         (InsertAsciiFile):
8913         * BufferView_pimpl.C (MenuInsertLyXFile):
8914         * buffer.C (runChktex): use Buffer::filePath().
8915
8916         * buffer.h: rename filename to filename_; rename filepath to
8917         filepath_ and make it private
8918         (filePath): new method
8919
8920         * buffer.C (writeFile): use fileName()
8921         (getLatexName):
8922
8923         * lyx_main.C (init): fix starting  of LyX when the binary is a
8924         link from so,ewhere else.
8925
8926         * minibuffer.C: include <cctype> for isprint
8927
8928 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8929
8930         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8931         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8932         name clash with InsetCollapsable's width function.
8933
8934 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8935
8936         * lastfiles.C: include <iterator>
8937
8938 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8939
8940         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8941         std::count.
8942
8943         * buffer.C (makeLaTeXFile): ditto.
8944         Also make loop operation more transparent.
8945
8946 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8947
8948         * ToolbarDefaults.C: remove trailing comma closing namespace.
8949
8950         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8951
8952         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8953         as in WorkArea.
8954
8955         * trans.C (Load): comment out unused variable, allowed.
8956
8957 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8958
8959         * minibuffer.[Ch] (append_char): new method to recieve input from the
8960         drop-down completion browser. If a key was pressed, then recieve this
8961         char and append it to the existing string.
8962         (peek_event): modify the positioning data passed to the completion
8963         browser so that it can be placed above the minibuffer rather than below.
8964 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8965
8966         * LyXAction.C (init): alloe error-next for readonly documents.
8967
8968         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8969         count.
8970
8971 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8972
8973         * bufferlist.C (readFile): create the buffer _after_ checking that
8974         the file exists.
8975
8976         * lyxfunc.C (verboseDispatch): fix handling of arguments
8977
8978         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8979
8980         * lyxrc.C: use string::erase() instead of initializing to "".
8981
8982
8983 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8984
8985         * BufferView_pimpl.h:
8986         * BufferView_pimpl.C:
8987         * WorkArea.h:
8988         * WorkArea.C:
8989         * text2.C: tell X when we have made a selection for copying
8990
8991 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8992
8993         * BufferView_pimpl.C (MenuInsertLyXFile):
8994         * lyxfunc.C (menuNew):
8995         (open):
8996         (doImport): add shortcuts to directory buttons
8997
8998         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8999         open a float)
9000
9001         * lyxfunc.C (setStatusMessage):
9002         (getStatusMessage): new methods
9003         (getStatus):use setStatusMessage instead of setErrorMessage
9004         (dispatch): when function is disabled, set error message here
9005         [instead of in getStatus previously]
9006
9007         * BufferView_pimpl.C (workAreaButtonRelease): update
9008         toolbar/menubar here too.
9009
9010 2002-01-13  Allan Rae  <rae@lyx.org>
9011
9012         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9013         Now seems indestructible.  Remaining task is to audit all other
9014         code affected by deleteEmptyParagraphMechanism.  One small quirk
9015         left is that an empty document with an error in the preamble can
9016         be made to report an error but no error box appears.  I don't know
9017         where it goes.
9018         (removeAutoInsets): Improved comments.
9019
9020 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9021
9022         * Thesaurus.h:
9023         * Thesaurus.C: update for Aiksaurus 0.14
9024
9025 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9026
9027         * text2.C (firstParagraph): removed member function, all uses
9028         replaces with ownerParagraph
9029         (redoParagraphs): here
9030         (updateInset): here
9031         (toggleAppendix): here
9032         * BufferView2.C (insertErrors): here
9033         (setCursorFromRow): here
9034
9035 2002-01-13  Allan Rae  <rae@lyx.org>
9036
9037         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9038         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9039         There is still a way to segfault this although you may have to do this
9040         multiple times: Have an InsetERT with an unknown command in it.
9041         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9042         <down-arrow>, <Enter> again, View->DVI, BANG!
9043
9044         * text2.C (setCursor):
9045         (deleteEmptyParagraphMechanism):
9046         * lyxtext.h (setCursor):
9047         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9048         Making use of the return value may help fix other bugs.
9049
9050 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9051
9052         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9053
9054         * LyXView.C (updateMenubar): call MenuBar::update here
9055         (updateToolbar): but not here
9056         (showState): do not update toolbar/menubar
9057
9058         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9059         should need to care about that.
9060
9061         * lyxfunc.C (verboseDispatch): simplify a bit
9062         (getStatus): have a version which takes a pseudoaction, and
9063         another which requires a (kb_action,string).
9064
9065         * LyXAction.C (retrieveActionArg): make it work also when action
9066         is not a pseudo-action.
9067         (getActionName): simplify a bit
9068         (helpText):
9069
9070 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9071
9072         * lyxfunc.C (verboseDispatch): new families of methods with
9073         several ways to specify a command and a bool to indicate whether
9074         the command name and shortcut should be displayed in minibuffer
9075         (eventually, we could extend that to a finer bitmask like
9076         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9077         (dispatch): the pristine dispatch command which just, well,
9078         dispatchs! Note it still sets its result to minibuffer; I'm not
9079         sure we want that.
9080
9081         * lyxfunc.h: remove setHintMessage
9082
9083         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9084
9085 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9086
9087         * BufferView_pimpl.C (specialChar): delete new inset if we have
9088         not been able to insert it.
9089
9090         * kbmap.C: revert to using int instead of kb_action, since all we
9091         are dealing with is pseudo-actions.
9092
9093         * LyXAction.C (searchActionArg): change to return int instead of
9094         kb_action, since the result is a pseudoaction.
9095
9096 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9097
9098         * buffer.C (insertErtContents): Fix (partially) the font bug.
9099
9100 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9101
9102         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9103         as the other one is broken on my machine!
9104
9105 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9106
9107         * commandtags.h:
9108         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9109
9110 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9111
9112         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9113         reflect their actual use. Provide compatibility code for older lyxrc
9114         files.
9115
9116         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9117         FL_NORMAL_STYLE.
9118         change names of popup font variables in line with the changes to lyxrc.C
9119
9120 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9121
9122         * buffer.C (asciiParagraph): avoid outputing a word twice after
9123         an inset.
9124
9125         * lyxrc.C (getDescription): document that document_path and
9126         template_path can be empty.
9127
9128 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9129
9130         * LaTeXFeatures.C (getMacros):
9131         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9132
9133         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9134
9135         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9136         getPackages.
9137         (getPackages): rename feature "floats" to "float". Use an array to
9138         iterate over 'simple' features (i.e. just a \usepackage). Add
9139         handling of "amsmath" (renamed from "amsstyle").
9140
9141 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9142
9143         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9144         features list.
9145
9146 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9147
9148         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9149         FuncStaus::FuncStatus & FuncStaus::some_method().
9150
9151 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9152
9153         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9154         of the func_satus stuff. Edited and massaged in various ways by
9155         JMarc.
9156
9157         * lyxfunc.C (getStatus): use FuncStatus
9158
9159 2002-01-08  Juergen Vigna  <jug@sad.it>
9160
9161         * text.C (nextBreakPoint): use function Inset::isChar().
9162
9163         * paragraph.C (TeXOnePar): use function
9164         Inset::forceDefaultParagraphs.
9165
9166         * buffer.C (latexParagraphs): use function
9167         Inset::forceDefaultParagraphs.
9168
9169 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9170
9171         * lyx_gui.C (init): set the style of the menu popups to
9172         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9173
9174 2002-01-07  Juergen Vigna  <jug@sad.it>
9175
9176         * text.C (setHeightOfRow): small fix
9177         (prepareToPrint): don't look at alignment if we don't have the place
9178         for doing it.
9179
9180 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9181
9182         * box.C: New file. Move the Box methods and functions out of box.h,
9183         following Lars' suggestion.
9184
9185 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9186
9187         * box.h: #include "support/LOstream.h", needed for inlined function.
9188
9189         * lyxtextclass.C:
9190         * lyxtextclasslist.C: added some using std declarations.
9191
9192 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9193
9194         * box.h: make signed dimensions to allow insets wider than
9195           the screen (bug #162)
9196
9197         * BufferView_pimpl.C: add some insetHit debug
9198
9199 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9200
9201         * vc-backend.C: add FIXME
9202
9203 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9204
9205         * lyxfunc.C (getStatus): enable code for showing math font status
9206         in toolbar/menu.
9207
9208 2002-01-07  Juergen Vigna  <jug@sad.it>
9209
9210         * text.C (nextBreakPoint): removed debug output not needed anymore.
9211
9212 2002-01-06  Juergen Vigna  <jug@sad.it>
9213
9214         * text.C (nextBreakPoint): fixed up this function we had this bug
9215         since ever but now hopefully we break row better.
9216         (insertChar): we have to check if an inset is the next char as it
9217         could now happen that a large inset is causing a break.
9218
9219 2002-01-05  Juergen Vigna  <jug@sad.it>
9220
9221         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9222         if it doesn't like to be drawed.
9223
9224 2002-01-04  Juergen Vigna  <jug@sad.it>
9225
9226         * BufferView2.C (lockInset): forgot to set a cursor.
9227
9228         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9229
9230 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9231
9232         * FormMathsPanel.C:
9233         * FormMathsPanel.h
9234         * MathsSymbols.C:
9235         * form_maths_panel.C:
9236         * form_maths_panel.h:
9237         * form_maths_panel.fd: implemented sub- and super- buttons in math
9238         panel.
9239
9240         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9241         (or ^ space) to be used as in TeX (req'd by André).
9242
9243         * lyxfunc.C: Allow ^ and _ again to be used both as
9244         super/subscript (mathed) and as themselves (in text).
9245
9246 2002-01-03  Allan Rae  <rae@lyx.org>
9247
9248         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9249         "LyX" or the filename of the current buffer if it has one.  This is a
9250         modified form of John Levon's patch.
9251
9252         * XFormsView.C (setWindowTitle): also set icon title.
9253
9254         * LyXView.h (setWindowTitle): signature changed.
9255         * XFormsView.h (setWindowTitle): ditto.
9256
9257 2002-01-02  Juergen Vigna  <jug@sad.it>
9258
9259         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9260
9261 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9262
9263         * screen.C (topCursorVisible): introduce a temp var for
9264         text->cursor.row(), handle the case where this row is null. (kindo
9265         hachish)
9266
9267         * text2.C (setCursor): add a couple of asserts.
9268
9269         * paragraph.h (inset_iterator): add -> operator
9270
9271         * paragraph.[Ch] (autoDeleteInsets): remove member function
9272
9273         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9274         cursor pos correctly and handle inset deletion by itself.
9275         (insertErrors): move iterator declaration out of for expression
9276
9277         * lyxtextclass.C: add <algorithm>
9278
9279         * Makefile.am: added the new files to sources, removed layout.C
9280
9281         * layout.C: removed file
9282
9283         * layout.h: remove LYX_DUMMY_LAYOUT
9284
9285         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9286         layout.
9287
9288         * lyxlayout.[Ch]:
9289         * lyxtextclass.[Ch]:
9290         * lyxtextclasslist.[Ch]: new files
9291
9292         * include order changes to a lot of files, also changes because of
9293         the six new files.
9294
9295 2001-12-27  Juergen Vigna  <jug@sad.it>
9296
9297         * buffer.C (asciiParagraph): more fixes.
9298
9299         * tabular.C (ascii): make ascii export support export of only the
9300         data separated by a column-delimiter.
9301         (ascii): better support for ascii export.
9302
9303         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9304
9305 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9306
9307         * tabular_funcs.C: use a "using std::getline" instead of the
9308         previous fix from Angus (necessary for cxx + lyxstring)
9309
9310 2001-12-24  Juergen Vigna  <jug@sad.it>
9311
9312         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9313
9314         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9315         problems. First check a minipage also if we have some ert-contents
9316         (not only on par->size(), second set the right depth of the paragraph
9317         on the relink to the root-paragraph-list!
9318
9319         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9320         which then did not anymore update the main paragraphs on undo/redo!
9321
9322 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9323
9324         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9325         code. Support all font-changing funcs (even those which are not in
9326         menu currently). Support for reporting font settings in
9327         mathed (disabled until Andre provides a function on mathed's side).
9328
9329         * func_status.h (toggle): small helper function to set toggle
9330         state on a flag.
9331
9332 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9333
9334         * tabular_funcs.C: getline -> std::getline
9335
9336 2001-12-21  Juergen Vigna  <jug@sad.it>
9337
9338         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9339         accessed and could be 0 (I couldn't generate this but it seems
9340         Michael could!).
9341
9342 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9343
9344         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9345         * tabular_funcs.h: here and include iosfwd
9346
9347 2001-12-20  Juergen Vigna  <jug@sad.it>
9348
9349         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9350         inside inset but undo_par was.
9351
9352 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9353
9354         * Thesaurus.C: always include <config.h> in sources.
9355
9356         * Painter.h:
9357         * lyxlookup.h:
9358         * box.h: do not include <config.h> in header files
9359
9360         * text.C (paintLastRow): remove unused variable
9361
9362         * text.C (transformChar):
9363         (insertChar):
9364         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9365
9366         * Painter.C (text):
9367         * font.C (width): rewrite to use uppercase() instead of
9368         islower/toupper.
9369
9370         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9371
9372 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9373
9374         * lyxfind.C: clean up of find failure position change
9375
9376 2001-12-20  Juergen Vigna  <jug@sad.it>
9377
9378         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9379
9380         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9381         (TeXRow): added to LaTeX a single tabular row.
9382         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9383         (Latex): simplified and finally good LT-h/f support.
9384         (various_functions): just small adaptions for LT-h/f support.
9385
9386         * tabular_funcs.[hC]: added and moved here all not classfunctions
9387         of LyXTabular.
9388
9389 2001-12-19  Juergen Vigna  <jug@sad.it>
9390
9391         * tabular.[Ch]: better support for longtabular options (not finished
9392         yet!)
9393
9394 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9395
9396         * text.C (paintLastRow): use the label font instead of the font of
9397         the last character to compute the size of *_BOX. This makes more
9398         sense and avoids a crash with empty paragraphs.
9399         Use Painter::rectangle to draw EMPTY_BOX.
9400
9401 2001-12-19  Juergen Vigna  <jug@sad.it>
9402
9403         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9404         the paragraphs if the replaced paragraph is not the first one!
9405         Tried to delete not used paragraphs but does not work yet so for
9406         now it's inside #ifdef's and by default off!
9407
9408 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9409
9410         * MenuBackend.C: include "lyx_main.h" instead of declaring
9411         lastfiles (actually was declared as LastFiles* instead of a
9412         scoped_ptr).
9413
9414 2001-12-17  Juergen Vigna  <jug@sad.it>
9415
9416         * tabular.C (AppendColumn): applied John's fix
9417
9418 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9419
9420         * BufferView.h:
9421         * BufferView.C:
9422         * BufferView_pimpl.h:
9423         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9424
9425         * Makefile.am:
9426         * box.h: new start of class for above
9427
9428         * lyxfunc.C: ignore space-only minibuffer dispatches.
9429           Show the command name when it doesn't exist
9430
9431         * minibuffer.C: don't add empty lines to the history
9432
9433         * minibuffer.C: add a space on dropdown completion
9434
9435 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9436
9437         * text.C: fix line above/below drawing in insets
9438
9439 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9440
9441         * lyxlength.C (LyXLength): Initialize private variables.
9442
9443 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9444
9445         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9446         when inserting error insets.
9447
9448 2001-12-13  Juergen Vigna  <jug@sad.it>
9449
9450         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9451         actually sometimes the before-paragraph.
9452         (setUndo): don't clear the redostack if we're not actually undoing!
9453
9454 2001-12-06  Juergen Vigna  <jug@sad.it>
9455
9456         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9457         and fixed redoing of main paragraph, so we can use it now ;)
9458
9459         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9460
9461 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9462
9463         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9464         Juergen's request
9465
9466 2001-12-13  André Pönitz <poenitz@gmx.net>
9467
9468         * undostack.[Ch]:
9469         * undo_func.C: minor cleanup
9470
9471 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9472
9473         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9474         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9475         font in urw-fonts package which is marked as -urw-fontspecific and
9476         does not work (incidentally, changing the encoding in the
9477         fonts.dir of this package to -adobe-fontspecific fixes the
9478         problem).
9479
9480         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9481         is a crash when undoing first paragraph (Juergen, please take a
9482         look). THis does not mean the undo fix is wrong, just that it
9483         uncovers problems.
9484
9485         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9486         the (Paragraph*) version when needed instead of duplicating the
9487         code.
9488
9489         * text.C (workWidth): use Inset::parOwner to find out where the
9490         inset has been inserted. This is a huge performance gain for large
9491         documents with lots of insets. If Inset::parOwner is not set, fall
9492         back on the brute force method
9493
9494         * paragraph_pimpl.C (insertInset):
9495         * paragraph.C (Paragraph):
9496         (cutIntoMinibuffer): set parOwner of insets when
9497         inserting/removing them
9498
9499         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9500
9501 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9502
9503         * commandtags.h:
9504         * LyXAction.C:
9505         * lyx_main.C:
9506         * lyxfunc.C:
9507         * mathed/formulabase.C:
9508         * mathed/math_cursor.[Ch]:
9509         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9510
9511
9512 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9513
9514         * lyxlength.[Ch] (operator!=): new function
9515
9516 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9517
9518         * text.C (workWidth): use Inset::parOwner to find out where the
9519         inset has been inserted. This is a huge performance gain for large
9520         documents with lots of insets. If Inset::parOwner is not set, fall
9521         back on the brute force method
9522
9523         * paragraph_pimpl.C (insertInset):
9524         * paragraph.C (Paragraph):
9525         (cutIntoMinibuffer): set parOwner of insets when
9526         inserting/removing them
9527
9528         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9529
9530 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9531
9532         * tabular-old.C (getTokenValue):
9533         * tabular.C (getTokenValue):
9534         (write_attribute): new versions for LyXLength
9535         (everywhere): adjust the use of widths
9536
9537         * tabular.h: change the type of widths from string to LyXLength
9538
9539 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9540
9541         * paragraph.C: fixed missing line number count when exporting
9542         Environments to LaTeX file
9543
9544         * buffer.C: added informational message for checking line numbers.
9545
9546 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9547
9548         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9549         paragraph, do the 'double space' part, but not the 'empty
9550         paragraph' one.
9551
9552         * text.C (workWidth): small optimization
9553         (getLengthMarkerHeight): use minimal size for negative lengths.
9554
9555 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9556
9557         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9558
9559         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9560
9561 2001-12-11  André Pönitz <poenitz@gmx.net>
9562
9563         * FontLoader.C:
9564         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9565
9566 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9567
9568         * text2.C: keep selection on a setFont()
9569
9570 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9571
9572         * lyx_cb.C: another bv->text misuse, from insert label
9573
9574 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9575
9576         * kbsequence.h:
9577         * kbsequence.C: re-instate nmodifier mask
9578
9579 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9580
9581         * lyx_main.h: make lyxGUI private.
9582
9583 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9584
9585         * lyxfind.C: place the cursor correctly on failed search
9586
9587 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9588
9589         * text.C (getLengthMarkerHeight): for small heights, the arrows
9590         are not always on top/bottom of the text
9591         (drawLengthMarker): smaller arrows; take the left margin in
9592         account; draw also vfills.
9593         (paintFirstRow):
9594         (paintLastRow): remove special code for vfill and standard spaces,
9595         since everything is handled in drawLengthMarker now.
9596
9597 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9598
9599         * buffer.C (insertErtContents): try to handle font and language
9600         interaction a bit better.g
9601
9602         * ColorHandler.C (updateColor): change the hash to cover the whole
9603         LColor enum, ws cleanup
9604         (getGCLinepars): ditto
9605         (getGCLinepars): only lookup in the linecache once.
9606
9607 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9608
9609         * iterators.C (operator++): Make the iterator more robust
9610
9611         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9612         (John's patch)
9613         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9614
9615 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9616
9617         * lyxtext.h:
9618         * text.C: better added space drawing
9619
9620 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9621
9622         * LyXView.C:
9623         * BufferView2.C: fix layout combo update on inset unlock
9624
9625 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9626
9627         * Makefile.am: don't compile unused files
9628
9629 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9630
9631         * lyxfunc.C:
9632         * commandtags.h:
9633         * LyXAction.C: remove old LFUN_LAYOUTNO
9634
9635 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9636
9637         * paragraph_pimpl.h:
9638         * paragraph_pimpl.C: isTextAt() doesn't need font param
9639
9640 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9641
9642         * lyxlex.h:
9643         * lyxlex.C: little cleanup
9644
9645 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9646
9647         * BufferView_pimpl.C: fix insertAscii for insets
9648
9649 2001-12-05  Juergen Vigna  <jug@sad.it>
9650
9651         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9652         set the right font on the "multi" paragraph paste!
9653
9654 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9655
9656         * trans_decl.h:
9657         * trans_mgr.[Ch]:
9658         * trans.[Ch]:
9659         * lyxgluelength.C:
9660         * lyxlength.C: remove out-commented code.
9661
9662         * BufferView_pimpl:
9663         * CutAndPaste.C:
9664         * DepTable.C:
9665         * buffer.C:
9666         * chset.C:
9667         * lastfiles.C:
9668         * lyxlex.C:
9669         * lyxlex_pimpl.C:
9670         * lyxserver.C:
9671         * screen.C:
9672         * tabular-old.C:
9673         * tabular.C:
9674         * text.C:
9675         * trans_mgr.C:
9676         * vc-backend.C: change "while(" to "while ("
9677
9678         * lyxlength.[Ch]: add zero function to check if length is zero or
9679         not
9680         * lyxgluelength.C: use it
9681
9682 2001-12-05  Allan Rae  <rae@lyx.org>
9683
9684         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9685         Works for 2.95.3, from what I understand of Garst's reports this should
9686         work for other g++ versions.  We're screwed if the abs(int) definition
9687         changed between bugfix releases of gcc.
9688
9689 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9690
9691         * text.C: fix chapter label offset !
9692
9693 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9694
9695         * lyxtext.h:
9696         * text.C: fix hfill at end of line, clean up
9697
9698 2001-12-04  Juergen Vigna  <jug@sad.it>
9699
9700         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9701         that we force an update of the inset and it's owners if neccessary.
9702
9703 2001-12-03  Juergen Vigna  <jug@sad.it>
9704
9705         * text.C (rowLast): simplified code
9706
9707 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9708
9709         * lyxfunc.C: fix show options on timeout
9710
9711 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9712
9713         * screen.C (topCursorVisible): scroll half a page when the cursor
9714         reached top of bottom of screen
9715
9716 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9717
9718         * minibuffer.C: deactivate on loss of focus
9719
9720 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9721
9722         * vspace.[Ch] (operator!=): add operator.
9723
9724 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9725
9726         * BufferView_pimpl.C: refuse to open an inset when
9727         there's a selection.
9728
9729 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9730
9731         * BufferView_pimpl.C: allow to click on RHS of full row insets
9732
9733 2001-11-30  Juergen Vigna  <jug@sad.it>
9734
9735         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9736         insets for undo reasons.
9737
9738 2001-11-28  André Pönitz <poenitz@gmx.net>
9739
9740         * vspace.[Ch]: cosmetical changes
9741
9742 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9743
9744         * LyXAction.h:
9745         * LyXAction.C:
9746         * lyxfunc.h:
9747         * lyxfunc.C:
9748         * kbmap.h:
9749         * kbmap.C:
9750         * lyxrc.C:
9751         * kbsequence.h:
9752         * kbsequence.C: part re-write of old kb code
9753
9754         * Painter.C:
9755         * WorkArea.C: remove Lgb_bug_find_hack
9756
9757 2001-11-30  José Matos <jamatos@fep.up.pt>
9758
9759         * buffer.C (makeDocBookFile): add a comment to point a hack.
9760         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9761         Fixed a double write of labels.
9762
9763 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9764
9765         * LaTeX.C:
9766         * LaTeX.h Fixed bug in LaTeX class where it would not
9767         re-run latex if no depfiles were changed, but the .dvi was removed.
9768
9769 2001-11-28  André Pönitz <poenitz@gmx.net>
9770
9771         * all the files from the change on 2001/11/26:
9772         use lyx::layout_type instead of LyXTextClass::size_type
9773         use lyx::textclass_type instead of LyXTextClassList::size_type
9774
9775 2001-11-29  Juergen Vigna  <jug@sad.it>
9776
9777         * text.C: added support for paragraph::isFreeSpacing()
9778
9779         * buffer.C: same as above
9780
9781         * paragraph.h: inserted isFreeSpacing() function to enable
9782         FreeSpacing inside InsetERT.
9783
9784         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9785         of the paragraph's in the cut/copy buffer to 0!
9786
9787         * text2.C (removeRow): remove the assert as it can!
9788
9789         * lyxtext.h: added helper function firstRow returning firstrow and
9790         made firstrow private again.
9791
9792         * BufferView2.C (lockInset): don't relock if we're already locked!
9793
9794         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9795         the only paragraph.
9796         (removeRow): added Assert::(firstrow)
9797
9798         * debug.C: forgot to add INSETTEXT here.
9799
9800 2001-11-28  Juergen Vigna  <jug@sad.it>
9801
9802         * sp_spell.C (initialize): changed error text to more general
9803         spellchecker command use (not only ispell!)
9804
9805         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9806
9807         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9808
9809 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9810
9811         * vspace.C: initialise lyxgluelength on failure
9812
9813 2001-11-28  Allan Rae  <rae@lyx.org>
9814
9815         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9816         declaration & definition that looks like a function declaration.
9817
9818 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9819
9820         * BufferView2.C (copy):
9821         (copyEnvironment): do not clear the selection when doing a copy.
9822
9823         * text.C (paintFirstRow): compilation fix
9824
9825 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9826
9827         * tabular.C (Latex): correct line count when writing latex.
9828
9829 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9830
9831         * paragraph_pimpl.h:
9832         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9833           bug a bit
9834
9835 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9836
9837         * text.C:
9838         * LColor.h:
9839         * LColor.C: change vfillline->added_space
9840
9841         * text.C: add markers and text for added space
9842
9843         * vspace.C: fix comment
9844
9845 2001-11-28  André Pönitz <poenitz@gmx.net>
9846
9847         * paragraph.C: whitespace changes
9848         * all the other files from the change on 2001/11/26:
9849         change *::pos_type into lyx::pos_type
9850
9851 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9852
9853         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9854         language of the document when inserting error insets.
9855
9856 2001-11-26  André Pönitz <poenitz@gmx.net>
9857
9858         * BufferView_pimpl.[Ch]:
9859         *       CutAndPaste.C:
9860         * buffer.[Ch]:
9861         * lyxcursor.[Ch]:
9862         * lyxfind.C:
9863         * lyxfunc.C:
9864         * lyxrow.[Ch]:
9865         * paragraph.[Ch]:
9866         * paragraph_pimpl.[Ch]:
9867         * sp_spell.C:
9868         * text.C:
9869         * text2.C: reduce header dependencies, introduce type for positions
9870
9871 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9872
9873         * <various>: change to use Alert.h
9874
9875 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9876
9877         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9878         when encountering an unknown token.
9879         (readLyXformat2): Show an error message if there were unknown tokens.
9880
9881 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9882
9883         * BufferView2.C:
9884         * BufferView_pimpl.C:
9885         * buffer.C:
9886         * paragraph.h:
9887         * text.C:
9888         * text2.C: use par->isInset()
9889
9890 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9891
9892         * paragraph_pimpl.h:
9893         * paragraph_pimpl.C: cleanup
9894
9895 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9896
9897         * text2.C (removeRow):
9898         * text.C (setHeightOfRow): remove useless (and costly) call to
9899         getRow.
9900
9901 2001-11-20  Allan Rae  <rae@lyx.org>
9902
9903         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9904         Now need Inset*::checkInsertChar() to return true for appropriate
9905         cases so that the characters in the minibuffer will actually be
9906         inserted.
9907
9908 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9909
9910         * text.C: change the order of the includes.
9911         (workWidth): initialize it at once.
9912         (workWidth): make maxw unsigned
9913         (setHeightOfRow): remove unused variable (inset)
9914         (selectSelectedWord): remove unused variable (inset)
9915         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9916
9917 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9918
9919         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9920         server is not running.
9921         (openConnection):
9922         (closeConnection): add debug info when server is disabled.
9923
9924         * ColorHandler.C (getGCForeground): send debug message to GUI
9925         channel.
9926
9927         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9928
9929         * kbmap.C (bind): modify because return conventions of
9930         kb_sequence::parse have changed.
9931
9932         * kbsequence.C (parse): only ignore spaces and not any stupid
9933         control character. This avoids tests like s[i] <= ' ', which are
9934         guaranteed to fail with 8bit characters and signed chars.
9935         Change return code to string::npos when there have been no error
9936         (0 was a bad idea when error is at first character)
9937
9938 2001-11-14  José Matos  <jamatos@fep.up.pt>
9939
9940         * buffer.h:
9941         * buffer.C (simpleDocBookOnePar): removed unused argument.
9942
9943 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9944
9945         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9946         insets which are part of a word. Paragraph::isLetter takes care of
9947         that now. Use Paragraph::isInset to identify insets.
9948         (selectSelectedWord): do not test for hyphenation break.
9949
9950         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9951         that protected spaces are considered as spaces.
9952
9953         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9954         Inset::isLetter.
9955
9956 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9957
9958         * lyxserver.h:
9959         * lyxserver.C: fix it. and small cleanup.
9960
9961 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9962
9963         * BufferView_pimpl.C: use inline helpers
9964
9965         * LaTeXFeatures.h:
9966         * LaTeXFeatures.C: fix typos
9967
9968         * Spacing.h:
9969         * Spacing.C: move spacing_string into class
9970
9971         * ToolbarDefaults.C: move stuff into namespace anon
9972
9973         * layout.h: update enum
9974
9975         * lyxfunc.C: use better debug
9976
9977         * minibuffer.h: fix typo
9978
9979         * debug.h:
9980         * debug.C:
9981         * WorkArea.C: add and use Debug::WORKAREA
9982
9983         * lyxtext.h:
9984         * text.C:
9985         * text2.C: code re-organisation, inline helpers
9986
9987 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9988
9989         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9990         std::vector.empty().
9991
9992 2001-11-09  Allan Rae  <rae@lyx.org>
9993
9994         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9995         '\n's after tables.  Tabular and ERT inset work now makes this no
9996         longer necessary.
9997
9998 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9999
10000         * minibuffer.h:
10001         * minibuffer.C: fix crash, improve drop-down completion
10002
10003 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * lyxserver.h:
10006         * lyxserver.C: invalidate fd's when doing endPipe()
10007
10008 2001-11-08  José Matos  <jamatos@fep.up.pt>
10009
10010         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10011         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10012
10013         * paragraph.h:
10014         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10015
10016 2001-11-07  José Matos  <jamatos@fep.up.pt>
10017
10018         * buffer.h:
10019         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10020         const qualifier.
10021
10022         * buffer.C (sgmlOpenTag):
10023         * buffer.C (sgmlCloseTag): removed debug info.
10024
10025         * buffer.h (sgmlOpenTag):
10026         * buffer.h (sgmlCloseTag): made public.
10027
10028 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10029
10030         * buffer.C (saveParamsAsDefaults):
10031         * lyx_cb.C (MenuLayoutSave): remove
10032
10033         * LyXAction.C (init):
10034         * commandtags.h:
10035         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10036
10037 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10038
10039         * buffer.C (setPaperStuff): removed from here...
10040
10041         * bufferparams.C (setPaperStuff): ... and moved there.
10042
10043 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10044
10045         * minibuffer.h:
10046         * minibuffer.C:
10047         * XFormsView.C: add support for drop-down completion
10048
10049 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10050
10051         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10052         commands.
10053
10054 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10055
10056         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10057         disabled.
10058
10059 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10060
10061         * lyx_main.C: change ref to known bugs
10062
10063 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10064
10065         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10066         to work around older babel problems.
10067
10068 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10069
10070         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10071
10072 2001-10-24  Juergen Vigna  <jug@sad.it>
10073
10074         * tabular-old.C (ReadOld): below variable changes reflected.
10075
10076         * tabular.[Ch]: added ltType struct for longtable header/footer
10077         defines and changed all instances where they are used. Added
10078         future support for double top/bottom rows.
10079
10080 2001-10-24  José Matos  <jamatos@fep.up.pt>
10081
10082         * buffer.h (docbookHandleCaption):
10083         * buffer.C (docbookHandleCaption): removed unused function.
10084         (makeDocBookFile): moved docbook supported version to v4.1.
10085
10086 2001-10-24  José Matos  <jamatos@fep.up.pt>
10087
10088         * tabular.h:
10089         * tabular.C (docbookRow): new function to export docbook code of a row.
10090         (DocBook): now honors the longtable flags.
10091
10092 2001-10-23  José Matos  <jamatos@fep.up.pt>
10093
10094         * LaTeXFeatures.h:
10095         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10096         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10097
10098         * buffer.C (makeLinuxDocFile):
10099         (makeDocBookFile): reworked the preamble, more clean, and with
10100         support for lyx defined entities. Changed the document declaration
10101         to be more XML friendly.
10102
10103         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10104         if we need to output XML that should be done with a filter.
10105
10106 2001-10-22  Juergen Vigna  <jug@sad.it>
10107
10108         * sp_pspell.h (class PSpell): add alive function needed in the
10109         controller to see if the spellchecker could be started.
10110
10111 2001-10-22  Juergen Vigna  <jug@sad.it>
10112
10113         * buffer.C (insertStringAsLines): modify the font for inserting
10114         chars in certain conditions by calling checkInsertChar(font).
10115
10116 2001-10-19  Juergen Vigna  <jug@sad.it>
10117
10118         * text.C (workWidth): use getRow instead of wrong algorithm.
10119         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10120
10121 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10122
10123         * lyxserver.h:
10124         * lyxserver.C:
10125         * lyx_main.h:
10126         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10127
10128 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10129
10130         * text.C (workWidth): do not search for the exact row when
10131         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10132         optimization for big documents.
10133
10134 2001-10-18  Juergen Vigna  <jug@sad.it>
10135
10136         * text.C (workWidth): new function with added Inset * parameter.
10137
10138 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10139
10140         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10141
10142         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10143         change return type of getColumnNearX.
10144
10145
10146         * text.C (changeRegionCase): use uppercase/lowercase instead of
10147         toupper/tolower.
10148         (leftMargin):
10149         (rightMargin): simplify code by factoring out the uses of
10150         textclasslist.
10151         (labelFill):
10152         (numberOfHfills):
10153         (setHeightOfRow):
10154         (appendParagraph): use Paragraph::size_type
10155
10156 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10157
10158         * vspace.C (asLatexString): add a missing break
10159
10160 2001-10-15  Herbert Voss  <voss@perce.de>
10161
10162         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10163
10164 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10165
10166         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10167         is not available.
10168
10169 2001-10-10  André Pönitz <poenitz@gmx.net>
10170
10171         * lyxfunc.C: removed greek_kb_flag.
10172
10173 2001-10-10  Herbert Voss  <voss@perce.de>
10174
10175         * lyx_main.C: delete global string help_lyxdir.
10176
10177 2001-10-09  Herbert Voss  <voss@perce.de>
10178
10179         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10180
10181         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10182
10183         * lyx_main.C: added global string help_lyxdir.
10184
10185         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10186
10187 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10188
10189         * lyxrc.C (set_font_norm_type): support iso8859-4
10190
10191 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10192
10193         * LaTeX.C (deplog): add another regex for MikTeX
10194
10195 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10196
10197         * lyxrc.C (set_font_norm_type): support iso8859-3
10198
10199 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10200
10201         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10202
10203         * LaTeXFeatures.C: remove special case of french and index
10204
10205         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10206         before \begin{document}). This solves several incompatibilities.
10207
10208 2001-10-03  Garst Reese  <reese@isn.net>
10209
10210         * lyx_cb.C: change CheckTex error msg.
10211
10212 2001-10-03  José Matos  <jamatos@fep.up.pt>
10213
10214         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10215
10216 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10217
10218         * .cvsignore: update
10219
10220         * lyx_main.C (commandLineVersionInfo): use new style version info.
10221
10222         * buffer.C (writeFile):
10223         (makeLaTeXFile):
10224         (makeLinuxDocFile):
10225         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10226
10227         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10228
10229         * version.h: update to use stuff in version.C
10230
10231         * version.C.in: new file. Contains version information determined
10232         at compile time. This is a merging of version.h and
10233         version_info.h.in.
10234
10235 2001-10-03  Juergen Vigna  <jug@sad.it>
10236
10237         * BufferView_pimpl.C (update): don't change "dirty" status in
10238         updateInset call.
10239
10240 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10241
10242         * WorkArea.C (c-tor): re-position version string slightly.
10243
10244 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10245
10246         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10247         revert to previous code.
10248
10249         WorkArea.[Ch]: (show, destroySplash): methods removed.
10250
10251         WorkArea.C: rework code so that it's an amalgam of the codes before and
10252         after the splash screen was moved to WorkArea.
10253
10254 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10255
10256         * lyxrc.C (read):
10257         * vspace.C (inPixels):
10258         (lyx_advance):
10259         * kbmap.C (bind):
10260         * buffer.C (insertStringAsLines):
10261         (asciiParagraph): fix types to be large enough
10262
10263         * lyxlex_pimpl.h: change member status from short to int
10264
10265         * layout.h: fix type of endlabeltype
10266
10267         * kbmap.C (bind):
10268         * kbsequence.C (parse): change return type to string::size_type
10269
10270         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10271         variable
10272
10273         * Bullet.C (bulletSize):
10274         (bulletEntry): do not use short ints as parameters
10275
10276         * BufferView2.C (insertLyXFile): change a char to an int.
10277
10278         * WorkArea.C (WorkArea): remove unneeded floats in computation
10279
10280 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10281
10282         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10283
10284         * paragraph.C (asString): Do not ignore newline/hfill chars when
10285         copying to the clipboard.
10286
10287 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10288
10289         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10290         after a multi-line inset.
10291
10292 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10293
10294         * paragraph.C (validate): Set NeedLyXFootnoteCode
10295
10296 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10297
10298         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10299         and decrease-error to decrease.
10300
10301 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10302
10303         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10304         it more readable (should be equivalent)
10305
10306 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10307
10308         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10309
10310 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10311
10312         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10313         of a cursor (row, etc.) after a character has been deleted
10314         (deleteEmptyParagraphMechanism): call the method above on _all_
10315         cursors held by the LyXText when a double space has been
10316         detected/deleted.
10317
10318 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10319
10320         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10321         pixmap.
10322         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10323
10324         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10325         background. Use greyOut() and the new show() methods to toggle between
10326         the foreground and background. Add code to remove the splash after
10327         its initial showing.
10328
10329         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10330         (create_forms): no longer call Dialogs::showSplash.
10331
10332 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10333
10334         * .cvsignore: add version_info.h
10335
10336 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10337
10338         * version_info.h.in: new file
10339
10340         * Makefile.am: add version_info.h.in
10341
10342         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10343         version_info.h instead of VERSION_INFO
10344
10345 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10346
10347         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10348         The ERT inset now returns string().
10349
10350 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10351
10352         * lyxtext.h, text.C (selectNextWord): renamed as
10353         selectNextWordToSpellcheck.
10354
10355         * text.C (selectNextWordToSpellcheck): Modified to not select
10356         words inside an ERT inset.
10357
10358 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10359
10360         * lyx_cb.C (MenuLayoutSave): change a bit the question
10361
10362         * sp_base.h: include <sys/types.h>
10363
10364 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10365
10366         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10367
10368 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10369
10370         * several files: fix typos in user-visible strings
10371
10372 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10373
10374         * text2.C (pasteSelection): do not set the selection, since it
10375         will be cleared later. Actually, the intent was to fix the way the
10376         selection was set, but I figured rmoving the code was just as good.
10377
10378 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10379
10380         * FontLoader.C (available): Check if font is available without
10381         loading the font.
10382
10383 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10384
10385         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10386
10387 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10388
10389         * lyxrc.[Ch]: added display_graphics variable and associated code.
10390
10391 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10392
10393         * bufferparams.C (hasClassDefaults): new method. Returns true if
10394         the buffer parameters correspond to known class defaults
10395
10396 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10397
10398         * XFormsView.C (show): set minimum size to the main window.
10399
10400 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10401
10402         * text2.C (copySelection):
10403         (cutSelection):
10404         * lyxfind.C (LyXReplace):
10405         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10406         LyXText::selectionAsString.
10407
10408         * paragraph.C (asString): add "label" argument to the second form
10409
10410         * text2.C (selectionAsString): add "label" argument and pass it to
10411         Paragraph::asString.
10412
10413 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10414
10415         * lyx_main.C (commandLineHelp): remove version information
10416
10417 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10418
10419         * lyx_main.C: add -version commandline option
10420
10421 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10422
10423         * paragraph.h: make the optional constructor arg required instead.
10424         some modifications to other files because of this.
10425
10426         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10427
10428         * lyxserver.C (C_LyXComm_callback): make it static
10429
10430         * lyx_main.C (error_handler): make it static
10431
10432         * lyx_gui.C (LyX_XErrHandler): make it static
10433
10434         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10435
10436         * WorkArea.C: make the extern "C" methods static.
10437
10438         * Makefile.am (lyx_LDADD): simplify
10439
10440 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10441
10442         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10443         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10444
10445         * LyXAction.C (init):
10446         * lyxfunc.C (dispatch): associated code removal.
10447
10448 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10449
10450         * lyxfont.h (isSymbolFont): shut off warning
10451
10452         * text.C (setHeightOfRow):
10453         (getVisibleRow): fix crash with empty paragraphs which have a
10454         bottom line
10455
10456 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10457
10458         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10459         code.
10460
10461 2001-09-04  José Matos  <jamatos@fep.up.pt>
10462         * buffer.C
10463         * buffer.h
10464         * tabular.C (docbook): rename docBook method to docbook.
10465
10466 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10467
10468         * Makefile.am: add dependencies to main.o.
10469
10470 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10471
10472         * FontLoader.C (available): Return false if !lyxrc.use_gui
10473
10474 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10475
10476         * FontInfo.C (query):
10477         * converter.C (view):
10478         * importer.C (Import):
10479         * exporter.C (Export): Can not -> cannot.
10480
10481 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10482
10483         * BufferView_pimpl.C: allow to create index inset even if
10484           string is empty
10485
10486 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10487
10488         * buffer.C (getLists): replace boost::tie code with an explicit pair
10489         as boost::tie can break some compilers.
10490
10491         * iterators.h: Added a std:: declaration to the return type of
10492         ParIterator::size.
10493
10494 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10497           case.
10498
10499 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10500
10501         * iterators.[Ch]: New files. Provide paragraph iterators.
10502
10503         * buffer.C (changeLanguage): Use paragraph iterators.
10504         (isMultiLingual): ditto
10505
10506         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10507
10508 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10509
10510         * FontLoader.C: Support for cmr font.
10511
10512 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10513
10514         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10515         (available): New method.
10516
10517         * FontInfo.C (getFontname): Use scalable fonts even when
10518         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10519         found.
10520
10521 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10522
10523         * converter.C (Formats::view): reverted! Incorrect fix.
10524
10525 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10526
10527         * converter.C (Formats::view): only output the -paper option
10528         if the dvi viewer is xdvi, thereby fixing bug #233429.
10529
10530 2001-08-23  Herbert Voss  <voss@perce>
10531
10532         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10533
10534 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10535
10536         * Spacing.h (Spacing): Set space to Default on in the default
10537         constructor.
10538
10539 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10540
10541         * vc-backend.h (RCS::versionString): add RCS to version
10542         (CVS::versionString): add CVS to version
10543
10544         * vc-backend.C (scanMaster): do not add CVS to version.
10545         (scanMaster): do not add RCS to version
10546
10547         * lyxvc.C (versionString): new method
10548
10549         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10550
10551 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10552
10553         * Spacing.C (set): initialize fval
10554
10555 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10556
10557         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10558         " or \.
10559
10560 2001-08-16  Juergen Vigna  <jug@sad.it>
10561
10562         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10563
10564 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10565
10566         * BufferView_pimpl.C:
10567         * figureForm.C:
10568         * lyxtext.h:
10569         * text2.C: setParagraph takes linespacing now
10570
10571 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10572
10573         * LyxAction.C: add internal LFUN_CITATION_INSERT
10574
10575         * LyXView.C: actually apply fix
10576
10577         * bufferlist.C: fix open non-existent file
10578
10579         * lyxfind.C: fix indentation
10580
10581         * lyxfunc.C: remove unneeded assert, fix typo
10582
10583 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10584
10585         * MenuBackend.C: use "Floatname List"
10586
10587 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10588
10589         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10590         when converting LaTeX layout to insetERT.
10591         Generate a non-collapsed float when reading old float
10592
10593 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10594
10595         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10596         ERT insets.
10597
10598 2001-08-13  Juergen Vigna  <jug@sad.it>
10599
10600         * text.C (fill): return 0 instead of 20 as this seems to be the more
10601         correct value.
10602
10603 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10604
10605         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10606         lyxrc.font_norm.
10607
10608 2001-08-13  Juergen Vigna  <jug@sad.it>
10609
10610         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10611         casesensitive off.
10612         (SearchBackward): comment out the unlocking of the inset_owner this
10613         should not be needed!
10614
10615 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10616
10617         * Many files: Remove inherit_language, and add latex_language
10618
10619         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10620         collapsible insets.
10621
10622 2001-08-10  Juergen Vigna  <jug@sad.it>
10623
10624         * text.C (prepareToPrint): fixed hfill-width in draw!
10625
10626         * BufferView2.C (selectLastWord): save the selection cursor as this
10627         now is cleared in the function LyXText::clearSelection!
10628
10629 2001-08-08  Juergen Vigna  <jug@sad.it>
10630
10631         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10632         BACKSPACE type functions.
10633
10634         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10635         is only cutted from the document but not put in the cut-buffer, where
10636         still the old stuff should be.
10637
10638         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10639
10640         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10641
10642         * tabular.C (SetWidthOfCell): fixed special case where the width
10643         was not updated!
10644         (LeftLine): handle '|' in align_special.
10645         (RightLine): ditto
10646         (LeftAlreadyDrawed): ditto
10647         (SetWidthOfCell): ditto
10648
10649 2001-08-07  Juergen Vigna  <jug@sad.it>
10650
10651         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10652
10653 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10654
10655         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10656         * lyxlex.[hC]: ditto
10657
10658 2001-08-06  Juergen Vigna  <jug@sad.it>
10659
10660         * text.C (getVisibleRow): fix up row clearing a bit.
10661
10662 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10663
10664         * minibuffer.C: make sure the X server sees the changes in the input.
10665
10666 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10667
10668         * paragraph.C (getFont): split into...
10669         (getLabelFont): this
10670         (getLayoutFont): and this
10671         * paragraph_pimpl.C (realizeFont): calling this
10672
10673         * text2.C (getFont): split into...
10674         (getLayoutFont): this
10675         (getLabelFont): and this
10676         (realizeFont): all three calling this
10677
10678         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10679         files where used.
10680
10681 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10682
10683         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10684
10685 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10686
10687         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10688         layouts from the Quote inset insertion.
10689
10690 2001-08-03  Juergen Vigna  <jug@sad.it>
10691
10692         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10693
10694         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10695         only if status not is already CHANGED_IN_DRAW (second level).
10696
10697         * text.C (draw): don't set the need_break_row when inside an
10698         InsetText LyXText.
10699
10700 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10701
10702         * buffer.C (parseSingleLyXformat2Token): handle more latex
10703         conversion cases.
10704
10705         * bufferview_funcs.[hC]: change function names to
10706         begin with small char, adjust other files.
10707
10708 2001-08-02  André Pönitz <poenitz@gmx.net>
10709
10710         * lyxfunc.C:
10711         BufferView_pimpl.C: remove broken special code for math-greek
10712
10713 2001-08-02  Juergen Vigna  <jug@sad.it>
10714
10715         * BufferView_pimpl.C (update): redone this function so that we
10716         update the text again if there was a CHANGE_IN_DRAW.
10717
10718         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10719         (drawFromTo): added a new internal bool which is used by draw() and
10720         redraw() function.
10721         (general): some cursor drawing problems fixed.
10722
10723 2001-08-01  Juergen Vigna  <jug@sad.it>
10724
10725         * lyxfind.C (LyXFind): fixed
10726         (SearchForward): ditto
10727         (SearchBackward): ditto
10728
10729         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10730         spurius drawing of the cursor in the main area.
10731
10732         * text2.C (status): small fix which could lead to a segfault!
10733         (clearSelection): remove unneeded BufferView param.
10734
10735 2001-08-01  André Pönitz <poenitz@gmx.net>
10736
10737         * lyxfunc.C: small change due to changed mathed interface
10738
10739 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10740
10741         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10742
10743 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10744
10745         * lyxfunc.c: fail gracefully if file doesn't exist
10746
10747         * LyXSendto.C:
10748         * buffer.C:
10749         * lyxfunc.C:
10750         * BufferView_pimpl.C: IsDirWriteable() proto changed
10751
10752         * LyXView.C: fix updateWindowTitle() to store the last title
10753
10754 2001-07-31  Juergen Vigna  <jug@sad.it>
10755
10756         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10757         the font (wrong since using of Paragraph::highestFontInRange).
10758
10759         * paragraph.C (highestFontInRange): added a default_size parameter.
10760
10761         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10762         (setHeightOfRow): reformat
10763
10764 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10765
10766         * converter.[hC] + affected files: move to (inital-char)lowercase
10767         function names.
10768
10769         * ParagraphParameters.C (ParagraphParameters): remove commented code
10770
10771         * PainterBase.[Ch]: remove commented code
10772
10773         * LaTeXFeatures.h: add "bool floats" for float.sty
10774
10775         * LaTeXFeatures.C (LaTeXFeatures): init floats
10776         (require): handle float
10777         (getPackages): do it with floats
10778
10779 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10780
10781         * BufferView_pimpl.C (Dispatch): improve handling of
10782         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10783
10784         * commandtags.h: #include lyxfont.h here temporarily to avoid
10785         keybinding bug.
10786
10787         * bufferlist.h: include LString.h here.
10788
10789 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10790
10791         * text2.C (getStringToIndex): new method.
10792
10793 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10794
10795         * *: Reduced header file dependencies all over.
10796
10797 2001-07-30  Baruch Even  <baruch@lyx.org>
10798
10799         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10800
10801 2001-07-29  Baruch Even  <baruch@lyx.org>
10802
10803         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10804
10805 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10806
10807         * ParameterStruct.h (endif): add a default constructor to make
10808         sure that all variables is initialized.
10809
10810         * ParagraphParameters.C (ParagraphParameters): adjust
10811
10812 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10813
10814         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10815         index; also, check that there is something to index, and that it
10816         does not span over several paragraphs.
10817         (doubleClick): use WHOLE_WORD_STRICT for double click.
10818
10819         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10820
10821         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10822         scheme.
10823
10824 2001-07-26  Baruch Even  <baruch@lyx.org>
10825
10826         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10827         an InsetFig figure, backwards compatible reading of old figure code.
10828
10829 2001-07-27  Juergen Vigna  <jug@sad.it>
10830
10831         * text2.C: font.realize function adaption.
10832
10833         * text.C (draw): add a warnings lyxerr text if needed.
10834
10835         * layout.C: font.realize function adaption.
10836
10837         * language.C: add inherit_language and implement it's handlings
10838
10839         * bufferview_funcs.C (StyleReset): remove language parameter from
10840         font creation (should be language_inherit now).
10841
10842         * bufferparams.C (writeFile): handle ignore_language.
10843
10844         * paragraph.C (getFontSettings): the language has to be resolved
10845         otherwise we have problems in LyXFont!
10846
10847         * lyxfont.C (lyxWriteChanges): added document_language parameter
10848         (update): removed unneeded language parameter
10849
10850         * paragraph.C (validate): fixed wrong output of color-package when
10851         using interface colors for certain fonts in certain environments,
10852         which should not seen as that on the final output.
10853
10854 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10855
10856         * BufferView_pimpl.C:
10857         * Thesaurus.h:
10858         * Thesaurus.C:
10859         * Makefile.am:
10860         * commandtags.h:
10861         * LyXAction.C: add thesaurus support
10862
10863         * lyxfind.h:
10864         * lyxfind.C: add "once" parameter, for thesaurus, to not
10865           move to the next match
10866
10867 2001-07-26  Juergen Vigna  <jug@sad.it>
10868
10869         * lyxfont.C (realize): honor ignore_language too!
10870         (resolved): ditto.
10871
10872         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10873
10874         * text.C (draw): one place more for ignore_language to not draw
10875         itself!
10876
10877 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10878
10879         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10880
10881 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10882
10883         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10884         the minipage conversion problem.
10885
10886 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10887
10888         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10889         insert an inset.
10890
10891 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10892
10893         * BufferView.h: don't forward declare WorkArea
10894
10895         * BufferView.C: don't include WorkArea.h
10896
10897 2001-07-25  André Pönitz <poenitz@gmx.net>
10898
10899         * commandtags.h:
10900         * LyXAction.C:
10901         * lyxfunc.C:  new LFUN 'math-space'
10902
10903         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10904
10905 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10906
10907         * text2.C (toggleInset): call open/close
10908
10909 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10910
10911         * lyxfunc.C (dispatch): add debug for the disabled case
10912
10913         * font.C (buttonText): make similar to rectText
10914
10915         * buffer.C (readInset): comment out parsing of insetlist and
10916         insttheorem
10917
10918         * PainterBase.C (rectText): small correction
10919
10920         * BufferView_pimpl.C: comment out insettheorem and insetlist
10921         * LyXAction.C: ditto
10922         * commandtags.h: ditto
10923
10924 2001-07-24  Juergen Vigna  <jug@sad.it>
10925
10926         * text.C (draw): honor the ignore_language.
10927
10928         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10929
10930 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10931
10932         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10933         char inset.
10934
10935 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10936
10937         * lyxtext.h: remove unused (and unimplemented) methods
10938
10939 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10940
10941         * text.C (getVisibleRow): honor background color
10942
10943         * PainterBase.h:
10944         * Painter.h: remove default color argument for fillRectangle
10945
10946         * text.C (backgroundColor): new method
10947
10948 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10949
10950         * text.C (getVisibleRow): adjust
10951
10952         * font.[Ch] (rectText): new method, metrics
10953         (buttonText): new method, metrics
10954
10955         * PainterBase.[hC]: make rectText and buttonText always draw and take
10956         fewer paramteres.
10957
10958 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10959
10960         * ToolbarDefaults.C (read):
10961         * MenuBackend.C (read): allow escaping in all strings
10962
10963         * BufferView_pimpl.C (insertAndEditInset): new method.
10964         (Dispatch): use insertAndEditInset whenever appropriate.
10965
10966         * BufferView_pimpl.C (insertNote): removed
10967
10968         * BufferView_pimpl.C (smartQuote): new method, moved from
10969         BufferView; if an insetquote cannot be inserted, insert a '"'
10970         character instead.
10971
10972         * BufferView2.C: remove insertCorrectQuote();
10973
10974         * lyxfunc.C (getStatus): Add support for all remaingin
10975         inset-insert lfuns.
10976
10977         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10978
10979         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10980         command (necessary to pass " as parameter of self-insert.
10981
10982         * text.C (selectWordWhenUnderCursor):
10983         (selectWord): add word_location parameter
10984         (selectWordWhenUnderCursor): same + remove special code for word
10985         boundary.
10986         (selectNextWord): use kind() to guess type of insetspecialchar,
10987         not latex().
10988
10989         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10990         (insertErtContents): create ert insets as collapsed.
10991         (readInset): better compatibility code for Info inset.
10992
10993 2001-07-20  Juergen Vigna  <jug@sad.it>
10994
10995         * lyxfunc.C (dispatch): use always LyXFind now!
10996
10997         * text2.C (init): add a reinit flag so that the LyXText can be
10998         reinited instead of deleted and reallocated (used in InsetText).
10999
11000         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11001
11002         * text.C: ditto
11003
11004         * text2.C: ditto
11005
11006 2001-07-18  Juergen Vigna  <jug@sad.it>
11007
11008         * text.C (selectNextWord): handle insets inside inset by calling
11009         always the bv->text functions so that we can go up the_locking_inset!
11010
11011         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11012         in strange locations when inside an inset!
11013
11014         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11015         handling to include insets.
11016
11017         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11018
11019 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11020
11021         * LyXAction.C (init):
11022         * commandtags.h:
11023         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11024         LIGATURE_BREAK, since the name is so stupid.
11025
11026 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11027
11028         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11029         InsetInfos.
11030
11031         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11032
11033         * sp_form.[Ch]: remove.
11034
11035         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11036
11037         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11038         InsetInfo.
11039
11040         * src/buffer.C (readInset): ditto.
11041
11042 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11043
11044         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11045         menuSeparator(), endOfSentenceDot(), ldots() and
11046         hyphenationPoint(), which are therefore removed.
11047         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11048
11049         * LyXAction.C (init):
11050         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11051
11052         * paragraph.C (getWord): removed.
11053
11054         * BufferView_pimpl.C (Dispatch): use last word or selection for
11055         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11056
11057         * lyx_main.C (queryUserLyXDir): do not ask before creating
11058         user_dir, except if it has been named explicitely.
11059
11060 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11061
11062         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11063         a document of zero size.
11064
11065 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11066
11067         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11068         approriately in the c-tor and in require().
11069         (getPackages): output the appropriate LaTeX for natbib support.
11070
11071         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11072         variables "use_natbib" and "use_numerical_citations" when reading the
11073         LyX file.
11074         (readInset): read the various natbib cite commands.
11075         (validate): white-space change.
11076
11077         * bufferparams.[Ch]: new variables "bool use_natbib" and
11078         "bool use_numerical_citations".
11079         (writeFile): output them in the LyX file.
11080
11081 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11082
11083         * lyxfunc.C (getStatus): add support for all the inset insertion
11084         commands.
11085
11086         * text2.C (insertInset):
11087         * paragraph.C (insetAllowed):
11088         * BufferView_pimpl.C (insertInset): update to take in account the
11089         renaming of insertInsetAllowed
11090
11091         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11092
11093         * text2.C (getInset): new method. returns inset at cursor position.
11094
11095         * BufferView_pimpl.C (Dispatch): changes because of this.
11096
11097         * LyXAction.C (init): rename open-stuff to inset-toggle.
11098
11099         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11100
11101         * text2.C (toggleInset): renamed from openStuff; use
11102         Inset::open().
11103
11104 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11105
11106         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11107
11108         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11109
11110 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11111
11112         * buffer.C (readLyXformat2): Add filename to the error dialog
11113
11114 2001-07-18  Juergen Vigna  <jug@sad.it>
11115
11116         * tabular.C (GetCellNumber): put an assert here instead of the check!
11117
11118 2001-07-17  Juergen Vigna  <jug@sad.it>
11119
11120         * BufferView_pimpl.C (toggleSelection): adapted too.
11121
11122         * text.C (selectNextWord): adapted for use with insets.
11123         (selectSelectedWord): ditto
11124
11125 2001-07-17  Juergen Vigna  <jug@sad.it>
11126
11127         * sp_spell.C (PSpell): fix initialitation order.
11128
11129 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11130
11131         * paragraph.C: spacing
11132
11133 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11134
11135         * sp_spell.C: repair language selection for pspell
11136
11137 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11138
11139         * lyxfunc.h: change more methods to begin with lower char.
11140
11141 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11142
11143         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11144         for unknown layouts.
11145
11146 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11147
11148         * buffer.C (readLyXformat2): Generate an error dialog if there are
11149         unknown layouts.
11150
11151 2001-07-16  Juergen Vigna  <jug@sad.it>
11152
11153         * sp_spell.C: always compile ISpell part.
11154
11155         * lyxrc.C: added use_pspell entry and it's handling.
11156
11157 2001-07-13  Juergen Vigna  <jug@sad.it>
11158
11159         * sp_spell.C: removed double includes.
11160
11161 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11162
11163         Consistent use of Lsstream.h:
11164         * Lsstream.h: added using std::stringstream for consistencies sake.
11165
11166         * buffer.C: removed using std::stringstream
11167
11168         * lyxfont.C (stateText):
11169         * paragraph.C (asString):
11170         * text.C (selectNextWord, selectSelectedWord):
11171         * text2.C (setCounter):
11172         * vspace.C (asString, asLatexString):
11173         std::ostringstream -> ostringstream.
11174
11175 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11176
11177         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11178         * commandtags.h: add LFUN_HELP_ABOUTLYX
11179         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11180
11181 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11182
11183         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11184         cursorToggle()
11185         * lyx_gui_misc.C: remove spellchecker
11186         * lyxfunc.C: showSpellchecker
11187         * sp_base.h: added
11188         * sp_ispell.h: added
11189         * sp_pspell.h: added
11190         * sp_spell.C: added
11191         * sp_form.[Ch]: removed
11192         * spellchecker.[Ch]: removed
11193
11194 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11195
11196         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11197         is set.
11198         (simpleTeXSpecialChars): Simply print the input character without
11199         any special translation if pass_thru is set.
11200
11201         * layout.h: Added bool pass_thru to layout class for being able to
11202         implement pass through of a paragraph for Literate Programming.
11203
11204         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11205         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11206         * layout.C (Read): add "passthru" to list of layout tags and add
11207         code to set the pass_thru boolean when it is read.
11208
11209 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11210
11211         * trans_decl.h: remove allowed from KmodInfo
11212
11213         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11214         remove allowed code
11215         (Load): adjust
11216
11217         * paragraph_pimpl.C (erase): use boost::prior
11218
11219         * Painter.C (text): use data() instead of c_str() when length is
11220         also provided.
11221         * WorkArea.C (putClipboard): ditto
11222         * font.h (width): ditto
11223
11224         * BufferView2.C: use it-> instead of (*it). for iterators
11225         * texrow.C: ditto
11226         * paragraph_pimpl.C: ditto
11227         * paragraph.C: ditto
11228         * minibuffer.C: ditto
11229         * language.C: ditto
11230         * kbmap.C: ditto
11231         * encoding.C: ditto
11232         * counters.C: ditto
11233         * converter.C: ditto
11234         * chset.C: ditto
11235         * Variables.C: ditto
11236         * TextCache.C: ditto
11237         * MenuBackend.C: ditto
11238         * LyXAction.C: ditto
11239         * LColor.C: ditto
11240         * FloatList.C: ditto
11241         * DepTable.C: ditto
11242         * ColorHandler.C (LyXColorHandler): ditto
11243
11244 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11245
11246         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11247
11248         * text2.C (openStuff): reintroduce this method (which had been
11249         nuked in NEW_INSETS frenzy).
11250
11251         * lyxfunc.C (Dispatch): when an action has not been handled, use
11252         its name in the error message, not its number.
11253
11254         * paragraph.C (inInset): change method name to begin with lowercase.
11255
11256         * undo_funcs.C:
11257         * text2.C: updates because of this.
11258
11259 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11260
11261         * ToolbarDefaults.C (add): add spaces in error message
11262
11263 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11264
11265         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11266         (readLyXformat2): rename return_par to first_par, use lyxlex's
11267         pushToken and remove the manual push handling.
11268         (parseSingleLyXformat2Token): add another ert comp. variable:
11269         in_tabular, rename return_par to first_par. handle newlines better
11270
11271 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11272
11273         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11274
11275 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11276
11277         * text2.C (getParFromID): removed
11278
11279         * buffer.C (getParFromID): new method moved form lyxtext.
11280         * BufferView2.C (insertErrors): adjust
11281         (setCursorFromRow): adjust
11282         * BufferView_pimpl.C (restorePosition): adjust
11283         * lyxfunc.C (Dispatch): adjust
11284         * undo_funcs.C (textUndo): adjust
11285         (textRedo): adjust
11286         (textHandleUndo): adjust
11287         (textHandleUndo): adjust
11288
11289 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11290
11291         * buffer.C: up' the LYX_FORMAT
11292
11293         * lyxfont.h: turn NO_LATEX on as default
11294
11295         * buffer.C (insertErtContents): new methods of tex style compability.
11296         (parseSingleLyXformat2Token): use it several places.
11297         * tabular.C (OldFormatRead): and here
11298
11299 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11300
11301         * text2.C: remove some commented code.
11302         reindent file.
11303
11304         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11305         * trans.C: changes because of the above.
11306
11307 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11308
11309         * text2.C (setCounter): Fix counters bug with bibliography layout.
11310
11311 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11312
11313         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11314         own member functions
11315         (simpleTeXSpecialChars): ditto
11316
11317 2001-07-06  Juergen Vigna  <jug@sad.it>
11318
11319         * a lot of files: changed the access to LyXText::status and the
11320         call of undo-functions.
11321
11322         * undo.[Ch]: added a inset_id to the undo informations.
11323
11324         * undo_funcs.[Ch]: added and moved here all undo functions.
11325
11326         * lyxtext.h: give the status enum a weight, made status_ a private
11327         variable and made accessor functions for it, removed the whole bunch
11328         of undo-functions as they are now in their own file, make some
11329         functions publically available. Added function ownerParagraph with
11330         int parameter.
11331
11332         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11333         made InInset() a const function, added getParFromID() function.
11334
11335         * buffer.[Ch]: added const version for inset_iterator functions,
11336         added getInsetFromID() function.
11337
11338         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11339         changed undo functions for new version.
11340
11341 2001-07-05  Juergen Vigna  <jug@sad.it>
11342
11343         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11344         unknow mechanism does not call the proper constructor but only this
11345         one also if I request the other!?
11346
11347 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11350
11351         * text2.C (LyXText): use initialization lists.
11352
11353         * lyxtext.h (Selection): initialize set_ and mark_
11354         (init): remove method
11355
11356 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11357
11358         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11359
11360 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11361
11362         * screen.[Ch]: change method names to begin with lowercase
11363
11364         * BufferView_pimpl.C (updateScrollbar): simplify further and
11365         hopefully make it a bit faster.
11366
11367 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11368
11369         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11370         calling directly xforms functions.
11371
11372         * Painter.C (Painter):
11373         * lyx_cb.C (MenuWrite):
11374         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11375         fl_display.
11376
11377         * lyx_gui.C: remove bogus guiruntime extern declaration.
11378
11379 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11380
11381         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11382         in NEW_INSETS
11383         (redoDrawingOfParagraph): ditto
11384         (redoParagraphs): ditto
11385         (cutSelection): don't create a object for CutAndPaste use the
11386         static method directly
11387         (pasteSelection): ditto
11388
11389         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11390         LyXview (+ rename)
11391
11392 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11393
11394         * modifications to some other files because of this.
11395
11396         * Makefile.am (lyx_SOURCES): add XFormsView
11397
11398         * XFormsView.[Ch]: new files
11399
11400         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11401         the main window. Move the gui dependent stuff to XFormsView
11402
11403 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11404
11405         * tabular.C (GetCellInset): update cur_cell also in the row/col
11406         version of this function.
11407
11408         * lyxfunc.C: no need to include figure_form.h here.
11409
11410         * FontLoader.h:
11411         * lyxfunc.h:
11412         * lyxscreen.h:
11413         * text2.C:
11414         * lyxvc.C: no need to include forms.h here.
11415
11416 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11417
11418         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11419
11420         * lyxfunc.C (Dispatch):
11421         * Spacing.C (set):
11422         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11423         constructor argument.
11424
11425 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11426
11427         * paragraph.C (Paragraph): dont't clear, and just set layout.
11428         (makeSameLayout): use params's copy contructor.
11429
11430         * ParagraphParameters.[Ch] (makeSame): delete method
11431
11432 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11433
11434         * Variables.[Ch]: fix indentation, rename set to isSet
11435
11436 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11437
11438         * lyxfunc.C (Dispatch): fix typo
11439
11440 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11441
11442         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11443         upper_bound.
11444
11445         * bufferlist.C: include assert.h for emergencyWrite().
11446
11447 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11448
11449         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11450           give up at last (bug #425202) !
11451
11452 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11453
11454         * lyx_gui_misc.C:
11455         * sp_form.h:
11456         * sp_form.C:
11457         * spellchecker.h:
11458         * spellchecker.C: strip spellchecker options and bring up
11459           preferences tab instead
11460
11461 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11462
11463         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11464         the istringstream constructor
11465
11466 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11467
11468         * paragraph.C (getLayout): fix return value
11469
11470         * paragraph.h: do not declare getLayout as inline.
11471
11472         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11473
11474 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11475
11476         * lyxcursor.h (operator<): new func
11477         (operator>): new func
11478         (operator>=): new func
11479         (operator<=): new func
11480
11481         * text.C (changeCase): use selection.start and selection.end
11482         (changeRegionCase): require from to be <= to. Require par to be a
11483         valid paragraph.
11484
11485         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11486
11487 2001-06-27  Juergen Vigna  <jug@sad.it>
11488
11489         * text.C (cursorLeftOneWord): changed to return the cursor and added
11490         overlay with BufferView * parameter which calls this one.
11491         (getWord): added
11492         (selectWord): use new getWord function.
11493         (changeCase): renamed from changeWordCase as and extended to work
11494         also on selections.
11495
11496         * lyxtext.h: added enum word_location
11497
11498         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11499         changeCase as this operates now also on selections.
11500
11501 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11502
11503         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11504
11505         * many files: send debug output to Debug::INFO instead of
11506         Debug::ANY.
11507
11508         * converter.C (View):
11509         (Convert):
11510         (Move): send debug output to Debug::FILES instead of console.
11511
11512 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11513
11514         * lyxfunc.C (getStatus): use func_status
11515
11516         * func_status.h: new header, describing the results of
11517         LyXFunc::getStatus;
11518
11519         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11520         LFUN_MATH_HALIGN.
11521
11522 2001-06-25  The LyX Project  <jug@sad.it>
11523
11524         * buffer.C (sgmlOpenTag):
11525         (sgmlCloseTag):
11526         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11527
11528 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11529
11530         * text2.C: remove some dead code
11531
11532         * tabular.C (GetCellInset): store the last cell checked (gotten)
11533
11534         * tabular.h: add the helper for the speedup
11535
11536         * lyxtext.h: remove some dead code
11537
11538 2001-06-26  The LyX Project  <Asger>
11539
11540         * paragraph.C: Change export to LaTeX of alignment to
11541         \begin{center} and family for better roundtrip work with reLyX.
11542
11543         * Tune the math drawing a bit.
11544
11545 2001-06-25  The LyX Project  <Asger>
11546
11547         * LColor.C (LColor): New color for math background. New color
11548         for buttons.
11549
11550 2001-06-25  The LyX Project  <jug@sad.it>
11551
11552         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11553
11554         * lyxfunc.C (Open):
11555         * bufferlist.C (newFile): do not restrict to files ending with
11556         .lyx
11557
11558         * BufferView_pimpl.C (MenuInsertLyXFile):
11559
11560 2001-06-24  The LyX Project  <jug@sad.it>
11561
11562         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11563         of compare_no_case
11564
11565 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11566
11567         * lyxtext.h: rename most methods to begin with a small char.
11568         Lots of changes because of this.
11569
11570         * paragraph.C (Paragraph): do not call fitToSize
11571         (erase): call Pimpl::erase
11572         (insertChar): call Pimpl::insertChar
11573         (insertInset): call Pipl::insertInset
11574         (breakParagraph): do not call fitToSize
11575         (breakParagraphConservative): do not call fitToSize
11576         (fitToSize): remove method
11577
11578         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11579
11580 2001-06-24  The LyX Project  <Asger>
11581
11582         * Fix Qt compilation^2
11583
11584 2001-06-24  The LyX Project  <jug@sad.it>
11585
11586         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11587         depthHook(getDepth()-1).
11588
11589         * paragraph.h:
11590         * ParagraphParameters.h:
11591         * ParameterStruct.h: change type of depth to unsigned int ==
11592         depth_type. Many adaptations to other files before of that.
11593
11594 2001-06-24  The LyX Project  <Asger>
11595
11596         * Fix Qt compilation.
11597
11598 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11599
11600         * paragraph.h: renamed several methods to begin with small letter.
11601         several changes to many parts of the code because of this.
11602
11603 2001-06-23  The LyX Project  <jug@sad.it>
11604
11605         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11606         rewritten to discard all double spaces when KeepEmpty is off
11607         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11608         to only handle newlines but not fiddle with spaces and friends.
11609
11610         * lyxfunc.C (MenuNew): when doing 'new from template', use
11611         template_path as default directory
11612
11613 2001-06-23  The LyX Project  <Asger>
11614
11615         * Clean-up of header file includes all over
11616         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11617
11618 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11619
11620         * paragraph.h: renamed from lyxparagraph.h
11621
11622 2001-06-23  Asger  <lyx@violet.home.sad.it>
11623
11624         * Buffer.h: Removed Buffer::resize
11625         * BufferList.h: Removed BufferList::resize
11626         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11627         the document lazily when we change the width, or the font settings.
11628
11629 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11630
11631         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11632
11633 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11634
11635         * buffer.h: remove out of date comment
11636
11637 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11638
11639         * lyxscreen.h:
11640         * screen.C: fix "theoretical" GC leak
11641
11642 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11643
11644         * LaTeX.C (scanAuxFile):
11645         (deplog): remove trailing \r when reading stream (useful under
11646         win32)
11647
11648 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11649
11650         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11651         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11652         and BufferView::theLockingInset(Inset*), so should use them and not
11653         access bv_->text->the_locking_inset directly.
11654
11655         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11656
11657 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11658
11659         * Makefile.am:
11660         * tex-defs.h: remove old unused file
11661
11662 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11663
11664         * BufferView_pimpl.C: fix typo, remove minibuffer message
11665           when buffer has loaded
11666
11667 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11668
11669         * lyxfunc.C (Dispatch): use stringstream
11670         (MenuNew): use stringstream
11671         (Open): use stringstream
11672
11673         * importer.C (Import): use stringstream
11674
11675         * bufferview_funcs.C (CurrentState): use stringstream
11676
11677         * LaTeX.C (run): use stringstream
11678
11679         * BufferView_pimpl.C (savePosition): use stringstream
11680         (restorePosition): use stringstream
11681         (MenuInsertLyXFile): use stringstream
11682
11683 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11684
11685         * BufferView.C:
11686         * Bullet.C:
11687         * ColorHandler.C:
11688         * FontInfo.C:
11689         * FontLoader.C:
11690         * LColor.C:
11691         * LaTeXFeatures.C:
11692         * Painter.C:
11693         * gettext.C:
11694         * lyx_gui_misc.C:
11695         * lyxserver.C:
11696         * vspace.C: removed // -*- C++ -*- as first line.
11697
11698         * lyxfind.h:
11699         * version.h: added // -*- C++ -*- as first line.
11700
11701 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11702
11703         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11704
11705         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11706         of string
11707
11708 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11709
11710         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11711         of floats.
11712
11713 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11714
11715         * gettext.C: include LString.h even when --disable-nls is on.
11716
11717 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11718
11719         * converter.h (Get): changed argument type from int to
11720         FormatList::size_type to avoid unnecessary conversion.
11721
11722         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11723         before using it.
11724
11725 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11726
11727         * gettext.h: include LString.h even when --disable-nls is on.
11728
11729 2001-06-07  Juergen Vigna  <jug@sad.it>
11730
11731         * text.C (BreakAgain): subst spaces with tabs.
11732
11733         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11734         (resizeInsetsLyXText): set force on resizeLyXText.
11735
11736 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11737
11738         * gettext.h (gettext_init):
11739         (locale_init): use a real definition instead of a macro
11740
11741 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11742
11743         * Bufferview_pimpl.C:
11744         * LColor.h:
11745         * LColor.C: further lcolor tidies
11746
11747 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11748
11749         * BufferView_pimpl.C (updateScrollbar): simplify.
11750
11751         * BufferView2.C: don't include insets/insetinfo.h, change
11752         prototype for insertInset and call the Pimpl version. let
11753         updateInset call Pimpl version.
11754
11755         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11756         gotoInset to BufferView::Pimpl
11757
11758 2001-06-01  Juergen Vigna  <jug@sad.it>
11759
11760         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11761         inside a LockingInset (is the update needed at all?).
11762
11763 2001-05-31  Juergen Vigna  <jug@sad.it>
11764
11765         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11766         here not the old one otherwise how should we compare it afterwards
11767         if it's the same!
11768
11769 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11770
11771         * lyxfont.C:
11772         * tabular.C:
11773         * tabular-old.C:
11774         * FontInfo.C: bring C functions into global namespace when
11775         necessary
11776
11777 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11778
11779         * LString.h: make sure config.h has been loaded before LString.h.
11780
11781         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11782         (one for each char read by EatLine!).
11783
11784         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11785         variables.
11786
11787 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11788
11789         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11790         to the same as the par we break from
11791
11792 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11793
11794         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11795
11796         * MenuBackend.C (expand): also create menu entries for wide
11797         versions of the floats.
11798
11799         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11800
11801         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11802
11803         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11804         frontends/Makefile.am
11805
11806         * text2.C: adjust
11807         * text.C: adjust
11808
11809
11810         * tabular.C (getTokenValue): add std::
11811
11812         * tabular-old.C (getTokenValue): add std::
11813         (getTokenValue): ditto
11814         (getTokenValue): ditto
11815
11816         * screen.C (ToggleSelection): adjust
11817
11818         * lyxtext.h: put selection cursors inside a Selection struct.
11819
11820         * lyxfunc.C (moveCursorUpdate): adjust
11821
11822         * lyxfont.C (latexWriteStartChanges): add std::
11823
11824         * lyxfind.C: adjust
11825
11826         * font.h: delete with(char const *, LyXFont const &)
11827
11828         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11829
11830         * FontInfo.C (getFontname): add std::
11831
11832         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11833         (workAreaButtonPress): adjust
11834         (tripleClick): adjust
11835         (update): adjust
11836         (moveCursorUpdate): adjust
11837         (Dispatch): adjust
11838
11839         * BufferView2.C (gotoInset): adjust
11840
11841 2001-05-30  Juergen Vigna  <jug@sad.it>
11842
11843         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11844         to check pspell I add this as default as I now have new pspell
11845         libraries and they seem to use this.
11846
11847 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11848
11849         * text2.C (CutSelection): make the cursor valid before the call to
11850         ClearSelection.
11851
11852 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11853
11854         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11855         relied on 0 terminated strings and other horrors. Bug found due to
11856         the new assert in lyxstring!
11857
11858         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11859         KP_ keys.
11860
11861 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11862
11863         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11864         to latinkeys.bind.
11865
11866         * lyxfunc.C (processKeySym): change method of getting to the
11867         self-insert char.
11868
11869         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11870         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11871         * BufferView_pimpl.[Ch]: here as private methods.
11872
11873 2001-05-28  Juergen Vigna  <jug@sad.it>
11874
11875         * text.C (SetHeightOfRow): added the update() call again as it is
11876         needed to initialize inset dimensions!
11877
11878 2001-05-16  Juergen Vigna  <jug@sad.it>
11879
11880         * text2.C (SetCharFont): Add new function with BufferView * and
11881         bool toggleall parameters for setting insets internal fonts.
11882         (SetFont): Freeze the undo as we may change fonts in Insets and
11883         all this change should be inside only one Undo!
11884
11885         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11886         setting font's in insets as for them we have the SetFont function!
11887
11888 2001-05-15  Juergen Vigna  <jug@sad.it>
11889
11890         * text2.C (ClearSelection): to be sure we REALLY don't have any
11891         selection anymore!
11892
11893         * tabular.C (TeXCellPreamble): fixed the left border problem for
11894         multicolumn cells.
11895
11896 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11897
11898         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11899         dependancy file
11900
11901 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11902
11903         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11904         LFUN_BREAKPARAGRAPH.
11905
11906         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11907         help test to "internal only", similar for LFUN_INSERT_URL
11908
11909         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11910         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11911         auto_region_delete and deadkeys.
11912
11913 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11914
11915         * LColor.h:
11916         * LColor.C: remove some dead entries, tidy a little
11917
11918 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11919
11920         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11921         commented code.
11922         (Dispatch): implement LFUN_ESCAPE
11923
11924         * commandtags.h: add LFUN_ESCAPE
11925
11926         * LyXAction.C (init): add entry for LFUN_ESCAPE
11927
11928         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11929         Remove commented code.
11930         (insertNote): moved here
11931         (open_new_inset): moved here
11932
11933         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11934         BufferView_pimpl
11935
11936 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11937
11938         * kbmap.C (findbinding): clean it up and make it work correctly.
11939
11940         * lyx_main.C (init): do not pass argc and argv as parameters
11941
11942 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11943
11944         * buffer.C: fix path for OS/2 & Win32
11945
11946         * lyx_gui.C:
11947         * lyx_main:
11948         * lyx_main.C: Added os:: class.
11949
11950         * os2_defines.h: update
11951
11952 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11953
11954         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11955         better by trying again with reduced state.
11956
11957 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11958
11959         * lyxrc.C (read): print error about invalid key sequence only when
11960         debugging (because not all latinX keysyms are known to some X
11961         servers)
11962
11963         * kbsequence.C (getiso): add a few std:: qualifiers
11964         (getiso): comment out extra return statement.
11965
11966 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11967
11968         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11969         handling.
11970         (Dispatch): enhance the accent inset a bit. (not perfect)
11971
11972 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11973
11974         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11975
11976 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11977
11978         * bufferlist.C (emergencyWrite): fix assert() call
11979
11980 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11981
11982         * text.C (InsertChar): Added trivial patch to only send the "you
11983         can not do multiple spaces this way" message once during a
11984         session.
11985
11986 2001-05-08  Baruch Even  <baruch@lyx.org>
11987
11988         * Makefile.am: Changed order of libraries to get LyX to link properly
11989         with the gnome frontend.
11990
11991 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11992
11993         * LaTeXFeatures.h: add a std:: qualifier
11994
11995 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11996
11997         * paragraph.C (String): use stringstream
11998
11999 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * paragraph.C (writeFile): remove footflag arg
12002
12003         * buffer.C (makeLaTeXFile): use stringstream
12004         (latexParagraphs): remove footnot gurba
12005
12006         * LaTeXFeatures.C (getPackages): use stringstream
12007         (getMacros): likewise
12008         (getTClassPreamble): likewise
12009         (getFloatDefinitions): new method
12010
12011         * paragraph.C (writeFile): reindent
12012         (Erase): reindent
12013
12014         * WorkArea.h: revert the xpos + etc changes.
12015
12016         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12017
12018         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12019
12020         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12021         (pasteSelection): likewise
12022         * text2.C (CreateUndo): likewise
12023
12024 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12025
12026         * minibuffer.C (peek_event): temporarily reduce the functionality
12027         of the minibuffer (to allow args on lfuns)
12028
12029         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12030         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12031
12032         * buffer.C (readInset): add compability reading of old float
12033         lists, add reading of new style float list.
12034         (readInset): avoid reevaluation of inscmd.getCmdName()
12035         (getLists): reindent
12036
12037         * MenuBackend.C (MenuItem): implement parsing of
12038         md_floatlistinsert and md_floatinsert.
12039         (expand::LastFiles): move initalizaton of iterators out of loop,
12040         avoid reevaluation.
12041         (expand::Documents): introduce typdedef vector<string> Strings,
12042         and use it.
12043         (expand::ExportFormats): introduce typedef vector<Format const *>
12044         Formats, and use it.
12045         (expand): implement FloatListInsert and FloatInsert.
12046
12047         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12048         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12049         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12050
12051         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12052         handling.
12053         (Dispatch::LFUN_FLOAT_LIST): implement
12054
12055 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12056
12057         * LaTeX.C (run): Fix problem with --export code.
12058
12059 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12060
12061         * BufferView.[Ch] (workarea): removed.
12062         (getClipboard) new method; wrapper for workarea()->getClipboard()
12063
12064         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12065         bug.
12066
12067         * WorkArea.h (width, height, xpos, ypos): These methods all
12068         returned the dimensions of the work_area sub-area of WorkArea,
12069         resulting in a position error if the WorkArea were resized. Now
12070         return the dimensions of the entire WorkArea.
12071
12072         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12073
12074 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12075
12076         * LaTeX.C (deplog): correct the syntax of regex reg1
12077
12078 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12079
12080         * undo.C: remove !NEW_INSETS cruft
12081
12082 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12083
12084         * text2.C: remove !NEW_INSETS cruft
12085
12086         * text.C: remove !NEW_INSETS cruft
12087
12088         * tabular.C: remove !NEW_INSETS cruft
12089
12090         * spellchecker.C: remove !NEW_INSETS cruft
12091
12092         * lyxtext.h: remove !NEW_INSETS cruft
12093
12094         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12095
12096         * lyxfunc.C: remove !NEW_INSETS cruft
12097
12098         * lyxfind.C: remove !NEW_INSETS cruft
12099
12100         * lyx_cb.C: remove !NEW_INSETS cruft
12101
12102         * figureForm.C: remove  !NEW_INSETS cruft
12103
12104         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12105
12106         * buffer.[Ch]: remove !NEW_INSETS cruft
12107
12108         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12109
12110         * CutAndPaste.C: remove !NEW_INSETS cruft
12111
12112         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12113
12114         * BufferView2.C: remove !NEW_INSETS cruft
12115
12116         * BufferView.h: remove !NEW_INSETS cruft
12117
12118 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12119
12120         * Lsstream.h: include LString.h before the sstream headers to
12121         fix problem with gcc 2.95.3 and lyxstring
12122
12123 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12124
12125         * lyx_main.C: add using directives when needed for C functions
12126         declared in std:: namespace.
12127
12128 2001-04-27  Juergen Vigna  <jug@sad.it>
12129
12130         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12131         (SetHeightOfRow): comment out the update call should not be needed!
12132
12133 2001-04-13  Juergen Vigna  <jug@sad.it>
12134
12135         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12136         (LyXTabular): tried to minimize operator= operations (and realized
12137         hopfully Lars wish).
12138
12139 2001-04-27  Juergen Vigna  <jug@sad.it>
12140
12141         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12142
12143 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12144
12145         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12146
12147         * buffer.C (readInset): hack to make listof algorithm work
12148
12149         * BufferView_pimpl.C: hack to make listof algorithm work
12150
12151 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12152
12153         * LyXAction.C: removed all !NEW_INSETS cruft
12154         (init): moved lfun_item in method
12155
12156         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12157
12158 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12159
12160         * BufferView2.C (theLockingInset): white space.
12161
12162 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12163
12164         * minibuffer.C: include <iostream>
12165
12166         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12167
12168         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12169
12170         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12171
12172         * text.[Ch] (TransposeChars): new method
12173
12174 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12175
12176         * call message directly through LyXView instead of through LyXFunc
12177         * BufferView2.C: adjust
12178         * BufferView_pimpl.C: adjust
12179         * FontLoader.C: adjust
12180         * buffer.C: adjust
12181         * bufferview_funcs.C: adjust
12182         * converter.C: adjust
12183         * figureForm.C: adjust
12184         * importer.C: adjust
12185         * lyx_cb.C: adjust
12186         * lyx_gui_misc.C: adjust
12187         * lyxfunc.C: adjust
12188         * lyxvc.C: adjust
12189         * text2.C: adjust
12190         + more files in subdirs
12191
12192         * lyxparagraph.h (size): move up int file
12193         (GetLayout): ditto
12194
12195         * adjust all uses of Assert to lyx::Assert.
12196
12197         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12198         lyxfunctional in namespace lyx
12199         * layout.C (hasLayout): ditto
12200         (GetLayout): ditto
12201         (GetLayout): ditto
12202         (delete_layout): ditto
12203         (NumberOfClass): ditto
12204         * converter.C (GetFormat): ditto
12205         (GetNumber): ditto
12206         (Add): ditto
12207         (Delete): ditto
12208         (SetViewer): ditto
12209         * bufferlist.C (getFileNames): ditto
12210         (emergencyWriteAll): ditto
12211         (exists): ditto
12212         (getBuffer): ditto
12213         * MenuBackend.C (hasSubmenu): ditto
12214         (hasMenu): ditto
12215         (getMenu): ditto
12216         * BufferView_pimpl.C (getInsetByCode): ditto
12217
12218 2001-04-18  Juergen Vigna  <jug@sad.it>
12219
12220         * vspace.C (asLatexString): fixed the 100% problem.
12221
12222 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12223
12224         * lyxfunc.C (Dispatch):
12225         * minibuffer.C:
12226         * minibuffer.h: add a few std:: qualifiers
12227
12228 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12229
12230         * minibuffer.[Ch]: reimplement so that commands is initiated and
12231         run from lyxfunc, simplified som handling, and made the completion
12232         and history code for complete. wip.
12233
12234         * lyxfunc.C (processKeySym): call message
12235         (miniDispatch): new temporary method
12236         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12237         (LFUN_MESSAGE): implement
12238         (LFUN_MESSAGE_PUSH): implement
12239         (LFUN_MESSAGE_POP): implement
12240         (initMiniBuffer): the initial/defualt minibuffer message.
12241
12242         * lyxfont.[Ch]: inline some more getters
12243
12244         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12245
12246         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12247
12248         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12249         (AutoSave): use LFUN_MESSAGE
12250         (Reconfigure): ditto
12251
12252         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12253
12254         * figureForm.C: use LFUN_MESSAGE
12255
12256         * converter.C (runLaTeX): use LFUN_MESSAGE
12257
12258         * bufferview_funcs.C: use LFUN_MESSAGE
12259         (Melt): ditto
12260         (changeDepth): ditto
12261
12262         * bufferparams.h: use boost::
12263
12264         * bufferlist.h: inherit privately from noncopyable
12265
12266         * bufferlist.C (loadLyXFile): remove some commented code.
12267
12268         * buffer.C (runChktex): use LFUN_MESSAGE
12269
12270         * ShareContainer.h: inherit privately from noncopyable
12271
12272         * ParagraphParameters.[hC] (depth): inline it.
12273
12274         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12275         methods.
12276         (message): new method
12277         (messagePush): ditto
12278         (messagePop): ditto
12279         (show): init minibuffer
12280         (showState): direct call
12281
12282         * LaTeX.[Ch]: inherit privately from noncopyable
12283         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12284         instead of WriteStatus.
12285
12286         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12287
12288         * BufferView_pimpl.C (buffer): don't init minibuffer
12289         (workAreaButtonPress): use LFUN_MESSAGE
12290         (workAreaButtonRelease): ditto
12291         (savePosition): ditto
12292         (restorePosition): ditto
12293         (MenuInsertLyXFile): ditto
12294         (workAreaExpose): don't init minibuffer
12295         (update): remove commented code, simplify
12296
12297         * BufferView2.C (openStuff): use LFUN_MESSAGE
12298         (toggleFloat): ditto
12299         (menuUndo): ditto
12300         (menuRedo): ditto
12301         (copyEnvironment): ditto
12302         (pasteEnvironment): ditto
12303         (copy): ditto
12304         (cut): ditto
12305         (paste): ditto
12306         (gotoInset): ditto
12307         (updateInset): remove some commented code
12308
12309         * lastfiles.h: inherit privately from noncopyable
12310         * layout.h: ditto
12311         * lyx_gui.h: ditto
12312         * lyx_main.h: ditto
12313         * lyxlex.h: ditto
12314         * lyxlex_pimpl.h: ditto
12315
12316         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12317         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12318         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12319
12320         * LyXAction.h: inherit privately from noncopyable, add methods
12321         func_begin, func_end, returning iterators to the func map.
12322
12323         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12324         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12325         (func_begin): new method
12326         (func_end): new method
12327
12328         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12329         and not)
12330         (copySelection): ditto
12331         (pasteSelection): ditto
12332
12333         * BufferView.C: whitespace change
12334         * BufferView.h: inherit privately from noncopyable
12335
12336 2001-04-16  Allan Rae  <rae@lyx.org>
12337
12338         * tabular-old.C (l_getline):
12339         * spellchecker.C (sc_check_word):
12340         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12341         an unrecognised preprocessor directive.  So ensure they're wrapped.
12342
12343 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12344
12345         * src/exporter.C (Export): Give an error message when path to file
12346         contains spaces.
12347
12348 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12349
12350         * LaTeX.C (deplog): Always check that foundfile exists.
12351
12352 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12353
12354         * lyx_main.h:
12355         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12356
12357 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12358
12359         * tabular.[Ch] (getLabelList): implement new method
12360
12361         * minibuffer.h: comment ouf setTiimer
12362
12363         * minibuffer.C (ExecutingCB): constify res
12364         (peek_event): constify s
12365         (Set): constify ntext
12366         (Init): constify nicename
12367
12368         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12369
12370         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12371         (savePosition): use two params to Minibuffer::Set
12372         (restorePosition): ditto
12373
12374 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12375
12376         * lyx_main.C: include language.h
12377
12378         * Makefile.am (lyx_main.o): add language.h
12379
12380 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12381
12382         * exporter.C:
12383         * paragraph.C:
12384         * screen.C:
12385         * tabular.C:
12386         * CutAndPaste.C: include gettext.h
12387
12388         * lyxfont.h: remove old hack with ON and OFF.
12389
12390         * lyxparagraph.h:
12391         * lyxfont.h: do not include language.h...
12392
12393         * BufferView2.C:
12394         * LaTeXFeatures.C:
12395         * Painter.C:
12396         * bufferview_funcs.C:
12397         * font.C:
12398         * lyxfont.C:
12399         * text.C:
12400         * text2.C:
12401         * trans_mgr.C:
12402         * paragraph.C: ... but do it here instead
12403
12404 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12405
12406         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12407
12408         * tabular.C: small reformat
12409
12410         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12411         NEW_INSETS version
12412         (GetChar): ditto
12413         (BreakParagraph): ditto
12414         (SetOnlyLayout): ditto
12415         (SetLayout): ditto
12416
12417         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12418         with one arg less.
12419
12420         * lastfiles.C: removed most using decl, add std:: where needed
12421
12422         * buffer.C: ws changes
12423
12424         * MenuBackend.C (class compare_format): put into anon namespace
12425         (expand): constify label, names, action, action2
12426         (expand):
12427
12428         * text.C (SingleWidth): constify font
12429         (IsBoundary): constify rtl2
12430         (GetVisibleRow): constify ww
12431
12432         * LaTeX.C (deplog): constify logfile
12433
12434         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12435         start_x, end_x
12436         (workAreaExpose): constify widthChange, heightChange
12437
12438         * lyxrow.C (par): moved
12439         (height): moved
12440         (next): moved
12441         * lyxrow.h: as inlines here
12442
12443         * lyxfont.h (shape): moved from lyxfont.C
12444         (emph): moved from lyxfont.C
12445
12446         * lyxfont.C (LyXFont): use initialization list for all
12447         constructors
12448         (shape): move to lyxfont.h as inline
12449         (emph): move to lyxfont.h as inline
12450
12451
12452 2001-04-04  Juergen Vigna  <jug@sad.it>
12453
12454         * vspace.C: had to include stdio.h for use of sscanf
12455
12456 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12457
12458         * BufferView.h:
12459         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12460         independent of xforms.
12461
12462 2001-04-02  Juergen Vigna  <jug@sad.it>
12463
12464         * spellchecker.C: fixed namespace placing!
12465
12466 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12467
12468         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12469         the LyXParagraph * is 0.
12470
12471 2001-03-29  Juergen Vigna  <jug@sad.it>
12472
12473         * vspace.C: added support for %, c%, p%, l%.
12474         (stringFromUnit): added helper function.
12475         (asLatexString): changed to give right results for the %-values.
12476
12477         * buffer.C: convert the widthp in a width%.
12478
12479 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12480
12481         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12482         figureForm.[Ch].
12483
12484         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12485         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12486
12487         * lyx_cb.[Ch]: see above.
12488
12489         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12490         form1.[Ch].
12491
12492         * form1.[Ch]:
12493         * lyx.[Ch]: replaced by figure_form.[Ch].
12494
12495         * lyx_gui.C:
12496         * lyx_gui_misc.C:
12497         * lyxfunc.C: changed headers associated with above changes.
12498
12499 2001-03-27  Juergen Vigna  <jug@sad.it>
12500
12501         * BufferView_pimpl.C: set the temporary cursor right!
12502
12503 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12504
12505         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12506
12507 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12508
12509         * LString.h: removed "using std::getline"!
12510
12511         * BufferView_pimpl.C (Dispatch): changes due to changes in
12512         InsetInclude::Params.
12513
12514         * buffer.C (tag_name): removed redundant break statements as they were
12515         producing lots of warnings with my compiler.
12516
12517 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12518
12519         * LString.h: add "using std::getline" when using the real <string>.
12520
12521 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12522
12523         * buffer.C: removed bitset usage.
12524         PAR_TAG moved to an anonymous name space.
12525         (tag_name): new funtion, also in the anonymous namespace.
12526         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12527         (makeDocBookFile): clean code. Completed transition from string arrays
12528         to string vectors.
12529         (SimpleDocBookOnePar): code clean.
12530
12531 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12532
12533         * tabular.C: add some comments.
12534
12535 2001-03-22  Juergen Vigna  <jug@sad.it>
12536
12537         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12538         compatibility read a bit and fixed bug with minipage in different
12539         depth.
12540
12541 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12542
12543         * buffer.C (pop_tag): removed.
12544         (push_tag): removed.
12545         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12546         array replaced with vector. Added support for CDATA sections.
12547         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12548         at any nest level.
12549         (makeDocBookFile): XML conformant declaration of CDATA section,
12550         fixed bug related to <emphasis> in the first paragraph char.
12551         (sgmlOpenTag): exclude empty tags.
12552         (sgmlCloseTag): ditto.
12553
12554         * buffer.h (pop_tag): removed.
12555         (push_tag): removed.
12556
12557 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12558
12559         * language.h (Languages): added size_type and size().
12560
12561 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12562
12563         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12564         response on compability reading of minipages. One probliem is that
12565         the old usage of minipages was «flertydig»
12566
12567         * several files here and in subdirs: don't use static at file
12568         scope use anon namespaces instead.
12569
12570 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12571
12572         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12573         LaTeX output. This is necessary for Literate document
12574         processing.
12575
12576 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12577
12578         * buffer.C: insert hfill when needed.
12579
12580         * tabular.C (l_getline): use string::erase, small whitespace change.
12581
12582         * BufferView_pimpl.C: try the anon namespace.
12583         * WorkArea.C: ditto
12584
12585 2001-03-16  Juergen Vigna  <jug@sad.it>
12586
12587         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12588         otherwise it won't open options-dialogs.
12589
12590         * buffer.C: honor pextraWidth(p) on converting minipages.
12591
12592         * tabular.C (l_getline): changed the functions to strip trailing \r.
12593
12594 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12595
12596         * BufferView_pimpl.C:
12597         * minibuffer..C: added "using SigC::slot" declaration.
12598
12599 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12600
12601         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12602
12603         * text2.C: ditto
12604
12605         * text.C: ditto
12606
12607         * paragraph.C: ditto
12608
12609         * lyxtext.h: NO_PEXTRA
12610
12611         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12612
12613         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12614         * ParameterStruct.h: ditto
12615         * ParagraphParameters.h: ditto
12616         * lyxparagraph.h: ditto
12617
12618 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12619
12620         * buffer.C: add compability for minipage alignment.
12621         (latexParagraphs): remove unwanted pextra check.
12622
12623         * several files: remove CXX_WORKING_NAMESPACES
12624
12625         * buffer.C (pop_tag): tie is in namespace boost
12626
12627         * BufferView.h: noncopyable is in namespace boost
12628         * lyxlex.h: ditto
12629         * lyx_main.h: ditto
12630         * lyx_gui.h: ditto
12631         * layout.h: ditto
12632         * lastfiles.h: ditto
12633         * bufferlist.h: ditto
12634         * ShareContainer.h: ditto
12635         * LyXView.h: ditto
12636         * LyXAction.h: ditto
12637         * LaTeX.h: ditto
12638
12639 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12640
12641         * Merging changes from BRANCH_MVC back into HEAD.
12642
12643         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12644
12645 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12646
12647         * BufferView_pimpl.C: change from intl.C
12648
12649         * combox.h:
12650         * combox.C:
12651         * Makefile.am: move combox.*
12652
12653         * form1.h:
12654         * form1.C:
12655         * lyx_gui.C:
12656         * intl.h:
12657         * intl.C: remove dialog (covered by prefs)
12658
12659 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12660
12661         * lyxfunc.C (Dispatch): removed redundant break statement.
12662
12663 2001-03-14  Juergen Vigna  <jug@sad.it>
12664
12665         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12666
12667 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12668
12669         * buffer.C: add hack to fix compability reading of minipages.
12670
12671 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12672
12673         * buffer.C (getLists): Cleanup.
12674
12675 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12676
12677         * lyxfont.C (update): don't honor toggleall on font size.
12678
12679 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12680
12681         * bmtable.c:
12682         * bmtable.h:
12683         * Makefile.am: moved to frontends/xforms/
12684
12685         * lyx_gui_misc.C:
12686         * lyxfunc.C:
12687         * BufferView_pimpl.C: changes for moved mathpanel
12688
12689 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12690
12691         * gettext.h: fix gettext_init() in --disable-nls
12692
12693 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12694
12695         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12696
12697 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12698
12699         * lyx.C:
12700         * lyx.h: strip external form
12701
12702 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12703
12704         * BufferView_pimpl.C: add comment, destroySplash()
12705
12706 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12707
12708         * BufferView_pimpl.C:
12709         * LyXAction.C:
12710         * buffer.C:
12711         * commandtags.h:
12712         * lyxfunc.C: use re-worked insetinclude
12713
12714 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12715
12716         * buffer.C: add using std::stringstream.
12717
12718         * lyx_cb.C: readd using std::ios.
12719
12720         * buffer.C: add using std::map.
12721
12722         * BufferView_pimpl.C: add using std::vector.
12723
12724         * ShareContainer.h: add std:: to swap.
12725
12726         * buffer.h: add some typedefs
12727         * buffer.C (getLists): use them
12728         (getLists): renamed from getTocList.
12729         add a counter for the different float types and use it in the
12730         generated string.
12731         (getLists): use the same counter for the NEW_INSETS and the "non"
12732         NEW_INSETS
12733
12734         * lyx_cb.h: remove unused items, includes, using etc.
12735
12736         * ShareContainer.h: remove some commented code, add more comments
12737         and "documentation".
12738
12739 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12740
12741         * buffer.C (getTocList): make the list also when NEW_INSETS is
12742         defined.
12743
12744         * buffer.h: remove TocType
12745
12746         * buffer.C (getTocList): change to return a map<string,
12747         vector<TocItem> >, implement for dynamic number of list.
12748
12749         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12750         * text2.C (PasteSelection): adjust
12751         * CutAndPaste.C (pasteSelection): adjust
12752
12753         * FloatList.C (FloatList): update from the new_insets branch.
12754         * Floating.[Ch]: ditto
12755         * LaTeXFeatures.C: ditto
12756         * buffer.C: ditto
12757         * lyxlex_pimpl.C: ditto
12758
12759         * paragraph.C (Last): remove when NEW_INSETS is defined.
12760
12761         * other file: changes because of the above.
12762
12763 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12764
12765         * lyxparagraph.h: rename next to next_, previous to previous_,
12766         make them private for NEW_INSETS. Rename Next() to next(),
12767         Previous() to previous().
12768
12769         * other files: changes because of the above.
12770
12771 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12772
12773         * BufferView.h:
12774         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12775         problem.
12776
12777 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12778
12779         * main.C (main): pass lyx_localedir to gettext_init().
12780
12781         * gettext.h: remove locale_init and gettext_init macros
12782
12783         * gettext.C (locale_init): new function
12784         (gettext_init): new function
12785
12786         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12787         setlocale().
12788
12789 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12790
12791         * Moved credits to frontends:
12792         * credits.[Ch]: removed
12793         * credits_form.[Ch]: removed
12794         * lyx_gui_misc.C: remove credits stuff
12795         * Makefile.am:
12796
12797 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12798
12799         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12800
12801         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12802         unneeded destructor.
12803
12804         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12805         a standalone pointer again.
12806
12807         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12808
12809 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12810
12811         * Makefile.am:
12812         * filedlg.h:
12813         * filedlg.C:
12814         * LyXAction.C:
12815         * ToolbarDefaults.C:
12816         * bufferlist.C:
12817         * commandtags.h:
12818         * form1.C:
12819         * form1.h:
12820         * lyx_cb.C:
12821         * lyx_cb.h:
12822         * lyxfunc.h:
12823         * lyxfunc.C:
12824         * BufferView_pimpl.C: use new file dialog in GUII
12825
12826         * lyx_cb.h:
12827         * lyx_cb.C: remove LayoutsCB to Toolbar
12828
12829 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12830
12831         * ShareContainer.h (get): add std:: qualifier
12832
12833 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12834
12835         * ShareContainer.h: define a proper ShareContainer::value_type
12836         type (and use typename to please compaq cxx)
12837
12838 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12839
12840         * lyxparagraph.h: move serveral local vars to
12841         ParameterStruct/ParagraphParameters., use ShareContainer in
12842         FontTable., make vars in FontTable private and add getter and
12843         setter.
12844
12845         * paragraph.C: changes because of the above.
12846
12847         * lyxfont.h: remove copy constructor and copy assignment. (the
12848         default ones is ok), move number inside FontBits. move inlines to
12849         lyxfont.C
12850
12851         * lyxfont.C: add number to initializaton of statics, move several
12852         inlines here. constify several local vars. some whitespace
12853         cleanup. Dont hide outerscope variables.
12854
12855         * Spacing.h: add two new constructors to match the set methods.
12856
12857         * ShareContainer.h: new file, will perhaps be moved to support
12858
12859         * ParameterStruct.h: new file
12860
12861         * ParagraphParameters.h: new file
12862
12863         * ParagraphParameters.C: new file
12864
12865         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12866         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12867
12868         * BufferView_pimpl.C: ParagraphParameter changes.
12869         * buffer.C: Likewise.
12870         * bufferview_funcs.C: Likewise.
12871         * text.C: Likewise.
12872         * text2.C: Likewise.
12873
12874 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12875
12876         * lyxfind.C (LyXReplace): do not redefine default argument in
12877         implementation.
12878         (IsStringInText): ditto
12879         (SearchForward): ditto
12880         (SearchBackward): ditto
12881
12882 2001-03-06  Juergen Vigna  <jug@sad.it>
12883
12884         * lyxfind.C (IsStringInText): put parentes around expressions.
12885
12886 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12887
12888         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12889
12890 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12891
12892         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12893
12894         * stl_string_fwd.h: add comment
12895
12896         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12897
12898         * tabular.h:
12899         * tabular.C: remove unused DocBook methods
12900
12901         * intl.C:
12902         * language.C:
12903         * paragraph.C:
12904         * buffer.C:
12905         killed DO_USE_DEFAULT_LANGUAGE
12906
12907 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12908
12909         * lyx_gui.C: do not include language.h.
12910
12911         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12912         arguments in function implementation.
12913
12914 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12915
12916         * BufferView_pimpl.C: add <ctime>
12917
12918 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12919
12920         * BufferView_pimpl.C: add using std::find_if
12921
12922 2001-02-27  José Matos  <jamatos@fep.up.pt>
12923
12924         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12925         by OnlyPath.
12926
12927 2001-02-11  José Matos  <jamatos@fep.up.pt>
12928
12929         * buffer.C (makeDocBookFile): command styles now have a parameter as
12930         "title" by default.
12931
12932 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12933
12934         * layout_forms.[Ch]: removed
12935         * lyx_cb.[Ch]: out character
12936         * lyx_gui.C: out character
12937         * lyx_gui_misc.C: out character
12938         * bufferview_funcs.C: : out character,
12939         added toggleall as parameter in ToggleAndShow
12940
12941 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12942
12943         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12944
12945         * text2.C (SetCurrentFont): Disable number property at boundary.
12946
12947 2001-02-26  Juergen Vigna  <jug@sad.it>
12948
12949         * lyxfunc.C (getStatus): added a string argument override function so
12950         that this is correctly called from LyXFunc::Dispatch if it contains a
12951         do_not_use_argument which is used!
12952         (Dispatch): added check for "custom" export and call appropriate func.
12953
12954 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12955
12956         * lyxrc.C: Add language_command_local, language_use_babel and
12957         language_global_options.
12958
12959         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12960
12961         * buffer.C (makeLaTeXFile): Use language_use_babel and
12962         language_global_options.
12963
12964 2001-02-23  Juergen Vigna  <jug@sad.it>
12965
12966         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12967         which works with LyXText and putted it inside BufferView. Here now we
12968         only call for that part the BufferView::Dispatch() function.
12969
12970         * BufferView.C (Dispatch): added.
12971
12972         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12973         functions which needs to use a LyXText over from LyXFunc.
12974         (MenuInsertLyXFile): added
12975         (getInsetByCode): added
12976         (moveCursorUpdate): added
12977         (static TEXT): added
12978
12979 2001-02-22  Juergen Vigna  <jug@sad.it>
12980
12981         * BufferView_pimpl.C (update): call a status update to see if LyXText
12982         needs it.
12983
12984 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12985
12986         * vc-backend.C (revert): implement for CVS
12987         (getLog): implement for CVS
12988
12989 2001-02-20  Juergen Vigna  <jug@sad.it>
12990
12991         * text2.C (ClearSelection): added BufferView param for inset_owner call
12992
12993         * lyxfunc.C (TEXT): added this function and use it instead of
12994         directly owner->view()-text of getLyXText().
12995
12996 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12997
12998         * src/layout_forms.C: out preamble
12999         * src/layout_forms.h: out preamble
13000         * src/lyx_cb.C: out preamble
13001         * src/lyx_cb.h: out preamble
13002         * src/lyx_gui.C: out preamble
13003         * src/lyx_gui_misc.C: out preamble
13004         * src/lyxfunc.C: connect with guii preamble
13005
13006 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13007
13008         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13009
13010 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13011
13012         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13013         whether to run bibtex.
13014
13015 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13016
13017         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13018
13019 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13020
13021         * Makefile.am (lyx_SOURCES): removed bibforms.h
13022
13023         * vspace.h: doxygen
13024
13025         * text.C (GetVisibleRow): make several local vars const
13026
13027         * tabular.C: small cleanup.
13028
13029         * lyxserver.C (callback): use compare instead of strncmp
13030
13031         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13032         inlines to after class or to paragraph.C
13033
13034         * lyxfont.h: remove friend operator!=
13035
13036         * converter.h: move friend bool operator< to non friend and after
13037         class def.
13038
13039         * combox.h: small cleanup
13040
13041         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13042         to inlines after class def.
13043
13044         * buffer.C (pop_tag): use string operations instead of strcmp
13045
13046         * bmtable.c: doxygen, small cleanup
13047
13048         * LaTeX.h: remove friend operator==
13049
13050 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13051
13052         * screen.C:
13053         * lyxrc.[Ch]:
13054         * lyxfunc.C:
13055         * lyxfont.[Ch]:
13056         * lyx_cb.C:
13057         * intl.[Ch]:
13058         * commandtags.h:
13059         * buffer.C:
13060         * WorkArea.[Ch]:
13061         * LyXAction.C:
13062         * BufferView_pimpl.C:
13063         * BufferView.[Ch]: remove cruft
13064
13065 2001-02-14  Juergen Vigna  <jug@sad.it>
13066
13067         * lyxfunc.C: removed #if 0 unused code
13068
13069         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13070
13071         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13072
13073         * text2.C (SetSelection): added a BufferView * parameter
13074
13075 2001-02-13  Juergen Vigna  <jug@sad.it>
13076
13077         * lyxfunc.C (Dispatch): fixed protected blank problem.
13078         * BufferView2.C (protectedBlank): added LyxText * parameter.
13079
13080         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13081         (AppendColumn): same as above for column_info.
13082
13083         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13084         (moveCursorUpdate): use a LyXText param for support of InsetText.
13085
13086         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13087         (tripleClick): ditto
13088
13089         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13090
13091         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13092
13093         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13094
13095         * text2.C (SetSelection): set correct update status if inset_owner
13096         (ToggleFree): ditto
13097
13098 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13099
13100         * tabular.C: remove some commented code.
13101
13102 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13103
13104         * BufferView_pimpl.C: call hideSplash()
13105
13106         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13107
13108         * include_form.h:
13109         * bibforms.h: remove
13110
13111         * lyxfunc.C:
13112         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13113           add LFUN_CHILD_CREATE
13114
13115         * counters.h: fix tiny typo
13116
13117         * lyx_cb.C:
13118         * lyx.h:
13119         * lyx_gui.C:
13120         * lyx.C: move splash to frontends/xforms/
13121
13122         * lyx_gui_misc.C: move Include and Bibform to frontends
13123
13124         * lyxvc.h: clarify comment
13125
13126         * vspace.C: tiny housekeeping
13127
13128 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13129
13130         * text.C (PrepareToPrint): RTL Fix.
13131
13132         * paragraph.C (GetUChar): New method.
13133         (String):  Use GetUChar.
13134
13135         * buffer.C (asciiParagraph): Use GetUChar.
13136
13137 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13138
13139         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13140
13141 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13142
13143         * buffer.h:
13144         * buffer.C: rename to getLogName(), handle
13145           build log / latex log nicely
13146
13147 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13148
13149         * MenuBackend.C:
13150         * MenuBackend.h: remove support for reference menuitem type.
13151
13152 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13153
13154         * BufferView_pimpl.C: housekeeping
13155         * BufferView_pimpl.h:
13156         * LyXView.h:
13157         * Makefile.am:
13158         * Timeout.C:
13159         * Timeout.h:
13160         * minibuffer.h: move Timeout GUI-I
13161
13162 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13163
13164         * lyxrc.C (read): Update converters data-structures.
13165
13166 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13167
13168         * LaTeX.h (operator!=): add operator != for Aux_Info
13169
13170 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13171
13172         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13173
13174         * LaTeXLog.C: deleted, useful code moved to Buffer
13175
13176         * buffer.h:
13177         * buffer.C: new function getLatexLogName()
13178
13179         * lyx_gui_misc.C:
13180         * lyx_gui.C:
13181         * lyxvc.C:
13182         * lyxvc.h:
13183         * lyxfunc.C: use frontends for LaTeX and VC logs
13184
13185 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13186
13187         * LaTeX.h: yet another std:: that Allan forgot.
13188
13189         * Variables.C (set): renamed from isset(), because this clashes
13190         with some HP-UX macros (grr).
13191
13192 2001-02-06  Allan Rae  <rae@lyx.org>
13193
13194         * LaTeX.h: Another bug fix.  Missing std:: this time.
13195
13196 2001-02-04  Allan Rae  <rae@lyx.org>
13197
13198         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13199         floats problem. I've left it commented out because it's not quite
13200         correct.  It should also test that the current object is a table or
13201         figure inset.  But I haven't gotten around to figuring out how to do
13202         that.  I *think* it'll be something like: "table" == inset.type()
13203
13204         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13205         bool.
13206
13207 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13208
13209         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13210         all the citation/databases/styles in the auxilary file.
13211         (run): Rerun latex if there was a babel language error.
13212
13213 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13214
13215         * text.C (Backspace): Preserve the font when changing newline char
13216         with a space.
13217         (BreakParagraph): If the cursor is before a space, delete the space.
13218
13219         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13220
13221 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13222
13223         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13224         new argument (code).
13225         (ChangeCitationsIfUnique): New method.
13226
13227         * paragraph.C (GetPositionOfInset): Handle bibkey.
13228
13229 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13230
13231         * BufferView_pimpl.h: change type of Position::par_pos to
13232         LyXParagraph::size_type.
13233
13234 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13235
13236         * BufferView_pimpl.C (savePosition, restorePosition): Write
13237         messages to minibuffer.
13238
13239 2001-01-28  José Matos  <jamatos@fep.up.pt>
13240
13241         * buffer.C (makeDocBookFile): adds support for document language.
13242         A silly restriction on the name of LatexCommand types where removed.
13243         Added support for CDATA sections, allows to chars unescaped, used
13244         among others in code, to avoid escape < and >.
13245
13246 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13247
13248         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13249         saved positions instrad of a stack. Furthermore, a position is
13250         stored using paragraph id/paragraph position.
13251
13252         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13253         Remove LFUN_REF_BACK.
13254
13255 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13256
13257         * converter.C (dvipdfm_options): New method.
13258
13259 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13260
13261         * vspace.C (isValidLength): Fix for empty input string.
13262
13263 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13264
13265         * LyXAction.C (init): change description of LFUN_FIGURE to
13266         "Insert Graphics"
13267
13268 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13269
13270         * LaTeX.C: add using directive
13271
13272 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13273
13274         * MenuBackend.C (expand): Fix the sorting of the formats.
13275
13276 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13277
13278         * lyx_main.C: tiny error message fix
13279
13280 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13281
13282         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13283         calling fl_initialize(). This fixes the problem with ',' as
13284         decimal separator in text files.
13285
13286 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13287
13288         * trans.C (process): Fix the keymap bug.
13289
13290 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13291
13292         * LaTeX.C (scanAuxFiles): New method. Provides support for
13293         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13294         (scanLogFile) Scan for "run BibTeX" messages.
13295
13296         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13297         OT1 font encoding. Also, load the aecompl package if the ae
13298         package is loaded.
13299
13300         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13301
13302 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13303
13304         * texrow.C (increasePos): turn two error messages into debug
13305         messages.
13306
13307 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13308
13309         * LaTeX.C (scanAux): Handle the \@input macro.
13310         (runBibTeX): Use scanAux().
13311
13312         * language.C (latex_options_): New field.
13313
13314         * LaTeXFeatures.C (getMacros): Add language macros.
13315
13316         * buffer.C (makeLaTeXFile): Small fix.
13317
13318 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13319
13320         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13321
13322         * text2.C: add a using directive.
13323
13324 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13325
13326         * BufferView2.C:
13327         * lyx_gui_misc.h:
13328         * lyxfr1.C:
13329         * lyxfunc.C: kill LyXBell.
13330
13331 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13332
13333         * text.C (IsBoundary): Remove the error message
13334
13335         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13336
13337         * lyxrc.C (setDefaults): Correct initialization value for
13338         font_norm_type.
13339
13340 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13341
13342         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13343         gotoError().
13344
13345         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13346         and GotoNextNote().
13347
13348         * src/LyXAction.C: Added reference-next.
13349
13350         * text.C (InsertChar): Use contains instead of strchr.
13351
13352         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13353
13354 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13355
13356         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13357         alignment commands (when needed).
13358
13359         * text.C (InsertChar): Add ':' to number separator chars.