]> git.lyx.org Git - features.git/blob - src/ChangeLog
* lyxtext.h:
[features.git] / src / ChangeLog
1
2 2003-10-23  André Pönitz  <poenitz@gmx.net>
3
4         * lyxtext.h:
5         * text.C (isLastRow, isFirstRow): new functions
6
7         * paragraph.h: new width cache member
8
9         * rowpainter.C: replace RowList::iterator with Row & where possible
10
11         * lyxfunc.C: replace several view()->text with a single call
12
13         * toc.C: fix 'unused' warning
14
15 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
16
17         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
18         when woring with stream::pos_type
19         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
20
21 2003-10-22  André Pönitz  <poenitz@gmx.net>
22
23         * lyxtext.h:
24         * text.C: use Row & instead of RowList::iterator
25
26         * lyxrow.h: rename end() to endpos()
27
28         * rowpainter.C:
29         * text.C:
30         * text2.C: adjust
31
32 2003-10-22  Angus Leeming  <leeming@lyx.org>
33
34         * buffer.[Ch] (fully_loaded): new member function, returning true
35         only when the file has been loaded fully.
36         Used to prevent the premature generation of previews and by the
37         citation inset to prevent computation of the natbib-style label.
38
39         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
40         templates are all set up.
41
42         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
43
44 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
45
46         * text.C: fixed an "oops" in the "is a bit silly"
47         bug fix
48
49 2003-10-21  André Pönitz  <poenitz@gmx.net>
50
51         * FuncStatus.[Ch]: small stuff, whitespace
52
53         * lyxfont.[Ch]: operator<<() for debug reasons
54
55         * lyxfunc.C:
56         * lyxrow_funcs.C:
57         * lyxtext.h: whitespace, spelling
58
59         * paragraph.C: naming of variables
60
61         * text.C:
62         * text2.C: small stuff
63
64
65 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
66
67         * text.C: (1) finish off the inset display() work;
68         (2) fix the "is a bit silly" bug (accessing char
69         past end of par).
70
71 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
72
73         * text.C: re-introduce display() for insets, fixing the
74         various bugs (stretch of line above, math inset
75         positioning, ...)
76
77 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
78
79         * text.C (rightMargin): remove spurious semicolon
80
81         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
82         1415)
83
84 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
85
86         * text3.C: fix one crash due to wrong cursor def
87
88 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
89
90         * vc-backend.C (scanMaster): make the regex static
91
92         * LaTeX.C (scanAuxFile): make the regexs static
93
94         * text3.C (doInsertInset, dispatch, dispatch):
95         * text2.C (cursorUp, cursorDown):
96         * text.C (selectNextWordToSpellcheck):
97         * BufferView_pimpl.C (dispatch):
98         * lyxfunc.C (dispatch):  localDispatch -> dispatch
99
100 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * lyxsocket.C: include <cerrno>
103
104 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
105
106         * lyxfunc.C (dispatch): remove textcache stuff
107
108         * bufferlist.C (release): remove textcache stuff
109         (closeAll): ditto
110
111         * TextCache.C: delete file
112         * TextCache.h: delete file
113
114         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
115
116         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
117         delete of the bv_->text.
118         (resizeCurrentBuffer): remove texcache stuff
119         (workAreaResize): ditto
120
121 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
122
123         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
124         action.
125
126 2003-10-16  André Pönitz  <poenitz@gmx.net>
127
128         * lyxrow.[Ch]:
129         * paragraph.h:
130         * rowpainter.C:
131         * text.C:
132         * text2.C:
133         * text3.C: speed up by storing y positions per paragraph plus per-row
134         offset instead of having a 'full' y position in the row.
135
136 2003-10-15  André Pönitz  <poenitz@gmx.net>
137
138         * iterators.[Ch]:
139         * iterators.[Ch]:
140         * undo.[Ch]: make undo aware of inner insets
141
142 2003-10-14  Angus Leeming  <leeming@lyx.org>
143
144         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
145         static member functions LyX::ref() and LyX::cref.
146         (lastfiles): new accessor functions for the new lastfiles_ member var.
147         (addLyXView, views_): add a new LyXView to the list of views_.
148         (updateInset): loop over all LyXViews to call their own updateInset
149         member function, returning a pointer to the Buffer owning the inset.
150
151         * BufferView_pimpl.C (loadLyXFile):
152         * MenuBackend.C (expandLastfiles):
153         * bufferlist.C (MenuWrite, QuitLyX):
154         lastfiles is no longer a global variable.
155         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
156
157         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
158         static function. Access through LyX::cref().emergencyCleanup().
159
160 2003-10-14  André Pönitz  <poenitz@gmx.net>
161
162         * iterators.[Ch]: new direct access to innermost LyXText and Inset
163
164         * undo.[Ch]: restoring part of 'undo in insets'
165
166         * Makefile.am:
167         * undo_funcs.[Ch]: merge with undo.[Ch]
168
169         * tabular.C: small cleansing stuff
170
171 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
172
173         * paragraph_funcs.C (readParToken): report unknown insets as error
174         boxes. Use the outer paragraph as location (also for unknown
175         tokens).
176
177         * factory.C (readInset): do not abort on reading an unknown inset.
178         Eat it and return 0.
179
180 2003-10-13  Angus Leeming  <leeming@lyx.org>
181
182         * lyx_main.C (LyX): remove call to setDisplayTranslator().
183
184         * lyxrc.C: displayTranslator is now a function,
185         declared in GraphicsTypes.h.
186
187 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
188
189         * format.C: new placeholder $$a to pass the socket address.
190
191         * bufferlist.[Ch]: new function getBufferFromTmp.
192
193         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
194           files in the temporary dir.
195
196 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
197
198         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
199
200         * Makefile.am: add lyxsocket.[Ch].
201
202         * lyx_main.C (error_handler): handle SIGPIPE.
203
204 2003-10-13  André Pönitz  <poenitz@gmx.net>
205
206         * BufferView_pimpl.C:
207         * lyxtext.h:
208         * text.C:
209         * text2.C:
210         * text3.C:
211         * undo_funcs.[Ch]: use paroffset_type instead of
212           ParagraphList::iterators to prevent multiple conversion
213           (and get a more robust interface)
214
215 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
216
217         * lyxfunc.C (dispatch): RESULT -> dispatch_result
218         * lyxtext.h: ditto
219         * text3.C (dispatch): ditto
220
221 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
222
223         * LaTeX.C (handleFoundFile): move the static to smaller scope,
224         move the onlyfile, use onlyfile instead of foundfile in a couple
225         of places.
226
227         * DepTable.C (update): flush the error stream a bit more
228
229 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
230
231         * lyxserver.C (callback): adjust
232
233         * lyxfunc.C (getStatus): add a missing brace in commented code
234         (ensureBufferClean): reindent
235         (dispatch): delete version taking a string
236
237 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
238
239         * LaTeX.C (deplog): move found file handlig from here...
240         (handleFoundFile): .. to new function here.
241         (deplog): make sure to discover several files mentioned on the
242         same log line.
243
244 2003-10-10  André Pönitz  <poenitz@gmx.net>
245
246         * lyxfunc.C:
247         * lyxtext.h:
248         * tabular.C:
249         * text.C:
250         * text2.C:
251         * text3.C: fix some of the tabular crashes
252
253 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
254
255         * MenuBackend.C (binding): put debug message into Debug::KBMAP
256
257         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
258
259 2003-10-09  André Pönitz  <poenitz@gmx.net>
260
261         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
262
263         * BufferView.C:
264         * BufferView_pimpl.C:
265         * bufferview_funcs.C:
266         * lyx_cb.C:
267         * lyxcursor.C:
268         * lyxfind.C:
269         * lyxfunc.C:
270         * lyxtext.h:
271         * text.C:
272         * text2.C:
273         * text3.C:
274         * text_funcs.[Ch]:
275         * textcursor.[Ch]:
276         * undo_funcs.C: adjust
277
278 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
279
280         * text2.C (incrementItemDepth): new function, use a backtracking
281         algorithm to discover the correct item depth.
282         (resetEnumCounterIfNeeded): new function, use a backtracking
283         algorithm to discover if counter reset is needed.
284         (setCounter): use them. Simplify a bit. Add different labels for
285         different item depths for itemize.
286
287         * paragraph.C (Paragraph): remove initialization of enumdepth
288         (operator=): ditto
289
290         * paragraph.h: get rid of enumdepth, and use itemdepth both for
291         enumerate and itemize. Change the type of itemdepth to signed char.
292
293 2003-10-08  André Pönitz  <poenitz@gmx.net>
294
295         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
296           thing assignable.
297         * text.C:
298         * text2.C: adjust
299
300         * tabular.[Ch]: fix crash after 'row-insert'
301
302 2003-10-08  Angus Leeming  <leeming@lyx.org>
303
304         Fix doxygen warnings.
305
306         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
307         Remove CutAndPaste:: prefix from header file declaration.
308
309         * LColor.h (fill): remove LColor:: prefix from declaration.
310
311         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
312         use lyx::depth_type rather than Paragraph::depth_type so that
313         header file and .C file match.
314
315         * converter.h (intToFormat): remove Converters:: prefix from declaration.
316
317         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
318         * aspell.C: \file aspell_local.C -> \file aspell.C
319         * gettext.C: \file gettext.C -> \file src/gettext.C
320         * gettext.h: \file gettext.h -> \file src/gettext.h
321         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
322         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
323         * text.C: \file text.C -> \file src/text.C
324
325         * toc.C: move comment so that doxygen is not confused.
326
327 2003-10-07  Angus Leeming  <leeming@lyx.org>
328
329         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
330
331 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
332
333         * aspell.C:
334         * aspell_local.h: add forgotten std::string's.
335
336 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
337
338         * LaTeXFeatures.C:
339         * LyXAction.C:
340         * factory.C:
341         * lfuns.h:
342         * lyxfunc.C:
343         * text3.C: The Box patch. Fancybox support, minipage, parbox
344
345 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
346
347         * CutAndPaste.h:
348         * DepTable.h:
349         * FloatList.h:
350         * LaTeXFeatures.h:
351         * ParagraphParameters.h:
352         * TextCache.h:
353         * Thesaurus.h:
354         * bufferlist.h:
355         * exporter.h:
356         * importer.h:
357         * lastfiles.h:
358         * lyxfind.h:
359         * lyxfont.h:
360         * lyxlex.h:
361         * lyxtextclasslist.h:
362         * messages.h:
363         * paragraph.h:
364         * paragraph_pimpl.C:
365         * textcursor.h: add <string> and other small fixes to make Lars'
366         std::string patch compile with STLport.
367
368 2003-10-06  Angus Leeming  <leeming@lyx.org>
369
370         * LColor.h: Add missing #include <string>.
371
372 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
373
374         * All most all file in all subdirs: Make <string> be the prefered
375         way of getting to std::string, add using declarations.
376
377 2003-10-06  André Pönitz  <poenitz@gmx.net>
378
379         * metricsinfo.C: initialize LyXFont before changing attribute.
380         (fixes the 'math in \emph is upright' bug)
381
382 2003-10-06  André Pönitz  <poenitz@gmx.net>
383
384         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
385
386 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
387
388         * graph.C:
389         * paragraph_pimpl.C: Small fixes to build using STLport
390
391 2003-10-02  André Pönitz  <poenitz@gmx.net>
392
393         * lyxfunc.C:
394         * text3.C: move handling of LFUN_DEPTH *; fix #1360
395
396 2003-10-01  André Pönitz  <poenitz@gmx.net>
397
398         * factory.C: assert early
399
400 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
401
402         * lyx_main.C: remove the global debug object
403
404         * debug.h: adjust for new debugstream
405
406         * debug.C: adjust for new debugstream and keep the global debug
407         object here.
408
409 2003-09-22  Angus Leeming  <leeming@lyx.org>
410
411         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
412         of g++ which otherwise complain that the scoped_ptr destructor can't delete
413         an incomplete class LyXFont.
414
415 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
416
417         * factory.C: bug fix in branches
418
419 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
420
421         * lyxfunc.C (processKeySym): adjust
422         (dispatch): adjust
423         (dispatch): change arg name from ev to func, adjust
424         (sendDispatchMessage): ditto
425
426         * lyx_main.C (defaultKeyBindings): adjust keybindings
427         (deadKeyBindings): ditto
428
429         * kbsequence.C (addkey): return a FuncRequest
430
431         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
432
433         * kbmap.C (bind): take a FuncRequest as arg, adjust
434         (read): adjust
435         (lookup): adjust
436         (defkey): change to take a FuncRequest as arg, adjust
437         (findbinding): take a FuncRequest as arg, adjust.
438
439         * funcrequest.h (operator=): added
440
441         * funcrequest.C (FuncRequest): default kb_action changed from
442         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
443
444         * buffer.C (dispatch): simplify
445         (dispatch): adjust to take a FuncRequest as arg, adjust
446
447         * boost.C (assertion_failed): change assertion message slightly
448
449         * ToolbarBackend.C (read): simplify
450
451         * MenuBackend.C (binding): adjust call to findbinding, add a
452         message if no binding is found.
453         (read): simplify
454         (expandToc): correct by adding a empty FuncRequest
455
456         * LyXAction.C: include <boost/assert.hpp>
457         (isPseudoAction): delete function
458         (LookupFunc): change name to...
459         (lookupFunc): this. change return type to FuncRequest.
460         (getActionName): take kb_action as arg, simplify
461         (funcHasFlag): add an assert, simplify.
462
463 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
464
465         * toc.C (action): return a FuncRequest, simplify
466
467         * lyxfunc.C (processKeySym): adjust
468         (getStatus): delete version that takes an int.
469         (getStatus): adjust
470         (dispatch): delete version that takes action as int
471         (dispatch): adjust
472         (sendDispatchMessage): simplify and adjust
473
474         * funcrequest.C (getArg): take unsigned int as arg
475
476         * ToolbarBackend.C (read): adjust
477         (add): delete version that takes func as a string.
478         (getIton): take a FuncRequest as arg
479
480         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
481         action.
482
483         * MenuBackend.C (MenuItem): add a new construct that only takes a
484         Kind, simplify the constructor use for submenus.
485         (add): adjust
486         (expandLastfiles): adjust
487         (expandDocuments): adjust
488         (expandFormats): adjust
489         (expandFloatListInsert): adjust
490         (expandFloatInsert): adjust
491         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
492
493         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
494         Remove class variables lyx_pseudo_map and lyx_arg_map
495
496         * LyXAction.C (searchActionArg): delete function
497         (getPseudoAction): delete function
498         (retrieveActionArg): delete function
499         (LookupFunc): make it return kb_action, simplify.
500         (getActionName): simplify
501
502         * factory.C (createInset): fix new bug
503
504 2003-09-19  Angus Leeming  <leeming@lyx.org>
505
506         * CutAndPaste.C (pasteSelection): remove fudge used to set the
507         masterFilename_ parameter in the include inset.
508
509         * factory.C (createInset): changes due to the changes to InsetInclude.
510
511 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
512
513         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
514
515 2003-09-18  Angus Leeming  <leeming@lyx.org>
516
517         * buffer.C:
518         * BufferView.C: pass the buffer when calling Inset::getLabelList,
519         Inset::fillWithBibKeys.
520         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
521
522 2003-09-18  Angus Leeming  <leeming@lyx.org>
523
524         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
525         variables.
526         (ctor): pass and store a 'Buffer const &'
527         (buffer): new member function.
528
529         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
530         '*this' to the LaTeXFeatures ctor.
531
532 2003-09-18  Angus Leeming  <leeming@lyx.org>
533
534         * LColor.h:
535         * lyxfont.C:
536         * lyxfont.h:
537         * lyxtext.h:
538         * text.C: rename EnumLColor as LColor_color.
539
540 2003-09-18  Angus Leeming  <leeming@lyx.org>
541
542         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
543         remove #include "insets/insetbase.h" from cursor.h.
544
545 2003-09-18  Angus Leeming  <leeming@lyx.org>
546
547         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
548         InsetOld_code to remove #include "inset.h".
549
550         * iterators.C: add #include "insets/inset.h"
551
552 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
553
554         * BufferView.C: remove more locking stuff that apparently doesn't
555         do anything sensible.
556
557 2003-09-16  André Pönitz  <poenitz@gmx.net>
558
559         * paragraph.[Ch]:
560         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
561           performance boost.
562
563 2003-09-16  Angus Leeming  <leeming@lyx.org>
564
565         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
566
567         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
568         arg/return type.
569
570         * paragraph.h: remove #include "lyxfont.h". Forward declare
571         LyXFont_size.
572
573 2003-09-16  Angus Leeming  <leeming@lyx.org>
574
575         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
576         of support/textutils.h.
577         (isWord): move the contents of support/textutils.h's IsWordChar here.
578
579         * buffer.C:
580         * lyxfind.C:
581         * rowpainter.C:
582         * text.C:
583         * text2.C: add #include "paragraph.h".
584
585         * rowpainter.C:
586         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
587
588 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
589
590         * main.C:
591         * lyx_main.C:
592         * lyx_cb.C:
593         * buffer.C:
594         * LaTeX.C: use namespace alias for lyx::support::os
595
596 2003-09-16  Angus Leeming  <leeming@lyx.org>
597
598         * bufferparams.C:
599         * bufferview_funcs.C:
600         * factory.C:
601         * lyxfunc.C:
602         * paragraph_pimpl.C:
603         * rowpainter.C:
604         * text.C: add #include "LColor.h".
605
606 2003-09-16  Angus Leeming  <leeming@lyx.org>
607
608         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
609         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
610         return LyXFont &.
611         Store the FontBits::color variable as an int rather than as an
612         LColor::colorso that we can move LColor.h out of the lyxfont.h header
613         file.
614
615         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
616         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
617         string calls together.
618
619         * lyxrc.C: add #include "LColor.h".
620
621 2003-09-15  Angus Leeming  <leeming@lyx.org>
622
623         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
624         a cow_ptr.
625
626 2003-09-15  Angus Leeming  <leeming@lyx.org>
627
628         * LColor.h: add an EnumLColor wrapper for LColor::color.
629
630         * lyxfont.[Ch] (color, setColor, realColor):
631         * lyxtext.h, text.C (backgroundColor):
632         pass EnumLColor args to/from the functions, rather than LColor::color
633         ones.
634
635         * lyxfont.h:
636         * lyxtext.h: forward declare EnumLColor.
637
638         * lyx_main.C: add #include "LColor.h".
639
640 2003-09-15  Angus Leeming  <leeming@lyx.org>
641
642         * .cvsignore: add lyx-gtk.
643
644 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
645
646         * Chktex.C
647         * LaTeX.C
648         * LaTeXFeatures.C
649         * ParagraphParameters.C
650         * Spacing.C
651         * buffer.C
652         * bufferparams.C
653         * bufferview_funcs.C
654         * chset.C
655         * counters.C
656         * funcrequest.C
657         * lyxfont.C
658         * lyxgluelength.C
659         * lyxlength.C
660         * paragraph.C
661         * paragraph_funcs.C
662         * text3.C
663         * vc-backend.C: remove usage of STRCONV
664
665 2003-09-15  Angus Leeming  <leeming@lyx.org>
666
667         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
668         explicitly define the color passed to the painter.
669
670 2003-09-15  Angus Leeming  <leeming@lyx.org>
671
672         * bufferparams.C (BufferParams): reorder member initializers to avoid
673         compiler warning.
674
675 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
676
677         * CutAndPaste.C (pasteSelection): remove an outdated #warning
678         * text.C (updateRowPositions): remove an unusual nop
679
680 2003-09-12  André Pönitz  <poenitz@gmx.net>
681
682         * BufferView_pimpl.C:
683         * Bullet.C:
684         * layout.h:
685         * lyxfunc.C:
686         * lyxlayout.[Ch]:
687         * lyxtextclass.C:
688         * rowpainter.C:
689         * text.C:
690         * text2.C:
691         * Counters.[Ch]: finish the 'automatic counters' job
692
693 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
694
695         * aspell.C: include <boost/assert.cpp> (compile fix)
696
697 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
698
699         * boost.C (assertion_failed): use lyx::support::abort instead of
700         assert.
701
702 2003-09-10  Angus Leeming  <leeming@lyx.org>
703
704         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
705         with their _fwd progeny.
706
707 2003-09-09  Angus Leeming  <leeming@lyx.org>
708
709         134 files throughtout the source tree: replace 'using namespace abc;'
710         directives with the appropriate 'using abc::xyz;' declarations.
711
712 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
713
714         * boost.C (emergencyCleanup): moved here from LAssert.c
715         (assertion_failed): new function, called by BOOST_ASSERT
716
717         * several files: change Assert to BOOST_ASSERT
718
719 2003-09-09  Angus Leeming  <leeming@lyx.org>
720
721         * buffer.[Ch]: Add an Impl class and move Buffer's member
722         variables into it. As a result move several header files out of
723         buffer.h.
724
725         Add header files to lots of .C files all over the tree as a result.
726
727 2003-09-09  Angus Leeming  <leeming@lyx.org>
728
729         * buffer.[Ch]: make Buffer's member variables private. Add
730         accessor functions.
731
732         Lots of changes all over the tree as a result.
733
734 2003-09-08  Angus Leeming  <leeming@lyx.org>
735
736         * graph.C: #include <config.h>.
737
738 2003-09-08  Angus Leeming  <leeming@lyx.org>
739
740         * BranchList.C:
741         * BufferView.C:
742         * BufferView_pimpl.C:
743         * CutAndPaste.C:
744         * DepTable.C:
745         * LaTeX.C:
746         * LaTeXFeatures.C:
747         * LyXAction.C:
748         * MenuBackend.C:
749         * TextCache.C:
750         * aspell.C:
751         * buffer.C:
752         * bufferlist.C:
753         * changes.C:
754         * chset.C:
755         * converter.C:
756         * counters.C:
757         * debug.C:
758         * graph.C:
759         * ispell.C:
760         * lyx_cb.C:
761         * lyxfind.C:
762         * lyxfunc.C:
763         * lyxlex_pimpl.C:
764         * lyxrc.C:
765         * lyxrow.C:
766         * paragraph.C:
767         * rowpainter.C:
768         * texrow.C:
769         * text.C:
770         * text2.C:
771         * toc.C: remove redundant using directives.
772
773 2003-09-07  Angus Leeming  <leeming@lyx.org>
774
775         * LaTeXFeatures.h: remove #include "support/types.h".
776         * ToolbarBackend.h: remove #include <algorithm>.
777         * changes.h: remove #include <ctime>.
778         * debug.h: remove #include <iosfwd>.
779         * graph.h: remove #include "support/std_string.h".
780         * lyx_main.h: remove #include <csignal>.
781         * lyxlex_pimpl.h: remove #include <fstream>.
782         * sgml.h: remove #include <algorithm>, <utility>.
783         * toc.h: remove #include "support/std_ostream.h".
784         Add #include <iosfwd>.
785
786 2003-09-07  Angus Leeming  <leeming@lyx.org>
787
788         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
789
790         * converter.h: forward declare LatexRunParams.
791         * encoding.h: remove #include "lyxrc.h".
792         * lyxtext.h: remove #include "LColor.h".
793         * lyxtextclass.h: remove #include "support/types.h".
794         * trans.h: remove #include "tex-accent.h".
795         * trans_mgr.h: remove #include "tex-accent.h".
796         * insets/inset.h: remove #include "support/types.h", <vector>.
797         * insets/insetcollapsable.h: remove #include "LColor.h".
798         * insets/insetinclude.h: remove #include "dimension.h".
799         * insets/insetlatexaccent.h: remove #include "dimension.h".
800         * insets/insetoptarg.h:: remove #include "insettext.h".
801         * insets/insettext.h: remove #include "dimension.h",
802         <boost/shared_ptr.hpp>
803
804         * insets/renderers.h: add #include "dimension.h".
805         * insets/updatableinset.h: add #include "support/types.h".
806
807         * many .C files: Associated changes.
808
809 2003-09-06  Angus Leeming  <leeming@lyx.org>
810
811         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
812         one, inside testInvariant.
813
814         * PrinterParams.C: new file.
815         * PrinterParams.[Ch]: move the function bodies out of line.
816
817 2003-09-06  Angus Leeming  <leeming@lyx.org>
818
819         * ParagraphParameters.h: forward declare ParameterStruct rather than
820         including its header file.
821         (depth): moved out-of-line.
822
823 2003-09-06  Angus Leeming  <leeming@lyx.org>
824
825         * BufferView_pimpl.h:
826         * kbmap.h:
827         * kbsequence.h:
828         * lyxfunc.h: forward declare LyXKeySym rather than
829         #include "frontends/LyXKeySym.h".
830
831         * BufferView_pimpl.C:
832         * kbmap.C:
833         * kbsequence.C:
834         * lyxfunc.C: associated changes.
835
836 2003-09-06  Angus Leeming  <leeming@lyx.org>
837
838         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
839         As a result, can remove the #include "insets/inset.h" from BufferView.h
840
841 2003-09-06  Angus Leeming  <leeming@lyx.org>
842
843         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
844         As a result, can remove the #include "insets/inset.h" from BufferView.h
845
846 2003-09-06  Angus Leeming  <leeming@lyx.org>
847
848         * buffer_funcs.C:
849         * buffer.h:
850         * bufferlist.C:
851         * BufferView.C:
852         * bufferview_funcs.C:
853         * BufferView_pimpl.C:
854         * CutAndPaste.C:
855         * lyx_cb.C:
856         * lyxfunc.C:
857         * paragraph.h:
858         * ParagraphParameters.C:
859         * tabular.C:
860         * text3.C:
861         * toc.C:
862         * undo_funcs.C:
863         * frontends/controllers/ControlDocument.C:
864         * insets/insetcaption.C: rearrange the #includes into some sort of
865         coherent order.
866
867         * buffer.h: remove #includes ErrorList.h, undo.h
868
869 2003-09-06  Angus Leeming  <leeming@lyx.org>
870
871         * support/types.h: add a 'depth_type' typedef, used to store the
872         nesting depth of a paragraph.
873
874         * paragraph.h:
875         * ParameterStruct.h: use this lyx::depth_type typedef rather than
876         defining explicitly.
877
878         * buffer.h:
879         * paragraph_funcs.h:
880         * ParagraphParameters.h:
881         * sgml.h: use lyx::depth_type rather than Paragraph or
882         ParameterStruct's depth_type.
883
884         * buffer.h
885         * paragraph_funcs.h: no need to #include paragraph.h anymore.
886
887         * BufferView.C:
888         * BufferView_pimpl.C:
889         * CutAndPaste.C:
890         * ParagraphParameters.C:
891         * buffer_funcs.C:
892         * bufferlist.C:
893         * bufferview_funcs.C:
894         * lyx_cb.C:
895         * lyxfunc.C:
896         * tabular.C:
897         * text3.C:
898         * toc.C:
899         * undo_funcs.C:
900         * frontends/LyXView.C:
901         * frontends/controllers/ControlDocument.C:
902         * frontends/controllers/ControlErrorList.C:
903         * insets/insetbibitem.C:
904         * insets/insetbranch.C:
905         * insets/insetcaption.C:
906         * insets/insetcollapsable.C:
907         * insets/insetenv.C:
908         * insets/insetert.C:
909         * insets/insetfloat.C:
910         * insets/insetfoot.C:
911         * insets/insetfootlike.C:
912         * insets/insetnewline.C:
913         * insets/insetquotes.C:
914         * insets/insettabular.C:
915         * insets/insettext.C:
916         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
917
918         * frontends/controllers/ControlChanges.C: #include "changes.h".
919
920 2003-09-06  Angus Leeming  <leeming@lyx.org>
921
922         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
923         than #including paragraph.h.
924
925         * ParagraphList.h:
926         * RowList.h: deleted. Superfluous.
927
928         * CutAndPaste.h:
929         * iterators.h:
930         * lyxcursor.h:
931         * lyxtext.h:
932         * text_funcs.h:
933         * undo.h:
934         * undo_funcs.h:
935         * insets/inset.h:
936         * insets/insettext.h: use ParagraphList_fwd.h rather than
937         ParagraphList.h.
938
939         * paragraph.h: don't forward declare ParagraphList.
940
941         * buffer.h:
942         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
943         rather than ParagraphList.h. paragraph.h is still needed for the
944         Paragraph::depth_type parameters.
945
946         * textcursor.h: enable it to compile stand-alone in light of the
947         above changes.
948
949         * bufferview_funcs.C:
950         * iterators.C:
951         * lyxfunc.C:
952         * lyxrow_funcs.C:
953         * paragraph.C:
954         * rowpainter.C:
955         * text.C:
956         * text2.C:
957         * text3.C:
958         * text_funcs.C:
959         * textcursor.C:
960         * undo.C:
961         * frontends/controllers/ControlParagraph.C:
962         * frontends/controllers/ControlTabular.C:
963         * insets/insetmarginal.C:
964         * insets/insetminipage.C:
965         * insets/insetnote.C:
966         * insets/insetoptarg.C: add header files needed to compile again.
967
968 2003-09-06  Angus Leeming  <leeming@lyx.org>
969
970         * RowList_fwd.h: new file, forward-declaring Row rather than
971         #including lyxrow.h.
972
973         * lyxrow_funcs.h:
974         * lyxtext.h:
975         * paragraph.h:
976         * insets/insettext.h: use it instead of RowList.h
977
978         * bufferview_funcs.C:
979         * lyxfunc.C:
980         * lyxrow_funcs.C:
981         * paragraph.C:
982         * rowpainter.C:
983         * text.C:
984         * text2.C:
985         * text3.C: #include "RowList.h".
986
987 2003-09-05  Angus Leeming  <leeming@lyx.org>
988
989         * factory.C (createInset):
990         * vspace.C (c-tor): replace sscanf call with an istringstream.
991         * ispell.C: re-add missing HP/UX headers.
992         * lyxserver.C: re-add missing  os2 headers.
993
994 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
995
996         * BranchList.C:
997         * graph.C:
998         * ispell.C:
999         * lastfiles.C:
1000         * lyx_cb.C:
1001         * lyxserver.C:
1002         * texrow.C:
1003         * text3.C: re-add missing system headers, needed for 2.95.2.
1004
1005 2003-09-05  Angus Leeming  <leeming@lyx.org>
1006
1007         Changes most place everywhere due to the removal of using directives
1008         from support/std_sstream.h.
1009
1010 2003-09-05  Angus Leeming  <leeming@lyx.org>
1011
1012         Replace LString.h with support/std_string.h,
1013         Lsstream.h with support/std_sstream.h,
1014         support/LIstream.h with support/std_istream.h,
1015         support/LOstream.h with support/std_ostream.h.
1016
1017         Changes resulting throughout the tree.
1018
1019 2003-09-05  Angus Leeming  <leeming@lyx.org>
1020
1021         * sgml.h: ensure that the header file can be compiled stand-alone.
1022         * *.C: strip out redundant #includes. (320 in total.)
1023
1024 2003-09-04  Angus Leeming  <leeming@lyx.org>
1025
1026         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1027         here (from getPackages).
1028
1029         * debug.[Ch]: add a new EXTERNAL tag.
1030
1031 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1032
1033         * text2.C (cursorEnd): simplify
1034         (setCursor): adjust
1035         (getColumnNearX): adjust
1036
1037         * text.C (computeBidiTables): adjust
1038         (fill): adjust
1039
1040         * rowpainter.C (paintChars): adjust
1041         (paintSelection): adjust
1042         (paintChangeBar): adjust
1043         (paintText): adjust
1044
1045         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1046         lastPos instead.
1047         (numberOfSeparators): adjust
1048
1049 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1050
1051         * LyXAction.C:
1052         * box.[Ch]:
1053         * lfuns.h:
1054         * lyxfunc.C:
1055         * text3.C: Restricts the mouse click functionality
1056         of insets like bibtex, include, toc and floatlist to the visible
1057         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1058         up the dialogs. Cursor has to be in front of the inset (i.e.
1059         start of row) for this to function.
1060
1061 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1062
1063         * bufferview_funcs.C (currentState): output row information
1064
1065 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1066
1067         * bufferview_funcs.C (currentState): output paragraph position
1068
1069 2003-09-04  Angus Leeming  <leeming@lyx.org>
1070
1071         * FloatList.h: move out #include "Floating.h".
1072         * LaTeX.h: move out #include "DepTable.h".
1073         * LyXAction.h: move out #include "funcrequest.h".
1074         * buffer.h: move out #include "author.h", "iterators.h".
1075         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1076         * lyx_main.h: move out #include "errorlist.h".
1077         * lyxfunc.h: move out #include "FuncStatus.h".
1078         * lyxtext: move out #include "lyxcursor.h".
1079         * paragraph_pimpl.h: move out #include "counters.h".
1080
1081 2003-09-03  Angus Leeming  <leeming@lyx.org>
1082
1083         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1084         preamble_snippets list, enabling us to add snippets to the preamble
1085         only if the snippet was not there already.
1086
1087 2003-09-04  Angus Leeming  <leeming@lyx.org>
1088
1089         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1090
1091 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1092
1093         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1094         update
1095
1096 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1097
1098         * BranchList.C: point fix, earlier forgotten
1099
1100 2003-09-02  Angus Leeming  <leeming@lyx.org>
1101
1102         * box.C (contains): renamed from 'contained' after a fantastic
1103         amount of hot air.
1104
1105 2003-09-02  John Levon  <levon@movementarian.org>
1106
1107         * BufferView.C:
1108         * lyxcursor.h:
1109         * lyxcursor.C:
1110         * lyxfunc.C:
1111         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1112
1113 2003-09-02  John Levon  <levon@movementarian.org>
1114
1115         * text2.C: simplification of cursorEnd(), including partial
1116         fix for bug 1376
1117
1118 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1119
1120         * buffer.C (readFile): add a space
1121
1122 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1123
1124         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1125
1126 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1127
1128         * buffer.C (readFile): new function, take a filename and a
1129         ParagraphList::iterator
1130         (readFile): adjust
1131         (readFile): adjust, make it private. don't use setStream, make
1132         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1133         always contain the filename.
1134
1135         * BufferView.C (insertLyXFile): simplify and make it work for
1136         gzipped files.
1137
1138 2003-08-30  John Levon  <levon@movementarian.org>
1139
1140         * Makefile.am: fix dist (from Kayvan)
1141
1142 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1143
1144         * most files: change to use const Buffer refs
1145
1146 2003-08-27  André Pönitz  <poenitz@gmx.net>
1147
1148         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1149         on top of ownerPar().
1150
1151 2003-08-27  John Levon  <levon@movementarian.org>
1152
1153         * funcrequest.C: properly initialise POD members
1154
1155 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1156
1157         * lyxtext.h (top_y): move top_y from here
1158         * text.C:
1159         * text2.C:
1160         * text3.C:
1161         * BufferView.[Ch]:
1162         * BufferView_pimpl.[Ch]: to here
1163         * frontends/screen.C:
1164         * insets/insettabular.C:
1165         * insets/insettext.C: adjust
1166         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1167
1168 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1169
1170         * BufferView.[Ch]:
1171         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1172
1173 2003-08-26  André Pönitz  <poenitz@gmx.net>
1174
1175         * paragraph_func.[Ch] (outerPar): new function
1176
1177         * paragraph.C:
1178         * paragraph_funcs.C:
1179         * paragraph_funcs.h:
1180         * paragraph_pimpl.C:
1181         * text2.C: remove Inset::par_owner
1182
1183 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1184
1185         * lyxrow_funcs.C:
1186         * lyxtext.h:
1187         * text.C:
1188         * text2.C: eliminates the needFullRow/display() stuff
1189         altogether, putting the logic in metrics/draw in the insets.
1190
1191 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1192
1193         * text2.C (redoParagraphInternal, redoParagraphs):
1194         * text.C (redoParagraph): add a call to updateRowPositions at the
1195         end of each 'metrics-like' call. Remove all others.
1196         (getRow): remove the 'y-computing' version.
1197         (getRowNearY): do not compute nor return the real y. Solve the
1198         'y < 0' problem and simplify.
1199
1200 2003-08-22  Angus Leeming  <leeming@lyx.org>
1201
1202         * *.[Ch]: clean-up of licence and author blurbs.
1203         Also move config.h out of a few .h files and into a few .C files.
1204
1205 2003-08-22  André Pönitz  <poenitz@gmx.net>
1206
1207         * lyxrow.[Ch]: add x_ and *fill_ members
1208
1209         * lyxtext.h:
1210         * text.C:
1211         * rowpainter.C:
1212         * text2.C: adjust/remove prepareToPrint() calls
1213
1214 2003-08-22  André Pönitz  <poenitz@gmx.net>
1215
1216         * lyxrow.[Ch]: add  end_ member
1217
1218         * lyxrow_funcs.C: use LyXRow::end_
1219
1220         * lyxtext.h (singleWidth): add LyXFont parameter
1221
1222         * rowpainter.C:
1223         * text2.C: adjust LyXText::singleWidth() calls
1224
1225         * text.C (redoParagraph): simplify row breaking logic
1226
1227
1228 2003-08-19  André Pönitz  <poenitz@gmx.net>
1229
1230         * funcrequest.C: initialize button_ member
1231
1232         * text3.C:
1233         * rowpainter.[Ch]: interface consolidation
1234
1235 2003-08-18  André Pönitz  <poenitz@gmx.net>
1236
1237         * BufferView.C:
1238         * BufferView_pimpl.C:
1239         * lyxfind.C:
1240         * paragraph_funcs.C:
1241         * rowpainter.C:
1242         * text3.C: remove LyXScreen::draw() and fitCursor calls
1243
1244         * BranchList.h: remove spurious semicolons
1245
1246         * MenuBackend.C: fix branchlist related crash
1247
1248 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1249
1250         * BranchList.[Ch]:
1251         * InsetList.[Ch]:
1252         * LColor.[Ch]:
1253         * LyXAction.C:
1254         * Makefile.am:
1255         * MenuBackend.[Ch]:
1256         * bufferparams.[Ch]:
1257         * factory.C:
1258         * lfuns.h:
1259         * lyxfunc.C:
1260         * text3.C: implements the 'branch inset'
1261         idea. This allows the output of various versions of a document
1262         from a single source version, selectively outputing or suppressing
1263         output of parts of the text.
1264         This implementation contains a 'branch list editor' in a separate
1265         tab of the document settings dialog. Branches are user definable
1266         and have a "display colour" to distinguish them on-screen.
1267
1268         ColorHandler was somewhat cleaned up.
1269         (1) make possible a dynamically growing LColor list by allowing
1270         the graphic context cache to grow along (vector);
1271         (2) eliminate an IMHO unnecessary step in colour allocation.
1272
1273 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1274
1275         * BufferView_pimpl.C: compile fix
1276
1277 2003-08-15  André Pönitz  <poenitz@gmx.net>
1278
1279         * rowpainter.C: remove extra metrics calls
1280
1281         * lyxtext.h: merge the two constructors into a single one,
1282           pass reference to owner's par list
1283
1284         * BufferView_pimpl.C:
1285         * text.C:
1286         * text2.C: adjust
1287
1288 2003-08-15  André Pönitz  <poenitz@gmx.net>
1289
1290         * lyxrow_funcs.[Ch]:
1291         * lyxtext.h:
1292         * paragraph.h:
1293         * paragraph_funcs.C:
1294         * rowpainter.C:
1295         * text.C:
1296         * text2.C:
1297         * text3.C:
1298         * text_funcs.C: split LyXText::rowlist_ into individual
1299         Paragraph::rows_ chunks
1300
1301         * BufferView.[Ch]:
1302         * BufferView_pimpl.[Ch]:
1303         * lyxfind.C:
1304         * lyxtext.h:
1305         * text3.C: remove toggleSelection()
1306
1307 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1308
1309         * bufferlist.C: beautify two alerts (shorter text of buttons)
1310         * buffer.C: Remove redundant ' ' from message
1311         * tabular.h:
1312         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1313         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1314         rename VALIGN_CENTER to VALIGN_MIDDLE
1315
1316 2003-08-11  André Pönitz  <poenitz@gmx.net>
1317
1318         * lyxtext.h (getPar):
1319         * text.C: new function
1320
1321 2003-08-11  André Pönitz  <poenitz@gmx.net>
1322
1323         * Makefile.am:
1324         * tracer.[Ch]: remove unneeded files
1325
1326         * InsetList.[Ch]: remove resizeInsetsLyXText()
1327
1328         * lyxtext.h:
1329         * text.C:
1330         * text2.C:
1331         * text3.C: merge insertParagraphs() and appendParagraph()
1332         remove breakAgain(), update()
1333
1334         * BufferView_pimpl.[Ch]:
1335         * bufferview_funcs.[Ch]:
1336         * lyxfunc.C:
1337         * paragraph.[Ch]:
1338         * rowpainter.C:
1339         * tabular.C: adjust after text & InsetList changes.
1340
1341 2003-08-08  André Pönitz  <poenitz@gmx.net>
1342
1343         * text.C (insertChar, backspace): replace rowlist fiddling
1344         with rebreak of full par
1345
1346         * lyxtext.h:
1347         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1348         checkParagraph, updateInset): removed
1349
1350 2003-08-07  André Pönitz  <poenitz@gmx.net>
1351
1352         * paragraph.C:
1353         * text3.C: merge some LFUN handlers, remove dead code
1354
1355 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1356
1357         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1358
1359 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1360
1361         * text2.C (DEPM): fix part of bug 1255 and 1256
1362
1363 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1364
1365         * BufferView_pimpl.C (workAreaDispatch): change to use
1366         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1367         that are no mouse related.
1368
1369 2003-08-05  André Pönitz  <poenitz@gmx.net>
1370
1371         * BufferView.[Ch]:
1372         * BufferView_pimpl.[Ch]:
1373         * bufferview_funcs.C:
1374         * text2.C:
1375         * text3.C: rip out "deep update"
1376
1377         * textcursor.[Ch] (last_sel_cursor): remove unused member
1378
1379 2003-08-04  André Pönitz  <poenitz@gmx.net>
1380
1381         * BufferView.[Ch]:
1382         * BufferView_pimpl.[Ch]:
1383         * ParagraphParameters.C:
1384         * bufferview_funcs.C:
1385         * lyx_cb.C:
1386         * lyxfind.C:
1387         * lyxfunc.C:
1388         * text.C:
1389         * text2.C:
1390         * text3.C: replace "complicated" BufferView::update(...) calls with
1391         simpler ones.
1392
1393         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1394
1395 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1396
1397         * Makefile.am (lyx_SOURCES): add paper.h
1398
1399 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1400
1401         * Makefile.am: move things around so that both lyx-qt and
1402         lyx-xforms can be built (according to --with-frontend). Then lyx
1403         is a symbolic link to lyx-[firstfrontend]
1404
1405 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1406
1407         * Always use std::endl with lyxerr
1408
1409 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1410
1411         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1412
1413 2003-08-01  André Pönitz  <poenitz@gmx.net>
1414
1415         * BufferView.[Ch]:
1416         * BufferView_pimpl.[Ch]:
1417         * lyxfunc.C:
1418         * text3.C: merge BufferView::repaint() and BufferView::update()
1419
1420 2003-08-01  José Matos  <jamatos@lyx.org>
1421
1422         * buffer.[Ch]: file_format is no longer a buffer data element.
1423
1424 2003-08-01  André Pönitz  <poenitz@gmx.net>
1425
1426         * BufferView.C:
1427         * lyxtext.h:
1428         * text.C:
1429         * text2.C: make redoParagraph more independent of current cursor
1430
1431         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1432         * text.C:
1433         * text2.C: remove unneeded members
1434
1435 2003-07-30  André Pönitz  <poenitz@gmx.net>
1436
1437         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1438
1439         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1440           create a single function...
1441
1442         * paragraph_funcs.C (moveItem): ... here.
1443
1444         * text.C:
1445           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1446
1447 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1448
1449         * LColor.[Ch]: Add comment and greyedout logical colors.
1450
1451 2003-07-30  André Pönitz  <poenitz@gmx.net>
1452
1453         * tabular.C: don't use Assert too heavily. This crashes where it
1454           shouldn't
1455
1456 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1457
1458         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1459         is disabled (bug 1232)
1460
1461 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1462
1463         * factory.C: limited 'arg' scope
1464
1465 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1466
1467         * factory.C: fixed Note submenu issues
1468
1469 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1470
1471         * factory.C: submenu for Note/Comment/Greyedout
1472
1473 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1474
1475         * lyx_main.C (LyX):
1476         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1477
1478 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1479
1480         * LaTeXFeatures.C:
1481         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1482         greyedout. Patch provided by Jürgen Spitzmüller.
1483
1484 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1485
1486         * kbmap.C (read): fix error message when reading bind files
1487
1488 2003-07-29  Angus Leeming  <leeming@lyx.org>
1489
1490         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1491         certainly does not do what it purports to do. I am doing it, and
1492         us, a favour by killing it.
1493
1494 2003-07-28  José Matos  <jamatos@lyx.org>
1495
1496         * buffer.C (readBody, do_writeFile):
1497         * paragraph.C(readParagraph): \end_document replaces \the_end.
1498
1499 2003-07-29  André Pönitz  <poenitz@gmx.net>
1500
1501         * BufferView.[Ch]:
1502         * BufferView_pimpl.[Ch]:
1503         * lyxfunc.C:
1504         * text2.C:
1505         * text3.C:
1506         * textcursor.[Ch]: remove toggleToggle & Co
1507
1508 2003-07-28  José Matos  <jamatos@fep.up.pt>
1509
1510         * buffer.C (readParagraph):
1511         * params_func (readParToken, readParagraph):
1512         * paragraph.C (write): \layout -> \begin_layout.
1513
1514 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1515
1516         * lyxlex_pimpl.C (setFile): clean up slightly.
1517
1518         * bufferparams.h: add compressed var
1519
1520         * buffer_funcs.C (readFile): adjust for LyXLex change
1521         (newFile): ditto + simplify
1522
1523         * buffer.C (writeFile): handle writing of compressed files
1524
1525         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1526         Check if the file is compressed and set a bufferparm if so.
1527
1528         * Makefile.am (lyx_LDADD): remove explicit -lz
1529
1530 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1531
1532         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1533         makeDocBookFile): put the real LyX version in the first line of
1534         the file
1535
1536         * version.h:
1537         * version.C.in: remove lyx_docversion
1538
1539         * tabular.C (write_attribute): add a template-based version to
1540         write enums properly
1541
1542 2003-07-28  André Pönitz  <poenitz@gmx.net>
1543
1544         * lyxtext.h:
1545         * text.C:
1546         * text2.C:
1547         * text3.C: use doubles again for x-coordinates. They are needed.
1548
1549 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1550
1551         * messages.C (getLocaleDir): use lyx_localedir()
1552
1553         * lyxlex_pimpl.C (setFile): compress stuff
1554
1555         * buffer.C (writeFile): add some compression stuff
1556         (do_writeFile): new func, dont call expliti close... will this
1557         breake anything?
1558
1559         * Makefile.am (lyx_LDADD): add -lz
1560
1561 2003-07-28  José Matos  <jamatos@fep.up.pt>
1562
1563         * buffer.C: increment file format.
1564         * paragraph_funcs (readParagraph, readParToken):
1565         * paragraph.C (readParagraph): add \end_layout.
1566
1567 2003-07-27  Angus Leeming  <leeming@lyx.org>
1568
1569         * Makefile.am: remove special casing for configure-time setting of
1570         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1571
1572         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1573         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1574
1575 2003-07-26  André Pönitz  <poenitz@gmx.net>
1576
1577         * paragraph_func.[Ch]:
1578         * paragraph.C (realizeFont): inline it whereever it is used
1579
1580         * rowpainter.C:
1581         * text.C:
1582         * text2.C:
1583         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1584
1585
1586 2003-07-26  André Pönitz  <poenitz@gmx.net>
1587
1588         *       lyxtext.h:
1589         * text.C:
1590         * text2.C: get rid of LyXText::need_break_row
1591
1592 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1593
1594         * toc.[Ch]: put namespace toc inside namespace lyx
1595
1596         * MenuBackend.C (expandToc2): adjust for lyx::toc
1597         (expandToc): ditto
1598
1599         * lyxfunc.C (dispatch): adjust for lyx::find
1600
1601         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1602         lyx::find instead. Reorganize a bit.
1603         (LyXReplace): rename to replace
1604         (LyXFind): rename to find
1605
1606         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1607         (dispatch): ditto
1608
1609 2003-07-26  André Pönitz  <poenitz@gmx.net>
1610
1611         * text.C (setHeightOfRow): restrict scope of temporary variable
1612
1613         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1614           code (never has been used?)
1615
1616 2003-07-27  Asger Alstrup  <alstrup@local>
1617
1618         * text.C (fill): Optimise algorithm to exploit that we can reuse
1619         the LyXFont for many characters.
1620         (setHeightOfRow): Same thing.
1621         (rowBreakPoint): Same thing.
1622
1623 2003-07-26  Asger Alstrup  <alstrup@local>
1624
1625         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1626
1627         * text.C (singleWidth): Spurious font copying in hot-spot
1628         singleWidth avoided. Reorder tests for arabic for efficiency.
1629
1630         * text.C (fill): handle empty paragraphs better.
1631
1632 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1633
1634         * ispell.C:
1635         * encoding.h: add includes
1636
1637         * lyxrc.C: remove reading of bind files
1638
1639         * lyx_main.C (init): setup bindings and menus only if we have a
1640         gui.
1641
1642         * kbmap.C (read): new method. Do the actual reading of bind
1643         files.
1644
1645         * converter.C (dvipdfm_options):
1646         * bufferparams.C:
1647         * lyxrc.C (read):
1648         (output): adapt PAPER_* enums.
1649
1650         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1651
1652         * bufferparams.h: remove paper-related enums from there
1653
1654         * paper.h: New file. A trivial header file to hold paper-related
1655         enums. It should later expand to contain many paper-related
1656         horrors access.
1657
1658         * lyxrc.C: declare extern displayTranslator
1659
1660 2003-07-27  José Matos  <jamatos@fep.up.pt>
1661
1662         * tabular.[Ch] (linuxdoc): add support for tables and figures
1663         (linuxdoc).
1664
1665 2003-07-27  José Matos  <jamatos@fep.up.pt>
1666
1667         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1668         consistency in both functions.
1669         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1670
1671 2003-07-26  Asger Alstrup  <alstrup@local>
1672
1673         * rowpainter.C (paintRows): Change algorithm to work directly on
1674         the insets rather than asking every character in the document
1675         whether its an inset.
1676
1677 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1678
1679         * buffer.C (openFileWrite): factorize some code
1680
1681 2003-07-26  Angus Leeming  <leeming@lyx.org>
1682
1683         * lyx_cb.C:
1684         * lyx_main.[Ch]: replace occurances of system_tempdir with
1685         os::getTmpDir().
1686
1687 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1688
1689         * rename Inset to InsetOld
1690
1691 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1692
1693         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1694         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1695         which I think is a bit clearer. EDIT is gone, since it was
1696         premature optimisation, and broken for mathed anyway.
1697         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1698         with cursor positioning in insets as well (math insets still do not
1699         work, but that's a different story anyway.) It mysteriously
1700         crashes sometimes with undo in the first paragraph, but I'm fairly
1701         confident that this is a compiler bug.
1702
1703 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1704
1705         * paragraph.C (Paragraph): adjust for new clone return type
1706         (operator==): ditto
1707         (copyIntoMinibuffer): ditto
1708
1709 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1710
1711         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1712         by not having a special case, and always doing a full rebreak of
1713         the document after undo.
1714
1715 2003-07-23  Angus Leeming  <leeming@lyx.org>
1716
1717         * factory.C (createInset): InsetExternal::setParams now takes a
1718         Buffer const * arg.
1719
1720 2003-07-23  Angus Leeming  <leeming@lyx.org>
1721
1722         * factory.C (createInset): changed interface to the external and
1723         graphics mailers' string2params functions.
1724
1725 2003-07-23  Angus Leeming  <leeming@lyx.org>
1726
1727         * factory.C (createInset): pass a
1728         Buffer const * parameter to InsetExternalMailer's string2params.
1729
1730 2003-07-22  John Levon  <levon@movementarian.org>
1731
1732         * Thesaurus.h: include the right aiksaurus header
1733
1734 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1735
1736         * MenuBackend.C (expand): check menu shortcuts unconditionally
1737
1738 2003-07-21  Angus Leeming  <leeming@lyx.org>
1739
1740         * factory.C (createInset): pass a
1741         buffer_path parameter to InsetGraphicsMailer's string2params.
1742
1743 2003-07-21  Angus Leeming  <leeming@lyx.org>
1744
1745         * BufferView_pimpl.C (buffer):
1746         * buffer.C (d-tor):
1747         * lyx_main.C (LyX):
1748         * lyxfunc.C (dispatch):
1749         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1750         rather than the grfx shortcut.
1751
1752 2003-07-21  André Pönitz  <poenitz@gmx.net>
1753
1754         * rowpainter.C: remove unused variables
1755
1756         * tabular_funcs.C:
1757         * tabular_funcs.h: move to tabular.C
1758         * Makefile.am: adjust
1759
1760         * tabular.[Ch]: basic optical cleaning
1761
1762         * author.h: pass references, not values
1763
1764 2003-07-18  André Pönitz  <poenitz@gmx.net>
1765
1766         * lyxtext.h:
1767         * metricsinfo.C:
1768         * metricsinfo.h:
1769         * rowpainter.C:
1770         * text.C:
1771         * text2.C:
1772         * text3.C: two-phase drawing for InsetText and InsetTabular
1773         some float -> int changes.
1774
1775 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1776
1777         * lyx_main.C: fix the fix
1778
1779 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1780
1781         * lyx_main.C: fix a crash in batch mode if no files specified
1782         * converter.C: ws
1783
1784 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1785
1786         * format.[Ch] (papersize): moved to BufferParams
1787         * converter.[Ch] (dvips_options): moved to BufferParams
1788         (dvipdfm_options): moved to anon namespace
1789         * bufferparams.[Ch]: added above functions.
1790
1791 2003-07-17  André Pönitz  <poenitz@gmx.net>
1792
1793         * lyxtext.h:
1794         * rowpainter.C:
1795         * text2.C: don't call inset->update() anymore
1796
1797         * metricsinfo.[Ch]: add convenience constructor
1798
1799 2003-07-16  André Pönitz  <poenitz@gmx.net>
1800
1801         * lyxcursor.[Ch]:
1802         * lyxfunc.[Ch]:
1803         * text.C:
1804         * text2.C: replace the LyXCursor::irow_ member with
1805          on-demand computation of the value
1806
1807 2003-07-16  John Levon  <levon@movementarian.org>
1808
1809         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1810
1811 2003-07-15  André Pönitz  <poenitz@gmx.net>
1812
1813         * text.C:
1814         * text2.C: remove no more needed refresh_row
1815
1816 2003-07-15  André Pönitz  <poenitz@gmx.net>
1817
1818         * lyxtext.h:
1819         * rowpainter.C:
1820         * text2.C:
1821         * text3.C: refresh_status tristate -> need_update bool
1822
1823 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1824
1825         * lyxtext.h (init): remove reinit argument (act as if always true)
1826         * text2.C: adjust to that
1827
1828 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1829
1830         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1831         * text3.C: use it to delete selections in some cases
1832         (bugs 441, 673, 702, 954).
1833
1834 2003-07-14  André Pönitz  <poenitz@gmx.net>
1835
1836         * rowpainter.[Ch]: reduce interface
1837
1838 2003-07-14  André Pönitz  <poenitz@gmx.net>
1839
1840         * BufferView_pimpl.C:
1841         * text2.C: adjust after removing unused BufferView * argument
1842
1843 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1844
1845         * text2.C (init): fix a crash fired on resize
1846
1847 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1848
1849         * buffer.[Ch]: added new closing signal
1850         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1851         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1852         BufferView::Pimpl via the closing the signal
1853
1854 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1855
1856         * buffer.[Ch]: take out all bv-related from buffer
1857         * BufferView.C:
1858         * BufferView_pimpl.[Ch]: connect to new signals
1859         * CutAndPaste.C: removed useless asserts
1860         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1861         * lyxvc.[Ch]:
1862         * vc-backend.[Ch]:
1863         * lyxfunc.C: moved view-related funciontality from vc here
1864         * paragraph.C: removed outdated comments
1865         * text.C: ws
1866
1867 2003-07-10  André Pönitz  <poenitz@gmx.net>
1868
1869         * BufferView_pimpl.C:
1870         * tabular.h:
1871         * tabular_funcs.C:
1872         * text.C:
1873         * text2.C: remove InsetText::InnerCache, clean up consequences
1874
1875 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1876
1877         * ispell.C: fix two typos in error messages
1878
1879 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1880
1881         * Extend Note inset to other forms of annotation like Comment
1882         and Greyedout. Right button click gives dialog.
1883
1884         Files modified or added (+):
1885
1886         * insetnote.[Ch]
1887         * FormNote.[Ch]      +
1888         * ControlNote.[Ch]   +
1889         * form_note.fd       +
1890         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1891         frontends/controllers
1892         * xforms/Dialogs.C
1893         * factory.C
1894
1895 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1896
1897         * aspell.C: add missing namespace lyx::support
1898
1899 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1900
1901         * BufferView.[Ch] (newFile): Add
1902         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1903         * LaTeX.[Ch] (message): added this signal and use it
1904         * buffer.[Ch] (busy, message): added these signals and use them
1905         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1906         * converter.C:
1907         * exporter.C:
1908         * format.C:
1909         * importer.C: use buffer signals instead of direct bv calling
1910         * lyx_cb.[Ch] (ShowMessage): removed
1911         * lyx_main.C:
1912         * lyxfunc.C:
1913         * paragraph_funcs.C:
1914         * text2.C: use buffer signals
1915
1916 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1917
1918         * introduce namespace lyx::graphics
1919
1920 2003-07-02  André Pönitz  <poenitz@gmx.net>
1921
1922         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1923
1924 2003-07-01  André Pönitz  <poenitz@gmx.net>
1925
1926         * text.C:
1927         * text2.C:
1928         * text3.C:
1929         * text_funcs.[Ch]:
1930         * textcursor.h:
1931         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1932           text*.C to text_func.C
1933
1934 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1935
1936         * introduce namespace lyx::support
1937
1938 2003-06-30  André Pönitz  <poenitz@gmx.net>
1939
1940         * Chktex.C:
1941         * funcrequest.C:
1942         * lyxtext.h:
1943         * text.C: re-enable --with-included-string
1944
1945 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1946
1947         * textcursor.C: add <config.h>
1948
1949         * text.C (getWord): remove const from word_location arg
1950
1951         * lyxvc.C (getLogFile): fix const type order
1952
1953         * lyxtext.h: remove const from word_location arg, add arg name
1954
1955         * lyxlayout.h: currect type on labeltype.
1956
1957         * importer.C: correct \file
1958
1959         * converter.C (intToFormat): use std:: on ret val, ws changes
1960
1961         * bufferlist.h: correct \file
1962
1963         * buffer.C (makeLinuxDocFile): fix const type order
1964         (makeDocBookFile): ditto
1965         (fillWithBibKeys): use std:: on stdlib args.
1966
1967         * CutAndPaste.C: fix authors.
1968         (availableSelections): use std:: on return vector
1969
1970 2003-06-27  André Pönitz  <poenitz@gmx.net>
1971
1972         * BufferView_pimpl.C:
1973         * bufferview_funcs.C:
1974         * lyxcursor.C:
1975         * lyxcursor.h:
1976         * lyxfunc.C:
1977         * lyxtext.h:
1978         * rowpainter.C:
1979         * text.C:
1980         * text2.C:
1981         * text3.C: remove LyXCursor::row_ member
1982
1983         * lyxtext.h:
1984         * text.C: rename fullRebreak() to partialRebreak() and implement
1985           a fullRebreak() that really bereks fully
1986
1987         * textcursor.h: new struct for cursor-related data
1988
1989 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1990
1991         * lyx_main.C (LyX): get full path of document loaded on the
1992         command line
1993
1994 2003-06-26  André Pönitz  <poenitz@gmx.net>
1995
1996         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1997           remove unused/broken operator>,<,>=.
1998
1999         *       text.C: remove only use of broken operator<= in an Assert().
2000
2001 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2002
2003         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2004         moved errorlist_.clear to showErrorList
2005
2006 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2007
2008         * converter.C (scanLog, runLaTeX):
2009         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2010         move the bv->showErrorList call to the callers
2011         * lyxfunc.C: i.e. here...
2012         * text2.C: and here
2013         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2014         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2015         namespace, the second to...
2016         * buffer_funcs (BufferFormat, parseErrors): added
2017         * errorlist.C (ErrorList(TeXErrors const &)): removed
2018
2019 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2020
2021         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2022
2023 2003-06-24  "Garst R. Reese" <reese@isn.net>
2024
2025         * debug.C: fix typo
2026
2027 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2028
2029         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2030
2031         * version.C.in: change docversion to 1.4
2032
2033 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2034
2035         * buffer.C: fix a bug just introduced
2036
2037 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2038
2039         * buffer.[Ch]: added the parseError signal and use it, removed
2040         sgmlError
2041         * BufferView.[Ch] (addError): moved to ...
2042         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2043         to the Buffer::parseError signal to catch (guess what) parse errors
2044         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2045
2046 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2047
2048         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2049         ability to create a buffer and to return an existing one from
2050         the list. Moved these functions to...
2051         * buffer_funcs.[Ch]: added
2052         * BufferView.[Ch] (loadLyXFile): added
2053         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2054         job removed from bufferlist::loadLyXFile.
2055         * buffer.C (setReadOnly): make it work without view
2056         (i.e added an if (users))
2057
2058 2003-06-19  Angus Leeming  <leeming@lyx.org>
2059
2060         * lfuns.h:
2061         * LyXAction.C (init):
2062         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2063         with LFUN_DIALOG_SHOW <name> <data>.
2064
2065 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2066
2067         * CutAndPaste.C (availableSelections): small compilation fix for
2068         ancient (gcc 2.9x) compilers
2069
2070 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2071
2072         * text3.C (cursorNext): add tmp var
2073
2074         * text2.C (updateCounters): for function calling out of for clause
2075         (replaceSelectionWithString): ditto
2076         (insertStringAsParagraphs): ditto
2077         (getColumnNearX): add tmp var
2078         (setCursorFromCoordinates): add tmp var
2079         (cursorDownParagraph): add tmp var
2080         (deleteEmptyParagraphMechanism): add tmp var
2081
2082         * text.C (insertChar): add tmp var
2083
2084         * rowpainter.C (paintDepthBar): add tmp var
2085
2086         * CutAndPaste.C (availableSelections): potentially check all
2087         paragraphs in a cut to fill the shown strings.
2088
2089 2003-06-18  André Pönitz  <poenitz@gmx.net>
2090
2091         * kbmap.[Ch]: use vector<> instead of list<>
2092
2093 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2094
2095         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2096         pasteSelection with index
2097
2098         * text2.C (pasteSelection): modify, call pasteSelection with index
2099
2100         * paragraph.C (asString): reimplement version with no interval to
2101         call the one with interval.
2102
2103         * lyxtext.h: add index arg to pasteSelection
2104
2105         * MenuBackend.C (MenuItem): handle PasteRecent
2106         (Menu::read::Menutags): add md_pasterecent
2107         (read): handle it
2108         (expandPasteRecent): new function
2109         (expand): use it
2110
2111         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2112
2113         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2114         the limited stack
2115         (availableSelections): new function
2116
2117 2003-06-17  Angus Leeming  <leeming@lyx.org>
2118
2119         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2120
2121 2003-06-17  Angus Leeming  <leeming@lyx.org>
2122
2123         * lfuns.h:
2124         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2125
2126         * lyxfunc.C (dispatch): invoke it.
2127
2128 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2129
2130         * iterators.C (operator++, ParPosition): reintroduce some
2131         const_cast for the benefit of older compilers.
2132
2133 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2134
2135         * text3.C (dispatch): do not modify clipboard when doing
2136         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2137         LFUN_DELETE_SKIP on a selection selection
2138
2139 2003-06-16  André Pönitz  <poenitz@gmx.net>
2140
2141         * BufferView.C:
2142         * buffer.C:
2143         * buffer.h:
2144         * paragraph.C:
2145         * tabular.[Ch]: IU of clone() and getLabelList();
2146
2147 2003-06-13  André Pönitz  <poenitz@gmx.net>
2148
2149         * tabular.h: compactification
2150
2151 2003-06-12  André Pönitz  <poenitz@gmx.net>
2152
2153         * tabular.C:
2154         * tabular.h:
2155         * tabular_funcs.h: some renaming plus whitespace
2156
2157 2003-06-12  André Pönitz  <poenitz@gmx.net>
2158
2159         * BufferView.C:
2160         * BufferView_pimpl.C:
2161         * CutAndPaste.C:
2162         * buffer.C:
2163         * iterators.[Ch]:
2164         * lyxfunc.C:
2165         * text.C:
2166         * toc.C: Return a Paragraph & for ParIterator::operator*()
2167
2168 2003-06-11  John Levon  <levon@movementarian.org>
2169
2170         * lyx_main.C:
2171         * ToolbarBackend.h:
2172         * ToolbarBackend.C: add "Toolbars" section and
2173         put the flags there
2174
2175 2003-06-10  Angus Leeming  <leeming@lyx.org>
2176
2177         * lfuns.h:
2178         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2179
2180         * lyxfunc.C (dispatch): invoke it.
2181
2182 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2183
2184         * main.C: protect <ios> with HAVE_IOS
2185         (main): protect sync_with_stdio with HAVE_IOS
2186
2187 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2188
2189         * text2.C (cutSelection): adjust
2190         (pasteSelection): adjust
2191
2192         * messages.C: handle get of empty string
2193
2194         * main.C (main): use sync_with_stdio(false)
2195
2196         * lyxfunc.C (dispatch): adjust
2197
2198         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2199         (WriteAs): remove unneeded BufferView arg.
2200
2201         * bufferparams.h: use correct types on papersize, papersize2 and
2202         paperpackage.
2203
2204         * bufferparams.C (readToken): adjust for type
2205         (writeLaTeX): add missing cases to switch.
2206
2207         * bufferlist.C (quitWriteBuffer): adjust
2208         (close): adjust
2209
2210         * buffer.C (asciiParagraph): remove some commented code.
2211
2212         * CutAndPaste.C: remove current_view extern variable.
2213         (cutSelection): add BufferParams arg.
2214         (eraseSelection): add BufferParams arg.
2215         (pasteSelection): add Buffer const & arg
2216
2217 2003-06-07  John Levon  <levon@movementarian.org>
2218
2219         * buffer.C:
2220         * paragraph_funcs.C:
2221         * paragraph_pimpl.C:
2222         * text.C:
2223         * text2.C:
2224         * paragraph.h:
2225         * paragraph.C: allow InsetERT to freely space lines,
2226         and some consolidation of code
2227
2228 2003-06-06  José Matos  <jamatos@fep.up.pt>
2229
2230         * buffer.C (makeDocBookFile): fix bug #821
2231
2232 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2233
2234         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2235
2236 2003-06-04  Angus Leeming  <leeming@lyx.org>
2237
2238         * buffer.C: bump format to 224.
2239
2240 2003-06-05  André Pönitz  <poenitz@gmx.net>
2241
2242         * text2.C (redoParagraphs): remove two const_cast<>
2243
2244 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2245
2246         * ParagraphList.h: remove last remnants of NO_STD_LIST
2247
2248 2003-06-03  Angus Leeming  <leeming@lyx.org>
2249
2250         * factory.C (createInset): small change to the way InsetExternal's params
2251         are set.
2252
2253 2003-06-04  André Pönitz  <poenitz@gmx.net>
2254
2255         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2256
2257         * paragraph_pimpl.h:
2258         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2259
2260         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2261
2262         * undo_funcs.C: make some simple cases of undo work again
2263
2264 2003-06-03  John Levon  <levon@movementarian.org>
2265
2266         * ispell.C: HPUX doesn't have sys/select.h
2267         (from Albert Chin)
2268
2269 2003-06-03  John Levon  <levon@movementarian.org>
2270
2271         * CutAndPaste.C: update tabular and include inset
2272         buffer references
2273
2274         * buffer.h:
2275         * paragraph.h:
2276         * paragraph.C: remove owningBuffer(), don't pass Buffer
2277         to clone()
2278
2279         * factory.C: insetGraphicsParams changed
2280
2281 2003-06-02  John Levon  <levon@movementarian.org>
2282
2283         * LyXAction.C:
2284         * factory.C:
2285         * lfuns.h:
2286         * lyxfunc.C:
2287         * text3.C: remove insetparent
2288
2289 2003-06-02  John Levon  <levon@movementarian.org>
2290
2291         * buffer.h:
2292         * buffer.C: fix inset_iterator.end(), move out of line
2293         (bug 1149)
2294
2295 2003-06-01  John Levon  <levon@movementarian.org>
2296
2297         * text3.C: use a proper cut/paste when doing inset
2298         insert (from Jürgen Spitzmüller)
2299
2300 2003-06-01  John Levon  <levon@movementarian.org>
2301
2302         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2303
2304 2003-05-30  André Pönitz  <poenitz@gmx.net>
2305
2306         * rowpainter.C: unify second drawing phase
2307
2308 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2309
2310         * trans_mgr.C: remove one case of current_view
2311
2312         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2313
2314         * paragraph_funcs.h: remove paragraph.h include
2315
2316         * paragraph.h: delete NO_STD_LIST stuff
2317
2318         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2319
2320         * buffer.h: remove paragraph.h include
2321
2322         * ParagraphList.C: delete file
2323
2324         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2325
2326         * toc.C (getTocList): adjust
2327
2328         * paragraph_pimpl.C (validate): adjust
2329
2330         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2331
2332         * paragraph.C (Paragraph): adjust
2333         (getPositionOfInset): use const_iterator, adjust
2334         (bibitem): use const_iterator, adjust
2335         (setInsetOwner): adjust
2336
2337         * iterators.C (operator++): adjust
2338
2339         * InsetList.[Ch]: Replace selfmade iterator with standard
2340         vector::iterator also introduce const_iterator. Remove getPos,
2341         getInset and setInset from InsetTable. Adjust accordingly.
2342
2343         * BufferView.C (lockInset): adjust
2344         (ChangeInsets): adjust
2345
2346         * tabular.[Ch]: delete commented same_id functions
2347
2348 2003-05-28  John Levon  <levon@movementarian.org>
2349
2350         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2351
2352 2003-05-28  André Pönitz  <poenitz@gmx.net>
2353
2354         * metricsinfo.[Ch]: remove 'fullredraw' member
2355
2356 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2357
2358         * lyxtextclass.C (operator): remove caching.
2359
2360 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2361
2362         * text3.C: adjust
2363
2364         * text2.C (cursorBottom): adjust
2365         (setCounter): use ParagraphList::find, adjust
2366
2367         * text.C (workWidth): use ParagraphList::find, adjust
2368
2369         * lyxcursor.C (LyXCursor): adjust
2370
2371         * buffer.C (inset_iterator): adjust
2372
2373         * ParagraphList.h: make iterator(value_type) private, make
2374         ParagraphList a friend of iterator.
2375
2376         * ParagraphList.C (find): new function
2377
2378         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2379
2380 2003-05-27  André Pönitz  <poenitz@gmx.net>
2381
2382         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2383
2384 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2385
2386         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2387
2388 2003-05-26  John Levon  <levon@movementarian.org>
2389
2390         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2391
2392 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2393
2394         * remove same_id from function signatures, adjust.
2395
2396 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2397
2398         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2399
2400         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2401
2402         * paragraph.C (Paragraph): get rid of same_ids parameter
2403
2404         * ParagraphList.C (insert): adjust
2405         (push_back): adjust
2406
2407 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2408
2409         * paragraph_funcs.C (breakParagraph): adjust
2410         (breakParagraphConservative): adjust
2411
2412         * buffer.C (readParagraph): adjust
2413
2414         * ParagraphList.C (insert): take a reference instead of a pointer
2415         (insert): adjust
2416
2417         * paragraph.[Ch] (id): new function
2418
2419         * bufferlist.C (newFile): adjust
2420
2421         * ParagraphList.C (ParagraphList): adjust
2422         (assign): adjust
2423         (push_back): take a reference instead of a pointer.
2424
2425         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2426
2427         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2428         instead.
2429
2430         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2431         set else use old code.
2432
2433         * ParagraphList.C: remove all NO_NEXT code and only compile this
2434         code of NO_STD_LIST is set.
2435
2436 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2437
2438         * BufferView_pimpl.C:
2439         * TextCache.C:
2440         * TextCache.h:
2441         * bufferlist.C:
2442         * errorlist.h:
2443         * format.C:
2444         * format.h:
2445         * graph.C:
2446         * lyxfunc.C:
2447         * lyxrc.C:
2448         * graphics/GraphicsConverter.C:
2449         * graphics/PreviewLoader.C: header adjustment
2450
2451 2003-05-23  Angus Leeming  <leeming@lyx.org>
2452
2453         * LaTeXFeatures.[Ch] (useBabel): new method.
2454         * bufferparams.C (writeLaTeX): use it.
2455
2456 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2457
2458         * ParagraphList.h (set): remove unused function.
2459
2460 2003-05-23  André Pönitz  <poenitz@gmx.net>
2461
2462         * BufferView.C:
2463         * BufferView_pimpl.C:
2464         * buffer.C:
2465         * buffer.h:
2466         * lyxfunc.C:
2467         * undo_funcs.C: setUndo reworked
2468
2469         * iterators.[Ch]: add access to topmost ParagraphList
2470
2471         * lyxtext.[Ch] (workWidth): add a const
2472
2473 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2474
2475         * texrow.[Ch] (increasePos): remove function
2476         * exporter.C (export): removed unused var and outdated comment
2477
2478 2003-05-23  Angus Leeming  <leeming@lyx.org>
2479
2480         * latexrunparams.h: rename fragile as moving_arg.
2481         * paragraph.C (simpleTeXOnePar): ditto.
2482         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2483
2484 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2485
2486         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2487         (createUndo): ditto
2488         (textUndoOrRedo): comment out a currently unused var.
2489
2490         * paragraph.h (NO_NEXT): enable NO_NEXT
2491
2492         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2493
2494         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2495
2496         * exporter.C (Export): adjust for removeAutoInsets removal.
2497
2498         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2499
2500         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2501
2502         * BufferView.[Ch] (removeAutoInsets): delete function
2503
2504 2003-05-22  Angus Leeming  <leeming@lyx.org>
2505
2506         * latexrunparams.h: add a free_spacing variable.
2507
2508         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2509         to pass moving_arg, as the data is stored in runparams.fragile.
2510
2511         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2512         to Inset::latexOptional or to simpleTeXOnePar.
2513
2514         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2515         free_spacing arg to Inset::latexOptional.
2516
2517         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2518         free_spacing arg.
2519
2520 2003-05-22  Angus Leeming  <leeming@lyx.org>
2521
2522         * latexrunparams.h: add fragile and use_babel variables.
2523
2524         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2525         * buffer.C (makeLaTeXFile): store this returned value in
2526         runparams.use_babel, thus passing it to the inset::latex methods.
2527
2528         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2529         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2530
2531         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2532         longer has a fragile arg, as it is stored in runparams.fragile.
2533
2534         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2535         moving_arg parameter as the data is stored in runparams.fragile.
2536
2537         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2538         a fragile parameter as the data is stored in runparams.fragile.
2539
2540 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2541
2542         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2543
2544 2003-05-22  Angus Leeming  <leeming@lyx.org>
2545
2546         * latexrunparams.h: add a 'bool nice' which defaults to false.
2547
2548         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2549         now encapsulated within runparams.
2550
2551         * bufferlist.C (updateIncludedTeXfiles):
2552         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2553
2554 2003-05-22  Angus Leeming  <leeming@lyx.org>
2555
2556         * latexrunparams.h: new file containing struct LatexRunParams.
2557         * Makefile.am: add new file.
2558
2559         * LaTeX.[Ch] (c-tor, run):
2560         * buffer.[Ch] (makeLaTeXFile):
2561         * bufferlist.[Ch] (updateIncludedTeXfiles):
2562         * converter.C (convert, scanLog):
2563         * converter.[Ch] (runLaTeX):
2564         * exporter.C (Export):
2565         * paragraph.[Ch] (simpleTeXOnePar):
2566         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2567         * paragraph_funcs.[Ch] (latexParagraphs):
2568         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2569         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2570         pass around a LatexRunParams parameter.
2571
2572 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2573
2574         * paragraph.[Ch]: remove unused constructor
2575
2576         * ParagraphList.C (erase): new function, taking two iterators
2577
2578 2003-05-22  André Pönitz  <poenitz@gmx.net>
2579
2580         * undo_funcs.C: remove duplicated code
2581
2582         * iterator.[Ch]: operator=
2583
2584 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2585
2586         * tabular.C (SetMultiColumn): ws changes
2587
2588         * rowpainter.C (paintFirst): get rid of a ->previous
2589
2590         * lyx_cb.C (getPossibleLabel): parlist simplification
2591
2592         * BufferView.C (ChangeInsets): simplify slightly.
2593
2594 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2595
2596         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2597         * lfuns.h: new LFUN_SPACE
2598         * lyxfunc.C: protected space has a new lfun
2599         * paragraph_funcs.C: read new space insets
2600         * text3.C:
2601         * factory.C: handle new space insets
2602
2603 2003-05-22  André Pönitz  <poenitz@gmx.net>
2604
2605         * BufferView.C:
2606         * BufferView_pimpl.C:
2607         * buffer.[Ch]:
2608         * lyxfunc.C:
2609         * undo_funcs.C: return a ParIterator from getParFromID.
2610
2611         * iterators.[Ch]: add two const's
2612
2613 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2614
2615         * toc.C (getTocList): adjust
2616
2617         * iterators.[Ch]: rework for parlist
2618
2619         * buffer.C (par_iterator_begin): adjust
2620         (par_iterator_end): adjust
2621
2622         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2623
2624         * BufferView.C (removeAutoInsets): adjust
2625         (ChangeInsets): adjust
2626
2627 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2628
2629         * text.C (top_y): fix bug 1110
2630
2631 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2632
2633         * errorlist.[Ch]: added
2634         * buffer.C:
2635         * BufferView.[Ch]:
2636         * BufferView_pimpl.C:
2637         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2638         instead
2639
2640 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2641
2642         * Makefile.am: ensure that lyx is relinked upon changes to the
2643         various "convenience" libs.
2644
2645 2003-05-20  Angus Leeming  <leeming@lyx.org>
2646
2647         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2648         files are compiled in alphabetical order again.
2649
2650         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2651
2652 2003-05-19  Angus Leeming  <leeming@lyx.org>
2653
2654         * gettext.[Ch]: remove "char const * _(char const *)".
2655
2656 2003-05-19  André Pönitz  <poenitz@gmx.net>
2657
2658         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2659
2660         * Makefile.am:
2661         * BufferView.C:
2662         * DepTable.h:
2663         * LaTeXFeatures.C:
2664         * buffer.C:
2665         * lyxfont.C:
2666         * lyxlex.h:
2667         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2668
2669 2003-05-19  André Pönitz  <poenitz@gmx.net>
2670
2671         * buffer.C:
2672         * lyxlayout.[Ch]:
2673         * lyxtextclass.[Ch]:
2674         * paragraph.C:
2675         * paragraph_funcs.[Ch]:
2676         * text2.C:
2677         * text3.C: more insetenv work
2678
2679 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2680
2681         * ParagraphParameters.C (params2string): small bug fixed
2682
2683 2003-05-16  André Pönitz  <poenitz@gmx.net>
2684
2685         * debug.C:
2686         * bufferview_funcs.C: patch from Kornel Benko to prevent
2687           crash when _(...) is called twice in a statement
2688
2689 2003-05-16  André Pönitz  <poenitz@gmx.net>
2690
2691         * BufferView.C:
2692         * lyxfunc.C:
2693         * text.C:
2694         * text2.C:
2695         * text3.C:
2696         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2697
2698 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2699
2700         * lyx_main.C (init): remove spurious static_cast
2701
2702 2003-05-14  André Pönitz  <poenitz@gmx.net>
2703
2704         * BufferView.C: fix format string
2705
2706 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2707
2708         * BufferView.[Ch] (insertErrors): removed
2709         * BufferView.[Ch] (showErrorList): added
2710         * buffer.C (runChkTeX):
2711         * converter.C (scanLog): call showErrorList instead of inserterrors
2712
2713 2003-05-13  André Pönitz  <poenitz@gmx.net>
2714
2715         * BufferView_pimpl.C:
2716         * buffer.C:
2717         * bufferview_func.C:
2718         * MenuBackend.C:
2719         * lyxfunc.C:
2720         * lyxrc.C:
2721         * tex-accent.C:
2722         * text3.C:
2723         * toc.C:
2724         * tabular_funcs.h: tostr() from its own header
2725
2726         * ParagraphParameters.C:
2727         * ToolbarBackend.C:
2728         * bufferparams.C:
2729         * format.C:
2730         * lyxlex_pimpl.C:
2731         * text3.C: STRCONV()
2732
2733 2003-05-12  André Pönitz  <poenitz@gmx.net>
2734
2735         * BufferView.C:
2736         * BufferView_pimpl.C:
2737         * CutAndPaste.C:
2738         * LaTeX.C:
2739         * LaTeXFeatures.C:
2740         * ParagraphParameters.C:
2741         * buffer.C:
2742         * bufferlist.C:
2743         * bufferparams.C:
2744         * bufferview_funcs.C:
2745         * converter.C:
2746         * counters.C:
2747         * debug.C:
2748         * exporter.C:
2749         * format.C:
2750         * importer.C:
2751         * lyx_cb.C:
2752         * lyx_main.C:
2753         * lyxfont.C:
2754         * lyxfunc.C:
2755         * lyxvc.C:
2756         * paragraph.C:
2757         * paragraph_funcs.C:
2758         * tabular.C:
2759         * tabular_funcs.C:
2760         * text2.C:
2761         * text3.C:  boost::format -> bformat  all over the place
2762
2763
2764 2003-05-09  André Pönitz  <poenitz@gmx.net>
2765
2766         * LColor.[Ch]: Pimpl the #include <map> away
2767
2768 2003-05-09  John Levon  <levon@movementarian.org>
2769
2770         * bufferlist.C: never remove emergency saves
2771
2772 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2773
2774         * Makefile.am: better lib building
2775
2776 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2777
2778         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2779         instead.
2780         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2781         (simpleTeXSpecialChars): adjust
2782         (simpleTeXSpecialChars): adjust
2783         * paragraph.C (simpleTeXOnePar): adjust
2784         * buffer.C (makeLaTeXFile): adjust
2785
2786         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2787
2788         * text2.C (changeDepth): parlist cleanup
2789         (getColumnNearX): ditto
2790
2791         * rowpainter.C (getLabelFont): parlist cleanup
2792
2793         * bufferlist.C (newFile): parlist cleanup
2794
2795         * CutAndPaste.C (eraseSelection): parlist cleanup
2796
2797         * BufferView_pimpl.C (trackChanges): parlist cleanup
2798         (dispatch): ditto
2799
2800         * BufferView.C (lockInset): parlist cleanup.
2801         (ChangeInsets): ditto
2802
2803 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2804
2805         * CutAndPaste.h: Update file header.
2806
2807         * CutAndPaste.C: Update file header.
2808         Store the parts cut out of the Document in a limited_stack.
2809         (copySelection): adjust
2810         (pasteSelection): new function, takes the index in the limited stack.
2811         (nrOfParagraphs): adjust
2812         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2813         simplify error inset insertion.
2814         (checkPastePossible): adjust
2815
2816 2003-05-06  John Levon  <levon@movementarian.org>
2817
2818         * text2.C: don't cast wrap inset to float
2819
2820 2003-05-05  André Pönitz  <poenitz@gmx.net>
2821
2822         * iterator.C:
2823         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2824
2825         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2826           few naked Paragraph *.
2827
2828 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2829
2830         * bufferparams.C: Output warning if a document with missing
2831         TeX document class is loaded
2832         * exporter.C: Disable TeX exports if the document class is missing
2833         * lyxtextclass.C:
2834         * lyxtextclass.h:
2835         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2836         isTeXClassAvailable()
2837
2838 2003-05-03  John Levon  <levon@movementarian.org>
2839
2840         * BufferView.h:
2841         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2842         explicit cursor show/hide
2843
2844         * BufferView_pimpl.h:
2845         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2846         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2847
2848         * lyxfunc.C: hide cursor before dispatching.
2849
2850         * lyx_cb.C:
2851         * lyxfind.C:
2852         * text.C:
2853         * text3.C: remove explicit cursor hides
2854
2855 2003-05-02  André Pönitz  <poenitz@gmx.net>
2856
2857         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2858
2859         * undo_funcs.C:
2860         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2861           linked lists
2862
2863         * text2.C: tiny whitespace
2864
2865 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * undo_funcs.C: almost only ws changes.
2868
2869         * ParagraphList.C (splice): just return if pl is empty.
2870
2871 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2872
2873         * ParagraphList.C (splice): new function.
2874
2875         * CutAndPaste.C (pasteSelection): use it
2876
2877 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2878
2879         * CutAndPaste.C (pasteSelection): remove the last next and
2880         previous from this file.
2881
2882 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2883
2884         * CutAndPaste.C (pasteSelection): more clean up, user proper
2885         ParagraphList functions for pasteing.
2886
2887         * ParagraphList.C (insert): new function, three arg insert
2888
2889 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2890
2891         * ParagraphList.C (insert): new function, three arg insert
2892
2893         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2894         not on paragraphs.
2895
2896 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2897
2898         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2899
2900 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2901
2902         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2903
2904 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2905
2906         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2907         (copySelection): clean up a bit.
2908         (pasteSelection): use make_pair
2909
2910         * ParagraphList.C (ParagraphList): implement copy constructor
2911         (operator=): implement, base on copy constructor.
2912         (assign): new func
2913
2914         * paragraph.C (erase): return a bool
2915
2916         * paragraph_pimpl.C (erasePos): remove function, move contents...
2917         (erase): ... here. Return a bool.
2918         (erase): call erase instead of erasePos.
2919
2920 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2921
2922         * ParagraphList.h: define PitPosPair
2923         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2924         ParagraphList, fix a bug on pasting multiple pars
2925         * text2.C: change interface to C&P
2926
2927 2003-04-30  André Pönitz  <poenitz@gmx.net>
2928
2929         * undo_func.C: revert part of yesterday's patch 2
2930
2931 2003-04-30  John Levon  <levon@movementarian.org>
2932
2933         * LColor.C: s/tabular/table/
2934
2935 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2936
2937         * text3.C (dispatch): do not convert iterator -> pointer
2938         * undo_funcs.C (setCursorParUndo): ditto
2939         * text_funcs.C (transposeChars): ditto
2940
2941         * text2.C (setLayout): ws changes only
2942
2943         * text.C (breakParagraph): do not convert iterator -> pointer
2944         (insertChar): ditto
2945         (acceptChange): ditto
2946         (rejectChange): ditto
2947         (changeCase): ditto
2948         (Delete): ditto
2949         (backspace): ditto
2950
2951         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2952         pointer
2953
2954 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2955
2956         * text3.C (gotoInset): YABG (yet another bad getChar)
2957
2958 2003-04-29  André Pönitz  <poenitz@gmx.net>
2959
2960         * paragraph.h: make operator= private unimplemented as long as
2961           it is unusable
2962
2963         * ParagraphList.C: whitespace
2964
2965         * paragraph.[Ch]:
2966         * paragraph_pimpl.[Ch]:
2967         * paragraph_funcs.C:
2968         * CutAndPaste.C:
2969         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2970
2971         * text2.C:
2972           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2973
2974 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2975
2976         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2977         * paragraph.[Ch] (erase):
2978         * paragraph_pimpl.[Ch] (erase): change return type and value
2979         * text2.C (cutSelection): some rework
2980
2981 2003-04-28  John Levon  <levon@movementarian.org>
2982
2983         * bufferlist.C: changes for unsaved changes dialog
2984
2985 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2986
2987         * bufferlist.C (newFile): set language (messages_) for new
2988         documents also.
2989
2990         * buffer.C (readFile): ws changes only.
2991
2992 2003-04-28  André Pönitz  <poenitz@gmx.net>
2993
2994         * undo_funcs.C:
2995         * lyxfunc.C:
2996         * buffer.[Ch]:
2997         * BufferView_pimpl.C:
2998         * BufferView.C: getParFromID related ParagraphList::iterator changes
2999
3000 2003-04-28  André Pönitz  <poenitz@gmx.net>
3001
3002         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3003           Changes
3004
3005 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3006
3007         * messages.C: remove one more localedir class variable.
3008
3009 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3010
3011         * messages.C (getLocaleDir): singleton generation function
3012         (Pimpl): use it.
3013         (Messages): add a default constructor.
3014
3015         * main.C (main): do not setup localedir here, do not call
3016         gettext_init.
3017
3018         * gettext.C (_): use it.
3019         (gettext_init): delete funciton
3020
3021 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3022
3023         * gettext.C (getLyXMessages): new singleton generating function.
3024
3025         * buffer.C (updateDocLang): adjust
3026
3027         * Makefile.am (messages.o): add target
3028         (main.o): remove target
3029
3030 2003-04-27  John Levon  <levon@movementarian.org>
3031
3032         * bufferlist.C:
3033         * lyx_cb.C:
3034         * lyxfunc.C:
3035         * lyxvc.C: specify cancel button in Alert::prompt
3036
3037 2003-04-26  John Levon  <levon@movementarian.org>
3038
3039         * text3.C:
3040         * lyxfunc.C:
3041         * lfuns.h:
3042         * LyXAction.C: add LFUN_INSET_SETTINGS
3043
3044         * lyxfunc.C: don't enable tabular-feature when there's
3045         just any locking inset
3046
3047 2003-04-26  John Levon  <levon@movementarian.org>
3048
3049         * bufferlist.C: re-add Cancel to buffer close question
3050
3051         * lyxfunc.C: fix import UI a bit
3052
3053 2003-04-25  John Levon  <levon@movementarian.org>
3054
3055         * gettext.C: remove the broken asserts for now
3056
3057 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3058
3059         * messages.C: make case where setlocale cannot comply work better.
3060
3061         * buffer.C (updateDocLang): new function
3062         (changeLanguage): use it
3063         (readFile): use it
3064
3065         * text2.C (setCounter): use B_ a bit.
3066
3067         * lyxlayout.C (Read): be sure to trim the label strings.
3068
3069         * messages.C (Messages): fix typo in comment
3070
3071         * buffer.C (readFile): set message_ after file is loaded.
3072         (makeDocBookFile): remove double return
3073         (changeLanguage): reset message_ upon language change.
3074         (B_): new func, use this to get translated buffer strings.
3075
3076         * main.C: add myself and Jean Marc as authors.
3077
3078 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3079
3080         * messages.[hC]: pimplify Messages, and three different pimpls to be
3081         used in different circumstances.
3082
3083         * gettext.[Ch]: change for use with new message code.
3084
3085 2003-04-24 André Pönitz <poenitz@gmx.net>
3086
3087         * factory.C: support for eqref
3088
3089 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3090
3091         * messages.[Ch]: add missing char
3092
3093         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3094
3095         * messages.[Ch]: New files
3096
3097 2003-04-18  John Levon  <levon@movementarian.org>
3098
3099         * BufferView.h:
3100         * BufferView.C:
3101         * BufferView_pimpl.C:
3102         * lfuns.h:
3103         * LyXAction.C:
3104         * lyxtext.h:
3105         * text2.C: remove layout-copy/paste (bug 778)
3106
3107 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3108
3109         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3110
3111 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3112
3113         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3114         if they succeed. Act accordingly.
3115
3116 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3117
3118         * text2.C (setCharFont): adjust
3119         (setCounter): adjust
3120         (insertStringAsLines): adjust
3121
3122         * text.C (leftMargin): adjust
3123         (setHeightOfRow): adjust
3124
3125         * rowpainter.C (paintFirst): adjust
3126         (paintLast): adjust
3127
3128         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3129         (outerHook): ditto
3130         (isFirstInSequence): ditto
3131         (getEndLabel): ditto
3132         (outerFont): adjust
3133
3134         * paragraph.C (getParLanguage): comment out some hard stuff.
3135
3136         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3137         (sgmlError): ditto
3138         (simpleDocBookOnePar): ditto
3139         (makeDocBookFile): use ParagraphList::iterator
3140
3141         * CutAndPaste.C (pasteSelection): adjust
3142
3143 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3144
3145         * text2.C (getFont): adjust
3146         (getLayoutFont): adjust
3147         (getLabelFont): adjust
3148
3149         * paragraph_funcs.C (TeXOnePar): adjust
3150
3151         * buffer.C (simpleLinuxDocOnePar): adjust
3152         (simpleDocBookOnePar): adjust
3153
3154         * CutAndPaste.C (pasteSelection): adjust
3155
3156         * BufferView.C (getEncoding): adjust
3157
3158         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3159
3160 2003-04-16  John Levon  <levon@movementarian.org>
3161
3162         * lyxfind.C: use parlist stuff for search/changes
3163
3164 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3165
3166         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3167
3168         * text2.C (deleteEmptyParagraphMechanism): adjust
3169
3170         * text2.[Ch] (ownerParagraph): delete func (both of them
3171
3172 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3173
3174         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3175
3176 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3177
3178         * ParagraphList.C: prepare for NO_NEXT
3179
3180 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * text2.C (getFont): adjust
3183         (getLayoutFont): adjust
3184         (getLabelFont): adjust
3185
3186         * paragraph.C (getFont): adjust
3187         (getLabelFont): adjust
3188         (getLayoutFont): adjust
3189
3190         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3191
3192 2003-04-15  John Levon  <levon@movementarian.org>
3193
3194         From Angus Leeming
3195
3196         * lyx_main.C: handle Include in .ui files
3197
3198 2003-04-15  John Levon  <levon@movementarian.org>
3199
3200         * MenuBackend.C: make the doc files length shorter
3201
3202         * ToolbarBackend.h:
3203         * ToolbarBackend.C: handle toolbar placement flags,
3204         Minibuffer
3205
3206 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3207
3208         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3209         adjust
3210
3211         * paragraph_funcs.C (TeXOnePar): adjust
3212
3213         * paragraph.C (getLabelFont): add outerfont arg, adjust
3214         (getLayoutFont): ditto
3215         (simpleTeXOnePar): adjust
3216
3217         * paragraph_pimpl.C (realizeFont): delete func
3218
3219 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3220
3221         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3222         row argument, constify cur argument.
3223
3224 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3225
3226         * text2.C (getFont): adjust
3227         (getLayoutFont): adjust
3228         (getLabelFont): adjust
3229
3230         * paragraph_funcs.C (TeXOnePar): adjust
3231         (outerFont): new func...
3232         (realizeFont): ...moved out from here, changed this to facilitate
3233         transition
3234
3235         * paragraph.C (getFont): take outerfont as arg, adjust
3236         (simpleTeXOnePar): add outerfont arg, adjust
3237
3238         * buffer.C (simpleLinuxDocOnePar): adjust
3239         (simpleDocBookOnePar): adjust
3240
3241         * CutAndPaste.C (pasteSelection): adjust
3242
3243         * BufferView.C (getEncoding): adjust
3244
3245 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3246
3247         * text2.C (setCharFont): adjust
3248         (setCounter): adjust
3249
3250         * text.C (leftMargin): adjust
3251         (setHeightOfRow): adjust
3252
3253         * rowpainter.C (paintFirst): adjust
3254         (paintLast): adjust
3255
3256         * paragraph_pimpl.C (realizeFont): adjust
3257
3258         * paragraph.C (isFirstInSequence): move from here...
3259         * paragraph_funcs.C (isFirstInSequence): ...to here
3260
3261         * paragraph.C (outerHook): move from here...
3262         * paragraph_funcs.C (outerHook): ...to here
3263
3264         * paragraph.C (depthHook): move from here...
3265         * paragraph_funcs.C (depthHook): ...to here
3266
3267         * paragraph.C (getEndLabel): move from here...
3268         * paragraph_funcs.C (getEndLabel): ...to here
3269
3270         * text2.C (realizeFont): move from here...
3271         * paragraph_funcs.C (realizeFont): ...to here
3272
3273 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3274
3275         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3276
3277 2003-04-14  Angus Leeming  <leeming@lyx.org>
3278
3279         * LColor.[Ch]: scrap LColor mathcursor.
3280
3281 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3282
3283         * lyxlex.[Ch] (text): delete function
3284         * trans.C (Load): adjust
3285         * paragraph_funcs.C (readParToken): adjust
3286
3287 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3288
3289         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3290         vector<char> instead of a char[].
3291
3292         * lyxlex_pimpl.C (getString): adjust
3293         (next): adjust
3294         (lex): use getString
3295         (eatLine): adjust
3296         (nextToken): adjust
3297
3298         * lyxlex.C (text): use pimpl_->getString()
3299         (getBool): ditto
3300         (findToken): ditto
3301
3302 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3303
3304         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3305         (makeFontEntriesLayoutSpecific): temp var for par.size()
3306         (setLayout): temp var for ownerParagraphs().end()
3307         (fullRebreak): temp var for rows().end()
3308         (selectionAsString): temp var for boost::next(startpit), realize
3309         that the while really is a regular for loop.
3310         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3311         setCursor in one place.
3312         (setParagraph): temp vr for ownerParagraphs().end()
3313         (updateCounters): make the while loop a for loop
3314         (cutSelection): temp var for ownerParagraphs().end()
3315         (updateInset): make the do {} while() a regular for loop
3316         (getCursorX): use temp vars
3317         (setCurrentFont): use temp vars
3318         (getColumnNearX): use temp vars
3319
3320 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3321
3322         * text.C (transformChar): use temp var for getChar
3323         (computeBidiTables): use temp var for row->par()
3324         (fill): move temp vars for row->par() and pit->layout() earlier in
3325         the function.
3326         (labelFill): use temp var for row->par()
3327         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3328         asc and desc, realize that pit never changes and that firstpit is
3329         just a duplicate and not needed. Exchange rit->par() with pit in a
3330         lot of places.
3331         (breakAgain): use a temp var for boost::next(rit)
3332         (breakAgainOneRow): ditto
3333         (breakParagraph): use a temp var for rows().begin()
3334         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3335         (cursorRightOneWord): use temp var for cursor.par() and
3336         cursor.pos(), remove usage of tmpcursor.
3337         (cursorLeftOneWord): use temp var for cursor.par() and
3338         cursor.pos() only set cur at end of function.
3339
3340 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3341
3342         * text.C, text2.C: exchange all usage of Paragraph::next with
3343         boost::next(ParagraphList::iterator)
3344
3345         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3346
3347         * text2.C (cursorTop): simplify implementation
3348         (cursorBottom): ditto
3349         (setParagraph): use ParagraphList::iterator
3350         (setCurrentFont): adjust
3351         (getColumnNearX): adjust
3352         (cursorRight): adjust
3353         (cursorLeft): remove usage of Paragraph::previous
3354         (cursorUpParagraph): ditto
3355         (deleteEmptyParagraphMechanism): slight cleanup
3356
3357         * text.C (isBoundary): take a Paragraph const & instead of a
3358         pointer as arg.
3359         (addressBreakPoint): ditto
3360         (leftMargin): remove usage of Paragraph::previous.
3361         (setHeightOfRow): ditto
3362         (cursorLeftOneWord): ditto
3363         (selectNextWordToSpellcheck): ditto
3364         (Delete): ditto
3365         (backspace): ditto
3366         (breakParagraph): remove one usage of Paragraph::next
3367         (redoParagraph): ditto
3368         (acceptChange): ditto
3369         (insertChar): adjust
3370         (rowBreakPoint): adjust
3371
3372         * bufferview_funcs.C (toggleAndShow): adjust
3373
3374 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3375
3376         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3377         methods to access it.
3378         * lyxtext.h:
3379         * text.C: Added updateRowPositions to compute all row positions.
3380         Make top_y and getRowNearY() to use the cached y position
3381
3382 2003-04-11  John Levon  <levon@movementarian.org>
3383
3384         * text.C (rowBreakPoint): reintroduce the labelEnd
3385         checks, code copied from the row fill stuff. Deep voodoo.
3386
3387         * text.C (fill): add a comment and debugging for the
3388         next poor soul.
3389
3390 2003-04-11  John Levon  <levon@movementarian.org>
3391
3392         * text.C: make sure fullrow insets get wrapped to the next line,
3393         even when they're in a manual label
3394
3395 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3396
3397         * text2.C (insertParagraph): make it take ParagraphList::iterator
3398         as arg.
3399         (setLayout): make it return ParagraphList::iterator
3400         (redoParagraphs): ditto
3401         (setCounter): ditto
3402         (checkParagraph): ditto
3403
3404         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3405
3406         * text2.C: adjust several funcs.
3407         (realizeFont): take a ParagraphList::iterator as arg.
3408         (getLayoutFont): ditto
3409         (getLabelFont): ditto
3410         (setCharFont): ditto
3411
3412         * text.C: adjust several funcs.
3413
3414 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3415
3416         * text.C (selectNextWordToSpellcheck): don't accidentally
3417         skip insets
3418
3419 2003-04-10  John Levon  <levon@movementarian.org>
3420
3421         * ToolbarBackend.C (getIcon): special handling for
3422         LFUN_MATH_DELIM
3423
3424 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3425
3426         * text2.C (cursorRight): a getChar assert fixed
3427
3428 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3429
3430         * text2.C (getFont): change to take a ParagraphList::iterator
3431         instead of Paragraph*
3432         Adjust several functions.
3433
3434         * text.C (transformChar): change to take a ParagraphList::iterator
3435         instead of Paragraph*
3436         (singleWidth): ditto
3437         Adjust several functions.
3438
3439         * rowpainter.C: adjust several functions
3440         * rowpainter.h:store a ParagraphList::iterator and not a
3441         Paragraph&.
3442
3443
3444 2003-04-09  John Levon  <levon@movementarian.org>
3445
3446         * lyxfunc.C:
3447         * lfuns.h:
3448         * LyXAction.h:
3449         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3450         and the "help" bits as well
3451
3452 2003-04-09  John Levon  <levon@movementarian.org>
3453
3454         * ToolbarBackend.h:
3455         * ToolbarBackend.C: allow multiple toolbars
3456
3457 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3458
3459         * undo_funcs.C (setCursorParUndo): adjust
3460
3461         * text_funcs.C (transposeChars): adjust
3462
3463         * text3.C (gotoNextInset): adjust
3464         (dispatch): adjust
3465
3466         * text2.C (setLayout): adjust
3467         (changeDepth): adjust
3468         (setFont): adjust
3469         (redoParagraphs): adjust
3470         (selectionAsString): adjust
3471         (setParagraph): adjust
3472         (insertInset): adjust
3473         (cutSelection): adjust
3474         (copySelection): adjust
3475         (pasteSelection): adjust
3476         (insertStringAsLines): adjust
3477         (updateInset): adjust
3478         (setCursor): change to take a ParagraphList::iterator parameter
3479         (setCursorIntern): change to take a ParagraphList::iterator parameter
3480         (setCurrentFont): adjust
3481         (cursorLeft): adjust
3482         (cursorRight): adjust
3483         (deleteEmptyParagraphMechanism): adjust
3484
3485         * text.C (breakParagraph): adjust
3486         (insertChar): adjust
3487         (acceptChange): adjust
3488         (rejectChange): adjust
3489         (selectNextWordToSpellcheck): adjust
3490         (changeCase): adjust
3491         (Delete): adjust
3492         (backspace): adjust
3493
3494         * lyxfind.C (SearchForward): adjust
3495         (SearchBackward): adjust
3496         (nextChange): adjust
3497
3498         * lyxcursor.C (par): adjust
3499
3500         * lyxcursor.h: store a ParagraphList::iterator instead of a
3501         Paragraph*
3502
3503         * lyx_cb.C (getPossibleLabel): adjust
3504
3505         * bufferview_funcs.C (toggleAndShow): adjust
3506
3507         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3508         (dispatch): adjust
3509
3510         * BufferView.C (removeAutoInsets): adjust
3511         (lockedInsetStoreUndo): adjust
3512
3513 2003-04-09  John Levon  <levon@movementarian.org>
3514
3515         * ToolbarBackend.C: try icon without argument
3516         if with argument fails
3517
3518 2003-04-08  John Levon  <levon@movementarian.org>
3519
3520         * ToolbarBackend.h:
3521         * ToolbarBackend.C: add getIcon(), handle tooltip,
3522         and change from "Icon" to "Item".
3523
3524 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3525
3526         * BufferView.C (lockInset): another bad getchar crunched
3527
3528 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3529
3530         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3531         again)
3532
3533 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3534
3535         * lyxfind.C (searchForward, searchBackwards): bug 782
3536
3537 2003-04-07  John Levon  <levon@movementarian.org>
3538
3539         * paragraph.C: remove dead comment
3540
3541         * text.C: remove troublesome depth-fiddling code
3542         in leftMargin() and rightMargin() (bug 1017)
3543
3544         * text.C: fix breaking of rows in nested lists
3545         (bug 1004)
3546
3547         * text2.C (updateCounters): fix up depth values
3548         (bug 1013)
3549
3550 2003-04-07  John Levon  <levon@movementarian.org>
3551
3552         * BufferView_pimpl.C: clear message when doc finishes resizing,
3553         and after a mouse event
3554
3555         * lyxfunc.C: clear message after exiting inset
3556
3557 2003-04-07  John Levon  <levon@movementarian.org>
3558
3559         * bufferview_funcs.C: show math status not outside
3560         status in the statusbar
3561
3562 2003-04-07  John Levon  <levon@movementarian.org>
3563
3564         * lyxfunc.C: note status changed after a depth change
3565
3566 2003-04-04  Angus Leeming  <leeming@lyx.org>
3567
3568         * LaTeX.h: move AuxInfo operator==, != out of line.
3569         Remove LaTeX virtual destructor; nothing derives from it.
3570         Move operator()() out of public area and rename it startscript().
3571         Change protected for private.
3572
3573 2003-04-04  Angus Leeming  <leeming@lyx.org>
3574
3575         * lyxfunc.C:
3576         * text2.C: remove unneeded #includes.
3577
3578 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3579
3580         * text2.C (dEPM): fix the heigth of the next row
3581
3582 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3583
3584         * text.C: squashed an invalid getChar requester + some ws changes
3585
3586 2003-04-03  John Levon  <levon@movementarian.org>
3587
3588         * bufferview_funcs.h:
3589         * bufferview_funcs.C:
3590         * lyxfunc.C:
3591         * lyxtext.h:
3592         * text2.C: make getStatus work for the env depth lfuns
3593
3594 2003-04-03  John Levon  <levon@movementarian.org>
3595
3596         * bufferview_funcs.h:
3597         * bufferview_funcs.C:
3598         * lyxfunc.C:
3599         * lyxtext.h:
3600         * text2.C: parlistize decDepth(), by merging it with incDepth()
3601
3602 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3603
3604         * lyxrow.h: store a ParagraphList::iterator instead of a
3605         Paragraph* and adjust other class functions to suit.
3606
3607         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3608         above.
3609
3610 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3611
3612         * text2.C (setCursor): do not anchor to cursor row for the time being
3613
3614 2003-04-02  John Levon  <levon@movementarian.org>
3615
3616         * LyXAction.C:
3617         * lfuns.h:
3618         * lyx_main.C:
3619         * lyxtext.h:
3620         * text.C:
3621         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3622
3623 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3624
3625         * paragraph.h: make ParagraphList and ParagraphList::iterator
3626         friends of Paragraph.
3627
3628         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3629
3630         * ParagraphList.C: Use the private next_ and previous_ from
3631         Paragraph.
3632
3633 2003-04-01  John Levon  <levon@movementarian.org>
3634
3635         * ToolbarBackend.h:
3636         * ToolbarBackend.C:
3637         * Makefile.am: rename, remove defaults gunk
3638
3639         * MenuBackend.h:
3640         * MenuBackend.C: remove defaults gunk
3641
3642         * Languages.h:
3643         * Languages.C: remove defaults gunk
3644
3645         * lyx_main.h:
3646         * lyx_main.C: error out if files couldn't be found.
3647
3648 2003-04-02  John Levon  <levon@movementarian.org>
3649
3650         * text2.C: make incDepth() use parlist
3651
3652 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3653
3654         * undo_funcs.C (firstUndoParagraph): adjust
3655
3656         * text3.C (gotoInset): adjust
3657         (dispatch): adjust, and rewrite loop.
3658
3659         * text2.C (init): adjust, and rewrite loop.
3660         (redoParagraphs): adjust
3661         (updateInset): adjust, and rewrite loop.
3662         (deleteEmptyParagraphMechanism): adjust
3663
3664         * tabular.C (LyXTabular): adjust
3665         (SetMultiColumn): adjust
3666         (TeXRow): adjust
3667
3668         * lyxtext.[Ch] (ownerParagraph): delete function
3669         (ownerParagraphs): new function returns a ParagraphList.
3670
3671         * BufferView.C (removeAutoInsets): adjust
3672         (insertErrors): adjust
3673         (setCursorFromRow): adjust
3674
3675 2003-04-01  Angus Leeming  <leeming@lyx.org>
3676
3677         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3678         in the frontends.
3679
3680 2003-04-02  John Levon  <levon@movementarian.org>
3681
3682         * lyxtext.h:
3683         * text.C:
3684         * Makefile.am:
3685         * text_funcs.h:
3686         * text_funcs.C: make transposeChars a free function
3687
3688         * lyxrow_funcs.C: remove wrong comment
3689
3690 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3691
3692         * lyxtext.h: adjust
3693         * rowpainter.C: adjust
3694         * text.C: adjust
3695         * text2.C: adjust
3696         * text3.C: adjust
3697
3698         * lyxrow_funcs. [Ch]: new files
3699
3700         * lyxrow.[Ch]: remove next and previous pointers
3701         (next,previous): remove accessor functions
3702         (isParEnd): move to lyxrow_funcs
3703         (lastPos): move to lyxrow_funcs
3704         (nextRowIsAllInset): move to lyxrow_funcs
3705         (lastPrintablePos): move to lyxrow_funcs
3706         (numberOfSeparators): move to lyxrow_funcs
3707         (numberOfHfills): move to lyxrow_funcs
3708         (numberOfLabelHfills): move to lyxrow_funcs
3709         (hfillExpansion): move to lyxrow_funcs
3710
3711         * lyxfunc.C: adjust
3712
3713         * bufferview_funcs.C (toggleAndShow): adjust
3714
3715         * RowList.h: Remove class RowList from file leave just a
3716         std::list<Row>.
3717
3718         * RowList.C: delete file
3719
3720         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3721         and lyxrow_funcs.h
3722
3723 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3724
3725         * text3.C (cursorPrevious): adjust
3726         (cursorNext): adjust
3727         (dispatch): adjust
3728
3729         * text2.C (redoHeightOfParagraph): adjust
3730         (redoDrawingOfParagraph): adjust
3731         (setCursor): adjust
3732
3733         * text.C (breakParagraph): adjust
3734         (insertChar): adjust
3735         (backspace): adjust
3736
3737         * rowpainter.C (RowPainter): adjust
3738         (leftMargin): simplify and adjust
3739         (most rowpainter functions): adjust.
3740
3741         * rowpainter.h: store the row as RowList::iterator not as Row*
3742
3743         * lyxcursor.C (row): taka RowList::iterator as arg
3744         (irow): ditto
3745
3746         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3747         of Row*.
3748
3749 2003-04-01  Angus Leeming  <leeming@lyx.org>
3750
3751         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3752         stuff like bool Bool.
3753
3754 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3755
3756         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3757         rewrite a loop
3758
3759 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3760
3761         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3762         RowList::iterator.
3763
3764         * lyxtext.h (rows): drop one version and leve a const variant that
3765         returns a RowList::iterator.
3766
3767 2003-03-31  Angus Leeming  <leeming@lyx.org>
3768
3769         * text.C (fill): ensure that the signature is the same as that in the
3770         header file.
3771
3772 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3773
3774         * text2.C (redoParagraphs): adjust
3775         (updateCounters): adjust
3776         (checkParagraph): adjust
3777         (getColumnNearX): adjust and reformat a bit.
3778
3779         * text.C (top_y): adjust
3780         (workWidth): adjust
3781         (leftMargin): adjust
3782         (prepareToPrint): adjust
3783         (getRow): adjust
3784         (getRowNearY): adjust
3785
3786         * lyxtext.h: make rowlist_ mutable.
3787
3788         * RowList.h: add const_iterator
3789         * RowList.C: adjust for RowList::const_iterator.
3790
3791         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3792         adjust.
3793
3794 2003-03-31  John Levon  <levon@movementarian.org>
3795
3796         * lyxrc.h:
3797         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3798
3799         * lyx_main.C: set default fonts from using lyx_gui funcs
3800
3801         * exporter.C: pdf_mode moved from lyxrc
3802
3803         * lyx_cb.C:
3804         * lyxfunc.C: changes from above
3805
3806 2003-03-31  John Levon  <levon@movementarian.org>
3807
3808         * lyx_main.C: fix to the last fix
3809
3810 2003-03-31  John Levon  <levon@movementarian.org>
3811
3812         * bufferlist.C: "Load original" -> "Load Original"
3813
3814         * converter.C:
3815         * exporter.C:
3816         * importer.C:
3817         * lyx_main.C:
3818         * format.C: more Alert cleanups
3819
3820 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3821
3822         * text2.C (removeParagraph): make it take a RowList::iterator as
3823         arg, adjust.
3824         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3825         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3826
3827         * text.C (anchor_row): make it take a RowList::iterator as arg,
3828         adjust.
3829         (computeBidiTables): make it take a const reference to Row instead
3830         of Row pointer, adjust.
3831         (leftMargin): make it take a RowList::iterator as arg, adjust.
3832         (rowBreakPoint): adjust
3833         (breakAgainOneRow): make it take a RowList::iterator as arg,
3834         adjust.
3835         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3836
3837         * bufferview_funcs.C (toggleAndShow): adjust
3838
3839 2003-03-30  John Levon  <levon@movementarian.org>
3840
3841         * Makefile.am:
3842         * BoostFormat.h:
3843         * boost-inst.C: moved to support
3844
3845         * several files: changes as a result
3846
3847 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3848
3849         * text2.C (LyXText): adjust.
3850         (init): adjust
3851         (removeRow): make it take a RowList::iterator as arg, adjust.
3852         (fullRebreak): adjust
3853         (deleteEmptyParagraphMechanism): adjust
3854         (clearPaint): adjust
3855         (postPaint): adjust
3856
3857         * text.C (top_y): adjust
3858         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3859         (breakAgain): make it take a RowList::iterator as arg, adjust.
3860         (breakParagraph): adjust
3861         (insertChar): adjust
3862         (backspace): adjust
3863
3864         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3865         need_break_row, and refresh_row.
3866
3867         * text3.C (dispatch): adjust
3868
3869         * text2.C (checkParagraph): adjust
3870         (setCursor): adjust
3871         (setCursorFromCoordinates): adjust
3872
3873         * text.C (top_y): adjust
3874         (workWidth): adjust
3875         (getRow): make it return a RowList::iterator, adjust
3876         (getRowNearY): make it return a RowList::iterator, adjust
3877
3878         * text2.C (init): adjust
3879         (insertRow): remove function
3880         (insertParagraph): adjust
3881         (redoParagraphs): adjust
3882         (fullRebreak): adjust
3883         (updateCounters): adjust
3884
3885         * text.C (top_y): rewrite to use RowList iterators.
3886         (top_y): adjust
3887         (setHeightOfRow): rewrite to sue RowList iterators.
3888         (appendParagraph): adjust
3889         (breakAgain): adjust
3890         (breakAgainOneRow): adjust
3891         (breakParagraph): adjust
3892         (getRow): adjust
3893         (getRowNearY): adjust, and remove commented code.
3894
3895         * lyxtext.h (firstRow): delete function
3896         (lastRow): delete function
3897         (rows): new function (const and non-const versions.)
3898         (insertRow): delete function
3899
3900         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3901
3902 2003-03-29  John Levon  <levon@movementarian.org>
3903
3904         * BufferView_pimpl.C: always update scrollbar top
3905         because pasting text when we're anchored could mean we
3906         miss an update altogether
3907
3908 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3909
3910         * text2.C (init): use rowlist_.end() and not 0.
3911         (insertRow): change to take a RowList::iterator as arg, adjust
3912         for this.
3913         (insertParagraph): change to take a RowList::iterator as arg,
3914         adjust for this.
3915         (redoParagraphs): remove some debug msgs.
3916
3917         * text.C (appendParagraph): change to take a RowList::iterator
3918         arg, adjust for this.
3919         (breakAgain): add an assert
3920         (breakAgainOneRow): ditto
3921
3922 2003-03-29  John Levon  <levon@movementarian.org>
3923
3924         * text2.C: do not clear selection after inc/decDepth
3925         (bug 550)
3926
3927 2003-03-29  John Levon  <levon@movementarian.org>
3928
3929         * BufferView.C:
3930         * buffer.C: fix broken strerrors according to Lars
3931
3932 2003-03-29  John Levon  <levon@movementarian.org>
3933
3934         * converters.C: more Alert cleanups
3935
3936 2003-03-29  John Levon  <levon@movementarian.org>
3937
3938         * bufferview_funcs.C: remove pointless Alert
3939
3940         * buffer.C: fix confusing error message when
3941         a template is chmoded 000
3942
3943 2003-03-29  John Levon  <levon@movementarian.org>
3944
3945         * BufferView.C:
3946         * BufferView.h:
3947         * BufferView_pimpl.C: Alert fixes
3948
3949         * Makefile.am:
3950         * tabular.C:
3951         * tabular-old.C: remove unused table compat reading
3952
3953 2003-03-29  John Levon  <levon@movementarian.org>
3954
3955         * BufferView.C:
3956         * buffer.C:
3957         * lyx_cb.h:
3958         * lyx_cb.C: more Alert cleanups
3959
3960         * lyxfunc.C: don't allow chktex if not latex document
3961
3962 2003-03-29  John Levon  <levon@movementarian.org>
3963
3964         * lyx_cb.C:
3965         * BufferView.C:
3966         * buffer.C: warnings pushed down from support/,
3967         kill err_alert
3968
3969 2003-03-29  John Levon  <levon@movementarian.org>
3970
3971         * lyxfunc.C: safety check for C-r (revert)
3972
3973 2003-03-29  John Levon  <levon@movementarian.org>
3974
3975         * bufferlist.h:
3976         * bufferlist.C: several UI fixes using Alert::prompt.
3977         Fix the pointless looping quit code. Fix stupid revert
3978         behaviour (bug 938)
3979
3980         * lyxvc.h:
3981         * lyxvc.C:
3982         * lyx_cb.C: use Alert::prompt
3983
3984         * lyx_main.C: remove a silly question
3985
3986         * lyxfunc.C: remove a couple of silly questions,
3987         use Alert::prompt
3988
3989 2003-03-28  John Levon  <levon@movementarian.org>
3990
3991         * text2.C: fix bug 974 (End on empty par)
3992
3993 2003-03-28  John Levon  <levon@movementarian.org>
3994
3995         * BufferView_pimpl.C:
3996         * LyXAction.C:
3997         * lfuns.h: remove do-nothing math greek lfuns
3998
3999 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4000
4001         * lyxgluelength.h (isValidGlueLength): add default arg on
4002         parameter 2. Remove default arg from friend in class.
4003
4004         * lyxlength.h (isValidLength): add default arg on parameter 2.
4005         Remove default arg from friend in class.
4006
4007         * text2.C (LyXText): adjust, initialize refresh_row.
4008         (init): adjust
4009         (removeRow): adjust
4010         (insertRow): adjust
4011         (insertParagraph): adjst
4012         (redoParagraphs): adjust
4013         (fullRebreak): adjust
4014         (updateCounters): adjust
4015         (deleteEmptyParagraphMechanism): first attempt at fixing a
4016         crashing bug.
4017
4018         * text.C (top_y): adjust
4019         (setHeightOfRow): adjust
4020         (getRow): adjust
4021         (getRowNearY): adjust
4022
4023         * lyxtext.h: include RowList.h
4024         (~LyXText): not needed anymore, deleted.
4025         (firstRow): modify for RowList
4026         (lastRow): new function
4027         Delete firstrow and lastrow class variables, add a Rowlist
4028         rowlist_ class variable.
4029
4030         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4031         paragraph is empty.
4032
4033         * RowList.C (insert): fix case where it == begin().
4034
4035 2003-03-26  Angus Leeming  <leeming@lyx.org>
4036
4037         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4038         the thesaurus dialog.
4039
4040 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4041
4042         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4043
4044         * RowList.[Ch]: new files
4045
4046         * ParagraphList.C (erase): handle the case where it == begin
4047         correctly.
4048
4049 2003-03-25  John Levon  <levon@movementarian.org>
4050
4051         * Makefile.am:
4052         * aspell_local.h:
4053         * aspell.C: add new aspell support
4054
4055         * lyxrc.h:
4056         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4057         have it accessible.
4058
4059 2003-03-25  Angus Leeming  <leeming@lyx.org>
4060
4061         * lfuns.h:
4062         * LyXAction.C (init): new LFUN_INSET_INSERT.
4063
4064         * BufferView_pimpl.C (dispatch): split out part of the
4065         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4066
4067         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4068         LFUN_INSET_APPLY.
4069
4070 2003-03-25  Angus Leeming  <leeming@lyx.org>
4071
4072         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4073
4074 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4075
4076         * text2.C:
4077         * text3.C: remove useless row->height(0)
4078
4079 2003-03-25  John Levon  <levon@movementarian.org>
4080
4081         * lyxtext.h:
4082         * text2.C:
4083         * text3.C: rename the refreshing stuff to better names
4084
4085 2003-03-24  John Levon  <levon@movementarian.org>
4086
4087         * BufferView_pimpl.h:
4088         * BufferView_pimpl.C: update layout choice on a mouse
4089         press/release
4090
4091 2003-03-23  John Levon  <levon@movementarian.org>
4092
4093         * Makefile.am: fix commandtags.h reference
4094
4095 2003-03-22  John Levon  <levon@movementarian.org>
4096
4097         * BufferView_pimpl.C:
4098         * lyxtext.h:
4099         * rowpainter.C:
4100         * rowpainter.h:
4101         * text.C:
4102         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4103
4104 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4105
4106         * lyxtext.h:
4107         * text.C: take the rtl methods out of line
4108
4109 2003-03-21 André Pönitz <poenitz@gmx.net>
4110
4111         * metricsinfo.[Ch]: new files containing structures to be passed around
4112         during the two-phase-drawing...
4113
4114 2003-03-21 André Pönitz <poenitz@gmx.net>
4115
4116         * lyxtextclass.C: read 'environment' tag.
4117
4118 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4119
4120         * text2.C (removeRow): fix bug 964
4121
4122 2003-03-20  John Levon  <levon@movementarian.org>
4123
4124         * rowpainter.C:
4125         * text.C:
4126         * text2.C: paint cleanups. Inset::update() dropped font
4127         parameter
4128
4129 2003-03-19  John Levon  <levon@movementarian.org>
4130
4131         * lyxfunc.C: only fitcursor/markDirty if available()
4132
4133 2003-03-19  John Levon  <levon@movementarian.org>
4134
4135         * commandtags.h: rename to ...
4136
4137         * lfuns.h: ... this, and renumber / cleanup
4138
4139 2003-03-19  John Levon  <levon@movementarian.org>
4140
4141         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4142         fit the cursor after an lfun
4143
4144         * BufferView.h:
4145         * BufferView.C:
4146         * BufferView_pimpl.h:
4147         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4148
4149         * LyXAction.C: layout-character should have ReadOnly
4150
4151         * ParagraphParameters.C:
4152         * buffer.C:
4153         * bufferview_funcs.C:
4154         * lyx_cb.C:
4155         * lyxfind.C:
4156         * lyxtext.h:
4157         * text.C:
4158         * text2.C:
4159         * text3.C:
4160         * undo_funcs.C: changes from above
4161
4162 2003-03-18  John Levon  <levon@movementarian.org>
4163
4164         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4165         remove it from update()
4166
4167         * lyxfunc.C: update layout choice after an lfun
4168
4169         * text3.C: remove extra updateLayoutChoice()s
4170
4171 2003-03-18  John Levon  <levon@movementarian.org>
4172
4173         * text.C: top_y change means full repaint, fix
4174         a drawing bug with cursor movement
4175
4176 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4177
4178         * lyxtext.h:
4179         * text.C:
4180         * text2.C: anchor row on setCursor
4181
4182 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4183
4184         * lyxtext.h: remove almost all mutable keywords
4185         * text.C:
4186         * text2.C:
4187         * text3.C: remove const keywords accordingly
4188
4189 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4190
4191         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4192         anon namespace
4193         (TeXEnvironment): ditto
4194         (TeXOnePar): ditto
4195
4196 2003-03-17  John Levon  <levon@movementarian.org>
4197
4198         * text.C (rowBreakPoint): remove attempt to fix displayed
4199         math insets inside a manual label
4200
4201 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4202
4203         * lyxtext.h: remove BufferView* as first arg from almost all class
4204         functions.
4205         * other files: adjust.
4206
4207 2003-03-17  John Levon  <levon@movementarian.org>
4208
4209         * lyxtext.h:
4210         * undo_funcs.C:
4211         * text2.C: more paint cleanups
4212
4213         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4214
4215         * rowpainter.h:
4216         * rowpainter.C: remove "smart" background painting code
4217
4218 2003-03-16  John Levon  <levon@movementarian.org>
4219
4220         * lyxtext.h:
4221         * text.C:
4222         * text2.C:
4223         * text3.C: add helper functions for setting refresh_row/y
4224
4225 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4226
4227         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4228         newline inset which *can* get inserted in the pass_thru layouts.
4229         This is primarily for literate documents.
4230
4231 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4232
4233         * buffer.C: increment LYX_FORMAT to 223
4234
4235 2003-03-14 André Pönitz <poenitz@gmx.net>
4236
4237         * textclass.h: prepare for environment handling, ws changes
4238         * lyxlayout.C: read latexheader and latexfooter tags
4239
4240 2003-03-14  John Levon  <levon@movementarian.org>
4241
4242         * text2.C: rewrite ::status() a bit
4243
4244 2003-03-13  John Levon  <levon@movementarian.org>
4245
4246         * lyxtext.h: add some docs
4247
4248 2003-03-13  John Levon  <levon@movementarian.org>
4249
4250         * lyxtext.h:
4251         * text.C:
4252         * text2.C:
4253         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4254
4255 2003-03-13  John Levon  <levon@movementarian.org>
4256
4257         * text3.C: fix appendix redrawing
4258
4259 2003-03-13  John Levon  <levon@movementarian.org>
4260
4261         * text.C (setHeightOfRow):
4262         * rowpainter.h:
4263         * rowpainter.C: make appendix mark have the text
4264           "Appendix" so the user knows what it is
4265
4266         * LColor.h:
4267         * LColor.C: s/appendixline/appendix/ from above
4268
4269 2003-03-13  John Levon  <levon@movementarian.org>
4270
4271         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4272
4273         * text.C: fix a getChar(pos) bug properly
4274
4275 2003-03-13  Angus Leeming  <leeming@lyx.org>
4276
4277         * commandtags.h:
4278         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4279         Probably only temporary. Let's see how things pan out.
4280
4281         * BufferView.C (unlockInset):
4282         * BufferView_pimpl.C (fitCursor):
4283         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4284
4285         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4286         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4287
4288         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4289         new functions that convert ParagraphParameters to and from a string.
4290
4291         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4292         BufferView::Pimpl's dispatch.
4293         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4294
4295 2003-03-13 André Pönitz <poenitz@gmx.net>
4296
4297         * lyxfunc.C:
4298         * text3.C:
4299         * factory.C: make it aware of InsetEnv
4300
4301 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4302
4303         * text2.C (setCursor): never ask for one past last
4304         (setCursor): add some debugging messages.
4305
4306         * text.C (singleWidth): never ask for one past last
4307         (singleWidth): ditto
4308         (leftMargin): ditto
4309         (rightMargin): ditto
4310         (rowBreakPoint): ditto
4311         (setHeightOfRow): ditto
4312         (prepareToPrint): ditto
4313
4314         * rowpainter.C (paintBackground): never ask for one past last
4315         (paintText): never ask for one past last
4316
4317         * paragraph_pimpl.C (getChar): make the assert stricter, never
4318         allow the one past last pos to be taken
4319
4320         * paragraph.C (getChar): ws changes only
4321
4322         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4323         (numberOfSeparators): ditto
4324         (numberOfHfills): ditto
4325
4326 2003-03-12  John Levon  <levon@movementarian.org>
4327
4328         * author.h:
4329         * author.C:
4330         * bufferparams.h:
4331         * bufferparams.C:
4332         * paragraph_funcs.C: fix per-buffer authorlists
4333
4334 2003-03-12  John Levon  <levon@movementarian.org>
4335
4336         * text.C: fix newline in right address
4337
4338 2003-03-12  Angus Leeming  <leeming@lyx.org>
4339
4340         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4341         duplicate those in LyXFunc::dispatch.
4342
4343         * commandtags.h:
4344         * LyXAction.C:
4345         * ToolbarDefaults.C:
4346         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4347         Add LFUN_FONTFREE_UPDATE.
4348
4349         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4350         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4351
4352         * bufferview_func.[Ch]: several new functions to facilliate
4353         transfer of data to and from the character dialog.
4354
4355 2003-03-12  John Levon  <levon@movementarian.org>
4356
4357         * buffer.C:
4358         * paragraph.h:
4359         * paragraph.C:
4360         * paragraph_funcs.C:
4361         * paragraph_pimpl.C:
4362         * sgml.C:
4363         * tabular.C:
4364         * text.C:
4365         * text3.C: remove META_NEWLINE in favour of an inset
4366
4367         * rowpainter.h:
4368         * rowpainter.C: remove paintNewline (done by inset)
4369
4370 2003-03-12  John Levon  <levon@movementarian.org>
4371
4372         * paragraph_pimpl.C: complain about bad getChar()s
4373         for a while at least
4374
4375 2003-03-12  John Levon  <levon@movementarian.org>
4376
4377         * buffer.h:
4378         * buffer.C: move paragraph read into a separate function,
4379         a little renaming to reflect that.
4380
4381         * bufferparams.h:
4382         * bufferparams.C: remove the author_ids map, not necessary now
4383
4384         * factory.h:
4385         * factory.C: moved Buffer::readInset to here
4386
4387         * paragraph_funcs.h:
4388         * paragraph_funcs.C: readParagraph free function moved from
4389         buffer.C
4390
4391         * tabular.C: name change
4392
4393 2003-03-12  John Levon  <levon@movementarian.org>
4394
4395         * buffer.C:
4396         * ParagraphParameters.C: move par params input to
4397         a read() method
4398
4399         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4400         behave like a normal read from the stream wrt reading
4401         a line vs. a \\token
4402
4403 2003-03-12  John Levon  <levon@movementarian.org>
4404
4405         * paragraph.C:
4406         * ParagraphParameters.h:
4407         * ParagraphParameters.C: move output code to a
4408         ::write() method
4409
4410 2003-03-12  John Levon  <levon@movementarian.org>
4411
4412         * BufferView.C (insertLyXFile):
4413         * buffer.h:
4414         * buffer.C:
4415         * tabular.C: use a parlist iterator for creating the
4416           document.
4417
4418 2003-03-12  John Levon  <levon@movementarian.org>
4419
4420         * buffer.C: make current_change static local not
4421           static file-scope
4422
4423 2003-03-12  John Levon  <levon@movementarian.org>
4424
4425         * buffer.C: fix insertStringAsLines for change tracking
4426
4427 2003-03-12  John Levon  <levon@movementarian.org>
4428
4429         * BufferView.C:
4430         * tabular.C:
4431         * buffer.h:
4432         * buffer.C:
4433         * bufferparams.h:
4434         * bufferparams.C: move author list into params. Rename some
4435           functions. Move the header reading into a separate token
4436           loop. Move the header token reading into BufferParams.
4437
4438 2003-03-12  John Levon  <levon@movementarian.org>
4439
4440         * changes.C: put debug inside lyxerr.debugging() checks
4441
4442 2003-03-11 André Pönitz <poenitz@gmx.net>
4443
4444         * factory.C: make it aware of InsetHFill
4445
4446 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4447
4448         * buffer.C (latexParagraphs): move function from here...
4449         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4450         args.
4451
4452 2003-03-10  Angus Leeming  <leeming@lyx.org>
4453
4454         * LyXAction.C (init): fix bug in poplating array with multiple entries
4455         with the same LFUN (spotted by JMarc).
4456
4457 2003-03-10  John Levon  <levon@movementarian.org>
4458
4459         * text.C:
4460         * text2.C: move getColumnNearX() near its
4461         only call site
4462
4463 2003-03-10  John Levon  <levon@movementarian.org>
4464
4465         * text.C: fix break before a minipage
4466
4467 2003-03-10  John Levon  <levon@movementarian.org>
4468
4469         * text.C: fix the last commit
4470
4471 2003-03-09  John Levon  <levon@movementarian.org>
4472
4473         * lyxtext.h:
4474         * text.C:
4475         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4476         bug 365 (don't break before insets unless needed). Don't
4477         return a value > last under any circumstances.
4478
4479 2003-03-09  Angus Leeming  <leeming@lyx.org>
4480
4481         * BufferView_pimpl.C (trackChanges, dispatch): call
4482         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4483
4484 2003-03-09  Angus Leeming  <leeming@lyx.org>
4485
4486         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4487         than Dialogs::showAboutlyx().
4488
4489 2003-03-09  Angus Leeming  <leeming@lyx.org>
4490
4491         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4492         than Dialogs::showTabularCreate().
4493
4494 2003-03-09  John Levon  <levon@movementarian.org>
4495
4496         * lyxtext.h:
4497         * text.C:
4498         * text2.C: 3rd arg to nextBreakPoint was always the same.
4499           Use references.
4500
4501 2003-03-08  John Levon  <levon@movementarian.org>
4502
4503         * lyxrow.C:
4504         * paragraph.C:
4505         * paragraph.h:
4506         * rowpainter.C:
4507         * text.C:
4508         * text2.C: Remove the "main" bit from the "main body"
4509           notion.
4510
4511 2003-03-08  John Levon  <levon@movementarian.org>
4512
4513         * text.C (leftMargin): The left margin of an empty
4514         manual label paragraph should not include the label width
4515         string length.
4516
4517         * text.C (prepareToPrint): don't attempt to measure hfills
4518         for empty manual label paragraphs - the answer should be 0
4519
4520 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4521
4522         * CutAndPaste.C: remove commented code and reindent.
4523
4524 2003-03-08  John Levon  <levon@movementarian.org>
4525
4526         * lyxfunc.h:
4527         * lyxfunc.C: move reloadBuffer()
4528
4529         * BufferView.h:
4530         * BufferView.C: to here
4531
4532         * lyxvc.C: add comment
4533
4534         * vc-backend.h:
4535         * vc-backend.C: call bv->reload() to avoid
4536           getStatus() check on MENURELOAD
4537
4538 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4539
4540         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4541         to an old format .dep file.
4542
4543 2003-03-07  Angus Leeming  <leeming@lyx.org>
4544
4545         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4546         when the LFUN_MOUSE_RELEASE should have been handled by
4547         inset->localDispatch.
4548
4549 2003-03-07  Angus Leeming  <leeming@lyx.org>
4550
4551         * BufferView_pimpl.C (dispatch):
4552         * LyXAction.C (init):
4553         * ToolbarDefaults.C (init):
4554         * commandtags.h:
4555         * lyxfunc.C (getStatus):
4556         remove LFUN_INSET_GRAPHICS.
4557
4558         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4559
4560 2003-03-07  Angus Leeming  <leeming@lyx.org>
4561
4562         * commandtags.h:
4563         * LyXAction.C (init):
4564         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4565
4566         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4567
4568         * commandtags.h:
4569         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4570
4571         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4572         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4573
4574 2003-03-07  Angus Leeming  <leeming@lyx.org>
4575
4576         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4577         remove "ert".
4578
4579 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4580
4581         * ParagraphList.C (front): new function
4582         (back): implement
4583
4584 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4585
4586         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4587         and top_row_offset_. removed var first_y.
4588         * text.C (top_y):
4589         * text2.C (LyXText, removeRow):
4590         * text3.C:
4591         * BufferView_pimpl.C:
4592         use these methods instead of using first_y
4593
4594 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4595
4596         * text2.C (pasteSelection): adjust for checkPastePossible
4597
4598         * CutAndPaste.C: remove Paragraph * buf and replace with
4599         ParagraphList paragraphs.
4600         (DeleteBuffer): delete
4601         (cutSelection): change the tc type to textclass_type
4602         (copySelection): change the tc type to textclass_type
4603         (copySelection): adjust for ParagraphList
4604         (pasteSelection): change the tc type to textclass_type
4605         (pasteSelection): adjust for Paragraphlist
4606         (nrOfParagraphs): simplify for ParagraphList
4607         (checkPastePossible): simplify for ParagraphList
4608         (checkPastePossible): remove unused arg
4609
4610         * ParagraphList.C (insert): handle the case where there are no
4611         paragraphs yet.
4612
4613         * CutAndPaste.h: make CutAndPaste a namespace.
4614
4615         * text3.C (dispatch): adjust
4616
4617         * text.C (breakParagraph): add a ParagraphList as arg
4618
4619         * paragraph_funcs.C (breakParagraph): change to take a
4620         BufferParams and a ParagraphList as args.
4621         (breakParagraphConservative): ditto
4622         (mergeParagraph): ditto
4623         (TeXDeeper): add a ParagraphList arg
4624         (TeXEnvironment): ditto
4625         (TeXOnePar): ditto
4626
4627         * buffer.C (readLyXformat2): adjust
4628         (insertStringAsLines): adjust
4629         (latexParagraphs): adjust
4630
4631         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4632         (cutSelection): adjust
4633         (pasteSelection): adjust
4634
4635         * BufferView_pimpl.C (insertInset): adjust
4636
4637 2003-03-05  Angus Leeming  <leeming@lyx.org>
4638
4639         * commandtags.h:
4640         * LyXAction.C (init):
4641         * BufferView_pimpl.C (dispatch):
4642         * lyxfunc.C (getStatus):
4643         remove LFUN_CHILD_INSERT.
4644
4645         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4646
4647 2003-03-05  Angus Leeming  <leeming@lyx.org>
4648
4649         * commandtags.h:
4650         * LyXAction.C (init):
4651         * src/factory.C (createInset):
4652         * lyxfunc.C (getStatus):
4653         * text3.C (dispatch):
4654         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4655
4656         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4657
4658 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4659
4660         * ParagraphList.C (insert): handle insert right before end()
4661         (erase): fix cases where it can be first or last paragraph.
4662
4663 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4666         Paragraph::next and Paragraph::previous
4667         (TeXOnePar): ditto
4668
4669         * text.C (breakParagraph): adjust
4670
4671         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4672         BufferParams& as arg.
4673         (breakParagraph): use ParagraphList::insert
4674         (breakParagraphConservative): take a Buffer* instead of a
4675         BufferParams& as arg.
4676         (breakParagraphConservative): use ParagraphList::insert.
4677
4678         * buffer.C (insertStringAsLines): un-const it
4679         (insertStringAsLines): adjust
4680
4681         * ParagraphList.C (insert): new function
4682
4683         * CutAndPaste.C (pasteSelection): adjust
4684
4685         * text.C (backspace): adjust
4686
4687         * tabular.C (SetMultiColumn): adjust
4688
4689         * CutAndPaste.C (cutSelection): adjust
4690         (pasteSelection): adjust
4691
4692         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4693         Buffer const * as arg
4694
4695         * ParagraphList.C (erase): new function
4696         * paragraph_funcs.C (mergeParagraph): use it
4697         (mergeParagraph): make it take a Buffer* instead of a
4698         BufferParams* as arg
4699
4700         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4701         as arg
4702         (breakParagraphConservative): ditto
4703
4704         * paragraph.h: remove the breakParagraph friend
4705
4706         * paragraph.C (eraseIntern): new function
4707         (setChange): new function
4708
4709         * paragraph_funcs.C (mergeParagraph): make it take a
4710         ParagraphList::iterator instead of a Paragraph *, adjust
4711         accordingly.
4712
4713         * paragraph.h: move an #endif so that the change tracking stuff
4714         also works in the NO_NEXT case.
4715
4716 2003-03-04  Angus Leeming  <leeming@lyx.org>
4717
4718         * commandtags.h:
4719         * LyXAction.C: new LFUN_INSET_MODIFY.
4720
4721         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4722         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4723
4724 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4725
4726         * several files: ws changes only
4727
4728         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4729         (TeXEnvironment): ditto
4730         (TeXDeeper): ditto
4731
4732         * buffer.C (makeLaTeXFile): adjust
4733         (latexParagraphs): make it take ParagraphList::iterator as args
4734
4735 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4736
4737         * buffer.C (latexParagraphs): adjust
4738
4739         * paragraph.C (TeXOnePar): move function...
4740         (optArgInset): move function...
4741         (TeXEnvironment): move function...
4742         * paragraph_pimpl.C (TeXDeeper): move function...
4743         * paragraph_funcs.C: ...here
4744
4745         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4746
4747 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4748
4749         * buffer.C (readInset): remove compability code for old Figure and
4750         InsetInfo insets
4751
4752 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4753
4754         * buffer.C: ws changes
4755         (readInset):
4756
4757         * BufferView_pimpl.C: ditto
4758         * author.C: ditto
4759         * buffer.h: ditto
4760         * bufferlist.h: ditto
4761         * changes.h: ditto
4762         * lyxfunc.C: ditto
4763
4764 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4765
4766         * converter.[Ch]: split into itself +
4767         * graph.[Ch]
4768         * format.[Ch]
4769         * Makefile.am: += graph.[Ch] + format.[Ch]
4770         * MenuBackend.C
4771         * buffer.C
4772         * exporter.C
4773         * importer.C
4774         * lyx_main.C
4775         * lyxfunc.C
4776         * lyxrc.C: added #include "format.h"
4777
4778 2003-02-27  Angus Leeming  <leeming@lyx.org>
4779
4780         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4781           a label.
4782
4783         * factory.C (createInset): add "label" to the factory.
4784
4785         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4786           string and do no more.
4787
4788 2003-02-27  Angus Leeming  <leeming@lyx.org>
4789
4790         * commandtags.h:
4791         * LyXAction.C (init):
4792         * factory.C (createInset):
4793         * BufferView_pimpl.C (dispatch):
4794           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4795
4796         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4797
4798         * lyxfunc.C (dispatch):
4799         * text3.C (dispatch): pass name to params2string.
4800
4801 2003-02-26  Angus Leeming  <leeming@lyx.org>
4802
4803         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4804           blocks together.
4805           Rearrange the ~includes. Strip out the unnecessary ones.
4806
4807         * factory.C (createInset): reformat.
4808           create new insets for the various LFUN_XYZ_APPLY lfuns.
4809
4810 2003-02-26  John Levon  <levon@movementarian.org>
4811
4812         * lyxrow.h:
4813         * lyxrow.C: add isParStart,isParEnd helpers
4814
4815         * paragraph.h: make isInserted/DeletedText take refs
4816
4817         * paragraph_funcs.h:
4818         * paragraph_funcs.C: remove #if 0'd code
4819
4820         * lyxtext.h:
4821         * text3.C:
4822         * text2.C:
4823         * text.C: use lyxrow helpers above.
4824           Move draw and paint routines to RowPainter.
4825           Make several methods use refs not pointers.
4826           Make backgroundColor() const.
4827           Add markChangeInDraw(), isInInset().
4828           Merge changeRegionCase into changeCase.
4829           Make workWidth() shouldn't-happen code into an Assert.
4830
4831         * rowpainter.h:
4832         * rowpainter.C: new class for painting a row.
4833
4834         * vspace.h:
4835         * vspace.C: make inPixels take a ref
4836
4837 2003-02-26  Angus Leeming  <leeming@lyx.org>
4838
4839         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4840         LFUN_REF_APPLY.
4841
4842 2003-02-25  John Levon  <levon@movementarian.org>
4843
4844         * ispell.C: give the forked command a more accurate name
4845
4846 2003-02-22  John Levon  <levon@movementarian.org>
4847
4848         * toc.h:
4849         * toc.C: make TocItem store an id not a Paragraph *
4850           (bug #913)
4851
4852 2003-02-21  Angus Leeming  <leeming@lyx.org>
4853
4854         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4855           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4856           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4857           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4858           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4859           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4860
4861         * BufferView_pimpl.C (dispatch):
4862         * LyXAction.C (init):
4863         * factory.C (createInset):
4864         * lyxfunc.C (getStatus, dispatch):
4865         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4866
4867 2003-02-21  Angus Leeming  <leeming@lyx.org>
4868
4869         * BufferView_pimpl.C (MenuInsertLyXFile):
4870         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4871         * lyxfunc.C (menuNew, open, doImport):
4872           no longer pass a LyXView & to fileDlg.
4873
4874 2003-02-21  Angus Leeming  <leeming@lyx.org>
4875
4876         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4877         * LyXAction.C: change, BIBKEY to BIBITEM.
4878         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4879         Change InsetBibKey to InsetBibitem.
4880         Change BIBKEY_CODE to BIBITEM_CODE.
4881         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4882         * factory.C: replace insetbib.h with insetbibitem.h.
4883         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4884         * paragraph.C: replace insetbib.h with insetbibitem.h.
4885         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4886         Change bibkey() to bibitem().
4887         * text.C: remove insetbib.h.
4888         * text2.C: replace insetbib.h with insetbibitem.h.
4889         change bibkey() to bibitem().
4890         * text3.C: remove insetbib.h.
4891         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4892
4893 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4894
4895         * lyxrc.C (output): enclose user email in quotes (in case there are
4896         several words)
4897
4898 2003-02-18  John Levon  <levon@movementarian.org>
4899
4900         * buffer.h: add std::
4901
4902 2003-02-17  John Levon  <levon@movementarian.org>
4903
4904         * SpellBase.h:
4905         * ispell.h:
4906         * ispell.C:
4907         * pspell.h:
4908         * pspell.C: reworking. Especially in ispell, a large
4909           number of clean ups and bug fixes.
4910
4911         * lyxfunc.C: fix revert to behave sensibly
4912
4913 2003-02-17 André Pönitz <poenitz@gmx.net>
4914
4915         * LyXAction.C:
4916         * commandtags.h: new LFUN_INSERT_BIBKEY
4917
4918         * layout.h:
4919         * lyxlayout.C:
4920         * buffer.C:
4921         * factory.C:
4922         * text.C:
4923         * text2.C:
4924         * text3.C:
4925         * paragraph.[Ch]:
4926         * paragraph_func.C: remove special bibkey handling
4927
4928 2003-02-17  John Levon  <levon@movementarian.org>
4929
4930         * text.C (Delete): fix case where delete at the end of
4931           the very first paragraph would not merge the pars
4932
4933 2003-02-17  John Levon  <levon@movementarian.org>
4934
4935         * lyxrow.C: fix lastPrintablePos()
4936
4937 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4938
4939         * bufferparams.C (writeLaTeX): add a std:here
4940
4941         * buffer.C: and remove a using directive there
4942
4943 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4944
4945         * buffer.C (makeLaTeXFile): move the code that generates the
4946           preamble...
4947
4948         * bufferparams.C (writeLaTeX): ... in this new method
4949
4950         * LaTeXFeatures.C (getEncodingSet): make const
4951           (getLanguages): make const
4952
4953         * MenuBackend.C (binding): returns the binding associated to this
4954           action
4955           (add): sets the status of each item by calling getStatus. Adds
4956           some intelligence.
4957           (read): add support for OptSubMenu
4958           (expand): remove extra separator at the end of expanded menu
4959
4960 2003-02-15  John Levon  <levon@movementarian.org>
4961
4962         * BufferView.C:
4963         * BufferView_pimpl.C:
4964         * bufferlist.h:
4965         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4966           inset code that had no actual effect. Remove unneeded status
4967           code.
4968
4969 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4970
4971         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4972           in preamble
4973
4974 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4975
4976         * text.C (drawLengthMarker): also draw an arrow marker for
4977           symbolic lengths (medskip...)
4978
4979 2003-02-14  John Levon  <levon@movementarian.org>
4980
4981         * tabular.h:
4982         * tabular.C: better method names
4983
4984 2003-02-14  John Levon  <levon@movementarian.org>
4985
4986         * BufferView_pimpl.C:
4987         * bufferlist.C:
4988         * buffer.C:
4989         * converter.C:
4990         * lyx_cb.C:
4991         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4992           it's a more accurate name. Remove some pointless uses.
4993
4994 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4995
4996         * text2.C (LyXText): change order of initilizers to shut off
4997           warnings
4998
4999 2003-02-14  John Levon  <levon@movementarian.org>
5000
5001         * buffer.C: use ParIterator for getParFromID()
5002
5003         * paragraph.h:
5004         * paragraph.C:
5005         * paragraph_pimpl.h:
5006         * paragraph_pimpl.C: remove unused getParFromID()
5007
5008 2003-02-14  John Levon  <levon@movementarian.org>
5009
5010         * buffer.C: remove some very old #if 0'd parse code
5011
5012 2003-02-13  John Levon  <levon@movementarian.org>
5013
5014         * text.h:
5015         * text.C:
5016         * text2.C: move hfillExpansion(), numberOfSeparators(),
5017           rowLast(), rowLastPrintable(), numberofHfills(),
5018           numberOfLabelHfills() ...
5019
5020         * lyxrow.h:
5021         * lyxrow.C: ... to member functions here.
5022
5023         * paragraph.h:
5024         * paragraph.C:
5025         * lyxtext.h:
5026         * text.C: remove LyXText::beginningOfMainBody(), and call
5027           p->beginningOfMainBody() directly. Move the check for
5028           LABEL_MANUAL into the latter.
5029
5030         * text.h:
5031         * text.C:
5032         * text2.C:
5033         * vspace.C:
5034         * BufferView.h:
5035         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5036
5037         * text.h:
5038         * text.C:
5039         * text2.C:
5040         * text3.C:
5041         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5042           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5043
5044 2003-02-13  John Levon  <levon@movementarian.org>
5045
5046         * CutAndPaste.C: remove debug
5047
5048 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5049
5050         * paragraph.C (asString): remove two unused variables
5051
5052         * lyxtextclass.C (readTitleType):
5053           (Read):
5054           (LyXTextClass): handle new members titletype_ and titlename_
5055
5056         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5057
5058 2003-02-09  John Levon  <levon@movementarian.org>
5059
5060         * buffer.h:
5061         * buffer.C: replace hand-coded list with a map for the dep clean
5062
5063 2003-02-08  John Levon  <levon@movementarian.org>
5064
5065         * LaTeX.C: consolidate code into showRunMessage() helper
5066
5067 2003-02-08  John Levon  <levon@movementarian.org>
5068
5069         * lyxfind.C:
5070         * lyxtext.h:
5071         * text2.C:
5072         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5073           and pass the size in explicitly
5074
5075         * BufferView_pimpl.h:
5076         * BufferView_pimpl.C:
5077         * BufferView.h:
5078         * BufferView.C: add getCurrentChange()
5079
5080         * BufferView_pimpl.h:
5081         * BufferView_pimpl.C: handle change lfuns
5082
5083         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5084           for changes. Mark pasted paragraphs as new.
5085
5086         * support/lyxtime.h:
5087         * support/lyxtime.C:
5088         * DepTable.C: abstract time_t as lyx::time_type
5089
5090         * LColor.h:
5091         * LColor.C: add colours for new text, deleted text, changebars
5092
5093         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5094           package use "usenames" option.
5095
5096         * commandtags.h:
5097         * lyxfunc.C:
5098         * LyXAction.C: add change lfuns
5099
5100         * Makefile.am:
5101         * author.h:
5102         * author.C: author handling
5103
5104         * buffer.h:
5105         * buffer.C: add a per-buffer author list, with first entry as
5106           current author. Handle new .lyx tokens for change tracking. Output
5107           author list to .lyx file. Output dvipost stuff to .tex preamble.
5108           Bump lyx format to 222.
5109
5110         * bufferlist.h:
5111         * bufferlist.C: add setCurrentAuthor() to reset current author details
5112           in all buffers.
5113
5114         * bufferparams.h:
5115         * bufferparams.C: add param for tracking
5116
5117         * bufferview_funcs.C: output change info in minibuffer
5118
5119         * Makefile.am:
5120         * changes.h:
5121         * changes.C: add change-tracking structure
5122
5123         * debug.h:
5124         * debug.C: add CHANGES debug flag
5125
5126         * lyxfind.h:
5127         * lyxfind.C: add code for finding the next change piece
5128
5129         * lyxrc.h:
5130         * lyxrc.C: add user_name and user_email
5131
5132         * lyxrow.h:
5133         * lyxrow.C: add a metric for the top of the text line
5134
5135         * lyxtext.h:
5136         * text.C: implement accept/rejectChange()
5137
5138         * lyxtext.h:
5139         * text.C: paint changebars. Paint new/deleted text in the chosen
5140         colours. Strike through deleted text.
5141
5142         * paragraph.h:
5143         * paragraph.C:
5144         * paragraph_pimpl.h:
5145         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5146           in the current change to the insert functions. Rework erase to
5147           mark text as deleted, adding an eraseIntern() and a range-based
5148           erase(). Implement per-paragraph change lookup and
5149           accept/reject.
5150
5151         * paragraph_funcs.C: Fixup paste for change tracking.
5152
5153         * tabular.C: mark added row/columns as new.
5154
5155         * text.C: fix rowLast() to never return -1. Don't allow
5156           spellchecking of deleted text. Track transpose changes. Don't
5157           allow paragraph break or merge where appropriate.
5158
5159         * text2.C: leave cursor at end of selection after a cut.
5160
5161 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5162
5163         * text.C (getLengthMarkerHeight):
5164         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5165         visible on screen too.
5166
5167 2003-02-07  John Levon  <levon@movementarian.org>
5168
5169         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5170
5171 2003-02-05  Angus Leeming  <leeming@lyx.org>
5172
5173         * lyxserver.C (read_ready): revert my patch of 11 September last year
5174         as it sends PC cpu through the roof. Presumably this means that
5175         the lyxserver will no longer run on an Alpha...
5176
5177 2003-01-30  Angus Leeming  <leeming@lyx.org>
5178
5179         * factory.C (createInset): create an InsetCommandParam of type "index"
5180         and use it to 'do the right thing'.
5181
5182         * text2.C (getStringToIndex): ensure that cursor position is always
5183         reset to the reset_cursor position.
5184
5185 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5186
5187         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5188         disabled.
5189
5190 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5191
5192         * bufferview.C:
5193         * lyxcb.C:
5194         * lyxfunc.C: Output messages with identical spelling, punctuation,
5195         and spaces
5196
5197 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5198
5199         * MenuBackend.C (expandFormats): List only viewable export formats
5200         in "View" menu
5201
5202         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5203         message
5204
5205         * lyxfunc.C (getStatus): Make sure that formats other than
5206         "fax" can also be disabled
5207
5208 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5209
5210         * text3.C (dispatch): put the lfuns that insert insets in 3
5211         groups, and call doInsertInset with appropriate arguments.
5212         (doInsertInset): new function, that creates an inset and inserts
5213         it according to some boolean parameters.
5214
5215 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5216
5217         * buffer.C (readFile): remember to pass on 'par' when calling
5218         readFile recursively.
5219
5220 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5221
5222         * MenuBackend.C (expandFormats): add "..." to import formats.
5223
5224 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5225
5226         * paragraph.C (asString): Remove XForms RTL hacks.
5227
5228 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5229         * buffer.C: fix typo
5230
5231 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * Makefile.am (LIBS): delete var
5234         (lyx_LDADD): add @LIBS@ here instead.
5235
5236 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5237
5238         * Clarify the meaning of "wheel mouse jump"
5239
5240 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5241
5242         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5243         tabular in a float
5244
5245 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5246
5247         * importer.C (Loaders): do not preallocate 3 elements in the
5248         vector, since one ends up with 6 elements otherwise
5249
5250 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5251
5252         * DepTable.C (write): write the file name as last element of the
5253         .dep file (because it may contain spaces)
5254         (read): read info in the right order
5255
5256 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5257
5258         * paragraph_pimpl.C (simpleTeXBlanks):
5259         (simpleTeXSpecialChars):
5260         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5261
5262         * tabular.C (latex): add some missing case statements. Reindent.
5263
5264         * MenuBackend.C (expandToc): remove unused variable.
5265
5266 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5267
5268         * LColor.C:
5269         * LaTeX.C:
5270         * LyXAction.C:
5271         * MenuBackend.C:
5272         * buffer.C:
5273         * exporter.C:
5274         * lyxfunc.C:
5275         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5276         and the like.
5277
5278 2003-01-05  John Levon  <levon@movementarian.org>
5279
5280         * BufferView.h:
5281         * BufferView.C: add getEncoding()
5282
5283         * kbsequence.h:
5284         * kbsequence.C: do not store last keypress
5285
5286         * lyxfunc.h:
5287         * lyxfunc.C: store last keypress here instead. Pass encoding
5288           to getISOEncoded()
5289
5290 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5291
5292         * lyx_main.C (init): remove annoying error message when following
5293         symbolic links (bug #780)
5294
5295 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5296
5297         * text.C (insertChar):
5298         * lyxrc.C (getDescription): remove extra spaces
5299
5300 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5301
5302         * lyxrc.C (getDescription): remove extra spaces
5303
5304 2002-12-20  John Levon  <levon@movementarian.org>
5305
5306         * text3.C: hack fix for page up/down across tall rows
5307
5308 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5309
5310         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5311         not been invoked
5312
5313 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5314
5315         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5316         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5317         thesaurus is not compiled in
5318
5319 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5320
5321         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5322
5323 2002-12-16  Angus Leeming  <leeming@lyx.org>
5324
5325         * lyxrc.[Ch]:
5326         * lyx_main.C (init): remove override_x_deadkeys stuff.
5327
5328 2002-12-12  John Levon  <levon@movementarian.org>
5329
5330         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5331           insert. Only remove shift modifier under strict
5332           circumstances.
5333
5334 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5335
5336         * MenuBackend.C (expandToc): fix crash.
5337
5338 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5339
5340         * MenuBackend.C (expandToc): gettext on float names.
5341
5342 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5343
5344         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5345         implement bool empty() [bug 490]
5346
5347 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5348
5349         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5350
5351 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5352
5353         * several files: ws changes
5354
5355 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5356
5357         * text2.C (setCounter): clean up a bit, use boost.format.
5358         (updateCounters): initialize par upon declaration.
5359
5360         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5361         if the layout exists. We do not just store the layout any more.
5362         (SwitchLayoutsBetweenClasses): use boost.format
5363
5364 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5365
5366         * converter.C (convert): if from and to files are the same, use a
5367         temporary files as intermediary
5368
5369 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5370
5371         * commandtags.h:
5372         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5373
5374 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5375
5376         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5377
5378 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * tabular.C (asciiPrintCell): use string(size, char) instead of
5381         explicit loop.
5382
5383         * sgml.C (openTag): fix order of arguments to string constructor
5384         (closeTag): ditto
5385
5386         * lyxfunc.C (dispatch): use boost.format
5387
5388         * lots of files: change "c" -> 'c'
5389
5390 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5391
5392         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5393
5394 2002-11-25  Angus Leeming  <leeming@lyx.org>
5395
5396         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5397
5398         * lyx_main.C (init): compile fix.
5399
5400 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5401
5402         * lyx_cb.C (start): boost.formatify
5403         do not include <iostream>
5404
5405         * lengthcommon.C: ws only
5406
5407         * boost-inst.C,BoostFormat.h: add more explict instantations
5408
5409 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5410
5411         * lots of files: handle USE_BOOST_FORMAT
5412
5413 2002-11-21  John Levon  <levon@movementarian.org>
5414
5415         * pspell.C: fix compile
5416
5417 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5418
5419         * lyxfunc.C (dispatch): use boost::format
5420         (open): ditto
5421         (doImport): ditto
5422
5423         * lyxfont.C (stateText): use boost::format
5424
5425         * lyx_main.C (LyX): use boost::format
5426         (init): ditto
5427         (queryUserLyXDir): ditto
5428         (readRcFile): ditto
5429         (parse_dbg): ditto
5430         (typedef boost::function): use the recommened syntax.
5431
5432         * importer.C (Import): use boost::format
5433
5434         * debug.C (showLevel): use boost::format
5435
5436         * converter.C (view): use boost::format
5437         (convert): ditto
5438         (move): ditto
5439         (scanLog): ditto
5440
5441         * bufferview_funcs.C (currentState): use boost::format
5442
5443         * bufferlist.C (emergencyWrite): use boost::format
5444
5445         * buffer.C (readLyXformat2): use boost::format
5446         (parseSingleLyXformat2Token): ditto
5447
5448         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5449
5450         * LaTeX.C (run): use boost::format
5451
5452         * Chktex.C (scanLogFile): use boost::format
5453
5454         * BufferView_pimpl.C (savePosition): use boost::format
5455         (restorePosition): ditto
5456         (MenuInsertLyXFile): ditto
5457
5458         * BoostFormat.h: help file for explicit instation.
5459
5460 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5461
5462         * tabular.C (latex): Support for block alignment in fixed width
5463         columns.
5464
5465 2002-11-17  John Levon  <levon@movementarian.org>
5466
5467         * BufferView_pimpl.C:
5468         * lyx_cb.C:
5469         * lyxfunc.C: split filedialog into open/save
5470
5471 2002-11-08  Juergen Vigna  <jug@sad.it>
5472
5473         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5474         by my last patch (hopefully).
5475
5476 2002-11-08  John Levon  <levon@movementarian.org>
5477
5478         * iterators.h:
5479         * iterators.C:
5480         * buffer.h:
5481         * buffer.C:
5482         * paragraph.h:
5483         * paragraph.C:
5484         * toc.h:
5485         * toc.C: ParConstIterator, and use it (from Lars)
5486
5487 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5488
5489         * lyxtextclass.[Ch]: revise and add doxygen comments
5490
5491 2002-11-07  John Levon  <levon@movementarian.org>
5492
5493         * text.C: fix progress value for spellchecker
5494
5495         * toc.C: fix navigate menu for insetwrap inside minipage
5496
5497         * paragraph_funcs.C: added FIXME for suspect code
5498
5499 2002-11-07  John Levon  <levon@movementarian.org>
5500
5501         * BufferView_pimpl.C: fix redrawing of insets
5502           on buffer switch
5503
5504 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5505
5506         * text2.C (updateCounters): fix bug 668
5507
5508 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5509
5510         * text3.C (dispatch): Do not make the buffer dirty when moving the
5511         cursor.
5512
5513 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5514
5515         * vc-backend.C: STRCONV
5516         (scanMaster): ditto
5517
5518         * text2.C (setCounter): STRCONV
5519
5520         * paragraph.C (asString): STRCONV
5521
5522         * lyxlength.C (asString): STRCONV
5523         (asLatexString): ditto
5524
5525         * lyxgluelength.C (asString): STRCONV
5526         (asLatexString): ditto
5527
5528         * lyxfunc.C (dispatch): STRCONV
5529         (open): ditto
5530
5531         * lyxfont.C (stateText): STRCONV
5532
5533         * importer.C (Import): STRCONV
5534
5535         * counters.C (labelItem): STRCONV
5536         (numberLabel): ditto
5537         (numberLabel): remove unused ostringstream o
5538
5539         * chset.C: STRCONV
5540         (loadFile): ditto
5541
5542         * bufferview_funcs.C (currentState): STRCONV
5543
5544         * buffer.C (readFile): STRCONV
5545         (asciiParagraph): ditto
5546         (makeLaTeXFile): ditto
5547
5548         * Spacing.C (writeEnvirBegin): STRCONV
5549
5550         * LaTeXFeatures.C (getLanguages): STRCONV
5551         (getPackages): ditto
5552         (getMacros): ditto
5553         (getBabelOptions): ditto
5554         (getTClassPreamble): ditto
5555         (getLyXSGMLEntities): ditto
5556         (getIncludedFiles): ditto
5557
5558         * LaTeX.C: STRCONV
5559         (run): ditto
5560         (scanAuxFile): ditto
5561         (deplog): ditto
5562
5563         * LString.h: add the STRCONV macros
5564
5565         * BufferView_pimpl.C (savePosition): STRCONV
5566         (restorePosition): ditto
5567         (MenuInsertLyXFile): ditto
5568
5569         * vc-backend.C (scanMaster): change from submatch[...] to
5570         submatch.str(...)
5571
5572         * funcrequest.C: include config.h
5573
5574         * factory.C: include config.h
5575
5576         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5577
5578         * box.C: include config.h
5579
5580         * LaTeX.C (scanAuxFile): change from submatch[...] to
5581         submatch.str(...)
5582         (deplog): ditto
5583
5584 2002-10-25  Angus Leeming  <leeming@lyx.org>
5585
5586         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5587
5588         * ispell.[Ch] (setError): new method.
5589         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5590         Use setError() insetead of goto END.
5591
5592         * lyx_cb.C (AutoSave): move out child process into new class
5593         AutoSaveBuffer.
5594
5595 2002-10-30  John Levon  <levon@movementarian.org>
5596
5597         * text3.C: make start appendix undoable
5598
5599 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5600
5601         * lyxlength.C (inPixels): Fix returned value.
5602
5603         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5604         environment.
5605
5606 2002-10-24  Angus Leeming  <leeming@lyx.org>
5607
5608         * lyxgluelength.h: no need to forward declare BufferParams
5609         or BufferView, so don't.
5610
5611 2002-10-21  John Levon  <levon@movementarian.org>
5612
5613         * BufferView.C: menuUndo ->undo, redo
5614
5615         * BufferView.h: document, remove dead, make some methods private
5616
5617         * paragraph_funcs.h:
5618         * paragraph_funcs.C:
5619         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5620
5621         * buffer.h:
5622         * buffer.C:
5623         * sgml.h:
5624         * sgml.C: move sgml open/close tag into sgml.C
5625
5626         * bufferview_funcs.h: unused prototype
5627
5628         * lyxfunc.h:
5629         * lyxfunc.C: remove unused
5630
5631         * lyxtext.h:
5632         * text.C: remove unused
5633
5634 2002-10-21  John Levon  <levon@movementarian.org>
5635
5636         * BufferView.h:
5637         * BufferView.C:
5638         * BufferView_pimpl.h:
5639         * BufferView_pimpl.C: fix mouse wheel handling based on
5640           patch from Darren Freeman
5641
5642 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5643
5644         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5645
5646 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5647
5648         * lyxlength.C (inPixels): Fix hanfling of negative length.
5649         Fix LyXLength::MU case.
5650
5651 2002-10-16  John Levon  <levon@movementarian.org>
5652
5653         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5654
5655 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5656
5657         * converter.C (view): add support for $$i (file name) and $$p
5658         (file path) for the viewer command. If $$i is not specified, then
5659         it is appended to the command (for compatibility with old syntax)
5660
5661 2002-10-14  Juergen Vigna  <jug@sad.it>
5662
5663         * undo_funcs.C (textHandleUndo): alter the order in which the
5664         new undopar is added to the LyXText, as we have to set first
5665         the right prev/next and then add it as otherwise the rebuild of
5666         LyXText is not correct. Also reset the cursor to the right paragraph,
5667         with this IMO we could remove the hack in "redoParagraphs()".
5668
5669 2002-10-09  Angus Leeming  <leeming@lyx.org>
5670
5671         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5672         to turn off an optimisation if a new inset is to be inserted.
5673
5674 2002-10-11 André Pönitz <poenitz@gmx.net>
5675
5676         * lyxtext.h: make some functions public to allow access
5677         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5678
5679 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5680
5681         * text3.C (dispatch): when changing layout, avoid an infinite loop
5682         [bug #652]
5683
5684 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5685
5686         * lyxrc.C (read): treat a viewer or converter command of "none" as
5687         if it were empty.
5688
5689         * MenuBackend.C (expandFormats): for an update, also allow the
5690         formats that are not viewable
5691
5692         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5693         script if it is newer than the lyxrc.defaults in user directory
5694
5695 2002-10-07 André Pönitz <poenitz@gmx.net>
5696
5697         * text.C: Vitaly Lipatov's small i18n fix
5698
5699 2002-09-25  Angus Leeming  <leeming@lyx.org>
5700
5701         * ispell.h: doxygen fix.
5702
5703 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5704
5705         * buffer.h (readFile): Add a new argument to the method, to allow
5706         reading of old-format templates.
5707
5708 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5709
5710         * toc.C (getTocList): Get TOC from InsetWrap.
5711
5712 2002-09-16  John Levon  <levon@movementarian.org>
5713
5714         * lyxfunc.C: check tabular for cut/copy too
5715
5716 2002-09-12  John Levon  <levon@movementarian.org>
5717
5718         * LyXAction.C: tidy
5719
5720         * factory.h:
5721         * factory.C: add header
5722
5723         * paragraph_funcs.h:
5724         * paragraph_funcs.C: cleanup
5725
5726 2002-09-11  John Levon  <levon@movementarian.org>
5727
5728         * PrinterParams.h: odd/even default to true
5729
5730 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5731
5732         * PrinterParams.h: update printer parameters for new xforms dialog
5733
5734 2002-09-11  Angus Leeming  <leeming@lyx.org>
5735
5736         * lyxserver.C (read_ready): re-write to make it more transparent
5737         and to make it work in coherent fashion under Tru64 Unix.
5738
5739 2002-09-11  André Pönitz <poenitz@gmx.net>
5740
5741         * commandtags.h:
5742         * LyXAction.C:
5743         * text3.C: implement LFUN_WORDSEL
5744
5745 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5746
5747         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5748         make floatlist_ a boost::shared_ptr<FloatList>
5749
5750         * lyxtextclass.C: include FloatList.h
5751         (LyXTextClass): initialize floatlist_
5752         (TextClassTags): add TC_NOFLOAT
5753         (Read): match "nofloat" to TC_NOFLOAT and use it.
5754         (readFloat): modify call to floatlist_
5755         (floats): ditto
5756         (floats): ditto
5757
5758         * FloatList.[Ch] (FloatList): remove commented out float
5759         initialization.
5760         (erase): new function
5761
5762 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5763
5764         * MenuBackend.C (expandToc): fix crash when there is no document
5765         open
5766
5767 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5768
5769         * many files: Add insetwrap.
5770
5771 2002-09-09  John Levon  <levon@movementarian.org>
5772
5773         * text2.C: remove confusing and awkward depth wraparound
5774
5775 2002-09-09  John Levon  <levon@movementarian.org>
5776
5777         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5778
5779         * buffer.h:
5780         * buffer.C: remove getIncludeonlyList()
5781
5782         * paragraph.C:
5783         * lyxfunc.C: remove headers
5784
5785 2002-09-09  Juergen Vigna  <jug@sad.it>
5786
5787         * text.C (getColumnNearX): fix form Michael this is most
5788         probably a cut&paste bug.
5789
5790 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5791
5792         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5793
5794         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5795         references, ws changes.
5796
5797         * text2.C (init): update counters after init
5798         (insertParagraph): no need to set counter on idividual paragraphs.
5799         (setCounter): access the counters object in the textclass object
5800         on in the buffer object.
5801         (updateCounters): ditto
5802
5803         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5804         shared_ptr<Counters> to avoid loading counters.h in all
5805         compilation units.
5806         (LyXTextClass): initialize ctrs_
5807         (TextClassTags): add TC_COUNTER, and ...
5808         (Read): use it here.
5809         (CounterTags): new tags
5810         (readCounter): new function
5811         (counters): new funtion
5812         (defaultLayoutName): return a const reference
5813
5814         * counters.C (Counters): remove contructor
5815         (newCounter): remove a couple of unneeded statements.
5816         (newCounter): simplify a bit.
5817         (numberLabel): some small formatting changes.
5818
5819         * buffer.[Ch]: remove all traces of counters, move the Counters
5820         object to the LyXTextClass.
5821
5822 2002-09-06  Alain Castera  <castera@in2p3.fr>
5823
5824         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5825         package to set the horizontal alignment on fixed width columns.
5826
5827         * lyx_sty.C:
5828         * lyx_sty.h: added tabularnewline macro def.
5829
5830         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5831
5832 2002-09-06  John Levon  <levon@movementarian.org>
5833
5834         * LyXAction.C: tooltips for sub/superscript
5835
5836         * MenuBackend.C: a bit more verbose
5837
5838         * lyxfunc.C: tiny clean
5839
5840         * undo_funcs.C: document undo_frozen
5841
5842 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5843
5844         * counters.C (Counters): add missing algorithm counter.
5845
5846         * text2.C (setCounter): lookup the counter with layouts latexname
5847         instead of by section number.
5848         (setCounter): use a hackish way to lookup the correct enum
5849         counter.
5850         a float name->type change
5851         reset enum couners with counter name directly instead of depth value.
5852
5853         * counters.C (Counters): remove the push_backs, change to use the
5854         float type not the float name.
5855         (labelItem): remove unused string, float name->type change
5856
5857         * counters.h: don't include vector, loose the enums and sects vectors
5858
5859 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5860
5861         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5862         (Read): add float->TC_FLOAT to textclassTags
5863         (Read): and handle it in the switch
5864         (readFloat): new function
5865
5866         * FloatList.C (FloatList): comment out the hardcoded float
5867         definitions.
5868
5869         * lyxlayout.h: ws change.
5870
5871 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5872
5873         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5874
5875 2002-09-03  Angus Leeming  <leeming@lyx.org>
5876
5877         * BufferView_pimpl.h: qualified name is not allowed in member
5878         declaration: WorkArea & Pimpl::workarea() const;
5879
5880         * factory.C: added using std::endl directive.
5881
5882         * text3.C: added using std::find and std::vector directives.
5883
5884 2002-08-29  André Pönitz <poenitz@gmx.net>
5885
5886         * lyxtext.h:
5887         * text2.C: remove unused member number_of_rows
5888
5889         * Makefile.am:
5890         * BufferView2.C: remove file, move contents to...
5891         * BufferView.C: ... here
5892
5893         * BufferView_pimpl.C:
5894         * factory.C: move more inset creation to factory
5895
5896         * vspace.C: avoid direct usage of LyXText, ws changes
5897
5898         * BufferView.[Ch]:
5899                 don't provide direct access to WorkArea, use two simple
5900                 acessors haveSelction() and workHeight() instead
5901
5902
5903 2002-08-29  John Levon  <levon@movementarian.org>
5904
5905         * BufferView_pimpl.C (dispatch): do not continue when
5906           no buffer
5907
5908 2002-08-28  André Pönitz <poenitz@gmx.net>
5909
5910         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5911
5912         * BufferView.h:
5913         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5914
5915 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5916
5917         * buffer.C: increment LYX_FORMAT to 221
5918
5919         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5920         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5921
5922         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5923
5924         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5925
5926 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5927
5928         * factory.C (createInset): use LyXTextClass::floats
5929
5930         * MenuBackend.C (expandFloatListInsert):
5931         (expandFloatInsert):
5932         (expandToc):
5933
5934         * text2.C (setCounter):
5935
5936         * LaTeXFeatures.C (useFloat):
5937         (getFloatDefinitions):
5938
5939         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5940
5941         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5942         floatlist_, with accessor floats().
5943
5944         * FloatList.h: remove global FloatList
5945
5946 2002-08-26  André Pönitz <poenitz@gmx.net>
5947
5948         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5949
5950         * BufferView.h:
5951         * BufferView2.C:
5952         * BufferView_pimpl.C:
5953         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5954
5955 2002-08-25  John Levon  <levon@movementarian.org>
5956
5957         * LyXAction.C: fix margin note description
5958
5959 2002-08-24  John Levon  <levon@movementarian.org>
5960
5961         * buffer.C:
5962         * bufferlist.C:
5963         * bufferview_funcs.C:
5964         * lyxfont.C:
5965         * undo_funcs.C: cleanups
5966
5967         * lyxfunc.C: disable CUT/COPY when no selection
5968
5969 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5970
5971         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5972         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5973
5974         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5975         Add backward compatibility to "mono", "gray" and "no".
5976
5977 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5978
5979         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5980         (and file_format >= 200).
5981
5982 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5983
5984         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5985
5986 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5987
5988         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5989
5990 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5991
5992         * BufferView_pimpl.C:
5993         * LyXAction.C:
5994         * buffer.C:
5995         * commandtags.h:
5996         * lyxfunc.C:
5997         * paragraph.[Ch]:
5998         * text2.C:
5999         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6000         inset and code to make it  work with the paragraph code. The inset
6001         can be anywhere in the paragraph, but will only do the expected
6002         thing in LaTeX if the layout file contains the parameter line
6003                         OptionalArgs    1
6004         (or more generally, a nonzero value) for that layout.
6005
6006 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6007
6008         * paragraph.h: remove the declaration of undefined counters class
6009         function.
6010
6011 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6012
6013         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6014         Dr. Richard Hawkins.
6015
6016 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6017
6018         * paragraph_funcs.h: remove some unneeded includes
6019
6020         * text.C (backspace): pasteParagraph now in global scipe
6021
6022         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6023         (pasteSelection): ditto
6024
6025         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6026         * paragraph_funcs.C (pasteParagraph): ... here
6027
6028 2002-08-20  André Pönitz <poenitz@gmx.net>
6029
6030         * commandtags.h: new LFUNs for swapping/copying table row/colums
6031
6032         * LyXAction.C:
6033         * lyxfunc.C: support for new lfuns
6034
6035 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6036
6037         * tabular.C:
6038         * buffer.[Ch]: remove NO_COMPABILITY stuff
6039
6040 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6041
6042         * boost.C (throw_exception): new file, with helper function for
6043         boost compiled without exceptions.
6044
6045         * paragraph.h:
6046         * lyxlength.C:
6047         * buffer.C:
6048         * ParameterStruct.h:
6049         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6050
6051         * bufferlist.C (emergencyWriteAll): use boost bind
6052
6053         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6054
6055         * text.C: include paragraph_funcs.h
6056         (breakParagraph): breakParagraph is now in global scope
6057
6058         * paragraph_funcs.[Ch]: new files
6059
6060         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6061         global scope
6062
6063         * buffer.C: include paragraph_funcs.h
6064         (insertStringAsLines): breakParagraph is now in global scope
6065
6066         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6067         paragraph_funcs.C
6068
6069         * CutAndPaste.C: include paragraph_funcs.h
6070         (cutSelection): breakParagraphConservative is now in global scope
6071         (pasteSelection): ditto
6072
6073         * buffer.h: declare oprator== and operator!= for
6074         Buffer::inset_iterator
6075
6076         * bufferlist.C (emergencyWrite): don't use fmt(...)
6077
6078         * text3.C: add using std::endl
6079
6080         * BufferView.C (moveCursorUpdate): remove default arg
6081
6082 2002-08-20  André Pönitz <poenitz@gmx.net>
6083
6084         * buffer.[Ch]: move inline functions to .C
6085
6086         * BufferView2.C:
6087         * BufferView_pimpl.C:
6088         * text.C:
6089         * buffer.[Ch]: use improved inset_iterator
6090
6091         * buffer.C:
6092         * paragraph.[Ch]: write one paragraph at a time
6093
6094 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6095
6096         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6097         style if style is not specified.
6098
6099 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6100
6101         * text2.C (setCounter): when searching for right label for a
6102         caption, make sure to recurse to parent insets (so that a caption
6103         in a minipage in a figure float works) (bug #568)
6104
6105 2002-08-20  André Pönitz <poenitz@gmx.net>
6106
6107         * text3.C: new file for LyXText::dispatch() and helpers
6108
6109         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6110
6111         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6112
6113 2002-08-19  André Pönitz <poenitz@gmx.net>
6114
6115         * lyxtext.h:
6116         * text.C: new LyXText::dispatch()
6117
6118         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6119
6120 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6121
6122         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6123
6124         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6125         Hebrew text.
6126
6127 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6128
6129         * Makefile.am: use $(variables) instead of @substitutions@
6130
6131 2002-08-15  André Pönitz <poenitz@gmx.net>
6132
6133         * lyxfunc.C:
6134         * BufferView_pimpl.C: streamlining mathed <-> outer world
6135         interaction
6136
6137         * commandtags.h:
6138         * LyXAction.C: remove unused LFUN_MATH
6139
6140 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6141
6142         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6143
6144 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * paragraph.C (Paragraph): reformat a bit
6147         (cutIntoMinibuffer): use builtin InsetList function instad of
6148         doing it manually.
6149         (getInset): ditto
6150
6151         * buffer.C: include boost/bind.hpp, add using std::for_each
6152         (writeFileAscii): use ParagraphList iterators
6153         (validate): use for_each for validate traversal of paragraphs
6154         (getBibkeyList): use ParagraphList iterators
6155         (resizeInsets): use for_each to resizeInsetsLyXText for all
6156         paragraphs.
6157         (getParFromID): use ParagraphList iterators
6158
6159         * BufferView2.C (lockInset): use paragraph list and iterators
6160
6161 2002-08-14  John Levon  <levon@movementarian.org>
6162
6163         * lyxserver.C: remove spurious xforms include
6164
6165 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6166
6167         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6168
6169 2002-08-13  André Pönitz <poenitz@gmx.net>
6170
6171         * LyXAction.[Ch]:
6172         * lyxfunc.C: further cleaning
6173
6174 2002-08-13  André Pönitz <poenitz@gmx.net>
6175
6176         * funcrequest.h: new constructor
6177
6178         * funcrequest.C: move stuff here from .h
6179
6180         * Makefile.am:
6181         * BufferView_pimpl.C:
6182         * LyXAction.C:
6183         * toc.C:
6184         * lyxfunc.C: subsequent changes
6185
6186         * lyxfunc.h: new view() member function
6187
6188         * lyxfunc.C: subsequent changes
6189
6190 2002-08-13  Angus Leeming  <leeming@lyx.org>
6191
6192         * BufferView2.C:
6193         * BufferView_pimpl.C:
6194         * buffer.C:
6195         * converter.C:
6196         * importer.C:
6197         * lyxfunc.C:
6198         * lyxvc.C:
6199         * toc.C:
6200         * vc-backend.C:
6201         changes due to the changed LyXView interface that now returns references
6202         to member variables not pointers.
6203
6204 2002-08-13  Angus Leeming  <leeming@lyx.org>
6205
6206         * WordLangTuple (word, lang_code): return references to strings,
6207         not strings.
6208
6209         * BufferView.h:
6210         * SpellBase.h:
6211         * lyxtext.h: forward-declare WordLangTuple.
6212
6213         * BufferView2.C:
6214         * ispell.C:
6215         * pspell.C:
6216         * text.C: #include "WordLangTuple.h".
6217
6218         * lyxtext.h:
6219         * text.C: (selectNextWordToSpellcheck): constify return type.
6220
6221 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6222
6223         * buffer.C:
6224         * buffer.h:
6225         * lyxtext.h:
6226         * paragraph.C:
6227         * paragraph_pimpl.h:
6228         * text.C:
6229         * text2.C:
6230         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6231         suggested by Angus.
6232         Made updateCounter always count from start of buffer, and removed
6233         second argument (par).
6234         Reverted floats number display to '#'. Perhaps I'll try again when the
6235         code base is sanitized a bit.
6236
6237 2002-08-12  Angus Leeming  <leeming@lyx.org>
6238
6239         * buffer.[Ch] (getLabelList): constify.
6240
6241 2002-08-07  André Pönitz <poenitz@gmx.net>
6242
6243         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6244
6245         * funcrequest.h: extension to keep mouse (x,y) position
6246
6247 2002-08-12  Juergen Vigna  <jug@sad.it>
6248
6249         * BufferView2.C (insertErrors): forbid undo when inserting error
6250         insets.
6251
6252         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6253
6254 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6255
6256         * ParagraphList.[Ch]: new files
6257
6258         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6259
6260         * BufferView2.C (lockInset): ParagraphList changes
6261         * toc.C: ditto
6262         * text2.C: ditto
6263         * bufferlist.C: ditto
6264         * buffer.h: ditto
6265         * buffer.C: ditto
6266
6267 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6268
6269         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6270         unused class variable counter_,
6271
6272         * paragraph.[Ch] (getFirstCounter): delete unused function
6273
6274         * counters.C: include LAssert.h
6275         (reset): add a new function with no arg, change other version to
6276         not have def. arg and to not allow empty arg.
6277
6278         * text2.C (setCounter): remove empty arg from call to Counters::reset
6279
6280 2002-08-11  John Levon  <levon@movementarian.org>
6281
6282         * Makefile.am: add WordLangTuple.h
6283
6284 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6285
6286         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6287         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6288
6289         * insets/insettext.C: InsetList changes
6290
6291         * graphics/GraphicsSupport.C (operator()): InsetList changes
6292
6293         * toc.C (getTocList): InsetList changes
6294
6295         * paragraph_pimpl.[Ch]: InsetList changes
6296
6297         * paragraph.[Ch]: InsetList changes
6298
6299         * buffer.C (inset_iterator): InsetList changes
6300         (setParagraph): ditto
6301         * buffer.h (inset_iterator): ditto
6302         * iterators.C (operator++): ditto
6303         * iterators.h: ditto
6304
6305         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6306
6307         * InsetList.[Ch]: new files, most InsetList handling moved out of
6308         paragraph.C.
6309
6310         * BufferView2.C (removeAutoInsets): InsetList changes
6311         (lockInset): ditto
6312         (ChangeInsets): ditto
6313
6314 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6315
6316         * paragraph_pimpl.h (empty): new function
6317
6318         * paragraph.[Ch] (empty): new function
6319
6320         * other files: use the new Paragraph::empty function
6321
6322 2002-08-09  John Levon  <levon@movementarian.org>
6323
6324         * lyxtext.h: remove unused refresh_height
6325
6326 2002-08-09  John Levon  <levon@movementarian.org>
6327
6328         * Makefile.am:
6329         * sgml.h:
6330         * sgml.C:
6331         * buffer.C:
6332         * paragraph.h:
6333         * paragraph.C: move sgml char escaping out of paragraph
6334
6335         * paragraph.h:
6336         * paragraph.C: remove id setter
6337
6338         * buffer.C:
6339         * paragraph.C:
6340         * paragraph_pimpl.C: remove dead tex_code_break_column
6341
6342         * bufferview_funcs.C: small cleanup
6343
6344         * lyxfunc.C: remove dead proto
6345
6346         * lyxtext.h: make some stuff private. Remove some dead stuff.
6347
6348         * lyxgluelength.C: make as[LyX]String() readable
6349
6350 2002-08-08  John Levon  <levon@movementarian.org>
6351
6352         * LyXAction.h:
6353         * LyXAction.C:
6354         * MenuBackend.C:
6355         * ToolbarDefaults.C:
6356         * lyxfunc.C:
6357         * lyxrc.C:
6358         * toc.C: lyxaction cleanup
6359
6360 2002-08-08  John Levon  <levon@movementarian.org>
6361
6362         * BufferView2.C: small cleanup
6363
6364         * lyxfind.h:
6365         * lyxfind.C: move unnecessary header into the .C
6366
6367 2002-08-08  John Levon  <levon@movementarian.org>
6368
6369         * funcrequest.h: just tedious nonsense
6370
6371         * lyx_main.h:
6372         * lyx_main.C: cleanups
6373
6374         * buffer.C:
6375         * vspace.C: remove dead header lyx_main.h
6376
6377 2002-08-07  Angus Leeming  <leeming@lyx.org>
6378
6379         * Paragraph.[Ch]:
6380         * paragraph_pimpl.h:
6381         Forward declare class Counters in paragraph.h by moving the ctrs member
6382         variable into Paragraph::Pimpl.
6383         (counters): new method, returning a reference to pimpl_->ctrs.
6384
6385         * text2.C: ensuing changes.
6386
6387 2002-08-07  John Levon  <levon@movementarian.org>
6388
6389         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6390
6391         * BufferView_pimpl.C: announce X selection on double/triple
6392           click
6393
6394         * lyx_main.C: use correct bool in batch dispatch
6395
6396         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6397
6398 2002-08-07  André Pönitz <poenitz@gmx.net>
6399
6400         * funcrequest.h: new class to wrap a kb_action and its argument
6401
6402         * BufferView.[Ch]:
6403         * BufferView_pimpl[Ch]:
6404         * LaTeX.C:
6405         * LyXAction.[Ch]:
6406         * lyxfunc.[Ch]:
6407         * lyxrc.C: subsequent changes
6408
6409
6410 2002-08-07  John Levon  <levon@movementarian.org>
6411
6412         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6413           document options change.
6414
6415 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6416
6417         * counters.[Ch]
6418         * text2.C
6419         * paragraph.[Ch]
6420         * makefile.am: move counters functionality over from
6421         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6422
6423 2002-08-06  John Levon  <levon@movementarian.org>
6424
6425         * WordLangTuple.h: new file for word + language code tuple
6426
6427         * SpellBase.h:
6428         * pspell.h:
6429         * pspell.C:
6430         * ispell.h:
6431         * ispell.C:
6432         * lyxtext.h:
6433         * text.C:
6434         * text2.C:
6435         * BufferView.h:
6436         * BufferView2.C: use WordLangTuple
6437
6438         * layout.h:
6439         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6440
6441 2002-08-06  John Levon  <levon@movementarian.org>
6442
6443         * lyx_main.C: fix cmdline batch handling
6444
6445 2002-08-06  André Pönitz <poenitz@gmx.net>
6446
6447         * lyxrc.C: set default for show_banner to true
6448
6449 2002-08-06  John Levon  <levon@movementarian.org>
6450
6451         * pspell.C: fix a crash, and allow new aspell to work
6452
6453 2002-08-06  John Levon  <levon@movementarian.org>
6454
6455         * lyxfunc.C:
6456         * kbmap.C: small cleanup
6457
6458         * vspace.h:
6459         * vspace.C: add const
6460
6461 2002-08-05  John Levon  <levon@movementarian.org>
6462
6463         * LyXAction.C: back to tabular-insert
6464
6465 2002-08-04  John Levon  <levon@movementarian.org>
6466
6467         * BufferView.h:
6468         * BufferView.C: cosmetic change
6469
6470         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6471
6472         * bufferlist.C:
6473         * buffer.h:
6474         * buffer.C:
6475         * lyxcb.h:
6476         * lyxcb.C:
6477         * lyxserver.C:
6478         * lyxvc.C:
6479         * vc-backend.C:
6480         * BufferView2.C: purge all "Lyx" not "LyX" strings
6481
6482         * lyxcursor.h:
6483         * lyxcursor.C: attempt to add some documentation
6484
6485         * lyxfunc.C:
6486         * commandtags.h:
6487         * LyXAction.C:
6488         * ToolbarDefaults.C:
6489         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6490           merge with LFUN_TABULAR_INSERT
6491
6492         * Makefile.am:
6493         * SpellBase.h:
6494         * ispell.h:
6495         * ispell.C:
6496         * pspell.h:
6497         * pspell.C: split up i/pspell implementations into separate
6498           files, many cleanups
6499
6500         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6501
6502         * text2.C: some cleanup
6503
6504         * lyxfunc.C: don't check for isp_command == "none" any more, it
6505           didn't make any sense
6506
6507 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6508
6509         * counters.[Ch]
6510         * text2.C
6511         * paragraph.[Ch]
6512         * makefile.am: move counters functionality over
6513         from text2.C/paragraph.[Ch] to counters.[Ch], and
6514         make proper C++.
6515 2002-08-02  John Levon  <levon@movementarian.org>
6516
6517         * buffer.C: s/lyxconvert/lyx2lyx/
6518
6519 2002-08-02  Angus Leeming  <leeming@lyx.org>
6520
6521         * lyxlex.C: revert John's change as it breaks reading of the user
6522         preamble.
6523
6524 2002-08-02  Angus Leeming  <leeming@lyx.org>
6525
6526         * importer.C (Import):
6527         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6528         changes due to LyXView::view() now returning a boost::shared_ptr.
6529
6530 2002-08-02  John Levon  <levon@movementarian.org>
6531
6532         * lyxlex.C: small cleanup
6533
6534 2002-08-02  John Levon  <levon@movementarian.org>
6535
6536         * text2.C (status): small cleanup, no logic change
6537
6538 2002-08-01  John Levon  <levon@movementarian.org>
6539
6540         * buffer.h:
6541         * buffer.C (writeFile): don't output alerts, caller
6542           handles this
6543
6544         * bufferlist.C:
6545         * lyx_cb.C: from above
6546
6547         * lyxfunc.C: allow to open non-existent files
6548
6549 2002-07-31  John Levon  <levon@movementarian.org>
6550
6551         * lyxserver.C: don't let incidental errors get
6552           in the way (errno)
6553
6554 2002-07-30  John Levon  <levon@movementarian.org>
6555
6556         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6557
6558 2002-07-30  John Levon  <levon@movementarian.org>
6559
6560         * lyxserver.h:
6561         * lyxserver.C: remove I/O callback too
6562
6563 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6564
6565         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6566         log.
6567
6568 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6569
6570         * many files: strip,frontStrip -> trim,ltrim,rtrim
6571
6572 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6573
6574         * PrinterParams.h: remove extern containsOnly, and include
6575         support/lstrings.h instead.
6576
6577         * LaTeX.C (scanAuxFile): modify because of strip changes
6578         (deplog): ditto
6579         * buffer.C (makeLaTeXFile): ditto
6580         * bufferparams.C (writeFile): ditt
6581         * lyxfont.C (stateText): ditto
6582         * lyxserver.C (read_ready): ditto
6583         * vc-backend.C (scanMaster): ditto
6584
6585         * BufferView_pimpl.h: ws changes
6586
6587         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6588
6589 2002-07-26  André Pönitz <poenitz@gmx.net>
6590
6591         * kb_sequence.C: remove unnedred usings
6592
6593 2002-07-26  Juergen Vigna  <jug@sad.it>
6594
6595         * lyxfind.C (LyXReplace): we have to check better if the returned
6596         text is not of theLockingInset()->getLockingInset().
6597
6598 2002-07-25  Juergen Vigna  <jug@sad.it>
6599
6600         * lyxfind.C (LyXReplace): don't replace if we don't get the
6601         right LyXText.
6602
6603         * undo_funcs.C (createUndo): remove debugging code.
6604
6605 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6606
6607         * buffer.C (parseSingleLyXformat2Token): Use default placement
6608         when reading old floats.
6609
6610         * FloatList.C (FloatList): Change the default placement of figure
6611         and tables to "tbp".
6612
6613 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6614
6615         * MenuBackend.C: using std::max
6616
6617 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6618
6619         * MenuBackend.C (expandToc):
6620         (expandToc2): code moved from xforms menu frontend. It is now
6621         generic and TOCs are transparent to menu frontends.
6622
6623 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6624
6625         * toc.C (getTocList): protect against buf=0
6626
6627         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6628         Menu as first parameter. Now, this calls itself recursively to
6629         expand a whole tree (this will be useful for TOC handling)
6630         (expandFloatInsert): remove 'wide' version of floats
6631
6632         * MenuBackend.h (submenuname): returns the name of the submenu.
6633         (submenu): returns the submenu itself, provided it has been
6634         created by MenuBackend::expand
6635
6636 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6637
6638         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6639         insets which have noFontChange == true. (bug #172)
6640
6641 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6642
6643         * BufferView_pimpl.C: add connection objects and use them...
6644         (Pimpl): here.
6645
6646 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6647
6648         * MenuBackend.C (expandLastfiles):
6649         (expandDocuments):
6650         (expandFormats):
6651         (expandFloatListInsert):
6652         (expandFloatInsert):
6653         (expand): split expand in parts
6654
6655 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6656
6657         * lyx_gui.C: use lyx_gui::exit()
6658
6659 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6660
6661         * LyXAction.C: show the failing pseudo action
6662
6663 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6664
6665         * buffer.C (readFile): Run the lyxconvert script in order to read
6666         old files.
6667
6668 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6669
6670         * LyXAction.C:
6671         * commandtags.h:
6672         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6673
6674 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6675
6676         * LyXAction.C:
6677         * commandtags.h:
6678         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6679
6680 2002-07-22  Herbert Voss  <voss@lyx.org>
6681
6682         * lengthcommon.C:
6683         * lyxlength.[Ch]: add support for the vertical lengths
6684
6685 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6686
6687         * toc.[Ch]: std:: fixes
6688
6689 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6690
6691         * lyxrc.C: do not include lyx_main.h
6692
6693         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6694         for layouts
6695
6696         * lyxrc.C:
6697         * encoding.C:
6698         * bufferlist.C:
6699         * BufferView2.C: include "lyxlex.h"
6700
6701         * tabular.h:
6702         * bufferparams.h: do not #include "lyxlex.h"
6703
6704         * lyxtextclasslist.C (Add): remove method
6705         (classlist): renamed to classlist_
6706
6707         * paragraph_pimpl.C:
6708         * paragraph.C:
6709         * text2.C:
6710         * CutAndPaste.C:
6711         * bufferview_funcs.C:
6712         * bufferlist.C:
6713         * text.C:
6714         * LaTeXFeatures.C:
6715         * buffer.C:
6716         * toc.C (getTocList): use BufferParams::getLyXTextClass
6717
6718         * toc.C (getTocList): use InsetFloat::addToToc
6719
6720         * toc.[Ch]: new files, containing helper functions to handle table
6721         of contents
6722
6723         * lyxfunc.C (dispatch): no need to remove spaces around command
6724         given as a string
6725         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6726         first command of the sequence; it is not very clever, but I do not
6727         have a better idea, actually
6728
6729         * LyXAction.C (LookupFunc): make sure to remove space at the
6730         beginning and end of the command
6731
6732 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6733
6734         * MenuBackend.C (getMenubar): new method: return the menubar of
6735         this menu set
6736         (read): treat differently reading of menu and menubar (in
6737         particular, the menubar has no name now)
6738         (Menu::menubar): remove
6739
6740         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6741         saving is finished
6742
6743 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6744
6745         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6746         a bibitem inset in a RTL paragraph.
6747
6748 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6749
6750         * paragraph_pimpl.C: constify
6751
6752         * BufferView_pimpl.C:
6753         * LaTeX.C:
6754         * lyxfunc.C: fix dispatch in a nicer way
6755
6756 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6757
6758         * lyxfunc.C (dispatch):
6759         * BufferView_pimpl.C:
6760         * BufferView_pimpl.h:
6761         * BufferView.C:
6762         * BufferView.h: rename Dispatch() to dispatch()
6763
6764         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6765
6766         * lyxlayout.C (Read): honor DependsOn tag
6767
6768         * lyxlayout.[Ch] (depends_on): new method
6769
6770         * version.C.in: update lyx_docversion
6771
6772         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6773
6774         * paragraph.C (validate): remove from here...
6775         * paragraph_pimpl.C (validate): ... and move here
6776         (isTextAt): make it const
6777
6778         * buffer.C (getLists): ws cleanup
6779
6780 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6781
6782         * language.C (read): Use iso8859-1 encoding in latex_lang
6783         (this prevents LyX from crashing when using iso10646-1 encoding).
6784
6785 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6786
6787         * text2.C (toggleInset): if cursor is inside an inset, close the
6788         inset and leave cursor _after_ it
6789
6790 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6791
6792         * lyxfunc.C: move minibuffer completion handling out of here
6793
6794 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6795
6796         * BufferView_pimpl.C:
6797         * LaTeX.C: fix dispatch calls
6798
6799 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6800
6801         * text.C (drawChars): Fix Arabic text rendering.
6802
6803 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6804
6805         * LyXAction.C:
6806         * commandtags.h:
6807         * lyxfunc.C: remove message-push/pop
6808
6809         * lyxserver.C:
6810         * lyxfunc.h:
6811         * lyxfunc.C: rationalise some code by removing verboseDispatch
6812           in favour of a bool argument to dispatch()
6813
6814 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6815
6816         * lyx_main.C (init): make sure to read symlinks as absolute paths
6817
6818 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6819
6820         * lyxfunc.h:
6821         * lyxfunc.C: no need for commandshortcut to be a member
6822
6823 2002-07-15  André Pönitz <poenitz@gmx.net>
6824
6825         * converter.C: add support for $$s (scripts from lib/scripts dir)
6826         * lyx_main.C: white space
6827
6828 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6829
6830         * bufferlist.C:
6831         * lyxrc.h:
6832         * lyxrc.C: remove second exit confirmation
6833
6834 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6835
6836         * BufferView.h:
6837         * BufferView.C:
6838         * BufferView2.C:
6839         * BufferView_pimpl.h:
6840         * BufferView_pimpl.C:
6841         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6842
6843 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6844
6845         * MenuBackend.C (expand): add numeric shortcuts to document menu
6846
6847         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6848
6849 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6850
6851         * lyxfont.C (setLyXFamily):
6852         (setLyXSeries):
6853         (setLyXShape):
6854         (setLyXSize):
6855         (setLyXMisc):
6856         (lyxRead):
6857         * debug.C (value):
6858         * buffer.C (asciiParagraph): use ascii_lowercase
6859
6860 2002-07-15  Mike Fabian  <mfabian@suse.de>
6861
6862         * lyxlex_pimpl.C (search_kw):
6863         * lyxlex.C (getLongString):
6864         * converter.h (operator<):
6865         * converter.C (operator<):
6866         * buffer.C (parseSingleLyXformat2Token):
6867         (asciiParagraph):
6868         * ToolbarDefaults.C (read):
6869         * MenuBackend.C (checkShortcuts):
6870         (read):
6871         * LColor.C (getFromGUIName):
6872         (getFromLyXName): use the compare_ascii_no_case instead of
6873         compare_no_case, because in turkish, 'i' is not the lowercase
6874         version of 'I', and thus turkish locale breaks parsing of tags.
6875
6876 2002-07-16  Angus Leeming  <leeming@lyx.org>
6877
6878         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6879         now takes a Buffer const & argument.
6880
6881 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6882
6883         * BufferView.C (resize): check there's a buffer to resize
6884
6885 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6886
6887         * lyxfunc.C: remove dead code
6888
6889         * lyxserver.h:
6890         * lyxserver.C: use lyx_guii::set_read_callback
6891
6892 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6893
6894         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6895         an inset in a RTL paragraph.
6896
6897 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6898
6899         * lyxfunc.C: repaint after a font size update
6900
6901 2002-07-15  André Pönitz <poenitz@gmx.net>
6902
6903         * lyxlength.C: inBP should be able to return negative values
6904
6905 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6906
6907         * lyxfunc.C: use lyx_gui::update_fonts()
6908
6909 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6910
6911         * lyxfunc.C: use lyx_gui::update_color()
6912
6913 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6914
6915         * bufferlist.C:
6916         * lyxfunc.h:
6917         * lyxfunc.C:
6918         * lyxrc.h:
6919         * lyxrc.C: remove file->new asks for name option, and let
6920           buffer-new take an argument
6921
6922 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6923
6924         * BufferView_pimpl.C: remove unneeded extra repaint()
6925
6926 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6927
6928         * LyXAction.C: allow command-sequence with NoBuffer
6929
6930         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6931
6932 2002-07-10  Angus Leeming  <leeming@lyx.org>
6933
6934         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6935
6936 2002-07-09  Angus Leeming  <leeming@lyx.org>
6937
6938         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6939
6940 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6941
6942         * lengthcommon.h: whitespace
6943
6944         * lyxfunc.C: update scrollbar after goto paragraph
6945
6946         * lyxtext.h: factor out page break drawing, and fix it so
6947           page break/added space paints as selected nicely
6948
6949 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6950
6951         * BufferView_pimpl.C: add FIXMEs, clean up a little
6952
6953 2002-07-09  André Pönitz <poenitz@gmx.net>
6954
6955         * lyxfont.[Ch]: support for wasy symbols
6956
6957 2002-07-08  André Pönitz <poenitz@gmx.net>
6958
6959         * BufferView_pimpl.C: apply John's patch for #93.
6960
6961 2002-07-05  Angus Leeming  <leeming@lyx.org>
6962
6963         * BufferView_pimpl.C (buffer): generate previews if desired.
6964
6965         * LColor.h: add "preview" to the color enum.
6966
6967         * LColor.C (LColor): add a corresponding entry to the items array.
6968
6969         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6970         with this buffer.
6971
6972 2002-07-05  Angus Leeming  <leeming@lyx.org>
6973
6974         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6975         The body of the code is now in the method that is passed an ostream &
6976         rather than a file name.
6977         Pass an additional only_preamble parameter, useful for the forthcoming
6978         preview stuff.
6979
6980 2002-07-03  André Pönitz <poenitz@gmx.net>
6981
6982         * lyxfunc.C: simplify getStatus() a bit for math stuff
6983
6984 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6985
6986         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6987
6988 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6989
6990         * text.C (changeRegionCase): do not change case of all the
6991         document when region ends at paragraph end (bug #461)
6992
6993 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6994
6995         * paragraph.C (startTeXParParams):
6996         (endTeXParParams): add \protect when necessary
6997
6998 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6999
7000         * BufferView_pimpl.C (workAreaExpose): remove warning
7001
7002 2002-06-27  Angus Leeming  <leeming@lyx.org>
7003
7004         * Makefile.am: add lyxlayout_ptr_fwd.h.
7005
7006 2002-06-26  André Pönitz <poenitz@gmx.net>
7007
7008         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7009
7010 2002-06-25  Angus Leeming  <leeming@lyx.org>
7011
7012         * lyxfunc.C (dispatch): Comment out the call to
7013         grfx::GCache::changeDisplay. The method no longer exists now that the
7014         pixmap generation part of the graphics loader has been moved into
7015         InsetGraphics.
7016
7017 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7018
7019         * text2.C: layout as layout
7020
7021         * text.C: layout as layout
7022
7023         * tabular.C (OldFormatRead): layout as layout
7024
7025         * paragraph_pimpl.C (TeXDeeper): layout as layout
7026         (realizeFont): layout as layout
7027
7028         * paragraph.C (writeFile): layout as layout
7029         (validate): layout as layout
7030         (getFont): layout as layout
7031         (getLabelFont): layout as layout
7032         (getLayoutFont): layout as layout
7033         (breakParagraph): layout as layout
7034         (stripLeadingSpaces): layout as layout
7035         (getEndLabel): layout as layout
7036         (getMaxDepthAfter): layout as layout
7037         (applyLayout): layout as layout
7038         (TeXOnePar): layout as layout
7039         (simpleTeXOnePar): layout as layout
7040         (TeXEnvironment): layout as layout
7041         (layout): layout as layout
7042         (layout): layout as layout
7043
7044         * lyxtextclass.C (compare_name): new functor to work with
7045         shared_ptr, layout as layout
7046         (Read): layout as layout
7047         (hasLayout): layout as layout
7048         (operator): layout as layout
7049         (delete_layout): layout as layout
7050         (defaultLayout): layout as layout
7051
7052         * lyxlayout_ptr_fwd.h: new file
7053
7054         * lyxlayout.C (Read): layout as layout
7055
7056         * lyx_cb.C (MenuInsertLabel): layout as layout
7057
7058         * bufferlist.C (newFile): layout as layout
7059
7060         * buffer.C (readLyXformat2): layout as layout
7061         (parseSingleLyXformat2Token): layout as layout
7062         (insertStringAsLines): layout as layout
7063         (asciiParagraph): layout as layout
7064         (latexParagraphs): layout as layout
7065         (makeLinuxDocFile): layout as layout
7066         (simpleLinuxDocOnePar): layout as layout
7067         (makeDocBookFile): layout as layout
7068         (simpleDocBookOnePar): layout as layout
7069         (getLists): layout as layout
7070
7071         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7072
7073         * CutAndPaste.C (cutSelection): layout as layout
7074         (pasteSelection): layout as layout
7075         (SwitchLayoutsBetweenClasses): layout as layout
7076
7077         * BufferView_pimpl.C (Dispatch): layout as layout
7078         (smartQuote): layout as layout
7079
7080         * BufferView2.C (unlockInset): layout as layout
7081
7082 2002-06-24  André Pönitz <poenitz@gmx.net>
7083
7084         * lyxfunc.C: fix #487
7085
7086 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7087
7088         * lyxrc.h:
7089         * lyxrc.C:
7090         * lyxfunc.C: remove display_shortcuts, show_banner
7091
7092 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7093
7094         * Buffer_pimpl.C: oops, update on resize
7095
7096 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7097
7098         * buffer.C:
7099         * converter.C:
7100         * exporter.C:
7101         * lyxfunc.C:
7102         * BufferView.h:
7103         * BufferView.C: use repaint()
7104
7105         * BufferView_pimpl.h:
7106         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7107           as it's a clearer description. Remove superfluous
7108           redraws.
7109
7110 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7111
7112         * text.C: fix bug 488. Not ideal, but getting
7113           getWord() to work properly for the insets that
7114           matter is more difficult ...
7115
7116 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7117
7118         * BufferView_pimpl.C:
7119         * LyXAction.C:
7120         * commandtags.h:
7121         * lyxfunc.C: remove the six million index lyxfuncs to just
7122           one, and DTRT (bug 458)
7123
7124 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7125
7126         * BufferView.h:
7127         * BufferView.C:
7128         * BufferView_pimpl.h:
7129         * BufferView_pimpl.C: clean up resize() stuff,
7130           and unnecessary updateScreen()s
7131
7132 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7133
7134         * BufferView.h:
7135         * BufferView.C:
7136         * BufferView_pimpl.h:
7137         * BufferView_pimpl.C:
7138         * lyxfind.h:
7139         * lyxfind.C:
7140         * minibuffer.C: remove focus management of workarea,
7141           not needed. Use screen's greyOut()
7142
7143 2002-06-17  Herbert Voss  <voss@lyx.org>
7144
7145         * converter.C: (convert) do not post a message, when converting
7146         fails, let the calling function decide what to do in this case
7147
7148 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7149
7150         * lyxfunc.C: tidy up a little
7151
7152 2002-06-16    <alstrup@diku.dk>
7153
7154         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7155         Got rid of FORMS_H_LOCATION include. Now we are
7156         GUII.
7157
7158 2002-06-15  LyX Development team  <lyx@rilke>
7159
7160         * buffer.[Ch] (sgmlOpenTag):
7161         (sgmlCloseTag): Added support for avoiding pernicious mixed
7162         content. Return number of lines written.
7163
7164         (makeLinuxDocFile):
7165         (makeDocBookFile): Fixed calls to sgml*Tag.
7166         Simple white space clean.
7167
7168         (simpleDocBookOnePar): Simple white space clean.
7169
7170         * tabular.[Ch] (docBook): Renamed to docbook and got another
7171         argument to related with the pernicious mixed content.
7172
7173         (docbookRow): Fixed calls for docbook inset method.
7174
7175 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7176
7177         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7178         so it's X11 independent.
7179
7180         * kb*.[Ch]: ditto.
7181
7182         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7183
7184 2002-06-15  Lyx Development team  <lyx@electronia>
7185
7186         * intl.h: Renamed getTrans to getTransManager.
7187
7188 2002-06-14  Angus Leeming  <leeming@lyx.org>
7189
7190         * Makefile.am: nuke forgotten stl_string_fwd.h.
7191
7192 2002-06-12  Angus Leeming  <leeming@lyx.org>
7193
7194         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7195
7196 2002-06-13  Angus Leeming  <leeming@lyx.org>
7197
7198         * LaTeX.C:
7199         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7200
7201 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7202
7203         * kbmap.C (getiso): add support for cyrillic and greek
7204
7205 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7206
7207         * BufferView.h:
7208         * BufferView.C:
7209         * BufferView_pimpl.h:
7210         * BufferView_pimpl.C: move bogus scrolling logic
7211           to xforms
7212
7213 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7214
7215         * lyxfunc.C:
7216         * BufferView_pimpl.C: view->resize() change
7217
7218 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7219
7220         * BufferView_pimpl.C: topCursorVisible
7221           prototype change
7222
7223 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7224
7225         * Makefile.am:
7226         * lyx_gui.h:
7227         * lyx_gui.C: move to frontends/
7228
7229         * main.C:
7230         * lyx_main.h:
7231         * lyx_main.C: changes from above
7232
7233 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7234
7235         * intl.C:
7236         * intl.h:
7237         * kbmap.C:
7238         * kbsequence.C:
7239         * lyx_cb.C:
7240         * lyx_main.C: minor tidy
7241
7242 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7243
7244         * BufferView_pimpl.h:
7245         * BufferView_pimpl.C:
7246         * BufferView.h:
7247         * BufferView.C: make painter() const,
7248           remove dead code
7249
7250         * BufferView2.C: use screen() accessor
7251
7252         * lyx_main.h:
7253         * lyx_main.C: some minor cleanup
7254
7255 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7256
7257         * BufferView_pimpl.h:
7258         * BufferView_pimpl.C: remove enter/leaveView,
7259           use workHeight()
7260
7261 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7262
7263         * BufferView.h:
7264         * BufferView.C:
7265         * BufferView2.C:
7266         * BufferView_pimpl.h:
7267         * BufferView_pimpl.C: only construct screen once,
7268           rename
7269
7270         * lyxrc.C: remove pointless comment
7271
7272 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7273
7274         * BufferView.h:
7275         * BufferView.C: remove active() and belowMouse()
7276
7277         * BufferView_pimpl.h:
7278         * BufferView_pimpl.C: use workarea() not workarea_,
7279           and make it use a scoped_ptr instead
7280
7281 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7282
7283         * lyx_gui.C: add debug message on BadWindow
7284
7285 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7286
7287         * sp_spell.C: fdopen is not part of the C++ standard.
7288
7289         * paragraph.C (InsetIterator): use >= instead of ==
7290
7291 2002-06-07  Angus Leeming  <leeming@lyx.org>
7292
7293         Fixes needed to compile with Compaq cxx 6.5.
7294         * BufferView_pimpl.C:
7295         * DepTable.C:
7296         * buffer.C:
7297         * converter.C:
7298         * encoding.C:
7299         * lyx_gui.C:
7300         * lyx_main.C:
7301         * lyxtextclasslist.C:
7302         * minibuffer.C:
7303         * sp_spell.C:
7304         * tabular_funcs.C:
7305         * vc-backend.C:
7306         all c-library variables have been moved into namespace std. Wrap
7307         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7308
7309         * lyxlength.C:
7310         * tabular-old.C:
7311         * tabular.C:
7312         Add a using std::abs declaration.
7313
7314         * kbmap.h (modifier_pair):
7315         * paragraph.h (InsetTable, InsetList):
7316         * lyxfont.h (FontBits):
7317         type definition made public.
7318
7319         * bufferlist.C (emergencyWriteAll): the compiler complains that
7320         there is more than one possible lyx::class_fun template to choose from.
7321         I re-named the void specialisation as lyx::void_class_fun.
7322
7323         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7324
7325         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7326         the compiler is is unable to find tostr in write_attribute.
7327
7328 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7329
7330         * buffer.C (sgmlError): hide #warning
7331
7332 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7333
7334         * xtl/*: get rid of xtl, which is not in use anyway
7335
7336         * LyXAction.C (init):
7337         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7338         were unimplemented xtl experimentation
7339
7340 2002-06-04  André Pönitz <poenitz@gmx.net>
7341
7342         * lyxfunc.C: disable array operation on simple formulae
7343
7344 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7345
7346         * converter.C: constify a bit
7347
7348 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7349
7350         * lyx_gui.C: check xforms version correctly
7351
7352 2002-04-30  Herbert Voss  <voss@lyx.org>
7353
7354         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7355         "keep" option
7356
7357 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7358
7359         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7360           attempt to register it with a VCS)
7361
7362 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7363
7364         * lyx_main.C (init): honor variables LYX_DIR_13x and
7365         LYX_USERDIR_13x
7366
7367 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7368
7369         * buffer.h:
7370         * buffer.C:
7371         * lyx_main.C: fix a crash on bad command line,
7372           and give a useful exit status on error
7373
7374         * lyxfunc.C (doImport): allow -i lyx to work
7375
7376 2002-03-30  André Pönitz <poenitz@gmx.net>
7377
7378         * lyxfunc.C: mathed font changes
7379
7380 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7381
7382         * LaTeX.C:
7383         * importer.h:
7384         * importer.C:
7385         * lyx_sty.h:
7386         * lyx_sty.C:
7387         * lyxlex.C:
7388         * lyxrow.h:
7389         * lyxtext.h:
7390         * paragraph.h:
7391         * paragraph.C:
7392         * texrow.h:
7393         * texrow.C:
7394         * text.C:
7395         * trans_mgr.h: srcdocs, and some minor cleanups
7396
7397 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7398
7399         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7400         call getFont all the time)
7401
7402 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7403
7404         * switch from SigC signals to boost::signals
7405
7406 2002-05-29  André Pönitz <poenitz@gmx.net>
7407
7408         * paragraph_pimpl.C (getChar): don't call size() too often...
7409
7410 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7411
7412         * paragraph_pimpl.C (insertChar): do not try to update tables when
7413         appending (pos == size())
7414
7415         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7416         in order to reduce drastically the number of comparisons needed to
7417         parse a large document
7418
7419 2002-05-29  André Pönitz <poenitz@gmx.net>
7420
7421         * text.C:
7422         * text2.C:
7423         * lyxtextclass.C:
7424         * sp_pspell.h:
7425         * textclasslist.[Ch]:
7426         * sp_ispell.h: whitespace change
7427
7428 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7429
7430         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7431         lyxaction directly now.
7432
7433 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7434
7435         * trans.C:
7436         * lyxfont.C:
7437         * lyxvc.C: remove unused headers
7438
7439 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7440
7441         * Makefile.am:
7442         * buffer.h:
7443         * undostack.h:
7444         * undostack.C:
7445         * undo_funcs.h:
7446         * undo_funcs.C: some cleanups. Use shared_ptr
7447           and a template for the undo stacks.
7448
7449 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7450
7451         * BufferView_pimpl.h:
7452         * BufferView_pimpl.C:
7453         * kbmap.h:
7454         * kbmap.C:
7455         * kbsequence.h:
7456         * kbsequence.C:
7457         * lyxfunc.h:
7458         * lyxfunc.C:
7459         * text2.C: use key_state/mouse_state
7460
7461 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7462
7463         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7464         and LSubstring
7465
7466         * chset.C: change include order
7467         (loadFile): use boost regex and get rid of LRegex and LSubstring
7468
7469         * Makefile.am (BOOST_LIBS): new variable
7470         (lyx_LDADD): use it
7471
7472         * LaTeX.C: change include order.
7473         (scanAuxFile): use boost regex and get rid of LRegex and
7474         LSubstring
7475         (deplog): ditto
7476
7477 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7478
7479         * ColorHandler.h:
7480         * ColorHandler.C:
7481         * FontInfo.h:
7482         * FontInfo.C: moved to frontends/xforms/
7483
7484         * FontLoader.h:
7485         * FontLoader.C: moved into frontends for GUIIzation
7486
7487         * Makefile.am:
7488         * lyx_gui.C:
7489         * lyxfont.C:
7490         * lyxfunc.C: changes from above
7491
7492 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7493
7494         * LColor.C: remove spurious X include
7495
7496         * BufferView_pimpl.C:
7497         * Makefile.am:
7498         * font.h:
7499         * font.C:
7500         * text.C:
7501         * text2.C: move font metrics to frontends/
7502
7503 2002-05-24  Juergen Vigna  <jug@sad.it>
7504
7505         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7506         setting the undo_cursor.
7507
7508         * ParagraphParameters.h: include local includes first.
7509
7510 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7511
7512         * BufferView_pimpl.C:
7513         * BufferView_pimpl.h:
7514         * Makefile.am:
7515         * WorkArea.h:
7516         * WorkArea.C:
7517         * screen.C: move WorkArea into frontends/
7518
7519         * lyxscreen.h:
7520         * screen.C:
7521         * text.C:
7522         * BufferView.C:
7523         * BufferView2.C: move LyXScreen into frontends/
7524
7525         * lyxlookup.h:
7526         * lyxlookup.C:
7527         * lyx_gui.C: move lyxlookup into frontends/xforms/
7528
7529 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7530
7531         * BufferView2.C:
7532         * BufferView_pimpl.C:
7533         * FontLoader.C:
7534         * LyXView.h:
7535         * LyXView.C:
7536         * Makefile.am:
7537         * WorkArea.C:
7538         * XFormsView.h:
7539         * XFormsView.C:
7540         * buffer.C:
7541         * bufferlist.C:
7542         * bufferview_funcs.C:
7543         * converter.C:
7544         * importer.C:
7545         * lyx_cb.C:
7546         * lyx_gui.C:
7547         * lyx_main.C:
7548         * lyx_find.C:
7549         * lyxfunc.C:
7550         * lyxvc.C:
7551         * minibuffer.C:
7552         * text.C:
7553         * text2.C:
7554         * trans.C:
7555         * vc-backend.C: move LyX/XFormsView into frontends/
7556
7557 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7558
7559         * Makefile.am:
7560         * PainterBase.C:
7561         * PainterBase.h:
7562         * Painter.C:
7563         * Painter.h:
7564         * WorkArea.C:
7565         * WorkArea.h:
7566         * screen.C:
7567         * tabular.C:
7568         * text.C:
7569         * text2.C: move Painter to frontends/
7570
7571 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7572
7573         * buffer.C: comment out some some code that depend upon lyx_format
7574         < 220
7575
7576         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7577         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7578
7579         * buffer.h (NO_COMPABILITY): turn off compability
7580
7581         * ColorHandler.C: include scoped_array.hpp
7582
7583         * font.C: Use more specific smart_ptr header.
7584         * Painter.C: ditto
7585         * gettext.C: ditto
7586         * ShareContainer.h: ditto
7587         * lyx_main.h: ditto
7588         * kbmap.h: ditto
7589         * FontInfo.h: ditto
7590         * BufferView_pimpl.h: ditto
7591         * ColorHandler.h: ditto
7592
7593         * kbmap.C (defkey): change call to shared_ptr::reset
7594
7595 2002-05-21  Juergen Vigna  <jug@sad.it>
7596
7597         * buffer.C (insertErtContents): fix to insert ert asis if it is
7598         non empty. Skip it completely if it contains only whitespaces.
7599
7600 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7601
7602         * BufferView_pimpl.C:
7603         * BufferView2.C: clear selection on paste (bug 393)
7604
7605 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7606
7607         * DepTable.C: include ctime
7608
7609 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7610
7611         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7612
7613 2002-05-14  Juergen Vigna  <jug@sad.it>
7614
7615         * text.C (breakParagraph): fixed function to honor the keepempty
7616         layout in the right maner and also to permit the right breaking
7617         algorithm on empty or non empyt keepempty paragraphs.
7618
7619         * paragraph.C (breakParagraph): we have to check also if the par
7620         is really empty (!size()) for isempty otherwise we do the wrong
7621         paragraph break.
7622
7623 2002-05-10  Juergen Vigna  <jug@sad.it>
7624
7625         * buffer.[Ch] : The following are only changes to the ert
7626         compatibility read reading old LaTeX layout and font stuff and
7627         convert it to ERTInsets.
7628
7629         * buffer.h: added isErtInset().
7630
7631         * buffer.C (struct ErtComp): add a fromlayout bool to check
7632         if we're inside a LaTeX layout.
7633         (isErtInset): new helper function.
7634         (insertErtContents): look for other ert insets before this one
7635         and insert the contents there, so that we don't have subsequent
7636         ERT insets with nothing between them. This way we create only one
7637         inset with multiple paragraphs. Also check if we don't insert only
7638         spaces ' ' as they are ignored anyway afterwards in the .tex file
7639         so if we have only spaces we will ignore this latex part in the
7640         new file.
7641         (parseSingleLyXformat2Token \\layout): better compatibility when
7642         reading layout-latex stuff.
7643         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7644         language tag.
7645         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7646         stuff after reading the inset only get the information back from
7647         the stack.
7648
7649 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7650
7651         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7652
7653         * LaTeXFeatures.C (getBabelOptions): New method.
7654
7655 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7656
7657         * BufferView_pimpl.C (Dispatch): work around missing argument for
7658         'layout'
7659
7660 2002-05-08  Juergen Vigna  <jug@sad.it>
7661
7662         * text.C (leftMargin): handle paragraph leftindent.
7663
7664         * paragraph.C (writeFile): write the new \\leftindent tag.
7665         (validate): handle leftindent code.
7666         (TeXEnvironment): handle paragraphleftindent code again.
7667
7668         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7669
7670         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7671         for paragrap_extra indent code and new token \\leftindent.
7672         (latexParagraphs): handle the leftindent as environment.
7673
7674         * ParameterStruct.h: added leftindent support.
7675
7676         * ParagraphParameters.C (leftIndent): added support functions for
7677         the paragraph left indent.
7678
7679         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7680         more appropriate.
7681
7682 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7683
7684         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7685         inside insetERT.
7686
7687         * text.C (computeBidiTables): No bidi in insetERT.
7688
7689         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7690         in RTL documents.
7691
7692 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7693
7694         * version.C.in: pre 5
7695
7696 2002-05-02  José Matos  <jamatos@fep.up.pt>
7697         * buffer.C (makeDocBookFile): white space changes, add newline to
7698         command styles.
7699         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7700
7701         * tabular.C (docBook): fix typo.
7702
7703 2002-05-03  Juergen Vigna  <jug@sad.it>
7704
7705         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7706         change in LyXText as we can not be sure it was not freed.
7707         (drawOneRow): remove unused code.
7708
7709         * text.C (drawInset): redo the calculation of the need_break_row as
7710         it could have a row which was already freed.
7711         (draw): look at the return value of drawInset and return false if
7712         it also returned false.
7713         (paintRowText): look at the return value of draw and return false if
7714         it also returned false.
7715
7716         * lyxtext.h: added bool return type to drawInset() and draw() so that
7717         if we have a change in the row so that the rowbreak has to be redone
7718         we abort drawing as it will be called again.
7719
7720 2002-05-02  Juergen Vigna  <jug@sad.it>
7721
7722         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7723         a change in the maintext also if we're inside an inset.
7724         (Dispatch): set the cursor again after a break line and after the
7725         screen has been updated as it could be we're in a different row.
7726
7727         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7728         to set the cursor behind the pargraph with > size().
7729         (setCursor): check also for the same paragraph when checking where
7730         to put the cursor if we have a NFR inset.
7731
7732         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7733         parts of layout read further up as it still was in the wrong
7734         position.
7735
7736 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7737
7738         * screen.C (drawFromTo): change sine fullRebreak always return
7739         true.
7740
7741         * buffer.C (parseSingleLyXformat2Token): reindent some
7742
7743         * BufferView_pimpl.C (update): change since fullRebreak always
7744         return true.
7745         (Dispatch): git rid of the last hardcoded "Standard"s.
7746
7747 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7748
7749         * text2.[Ch] (fullRebreak): make it return void now that we always
7750         returned true.
7751
7752 2002-04-30  Juergen Vigna  <jug@sad.it>
7753
7754         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7755         ert compatibility check for "latex" layout.
7756
7757 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7758
7759         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7760         minipages: use col% instead of p%, and also use the current font.
7761         (makeLaTeXFile): Fix use babel condition.
7762         (parseSingleLyXformat2Token): Correct font when reading old floats.
7763
7764 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7765
7766         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7767         inserting list of floats.
7768
7769 2002-04-25  Herbert Voss  <voss@lyx.org>
7770
7771         * MenuBackend.C (expand): don't add the graphics extensions to the
7772         export menu
7773
7774 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7775
7776         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7777         non-existing layout, do not complain if it was the default layout
7778         of the original class (bug #342)
7779
7780 2002-04-24  Juergen Vigna  <jug@sad.it>
7781
7782         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7783         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7784
7785 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7786
7787         * buffer.C (getBibkeyList): If using \bibliography, return the
7788         option field with the reference itself. Enables us to provide natbib
7789         support when using \bibliography.
7790
7791 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7792
7793         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7794
7795         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7796         natbib is provided by the LaTeX class.
7797
7798 2002-04-23  Juergen Vigna  <jug@sad.it>
7799
7800         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7801         Wakeup functions.
7802
7803         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7804
7805 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7806
7807         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7808
7809         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7810         ensuremath around textordmasculine, textordfeminine and
7811         textdegree.
7812
7813 2002-04-19  Juergen Vigna  <jug@sad.it>
7814
7815         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7816         reinitializing the buffer otherwise row-dimensions may be wrong.
7817         (update): reset also the selection cursors if they do exits otherwise
7818         their x/y positions may be wrong.
7819
7820         * text2.C (cursorDown): don't enter the inset if we came from a row
7821         above and are one row over the inset.
7822
7823         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7824         really leaving an inset.
7825
7826 2002-04-18  Juergen Vigna  <jug@sad.it>
7827
7828         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7829         of the selected paragraph does not have the selected layout also if
7830         the last one had!
7831
7832         * text2.C (setLayout): fixed bug which did not change last selected
7833         paragraph.
7834
7835         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7836         changed the read and substituted \\end_float with \\end_inset!
7837
7838         * BufferView_pimpl.C (cursorPrevious):
7839         (cursorNext): fixed to make it work with rows heigher than the work
7840         area without moving the cursor only the draw of the row.
7841         (workAreaMotionNotify): fix jumping over high rows.
7842
7843 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7844
7845         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7846         Ressler.
7847
7848 2002-04-16  Juergen Vigna  <jug@sad.it>
7849
7850         * text2.C (setCursor): set also the irow().
7851         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7852         (cursorUp):
7853         (cursorDown): support for locking an inset if the x_fix value goes
7854         inside it. That way I can transverse insets too with cursor up/down.
7855
7856         * lyxrow.h: added irow helper function same as other (i) functions.
7857
7858         * BufferView_pimpl.C (cursorPrevious):
7859         (cursorNext): fixed for insets!
7860
7861 2002-04-15  Juergen Vigna  <jug@sad.it>
7862
7863         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7864         position otherwise it is wrong in some cases.
7865
7866         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7867         inside the inset before the call.
7868
7869 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7870
7871         * buffer.[Ch] (getBibkeyList): make it const.
7872
7873 2002-04-12  Juergen Vigna  <jug@sad.it>
7874
7875         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7876
7877         * text2.C (getCursorX): new helper function
7878         (setCursor): compute also ix_
7879         (setCursorFromCoordinates): set also ix.
7880
7881         * lyxcursor.h: added ix_ and helper functions.
7882
7883         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7884
7885         * buffer.C (insertStringAsLines): dont break paragraph if the this
7886         paragraph is inside an inset which does not permit it!
7887
7888         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7889         also with no chars on this paragraph.
7890         (paintRowText): only paint stuff if it's inside the workarea!
7891
7892         * paragraph.C (breakParagraph): honor keepempty flag and break the
7893         paragraph always below not above.
7894
7895         * BufferView2.C (unlockInset): update the paragraph layout on inset
7896         unlock as we changed paragraph in such a case.
7897
7898         * lyxfind.C (LyXFind): clear the former selection if not found!
7899
7900         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7901         again called in insertChar().
7902
7903         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7904         an inset which uses the whole row!
7905         (rightMargin): ditto.
7906         (insertChar): force a rebreak if we inserted an inset!
7907
7908 2002-03-28  Herbert Voss  <voss@lyx.org>
7909
7910         * lyxlength.[Ch]: add inBP() to get the right PS-point
7911         units (BigPoint). With inPixels we have rounding errors
7912
7913 2002-04-11  Juergen Vigna  <jug@sad.it>
7914
7915         * text2.C (setCursorFromCoordinates): set iy to the right value.
7916         (setCursor): add check if row->previous exists!
7917
7918         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7919         an old float_type as this was the case in the old code!
7920
7921         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7922
7923         * BufferView2.C (showLockedInsetCursor): use iy
7924         (fitLockedInsetCursor): ditto
7925
7926         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7927         locked insets as there we have the right value now.
7928
7929         * lyxcursor.C: added iy_ variable and iy functions to set to the
7930         baseline of cursor-y of the locked inset.
7931
7932         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7933         (setCursor): fixed for insets which need a full row.
7934
7935         * text.C (rowLastPrintable): don't ignore the last space when before
7936         an inset which needs a full row.
7937         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7938         as last character of a row when before a inset which needs a full row.
7939
7940 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7941
7942         * version.C.in: update date
7943
7944         * text2.C (fullRebreak): try to always return true and see what
7945         happens...
7946
7947 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7948
7949         * MenuBackend.C (expand): use Floating::listName
7950
7951         * FloatList.C (FloatList): add listName argument to the built-in
7952         floats
7953
7954         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7955         text associated with the float.
7956
7957 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7958
7959         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7960
7961 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7962
7963         * ShareContainer.h: add a couple of missing typenames.
7964
7965 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7966
7967         * lyxrc.C (getDescription): use _() correctly rather than N_().
7968
7969 2002-03-28  Herbert Voss  <voss@lyx.org>
7970
7971         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7972         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7973
7974 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7975
7976         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7977         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7978
7979 2002-03-29  Juergen Vigna  <jug@sad.it>
7980
7981         * lyxfunc.C (dispatch): add a missing fitCursor call.
7982
7983         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7984         it was scrolled by a cursor move, so return the bool status.
7985
7986         * BufferView.C (fitCursor): return the bool flag also to the outside
7987         world as this is needed.
7988
7989         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7990
7991         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7992         call the edit() as it is not needed (and wrong) IMO.
7993         (workAreaButtonPress): set the screen_first variable before evt.
7994         unlock the inset as this may change screen_first and then we have
7995         a wrong y position for the click!
7996
7997 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7998
7999         * MenuBackend.C (expand): another translation that I missed
8000
8001 2002-03-28  Juergen Vigna  <jug@sad.it>
8002
8003         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8004
8005         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8006
8007 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8008
8009         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8010
8011         * MenuBackend.C (expand): fix export/view/update when there is no
8012         document open.
8013
8014 2002-03-27  Herbert Voss  <voss@lyx.org>
8015
8016         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8017         and text%
8018
8019 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8020
8021         * bufferview_funcs.C (currentState): only show paragraph number
8022         for is DEVEL_VERSION is set.
8023
8024         * lyxfunc.C (dispatch): put warning in INFO channel
8025
8026         * MenuBackend.C (expand): translate the name of floats
8027
8028         * FloatList.C (FloatList): mark the float names for translation
8029
8030         * converter.C (convert): use LibScriptSearch
8031
8032 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8033
8034         * MenuBackend.C (defaults): fix default menu (we might as well get
8035         rid of it...)
8036
8037 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8038
8039         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8040         directory.
8041
8042 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8043
8044         * lyxvc.C: reorder includes.
8045
8046 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8047
8048         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8049           properly
8050
8051 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8052
8053         * CutAndPaste.C: change layouts earlier on paste
8054           to avoid crashing when calling getFont()
8055
8056 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8057
8058         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8059         irritating #error.
8060
8061 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8062
8063         * WorkArea.C: remove 'Pending' debug message.
8064
8065         * most files: ws cleanup
8066
8067         * buffer.[Ch]: ws changes
8068
8069         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8070
8071 2002-03-21  Juergen Vigna  <jug@sad.it>
8072
8073         * tabular.C (SetMultiColumn): collapse also the contents of the
8074         cells and set the last border right. Added a Buffer const * param.
8075
8076 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8077
8078         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8079         linking or not.
8080
8081 2002-03-19  Juergen Vigna  <jug@sad.it>
8082
8083         * text2.C (clearSelection): reset also xsel_cache.
8084
8085         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8086         where it needs to be called (John tells us to do so too :)
8087         (selectionLost): reset sel_cache.
8088
8089         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8090
8091 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8092
8093         * text2.C (setCursorIntern): put debuging code in INSETS channel
8094
8095 2002-03-19  André Pönitz <poenitz@gmx.net>
8096
8097         * lyxfunc.C: tiny whitespace change
8098
8099 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8100
8101         * ToolbarDefaults.C (init):
8102         * LyXAction.C (init):
8103         * commandtags.h:
8104         * BufferView_pimpl.C (Dispatch):
8105         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8106
8107 2002-03-19  Allan Rae  <rae@lyx.org>
8108
8109         * exporter.C (Export): removeAutoInsets before doing anything else.
8110         While I've just introduced a dependency on BufferView this really is
8111         the best place to clean the buffer otherwise you need to cleanup in
8112         a dozen places before calling export or cleanup in a dozen functions
8113         that export calls.
8114
8115         * converter.C (runLaTeX):
8116         (scanLog): Better handling of removeAutoInsets and screen updates.
8117
8118         * lyxfunc.C (dispatch): small whitespace changes
8119
8120 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8121
8122         * WorkArea.C (C_WorkAreaEvent): return a value.
8123         (event_cb): return 1 if we handled the event, 0 otherwise.
8124
8125         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8126
8127 2002-03-18  Juergen Vigna  <jug@sad.it>
8128
8129         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8130         (GetAdditionalWidth): ditto.
8131         (RightLine): ditto.
8132         (LeftLine): ditto.
8133
8134         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8135         inset if we're there actually (probably not used right now but this
8136         is the direction to go for unifying code).
8137         (paste): disable code to clear the selection.
8138
8139         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8140         inside an InsetText and move the check further up as it is in the
8141         wrong place.
8142
8143         * text2.C (pasteSelection): set a selection over the pasted text.
8144
8145 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8146
8147         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8148         and libgraphics to build on Cygwin.
8149
8150 2002-03-15  Juergen Vigna  <jug@sad.it>
8151
8152         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8153         inserting an Inset into the paragraph. I know this is not the best
8154         fix but we already use current_view in CutAndPaste so we will remove
8155         all of it's using at the same time.
8156
8157         * buffer.C (sgmlError): deactivated function till it is rewritten in
8158         the right mode, now it can create problems.
8159
8160         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8161         before accessing it.
8162
8163 2002-03-14  Juergen Vigna  <jug@sad.it>
8164
8165         * undo_funcs.C (textHandleUndo): do the right thing when updating
8166         the inset after the undo/redo.
8167
8168         * text2.C (setCursor): just some testcode for #44 not ready yet.
8169
8170         * undo_funcs.C (textHandleUndo): set the next() and previous()
8171         pointers of the paragraph to 0 before deleting otherwise we have
8172         problems with the Paragraph::[destructor].
8173
8174         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8175         on a paragraph insertion.
8176
8177 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8178
8179         * buffer.C (asciiParagraph): use += operator for char append to
8180         string.
8181
8182         * paragraph.C (getFontSettings): compare >= not just >
8183         (highestFontInRange): ditto
8184         (setFont): ditto
8185
8186 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8187
8188         * paragraph.C: change several algorithm to be more appripriate for
8189         the problem domain. This is lookip in FontList and in the InsetList.
8190
8191 2002-03-13  André Pönitz <poenitz@gmx.net>
8192
8193         * commandtags.h:
8194         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8195
8196 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8197
8198         * commandtags.h:
8199         * LyXAction.C:
8200         * lyxfunc.C:
8201         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8202
8203 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8204
8205         * Painter.C (display): anon helper function, adjust code for this
8206         change.
8207         (pixmap): remove function.
8208
8209         * Painter.h: remove private display variable.
8210
8211         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8212
8213 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8214
8215         * WorkArea.[Ch]: remove figinset_canvas cruft.
8216
8217 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8218
8219         * lyxtextclass.C (operator): add one item cache optimization.
8220
8221         * bufferlist.h: doxy changes
8222
8223         * bufferlist.C: ws changes
8224
8225         * DepTable.[Ch] (ext_exist): place const in the right spot.
8226
8227         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8228         call resizeInsets.
8229         (workAreaExpose): call resizeInsets when the with BufferView changes.
8230         (Dispatch): adjust for protectedBlank removal
8231         (specialChar): call updateInset if the insert went ok.
8232
8233         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8234         specialChar instead.
8235
8236         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8237
8238         * BufferView.h: doxy change
8239
8240         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8241
8242         * lyxtextclass.C (operator[]): remove non-const version
8243         (defaultLayout): remove non-const version
8244
8245 2002-03-12  Juergen Vigna  <jug@sad.it>
8246
8247         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8248         did resize the LyXText too.
8249
8250         * buffer.C (readLyXformat2): set layout information on newly allocated
8251         paragraphs.
8252
8253         * tabular.C (OldFormatRead): set layout information on the paragraph.
8254
8255 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8256
8257         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8258
8259 2002-03-11  Juergen Vigna  <jug@sad.it>
8260
8261         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8262         plainly wrong.
8263         (resizeCurrentBuffer): force also the insets to resize themselfes.
8264         (moveCursorUpdate): fixed up for InsetText.
8265
8266 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8267
8268         * commandtags.h:
8269         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8270         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8271         value of Dialogs::tooltipsEnabled().
8272         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8273
8274 2002-03-08  Juergen Vigna  <jug@sad.it>
8275
8276         * BufferView_pimpl.C (updateInset): update inset inside inset also
8277         if it isn't inside theLockingInset().
8278
8279 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8280
8281         * buffer.C (asciiParagraph): redo some of the word and line length
8282         handling.
8283         (getLists): look for Caption instead of caption.
8284
8285 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8286
8287         * buffer.C (Buffer): initialize niceFile to true
8288         (makeLaTeXFile):
8289         (makeLinuxDocFile):
8290         (makeDocBookFile): make sure niceFile is true on exit
8291
8292 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8293
8294         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8295
8296 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8297
8298         * LyXSendto.C: remove.
8299         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8300         * lyx_gui.C: remove now-redundant comment.
8301         * ColorHandler.h: remove forward declaration of class WorkArea.
8302         * lyxfunc.C: remove #include "WorkArea.h".
8303
8304 2002-03-07  Juergen Vigna  <jug@sad.it>
8305
8306         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8307         got moved away with the DEPM and also set the inset_owner always
8308         right which before could have been omitted.
8309
8310 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8311
8312         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8313         wanted layout is not found.
8314
8315 2002-03-07  Juergen Vigna  <jug@sad.it>
8316
8317         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8318
8319 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8320
8321         * paragraph.C (breakParagraph): use default layout not layout of
8322         prev paragraph.
8323         (Paragraph): clear ParagraphParameters.
8324
8325 2002-03-06  Juergen Vigna  <jug@sad.it>
8326
8327         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8328         otherwise it would not be a valid lenght. Fixed a special case in
8329         the minipage compatibility read where we end the document with a
8330         minipage.
8331
8332         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8333         was set as it could be 0 for InsetTexts first entry.
8334
8335 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8336
8337         * paragraph.C (writeFile): if layout is empty write out
8338         defaultLayoutName().
8339
8340         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8341         file without named layout we set layout to defaultLayoutName().
8342
8343 2002-03-06  Juergen Vigna  <jug@sad.it>
8344
8345         * CutAndPaste.C (copySelection): set layout for new paragraph.
8346
8347         * text.C (prepareToPrint): leave ERT inset left aligned
8348         (leftMargin): don't indent paragraphs inside ERT insets
8349
8350 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8351
8352         * paragraph.C (breakParagraph): dont call clear do the work manually
8353
8354         * paragraph.[Ch] (clear): remove function
8355
8356 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8357
8358         * paragraph.C (Paragraph): dont call clear, the work has already
8359         been done.
8360
8361         * lyxtextclass.C (operator): assert if n is empty
8362
8363         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8364         work manually instead.
8365
8366 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8367
8368         * BufferView_pimpl.C: protect selectionLost against text == 0
8369
8370 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8371
8372         * text.C (breakParagraph): fix a setting layout to '0' problem.
8373
8374 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8375
8376         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8377         final location of file, for the included files, and graphics.
8378
8379 2002-03-05  Juergen Vigna  <jug@sad.it>
8380
8381         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8382
8383 2002-03-04  Juergen Vigna  <jug@sad.it>
8384
8385         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8386
8387         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8388         last column of multicolumn cells.
8389         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8390
8391 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8392
8393         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8394         file if it doesn't go to a temporary file.
8395
8396         * buffer.C (sgmlOpenTag):
8397         (sgmlCloseTag):  remove extra newline insertion.
8398
8399 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8400
8401         * text.C (getRowNearY): comment out debug msg
8402
8403 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8404
8405         * text2.C: first -> first_y
8406
8407         * text.C (getRowNearY): add some attemts at a possible
8408         optimization, not working.
8409
8410         * tabular.[Ch]: add BufferParams to several function so that newly
8411         created paragraph can be initialized to he default layotu for the
8412         buffers textclass.
8413
8414         * tabular-old.C (ReadOld): add buf->params to call of Init
8415
8416         * screen.C: rename text->first to text->first_y
8417
8418         * paragraph.C (breakParagraph): always set layout in the broken
8419         paragraph
8420
8421         * lyxtextclass.C (Read): remove lowercase
8422         (hasLayout): ditto
8423         (operator): ditto
8424         (delete_layout): ditto
8425
8426         * lyxtext.h: rename first -> first_y
8427
8428         * lyxlayout.C (Read): remove lowercase
8429         (name): ditto
8430         (setName): ditto
8431         (obsoleted_by): ditto
8432
8433         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8434
8435         * buffer.C (insertErtContents): add params are to InsetERT
8436         (parseSingleLyXformat2Token): add code to check if a paragraphs
8437         layout really exist.
8438         (parseSingleLyXformat2Token): add params to several inset
8439         constructors
8440         (asciiParagraph): remove lowercase, do the layout comparisons with
8441         no_case
8442
8443         * BufferView_pimpl.C (cursorNext): first -> first_y
8444         (resizeCurrentBuffer): first -> first_y
8445         (updateScrollbar): first -> first_y
8446         (scrollCB): first -> first_y
8447         (workAreaMotionNotify): first -> first_y
8448         (workAreaButtonPress): first -> first_y
8449         (checkInsetHit): first -> first_y
8450         (cursorPrevious): first -> first_y
8451         (cursorNext): first -> first_y
8452         (Dispatch): add buffer_->params to severl inset contructors
8453
8454 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8455
8456         * lyxlayout.C (Read): remove some debug info that I forgot.
8457
8458         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8459         clean up the code slightly.
8460         (makeLinuxDocFile): ditto
8461         (makeDocBookFile): ditto
8462
8463         * text2.C: layout as string
8464
8465         * text.C: layout as string
8466
8467         * paragraph_pimpl.C: layout as string
8468
8469         * paragraph.[Ch]: layout as string
8470
8471         * lyxtextclasslist.[Ch]: layout as string
8472
8473         * lyxtextclass.[Ch]: layout as string
8474
8475         * lyxtext.h: layout as string
8476
8477         * lyxlayout.[Ch]: layout as string
8478
8479         * lyx_cb.C: layout as string
8480
8481         * bufferview_funcs.C: layout as string
8482
8483         * bufferparams.C: layout as string
8484
8485         * buffer.C: layout as string
8486
8487         * LyXView.[Ch]: layout as string
8488
8489         * LaTeXFeatures.[Ch]: layout as string
8490
8491         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8492
8493         * BufferView_pimpl.C: change current_layout to string, remove
8494         lyx::layout_type.
8495         (Dispatch):
8496         (smartQuote):
8497         (insertInset):
8498         (workAreaButtonRelease): layout as string
8499
8500         * BufferView2.C (unlockInset): adjust
8501
8502         * vspace.C (asLatexCommand): use an explict temp variable.
8503
8504 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8505
8506         * Makefile.am: use FRONTEND_*
8507
8508 2002-03-01  Juergen Vigna  <jug@sad.it>
8509
8510         * tabular.C (SetWidthOfMulticolCell): changed to something better
8511         I hope but still work in progress.
8512         (recalculateMulticolumnsOfColumn): renamed function from
8513         recalculateMulticolCells as it is more appropriate now.
8514         (SetWidthOfCell): calculate multicols better.
8515
8516 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8517
8518         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8519
8520         * lyxfunc.C (processKeySym): print sequence also if it is
8521         `deleted' (complete)
8522
8523         * kbsequence.C (print): print sequence even if it is deleted
8524         (complete would be a better word, actually).
8525
8526         * lyxfunc.C (dispatch): print complete options after a prefix key
8527
8528         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8529
8530 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8531
8532         * text2.C (setCharFont): eliminate setCharFont code duplication.
8533
8534 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8535
8536         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8537         LFUN_TABULAR_FEATURE (bug #177)
8538
8539 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8540
8541         * Makefile.am: remove figure.h
8542
8543 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8544
8545         * Bufferview_pimpl.C:
8546         * CutAndPasteC:
8547         * LaTeX.C:
8548         * LyXSendto.C:
8549         * buffer.C:
8550         * bufferlist.C:
8551         * converter.C:
8552         * language.C:
8553         * lyxfunc.C:
8554         * lyxvc.C:
8555         * paragraph.C:
8556         * text.C:
8557         * text2.C: remove #include "lyx_gui_misc.h".
8558
8559         * LaTeX.C: added #include <cstdio>
8560
8561 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8562
8563         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8564         that the paragraph following this one can have.
8565
8566         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8567
8568         * vspace.C (asLatexCommand): fix bogus gcc warning
8569
8570         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8571
8572 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8573
8574         * text2.C (setLayout): get rid of redundant code
8575
8576 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8577
8578         * text2.C (incDepth): make sure depth cannot be increased beyond
8579         reasonable values.
8580
8581 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8582
8583         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8584         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8585
8586         * PainterBase.h (image):
8587         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8588         a LyXImage const *.
8589
8590 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8591
8592         * BufferView.C:
8593         * BufferView.h:
8594         * BufferView_pimpl.C:
8595         * BufferView_pimpl.h:
8596         * LaTeXFeatures.C:
8597         * LyXAction.C:
8598         * LyXView.C:
8599         * Makefile.am:
8600         * UpdateList.h:
8601         * UpdateList.C:
8602         * buffer.C:
8603         * figure.h:
8604         * figureForm.C:
8605         * figureForm.h:
8606         * figure_form.C:
8607         * figure_form.h:
8608         * lyx_cb.C:
8609         * lyx_gui.C:
8610         * lyx_gui_misc.C:
8611         * lyxfunc.C:
8612         * sp_base.h:
8613         * sp_ispell.h:
8614         * sp_pspell.h:
8615         * sp_spell.C: remove fig inset, and the crap house of
8616           cards that follows it
8617
8618 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8619
8620         * Makefile.am:
8621         * lyxserver.C:
8622         * os2_defines.h:
8623         * os2_errortable.h:
8624         * nt_defines.h: move .h into support/
8625
8626         * vms_defines.h: remove
8627
8628         * WorkArea.C: add space in debug output
8629
8630         * text2.C:
8631         * paragraph.C:
8632         * buffer.C: add WITH_WARNINGS
8633
8634         * vc-backend.h:
8635         * vc-backend.C:
8636         * bufferlist.C: s/retrive/retrieve/, add docs
8637
8638         * vspace.h:
8639         * vspace.C:
8640         * kbmap.h:
8641         * lyxlength.h:
8642         * lyxgluelength.h:
8643         * length_common.h:
8644         * chset.h:
8645         * chset.C: add docs
8646
8647         * lyxgui.C: add ID to X error handler
8648
8649         * lyxtestclass.c: fix typo
8650
8651 2002-02-26  Juergen Vigna  <jug@sad.it>
8652
8653         * tabular_funcs.C (write_attribute): changed so that some default
8654         attributes are not written at all.
8655         (getTokenValue): set default values before trying to read the
8656         value so we have the return value always set as default if we don't
8657         find the token we search for.
8658
8659         * tabular.C (Write): write bools as bools not as strings!
8660
8661 2002-02-22  Juergen Vigna  <jug@sad.it>
8662
8663         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8664         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8665
8666         * text.C (leftMargin): don't add an indent for paragraphs inside
8667         tabular cells (fix #208).
8668
8669 2002-02-21  José Matos  <jamatos@fep.up.pt>
8670
8671         * tabular.C (docBook): fixed support for long tables.
8672
8673 2002-02-20  Juergen Vigna  <jug@sad.it>
8674
8675         * text2.C (getFont): get the drawing font of the Inset if this
8676         paragraph is inside an inset (only important for InsetERT for now).
8677
8678         * buffer.C (insertErtContents): use new lanugage params in ERT
8679         constructor.
8680
8681         * CutAndPaste.C: commenting out seemingly uneeded code.
8682
8683 2002-02-19  Allan Rae  <rae@lyx.org>
8684
8685         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8686         Iterators might be simple to use but they also get invalidated.
8687         (removeAutoInsets): renamed saved cursor tracking variables and added
8688         some comments to clarify what everything does.
8689
8690 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8691
8692         * Chktex.C:
8693         * LaTeX.C:
8694         * LyXSendto.C:
8695         * converter.C:
8696         * lyx_cb.C:
8697         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8698         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8699
8700         * lyxfunc.C:
8701         * vc-backend.h: remove #include "support/syscall.h"
8702
8703         * LaTeX.C:
8704         * LyXSendto.C:
8705         * converter.C: rearrange #includes in Lars' approved fashion.
8706
8707         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8708         forward declare class Timeout in the header file.
8709
8710         * XFormsView.C: changes due to the above.
8711
8712         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8713         similar to LyXView.
8714
8715         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8716         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8717
8718 2002-02-18  José Matos  <jamatos@fep.up.pt>
8719
8720         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8721         insets contents.
8722
8723 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8724
8725         * a lot of small ws changes
8726         * add a lot of using std::XXX
8727         * use std construcs some places where approp.
8728         * use some exisint stuff from lyxfunctional where approp.
8729         * Make file changes to use partial linking (lets test this now...)
8730
8731 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8732
8733         * Chktex.C:
8734         * buffer.C:
8735         remove #include "support/syscontr.h" as it's redundant. Always has been.
8736
8737         * Chktex.C:
8738         * LaTeX.C:
8739         * LyXSendto.C:
8740         * converter.C:
8741         * lyx_cb.C:
8742         * vc-backend.C:
8743         change Systemcalls::System to Systemcalls::Wait and
8744         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8745         No change of functionality, just reflects the stripped down Systemcalls
8746         class.
8747
8748 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8749
8750         * debug.[Ch]: add a GRAPHICS type to the enum.
8751
8752 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8753
8754         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8755
8756         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8757         there is an inset.
8758
8759 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8760
8761         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8762         match the changes below.
8763
8764         * text2.C (toggleInset): if there is not editable inset at cursor
8765         position, try to see if cursor is _inside_ a collapsable inset
8766         and close it.
8767
8768 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8769
8770         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8771         document menu has a nice checkbox
8772
8773 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8774
8775         * lyxlength.C (asLatexString): change PW to output as percent of
8776         \textwidth.
8777
8778         * lengthcommon.C: change '%' to 't%'
8779
8780         * lyxfunc.C (dispatch): a few comments from Martin
8781
8782 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8783
8784         * WorkArea.h:
8785         * WorkArea.C:
8786         * BufferView_pimpl.h:
8787         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8788           the X selection.
8789
8790 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8791
8792         * vspace.C (inPixels): fix compiler warning
8793
8794 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8795
8796         * lyxfunc.C (getStatus): fix status message for disabled commands.
8797
8798 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8799
8800         * BufferView_pimpl.C: fix crash on close buffer
8801         during selection (#227)
8802
8803 2002-01-27  Herbert Voss  <voss@lyx.org>
8804
8805         * buffer.C: link old Figure to new graphic inset
8806
8807 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8808
8809         * FontLoader.C (getFontinfo): Change the latex font names in order
8810         to match the names of type1inst.
8811
8812 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8813
8814         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8815
8816         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8817         (extchanged): ditto
8818         (ext_exist): ditto
8819         (remove_files_with_extension): ditto
8820         (remove_file): ditto
8821         (write): ditto
8822
8823         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8824         document is smaller than the work area height. Do not initialize
8825         static variables to 0.
8826
8827 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8828
8829         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8830
8831         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8832         LFUN_LAYOUT_PARAGRAPHS.
8833
8834         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8835         tabular. It is possible to provide a possible cell, which will
8836         typically be the actcell from the corresponding insettabular
8837
8838         * lyxfunc.C (getStatus): small cleanup; disable
8839         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8840         true
8841
8842 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8843
8844         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8845
8846         * paragraph.C (startTeXParParams):
8847         (endTeXParParams): new methods. The LaTeX code to
8848         start/end paragraph formatting
8849         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8850         empty (fixes bug #200)
8851
8852         * vspace.C (inPixels): adapt to the change below
8853         (inPixels): [later] more cleanups (remove unused variables)
8854
8855         * lyxlength.C (inPixels): change to use a width and a height as
8856         parameter.
8857
8858 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8859
8860         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8861         Replaced with \paperwidth
8862
8863         * DepTable.C (insert): add std:: qualifier
8864
8865 2002-01-18  Allan Rae  <rae@lyx.org>
8866
8867         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8868         updated also?
8869
8870         * text.C (drawInset): Turned out I didn't know enough about how
8871         rebreaking worked.  This fixes most of the redraw problems.  I see
8872         an occasional cursor trail when a line is broken now and the cursor
8873         placement can seem out by a few pixels also after a rebreak.
8874
8875 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8876
8877         * buffer.C (parseSingleLyXformat2Token): update because minipage
8878         width is now a LyXLength
8879
8880         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8881
8882         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8883         math insets
8884
8885 2002-01-17  Juergen Vigna  <jug@sad.it>
8886
8887         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8888
8889         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8890         is set correctly and the inset is updated correctly.
8891
8892 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8893
8894         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8895         the beginning of the loop.
8896
8897 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8898
8899         * lyxrc.C: improve help for use_scalable_fonts
8900
8901 2002-01-17  Allan Rae  <rae@lyx.org>
8902
8903         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8904
8905 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8906
8907         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8908         make sure to set their inset_owner to the right value (bug #171)
8909
8910 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8911
8912         * DepTable.h
8913         * DepTable.C: Implement mtime checking to reduce time spent doing
8914         CRCs.
8915
8916 2002-01-16  Juergen Vigna  <jug@sad.it>
8917
8918         * tabular.C (GetAdditionalHeight): one of error fixed.
8919
8920         * lyxrc.C (output): small fix in writing use_pspell.
8921
8922 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8923
8924         * sp_base.h: #include LString.h
8925
8926 2002-01-16  Allan Rae  <rae@lyx.org>
8927
8928         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8929         Can someone check this please?
8930
8931         * text.C (drawInset): It was possible that p.row would be removed by
8932         breakAgainOneRow upsetting a few other settings.  There may be another
8933         small tweak possible by setting need_break_row = 0 when p.row has been
8934         removed but I don't know enough about the logic here.
8935
8936 2002-01-15  Allan Rae  <rae@lyx.org>
8937
8938         * text.C (insertChar): removed conditional truism.
8939
8940         * BufferView2.C (removeAutoInsets): More tweaks.
8941         cur_par_prev could be a stray pointer.  Check for trailing empty line
8942         in case last line was cur_par and only had an error inset on it.
8943
8944 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8945
8946         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8947         absolute
8948
8949         * vc-backend.C (most methods):
8950         * exporter.C (Export):
8951         * converter.C (convert):
8952         (runLaTeX):
8953         * LyXSendto.C (SendtoApplyCB):
8954         * lyxfunc.C (dispatch):
8955         (menuNew):
8956         (open):
8957         (doImport):
8958         * lyx_cb.C (AutoSave):
8959         (InsertAsciiFile):
8960         * BufferView_pimpl.C (MenuInsertLyXFile):
8961         * buffer.C (runChktex): use Buffer::filePath().
8962
8963         * buffer.h: rename filename to filename_; rename filepath to
8964         filepath_ and make it private
8965         (filePath): new method
8966
8967         * buffer.C (writeFile): use fileName()
8968         (getLatexName):
8969
8970         * lyx_main.C (init): fix starting  of LyX when the binary is a
8971         link from so,ewhere else.
8972
8973         * minibuffer.C: include <cctype> for isprint
8974
8975 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8976
8977         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8978         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8979         name clash with InsetCollapsable's width function.
8980
8981 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8982
8983         * lastfiles.C: include <iterator>
8984
8985 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8986
8987         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8988         std::count.
8989
8990         * buffer.C (makeLaTeXFile): ditto.
8991         Also make loop operation more transparent.
8992
8993 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8994
8995         * ToolbarDefaults.C: remove trailing comma closing namespace.
8996
8997         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8998
8999         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9000         as in WorkArea.
9001
9002         * trans.C (Load): comment out unused variable, allowed.
9003
9004 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9005
9006         * minibuffer.[Ch] (append_char): new method to recieve input from the
9007         drop-down completion browser. If a key was pressed, then recieve this
9008         char and append it to the existing string.
9009         (peek_event): modify the positioning data passed to the completion
9010         browser so that it can be placed above the minibuffer rather than below.
9011 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9012
9013         * LyXAction.C (init): alloe error-next for readonly documents.
9014
9015         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9016         count.
9017
9018 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9019
9020         * bufferlist.C (readFile): create the buffer _after_ checking that
9021         the file exists.
9022
9023         * lyxfunc.C (verboseDispatch): fix handling of arguments
9024
9025         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9026
9027         * lyxrc.C: use string::erase() instead of initializing to "".
9028
9029
9030 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9031
9032         * BufferView_pimpl.h:
9033         * BufferView_pimpl.C:
9034         * WorkArea.h:
9035         * WorkArea.C:
9036         * text2.C: tell X when we have made a selection for copying
9037
9038 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9039
9040         * BufferView_pimpl.C (MenuInsertLyXFile):
9041         * lyxfunc.C (menuNew):
9042         (open):
9043         (doImport): add shortcuts to directory buttons
9044
9045         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9046         open a float)
9047
9048         * lyxfunc.C (setStatusMessage):
9049         (getStatusMessage): new methods
9050         (getStatus):use setStatusMessage instead of setErrorMessage
9051         (dispatch): when function is disabled, set error message here
9052         [instead of in getStatus previously]
9053
9054         * BufferView_pimpl.C (workAreaButtonRelease): update
9055         toolbar/menubar here too.
9056
9057 2002-01-13  Allan Rae  <rae@lyx.org>
9058
9059         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9060         Now seems indestructible.  Remaining task is to audit all other
9061         code affected by deleteEmptyParagraphMechanism.  One small quirk
9062         left is that an empty document with an error in the preamble can
9063         be made to report an error but no error box appears.  I don't know
9064         where it goes.
9065         (removeAutoInsets): Improved comments.
9066
9067 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9068
9069         * Thesaurus.h:
9070         * Thesaurus.C: update for Aiksaurus 0.14
9071
9072 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9073
9074         * text2.C (firstParagraph): removed member function, all uses
9075         replaces with ownerParagraph
9076         (redoParagraphs): here
9077         (updateInset): here
9078         (toggleAppendix): here
9079         * BufferView2.C (insertErrors): here
9080         (setCursorFromRow): here
9081
9082 2002-01-13  Allan Rae  <rae@lyx.org>
9083
9084         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9085         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9086         There is still a way to segfault this although you may have to do this
9087         multiple times: Have an InsetERT with an unknown command in it.
9088         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9089         <down-arrow>, <Enter> again, View->DVI, BANG!
9090
9091         * text2.C (setCursor):
9092         (deleteEmptyParagraphMechanism):
9093         * lyxtext.h (setCursor):
9094         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9095         Making use of the return value may help fix other bugs.
9096
9097 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9098
9099         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9100
9101         * LyXView.C (updateMenubar): call MenuBar::update here
9102         (updateToolbar): but not here
9103         (showState): do not update toolbar/menubar
9104
9105         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9106         should need to care about that.
9107
9108         * lyxfunc.C (verboseDispatch): simplify a bit
9109         (getStatus): have a version which takes a pseudoaction, and
9110         another which requires a (kb_action,string).
9111
9112         * LyXAction.C (retrieveActionArg): make it work also when action
9113         is not a pseudo-action.
9114         (getActionName): simplify a bit
9115         (helpText):
9116
9117 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9118
9119         * lyxfunc.C (verboseDispatch): new families of methods with
9120         several ways to specify a command and a bool to indicate whether
9121         the command name and shortcut should be displayed in minibuffer
9122         (eventually, we could extend that to a finer bitmask like
9123         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9124         (dispatch): the pristine dispatch command which just, well,
9125         dispatchs! Note it still sets its result to minibuffer; I'm not
9126         sure we want that.
9127
9128         * lyxfunc.h: remove setHintMessage
9129
9130         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9131
9132 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9133
9134         * BufferView_pimpl.C (specialChar): delete new inset if we have
9135         not been able to insert it.
9136
9137         * kbmap.C: revert to using int instead of kb_action, since all we
9138         are dealing with is pseudo-actions.
9139
9140         * LyXAction.C (searchActionArg): change to return int instead of
9141         kb_action, since the result is a pseudoaction.
9142
9143 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9144
9145         * buffer.C (insertErtContents): Fix (partially) the font bug.
9146
9147 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9148
9149         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9150         as the other one is broken on my machine!
9151
9152 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9153
9154         * commandtags.h:
9155         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9156
9157 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9158
9159         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9160         reflect their actual use. Provide compatibility code for older lyxrc
9161         files.
9162
9163         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9164         FL_NORMAL_STYLE.
9165         change names of popup font variables in line with the changes to lyxrc.C
9166
9167 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9168
9169         * buffer.C (asciiParagraph): avoid outputing a word twice after
9170         an inset.
9171
9172         * lyxrc.C (getDescription): document that document_path and
9173         template_path can be empty.
9174
9175 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9176
9177         * LaTeXFeatures.C (getMacros):
9178         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9179
9180         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9181
9182         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9183         getPackages.
9184         (getPackages): rename feature "floats" to "float". Use an array to
9185         iterate over 'simple' features (i.e. just a \usepackage). Add
9186         handling of "amsmath" (renamed from "amsstyle").
9187
9188 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9189
9190         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9191         features list.
9192
9193 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9194
9195         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9196         FuncStaus::FuncStatus & FuncStaus::some_method().
9197
9198 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9199
9200         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9201         of the func_satus stuff. Edited and massaged in various ways by
9202         JMarc.
9203
9204         * lyxfunc.C (getStatus): use FuncStatus
9205
9206 2002-01-08  Juergen Vigna  <jug@sad.it>
9207
9208         * text.C (nextBreakPoint): use function Inset::isChar().
9209
9210         * paragraph.C (TeXOnePar): use function
9211         Inset::forceDefaultParagraphs.
9212
9213         * buffer.C (latexParagraphs): use function
9214         Inset::forceDefaultParagraphs.
9215
9216 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9217
9218         * lyx_gui.C (init): set the style of the menu popups to
9219         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9220
9221 2002-01-07  Juergen Vigna  <jug@sad.it>
9222
9223         * text.C (setHeightOfRow): small fix
9224         (prepareToPrint): don't look at alignment if we don't have the place
9225         for doing it.
9226
9227 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9228
9229         * box.C: New file. Move the Box methods and functions out of box.h,
9230         following Lars' suggestion.
9231
9232 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9233
9234         * box.h: #include "support/LOstream.h", needed for inlined function.
9235
9236         * lyxtextclass.C:
9237         * lyxtextclasslist.C: added some using std declarations.
9238
9239 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9240
9241         * box.h: make signed dimensions to allow insets wider than
9242           the screen (bug #162)
9243
9244         * BufferView_pimpl.C: add some insetHit debug
9245
9246 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9247
9248         * vc-backend.C: add FIXME
9249
9250 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9251
9252         * lyxfunc.C (getStatus): enable code for showing math font status
9253         in toolbar/menu.
9254
9255 2002-01-07  Juergen Vigna  <jug@sad.it>
9256
9257         * text.C (nextBreakPoint): removed debug output not needed anymore.
9258
9259 2002-01-06  Juergen Vigna  <jug@sad.it>
9260
9261         * text.C (nextBreakPoint): fixed up this function we had this bug
9262         since ever but now hopefully we break row better.
9263         (insertChar): we have to check if an inset is the next char as it
9264         could now happen that a large inset is causing a break.
9265
9266 2002-01-05  Juergen Vigna  <jug@sad.it>
9267
9268         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9269         if it doesn't like to be drawed.
9270
9271 2002-01-04  Juergen Vigna  <jug@sad.it>
9272
9273         * BufferView2.C (lockInset): forgot to set a cursor.
9274
9275         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9276
9277 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9278
9279         * FormMathsPanel.C:
9280         * FormMathsPanel.h
9281         * MathsSymbols.C:
9282         * form_maths_panel.C:
9283         * form_maths_panel.h:
9284         * form_maths_panel.fd: implemented sub- and super- buttons in math
9285         panel.
9286
9287         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9288         (or ^ space) to be used as in TeX (req'd by André).
9289
9290         * lyxfunc.C: Allow ^ and _ again to be used both as
9291         super/subscript (mathed) and as themselves (in text).
9292
9293 2002-01-03  Allan Rae  <rae@lyx.org>
9294
9295         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9296         "LyX" or the filename of the current buffer if it has one.  This is a
9297         modified form of John Levon's patch.
9298
9299         * XFormsView.C (setWindowTitle): also set icon title.
9300
9301         * LyXView.h (setWindowTitle): signature changed.
9302         * XFormsView.h (setWindowTitle): ditto.
9303
9304 2002-01-02  Juergen Vigna  <jug@sad.it>
9305
9306         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9307
9308 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9309
9310         * screen.C (topCursorVisible): introduce a temp var for
9311         text->cursor.row(), handle the case where this row is null. (kindo
9312         hachish)
9313
9314         * text2.C (setCursor): add a couple of asserts.
9315
9316         * paragraph.h (inset_iterator): add -> operator
9317
9318         * paragraph.[Ch] (autoDeleteInsets): remove member function
9319
9320         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9321         cursor pos correctly and handle inset deletion by itself.
9322         (insertErrors): move iterator declaration out of for expression
9323
9324         * lyxtextclass.C: add <algorithm>
9325
9326         * Makefile.am: added the new files to sources, removed layout.C
9327
9328         * layout.C: removed file
9329
9330         * layout.h: remove LYX_DUMMY_LAYOUT
9331
9332         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9333         layout.
9334
9335         * lyxlayout.[Ch]:
9336         * lyxtextclass.[Ch]:
9337         * lyxtextclasslist.[Ch]: new files
9338
9339         * include order changes to a lot of files, also changes because of
9340         the six new files.
9341
9342 2001-12-27  Juergen Vigna  <jug@sad.it>
9343
9344         * buffer.C (asciiParagraph): more fixes.
9345
9346         * tabular.C (ascii): make ascii export support export of only the
9347         data separated by a column-delimiter.
9348         (ascii): better support for ascii export.
9349
9350         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9351
9352 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9353
9354         * tabular_funcs.C: use a "using std::getline" instead of the
9355         previous fix from Angus (necessary for cxx + lyxstring)
9356
9357 2001-12-24  Juergen Vigna  <jug@sad.it>
9358
9359         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9360
9361         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9362         problems. First check a minipage also if we have some ert-contents
9363         (not only on par->size(), second set the right depth of the paragraph
9364         on the relink to the root-paragraph-list!
9365
9366         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9367         which then did not anymore update the main paragraphs on undo/redo!
9368
9369 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9370
9371         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9372         code. Support all font-changing funcs (even those which are not in
9373         menu currently). Support for reporting font settings in
9374         mathed (disabled until Andre provides a function on mathed's side).
9375
9376         * func_status.h (toggle): small helper function to set toggle
9377         state on a flag.
9378
9379 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9380
9381         * tabular_funcs.C: getline -> std::getline
9382
9383 2001-12-21  Juergen Vigna  <jug@sad.it>
9384
9385         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9386         accessed and could be 0 (I couldn't generate this but it seems
9387         Michael could!).
9388
9389 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9390
9391         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9392         * tabular_funcs.h: here and include iosfwd
9393
9394 2001-12-20  Juergen Vigna  <jug@sad.it>
9395
9396         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9397         inside inset but undo_par was.
9398
9399 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9400
9401         * Thesaurus.C: always include <config.h> in sources.
9402
9403         * Painter.h:
9404         * lyxlookup.h:
9405         * box.h: do not include <config.h> in header files
9406
9407         * text.C (paintLastRow): remove unused variable
9408
9409         * text.C (transformChar):
9410         (insertChar):
9411         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9412
9413         * Painter.C (text):
9414         * font.C (width): rewrite to use uppercase() instead of
9415         islower/toupper.
9416
9417         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9418
9419 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9420
9421         * lyxfind.C: clean up of find failure position change
9422
9423 2001-12-20  Juergen Vigna  <jug@sad.it>
9424
9425         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9426
9427         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9428         (TeXRow): added to LaTeX a single tabular row.
9429         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9430         (Latex): simplified and finally good LT-h/f support.
9431         (various_functions): just small adaptions for LT-h/f support.
9432
9433         * tabular_funcs.[hC]: added and moved here all not classfunctions
9434         of LyXTabular.
9435
9436 2001-12-19  Juergen Vigna  <jug@sad.it>
9437
9438         * tabular.[Ch]: better support for longtabular options (not finished
9439         yet!)
9440
9441 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9442
9443         * text.C (paintLastRow): use the label font instead of the font of
9444         the last character to compute the size of *_BOX. This makes more
9445         sense and avoids a crash with empty paragraphs.
9446         Use Painter::rectangle to draw EMPTY_BOX.
9447
9448 2001-12-19  Juergen Vigna  <jug@sad.it>
9449
9450         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9451         the paragraphs if the replaced paragraph is not the first one!
9452         Tried to delete not used paragraphs but does not work yet so for
9453         now it's inside #ifdef's and by default off!
9454
9455 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9456
9457         * MenuBackend.C: include "lyx_main.h" instead of declaring
9458         lastfiles (actually was declared as LastFiles* instead of a
9459         scoped_ptr).
9460
9461 2001-12-17  Juergen Vigna  <jug@sad.it>
9462
9463         * tabular.C (AppendColumn): applied John's fix
9464
9465 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9466
9467         * BufferView.h:
9468         * BufferView.C:
9469         * BufferView_pimpl.h:
9470         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9471
9472         * Makefile.am:
9473         * box.h: new start of class for above
9474
9475         * lyxfunc.C: ignore space-only minibuffer dispatches.
9476           Show the command name when it doesn't exist
9477
9478         * minibuffer.C: don't add empty lines to the history
9479
9480         * minibuffer.C: add a space on dropdown completion
9481
9482 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9483
9484         * text.C: fix line above/below drawing in insets
9485
9486 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9487
9488         * lyxlength.C (LyXLength): Initialize private variables.
9489
9490 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9491
9492         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9493         when inserting error insets.
9494
9495 2001-12-13  Juergen Vigna  <jug@sad.it>
9496
9497         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9498         actually sometimes the before-paragraph.
9499         (setUndo): don't clear the redostack if we're not actually undoing!
9500
9501 2001-12-06  Juergen Vigna  <jug@sad.it>
9502
9503         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9504         and fixed redoing of main paragraph, so we can use it now ;)
9505
9506         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9507
9508 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9509
9510         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9511         Juergen's request
9512
9513 2001-12-13  André Pönitz <poenitz@gmx.net>
9514
9515         * undostack.[Ch]:
9516         * undo_func.C: minor cleanup
9517
9518 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9519
9520         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9521         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9522         font in urw-fonts package which is marked as -urw-fontspecific and
9523         does not work (incidentally, changing the encoding in the
9524         fonts.dir of this package to -adobe-fontspecific fixes the
9525         problem).
9526
9527         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9528         is a crash when undoing first paragraph (Juergen, please take a
9529         look). THis does not mean the undo fix is wrong, just that it
9530         uncovers problems.
9531
9532         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9533         the (Paragraph*) version when needed instead of duplicating the
9534         code.
9535
9536         * text.C (workWidth): use Inset::parOwner to find out where the
9537         inset has been inserted. This is a huge performance gain for large
9538         documents with lots of insets. If Inset::parOwner is not set, fall
9539         back on the brute force method
9540
9541         * paragraph_pimpl.C (insertInset):
9542         * paragraph.C (Paragraph):
9543         (cutIntoMinibuffer): set parOwner of insets when
9544         inserting/removing them
9545
9546         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9547
9548 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9549
9550         * commandtags.h:
9551         * LyXAction.C:
9552         * lyx_main.C:
9553         * lyxfunc.C:
9554         * mathed/formulabase.C:
9555         * mathed/math_cursor.[Ch]:
9556         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9557
9558
9559 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9560
9561         * lyxlength.[Ch] (operator!=): new function
9562
9563 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9564
9565         * text.C (workWidth): use Inset::parOwner to find out where the
9566         inset has been inserted. This is a huge performance gain for large
9567         documents with lots of insets. If Inset::parOwner is not set, fall
9568         back on the brute force method
9569
9570         * paragraph_pimpl.C (insertInset):
9571         * paragraph.C (Paragraph):
9572         (cutIntoMinibuffer): set parOwner of insets when
9573         inserting/removing them
9574
9575         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9576
9577 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9578
9579         * tabular-old.C (getTokenValue):
9580         * tabular.C (getTokenValue):
9581         (write_attribute): new versions for LyXLength
9582         (everywhere): adjust the use of widths
9583
9584         * tabular.h: change the type of widths from string to LyXLength
9585
9586 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9587
9588         * paragraph.C: fixed missing line number count when exporting
9589         Environments to LaTeX file
9590
9591         * buffer.C: added informational message for checking line numbers.
9592
9593 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9594
9595         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9596         paragraph, do the 'double space' part, but not the 'empty
9597         paragraph' one.
9598
9599         * text.C (workWidth): small optimization
9600         (getLengthMarkerHeight): use minimal size for negative lengths.
9601
9602 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9603
9604         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9605
9606         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9607
9608 2001-12-11  André Pönitz <poenitz@gmx.net>
9609
9610         * FontLoader.C:
9611         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9612
9613 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9614
9615         * text2.C: keep selection on a setFont()
9616
9617 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9618
9619         * lyx_cb.C: another bv->text misuse, from insert label
9620
9621 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9622
9623         * kbsequence.h:
9624         * kbsequence.C: re-instate nmodifier mask
9625
9626 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9627
9628         * lyx_main.h: make lyxGUI private.
9629
9630 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9631
9632         * lyxfind.C: place the cursor correctly on failed search
9633
9634 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9635
9636         * text.C (getLengthMarkerHeight): for small heights, the arrows
9637         are not always on top/bottom of the text
9638         (drawLengthMarker): smaller arrows; take the left margin in
9639         account; draw also vfills.
9640         (paintFirstRow):
9641         (paintLastRow): remove special code for vfill and standard spaces,
9642         since everything is handled in drawLengthMarker now.
9643
9644 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9645
9646         * buffer.C (insertErtContents): try to handle font and language
9647         interaction a bit better.g
9648
9649         * ColorHandler.C (updateColor): change the hash to cover the whole
9650         LColor enum, ws cleanup
9651         (getGCLinepars): ditto
9652         (getGCLinepars): only lookup in the linecache once.
9653
9654 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9655
9656         * iterators.C (operator++): Make the iterator more robust
9657
9658         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9659         (John's patch)
9660         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9661
9662 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9663
9664         * lyxtext.h:
9665         * text.C: better added space drawing
9666
9667 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9668
9669         * LyXView.C:
9670         * BufferView2.C: fix layout combo update on inset unlock
9671
9672 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9673
9674         * Makefile.am: don't compile unused files
9675
9676 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9677
9678         * lyxfunc.C:
9679         * commandtags.h:
9680         * LyXAction.C: remove old LFUN_LAYOUTNO
9681
9682 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9683
9684         * paragraph_pimpl.h:
9685         * paragraph_pimpl.C: isTextAt() doesn't need font param
9686
9687 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9688
9689         * lyxlex.h:
9690         * lyxlex.C: little cleanup
9691
9692 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9693
9694         * BufferView_pimpl.C: fix insertAscii for insets
9695
9696 2001-12-05  Juergen Vigna  <jug@sad.it>
9697
9698         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9699         set the right font on the "multi" paragraph paste!
9700
9701 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9702
9703         * trans_decl.h:
9704         * trans_mgr.[Ch]:
9705         * trans.[Ch]:
9706         * lyxgluelength.C:
9707         * lyxlength.C: remove out-commented code.
9708
9709         * BufferView_pimpl:
9710         * CutAndPaste.C:
9711         * DepTable.C:
9712         * buffer.C:
9713         * chset.C:
9714         * lastfiles.C:
9715         * lyxlex.C:
9716         * lyxlex_pimpl.C:
9717         * lyxserver.C:
9718         * screen.C:
9719         * tabular-old.C:
9720         * tabular.C:
9721         * text.C:
9722         * trans_mgr.C:
9723         * vc-backend.C: change "while(" to "while ("
9724
9725         * lyxlength.[Ch]: add zero function to check if length is zero or
9726         not
9727         * lyxgluelength.C: use it
9728
9729 2001-12-05  Allan Rae  <rae@lyx.org>
9730
9731         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9732         Works for 2.95.3, from what I understand of Garst's reports this should
9733         work for other g++ versions.  We're screwed if the abs(int) definition
9734         changed between bugfix releases of gcc.
9735
9736 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9737
9738         * text.C: fix chapter label offset !
9739
9740 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9741
9742         * lyxtext.h:
9743         * text.C: fix hfill at end of line, clean up
9744
9745 2001-12-04  Juergen Vigna  <jug@sad.it>
9746
9747         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9748         that we force an update of the inset and it's owners if neccessary.
9749
9750 2001-12-03  Juergen Vigna  <jug@sad.it>
9751
9752         * text.C (rowLast): simplified code
9753
9754 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9755
9756         * lyxfunc.C: fix show options on timeout
9757
9758 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9759
9760         * screen.C (topCursorVisible): scroll half a page when the cursor
9761         reached top of bottom of screen
9762
9763 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9764
9765         * minibuffer.C: deactivate on loss of focus
9766
9767 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9768
9769         * vspace.[Ch] (operator!=): add operator.
9770
9771 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9772
9773         * BufferView_pimpl.C: refuse to open an inset when
9774         there's a selection.
9775
9776 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9777
9778         * BufferView_pimpl.C: allow to click on RHS of full row insets
9779
9780 2001-11-30  Juergen Vigna  <jug@sad.it>
9781
9782         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9783         insets for undo reasons.
9784
9785 2001-11-28  André Pönitz <poenitz@gmx.net>
9786
9787         * vspace.[Ch]: cosmetical changes
9788
9789 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9790
9791         * LyXAction.h:
9792         * LyXAction.C:
9793         * lyxfunc.h:
9794         * lyxfunc.C:
9795         * kbmap.h:
9796         * kbmap.C:
9797         * lyxrc.C:
9798         * kbsequence.h:
9799         * kbsequence.C: part re-write of old kb code
9800
9801         * Painter.C:
9802         * WorkArea.C: remove Lgb_bug_find_hack
9803
9804 2001-11-30  José Matos <jamatos@fep.up.pt>
9805
9806         * buffer.C (makeDocBookFile): add a comment to point a hack.
9807         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9808         Fixed a double write of labels.
9809
9810 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9811
9812         * LaTeX.C:
9813         * LaTeX.h Fixed bug in LaTeX class where it would not
9814         re-run latex if no depfiles were changed, but the .dvi was removed.
9815
9816 2001-11-28  André Pönitz <poenitz@gmx.net>
9817
9818         * all the files from the change on 2001/11/26:
9819         use lyx::layout_type instead of LyXTextClass::size_type
9820         use lyx::textclass_type instead of LyXTextClassList::size_type
9821
9822 2001-11-29  Juergen Vigna  <jug@sad.it>
9823
9824         * text.C: added support for paragraph::isFreeSpacing()
9825
9826         * buffer.C: same as above
9827
9828         * paragraph.h: inserted isFreeSpacing() function to enable
9829         FreeSpacing inside InsetERT.
9830
9831         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9832         of the paragraph's in the cut/copy buffer to 0!
9833
9834         * text2.C (removeRow): remove the assert as it can!
9835
9836         * lyxtext.h: added helper function firstRow returning firstrow and
9837         made firstrow private again.
9838
9839         * BufferView2.C (lockInset): don't relock if we're already locked!
9840
9841         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9842         the only paragraph.
9843         (removeRow): added Assert::(firstrow)
9844
9845         * debug.C: forgot to add INSETTEXT here.
9846
9847 2001-11-28  Juergen Vigna  <jug@sad.it>
9848
9849         * sp_spell.C (initialize): changed error text to more general
9850         spellchecker command use (not only ispell!)
9851
9852         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9853
9854         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9855
9856 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9857
9858         * vspace.C: initialise lyxgluelength on failure
9859
9860 2001-11-28  Allan Rae  <rae@lyx.org>
9861
9862         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9863         declaration & definition that looks like a function declaration.
9864
9865 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9866
9867         * BufferView2.C (copy):
9868         (copyEnvironment): do not clear the selection when doing a copy.
9869
9870         * text.C (paintFirstRow): compilation fix
9871
9872 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9873
9874         * tabular.C (Latex): correct line count when writing latex.
9875
9876 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9877
9878         * paragraph_pimpl.h:
9879         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9880           bug a bit
9881
9882 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9883
9884         * text.C:
9885         * LColor.h:
9886         * LColor.C: change vfillline->added_space
9887
9888         * text.C: add markers and text for added space
9889
9890         * vspace.C: fix comment
9891
9892 2001-11-28  André Pönitz <poenitz@gmx.net>
9893
9894         * paragraph.C: whitespace changes
9895         * all the other files from the change on 2001/11/26:
9896         change *::pos_type into lyx::pos_type
9897
9898 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9899
9900         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9901         language of the document when inserting error insets.
9902
9903 2001-11-26  André Pönitz <poenitz@gmx.net>
9904
9905         * BufferView_pimpl.[Ch]:
9906         *       CutAndPaste.C:
9907         * buffer.[Ch]:
9908         * lyxcursor.[Ch]:
9909         * lyxfind.C:
9910         * lyxfunc.C:
9911         * lyxrow.[Ch]:
9912         * paragraph.[Ch]:
9913         * paragraph_pimpl.[Ch]:
9914         * sp_spell.C:
9915         * text.C:
9916         * text2.C: reduce header dependencies, introduce type for positions
9917
9918 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9919
9920         * <various>: change to use Alert.h
9921
9922 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9923
9924         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9925         when encountering an unknown token.
9926         (readLyXformat2): Show an error message if there were unknown tokens.
9927
9928 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9929
9930         * BufferView2.C:
9931         * BufferView_pimpl.C:
9932         * buffer.C:
9933         * paragraph.h:
9934         * text.C:
9935         * text2.C: use par->isInset()
9936
9937 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9938
9939         * paragraph_pimpl.h:
9940         * paragraph_pimpl.C: cleanup
9941
9942 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9943
9944         * text2.C (removeRow):
9945         * text.C (setHeightOfRow): remove useless (and costly) call to
9946         getRow.
9947
9948 2001-11-20  Allan Rae  <rae@lyx.org>
9949
9950         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9951         Now need Inset*::checkInsertChar() to return true for appropriate
9952         cases so that the characters in the minibuffer will actually be
9953         inserted.
9954
9955 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9956
9957         * text.C: change the order of the includes.
9958         (workWidth): initialize it at once.
9959         (workWidth): make maxw unsigned
9960         (setHeightOfRow): remove unused variable (inset)
9961         (selectSelectedWord): remove unused variable (inset)
9962         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9963
9964 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9965
9966         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9967         server is not running.
9968         (openConnection):
9969         (closeConnection): add debug info when server is disabled.
9970
9971         * ColorHandler.C (getGCForeground): send debug message to GUI
9972         channel.
9973
9974         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9975
9976         * kbmap.C (bind): modify because return conventions of
9977         kb_sequence::parse have changed.
9978
9979         * kbsequence.C (parse): only ignore spaces and not any stupid
9980         control character. This avoids tests like s[i] <= ' ', which are
9981         guaranteed to fail with 8bit characters and signed chars.
9982         Change return code to string::npos when there have been no error
9983         (0 was a bad idea when error is at first character)
9984
9985 2001-11-14  José Matos  <jamatos@fep.up.pt>
9986
9987         * buffer.h:
9988         * buffer.C (simpleDocBookOnePar): removed unused argument.
9989
9990 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9991
9992         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9993         insets which are part of a word. Paragraph::isLetter takes care of
9994         that now. Use Paragraph::isInset to identify insets.
9995         (selectSelectedWord): do not test for hyphenation break.
9996
9997         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9998         that protected spaces are considered as spaces.
9999
10000         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10001         Inset::isLetter.
10002
10003 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * lyxserver.h:
10006         * lyxserver.C: fix it. and small cleanup.
10007
10008 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10009
10010         * BufferView_pimpl.C: use inline helpers
10011
10012         * LaTeXFeatures.h:
10013         * LaTeXFeatures.C: fix typos
10014
10015         * Spacing.h:
10016         * Spacing.C: move spacing_string into class
10017
10018         * ToolbarDefaults.C: move stuff into namespace anon
10019
10020         * layout.h: update enum
10021
10022         * lyxfunc.C: use better debug
10023
10024         * minibuffer.h: fix typo
10025
10026         * debug.h:
10027         * debug.C:
10028         * WorkArea.C: add and use Debug::WORKAREA
10029
10030         * lyxtext.h:
10031         * text.C:
10032         * text2.C: code re-organisation, inline helpers
10033
10034 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10035
10036         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10037         std::vector.empty().
10038
10039 2001-11-09  Allan Rae  <rae@lyx.org>
10040
10041         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10042         '\n's after tables.  Tabular and ERT inset work now makes this no
10043         longer necessary.
10044
10045 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10046
10047         * minibuffer.h:
10048         * minibuffer.C: fix crash, improve drop-down completion
10049
10050 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10051
10052         * lyxserver.h:
10053         * lyxserver.C: invalidate fd's when doing endPipe()
10054
10055 2001-11-08  José Matos  <jamatos@fep.up.pt>
10056
10057         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10058         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10059
10060         * paragraph.h:
10061         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10062
10063 2001-11-07  José Matos  <jamatos@fep.up.pt>
10064
10065         * buffer.h:
10066         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10067         const qualifier.
10068
10069         * buffer.C (sgmlOpenTag):
10070         * buffer.C (sgmlCloseTag): removed debug info.
10071
10072         * buffer.h (sgmlOpenTag):
10073         * buffer.h (sgmlCloseTag): made public.
10074
10075 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10076
10077         * buffer.C (saveParamsAsDefaults):
10078         * lyx_cb.C (MenuLayoutSave): remove
10079
10080         * LyXAction.C (init):
10081         * commandtags.h:
10082         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10083
10084 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10085
10086         * buffer.C (setPaperStuff): removed from here...
10087
10088         * bufferparams.C (setPaperStuff): ... and moved there.
10089
10090 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10091
10092         * minibuffer.h:
10093         * minibuffer.C:
10094         * XFormsView.C: add support for drop-down completion
10095
10096 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10097
10098         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10099         commands.
10100
10101 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10102
10103         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10104         disabled.
10105
10106 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * lyx_main.C: change ref to known bugs
10109
10110 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10111
10112         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10113         to work around older babel problems.
10114
10115 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10116
10117         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10118
10119 2001-10-24  Juergen Vigna  <jug@sad.it>
10120
10121         * tabular-old.C (ReadOld): below variable changes reflected.
10122
10123         * tabular.[Ch]: added ltType struct for longtable header/footer
10124         defines and changed all instances where they are used. Added
10125         future support for double top/bottom rows.
10126
10127 2001-10-24  José Matos  <jamatos@fep.up.pt>
10128
10129         * buffer.h (docbookHandleCaption):
10130         * buffer.C (docbookHandleCaption): removed unused function.
10131         (makeDocBookFile): moved docbook supported version to v4.1.
10132
10133 2001-10-24  José Matos  <jamatos@fep.up.pt>
10134
10135         * tabular.h:
10136         * tabular.C (docbookRow): new function to export docbook code of a row.
10137         (DocBook): now honors the longtable flags.
10138
10139 2001-10-23  José Matos  <jamatos@fep.up.pt>
10140
10141         * LaTeXFeatures.h:
10142         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10143         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10144
10145         * buffer.C (makeLinuxDocFile):
10146         (makeDocBookFile): reworked the preamble, more clean, and with
10147         support for lyx defined entities. Changed the document declaration
10148         to be more XML friendly.
10149
10150         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10151         if we need to output XML that should be done with a filter.
10152
10153 2001-10-22  Juergen Vigna  <jug@sad.it>
10154
10155         * sp_pspell.h (class PSpell): add alive function needed in the
10156         controller to see if the spellchecker could be started.
10157
10158 2001-10-22  Juergen Vigna  <jug@sad.it>
10159
10160         * buffer.C (insertStringAsLines): modify the font for inserting
10161         chars in certain conditions by calling checkInsertChar(font).
10162
10163 2001-10-19  Juergen Vigna  <jug@sad.it>
10164
10165         * text.C (workWidth): use getRow instead of wrong algorithm.
10166         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10167
10168 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10169
10170         * lyxserver.h:
10171         * lyxserver.C:
10172         * lyx_main.h:
10173         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10174
10175 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10176
10177         * text.C (workWidth): do not search for the exact row when
10178         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10179         optimization for big documents.
10180
10181 2001-10-18  Juergen Vigna  <jug@sad.it>
10182
10183         * text.C (workWidth): new function with added Inset * parameter.
10184
10185 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10186
10187         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10188
10189         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10190         change return type of getColumnNearX.
10191
10192
10193         * text.C (changeRegionCase): use uppercase/lowercase instead of
10194         toupper/tolower.
10195         (leftMargin):
10196         (rightMargin): simplify code by factoring out the uses of
10197         textclasslist.
10198         (labelFill):
10199         (numberOfHfills):
10200         (setHeightOfRow):
10201         (appendParagraph): use Paragraph::size_type
10202
10203 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10204
10205         * vspace.C (asLatexString): add a missing break
10206
10207 2001-10-15  Herbert Voss  <voss@perce.de>
10208
10209         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10210
10211 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10212
10213         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10214         is not available.
10215
10216 2001-10-10  André Pönitz <poenitz@gmx.net>
10217
10218         * lyxfunc.C: removed greek_kb_flag.
10219
10220 2001-10-10  Herbert Voss  <voss@perce.de>
10221
10222         * lyx_main.C: delete global string help_lyxdir.
10223
10224 2001-10-09  Herbert Voss  <voss@perce.de>
10225
10226         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10227
10228         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10229
10230         * lyx_main.C: added global string help_lyxdir.
10231
10232         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10233
10234 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10235
10236         * lyxrc.C (set_font_norm_type): support iso8859-4
10237
10238 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10239
10240         * LaTeX.C (deplog): add another regex for MikTeX
10241
10242 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10243
10244         * lyxrc.C (set_font_norm_type): support iso8859-3
10245
10246 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10247
10248         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10249
10250         * LaTeXFeatures.C: remove special case of french and index
10251
10252         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10253         before \begin{document}). This solves several incompatibilities.
10254
10255 2001-10-03  Garst Reese  <reese@isn.net>
10256
10257         * lyx_cb.C: change CheckTex error msg.
10258
10259 2001-10-03  José Matos  <jamatos@fep.up.pt>
10260
10261         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10262
10263 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10264
10265         * .cvsignore: update
10266
10267         * lyx_main.C (commandLineVersionInfo): use new style version info.
10268
10269         * buffer.C (writeFile):
10270         (makeLaTeXFile):
10271         (makeLinuxDocFile):
10272         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10273
10274         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10275
10276         * version.h: update to use stuff in version.C
10277
10278         * version.C.in: new file. Contains version information determined
10279         at compile time. This is a merging of version.h and
10280         version_info.h.in.
10281
10282 2001-10-03  Juergen Vigna  <jug@sad.it>
10283
10284         * BufferView_pimpl.C (update): don't change "dirty" status in
10285         updateInset call.
10286
10287 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10288
10289         * WorkArea.C (c-tor): re-position version string slightly.
10290
10291 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10292
10293         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10294         revert to previous code.
10295
10296         WorkArea.[Ch]: (show, destroySplash): methods removed.
10297
10298         WorkArea.C: rework code so that it's an amalgam of the codes before and
10299         after the splash screen was moved to WorkArea.
10300
10301 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10302
10303         * lyxrc.C (read):
10304         * vspace.C (inPixels):
10305         (lyx_advance):
10306         * kbmap.C (bind):
10307         * buffer.C (insertStringAsLines):
10308         (asciiParagraph): fix types to be large enough
10309
10310         * lyxlex_pimpl.h: change member status from short to int
10311
10312         * layout.h: fix type of endlabeltype
10313
10314         * kbmap.C (bind):
10315         * kbsequence.C (parse): change return type to string::size_type
10316
10317         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10318         variable
10319
10320         * Bullet.C (bulletSize):
10321         (bulletEntry): do not use short ints as parameters
10322
10323         * BufferView2.C (insertLyXFile): change a char to an int.
10324
10325         * WorkArea.C (WorkArea): remove unneeded floats in computation
10326
10327 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10328
10329         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10330
10331         * paragraph.C (asString): Do not ignore newline/hfill chars when
10332         copying to the clipboard.
10333
10334 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10335
10336         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10337         after a multi-line inset.
10338
10339 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10340
10341         * paragraph.C (validate): Set NeedLyXFootnoteCode
10342
10343 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10344
10345         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10346         and decrease-error to decrease.
10347
10348 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10349
10350         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10351         it more readable (should be equivalent)
10352
10353 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10354
10355         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10356
10357 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10358
10359         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10360         of a cursor (row, etc.) after a character has been deleted
10361         (deleteEmptyParagraphMechanism): call the method above on _all_
10362         cursors held by the LyXText when a double space has been
10363         detected/deleted.
10364
10365 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10366
10367         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10368         pixmap.
10369         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10370
10371         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10372         background. Use greyOut() and the new show() methods to toggle between
10373         the foreground and background. Add code to remove the splash after
10374         its initial showing.
10375
10376         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10377         (create_forms): no longer call Dialogs::showSplash.
10378
10379 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10380
10381         * .cvsignore: add version_info.h
10382
10383 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10384
10385         * version_info.h.in: new file
10386
10387         * Makefile.am: add version_info.h.in
10388
10389         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10390         version_info.h instead of VERSION_INFO
10391
10392 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10393
10394         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10395         The ERT inset now returns string().
10396
10397 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10398
10399         * lyxtext.h, text.C (selectNextWord): renamed as
10400         selectNextWordToSpellcheck.
10401
10402         * text.C (selectNextWordToSpellcheck): Modified to not select
10403         words inside an ERT inset.
10404
10405 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10406
10407         * lyx_cb.C (MenuLayoutSave): change a bit the question
10408
10409         * sp_base.h: include <sys/types.h>
10410
10411 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10412
10413         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10414
10415 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10416
10417         * several files: fix typos in user-visible strings
10418
10419 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10420
10421         * text2.C (pasteSelection): do not set the selection, since it
10422         will be cleared later. Actually, the intent was to fix the way the
10423         selection was set, but I figured rmoving the code was just as good.
10424
10425 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10426
10427         * FontLoader.C (available): Check if font is available without
10428         loading the font.
10429
10430 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10431
10432         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10433
10434 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10435
10436         * lyxrc.[Ch]: added display_graphics variable and associated code.
10437
10438 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10439
10440         * bufferparams.C (hasClassDefaults): new method. Returns true if
10441         the buffer parameters correspond to known class defaults
10442
10443 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10444
10445         * XFormsView.C (show): set minimum size to the main window.
10446
10447 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10448
10449         * text2.C (copySelection):
10450         (cutSelection):
10451         * lyxfind.C (LyXReplace):
10452         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10453         LyXText::selectionAsString.
10454
10455         * paragraph.C (asString): add "label" argument to the second form
10456
10457         * text2.C (selectionAsString): add "label" argument and pass it to
10458         Paragraph::asString.
10459
10460 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10461
10462         * lyx_main.C (commandLineHelp): remove version information
10463
10464 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10465
10466         * lyx_main.C: add -version commandline option
10467
10468 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10469
10470         * paragraph.h: make the optional constructor arg required instead.
10471         some modifications to other files because of this.
10472
10473         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10474
10475         * lyxserver.C (C_LyXComm_callback): make it static
10476
10477         * lyx_main.C (error_handler): make it static
10478
10479         * lyx_gui.C (LyX_XErrHandler): make it static
10480
10481         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10482
10483         * WorkArea.C: make the extern "C" methods static.
10484
10485         * Makefile.am (lyx_LDADD): simplify
10486
10487 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10488
10489         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10490         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10491
10492         * LyXAction.C (init):
10493         * lyxfunc.C (dispatch): associated code removal.
10494
10495 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10496
10497         * lyxfont.h (isSymbolFont): shut off warning
10498
10499         * text.C (setHeightOfRow):
10500         (getVisibleRow): fix crash with empty paragraphs which have a
10501         bottom line
10502
10503 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10504
10505         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10506         code.
10507
10508 2001-09-04  José Matos  <jamatos@fep.up.pt>
10509         * buffer.C
10510         * buffer.h
10511         * tabular.C (docbook): rename docBook method to docbook.
10512
10513 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10514
10515         * Makefile.am: add dependencies to main.o.
10516
10517 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10518
10519         * FontLoader.C (available): Return false if !lyxrc.use_gui
10520
10521 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10522
10523         * FontInfo.C (query):
10524         * converter.C (view):
10525         * importer.C (Import):
10526         * exporter.C (Export): Can not -> cannot.
10527
10528 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10529
10530         * BufferView_pimpl.C: allow to create index inset even if
10531           string is empty
10532
10533 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10534
10535         * buffer.C (getLists): replace boost::tie code with an explicit pair
10536         as boost::tie can break some compilers.
10537
10538         * iterators.h: Added a std:: declaration to the return type of
10539         ParIterator::size.
10540
10541 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10542
10543         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10544           case.
10545
10546 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10547
10548         * iterators.[Ch]: New files. Provide paragraph iterators.
10549
10550         * buffer.C (changeLanguage): Use paragraph iterators.
10551         (isMultiLingual): ditto
10552
10553         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10554
10555 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10556
10557         * FontLoader.C: Support for cmr font.
10558
10559 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10560
10561         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10562         (available): New method.
10563
10564         * FontInfo.C (getFontname): Use scalable fonts even when
10565         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10566         found.
10567
10568 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10569
10570         * converter.C (Formats::view): reverted! Incorrect fix.
10571
10572 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10573
10574         * converter.C (Formats::view): only output the -paper option
10575         if the dvi viewer is xdvi, thereby fixing bug #233429.
10576
10577 2001-08-23  Herbert Voss  <voss@perce>
10578
10579         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10580
10581 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10582
10583         * Spacing.h (Spacing): Set space to Default on in the default
10584         constructor.
10585
10586 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10587
10588         * vc-backend.h (RCS::versionString): add RCS to version
10589         (CVS::versionString): add CVS to version
10590
10591         * vc-backend.C (scanMaster): do not add CVS to version.
10592         (scanMaster): do not add RCS to version
10593
10594         * lyxvc.C (versionString): new method
10595
10596         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10597
10598 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10599
10600         * Spacing.C (set): initialize fval
10601
10602 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10603
10604         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10605         " or \.
10606
10607 2001-08-16  Juergen Vigna  <jug@sad.it>
10608
10609         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10610
10611 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10612
10613         * BufferView_pimpl.C:
10614         * figureForm.C:
10615         * lyxtext.h:
10616         * text2.C: setParagraph takes linespacing now
10617
10618 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10619
10620         * LyxAction.C: add internal LFUN_CITATION_INSERT
10621
10622         * LyXView.C: actually apply fix
10623
10624         * bufferlist.C: fix open non-existent file
10625
10626         * lyxfind.C: fix indentation
10627
10628         * lyxfunc.C: remove unneeded assert, fix typo
10629
10630 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10631
10632         * MenuBackend.C: use "Floatname List"
10633
10634 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10635
10636         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10637         when converting LaTeX layout to insetERT.
10638         Generate a non-collapsed float when reading old float
10639
10640 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10641
10642         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10643         ERT insets.
10644
10645 2001-08-13  Juergen Vigna  <jug@sad.it>
10646
10647         * text.C (fill): return 0 instead of 20 as this seems to be the more
10648         correct value.
10649
10650 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10651
10652         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10653         lyxrc.font_norm.
10654
10655 2001-08-13  Juergen Vigna  <jug@sad.it>
10656
10657         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10658         casesensitive off.
10659         (SearchBackward): comment out the unlocking of the inset_owner this
10660         should not be needed!
10661
10662 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10663
10664         * Many files: Remove inherit_language, and add latex_language
10665
10666         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10667         collapsible insets.
10668
10669 2001-08-10  Juergen Vigna  <jug@sad.it>
10670
10671         * text.C (prepareToPrint): fixed hfill-width in draw!
10672
10673         * BufferView2.C (selectLastWord): save the selection cursor as this
10674         now is cleared in the function LyXText::clearSelection!
10675
10676 2001-08-08  Juergen Vigna  <jug@sad.it>
10677
10678         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10679         BACKSPACE type functions.
10680
10681         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10682         is only cutted from the document but not put in the cut-buffer, where
10683         still the old stuff should be.
10684
10685         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10686
10687         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10688
10689         * tabular.C (SetWidthOfCell): fixed special case where the width
10690         was not updated!
10691         (LeftLine): handle '|' in align_special.
10692         (RightLine): ditto
10693         (LeftAlreadyDrawed): ditto
10694         (SetWidthOfCell): ditto
10695
10696 2001-08-07  Juergen Vigna  <jug@sad.it>
10697
10698         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10699
10700 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10701
10702         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10703         * lyxlex.[hC]: ditto
10704
10705 2001-08-06  Juergen Vigna  <jug@sad.it>
10706
10707         * text.C (getVisibleRow): fix up row clearing a bit.
10708
10709 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10710
10711         * minibuffer.C: make sure the X server sees the changes in the input.
10712
10713 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10714
10715         * paragraph.C (getFont): split into...
10716         (getLabelFont): this
10717         (getLayoutFont): and this
10718         * paragraph_pimpl.C (realizeFont): calling this
10719
10720         * text2.C (getFont): split into...
10721         (getLayoutFont): this
10722         (getLabelFont): and this
10723         (realizeFont): all three calling this
10724
10725         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10726         files where used.
10727
10728 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10729
10730         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10731
10732 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10733
10734         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10735         layouts from the Quote inset insertion.
10736
10737 2001-08-03  Juergen Vigna  <jug@sad.it>
10738
10739         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10740
10741         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10742         only if status not is already CHANGED_IN_DRAW (second level).
10743
10744         * text.C (draw): don't set the need_break_row when inside an
10745         InsetText LyXText.
10746
10747 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10748
10749         * buffer.C (parseSingleLyXformat2Token): handle more latex
10750         conversion cases.
10751
10752         * bufferview_funcs.[hC]: change function names to
10753         begin with small char, adjust other files.
10754
10755 2001-08-02  André Pönitz <poenitz@gmx.net>
10756
10757         * lyxfunc.C:
10758         BufferView_pimpl.C: remove broken special code for math-greek
10759
10760 2001-08-02  Juergen Vigna  <jug@sad.it>
10761
10762         * BufferView_pimpl.C (update): redone this function so that we
10763         update the text again if there was a CHANGE_IN_DRAW.
10764
10765         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10766         (drawFromTo): added a new internal bool which is used by draw() and
10767         redraw() function.
10768         (general): some cursor drawing problems fixed.
10769
10770 2001-08-01  Juergen Vigna  <jug@sad.it>
10771
10772         * lyxfind.C (LyXFind): fixed
10773         (SearchForward): ditto
10774         (SearchBackward): ditto
10775
10776         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10777         spurius drawing of the cursor in the main area.
10778
10779         * text2.C (status): small fix which could lead to a segfault!
10780         (clearSelection): remove unneeded BufferView param.
10781
10782 2001-08-01  André Pönitz <poenitz@gmx.net>
10783
10784         * lyxfunc.C: small change due to changed mathed interface
10785
10786 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10787
10788         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10789
10790 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10791
10792         * lyxfunc.c: fail gracefully if file doesn't exist
10793
10794         * LyXSendto.C:
10795         * buffer.C:
10796         * lyxfunc.C:
10797         * BufferView_pimpl.C: IsDirWriteable() proto changed
10798
10799         * LyXView.C: fix updateWindowTitle() to store the last title
10800
10801 2001-07-31  Juergen Vigna  <jug@sad.it>
10802
10803         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10804         the font (wrong since using of Paragraph::highestFontInRange).
10805
10806         * paragraph.C (highestFontInRange): added a default_size parameter.
10807
10808         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10809         (setHeightOfRow): reformat
10810
10811 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10812
10813         * converter.[hC] + affected files: move to (inital-char)lowercase
10814         function names.
10815
10816         * ParagraphParameters.C (ParagraphParameters): remove commented code
10817
10818         * PainterBase.[Ch]: remove commented code
10819
10820         * LaTeXFeatures.h: add "bool floats" for float.sty
10821
10822         * LaTeXFeatures.C (LaTeXFeatures): init floats
10823         (require): handle float
10824         (getPackages): do it with floats
10825
10826 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10827
10828         * BufferView_pimpl.C (Dispatch): improve handling of
10829         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10830
10831         * commandtags.h: #include lyxfont.h here temporarily to avoid
10832         keybinding bug.
10833
10834         * bufferlist.h: include LString.h here.
10835
10836 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10837
10838         * text2.C (getStringToIndex): new method.
10839
10840 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10841
10842         * *: Reduced header file dependencies all over.
10843
10844 2001-07-30  Baruch Even  <baruch@lyx.org>
10845
10846         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10847
10848 2001-07-29  Baruch Even  <baruch@lyx.org>
10849
10850         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10851
10852 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10853
10854         * ParameterStruct.h (endif): add a default constructor to make
10855         sure that all variables is initialized.
10856
10857         * ParagraphParameters.C (ParagraphParameters): adjust
10858
10859 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10860
10861         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10862         index; also, check that there is something to index, and that it
10863         does not span over several paragraphs.
10864         (doubleClick): use WHOLE_WORD_STRICT for double click.
10865
10866         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10867
10868         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10869         scheme.
10870
10871 2001-07-26  Baruch Even  <baruch@lyx.org>
10872
10873         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10874         an InsetFig figure, backwards compatible reading of old figure code.
10875
10876 2001-07-27  Juergen Vigna  <jug@sad.it>
10877
10878         * text2.C: font.realize function adaption.
10879
10880         * text.C (draw): add a warnings lyxerr text if needed.
10881
10882         * layout.C: font.realize function adaption.
10883
10884         * language.C: add inherit_language and implement it's handlings
10885
10886         * bufferview_funcs.C (StyleReset): remove language parameter from
10887         font creation (should be language_inherit now).
10888
10889         * bufferparams.C (writeFile): handle ignore_language.
10890
10891         * paragraph.C (getFontSettings): the language has to be resolved
10892         otherwise we have problems in LyXFont!
10893
10894         * lyxfont.C (lyxWriteChanges): added document_language parameter
10895         (update): removed unneeded language parameter
10896
10897         * paragraph.C (validate): fixed wrong output of color-package when
10898         using interface colors for certain fonts in certain environments,
10899         which should not seen as that on the final output.
10900
10901 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10902
10903         * BufferView_pimpl.C:
10904         * Thesaurus.h:
10905         * Thesaurus.C:
10906         * Makefile.am:
10907         * commandtags.h:
10908         * LyXAction.C: add thesaurus support
10909
10910         * lyxfind.h:
10911         * lyxfind.C: add "once" parameter, for thesaurus, to not
10912           move to the next match
10913
10914 2001-07-26  Juergen Vigna  <jug@sad.it>
10915
10916         * lyxfont.C (realize): honor ignore_language too!
10917         (resolved): ditto.
10918
10919         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10920
10921         * text.C (draw): one place more for ignore_language to not draw
10922         itself!
10923
10924 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10925
10926         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10927
10928 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10929
10930         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10931         the minipage conversion problem.
10932
10933 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10934
10935         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10936         insert an inset.
10937
10938 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10939
10940         * BufferView.h: don't forward declare WorkArea
10941
10942         * BufferView.C: don't include WorkArea.h
10943
10944 2001-07-25  André Pönitz <poenitz@gmx.net>
10945
10946         * commandtags.h:
10947         * LyXAction.C:
10948         * lyxfunc.C:  new LFUN 'math-space'
10949
10950         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10951
10952 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10953
10954         * text2.C (toggleInset): call open/close
10955
10956 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10957
10958         * lyxfunc.C (dispatch): add debug for the disabled case
10959
10960         * font.C (buttonText): make similar to rectText
10961
10962         * buffer.C (readInset): comment out parsing of insetlist and
10963         insttheorem
10964
10965         * PainterBase.C (rectText): small correction
10966
10967         * BufferView_pimpl.C: comment out insettheorem and insetlist
10968         * LyXAction.C: ditto
10969         * commandtags.h: ditto
10970
10971 2001-07-24  Juergen Vigna  <jug@sad.it>
10972
10973         * text.C (draw): honor the ignore_language.
10974
10975         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10976
10977 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10978
10979         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10980         char inset.
10981
10982 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10983
10984         * lyxtext.h: remove unused (and unimplemented) methods
10985
10986 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10987
10988         * text.C (getVisibleRow): honor background color
10989
10990         * PainterBase.h:
10991         * Painter.h: remove default color argument for fillRectangle
10992
10993         * text.C (backgroundColor): new method
10994
10995 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10996
10997         * text.C (getVisibleRow): adjust
10998
10999         * font.[Ch] (rectText): new method, metrics
11000         (buttonText): new method, metrics
11001
11002         * PainterBase.[hC]: make rectText and buttonText always draw and take
11003         fewer paramteres.
11004
11005 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11006
11007         * ToolbarDefaults.C (read):
11008         * MenuBackend.C (read): allow escaping in all strings
11009
11010         * BufferView_pimpl.C (insertAndEditInset): new method.
11011         (Dispatch): use insertAndEditInset whenever appropriate.
11012
11013         * BufferView_pimpl.C (insertNote): removed
11014
11015         * BufferView_pimpl.C (smartQuote): new method, moved from
11016         BufferView; if an insetquote cannot be inserted, insert a '"'
11017         character instead.
11018
11019         * BufferView2.C: remove insertCorrectQuote();
11020
11021         * lyxfunc.C (getStatus): Add support for all remaingin
11022         inset-insert lfuns.
11023
11024         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11025
11026         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11027         command (necessary to pass " as parameter of self-insert.
11028
11029         * text.C (selectWordWhenUnderCursor):
11030         (selectWord): add word_location parameter
11031         (selectWordWhenUnderCursor): same + remove special code for word
11032         boundary.
11033         (selectNextWord): use kind() to guess type of insetspecialchar,
11034         not latex().
11035
11036         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11037         (insertErtContents): create ert insets as collapsed.
11038         (readInset): better compatibility code for Info inset.
11039
11040 2001-07-20  Juergen Vigna  <jug@sad.it>
11041
11042         * lyxfunc.C (dispatch): use always LyXFind now!
11043
11044         * text2.C (init): add a reinit flag so that the LyXText can be
11045         reinited instead of deleted and reallocated (used in InsetText).
11046
11047         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11048
11049         * text.C: ditto
11050
11051         * text2.C: ditto
11052
11053 2001-07-18  Juergen Vigna  <jug@sad.it>
11054
11055         * text.C (selectNextWord): handle insets inside inset by calling
11056         always the bv->text functions so that we can go up the_locking_inset!
11057
11058         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11059         in strange locations when inside an inset!
11060
11061         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11062         handling to include insets.
11063
11064         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11065
11066 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11067
11068         * LyXAction.C (init):
11069         * commandtags.h:
11070         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11071         LIGATURE_BREAK, since the name is so stupid.
11072
11073 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11074
11075         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11076         InsetInfos.
11077
11078         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11079
11080         * sp_form.[Ch]: remove.
11081
11082         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11083
11084         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11085         InsetInfo.
11086
11087         * src/buffer.C (readInset): ditto.
11088
11089 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11090
11091         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11092         menuSeparator(), endOfSentenceDot(), ldots() and
11093         hyphenationPoint(), which are therefore removed.
11094         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11095
11096         * LyXAction.C (init):
11097         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11098
11099         * paragraph.C (getWord): removed.
11100
11101         * BufferView_pimpl.C (Dispatch): use last word or selection for
11102         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11103
11104         * lyx_main.C (queryUserLyXDir): do not ask before creating
11105         user_dir, except if it has been named explicitely.
11106
11107 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11108
11109         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11110         a document of zero size.
11111
11112 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11113
11114         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11115         approriately in the c-tor and in require().
11116         (getPackages): output the appropriate LaTeX for natbib support.
11117
11118         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11119         variables "use_natbib" and "use_numerical_citations" when reading the
11120         LyX file.
11121         (readInset): read the various natbib cite commands.
11122         (validate): white-space change.
11123
11124         * bufferparams.[Ch]: new variables "bool use_natbib" and
11125         "bool use_numerical_citations".
11126         (writeFile): output them in the LyX file.
11127
11128 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11129
11130         * lyxfunc.C (getStatus): add support for all the inset insertion
11131         commands.
11132
11133         * text2.C (insertInset):
11134         * paragraph.C (insetAllowed):
11135         * BufferView_pimpl.C (insertInset): update to take in account the
11136         renaming of insertInsetAllowed
11137
11138         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11139
11140         * text2.C (getInset): new method. returns inset at cursor position.
11141
11142         * BufferView_pimpl.C (Dispatch): changes because of this.
11143
11144         * LyXAction.C (init): rename open-stuff to inset-toggle.
11145
11146         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11147
11148         * text2.C (toggleInset): renamed from openStuff; use
11149         Inset::open().
11150
11151 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11152
11153         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11154
11155         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11156
11157 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11158
11159         * buffer.C (readLyXformat2): Add filename to the error dialog
11160
11161 2001-07-18  Juergen Vigna  <jug@sad.it>
11162
11163         * tabular.C (GetCellNumber): put an assert here instead of the check!
11164
11165 2001-07-17  Juergen Vigna  <jug@sad.it>
11166
11167         * BufferView_pimpl.C (toggleSelection): adapted too.
11168
11169         * text.C (selectNextWord): adapted for use with insets.
11170         (selectSelectedWord): ditto
11171
11172 2001-07-17  Juergen Vigna  <jug@sad.it>
11173
11174         * sp_spell.C (PSpell): fix initialitation order.
11175
11176 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * paragraph.C: spacing
11179
11180 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11181
11182         * sp_spell.C: repair language selection for pspell
11183
11184 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11185
11186         * lyxfunc.h: change more methods to begin with lower char.
11187
11188 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11189
11190         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11191         for unknown layouts.
11192
11193 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11194
11195         * buffer.C (readLyXformat2): Generate an error dialog if there are
11196         unknown layouts.
11197
11198 2001-07-16  Juergen Vigna  <jug@sad.it>
11199
11200         * sp_spell.C: always compile ISpell part.
11201
11202         * lyxrc.C: added use_pspell entry and it's handling.
11203
11204 2001-07-13  Juergen Vigna  <jug@sad.it>
11205
11206         * sp_spell.C: removed double includes.
11207
11208 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11209
11210         Consistent use of Lsstream.h:
11211         * Lsstream.h: added using std::stringstream for consistencies sake.
11212
11213         * buffer.C: removed using std::stringstream
11214
11215         * lyxfont.C (stateText):
11216         * paragraph.C (asString):
11217         * text.C (selectNextWord, selectSelectedWord):
11218         * text2.C (setCounter):
11219         * vspace.C (asString, asLatexString):
11220         std::ostringstream -> ostringstream.
11221
11222 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11223
11224         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11225         * commandtags.h: add LFUN_HELP_ABOUTLYX
11226         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11227
11228 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11229
11230         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11231         cursorToggle()
11232         * lyx_gui_misc.C: remove spellchecker
11233         * lyxfunc.C: showSpellchecker
11234         * sp_base.h: added
11235         * sp_ispell.h: added
11236         * sp_pspell.h: added
11237         * sp_spell.C: added
11238         * sp_form.[Ch]: removed
11239         * spellchecker.[Ch]: removed
11240
11241 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11242
11243         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11244         is set.
11245         (simpleTeXSpecialChars): Simply print the input character without
11246         any special translation if pass_thru is set.
11247
11248         * layout.h: Added bool pass_thru to layout class for being able to
11249         implement pass through of a paragraph for Literate Programming.
11250
11251         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11252         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11253         * layout.C (Read): add "passthru" to list of layout tags and add
11254         code to set the pass_thru boolean when it is read.
11255
11256 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11257
11258         * trans_decl.h: remove allowed from KmodInfo
11259
11260         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11261         remove allowed code
11262         (Load): adjust
11263
11264         * paragraph_pimpl.C (erase): use boost::prior
11265
11266         * Painter.C (text): use data() instead of c_str() when length is
11267         also provided.
11268         * WorkArea.C (putClipboard): ditto
11269         * font.h (width): ditto
11270
11271         * BufferView2.C: use it-> instead of (*it). for iterators
11272         * texrow.C: ditto
11273         * paragraph_pimpl.C: ditto
11274         * paragraph.C: ditto
11275         * minibuffer.C: ditto
11276         * language.C: ditto
11277         * kbmap.C: ditto
11278         * encoding.C: ditto
11279         * counters.C: ditto
11280         * converter.C: ditto
11281         * chset.C: ditto
11282         * Variables.C: ditto
11283         * TextCache.C: ditto
11284         * MenuBackend.C: ditto
11285         * LyXAction.C: ditto
11286         * LColor.C: ditto
11287         * FloatList.C: ditto
11288         * DepTable.C: ditto
11289         * ColorHandler.C (LyXColorHandler): ditto
11290
11291 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11292
11293         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11294
11295         * text2.C (openStuff): reintroduce this method (which had been
11296         nuked in NEW_INSETS frenzy).
11297
11298         * lyxfunc.C (Dispatch): when an action has not been handled, use
11299         its name in the error message, not its number.
11300
11301         * paragraph.C (inInset): change method name to begin with lowercase.
11302
11303         * undo_funcs.C:
11304         * text2.C: updates because of this.
11305
11306 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11307
11308         * ToolbarDefaults.C (add): add spaces in error message
11309
11310 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11311
11312         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11313         (readLyXformat2): rename return_par to first_par, use lyxlex's
11314         pushToken and remove the manual push handling.
11315         (parseSingleLyXformat2Token): add another ert comp. variable:
11316         in_tabular, rename return_par to first_par. handle newlines better
11317
11318 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11319
11320         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11321
11322 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11323
11324         * text2.C (getParFromID): removed
11325
11326         * buffer.C (getParFromID): new method moved form lyxtext.
11327         * BufferView2.C (insertErrors): adjust
11328         (setCursorFromRow): adjust
11329         * BufferView_pimpl.C (restorePosition): adjust
11330         * lyxfunc.C (Dispatch): adjust
11331         * undo_funcs.C (textUndo): adjust
11332         (textRedo): adjust
11333         (textHandleUndo): adjust
11334         (textHandleUndo): adjust
11335
11336 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11337
11338         * buffer.C: up' the LYX_FORMAT
11339
11340         * lyxfont.h: turn NO_LATEX on as default
11341
11342         * buffer.C (insertErtContents): new methods of tex style compability.
11343         (parseSingleLyXformat2Token): use it several places.
11344         * tabular.C (OldFormatRead): and here
11345
11346 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11347
11348         * text2.C: remove some commented code.
11349         reindent file.
11350
11351         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11352         * trans.C: changes because of the above.
11353
11354 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11355
11356         * text2.C (setCounter): Fix counters bug with bibliography layout.
11357
11358 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11359
11360         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11361         own member functions
11362         (simpleTeXSpecialChars): ditto
11363
11364 2001-07-06  Juergen Vigna  <jug@sad.it>
11365
11366         * a lot of files: changed the access to LyXText::status and the
11367         call of undo-functions.
11368
11369         * undo.[Ch]: added a inset_id to the undo informations.
11370
11371         * undo_funcs.[Ch]: added and moved here all undo functions.
11372
11373         * lyxtext.h: give the status enum a weight, made status_ a private
11374         variable and made accessor functions for it, removed the whole bunch
11375         of undo-functions as they are now in their own file, make some
11376         functions publically available. Added function ownerParagraph with
11377         int parameter.
11378
11379         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11380         made InInset() a const function, added getParFromID() function.
11381
11382         * buffer.[Ch]: added const version for inset_iterator functions,
11383         added getInsetFromID() function.
11384
11385         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11386         changed undo functions for new version.
11387
11388 2001-07-05  Juergen Vigna  <jug@sad.it>
11389
11390         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11391         unknow mechanism does not call the proper constructor but only this
11392         one also if I request the other!?
11393
11394 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11395
11396         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11397
11398         * text2.C (LyXText): use initialization lists.
11399
11400         * lyxtext.h (Selection): initialize set_ and mark_
11401         (init): remove method
11402
11403 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11404
11405         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11406
11407 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11408
11409         * screen.[Ch]: change method names to begin with lowercase
11410
11411         * BufferView_pimpl.C (updateScrollbar): simplify further and
11412         hopefully make it a bit faster.
11413
11414 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11415
11416         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11417         calling directly xforms functions.
11418
11419         * Painter.C (Painter):
11420         * lyx_cb.C (MenuWrite):
11421         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11422         fl_display.
11423
11424         * lyx_gui.C: remove bogus guiruntime extern declaration.
11425
11426 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11429         in NEW_INSETS
11430         (redoDrawingOfParagraph): ditto
11431         (redoParagraphs): ditto
11432         (cutSelection): don't create a object for CutAndPaste use the
11433         static method directly
11434         (pasteSelection): ditto
11435
11436         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11437         LyXview (+ rename)
11438
11439 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11440
11441         * modifications to some other files because of this.
11442
11443         * Makefile.am (lyx_SOURCES): add XFormsView
11444
11445         * XFormsView.[Ch]: new files
11446
11447         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11448         the main window. Move the gui dependent stuff to XFormsView
11449
11450 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11451
11452         * tabular.C (GetCellInset): update cur_cell also in the row/col
11453         version of this function.
11454
11455         * lyxfunc.C: no need to include figure_form.h here.
11456
11457         * FontLoader.h:
11458         * lyxfunc.h:
11459         * lyxscreen.h:
11460         * text2.C:
11461         * lyxvc.C: no need to include forms.h here.
11462
11463 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11464
11465         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11466
11467         * lyxfunc.C (Dispatch):
11468         * Spacing.C (set):
11469         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11470         constructor argument.
11471
11472 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11473
11474         * paragraph.C (Paragraph): dont't clear, and just set layout.
11475         (makeSameLayout): use params's copy contructor.
11476
11477         * ParagraphParameters.[Ch] (makeSame): delete method
11478
11479 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11480
11481         * Variables.[Ch]: fix indentation, rename set to isSet
11482
11483 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11484
11485         * lyxfunc.C (Dispatch): fix typo
11486
11487 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11488
11489         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11490         upper_bound.
11491
11492         * bufferlist.C: include assert.h for emergencyWrite().
11493
11494 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11495
11496         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11497           give up at last (bug #425202) !
11498
11499 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11500
11501         * lyx_gui_misc.C:
11502         * sp_form.h:
11503         * sp_form.C:
11504         * spellchecker.h:
11505         * spellchecker.C: strip spellchecker options and bring up
11506           preferences tab instead
11507
11508 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11509
11510         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11511         the istringstream constructor
11512
11513 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11514
11515         * paragraph.C (getLayout): fix return value
11516
11517         * paragraph.h: do not declare getLayout as inline.
11518
11519         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11520
11521 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11522
11523         * lyxcursor.h (operator<): new func
11524         (operator>): new func
11525         (operator>=): new func
11526         (operator<=): new func
11527
11528         * text.C (changeCase): use selection.start and selection.end
11529         (changeRegionCase): require from to be <= to. Require par to be a
11530         valid paragraph.
11531
11532         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11533
11534 2001-06-27  Juergen Vigna  <jug@sad.it>
11535
11536         * text.C (cursorLeftOneWord): changed to return the cursor and added
11537         overlay with BufferView * parameter which calls this one.
11538         (getWord): added
11539         (selectWord): use new getWord function.
11540         (changeCase): renamed from changeWordCase as and extended to work
11541         also on selections.
11542
11543         * lyxtext.h: added enum word_location
11544
11545         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11546         changeCase as this operates now also on selections.
11547
11548 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11549
11550         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11551
11552         * many files: send debug output to Debug::INFO instead of
11553         Debug::ANY.
11554
11555         * converter.C (View):
11556         (Convert):
11557         (Move): send debug output to Debug::FILES instead of console.
11558
11559 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11560
11561         * lyxfunc.C (getStatus): use func_status
11562
11563         * func_status.h: new header, describing the results of
11564         LyXFunc::getStatus;
11565
11566         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11567         LFUN_MATH_HALIGN.
11568
11569 2001-06-25  The LyX Project  <jug@sad.it>
11570
11571         * buffer.C (sgmlOpenTag):
11572         (sgmlCloseTag):
11573         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11574
11575 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11576
11577         * text2.C: remove some dead code
11578
11579         * tabular.C (GetCellInset): store the last cell checked (gotten)
11580
11581         * tabular.h: add the helper for the speedup
11582
11583         * lyxtext.h: remove some dead code
11584
11585 2001-06-26  The LyX Project  <Asger>
11586
11587         * paragraph.C: Change export to LaTeX of alignment to
11588         \begin{center} and family for better roundtrip work with reLyX.
11589
11590         * Tune the math drawing a bit.
11591
11592 2001-06-25  The LyX Project  <Asger>
11593
11594         * LColor.C (LColor): New color for math background. New color
11595         for buttons.
11596
11597 2001-06-25  The LyX Project  <jug@sad.it>
11598
11599         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11600
11601         * lyxfunc.C (Open):
11602         * bufferlist.C (newFile): do not restrict to files ending with
11603         .lyx
11604
11605         * BufferView_pimpl.C (MenuInsertLyXFile):
11606
11607 2001-06-24  The LyX Project  <jug@sad.it>
11608
11609         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11610         of compare_no_case
11611
11612 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * lyxtext.h: rename most methods to begin with a small char.
11615         Lots of changes because of this.
11616
11617         * paragraph.C (Paragraph): do not call fitToSize
11618         (erase): call Pimpl::erase
11619         (insertChar): call Pimpl::insertChar
11620         (insertInset): call Pipl::insertInset
11621         (breakParagraph): do not call fitToSize
11622         (breakParagraphConservative): do not call fitToSize
11623         (fitToSize): remove method
11624
11625         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11626
11627 2001-06-24  The LyX Project  <Asger>
11628
11629         * Fix Qt compilation^2
11630
11631 2001-06-24  The LyX Project  <jug@sad.it>
11632
11633         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11634         depthHook(getDepth()-1).
11635
11636         * paragraph.h:
11637         * ParagraphParameters.h:
11638         * ParameterStruct.h: change type of depth to unsigned int ==
11639         depth_type. Many adaptations to other files before of that.
11640
11641 2001-06-24  The LyX Project  <Asger>
11642
11643         * Fix Qt compilation.
11644
11645 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11646
11647         * paragraph.h: renamed several methods to begin with small letter.
11648         several changes to many parts of the code because of this.
11649
11650 2001-06-23  The LyX Project  <jug@sad.it>
11651
11652         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11653         rewritten to discard all double spaces when KeepEmpty is off
11654         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11655         to only handle newlines but not fiddle with spaces and friends.
11656
11657         * lyxfunc.C (MenuNew): when doing 'new from template', use
11658         template_path as default directory
11659
11660 2001-06-23  The LyX Project  <Asger>
11661
11662         * Clean-up of header file includes all over
11663         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11664
11665 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11666
11667         * paragraph.h: renamed from lyxparagraph.h
11668
11669 2001-06-23  Asger  <lyx@violet.home.sad.it>
11670
11671         * Buffer.h: Removed Buffer::resize
11672         * BufferList.h: Removed BufferList::resize
11673         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11674         the document lazily when we change the width, or the font settings.
11675
11676 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11677
11678         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11679
11680 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11681
11682         * buffer.h: remove out of date comment
11683
11684 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11685
11686         * lyxscreen.h:
11687         * screen.C: fix "theoretical" GC leak
11688
11689 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11690
11691         * LaTeX.C (scanAuxFile):
11692         (deplog): remove trailing \r when reading stream (useful under
11693         win32)
11694
11695 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11696
11697         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11698         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11699         and BufferView::theLockingInset(Inset*), so should use them and not
11700         access bv_->text->the_locking_inset directly.
11701
11702         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11703
11704 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11705
11706         * Makefile.am:
11707         * tex-defs.h: remove old unused file
11708
11709 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11710
11711         * BufferView_pimpl.C: fix typo, remove minibuffer message
11712           when buffer has loaded
11713
11714 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11715
11716         * lyxfunc.C (Dispatch): use stringstream
11717         (MenuNew): use stringstream
11718         (Open): use stringstream
11719
11720         * importer.C (Import): use stringstream
11721
11722         * bufferview_funcs.C (CurrentState): use stringstream
11723
11724         * LaTeX.C (run): use stringstream
11725
11726         * BufferView_pimpl.C (savePosition): use stringstream
11727         (restorePosition): use stringstream
11728         (MenuInsertLyXFile): use stringstream
11729
11730 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11731
11732         * BufferView.C:
11733         * Bullet.C:
11734         * ColorHandler.C:
11735         * FontInfo.C:
11736         * FontLoader.C:
11737         * LColor.C:
11738         * LaTeXFeatures.C:
11739         * Painter.C:
11740         * gettext.C:
11741         * lyx_gui_misc.C:
11742         * lyxserver.C:
11743         * vspace.C: removed // -*- C++ -*- as first line.
11744
11745         * lyxfind.h:
11746         * version.h: added // -*- C++ -*- as first line.
11747
11748 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11749
11750         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11751
11752         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11753         of string
11754
11755 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11756
11757         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11758         of floats.
11759
11760 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11761
11762         * gettext.C: include LString.h even when --disable-nls is on.
11763
11764 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11765
11766         * converter.h (Get): changed argument type from int to
11767         FormatList::size_type to avoid unnecessary conversion.
11768
11769         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11770         before using it.
11771
11772 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11773
11774         * gettext.h: include LString.h even when --disable-nls is on.
11775
11776 2001-06-07  Juergen Vigna  <jug@sad.it>
11777
11778         * text.C (BreakAgain): subst spaces with tabs.
11779
11780         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11781         (resizeInsetsLyXText): set force on resizeLyXText.
11782
11783 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11784
11785         * gettext.h (gettext_init):
11786         (locale_init): use a real definition instead of a macro
11787
11788 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11789
11790         * Bufferview_pimpl.C:
11791         * LColor.h:
11792         * LColor.C: further lcolor tidies
11793
11794 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11795
11796         * BufferView_pimpl.C (updateScrollbar): simplify.
11797
11798         * BufferView2.C: don't include insets/insetinfo.h, change
11799         prototype for insertInset and call the Pimpl version. let
11800         updateInset call Pimpl version.
11801
11802         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11803         gotoInset to BufferView::Pimpl
11804
11805 2001-06-01  Juergen Vigna  <jug@sad.it>
11806
11807         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11808         inside a LockingInset (is the update needed at all?).
11809
11810 2001-05-31  Juergen Vigna  <jug@sad.it>
11811
11812         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11813         here not the old one otherwise how should we compare it afterwards
11814         if it's the same!
11815
11816 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11817
11818         * lyxfont.C:
11819         * tabular.C:
11820         * tabular-old.C:
11821         * FontInfo.C: bring C functions into global namespace when
11822         necessary
11823
11824 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11825
11826         * LString.h: make sure config.h has been loaded before LString.h.
11827
11828         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11829         (one for each char read by EatLine!).
11830
11831         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11832         variables.
11833
11834 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11835
11836         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11837         to the same as the par we break from
11838
11839 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11840
11841         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11842
11843         * MenuBackend.C (expand): also create menu entries for wide
11844         versions of the floats.
11845
11846         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11847
11848         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11849
11850         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11851         frontends/Makefile.am
11852
11853         * text2.C: adjust
11854         * text.C: adjust
11855
11856
11857         * tabular.C (getTokenValue): add std::
11858
11859         * tabular-old.C (getTokenValue): add std::
11860         (getTokenValue): ditto
11861         (getTokenValue): ditto
11862
11863         * screen.C (ToggleSelection): adjust
11864
11865         * lyxtext.h: put selection cursors inside a Selection struct.
11866
11867         * lyxfunc.C (moveCursorUpdate): adjust
11868
11869         * lyxfont.C (latexWriteStartChanges): add std::
11870
11871         * lyxfind.C: adjust
11872
11873         * font.h: delete with(char const *, LyXFont const &)
11874
11875         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11876
11877         * FontInfo.C (getFontname): add std::
11878
11879         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11880         (workAreaButtonPress): adjust
11881         (tripleClick): adjust
11882         (update): adjust
11883         (moveCursorUpdate): adjust
11884         (Dispatch): adjust
11885
11886         * BufferView2.C (gotoInset): adjust
11887
11888 2001-05-30  Juergen Vigna  <jug@sad.it>
11889
11890         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11891         to check pspell I add this as default as I now have new pspell
11892         libraries and they seem to use this.
11893
11894 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11895
11896         * text2.C (CutSelection): make the cursor valid before the call to
11897         ClearSelection.
11898
11899 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11900
11901         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11902         relied on 0 terminated strings and other horrors. Bug found due to
11903         the new assert in lyxstring!
11904
11905         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11906         KP_ keys.
11907
11908 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11909
11910         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11911         to latinkeys.bind.
11912
11913         * lyxfunc.C (processKeySym): change method of getting to the
11914         self-insert char.
11915
11916         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11917         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11918         * BufferView_pimpl.[Ch]: here as private methods.
11919
11920 2001-05-28  Juergen Vigna  <jug@sad.it>
11921
11922         * text.C (SetHeightOfRow): added the update() call again as it is
11923         needed to initialize inset dimensions!
11924
11925 2001-05-16  Juergen Vigna  <jug@sad.it>
11926
11927         * text2.C (SetCharFont): Add new function with BufferView * and
11928         bool toggleall parameters for setting insets internal fonts.
11929         (SetFont): Freeze the undo as we may change fonts in Insets and
11930         all this change should be inside only one Undo!
11931
11932         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11933         setting font's in insets as for them we have the SetFont function!
11934
11935 2001-05-15  Juergen Vigna  <jug@sad.it>
11936
11937         * text2.C (ClearSelection): to be sure we REALLY don't have any
11938         selection anymore!
11939
11940         * tabular.C (TeXCellPreamble): fixed the left border problem for
11941         multicolumn cells.
11942
11943 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11944
11945         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11946         dependancy file
11947
11948 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11949
11950         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11951         LFUN_BREAKPARAGRAPH.
11952
11953         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11954         help test to "internal only", similar for LFUN_INSERT_URL
11955
11956         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11957         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11958         auto_region_delete and deadkeys.
11959
11960 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11961
11962         * LColor.h:
11963         * LColor.C: remove some dead entries, tidy a little
11964
11965 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11966
11967         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11968         commented code.
11969         (Dispatch): implement LFUN_ESCAPE
11970
11971         * commandtags.h: add LFUN_ESCAPE
11972
11973         * LyXAction.C (init): add entry for LFUN_ESCAPE
11974
11975         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11976         Remove commented code.
11977         (insertNote): moved here
11978         (open_new_inset): moved here
11979
11980         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11981         BufferView_pimpl
11982
11983 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11984
11985         * kbmap.C (findbinding): clean it up and make it work correctly.
11986
11987         * lyx_main.C (init): do not pass argc and argv as parameters
11988
11989 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11990
11991         * buffer.C: fix path for OS/2 & Win32
11992
11993         * lyx_gui.C:
11994         * lyx_main:
11995         * lyx_main.C: Added os:: class.
11996
11997         * os2_defines.h: update
11998
11999 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12000
12001         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12002         better by trying again with reduced state.
12003
12004 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12005
12006         * lyxrc.C (read): print error about invalid key sequence only when
12007         debugging (because not all latinX keysyms are known to some X
12008         servers)
12009
12010         * kbsequence.C (getiso): add a few std:: qualifiers
12011         (getiso): comment out extra return statement.
12012
12013 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12014
12015         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12016         handling.
12017         (Dispatch): enhance the accent inset a bit. (not perfect)
12018
12019 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12020
12021         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12022
12023 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12024
12025         * bufferlist.C (emergencyWrite): fix assert() call
12026
12027 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12028
12029         * text.C (InsertChar): Added trivial patch to only send the "you
12030         can not do multiple spaces this way" message once during a
12031         session.
12032
12033 2001-05-08  Baruch Even  <baruch@lyx.org>
12034
12035         * Makefile.am: Changed order of libraries to get LyX to link properly
12036         with the gnome frontend.
12037
12038 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12039
12040         * LaTeXFeatures.h: add a std:: qualifier
12041
12042 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12043
12044         * paragraph.C (String): use stringstream
12045
12046 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12047
12048         * paragraph.C (writeFile): remove footflag arg
12049
12050         * buffer.C (makeLaTeXFile): use stringstream
12051         (latexParagraphs): remove footnot gurba
12052
12053         * LaTeXFeatures.C (getPackages): use stringstream
12054         (getMacros): likewise
12055         (getTClassPreamble): likewise
12056         (getFloatDefinitions): new method
12057
12058         * paragraph.C (writeFile): reindent
12059         (Erase): reindent
12060
12061         * WorkArea.h: revert the xpos + etc changes.
12062
12063         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12064
12065         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12066
12067         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12068         (pasteSelection): likewise
12069         * text2.C (CreateUndo): likewise
12070
12071 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12072
12073         * minibuffer.C (peek_event): temporarily reduce the functionality
12074         of the minibuffer (to allow args on lfuns)
12075
12076         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12077         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12078
12079         * buffer.C (readInset): add compability reading of old float
12080         lists, add reading of new style float list.
12081         (readInset): avoid reevaluation of inscmd.getCmdName()
12082         (getLists): reindent
12083
12084         * MenuBackend.C (MenuItem): implement parsing of
12085         md_floatlistinsert and md_floatinsert.
12086         (expand::LastFiles): move initalizaton of iterators out of loop,
12087         avoid reevaluation.
12088         (expand::Documents): introduce typdedef vector<string> Strings,
12089         and use it.
12090         (expand::ExportFormats): introduce typedef vector<Format const *>
12091         Formats, and use it.
12092         (expand): implement FloatListInsert and FloatInsert.
12093
12094         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12095         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12096         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12097
12098         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12099         handling.
12100         (Dispatch::LFUN_FLOAT_LIST): implement
12101
12102 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12103
12104         * LaTeX.C (run): Fix problem with --export code.
12105
12106 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12107
12108         * BufferView.[Ch] (workarea): removed.
12109         (getClipboard) new method; wrapper for workarea()->getClipboard()
12110
12111         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12112         bug.
12113
12114         * WorkArea.h (width, height, xpos, ypos): These methods all
12115         returned the dimensions of the work_area sub-area of WorkArea,
12116         resulting in a position error if the WorkArea were resized. Now
12117         return the dimensions of the entire WorkArea.
12118
12119         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12120
12121 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12122
12123         * LaTeX.C (deplog): correct the syntax of regex reg1
12124
12125 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12126
12127         * undo.C: remove !NEW_INSETS cruft
12128
12129 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12130
12131         * text2.C: remove !NEW_INSETS cruft
12132
12133         * text.C: remove !NEW_INSETS cruft
12134
12135         * tabular.C: remove !NEW_INSETS cruft
12136
12137         * spellchecker.C: remove !NEW_INSETS cruft
12138
12139         * lyxtext.h: remove !NEW_INSETS cruft
12140
12141         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12142
12143         * lyxfunc.C: remove !NEW_INSETS cruft
12144
12145         * lyxfind.C: remove !NEW_INSETS cruft
12146
12147         * lyx_cb.C: remove !NEW_INSETS cruft
12148
12149         * figureForm.C: remove  !NEW_INSETS cruft
12150
12151         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12152
12153         * buffer.[Ch]: remove !NEW_INSETS cruft
12154
12155         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12156
12157         * CutAndPaste.C: remove !NEW_INSETS cruft
12158
12159         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12160
12161         * BufferView2.C: remove !NEW_INSETS cruft
12162
12163         * BufferView.h: remove !NEW_INSETS cruft
12164
12165 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12166
12167         * Lsstream.h: include LString.h before the sstream headers to
12168         fix problem with gcc 2.95.3 and lyxstring
12169
12170 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12171
12172         * lyx_main.C: add using directives when needed for C functions
12173         declared in std:: namespace.
12174
12175 2001-04-27  Juergen Vigna  <jug@sad.it>
12176
12177         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12178         (SetHeightOfRow): comment out the update call should not be needed!
12179
12180 2001-04-13  Juergen Vigna  <jug@sad.it>
12181
12182         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12183         (LyXTabular): tried to minimize operator= operations (and realized
12184         hopfully Lars wish).
12185
12186 2001-04-27  Juergen Vigna  <jug@sad.it>
12187
12188         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12189
12190 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12191
12192         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12193
12194         * buffer.C (readInset): hack to make listof algorithm work
12195
12196         * BufferView_pimpl.C: hack to make listof algorithm work
12197
12198 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12199
12200         * LyXAction.C: removed all !NEW_INSETS cruft
12201         (init): moved lfun_item in method
12202
12203         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12204
12205 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12206
12207         * BufferView2.C (theLockingInset): white space.
12208
12209 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12210
12211         * minibuffer.C: include <iostream>
12212
12213         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12214
12215         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12216
12217         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12218
12219         * text.[Ch] (TransposeChars): new method
12220
12221 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12222
12223         * call message directly through LyXView instead of through LyXFunc
12224         * BufferView2.C: adjust
12225         * BufferView_pimpl.C: adjust
12226         * FontLoader.C: adjust
12227         * buffer.C: adjust
12228         * bufferview_funcs.C: adjust
12229         * converter.C: adjust
12230         * figureForm.C: adjust
12231         * importer.C: adjust
12232         * lyx_cb.C: adjust
12233         * lyx_gui_misc.C: adjust
12234         * lyxfunc.C: adjust
12235         * lyxvc.C: adjust
12236         * text2.C: adjust
12237         + more files in subdirs
12238
12239         * lyxparagraph.h (size): move up int file
12240         (GetLayout): ditto
12241
12242         * adjust all uses of Assert to lyx::Assert.
12243
12244         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12245         lyxfunctional in namespace lyx
12246         * layout.C (hasLayout): ditto
12247         (GetLayout): ditto
12248         (GetLayout): ditto
12249         (delete_layout): ditto
12250         (NumberOfClass): ditto
12251         * converter.C (GetFormat): ditto
12252         (GetNumber): ditto
12253         (Add): ditto
12254         (Delete): ditto
12255         (SetViewer): ditto
12256         * bufferlist.C (getFileNames): ditto
12257         (emergencyWriteAll): ditto
12258         (exists): ditto
12259         (getBuffer): ditto
12260         * MenuBackend.C (hasSubmenu): ditto
12261         (hasMenu): ditto
12262         (getMenu): ditto
12263         * BufferView_pimpl.C (getInsetByCode): ditto
12264
12265 2001-04-18  Juergen Vigna  <jug@sad.it>
12266
12267         * vspace.C (asLatexString): fixed the 100% problem.
12268
12269 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12270
12271         * lyxfunc.C (Dispatch):
12272         * minibuffer.C:
12273         * minibuffer.h: add a few std:: qualifiers
12274
12275 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12276
12277         * minibuffer.[Ch]: reimplement so that commands is initiated and
12278         run from lyxfunc, simplified som handling, and made the completion
12279         and history code for complete. wip.
12280
12281         * lyxfunc.C (processKeySym): call message
12282         (miniDispatch): new temporary method
12283         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12284         (LFUN_MESSAGE): implement
12285         (LFUN_MESSAGE_PUSH): implement
12286         (LFUN_MESSAGE_POP): implement
12287         (initMiniBuffer): the initial/defualt minibuffer message.
12288
12289         * lyxfont.[Ch]: inline some more getters
12290
12291         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12292
12293         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12294
12295         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12296         (AutoSave): use LFUN_MESSAGE
12297         (Reconfigure): ditto
12298
12299         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12300
12301         * figureForm.C: use LFUN_MESSAGE
12302
12303         * converter.C (runLaTeX): use LFUN_MESSAGE
12304
12305         * bufferview_funcs.C: use LFUN_MESSAGE
12306         (Melt): ditto
12307         (changeDepth): ditto
12308
12309         * bufferparams.h: use boost::
12310
12311         * bufferlist.h: inherit privately from noncopyable
12312
12313         * bufferlist.C (loadLyXFile): remove some commented code.
12314
12315         * buffer.C (runChktex): use LFUN_MESSAGE
12316
12317         * ShareContainer.h: inherit privately from noncopyable
12318
12319         * ParagraphParameters.[hC] (depth): inline it.
12320
12321         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12322         methods.
12323         (message): new method
12324         (messagePush): ditto
12325         (messagePop): ditto
12326         (show): init minibuffer
12327         (showState): direct call
12328
12329         * LaTeX.[Ch]: inherit privately from noncopyable
12330         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12331         instead of WriteStatus.
12332
12333         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12334
12335         * BufferView_pimpl.C (buffer): don't init minibuffer
12336         (workAreaButtonPress): use LFUN_MESSAGE
12337         (workAreaButtonRelease): ditto
12338         (savePosition): ditto
12339         (restorePosition): ditto
12340         (MenuInsertLyXFile): ditto
12341         (workAreaExpose): don't init minibuffer
12342         (update): remove commented code, simplify
12343
12344         * BufferView2.C (openStuff): use LFUN_MESSAGE
12345         (toggleFloat): ditto
12346         (menuUndo): ditto
12347         (menuRedo): ditto
12348         (copyEnvironment): ditto
12349         (pasteEnvironment): ditto
12350         (copy): ditto
12351         (cut): ditto
12352         (paste): ditto
12353         (gotoInset): ditto
12354         (updateInset): remove some commented code
12355
12356         * lastfiles.h: inherit privately from noncopyable
12357         * layout.h: ditto
12358         * lyx_gui.h: ditto
12359         * lyx_main.h: ditto
12360         * lyxlex.h: ditto
12361         * lyxlex_pimpl.h: ditto
12362
12363         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12364         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12365         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12366
12367         * LyXAction.h: inherit privately from noncopyable, add methods
12368         func_begin, func_end, returning iterators to the func map.
12369
12370         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12371         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12372         (func_begin): new method
12373         (func_end): new method
12374
12375         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12376         and not)
12377         (copySelection): ditto
12378         (pasteSelection): ditto
12379
12380         * BufferView.C: whitespace change
12381         * BufferView.h: inherit privately from noncopyable
12382
12383 2001-04-16  Allan Rae  <rae@lyx.org>
12384
12385         * tabular-old.C (l_getline):
12386         * spellchecker.C (sc_check_word):
12387         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12388         an unrecognised preprocessor directive.  So ensure they're wrapped.
12389
12390 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12391
12392         * src/exporter.C (Export): Give an error message when path to file
12393         contains spaces.
12394
12395 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12396
12397         * LaTeX.C (deplog): Always check that foundfile exists.
12398
12399 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12400
12401         * lyx_main.h:
12402         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12403
12404 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12405
12406         * tabular.[Ch] (getLabelList): implement new method
12407
12408         * minibuffer.h: comment ouf setTiimer
12409
12410         * minibuffer.C (ExecutingCB): constify res
12411         (peek_event): constify s
12412         (Set): constify ntext
12413         (Init): constify nicename
12414
12415         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12416
12417         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12418         (savePosition): use two params to Minibuffer::Set
12419         (restorePosition): ditto
12420
12421 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12422
12423         * lyx_main.C: include language.h
12424
12425         * Makefile.am (lyx_main.o): add language.h
12426
12427 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12428
12429         * exporter.C:
12430         * paragraph.C:
12431         * screen.C:
12432         * tabular.C:
12433         * CutAndPaste.C: include gettext.h
12434
12435         * lyxfont.h: remove old hack with ON and OFF.
12436
12437         * lyxparagraph.h:
12438         * lyxfont.h: do not include language.h...
12439
12440         * BufferView2.C:
12441         * LaTeXFeatures.C:
12442         * Painter.C:
12443         * bufferview_funcs.C:
12444         * font.C:
12445         * lyxfont.C:
12446         * text.C:
12447         * text2.C:
12448         * trans_mgr.C:
12449         * paragraph.C: ... but do it here instead
12450
12451 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12452
12453         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12454
12455         * tabular.C: small reformat
12456
12457         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12458         NEW_INSETS version
12459         (GetChar): ditto
12460         (BreakParagraph): ditto
12461         (SetOnlyLayout): ditto
12462         (SetLayout): ditto
12463
12464         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12465         with one arg less.
12466
12467         * lastfiles.C: removed most using decl, add std:: where needed
12468
12469         * buffer.C: ws changes
12470
12471         * MenuBackend.C (class compare_format): put into anon namespace
12472         (expand): constify label, names, action, action2
12473         (expand):
12474
12475         * text.C (SingleWidth): constify font
12476         (IsBoundary): constify rtl2
12477         (GetVisibleRow): constify ww
12478
12479         * LaTeX.C (deplog): constify logfile
12480
12481         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12482         start_x, end_x
12483         (workAreaExpose): constify widthChange, heightChange
12484
12485         * lyxrow.C (par): moved
12486         (height): moved
12487         (next): moved
12488         * lyxrow.h: as inlines here
12489
12490         * lyxfont.h (shape): moved from lyxfont.C
12491         (emph): moved from lyxfont.C
12492
12493         * lyxfont.C (LyXFont): use initialization list for all
12494         constructors
12495         (shape): move to lyxfont.h as inline
12496         (emph): move to lyxfont.h as inline
12497
12498
12499 2001-04-04  Juergen Vigna  <jug@sad.it>
12500
12501         * vspace.C: had to include stdio.h for use of sscanf
12502
12503 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12504
12505         * BufferView.h:
12506         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12507         independent of xforms.
12508
12509 2001-04-02  Juergen Vigna  <jug@sad.it>
12510
12511         * spellchecker.C: fixed namespace placing!
12512
12513 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12514
12515         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12516         the LyXParagraph * is 0.
12517
12518 2001-03-29  Juergen Vigna  <jug@sad.it>
12519
12520         * vspace.C: added support for %, c%, p%, l%.
12521         (stringFromUnit): added helper function.
12522         (asLatexString): changed to give right results for the %-values.
12523
12524         * buffer.C: convert the widthp in a width%.
12525
12526 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12527
12528         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12529         figureForm.[Ch].
12530
12531         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12532         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12533
12534         * lyx_cb.[Ch]: see above.
12535
12536         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12537         form1.[Ch].
12538
12539         * form1.[Ch]:
12540         * lyx.[Ch]: replaced by figure_form.[Ch].
12541
12542         * lyx_gui.C:
12543         * lyx_gui_misc.C:
12544         * lyxfunc.C: changed headers associated with above changes.
12545
12546 2001-03-27  Juergen Vigna  <jug@sad.it>
12547
12548         * BufferView_pimpl.C: set the temporary cursor right!
12549
12550 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12551
12552         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12553
12554 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12555
12556         * LString.h: removed "using std::getline"!
12557
12558         * BufferView_pimpl.C (Dispatch): changes due to changes in
12559         InsetInclude::Params.
12560
12561         * buffer.C (tag_name): removed redundant break statements as they were
12562         producing lots of warnings with my compiler.
12563
12564 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12565
12566         * LString.h: add "using std::getline" when using the real <string>.
12567
12568 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12569
12570         * buffer.C: removed bitset usage.
12571         PAR_TAG moved to an anonymous name space.
12572         (tag_name): new funtion, also in the anonymous namespace.
12573         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12574         (makeDocBookFile): clean code. Completed transition from string arrays
12575         to string vectors.
12576         (SimpleDocBookOnePar): code clean.
12577
12578 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12579
12580         * tabular.C: add some comments.
12581
12582 2001-03-22  Juergen Vigna  <jug@sad.it>
12583
12584         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12585         compatibility read a bit and fixed bug with minipage in different
12586         depth.
12587
12588 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12589
12590         * buffer.C (pop_tag): removed.
12591         (push_tag): removed.
12592         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12593         array replaced with vector. Added support for CDATA sections.
12594         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12595         at any nest level.
12596         (makeDocBookFile): XML conformant declaration of CDATA section,
12597         fixed bug related to <emphasis> in the first paragraph char.
12598         (sgmlOpenTag): exclude empty tags.
12599         (sgmlCloseTag): ditto.
12600
12601         * buffer.h (pop_tag): removed.
12602         (push_tag): removed.
12603
12604 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12605
12606         * language.h (Languages): added size_type and size().
12607
12608 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12609
12610         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12611         response on compability reading of minipages. One probliem is that
12612         the old usage of minipages was «flertydig»
12613
12614         * several files here and in subdirs: don't use static at file
12615         scope use anon namespaces instead.
12616
12617 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12618
12619         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12620         LaTeX output. This is necessary for Literate document
12621         processing.
12622
12623 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12624
12625         * buffer.C: insert hfill when needed.
12626
12627         * tabular.C (l_getline): use string::erase, small whitespace change.
12628
12629         * BufferView_pimpl.C: try the anon namespace.
12630         * WorkArea.C: ditto
12631
12632 2001-03-16  Juergen Vigna  <jug@sad.it>
12633
12634         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12635         otherwise it won't open options-dialogs.
12636
12637         * buffer.C: honor pextraWidth(p) on converting minipages.
12638
12639         * tabular.C (l_getline): changed the functions to strip trailing \r.
12640
12641 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12642
12643         * BufferView_pimpl.C:
12644         * minibuffer..C: added "using SigC::slot" declaration.
12645
12646 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12647
12648         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12649
12650         * text2.C: ditto
12651
12652         * text.C: ditto
12653
12654         * paragraph.C: ditto
12655
12656         * lyxtext.h: NO_PEXTRA
12657
12658         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12659
12660         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12661         * ParameterStruct.h: ditto
12662         * ParagraphParameters.h: ditto
12663         * lyxparagraph.h: ditto
12664
12665 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12666
12667         * buffer.C: add compability for minipage alignment.
12668         (latexParagraphs): remove unwanted pextra check.
12669
12670         * several files: remove CXX_WORKING_NAMESPACES
12671
12672         * buffer.C (pop_tag): tie is in namespace boost
12673
12674         * BufferView.h: noncopyable is in namespace boost
12675         * lyxlex.h: ditto
12676         * lyx_main.h: ditto
12677         * lyx_gui.h: ditto
12678         * layout.h: ditto
12679         * lastfiles.h: ditto
12680         * bufferlist.h: ditto
12681         * ShareContainer.h: ditto
12682         * LyXView.h: ditto
12683         * LyXAction.h: ditto
12684         * LaTeX.h: ditto
12685
12686 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12687
12688         * Merging changes from BRANCH_MVC back into HEAD.
12689
12690         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12691
12692 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12693
12694         * BufferView_pimpl.C: change from intl.C
12695
12696         * combox.h:
12697         * combox.C:
12698         * Makefile.am: move combox.*
12699
12700         * form1.h:
12701         * form1.C:
12702         * lyx_gui.C:
12703         * intl.h:
12704         * intl.C: remove dialog (covered by prefs)
12705
12706 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12707
12708         * lyxfunc.C (Dispatch): removed redundant break statement.
12709
12710 2001-03-14  Juergen Vigna  <jug@sad.it>
12711
12712         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12713
12714 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12715
12716         * buffer.C: add hack to fix compability reading of minipages.
12717
12718 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12719
12720         * buffer.C (getLists): Cleanup.
12721
12722 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12723
12724         * lyxfont.C (update): don't honor toggleall on font size.
12725
12726 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * bmtable.c:
12729         * bmtable.h:
12730         * Makefile.am: moved to frontends/xforms/
12731
12732         * lyx_gui_misc.C:
12733         * lyxfunc.C:
12734         * BufferView_pimpl.C: changes for moved mathpanel
12735
12736 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12737
12738         * gettext.h: fix gettext_init() in --disable-nls
12739
12740 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12741
12742         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12743
12744 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * lyx.C:
12747         * lyx.h: strip external form
12748
12749 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12750
12751         * BufferView_pimpl.C: add comment, destroySplash()
12752
12753 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12754
12755         * BufferView_pimpl.C:
12756         * LyXAction.C:
12757         * buffer.C:
12758         * commandtags.h:
12759         * lyxfunc.C: use re-worked insetinclude
12760
12761 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12762
12763         * buffer.C: add using std::stringstream.
12764
12765         * lyx_cb.C: readd using std::ios.
12766
12767         * buffer.C: add using std::map.
12768
12769         * BufferView_pimpl.C: add using std::vector.
12770
12771         * ShareContainer.h: add std:: to swap.
12772
12773         * buffer.h: add some typedefs
12774         * buffer.C (getLists): use them
12775         (getLists): renamed from getTocList.
12776         add a counter for the different float types and use it in the
12777         generated string.
12778         (getLists): use the same counter for the NEW_INSETS and the "non"
12779         NEW_INSETS
12780
12781         * lyx_cb.h: remove unused items, includes, using etc.
12782
12783         * ShareContainer.h: remove some commented code, add more comments
12784         and "documentation".
12785
12786 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12787
12788         * buffer.C (getTocList): make the list also when NEW_INSETS is
12789         defined.
12790
12791         * buffer.h: remove TocType
12792
12793         * buffer.C (getTocList): change to return a map<string,
12794         vector<TocItem> >, implement for dynamic number of list.
12795
12796         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12797         * text2.C (PasteSelection): adjust
12798         * CutAndPaste.C (pasteSelection): adjust
12799
12800         * FloatList.C (FloatList): update from the new_insets branch.
12801         * Floating.[Ch]: ditto
12802         * LaTeXFeatures.C: ditto
12803         * buffer.C: ditto
12804         * lyxlex_pimpl.C: ditto
12805
12806         * paragraph.C (Last): remove when NEW_INSETS is defined.
12807
12808         * other file: changes because of the above.
12809
12810 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12811
12812         * lyxparagraph.h: rename next to next_, previous to previous_,
12813         make them private for NEW_INSETS. Rename Next() to next(),
12814         Previous() to previous().
12815
12816         * other files: changes because of the above.
12817
12818 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12819
12820         * BufferView.h:
12821         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12822         problem.
12823
12824 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12825
12826         * main.C (main): pass lyx_localedir to gettext_init().
12827
12828         * gettext.h: remove locale_init and gettext_init macros
12829
12830         * gettext.C (locale_init): new function
12831         (gettext_init): new function
12832
12833         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12834         setlocale().
12835
12836 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12837
12838         * Moved credits to frontends:
12839         * credits.[Ch]: removed
12840         * credits_form.[Ch]: removed
12841         * lyx_gui_misc.C: remove credits stuff
12842         * Makefile.am:
12843
12844 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12845
12846         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12847
12848         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12849         unneeded destructor.
12850
12851         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12852         a standalone pointer again.
12853
12854         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12855
12856 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12857
12858         * Makefile.am:
12859         * filedlg.h:
12860         * filedlg.C:
12861         * LyXAction.C:
12862         * ToolbarDefaults.C:
12863         * bufferlist.C:
12864         * commandtags.h:
12865         * form1.C:
12866         * form1.h:
12867         * lyx_cb.C:
12868         * lyx_cb.h:
12869         * lyxfunc.h:
12870         * lyxfunc.C:
12871         * BufferView_pimpl.C: use new file dialog in GUII
12872
12873         * lyx_cb.h:
12874         * lyx_cb.C: remove LayoutsCB to Toolbar
12875
12876 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12877
12878         * ShareContainer.h (get): add std:: qualifier
12879
12880 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12881
12882         * ShareContainer.h: define a proper ShareContainer::value_type
12883         type (and use typename to please compaq cxx)
12884
12885 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12886
12887         * lyxparagraph.h: move serveral local vars to
12888         ParameterStruct/ParagraphParameters., use ShareContainer in
12889         FontTable., make vars in FontTable private and add getter and
12890         setter.
12891
12892         * paragraph.C: changes because of the above.
12893
12894         * lyxfont.h: remove copy constructor and copy assignment. (the
12895         default ones is ok), move number inside FontBits. move inlines to
12896         lyxfont.C
12897
12898         * lyxfont.C: add number to initializaton of statics, move several
12899         inlines here. constify several local vars. some whitespace
12900         cleanup. Dont hide outerscope variables.
12901
12902         * Spacing.h: add two new constructors to match the set methods.
12903
12904         * ShareContainer.h: new file, will perhaps be moved to support
12905
12906         * ParameterStruct.h: new file
12907
12908         * ParagraphParameters.h: new file
12909
12910         * ParagraphParameters.C: new file
12911
12912         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12913         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12914
12915         * BufferView_pimpl.C: ParagraphParameter changes.
12916         * buffer.C: Likewise.
12917         * bufferview_funcs.C: Likewise.
12918         * text.C: Likewise.
12919         * text2.C: Likewise.
12920
12921 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12922
12923         * lyxfind.C (LyXReplace): do not redefine default argument in
12924         implementation.
12925         (IsStringInText): ditto
12926         (SearchForward): ditto
12927         (SearchBackward): ditto
12928
12929 2001-03-06  Juergen Vigna  <jug@sad.it>
12930
12931         * lyxfind.C (IsStringInText): put parentes around expressions.
12932
12933 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12934
12935         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12936
12937 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12938
12939         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12940
12941         * stl_string_fwd.h: add comment
12942
12943         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12944
12945         * tabular.h:
12946         * tabular.C: remove unused DocBook methods
12947
12948         * intl.C:
12949         * language.C:
12950         * paragraph.C:
12951         * buffer.C:
12952         killed DO_USE_DEFAULT_LANGUAGE
12953
12954 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12955
12956         * lyx_gui.C: do not include language.h.
12957
12958         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12959         arguments in function implementation.
12960
12961 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12962
12963         * BufferView_pimpl.C: add <ctime>
12964
12965 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12966
12967         * BufferView_pimpl.C: add using std::find_if
12968
12969 2001-02-27  José Matos  <jamatos@fep.up.pt>
12970
12971         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12972         by OnlyPath.
12973
12974 2001-02-11  José Matos  <jamatos@fep.up.pt>
12975
12976         * buffer.C (makeDocBookFile): command styles now have a parameter as
12977         "title" by default.
12978
12979 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12980
12981         * layout_forms.[Ch]: removed
12982         * lyx_cb.[Ch]: out character
12983         * lyx_gui.C: out character
12984         * lyx_gui_misc.C: out character
12985         * bufferview_funcs.C: : out character,
12986         added toggleall as parameter in ToggleAndShow
12987
12988 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12989
12990         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12991
12992         * text2.C (SetCurrentFont): Disable number property at boundary.
12993
12994 2001-02-26  Juergen Vigna  <jug@sad.it>
12995
12996         * lyxfunc.C (getStatus): added a string argument override function so
12997         that this is correctly called from LyXFunc::Dispatch if it contains a
12998         do_not_use_argument which is used!
12999         (Dispatch): added check for "custom" export and call appropriate func.
13000
13001 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13002
13003         * lyxrc.C: Add language_command_local, language_use_babel and
13004         language_global_options.
13005
13006         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13007
13008         * buffer.C (makeLaTeXFile): Use language_use_babel and
13009         language_global_options.
13010
13011 2001-02-23  Juergen Vigna  <jug@sad.it>
13012
13013         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13014         which works with LyXText and putted it inside BufferView. Here now we
13015         only call for that part the BufferView::Dispatch() function.
13016
13017         * BufferView.C (Dispatch): added.
13018
13019         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13020         functions which needs to use a LyXText over from LyXFunc.
13021         (MenuInsertLyXFile): added
13022         (getInsetByCode): added
13023         (moveCursorUpdate): added
13024         (static TEXT): added
13025
13026 2001-02-22  Juergen Vigna  <jug@sad.it>
13027
13028         * BufferView_pimpl.C (update): call a status update to see if LyXText
13029         needs it.
13030
13031 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13032
13033         * vc-backend.C (revert): implement for CVS
13034         (getLog): implement for CVS
13035
13036 2001-02-20  Juergen Vigna  <jug@sad.it>
13037
13038         * text2.C (ClearSelection): added BufferView param for inset_owner call
13039
13040         * lyxfunc.C (TEXT): added this function and use it instead of
13041         directly owner->view()-text of getLyXText().
13042
13043 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13044
13045         * src/layout_forms.C: out preamble
13046         * src/layout_forms.h: out preamble
13047         * src/lyx_cb.C: out preamble
13048         * src/lyx_cb.h: out preamble
13049         * src/lyx_gui.C: out preamble
13050         * src/lyx_gui_misc.C: out preamble
13051         * src/lyxfunc.C: connect with guii preamble
13052
13053 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13054
13055         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13056
13057 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13058
13059         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13060         whether to run bibtex.
13061
13062 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13063
13064         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13065
13066 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13067
13068         * Makefile.am (lyx_SOURCES): removed bibforms.h
13069
13070         * vspace.h: doxygen
13071
13072         * text.C (GetVisibleRow): make several local vars const
13073
13074         * tabular.C: small cleanup.
13075
13076         * lyxserver.C (callback): use compare instead of strncmp
13077
13078         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13079         inlines to after class or to paragraph.C
13080
13081         * lyxfont.h: remove friend operator!=
13082
13083         * converter.h: move friend bool operator< to non friend and after
13084         class def.
13085
13086         * combox.h: small cleanup
13087
13088         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13089         to inlines after class def.
13090
13091         * buffer.C (pop_tag): use string operations instead of strcmp
13092
13093         * bmtable.c: doxygen, small cleanup
13094
13095         * LaTeX.h: remove friend operator==
13096
13097 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13098
13099         * screen.C:
13100         * lyxrc.[Ch]:
13101         * lyxfunc.C:
13102         * lyxfont.[Ch]:
13103         * lyx_cb.C:
13104         * intl.[Ch]:
13105         * commandtags.h:
13106         * buffer.C:
13107         * WorkArea.[Ch]:
13108         * LyXAction.C:
13109         * BufferView_pimpl.C:
13110         * BufferView.[Ch]: remove cruft
13111
13112 2001-02-14  Juergen Vigna  <jug@sad.it>
13113
13114         * lyxfunc.C: removed #if 0 unused code
13115
13116         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13117
13118         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13119
13120         * text2.C (SetSelection): added a BufferView * parameter
13121
13122 2001-02-13  Juergen Vigna  <jug@sad.it>
13123
13124         * lyxfunc.C (Dispatch): fixed protected blank problem.
13125         * BufferView2.C (protectedBlank): added LyxText * parameter.
13126
13127         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13128         (AppendColumn): same as above for column_info.
13129
13130         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13131         (moveCursorUpdate): use a LyXText param for support of InsetText.
13132
13133         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13134         (tripleClick): ditto
13135
13136         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13137
13138         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13139
13140         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13141
13142         * text2.C (SetSelection): set correct update status if inset_owner
13143         (ToggleFree): ditto
13144
13145 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13146
13147         * tabular.C: remove some commented code.
13148
13149 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13150
13151         * BufferView_pimpl.C: call hideSplash()
13152
13153         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13154
13155         * include_form.h:
13156         * bibforms.h: remove
13157
13158         * lyxfunc.C:
13159         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13160           add LFUN_CHILD_CREATE
13161
13162         * counters.h: fix tiny typo
13163
13164         * lyx_cb.C:
13165         * lyx.h:
13166         * lyx_gui.C:
13167         * lyx.C: move splash to frontends/xforms/
13168
13169         * lyx_gui_misc.C: move Include and Bibform to frontends
13170
13171         * lyxvc.h: clarify comment
13172
13173         * vspace.C: tiny housekeeping
13174
13175 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13176
13177         * text.C (PrepareToPrint): RTL Fix.
13178
13179         * paragraph.C (GetUChar): New method.
13180         (String):  Use GetUChar.
13181
13182         * buffer.C (asciiParagraph): Use GetUChar.
13183
13184 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13185
13186         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13187
13188 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13189
13190         * buffer.h:
13191         * buffer.C: rename to getLogName(), handle
13192           build log / latex log nicely
13193
13194 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13195
13196         * MenuBackend.C:
13197         * MenuBackend.h: remove support for reference menuitem type.
13198
13199 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13200
13201         * BufferView_pimpl.C: housekeeping
13202         * BufferView_pimpl.h:
13203         * LyXView.h:
13204         * Makefile.am:
13205         * Timeout.C:
13206         * Timeout.h:
13207         * minibuffer.h: move Timeout GUI-I
13208
13209 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13210
13211         * lyxrc.C (read): Update converters data-structures.
13212
13213 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13214
13215         * LaTeX.h (operator!=): add operator != for Aux_Info
13216
13217 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13218
13219         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13220
13221         * LaTeXLog.C: deleted, useful code moved to Buffer
13222
13223         * buffer.h:
13224         * buffer.C: new function getLatexLogName()
13225
13226         * lyx_gui_misc.C:
13227         * lyx_gui.C:
13228         * lyxvc.C:
13229         * lyxvc.h:
13230         * lyxfunc.C: use frontends for LaTeX and VC logs
13231
13232 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13233
13234         * LaTeX.h: yet another std:: that Allan forgot.
13235
13236         * Variables.C (set): renamed from isset(), because this clashes
13237         with some HP-UX macros (grr).
13238
13239 2001-02-06  Allan Rae  <rae@lyx.org>
13240
13241         * LaTeX.h: Another bug fix.  Missing std:: this time.
13242
13243 2001-02-04  Allan Rae  <rae@lyx.org>
13244
13245         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13246         floats problem. I've left it commented out because it's not quite
13247         correct.  It should also test that the current object is a table or
13248         figure inset.  But I haven't gotten around to figuring out how to do
13249         that.  I *think* it'll be something like: "table" == inset.type()
13250
13251         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13252         bool.
13253
13254 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13255
13256         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13257         all the citation/databases/styles in the auxilary file.
13258         (run): Rerun latex if there was a babel language error.
13259
13260 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13261
13262         * text.C (Backspace): Preserve the font when changing newline char
13263         with a space.
13264         (BreakParagraph): If the cursor is before a space, delete the space.
13265
13266         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13267
13268 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13269
13270         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13271         new argument (code).
13272         (ChangeCitationsIfUnique): New method.
13273
13274         * paragraph.C (GetPositionOfInset): Handle bibkey.
13275
13276 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13277
13278         * BufferView_pimpl.h: change type of Position::par_pos to
13279         LyXParagraph::size_type.
13280
13281 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13282
13283         * BufferView_pimpl.C (savePosition, restorePosition): Write
13284         messages to minibuffer.
13285
13286 2001-01-28  José Matos  <jamatos@fep.up.pt>
13287
13288         * buffer.C (makeDocBookFile): adds support for document language.
13289         A silly restriction on the name of LatexCommand types where removed.
13290         Added support for CDATA sections, allows to chars unescaped, used
13291         among others in code, to avoid escape < and >.
13292
13293 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13294
13295         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13296         saved positions instrad of a stack. Furthermore, a position is
13297         stored using paragraph id/paragraph position.
13298
13299         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13300         Remove LFUN_REF_BACK.
13301
13302 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13303
13304         * converter.C (dvipdfm_options): New method.
13305
13306 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13307
13308         * vspace.C (isValidLength): Fix for empty input string.
13309
13310 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13311
13312         * LyXAction.C (init): change description of LFUN_FIGURE to
13313         "Insert Graphics"
13314
13315 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13316
13317         * LaTeX.C: add using directive
13318
13319 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13320
13321         * MenuBackend.C (expand): Fix the sorting of the formats.
13322
13323 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13324
13325         * lyx_main.C: tiny error message fix
13326
13327 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13328
13329         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13330         calling fl_initialize(). This fixes the problem with ',' as
13331         decimal separator in text files.
13332
13333 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13334
13335         * trans.C (process): Fix the keymap bug.
13336
13337 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13338
13339         * LaTeX.C (scanAuxFiles): New method. Provides support for
13340         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13341         (scanLogFile) Scan for "run BibTeX" messages.
13342
13343         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13344         OT1 font encoding. Also, load the aecompl package if the ae
13345         package is loaded.
13346
13347         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13348
13349 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13350
13351         * texrow.C (increasePos): turn two error messages into debug
13352         messages.
13353
13354 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13355
13356         * LaTeX.C (scanAux): Handle the \@input macro.
13357         (runBibTeX): Use scanAux().
13358
13359         * language.C (latex_options_): New field.
13360
13361         * LaTeXFeatures.C (getMacros): Add language macros.
13362
13363         * buffer.C (makeLaTeXFile): Small fix.
13364
13365 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13366
13367         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13368
13369         * text2.C: add a using directive.
13370
13371 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13372
13373         * BufferView2.C:
13374         * lyx_gui_misc.h:
13375         * lyxfr1.C:
13376         * lyxfunc.C: kill LyXBell.
13377
13378 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13379
13380         * text.C (IsBoundary): Remove the error message
13381
13382         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13383
13384         * lyxrc.C (setDefaults): Correct initialization value for
13385         font_norm_type.
13386
13387 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13388
13389         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13390         gotoError().
13391
13392         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13393         and GotoNextNote().
13394
13395         * src/LyXAction.C: Added reference-next.
13396
13397         * text.C (InsertChar): Use contains instead of strchr.
13398
13399         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13400
13401 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13402
13403         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13404         alignment commands (when needed).
13405
13406         * text.C (InsertChar): Add ':' to number separator chars.