]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fc6f716d7af41c30dd22077a862078bf5bf8412b
[lyx.git] / src / ChangeLog
1 2003-10-22  Angus Leeming  <leeming@lyx.org>
2
3         * buffer.[Ch] (fully_loaded): new member function, returning true
4         only when the file has been loaded fully.
5         Used to prevent the premature generation of previews and by the
6         citation inset to prevent computation of the natbib-style label.
7
8         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
9         templates are all set up.
10
11         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
12
13 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
14
15         * text.C: fixed an "oops" in the "is a bit silly" 
16         bug fix
17
18 2003-10-21  André Pönitz  <poenitz@gmx.net>
19
20         * FuncStatus.[Ch]: small stuff, whitespace
21
22         * lyxfont.[Ch]: operator<<() for debug reasons
23
24         * lyxfunc.C:
25         * lyxrow_funcs.C:
26         * lyxtext.h: whitespace, spelling
27
28         * paragraph.C: naming of variables
29
30         * text.C:
31         * text2.C: small stuff
32
33
34 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
35
36         * text.C: (1) finish off the inset display() work;
37         (2) fix the "is a bit silly" bug (accessing char
38         past end of par).
39
40 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
41
42         * text.C: re-introduce display() for insets, fixing the
43         various bugs (stretch of line above, math inset 
44         positioning, ...)
45
46 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
47
48         * text.C (rightMargin): remove spurious semicolon
49
50         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
51         1415)
52
53 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
54
55         * text3.C: fix one crash due to wrong cursor def
56
57 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
58
59         * vc-backend.C (scanMaster): make the regex static
60
61         * LaTeX.C (scanAuxFile): make the regexs static
62
63         * text3.C (doInsertInset, dispatch, dispatch):
64         * text2.C (cursorUp, cursorDown):
65         * text.C (selectNextWordToSpellcheck):
66         * BufferView_pimpl.C (dispatch):
67         * lyxfunc.C (dispatch):  localDispatch -> dispatch
68
69 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
70
71         * lyxsocket.C: include <cerrno>
72
73 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
74
75         * lyxfunc.C (dispatch): remove textcache stuff
76
77         * bufferlist.C (release): remove textcache stuff
78         (closeAll): ditto
79
80         * TextCache.C: delete file
81         * TextCache.h: delete file
82
83         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
84
85         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
86         delete of the bv_->text.
87         (resizeCurrentBuffer): remove texcache stuff
88         (workAreaResize): ditto
89
90 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
91
92         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
93         action.
94
95 2003-10-16  André Pönitz  <poenitz@gmx.net>
96
97         * lyxrow.[Ch]:
98         * paragraph.h:
99         * rowpainter.C:
100         * text.C:
101         * text2.C:
102         * text3.C: speed up by storing y positions per paragraph plus per-row
103         offset instead of having a 'full' y position in the row.
104
105 2003-10-15  André Pönitz  <poenitz@gmx.net>
106
107         * iterators.[Ch]:
108         * iterators.[Ch]:
109         * undo.[Ch]: make undo aware of inner insets
110
111 2003-10-14  Angus Leeming  <leeming@lyx.org>
112
113         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
114         static member functions LyX::ref() and LyX::cref.
115         (lastfiles): new accessor functions for the new lastfiles_ member var.
116         (addLyXView, views_): add a new LyXView to the list of views_.
117         (updateInset): loop over all LyXViews to call their own updateInset
118         member function, returning a pointer to the Buffer owning the inset.
119
120         * BufferView_pimpl.C (loadLyXFile):
121         * MenuBackend.C (expandLastfiles):
122         * bufferlist.C (MenuWrite, QuitLyX):
123         lastfiles is no longer a global variable.
124         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
125
126         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
127         static function. Access through LyX::cref().emergencyCleanup().
128
129 2003-10-14  André Pönitz  <poenitz@gmx.net>
130
131         * iterators.[Ch]: new direct access to innermost LyXText and Inset
132
133         * undo.[Ch]: restoring part of 'undo in insets'
134
135         * Makefile.am:
136         * undo_funcs.[Ch]: merge with undo.[Ch]
137
138         * tabular.C: small cleansing stuff
139
140 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
141
142         * paragraph_funcs.C (readParToken): report unknown insets as error
143         boxes. Use the outer paragraph as location (also for unknown
144         tokens).
145
146         * factory.C (readInset): do not abort on reading an unknown inset.
147         Eat it and return 0.
148
149 2003-10-13  Angus Leeming  <leeming@lyx.org>
150
151         * lyx_main.C (LyX): remove call to setDisplayTranslator().
152
153         * lyxrc.C: displayTranslator is now a function,
154         declared in GraphicsTypes.h.
155
156 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
157
158         * format.C: new placeholder $$a to pass the socket address.
159
160         * bufferlist.[Ch]: new function getBufferFromTmp.
161
162         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
163           files in the temporary dir.
164
165 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
166
167         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
168
169         * Makefile.am: add lyxsocket.[Ch].
170
171         * lyx_main.C (error_handler): handle SIGPIPE.
172
173 2003-10-13  André Pönitz  <poenitz@gmx.net>
174
175         * BufferView_pimpl.C:
176         * lyxtext.h:
177         * text.C:
178         * text2.C:
179         * text3.C:
180         * undo_funcs.[Ch]: use paroffset_type instead of
181           ParagraphList::iterators to prevent multiple conversion
182           (and get a more robust interface)
183
184 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
185
186         * lyxfunc.C (dispatch): RESULT -> dispatch_result
187         * lyxtext.h: ditto
188         * text3.C (dispatch): ditto
189
190 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
191
192         * LaTeX.C (handleFoundFile): move the static to smaller scope,
193         move the onlyfile, use onlyfile instead of foundfile in a couple
194         of places.
195
196         * DepTable.C (update): flush the error stream a bit more
197
198 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
199
200         * lyxserver.C (callback): adjust
201
202         * lyxfunc.C (getStatus): add a missing brace in commented code
203         (ensureBufferClean): reindent
204         (dispatch): delete version taking a string
205
206 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
207
208         * LaTeX.C (deplog): move found file handlig from here...
209         (handleFoundFile): .. to new function here.
210         (deplog): make sure to discover several files mentioned on the
211         same log line.
212
213 2003-10-10  André Pönitz  <poenitz@gmx.net>
214
215         * lyxfunc.C:
216         * lyxtext.h:
217         * tabular.C:
218         * text.C:
219         * text2.C:
220         * text3.C: fix some of the tabular crashes
221
222 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
223
224         * MenuBackend.C (binding): put debug message into Debug::KBMAP
225
226         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
227
228 2003-10-09  André Pönitz  <poenitz@gmx.net>
229
230         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
231
232         * BufferView.C:
233         * BufferView_pimpl.C:
234         * bufferview_funcs.C:
235         * lyx_cb.C:
236         * lyxcursor.C:
237         * lyxfind.C:
238         * lyxfunc.C:
239         * lyxtext.h:
240         * text.C:
241         * text2.C:
242         * text3.C:
243         * text_funcs.[Ch]:
244         * textcursor.[Ch]:
245         * undo_funcs.C: adjust
246
247 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
248
249         * text2.C (incrementItemDepth): new function, use a backtracking
250         algorithm to discover the correct item depth.
251         (resetEnumCounterIfNeeded): new function, use a backtracking
252         algorithm to discover if counter reset is needed.
253         (setCounter): use them. Simplify a bit. Add different labels for
254         different item depths for itemize.
255
256         * paragraph.C (Paragraph): remove initialization of enumdepth
257         (operator=): ditto
258
259         * paragraph.h: get rid of enumdepth, and use itemdepth both for
260         enumerate and itemize. Change the type of itemdepth to signed char.
261
262 2003-10-08  André Pönitz  <poenitz@gmx.net>
263
264         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
265           thing assignable.
266         * text.C:
267         * text2.C: adjust
268
269         * tabular.[Ch]: fix crash after 'row-insert'
270
271 2003-10-08  Angus Leeming  <leeming@lyx.org>
272
273         Fix doxygen warnings.
274
275         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
276         Remove CutAndPaste:: prefix from header file declaration.
277
278         * LColor.h (fill): remove LColor:: prefix from declaration.
279
280         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
281         use lyx::depth_type rather than Paragraph::depth_type so that
282         header file and .C file match.
283
284         * converter.h (intToFormat): remove Converters:: prefix from declaration.
285
286         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
287         * aspell.C: \file aspell_local.C -> \file aspell.C
288         * gettext.C: \file gettext.C -> \file src/gettext.C
289         * gettext.h: \file gettext.h -> \file src/gettext.h
290         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
291         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
292         * text.C: \file text.C -> \file src/text.C
293
294         * toc.C: move comment so that doxygen is not confused.
295
296 2003-10-07  Angus Leeming  <leeming@lyx.org>
297
298         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
299
300 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
301
302         * aspell.C:
303         * aspell_local.h: add forgotten std::string's.
304
305 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
306
307         * LaTeXFeatures.C:
308         * LyXAction.C:
309         * factory.C:
310         * lfuns.h:
311         * lyxfunc.C:
312         * text3.C: The Box patch. Fancybox support, minipage, parbox
313
314 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
315
316         * CutAndPaste.h:
317         * DepTable.h:
318         * FloatList.h:
319         * LaTeXFeatures.h:
320         * ParagraphParameters.h:
321         * TextCache.h:
322         * Thesaurus.h:
323         * bufferlist.h:
324         * exporter.h:
325         * importer.h:
326         * lastfiles.h:
327         * lyxfind.h:
328         * lyxfont.h:
329         * lyxlex.h:
330         * lyxtextclasslist.h:
331         * messages.h:
332         * paragraph.h:
333         * paragraph_pimpl.C:
334         * textcursor.h: add <string> and other small fixes to make Lars'
335         std::string patch compile with STLport.
336
337 2003-10-06  Angus Leeming  <leeming@lyx.org>
338
339         * LColor.h: Add missing #include <string>.
340
341 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
342
343         * All most all file in all subdirs: Make <string> be the prefered
344         way of getting to std::string, add using declarations.
345
346 2003-10-06  André Pönitz  <poenitz@gmx.net>
347
348         * metricsinfo.C: initialize LyXFont before changing attribute.
349         (fixes the 'math in \emph is upright' bug)
350
351 2003-10-06  André Pönitz  <poenitz@gmx.net>
352
353         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
354
355 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
356
357         * graph.C:
358         * paragraph_pimpl.C: Small fixes to build using STLport
359
360 2003-10-02  André Pönitz  <poenitz@gmx.net>
361
362         * lyxfunc.C:
363         * text3.C: move handling of LFUN_DEPTH *; fix #1360
364
365 2003-10-01  André Pönitz  <poenitz@gmx.net>
366
367         * factory.C: assert early
368
369 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
370
371         * lyx_main.C: remove the global debug object
372
373         * debug.h: adjust for new debugstream
374
375         * debug.C: adjust for new debugstream and keep the global debug
376         object here.
377
378 2003-09-22  Angus Leeming  <leeming@lyx.org>
379
380         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
381         of g++ which otherwise complain that the scoped_ptr destructor can't delete
382         an incomplete class LyXFont.
383
384 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
385
386         * factory.C: bug fix in branches
387
388 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
389
390         * lyxfunc.C (processKeySym): adjust
391         (dispatch): adjust
392         (dispatch): change arg name from ev to func, adjust
393         (sendDispatchMessage): ditto
394
395         * lyx_main.C (defaultKeyBindings): adjust keybindings
396         (deadKeyBindings): ditto
397
398         * kbsequence.C (addkey): return a FuncRequest
399
400         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
401
402         * kbmap.C (bind): take a FuncRequest as arg, adjust
403         (read): adjust
404         (lookup): adjust
405         (defkey): change to take a FuncRequest as arg, adjust
406         (findbinding): take a FuncRequest as arg, adjust.
407
408         * funcrequest.h (operator=): added
409
410         * funcrequest.C (FuncRequest): default kb_action changed from
411         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
412
413         * buffer.C (dispatch): simplify
414         (dispatch): adjust to take a FuncRequest as arg, adjust
415
416         * boost.C (assertion_failed): change assertion message slightly
417
418         * ToolbarBackend.C (read): simplify
419
420         * MenuBackend.C (binding): adjust call to findbinding, add a
421         message if no binding is found.
422         (read): simplify
423         (expandToc): correct by adding a empty FuncRequest
424
425         * LyXAction.C: include <boost/assert.hpp>
426         (isPseudoAction): delete function
427         (LookupFunc): change name to...
428         (lookupFunc): this. change return type to FuncRequest.
429         (getActionName): take kb_action as arg, simplify
430         (funcHasFlag): add an assert, simplify.
431
432 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
433
434         * toc.C (action): return a FuncRequest, simplify
435
436         * lyxfunc.C (processKeySym): adjust
437         (getStatus): delete version that takes an int.
438         (getStatus): adjust
439         (dispatch): delete version that takes action as int
440         (dispatch): adjust
441         (sendDispatchMessage): simplify and adjust
442
443         * funcrequest.C (getArg): take unsigned int as arg
444
445         * ToolbarBackend.C (read): adjust
446         (add): delete version that takes func as a string.
447         (getIton): take a FuncRequest as arg
448
449         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
450         action.
451
452         * MenuBackend.C (MenuItem): add a new construct that only takes a
453         Kind, simplify the constructor use for submenus.
454         (add): adjust
455         (expandLastfiles): adjust
456         (expandDocuments): adjust
457         (expandFormats): adjust
458         (expandFloatListInsert): adjust
459         (expandFloatInsert): adjust
460         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
461
462         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
463         Remove class variables lyx_pseudo_map and lyx_arg_map
464
465         * LyXAction.C (searchActionArg): delete function
466         (getPseudoAction): delete function
467         (retrieveActionArg): delete function
468         (LookupFunc): make it return kb_action, simplify.
469         (getActionName): simplify
470
471         * factory.C (createInset): fix new bug
472
473 2003-09-19  Angus Leeming  <leeming@lyx.org>
474
475         * CutAndPaste.C (pasteSelection): remove fudge used to set the
476         masterFilename_ parameter in the include inset.
477
478         * factory.C (createInset): changes due to the changes to InsetInclude.
479
480 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
481
482         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
483
484 2003-09-18  Angus Leeming  <leeming@lyx.org>
485
486         * buffer.C:
487         * BufferView.C: pass the buffer when calling Inset::getLabelList,
488         Inset::fillWithBibKeys.
489         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
490
491 2003-09-18  Angus Leeming  <leeming@lyx.org>
492
493         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
494         variables.
495         (ctor): pass and store a 'Buffer const &'
496         (buffer): new member function.
497
498         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
499         '*this' to the LaTeXFeatures ctor.
500
501 2003-09-18  Angus Leeming  <leeming@lyx.org>
502
503         * LColor.h:
504         * lyxfont.C:
505         * lyxfont.h:
506         * lyxtext.h:
507         * text.C: rename EnumLColor as LColor_color.
508
509 2003-09-18  Angus Leeming  <leeming@lyx.org>
510
511         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
512         remove #include "insets/insetbase.h" from cursor.h.
513
514 2003-09-18  Angus Leeming  <leeming@lyx.org>
515
516         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
517         InsetOld_code to remove #include "inset.h".
518
519         * iterators.C: add #include "insets/inset.h"
520
521 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
522
523         * BufferView.C: remove more locking stuff that apparently doesn't
524         do anything sensible.
525
526 2003-09-16  André Pönitz  <poenitz@gmx.net>
527
528         * paragraph.[Ch]:
529         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
530           performance boost.
531
532 2003-09-16  Angus Leeming  <leeming@lyx.org>
533
534         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
535
536         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
537         arg/return type.
538
539         * paragraph.h: remove #include "lyxfont.h". Forward declare
540         LyXFont_size.
541
542 2003-09-16  Angus Leeming  <leeming@lyx.org>
543
544         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
545         of support/textutils.h.
546         (isWord): move the contents of support/textutils.h's IsWordChar here.
547
548         * buffer.C:
549         * lyxfind.C:
550         * rowpainter.C:
551         * text.C:
552         * text2.C: add #include "paragraph.h".
553
554         * rowpainter.C:
555         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
556
557 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
558
559         * main.C:
560         * lyx_main.C:
561         * lyx_cb.C:
562         * buffer.C:
563         * LaTeX.C: use namespace alias for lyx::support::os
564
565 2003-09-16  Angus Leeming  <leeming@lyx.org>
566
567         * bufferparams.C:
568         * bufferview_funcs.C:
569         * factory.C:
570         * lyxfunc.C:
571         * paragraph_pimpl.C:
572         * rowpainter.C:
573         * text.C: add #include "LColor.h".
574
575 2003-09-16  Angus Leeming  <leeming@lyx.org>
576
577         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
578         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
579         return LyXFont &.
580         Store the FontBits::color variable as an int rather than as an
581         LColor::colorso that we can move LColor.h out of the lyxfont.h header
582         file.
583
584         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
585         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
586         string calls together.
587
588         * lyxrc.C: add #include "LColor.h".
589
590 2003-09-15  Angus Leeming  <leeming@lyx.org>
591
592         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
593         a cow_ptr.
594
595 2003-09-15  Angus Leeming  <leeming@lyx.org>
596
597         * LColor.h: add an EnumLColor wrapper for LColor::color.
598
599         * lyxfont.[Ch] (color, setColor, realColor):
600         * lyxtext.h, text.C (backgroundColor):
601         pass EnumLColor args to/from the functions, rather than LColor::color
602         ones.
603
604         * lyxfont.h:
605         * lyxtext.h: forward declare EnumLColor.
606
607         * lyx_main.C: add #include "LColor.h".
608
609 2003-09-15  Angus Leeming  <leeming@lyx.org>
610
611         * .cvsignore: add lyx-gtk.
612
613 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
614
615         * Chktex.C
616         * LaTeX.C
617         * LaTeXFeatures.C
618         * ParagraphParameters.C
619         * Spacing.C
620         * buffer.C
621         * bufferparams.C
622         * bufferview_funcs.C
623         * chset.C
624         * counters.C
625         * funcrequest.C
626         * lyxfont.C
627         * lyxgluelength.C
628         * lyxlength.C
629         * paragraph.C
630         * paragraph_funcs.C
631         * text3.C
632         * vc-backend.C: remove usage of STRCONV
633
634 2003-09-15  Angus Leeming  <leeming@lyx.org>
635
636         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
637         explicitly define the color passed to the painter.
638
639 2003-09-15  Angus Leeming  <leeming@lyx.org>
640
641         * bufferparams.C (BufferParams): reorder member initializers to avoid
642         compiler warning.
643
644 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
645
646         * CutAndPaste.C (pasteSelection): remove an outdated #warning
647         * text.C (updateRowPositions): remove an unusual nop
648
649 2003-09-12  André Pönitz  <poenitz@gmx.net>
650
651         * BufferView_pimpl.C:
652         * Bullet.C:
653         * layout.h:
654         * lyxfunc.C:
655         * lyxlayout.[Ch]:
656         * lyxtextclass.C:
657         * rowpainter.C:
658         * text.C:
659         * text2.C:
660         * Counters.[Ch]: finish the 'automatic counters' job
661
662 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
663
664         * aspell.C: include <boost/assert.cpp> (compile fix)
665
666 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
667
668         * boost.C (assertion_failed): use lyx::support::abort instead of
669         assert.
670
671 2003-09-10  Angus Leeming  <leeming@lyx.org>
672
673         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
674         with their _fwd progeny.
675
676 2003-09-09  Angus Leeming  <leeming@lyx.org>
677
678         134 files throughtout the source tree: replace 'using namespace abc;'
679         directives with the appropriate 'using abc::xyz;' declarations.
680
681 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
682
683         * boost.C (emergencyCleanup): moved here from LAssert.c
684         (assertion_failed): new function, called by BOOST_ASSERT
685
686         * several files: change Assert to BOOST_ASSERT
687
688 2003-09-09  Angus Leeming  <leeming@lyx.org>
689
690         * buffer.[Ch]: Add an Impl class and move Buffer's member
691         variables into it. As a result move several header files out of
692         buffer.h.
693
694         Add header files to lots of .C files all over the tree as a result.
695
696 2003-09-09  Angus Leeming  <leeming@lyx.org>
697
698         * buffer.[Ch]: make Buffer's member variables private. Add
699         accessor functions.
700
701         Lots of changes all over the tree as a result.
702
703 2003-09-08  Angus Leeming  <leeming@lyx.org>
704
705         * graph.C: #include <config.h>.
706
707 2003-09-08  Angus Leeming  <leeming@lyx.org>
708
709         * BranchList.C:
710         * BufferView.C:
711         * BufferView_pimpl.C:
712         * CutAndPaste.C:
713         * DepTable.C:
714         * LaTeX.C:
715         * LaTeXFeatures.C:
716         * LyXAction.C:
717         * MenuBackend.C:
718         * TextCache.C:
719         * aspell.C:
720         * buffer.C:
721         * bufferlist.C:
722         * changes.C:
723         * chset.C:
724         * converter.C:
725         * counters.C:
726         * debug.C:
727         * graph.C:
728         * ispell.C:
729         * lyx_cb.C:
730         * lyxfind.C:
731         * lyxfunc.C:
732         * lyxlex_pimpl.C:
733         * lyxrc.C:
734         * lyxrow.C:
735         * paragraph.C:
736         * rowpainter.C:
737         * texrow.C:
738         * text.C:
739         * text2.C:
740         * toc.C: remove redundant using directives.
741
742 2003-09-07  Angus Leeming  <leeming@lyx.org>
743
744         * LaTeXFeatures.h: remove #include "support/types.h".
745         * ToolbarBackend.h: remove #include <algorithm>.
746         * changes.h: remove #include <ctime>.
747         * debug.h: remove #include <iosfwd>.
748         * graph.h: remove #include "support/std_string.h".
749         * lyx_main.h: remove #include <csignal>.
750         * lyxlex_pimpl.h: remove #include <fstream>.
751         * sgml.h: remove #include <algorithm>, <utility>.
752         * toc.h: remove #include "support/std_ostream.h".
753         Add #include <iosfwd>.
754
755 2003-09-07  Angus Leeming  <leeming@lyx.org>
756
757         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
758
759         * converter.h: forward declare LatexRunParams.
760         * encoding.h: remove #include "lyxrc.h".
761         * lyxtext.h: remove #include "LColor.h".
762         * lyxtextclass.h: remove #include "support/types.h".
763         * trans.h: remove #include "tex-accent.h".
764         * trans_mgr.h: remove #include "tex-accent.h".
765         * insets/inset.h: remove #include "support/types.h", <vector>.
766         * insets/insetcollapsable.h: remove #include "LColor.h".
767         * insets/insetinclude.h: remove #include "dimension.h".
768         * insets/insetlatexaccent.h: remove #include "dimension.h".
769         * insets/insetoptarg.h:: remove #include "insettext.h".
770         * insets/insettext.h: remove #include "dimension.h",
771         <boost/shared_ptr.hpp>
772
773         * insets/renderers.h: add #include "dimension.h".
774         * insets/updatableinset.h: add #include "support/types.h".
775
776         * many .C files: Associated changes.
777
778 2003-09-06  Angus Leeming  <leeming@lyx.org>
779
780         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
781         one, inside testInvariant.
782
783         * PrinterParams.C: new file.
784         * PrinterParams.[Ch]: move the function bodies out of line.
785
786 2003-09-06  Angus Leeming  <leeming@lyx.org>
787
788         * ParagraphParameters.h: forward declare ParameterStruct rather than
789         including its header file.
790         (depth): moved out-of-line.
791
792 2003-09-06  Angus Leeming  <leeming@lyx.org>
793
794         * BufferView_pimpl.h:
795         * kbmap.h:
796         * kbsequence.h:
797         * lyxfunc.h: forward declare LyXKeySym rather than
798         #include "frontends/LyXKeySym.h".
799
800         * BufferView_pimpl.C:
801         * kbmap.C:
802         * kbsequence.C:
803         * lyxfunc.C: associated changes.
804
805 2003-09-06  Angus Leeming  <leeming@lyx.org>
806
807         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
808         As a result, can remove the #include "insets/inset.h" from BufferView.h
809
810 2003-09-06  Angus Leeming  <leeming@lyx.org>
811
812         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
813         As a result, can remove the #include "insets/inset.h" from BufferView.h
814
815 2003-09-06  Angus Leeming  <leeming@lyx.org>
816
817         * buffer_funcs.C:
818         * buffer.h:
819         * bufferlist.C:
820         * BufferView.C:
821         * bufferview_funcs.C:
822         * BufferView_pimpl.C:
823         * CutAndPaste.C:
824         * lyx_cb.C:
825         * lyxfunc.C:
826         * paragraph.h:
827         * ParagraphParameters.C:
828         * tabular.C:
829         * text3.C:
830         * toc.C:
831         * undo_funcs.C:
832         * frontends/controllers/ControlDocument.C:
833         * insets/insetcaption.C: rearrange the #includes into some sort of
834         coherent order.
835
836         * buffer.h: remove #includes ErrorList.h, undo.h
837
838 2003-09-06  Angus Leeming  <leeming@lyx.org>
839
840         * support/types.h: add a 'depth_type' typedef, used to store the
841         nesting depth of a paragraph.
842
843         * paragraph.h:
844         * ParameterStruct.h: use this lyx::depth_type typedef rather than
845         defining explicitly.
846
847         * buffer.h:
848         * paragraph_funcs.h:
849         * ParagraphParameters.h:
850         * sgml.h: use lyx::depth_type rather than Paragraph or
851         ParameterStruct's depth_type.
852
853         * buffer.h
854         * paragraph_funcs.h: no need to #include paragraph.h anymore.
855
856         * BufferView.C:
857         * BufferView_pimpl.C:
858         * CutAndPaste.C:
859         * ParagraphParameters.C:
860         * buffer_funcs.C:
861         * bufferlist.C:
862         * bufferview_funcs.C:
863         * lyx_cb.C:
864         * lyxfunc.C:
865         * tabular.C:
866         * text3.C:
867         * toc.C:
868         * undo_funcs.C:
869         * frontends/LyXView.C:
870         * frontends/controllers/ControlDocument.C:
871         * frontends/controllers/ControlErrorList.C:
872         * insets/insetbibitem.C:
873         * insets/insetbranch.C:
874         * insets/insetcaption.C:
875         * insets/insetcollapsable.C:
876         * insets/insetenv.C:
877         * insets/insetert.C:
878         * insets/insetfloat.C:
879         * insets/insetfoot.C:
880         * insets/insetfootlike.C:
881         * insets/insetnewline.C:
882         * insets/insetquotes.C:
883         * insets/insettabular.C:
884         * insets/insettext.C:
885         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
886
887         * frontends/controllers/ControlChanges.C: #include "changes.h".
888
889 2003-09-06  Angus Leeming  <leeming@lyx.org>
890
891         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
892         than #including paragraph.h.
893
894         * ParagraphList.h:
895         * RowList.h: deleted. Superfluous.
896
897         * CutAndPaste.h:
898         * iterators.h:
899         * lyxcursor.h:
900         * lyxtext.h:
901         * text_funcs.h:
902         * undo.h:
903         * undo_funcs.h:
904         * insets/inset.h:
905         * insets/insettext.h: use ParagraphList_fwd.h rather than
906         ParagraphList.h.
907
908         * paragraph.h: don't forward declare ParagraphList.
909
910         * buffer.h:
911         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
912         rather than ParagraphList.h. paragraph.h is still needed for the
913         Paragraph::depth_type parameters.
914
915         * textcursor.h: enable it to compile stand-alone in light of the
916         above changes.
917
918         * bufferview_funcs.C:
919         * iterators.C:
920         * lyxfunc.C:
921         * lyxrow_funcs.C:
922         * paragraph.C:
923         * rowpainter.C:
924         * text.C:
925         * text2.C:
926         * text3.C:
927         * text_funcs.C:
928         * textcursor.C:
929         * undo.C:
930         * frontends/controllers/ControlParagraph.C:
931         * frontends/controllers/ControlTabular.C:
932         * insets/insetmarginal.C:
933         * insets/insetminipage.C:
934         * insets/insetnote.C:
935         * insets/insetoptarg.C: add header files needed to compile again.
936
937 2003-09-06  Angus Leeming  <leeming@lyx.org>
938
939         * RowList_fwd.h: new file, forward-declaring Row rather than
940         #including lyxrow.h.
941
942         * lyxrow_funcs.h:
943         * lyxtext.h:
944         * paragraph.h:
945         * insets/insettext.h: use it instead of RowList.h
946
947         * bufferview_funcs.C:
948         * lyxfunc.C:
949         * lyxrow_funcs.C:
950         * paragraph.C:
951         * rowpainter.C:
952         * text.C:
953         * text2.C:
954         * text3.C: #include "RowList.h".
955
956 2003-09-05  Angus Leeming  <leeming@lyx.org>
957
958         * factory.C (createInset):
959         * vspace.C (c-tor): replace sscanf call with an istringstream.
960         * ispell.C: re-add missing HP/UX headers.
961         * lyxserver.C: re-add missing  os2 headers.
962
963 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
964
965         * BranchList.C:
966         * graph.C:
967         * ispell.C:
968         * lastfiles.C:
969         * lyx_cb.C:
970         * lyxserver.C:
971         * texrow.C:
972         * text3.C: re-add missing system headers, needed for 2.95.2.
973
974 2003-09-05  Angus Leeming  <leeming@lyx.org>
975
976         Changes most place everywhere due to the removal of using directives
977         from support/std_sstream.h.
978
979 2003-09-05  Angus Leeming  <leeming@lyx.org>
980
981         Replace LString.h with support/std_string.h,
982         Lsstream.h with support/std_sstream.h,
983         support/LIstream.h with support/std_istream.h,
984         support/LOstream.h with support/std_ostream.h.
985
986         Changes resulting throughout the tree.
987
988 2003-09-05  Angus Leeming  <leeming@lyx.org>
989
990         * sgml.h: ensure that the header file can be compiled stand-alone.
991         * *.C: strip out redundant #includes. (320 in total.)
992
993 2003-09-04  Angus Leeming  <leeming@lyx.org>
994
995         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
996         here (from getPackages).
997
998         * debug.[Ch]: add a new EXTERNAL tag.
999
1000 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1001
1002         * text2.C (cursorEnd): simplify
1003         (setCursor): adjust
1004         (getColumnNearX): adjust
1005
1006         * text.C (computeBidiTables): adjust
1007         (fill): adjust
1008
1009         * rowpainter.C (paintChars): adjust
1010         (paintSelection): adjust
1011         (paintChangeBar): adjust
1012         (paintText): adjust
1013
1014         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1015         lastPos instead.
1016         (numberOfSeparators): adjust
1017
1018 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1019
1020         * LyXAction.C:
1021         * box.[Ch]:
1022         * lfuns.h:
1023         * lyxfunc.C:
1024         * text3.C: Restricts the mouse click functionality
1025         of insets like bibtex, include, toc and floatlist to the visible
1026         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1027         up the dialogs. Cursor has to be in front of the inset (i.e.
1028         start of row) for this to function.
1029
1030 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1031
1032         * bufferview_funcs.C (currentState): output row information
1033
1034 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1035
1036         * bufferview_funcs.C (currentState): output paragraph position
1037
1038 2003-09-04  Angus Leeming  <leeming@lyx.org>
1039
1040         * FloatList.h: move out #include "Floating.h".
1041         * LaTeX.h: move out #include "DepTable.h".
1042         * LyXAction.h: move out #include "funcrequest.h".
1043         * buffer.h: move out #include "author.h", "iterators.h".
1044         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1045         * lyx_main.h: move out #include "errorlist.h".
1046         * lyxfunc.h: move out #include "FuncStatus.h".
1047         * lyxtext: move out #include "lyxcursor.h".
1048         * paragraph_pimpl.h: move out #include "counters.h".
1049
1050 2003-09-03  Angus Leeming  <leeming@lyx.org>
1051
1052         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1053         preamble_snippets list, enabling us to add snippets to the preamble
1054         only if the snippet was not there already.
1055
1056 2003-09-04  Angus Leeming  <leeming@lyx.org>
1057
1058         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1059
1060 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1061
1062         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1063         update
1064
1065 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1066
1067         * BranchList.C: point fix, earlier forgotten
1068
1069 2003-09-02  Angus Leeming  <leeming@lyx.org>
1070
1071         * box.C (contains): renamed from 'contained' after a fantastic
1072         amount of hot air.
1073
1074 2003-09-02  John Levon  <levon@movementarian.org>
1075
1076         * BufferView.C:
1077         * lyxcursor.h:
1078         * lyxcursor.C:
1079         * lyxfunc.C:
1080         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1081
1082 2003-09-02  John Levon  <levon@movementarian.org>
1083
1084         * text2.C: simplification of cursorEnd(), including partial
1085         fix for bug 1376
1086
1087 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1088
1089         * buffer.C (readFile): add a space
1090
1091 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1092
1093         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1094
1095 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1096
1097         * buffer.C (readFile): new function, take a filename and a
1098         ParagraphList::iterator
1099         (readFile): adjust
1100         (readFile): adjust, make it private. don't use setStream, make
1101         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1102         always contain the filename.
1103
1104         * BufferView.C (insertLyXFile): simplify and make it work for
1105         gzipped files.
1106
1107 2003-08-30  John Levon  <levon@movementarian.org>
1108
1109         * Makefile.am: fix dist (from Kayvan)
1110
1111 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1112
1113         * most files: change to use const Buffer refs
1114
1115 2003-08-27  André Pönitz  <poenitz@gmx.net>
1116
1117         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1118         on top of ownerPar().
1119
1120 2003-08-27  John Levon  <levon@movementarian.org>
1121
1122         * funcrequest.C: properly initialise POD members
1123
1124 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1125
1126         * lyxtext.h (top_y): move top_y from here
1127         * text.C:
1128         * text2.C:
1129         * text3.C:
1130         * BufferView.[Ch]:
1131         * BufferView_pimpl.[Ch]: to here
1132         * frontends/screen.C:
1133         * insets/insettabular.C:
1134         * insets/insettext.C: adjust
1135         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1136
1137 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1138
1139         * BufferView.[Ch]:
1140         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1141
1142 2003-08-26  André Pönitz  <poenitz@gmx.net>
1143
1144         * paragraph_func.[Ch] (outerPar): new function
1145
1146         * paragraph.C:
1147         * paragraph_funcs.C:
1148         * paragraph_funcs.h:
1149         * paragraph_pimpl.C:
1150         * text2.C: remove Inset::par_owner
1151
1152 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1153
1154         * lyxrow_funcs.C:
1155         * lyxtext.h:
1156         * text.C:
1157         * text2.C: eliminates the needFullRow/display() stuff
1158         altogether, putting the logic in metrics/draw in the insets.
1159
1160 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1161
1162         * text2.C (redoParagraphInternal, redoParagraphs):
1163         * text.C (redoParagraph): add a call to updateRowPositions at the
1164         end of each 'metrics-like' call. Remove all others.
1165         (getRow): remove the 'y-computing' version.
1166         (getRowNearY): do not compute nor return the real y. Solve the
1167         'y < 0' problem and simplify.
1168
1169 2003-08-22  Angus Leeming  <leeming@lyx.org>
1170
1171         * *.[Ch]: clean-up of licence and author blurbs.
1172         Also move config.h out of a few .h files and into a few .C files.
1173
1174 2003-08-22  André Pönitz  <poenitz@gmx.net>
1175
1176         * lyxrow.[Ch]: add x_ and *fill_ members
1177
1178         * lyxtext.h:
1179         * text.C:
1180         * rowpainter.C:
1181         * text2.C: adjust/remove prepareToPrint() calls
1182
1183 2003-08-22  André Pönitz  <poenitz@gmx.net>
1184
1185         * lyxrow.[Ch]: add  end_ member
1186
1187         * lyxrow_funcs.C: use LyXRow::end_
1188
1189         * lyxtext.h (singleWidth): add LyXFont parameter
1190
1191         * rowpainter.C:
1192         * text2.C: adjust LyXText::singleWidth() calls
1193
1194         * text.C (redoParagraph): simplify row breaking logic
1195
1196
1197 2003-08-19  André Pönitz  <poenitz@gmx.net>
1198
1199         * funcrequest.C: initialize button_ member
1200
1201         * text3.C:
1202         * rowpainter.[Ch]: interface consolidation
1203
1204 2003-08-18  André Pönitz  <poenitz@gmx.net>
1205
1206         * BufferView.C:
1207         * BufferView_pimpl.C:
1208         * lyxfind.C:
1209         * paragraph_funcs.C:
1210         * rowpainter.C:
1211         * text3.C: remove LyXScreen::draw() and fitCursor calls
1212
1213         * BranchList.h: remove spurious semicolons
1214
1215         * MenuBackend.C: fix branchlist related crash
1216
1217 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1218
1219         * BranchList.[Ch]:
1220         * InsetList.[Ch]:
1221         * LColor.[Ch]:
1222         * LyXAction.C:
1223         * Makefile.am:
1224         * MenuBackend.[Ch]:
1225         * bufferparams.[Ch]:
1226         * factory.C:
1227         * lfuns.h:
1228         * lyxfunc.C:
1229         * text3.C: implements the 'branch inset'
1230         idea. This allows the output of various versions of a document
1231         from a single source version, selectively outputing or suppressing
1232         output of parts of the text.
1233         This implementation contains a 'branch list editor' in a separate
1234         tab of the document settings dialog. Branches are user definable
1235         and have a "display colour" to distinguish them on-screen.
1236
1237         ColorHandler was somewhat cleaned up.
1238         (1) make possible a dynamically growing LColor list by allowing
1239         the graphic context cache to grow along (vector);
1240         (2) eliminate an IMHO unnecessary step in colour allocation.
1241
1242 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1243
1244         * BufferView_pimpl.C: compile fix
1245
1246 2003-08-15  André Pönitz  <poenitz@gmx.net>
1247
1248         * rowpainter.C: remove extra metrics calls
1249
1250         * lyxtext.h: merge the two constructors into a single one,
1251           pass reference to owner's par list
1252
1253         * BufferView_pimpl.C:
1254         * text.C:
1255         * text2.C: adjust
1256
1257 2003-08-15  André Pönitz  <poenitz@gmx.net>
1258
1259         * lyxrow_funcs.[Ch]:
1260         * lyxtext.h:
1261         * paragraph.h:
1262         * paragraph_funcs.C:
1263         * rowpainter.C:
1264         * text.C:
1265         * text2.C:
1266         * text3.C:
1267         * text_funcs.C: split LyXText::rowlist_ into individual
1268         Paragraph::rows_ chunks
1269
1270         * BufferView.[Ch]:
1271         * BufferView_pimpl.[Ch]:
1272         * lyxfind.C:
1273         * lyxtext.h:
1274         * text3.C: remove toggleSelection()
1275
1276 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1277
1278         * bufferlist.C: beautify two alerts (shorter text of buttons)
1279         * buffer.C: Remove redundant ' ' from message
1280         * tabular.h:
1281         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1282         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1283         rename VALIGN_CENTER to VALIGN_MIDDLE
1284
1285 2003-08-11  André Pönitz  <poenitz@gmx.net>
1286
1287         * lyxtext.h (getPar):
1288         * text.C: new function
1289
1290 2003-08-11  André Pönitz  <poenitz@gmx.net>
1291
1292         * Makefile.am:
1293         * tracer.[Ch]: remove unneeded files
1294
1295         * InsetList.[Ch]: remove resizeInsetsLyXText()
1296
1297         * lyxtext.h:
1298         * text.C:
1299         * text2.C:
1300         * text3.C: merge insertParagraphs() and appendParagraph()
1301         remove breakAgain(), update()
1302
1303         * BufferView_pimpl.[Ch]:
1304         * bufferview_funcs.[Ch]:
1305         * lyxfunc.C:
1306         * paragraph.[Ch]:
1307         * rowpainter.C:
1308         * tabular.C: adjust after text & InsetList changes.
1309
1310 2003-08-08  André Pönitz  <poenitz@gmx.net>
1311
1312         * text.C (insertChar, backspace): replace rowlist fiddling
1313         with rebreak of full par
1314
1315         * lyxtext.h:
1316         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1317         checkParagraph, updateInset): removed
1318
1319 2003-08-07  André Pönitz  <poenitz@gmx.net>
1320
1321         * paragraph.C:
1322         * text3.C: merge some LFUN handlers, remove dead code
1323
1324 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1325
1326         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1327
1328 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1329
1330         * text2.C (DEPM): fix part of bug 1255 and 1256
1331
1332 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1333
1334         * BufferView_pimpl.C (workAreaDispatch): change to use
1335         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1336         that are no mouse related.
1337
1338 2003-08-05  André Pönitz  <poenitz@gmx.net>
1339
1340         * BufferView.[Ch]:
1341         * BufferView_pimpl.[Ch]:
1342         * bufferview_funcs.C:
1343         * text2.C:
1344         * text3.C: rip out "deep update"
1345
1346         * textcursor.[Ch] (last_sel_cursor): remove unused member
1347
1348 2003-08-04  André Pönitz  <poenitz@gmx.net>
1349
1350         * BufferView.[Ch]:
1351         * BufferView_pimpl.[Ch]:
1352         * ParagraphParameters.C:
1353         * bufferview_funcs.C:
1354         * lyx_cb.C:
1355         * lyxfind.C:
1356         * lyxfunc.C:
1357         * text.C:
1358         * text2.C:
1359         * text3.C: replace "complicated" BufferView::update(...) calls with
1360         simpler ones.
1361
1362         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1363
1364 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1365
1366         * Makefile.am (lyx_SOURCES): add paper.h
1367
1368 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1369
1370         * Makefile.am: move things around so that both lyx-qt and
1371         lyx-xforms can be built (according to --with-frontend). Then lyx
1372         is a symbolic link to lyx-[firstfrontend]
1373
1374 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1375
1376         * Always use std::endl with lyxerr
1377
1378 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1379
1380         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1381
1382 2003-08-01  André Pönitz  <poenitz@gmx.net>
1383
1384         * BufferView.[Ch]:
1385         * BufferView_pimpl.[Ch]:
1386         * lyxfunc.C:
1387         * text3.C: merge BufferView::repaint() and BufferView::update()
1388
1389 2003-08-01  José Matos  <jamatos@lyx.org>
1390
1391         * buffer.[Ch]: file_format is no longer a buffer data element.
1392
1393 2003-08-01  André Pönitz  <poenitz@gmx.net>
1394
1395         * BufferView.C:
1396         * lyxtext.h:
1397         * text.C:
1398         * text2.C: make redoParagraph more independent of current cursor
1399
1400         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1401         * text.C:
1402         * text2.C: remove unneeded members
1403
1404 2003-07-30  André Pönitz  <poenitz@gmx.net>
1405
1406         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1407
1408         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1409           create a single function...
1410
1411         * paragraph_funcs.C (moveItem): ... here.
1412
1413         * text.C:
1414           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1415
1416 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1417
1418         * LColor.[Ch]: Add comment and greyedout logical colors.
1419
1420 2003-07-30  André Pönitz  <poenitz@gmx.net>
1421
1422         * tabular.C: don't use Assert too heavily. This crashes where it
1423           shouldn't
1424
1425 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1426
1427         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1428         is disabled (bug 1232)
1429
1430 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1431
1432         * factory.C: limited 'arg' scope
1433
1434 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1435
1436         * factory.C: fixed Note submenu issues
1437
1438 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1439
1440         * factory.C: submenu for Note/Comment/Greyedout
1441
1442 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1443
1444         * lyx_main.C (LyX):
1445         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1446
1447 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1448
1449         * LaTeXFeatures.C:
1450         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1451         greyedout. Patch provided by Jürgen Spitzmüller.
1452
1453 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1454
1455         * kbmap.C (read): fix error message when reading bind files
1456
1457 2003-07-29  Angus Leeming  <leeming@lyx.org>
1458
1459         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1460         certainly does not do what it purports to do. I am doing it, and
1461         us, a favour by killing it.
1462
1463 2003-07-28  José Matos  <jamatos@lyx.org>
1464
1465         * buffer.C (readBody, do_writeFile):
1466         * paragraph.C(readParagraph): \end_document replaces \the_end.
1467
1468 2003-07-29  André Pönitz  <poenitz@gmx.net>
1469
1470         * BufferView.[Ch]:
1471         * BufferView_pimpl.[Ch]:
1472         * lyxfunc.C:
1473         * text2.C:
1474         * text3.C:
1475         * textcursor.[Ch]: remove toggleToggle & Co
1476
1477 2003-07-28  José Matos  <jamatos@fep.up.pt>
1478
1479         * buffer.C (readParagraph):
1480         * params_func (readParToken, readParagraph):
1481         * paragraph.C (write): \layout -> \begin_layout.
1482
1483 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1484
1485         * lyxlex_pimpl.C (setFile): clean up slightly.
1486
1487         * bufferparams.h: add compressed var
1488
1489         * buffer_funcs.C (readFile): adjust for LyXLex change
1490         (newFile): ditto + simplify
1491
1492         * buffer.C (writeFile): handle writing of compressed files
1493
1494         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1495         Check if the file is compressed and set a bufferparm if so.
1496
1497         * Makefile.am (lyx_LDADD): remove explicit -lz
1498
1499 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1500
1501         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1502         makeDocBookFile): put the real LyX version in the first line of
1503         the file
1504
1505         * version.h:
1506         * version.C.in: remove lyx_docversion
1507
1508         * tabular.C (write_attribute): add a template-based version to
1509         write enums properly
1510
1511 2003-07-28  André Pönitz  <poenitz@gmx.net>
1512
1513         * lyxtext.h:
1514         * text.C:
1515         * text2.C:
1516         * text3.C: use doubles again for x-coordinates. They are needed.
1517
1518 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1519
1520         * messages.C (getLocaleDir): use lyx_localedir()
1521
1522         * lyxlex_pimpl.C (setFile): compress stuff
1523
1524         * buffer.C (writeFile): add some compression stuff
1525         (do_writeFile): new func, dont call expliti close... will this
1526         breake anything?
1527
1528         * Makefile.am (lyx_LDADD): add -lz
1529
1530 2003-07-28  José Matos  <jamatos@fep.up.pt>
1531
1532         * buffer.C: increment file format.
1533         * paragraph_funcs (readParagraph, readParToken):
1534         * paragraph.C (readParagraph): add \end_layout.
1535
1536 2003-07-27  Angus Leeming  <leeming@lyx.org>
1537
1538         * Makefile.am: remove special casing for configure-time setting of
1539         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1540
1541         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1542         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1543
1544 2003-07-26  André Pönitz  <poenitz@gmx.net>
1545
1546         * paragraph_func.[Ch]:
1547         * paragraph.C (realizeFont): inline it whereever it is used
1548
1549         * rowpainter.C:
1550         * text.C:
1551         * text2.C:
1552         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1553
1554
1555 2003-07-26  André Pönitz  <poenitz@gmx.net>
1556
1557         *       lyxtext.h:
1558         * text.C:
1559         * text2.C: get rid of LyXText::need_break_row
1560
1561 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1562
1563         * toc.[Ch]: put namespace toc inside namespace lyx
1564
1565         * MenuBackend.C (expandToc2): adjust for lyx::toc
1566         (expandToc): ditto
1567
1568         * lyxfunc.C (dispatch): adjust for lyx::find
1569
1570         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1571         lyx::find instead. Reorganize a bit.
1572         (LyXReplace): rename to replace
1573         (LyXFind): rename to find
1574
1575         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1576         (dispatch): ditto
1577
1578 2003-07-26  André Pönitz  <poenitz@gmx.net>
1579
1580         * text.C (setHeightOfRow): restrict scope of temporary variable
1581
1582         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1583           code (never has been used?)
1584
1585 2003-07-27  Asger Alstrup  <alstrup@local>
1586
1587         * text.C (fill): Optimise algorithm to exploit that we can reuse
1588         the LyXFont for many characters.
1589         (setHeightOfRow): Same thing.
1590         (rowBreakPoint): Same thing.
1591
1592 2003-07-26  Asger Alstrup  <alstrup@local>
1593
1594         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1595
1596         * text.C (singleWidth): Spurious font copying in hot-spot
1597         singleWidth avoided. Reorder tests for arabic for efficiency.
1598
1599         * text.C (fill): handle empty paragraphs better.
1600
1601 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1602
1603         * ispell.C:
1604         * encoding.h: add includes
1605
1606         * lyxrc.C: remove reading of bind files
1607
1608         * lyx_main.C (init): setup bindings and menus only if we have a
1609         gui.
1610
1611         * kbmap.C (read): new method. Do the actual reading of bind
1612         files.
1613
1614         * converter.C (dvipdfm_options):
1615         * bufferparams.C:
1616         * lyxrc.C (read):
1617         (output): adapt PAPER_* enums.
1618
1619         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1620
1621         * bufferparams.h: remove paper-related enums from there
1622
1623         * paper.h: New file. A trivial header file to hold paper-related
1624         enums. It should later expand to contain many paper-related
1625         horrors access.
1626
1627         * lyxrc.C: declare extern displayTranslator
1628
1629 2003-07-27  José Matos  <jamatos@fep.up.pt>
1630
1631         * tabular.[Ch] (linuxdoc): add support for tables and figures
1632         (linuxdoc).
1633
1634 2003-07-27  José Matos  <jamatos@fep.up.pt>
1635
1636         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1637         consistency in both functions.
1638         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1639
1640 2003-07-26  Asger Alstrup  <alstrup@local>
1641
1642         * rowpainter.C (paintRows): Change algorithm to work directly on
1643         the insets rather than asking every character in the document
1644         whether its an inset.
1645
1646 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1647
1648         * buffer.C (openFileWrite): factorize some code
1649
1650 2003-07-26  Angus Leeming  <leeming@lyx.org>
1651
1652         * lyx_cb.C:
1653         * lyx_main.[Ch]: replace occurances of system_tempdir with
1654         os::getTmpDir().
1655
1656 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1657
1658         * rename Inset to InsetOld
1659
1660 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1661
1662         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1663         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1664         which I think is a bit clearer. EDIT is gone, since it was
1665         premature optimisation, and broken for mathed anyway.
1666         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1667         with cursor positioning in insets as well (math insets still do not
1668         work, but that's a different story anyway.) It mysteriously
1669         crashes sometimes with undo in the first paragraph, but I'm fairly
1670         confident that this is a compiler bug.
1671
1672 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1673
1674         * paragraph.C (Paragraph): adjust for new clone return type
1675         (operator==): ditto
1676         (copyIntoMinibuffer): ditto
1677
1678 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1679
1680         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1681         by not having a special case, and always doing a full rebreak of
1682         the document after undo.
1683
1684 2003-07-23  Angus Leeming  <leeming@lyx.org>
1685
1686         * factory.C (createInset): InsetExternal::setParams now takes a
1687         Buffer const * arg.
1688
1689 2003-07-23  Angus Leeming  <leeming@lyx.org>
1690
1691         * factory.C (createInset): changed interface to the external and
1692         graphics mailers' string2params functions.
1693
1694 2003-07-23  Angus Leeming  <leeming@lyx.org>
1695
1696         * factory.C (createInset): pass a
1697         Buffer const * parameter to InsetExternalMailer's string2params.
1698
1699 2003-07-22  John Levon  <levon@movementarian.org>
1700
1701         * Thesaurus.h: include the right aiksaurus header
1702
1703 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1704
1705         * MenuBackend.C (expand): check menu shortcuts unconditionally
1706
1707 2003-07-21  Angus Leeming  <leeming@lyx.org>
1708
1709         * factory.C (createInset): pass a
1710         buffer_path parameter to InsetGraphicsMailer's string2params.
1711
1712 2003-07-21  Angus Leeming  <leeming@lyx.org>
1713
1714         * BufferView_pimpl.C (buffer):
1715         * buffer.C (d-tor):
1716         * lyx_main.C (LyX):
1717         * lyxfunc.C (dispatch):
1718         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1719         rather than the grfx shortcut.
1720
1721 2003-07-21  André Pönitz  <poenitz@gmx.net>
1722
1723         * rowpainter.C: remove unused variables
1724
1725         * tabular_funcs.C:
1726         * tabular_funcs.h: move to tabular.C
1727         * Makefile.am: adjust
1728
1729         * tabular.[Ch]: basic optical cleaning
1730
1731         * author.h: pass references, not values
1732
1733 2003-07-18  André Pönitz  <poenitz@gmx.net>
1734
1735         * lyxtext.h:
1736         * metricsinfo.C:
1737         * metricsinfo.h:
1738         * rowpainter.C:
1739         * text.C:
1740         * text2.C:
1741         * text3.C: two-phase drawing for InsetText and InsetTabular
1742         some float -> int changes.
1743
1744 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1745
1746         * lyx_main.C: fix the fix
1747
1748 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1749
1750         * lyx_main.C: fix a crash in batch mode if no files specified
1751         * converter.C: ws
1752
1753 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1754
1755         * format.[Ch] (papersize): moved to BufferParams
1756         * converter.[Ch] (dvips_options): moved to BufferParams
1757         (dvipdfm_options): moved to anon namespace
1758         * bufferparams.[Ch]: added above functions.
1759
1760 2003-07-17  André Pönitz  <poenitz@gmx.net>
1761
1762         * lyxtext.h:
1763         * rowpainter.C:
1764         * text2.C: don't call inset->update() anymore
1765
1766         * metricsinfo.[Ch]: add convenience constructor
1767
1768 2003-07-16  André Pönitz  <poenitz@gmx.net>
1769
1770         * lyxcursor.[Ch]:
1771         * lyxfunc.[Ch]:
1772         * text.C:
1773         * text2.C: replace the LyXCursor::irow_ member with
1774          on-demand computation of the value
1775
1776 2003-07-16  John Levon  <levon@movementarian.org>
1777
1778         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1779
1780 2003-07-15  André Pönitz  <poenitz@gmx.net>
1781
1782         * text.C:
1783         * text2.C: remove no more needed refresh_row
1784
1785 2003-07-15  André Pönitz  <poenitz@gmx.net>
1786
1787         * lyxtext.h:
1788         * rowpainter.C:
1789         * text2.C:
1790         * text3.C: refresh_status tristate -> need_update bool
1791
1792 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1793
1794         * lyxtext.h (init): remove reinit argument (act as if always true)
1795         * text2.C: adjust to that
1796
1797 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1798
1799         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1800         * text3.C: use it to delete selections in some cases
1801         (bugs 441, 673, 702, 954).
1802
1803 2003-07-14  André Pönitz  <poenitz@gmx.net>
1804
1805         * rowpainter.[Ch]: reduce interface
1806
1807 2003-07-14  André Pönitz  <poenitz@gmx.net>
1808
1809         * BufferView_pimpl.C:
1810         * text2.C: adjust after removing unused BufferView * argument
1811
1812 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1813
1814         * text2.C (init): fix a crash fired on resize
1815
1816 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1817
1818         * buffer.[Ch]: added new closing signal
1819         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1820         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1821         BufferView::Pimpl via the closing the signal
1822
1823 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1824
1825         * buffer.[Ch]: take out all bv-related from buffer
1826         * BufferView.C:
1827         * BufferView_pimpl.[Ch]: connect to new signals
1828         * CutAndPaste.C: removed useless asserts
1829         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1830         * lyxvc.[Ch]:
1831         * vc-backend.[Ch]:
1832         * lyxfunc.C: moved view-related funciontality from vc here
1833         * paragraph.C: removed outdated comments
1834         * text.C: ws
1835
1836 2003-07-10  André Pönitz  <poenitz@gmx.net>
1837
1838         * BufferView_pimpl.C:
1839         * tabular.h:
1840         * tabular_funcs.C:
1841         * text.C:
1842         * text2.C: remove InsetText::InnerCache, clean up consequences
1843
1844 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1845
1846         * ispell.C: fix two typos in error messages
1847
1848 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1849
1850         * Extend Note inset to other forms of annotation like Comment
1851         and Greyedout. Right button click gives dialog.
1852
1853         Files modified or added (+):
1854
1855         * insetnote.[Ch]
1856         * FormNote.[Ch]      +
1857         * ControlNote.[Ch]   +
1858         * form_note.fd       +
1859         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1860         frontends/controllers
1861         * xforms/Dialogs.C
1862         * factory.C
1863
1864 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1865
1866         * aspell.C: add missing namespace lyx::support
1867
1868 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1869
1870         * BufferView.[Ch] (newFile): Add
1871         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1872         * LaTeX.[Ch] (message): added this signal and use it
1873         * buffer.[Ch] (busy, message): added these signals and use them
1874         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1875         * converter.C:
1876         * exporter.C:
1877         * format.C:
1878         * importer.C: use buffer signals instead of direct bv calling
1879         * lyx_cb.[Ch] (ShowMessage): removed
1880         * lyx_main.C:
1881         * lyxfunc.C:
1882         * paragraph_funcs.C:
1883         * text2.C: use buffer signals
1884
1885 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1886
1887         * introduce namespace lyx::graphics
1888
1889 2003-07-02  André Pönitz  <poenitz@gmx.net>
1890
1891         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1892
1893 2003-07-01  André Pönitz  <poenitz@gmx.net>
1894
1895         * text.C:
1896         * text2.C:
1897         * text3.C:
1898         * text_funcs.[Ch]:
1899         * textcursor.h:
1900         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1901           text*.C to text_func.C
1902
1903 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1904
1905         * introduce namespace lyx::support
1906
1907 2003-06-30  André Pönitz  <poenitz@gmx.net>
1908
1909         * Chktex.C:
1910         * funcrequest.C:
1911         * lyxtext.h:
1912         * text.C: re-enable --with-included-string
1913
1914 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1915
1916         * textcursor.C: add <config.h>
1917
1918         * text.C (getWord): remove const from word_location arg
1919
1920         * lyxvc.C (getLogFile): fix const type order
1921
1922         * lyxtext.h: remove const from word_location arg, add arg name
1923
1924         * lyxlayout.h: currect type on labeltype.
1925
1926         * importer.C: correct \file
1927
1928         * converter.C (intToFormat): use std:: on ret val, ws changes
1929
1930         * bufferlist.h: correct \file
1931
1932         * buffer.C (makeLinuxDocFile): fix const type order
1933         (makeDocBookFile): ditto
1934         (fillWithBibKeys): use std:: on stdlib args.
1935
1936         * CutAndPaste.C: fix authors.
1937         (availableSelections): use std:: on return vector
1938
1939 2003-06-27  André Pönitz  <poenitz@gmx.net>
1940
1941         * BufferView_pimpl.C:
1942         * bufferview_funcs.C:
1943         * lyxcursor.C:
1944         * lyxcursor.h:
1945         * lyxfunc.C:
1946         * lyxtext.h:
1947         * rowpainter.C:
1948         * text.C:
1949         * text2.C:
1950         * text3.C: remove LyXCursor::row_ member
1951
1952         * lyxtext.h:
1953         * text.C: rename fullRebreak() to partialRebreak() and implement
1954           a fullRebreak() that really bereks fully
1955
1956         * textcursor.h: new struct for cursor-related data
1957
1958 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1959
1960         * lyx_main.C (LyX): get full path of document loaded on the
1961         command line
1962
1963 2003-06-26  André Pönitz  <poenitz@gmx.net>
1964
1965         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1966           remove unused/broken operator>,<,>=.
1967
1968         *       text.C: remove only use of broken operator<= in an Assert().
1969
1970 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1971
1972         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1973         moved errorlist_.clear to showErrorList
1974
1975 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1976
1977         * converter.C (scanLog, runLaTeX):
1978         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1979         move the bv->showErrorList call to the callers
1980         * lyxfunc.C: i.e. here...
1981         * text2.C: and here
1982         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1983         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1984         namespace, the second to...
1985         * buffer_funcs (BufferFormat, parseErrors): added
1986         * errorlist.C (ErrorList(TeXErrors const &)): removed
1987
1988 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1989
1990         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1991
1992 2003-06-24  "Garst R. Reese" <reese@isn.net>
1993
1994         * debug.C: fix typo
1995
1996 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1997
1998         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1999
2000         * version.C.in: change docversion to 1.4
2001
2002 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2003
2004         * buffer.C: fix a bug just introduced
2005
2006 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2007
2008         * buffer.[Ch]: added the parseError signal and use it, removed
2009         sgmlError
2010         * BufferView.[Ch] (addError): moved to ...
2011         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2012         to the Buffer::parseError signal to catch (guess what) parse errors
2013         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2014
2015 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2016
2017         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2018         ability to create a buffer and to return an existing one from
2019         the list. Moved these functions to...
2020         * buffer_funcs.[Ch]: added
2021         * BufferView.[Ch] (loadLyXFile): added
2022         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2023         job removed from bufferlist::loadLyXFile.
2024         * buffer.C (setReadOnly): make it work without view
2025         (i.e added an if (users))
2026
2027 2003-06-19  Angus Leeming  <leeming@lyx.org>
2028
2029         * lfuns.h:
2030         * LyXAction.C (init):
2031         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2032         with LFUN_DIALOG_SHOW <name> <data>.
2033
2034 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2035
2036         * CutAndPaste.C (availableSelections): small compilation fix for
2037         ancient (gcc 2.9x) compilers
2038
2039 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2040
2041         * text3.C (cursorNext): add tmp var
2042
2043         * text2.C (updateCounters): for function calling out of for clause
2044         (replaceSelectionWithString): ditto
2045         (insertStringAsParagraphs): ditto
2046         (getColumnNearX): add tmp var
2047         (setCursorFromCoordinates): add tmp var
2048         (cursorDownParagraph): add tmp var
2049         (deleteEmptyParagraphMechanism): add tmp var
2050
2051         * text.C (insertChar): add tmp var
2052
2053         * rowpainter.C (paintDepthBar): add tmp var
2054
2055         * CutAndPaste.C (availableSelections): potentially check all
2056         paragraphs in a cut to fill the shown strings.
2057
2058 2003-06-18  André Pönitz  <poenitz@gmx.net>
2059
2060         * kbmap.[Ch]: use vector<> instead of list<>
2061
2062 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2063
2064         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2065         pasteSelection with index
2066
2067         * text2.C (pasteSelection): modify, call pasteSelection with index
2068
2069         * paragraph.C (asString): reimplement version with no interval to
2070         call the one with interval.
2071
2072         * lyxtext.h: add index arg to pasteSelection
2073
2074         * MenuBackend.C (MenuItem): handle PasteRecent
2075         (Menu::read::Menutags): add md_pasterecent
2076         (read): handle it
2077         (expandPasteRecent): new function
2078         (expand): use it
2079
2080         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2081
2082         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2083         the limited stack
2084         (availableSelections): new function
2085
2086 2003-06-17  Angus Leeming  <leeming@lyx.org>
2087
2088         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2089
2090 2003-06-17  Angus Leeming  <leeming@lyx.org>
2091
2092         * lfuns.h:
2093         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2094
2095         * lyxfunc.C (dispatch): invoke it.
2096
2097 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2098
2099         * iterators.C (operator++, ParPosition): reintroduce some
2100         const_cast for the benefit of older compilers.
2101
2102 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2103
2104         * text3.C (dispatch): do not modify clipboard when doing
2105         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2106         LFUN_DELETE_SKIP on a selection selection
2107
2108 2003-06-16  André Pönitz  <poenitz@gmx.net>
2109
2110         * BufferView.C:
2111         * buffer.C:
2112         * buffer.h:
2113         * paragraph.C:
2114         * tabular.[Ch]: IU of clone() and getLabelList();
2115
2116 2003-06-13  André Pönitz  <poenitz@gmx.net>
2117
2118         * tabular.h: compactification
2119
2120 2003-06-12  André Pönitz  <poenitz@gmx.net>
2121
2122         * tabular.C:
2123         * tabular.h:
2124         * tabular_funcs.h: some renaming plus whitespace
2125
2126 2003-06-12  André Pönitz  <poenitz@gmx.net>
2127
2128         * BufferView.C:
2129         * BufferView_pimpl.C:
2130         * CutAndPaste.C:
2131         * buffer.C:
2132         * iterators.[Ch]:
2133         * lyxfunc.C:
2134         * text.C:
2135         * toc.C: Return a Paragraph & for ParIterator::operator*()
2136
2137 2003-06-11  John Levon  <levon@movementarian.org>
2138
2139         * lyx_main.C:
2140         * ToolbarBackend.h:
2141         * ToolbarBackend.C: add "Toolbars" section and
2142         put the flags there
2143
2144 2003-06-10  Angus Leeming  <leeming@lyx.org>
2145
2146         * lfuns.h:
2147         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2148
2149         * lyxfunc.C (dispatch): invoke it.
2150
2151 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2152
2153         * main.C: protect <ios> with HAVE_IOS
2154         (main): protect sync_with_stdio with HAVE_IOS
2155
2156 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2157
2158         * text2.C (cutSelection): adjust
2159         (pasteSelection): adjust
2160
2161         * messages.C: handle get of empty string
2162
2163         * main.C (main): use sync_with_stdio(false)
2164
2165         * lyxfunc.C (dispatch): adjust
2166
2167         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2168         (WriteAs): remove unneeded BufferView arg.
2169
2170         * bufferparams.h: use correct types on papersize, papersize2 and
2171         paperpackage.
2172
2173         * bufferparams.C (readToken): adjust for type
2174         (writeLaTeX): add missing cases to switch.
2175
2176         * bufferlist.C (quitWriteBuffer): adjust
2177         (close): adjust
2178
2179         * buffer.C (asciiParagraph): remove some commented code.
2180
2181         * CutAndPaste.C: remove current_view extern variable.
2182         (cutSelection): add BufferParams arg.
2183         (eraseSelection): add BufferParams arg.
2184         (pasteSelection): add Buffer const & arg
2185
2186 2003-06-07  John Levon  <levon@movementarian.org>
2187
2188         * buffer.C:
2189         * paragraph_funcs.C:
2190         * paragraph_pimpl.C:
2191         * text.C:
2192         * text2.C:
2193         * paragraph.h:
2194         * paragraph.C: allow InsetERT to freely space lines,
2195         and some consolidation of code
2196
2197 2003-06-06  José Matos  <jamatos@fep.up.pt>
2198
2199         * buffer.C (makeDocBookFile): fix bug #821
2200
2201 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2202
2203         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2204
2205 2003-06-04  Angus Leeming  <leeming@lyx.org>
2206
2207         * buffer.C: bump format to 224.
2208
2209 2003-06-05  André Pönitz  <poenitz@gmx.net>
2210
2211         * text2.C (redoParagraphs): remove two const_cast<>
2212
2213 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2214
2215         * ParagraphList.h: remove last remnants of NO_STD_LIST
2216
2217 2003-06-03  Angus Leeming  <leeming@lyx.org>
2218
2219         * factory.C (createInset): small change to the way InsetExternal's params
2220         are set.
2221
2222 2003-06-04  André Pönitz  <poenitz@gmx.net>
2223
2224         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2225
2226         * paragraph_pimpl.h:
2227         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2228
2229         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2230
2231         * undo_funcs.C: make some simple cases of undo work again
2232
2233 2003-06-03  John Levon  <levon@movementarian.org>
2234
2235         * ispell.C: HPUX doesn't have sys/select.h
2236         (from Albert Chin)
2237
2238 2003-06-03  John Levon  <levon@movementarian.org>
2239
2240         * CutAndPaste.C: update tabular and include inset
2241         buffer references
2242
2243         * buffer.h:
2244         * paragraph.h:
2245         * paragraph.C: remove owningBuffer(), don't pass Buffer
2246         to clone()
2247
2248         * factory.C: insetGraphicsParams changed
2249
2250 2003-06-02  John Levon  <levon@movementarian.org>
2251
2252         * LyXAction.C:
2253         * factory.C:
2254         * lfuns.h:
2255         * lyxfunc.C:
2256         * text3.C: remove insetparent
2257
2258 2003-06-02  John Levon  <levon@movementarian.org>
2259
2260         * buffer.h:
2261         * buffer.C: fix inset_iterator.end(), move out of line
2262         (bug 1149)
2263
2264 2003-06-01  John Levon  <levon@movementarian.org>
2265
2266         * text3.C: use a proper cut/paste when doing inset
2267         insert (from Jürgen Spitzmüller)
2268
2269 2003-06-01  John Levon  <levon@movementarian.org>
2270
2271         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2272
2273 2003-05-30  André Pönitz  <poenitz@gmx.net>
2274
2275         * rowpainter.C: unify second drawing phase
2276
2277 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2278
2279         * trans_mgr.C: remove one case of current_view
2280
2281         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2282
2283         * paragraph_funcs.h: remove paragraph.h include
2284
2285         * paragraph.h: delete NO_STD_LIST stuff
2286
2287         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2288
2289         * buffer.h: remove paragraph.h include
2290
2291         * ParagraphList.C: delete file
2292
2293         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2294
2295         * toc.C (getTocList): adjust
2296
2297         * paragraph_pimpl.C (validate): adjust
2298
2299         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2300
2301         * paragraph.C (Paragraph): adjust
2302         (getPositionOfInset): use const_iterator, adjust
2303         (bibitem): use const_iterator, adjust
2304         (setInsetOwner): adjust
2305
2306         * iterators.C (operator++): adjust
2307
2308         * InsetList.[Ch]: Replace selfmade iterator with standard
2309         vector::iterator also introduce const_iterator. Remove getPos,
2310         getInset and setInset from InsetTable. Adjust accordingly.
2311
2312         * BufferView.C (lockInset): adjust
2313         (ChangeInsets): adjust
2314
2315         * tabular.[Ch]: delete commented same_id functions
2316
2317 2003-05-28  John Levon  <levon@movementarian.org>
2318
2319         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2320
2321 2003-05-28  André Pönitz  <poenitz@gmx.net>
2322
2323         * metricsinfo.[Ch]: remove 'fullredraw' member
2324
2325 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2326
2327         * lyxtextclass.C (operator): remove caching.
2328
2329 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2330
2331         * text3.C: adjust
2332
2333         * text2.C (cursorBottom): adjust
2334         (setCounter): use ParagraphList::find, adjust
2335
2336         * text.C (workWidth): use ParagraphList::find, adjust
2337
2338         * lyxcursor.C (LyXCursor): adjust
2339
2340         * buffer.C (inset_iterator): adjust
2341
2342         * ParagraphList.h: make iterator(value_type) private, make
2343         ParagraphList a friend of iterator.
2344
2345         * ParagraphList.C (find): new function
2346
2347         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2348
2349 2003-05-27  André Pönitz  <poenitz@gmx.net>
2350
2351         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2352
2353 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2354
2355         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2356
2357 2003-05-26  John Levon  <levon@movementarian.org>
2358
2359         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2360
2361 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2362
2363         * remove same_id from function signatures, adjust.
2364
2365 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2366
2367         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2368
2369         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2370
2371         * paragraph.C (Paragraph): get rid of same_ids parameter
2372
2373         * ParagraphList.C (insert): adjust
2374         (push_back): adjust
2375
2376 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2377
2378         * paragraph_funcs.C (breakParagraph): adjust
2379         (breakParagraphConservative): adjust
2380
2381         * buffer.C (readParagraph): adjust
2382
2383         * ParagraphList.C (insert): take a reference instead of a pointer
2384         (insert): adjust
2385
2386         * paragraph.[Ch] (id): new function
2387
2388         * bufferlist.C (newFile): adjust
2389
2390         * ParagraphList.C (ParagraphList): adjust
2391         (assign): adjust
2392         (push_back): take a reference instead of a pointer.
2393
2394         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2395
2396         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2397         instead.
2398
2399         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2400         set else use old code.
2401
2402         * ParagraphList.C: remove all NO_NEXT code and only compile this
2403         code of NO_STD_LIST is set.
2404
2405 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2406
2407         * BufferView_pimpl.C:
2408         * TextCache.C:
2409         * TextCache.h:
2410         * bufferlist.C:
2411         * errorlist.h:
2412         * format.C:
2413         * format.h:
2414         * graph.C:
2415         * lyxfunc.C:
2416         * lyxrc.C:
2417         * graphics/GraphicsConverter.C:
2418         * graphics/PreviewLoader.C: header adjustment
2419
2420 2003-05-23  Angus Leeming  <leeming@lyx.org>
2421
2422         * LaTeXFeatures.[Ch] (useBabel): new method.
2423         * bufferparams.C (writeLaTeX): use it.
2424
2425 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2426
2427         * ParagraphList.h (set): remove unused function.
2428
2429 2003-05-23  André Pönitz  <poenitz@gmx.net>
2430
2431         * BufferView.C:
2432         * BufferView_pimpl.C:
2433         * buffer.C:
2434         * buffer.h:
2435         * lyxfunc.C:
2436         * undo_funcs.C: setUndo reworked
2437
2438         * iterators.[Ch]: add access to topmost ParagraphList
2439
2440         * lyxtext.[Ch] (workWidth): add a const
2441
2442 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2443
2444         * texrow.[Ch] (increasePos): remove function
2445         * exporter.C (export): removed unused var and outdated comment
2446
2447 2003-05-23  Angus Leeming  <leeming@lyx.org>
2448
2449         * latexrunparams.h: rename fragile as moving_arg.
2450         * paragraph.C (simpleTeXOnePar): ditto.
2451         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2452
2453 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2454
2455         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2456         (createUndo): ditto
2457         (textUndoOrRedo): comment out a currently unused var.
2458
2459         * paragraph.h (NO_NEXT): enable NO_NEXT
2460
2461         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2462
2463         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2464
2465         * exporter.C (Export): adjust for removeAutoInsets removal.
2466
2467         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2468
2469         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2470
2471         * BufferView.[Ch] (removeAutoInsets): delete function
2472
2473 2003-05-22  Angus Leeming  <leeming@lyx.org>
2474
2475         * latexrunparams.h: add a free_spacing variable.
2476
2477         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2478         to pass moving_arg, as the data is stored in runparams.fragile.
2479
2480         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2481         to Inset::latexOptional or to simpleTeXOnePar.
2482
2483         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2484         free_spacing arg to Inset::latexOptional.
2485
2486         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2487         free_spacing arg.
2488
2489 2003-05-22  Angus Leeming  <leeming@lyx.org>
2490
2491         * latexrunparams.h: add fragile and use_babel variables.
2492
2493         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2494         * buffer.C (makeLaTeXFile): store this returned value in
2495         runparams.use_babel, thus passing it to the inset::latex methods.
2496
2497         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2498         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2499
2500         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2501         longer has a fragile arg, as it is stored in runparams.fragile.
2502
2503         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2504         moving_arg parameter as the data is stored in runparams.fragile.
2505
2506         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2507         a fragile parameter as the data is stored in runparams.fragile.
2508
2509 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2510
2511         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2512
2513 2003-05-22  Angus Leeming  <leeming@lyx.org>
2514
2515         * latexrunparams.h: add a 'bool nice' which defaults to false.
2516
2517         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2518         now encapsulated within runparams.
2519
2520         * bufferlist.C (updateIncludedTeXfiles):
2521         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2522
2523 2003-05-22  Angus Leeming  <leeming@lyx.org>
2524
2525         * latexrunparams.h: new file containing struct LatexRunParams.
2526         * Makefile.am: add new file.
2527
2528         * LaTeX.[Ch] (c-tor, run):
2529         * buffer.[Ch] (makeLaTeXFile):
2530         * bufferlist.[Ch] (updateIncludedTeXfiles):
2531         * converter.C (convert, scanLog):
2532         * converter.[Ch] (runLaTeX):
2533         * exporter.C (Export):
2534         * paragraph.[Ch] (simpleTeXOnePar):
2535         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2536         * paragraph_funcs.[Ch] (latexParagraphs):
2537         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2538         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2539         pass around a LatexRunParams parameter.
2540
2541 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2542
2543         * paragraph.[Ch]: remove unused constructor
2544
2545         * ParagraphList.C (erase): new function, taking two iterators
2546
2547 2003-05-22  André Pönitz  <poenitz@gmx.net>
2548
2549         * undo_funcs.C: remove duplicated code
2550
2551         * iterator.[Ch]: operator=
2552
2553 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2554
2555         * tabular.C (SetMultiColumn): ws changes
2556
2557         * rowpainter.C (paintFirst): get rid of a ->previous
2558
2559         * lyx_cb.C (getPossibleLabel): parlist simplification
2560
2561         * BufferView.C (ChangeInsets): simplify slightly.
2562
2563 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2564
2565         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2566         * lfuns.h: new LFUN_SPACE
2567         * lyxfunc.C: protected space has a new lfun
2568         * paragraph_funcs.C: read new space insets
2569         * text3.C:
2570         * factory.C: handle new space insets
2571
2572 2003-05-22  André Pönitz  <poenitz@gmx.net>
2573
2574         * BufferView.C:
2575         * BufferView_pimpl.C:
2576         * buffer.[Ch]:
2577         * lyxfunc.C:
2578         * undo_funcs.C: return a ParIterator from getParFromID.
2579
2580         * iterators.[Ch]: add two const's
2581
2582 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2583
2584         * toc.C (getTocList): adjust
2585
2586         * iterators.[Ch]: rework for parlist
2587
2588         * buffer.C (par_iterator_begin): adjust
2589         (par_iterator_end): adjust
2590
2591         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2592
2593         * BufferView.C (removeAutoInsets): adjust
2594         (ChangeInsets): adjust
2595
2596 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2597
2598         * text.C (top_y): fix bug 1110
2599
2600 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2601
2602         * errorlist.[Ch]: added
2603         * buffer.C:
2604         * BufferView.[Ch]:
2605         * BufferView_pimpl.C:
2606         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2607         instead
2608
2609 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2610
2611         * Makefile.am: ensure that lyx is relinked upon changes to the
2612         various "convenience" libs.
2613
2614 2003-05-20  Angus Leeming  <leeming@lyx.org>
2615
2616         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2617         files are compiled in alphabetical order again.
2618
2619         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2620
2621 2003-05-19  Angus Leeming  <leeming@lyx.org>
2622
2623         * gettext.[Ch]: remove "char const * _(char const *)".
2624
2625 2003-05-19  André Pönitz  <poenitz@gmx.net>
2626
2627         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2628
2629         * Makefile.am:
2630         * BufferView.C:
2631         * DepTable.h:
2632         * LaTeXFeatures.C:
2633         * buffer.C:
2634         * lyxfont.C:
2635         * lyxlex.h:
2636         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2637
2638 2003-05-19  André Pönitz  <poenitz@gmx.net>
2639
2640         * buffer.C:
2641         * lyxlayout.[Ch]:
2642         * lyxtextclass.[Ch]:
2643         * paragraph.C:
2644         * paragraph_funcs.[Ch]:
2645         * text2.C:
2646         * text3.C: more insetenv work
2647
2648 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2649
2650         * ParagraphParameters.C (params2string): small bug fixed
2651
2652 2003-05-16  André Pönitz  <poenitz@gmx.net>
2653
2654         * debug.C:
2655         * bufferview_funcs.C: patch from Kornel Benko to prevent
2656           crash when _(...) is called twice in a statement
2657
2658 2003-05-16  André Pönitz  <poenitz@gmx.net>
2659
2660         * BufferView.C:
2661         * lyxfunc.C:
2662         * text.C:
2663         * text2.C:
2664         * text3.C:
2665         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2666
2667 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2668
2669         * lyx_main.C (init): remove spurious static_cast
2670
2671 2003-05-14  André Pönitz  <poenitz@gmx.net>
2672
2673         * BufferView.C: fix format string
2674
2675 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2676
2677         * BufferView.[Ch] (insertErrors): removed
2678         * BufferView.[Ch] (showErrorList): added
2679         * buffer.C (runChkTeX):
2680         * converter.C (scanLog): call showErrorList instead of inserterrors
2681
2682 2003-05-13  André Pönitz  <poenitz@gmx.net>
2683
2684         * BufferView_pimpl.C:
2685         * buffer.C:
2686         * bufferview_func.C:
2687         * MenuBackend.C:
2688         * lyxfunc.C:
2689         * lyxrc.C:
2690         * tex-accent.C:
2691         * text3.C:
2692         * toc.C:
2693         * tabular_funcs.h: tostr() from its own header
2694
2695         * ParagraphParameters.C:
2696         * ToolbarBackend.C:
2697         * bufferparams.C:
2698         * format.C:
2699         * lyxlex_pimpl.C:
2700         * text3.C: STRCONV()
2701
2702 2003-05-12  André Pönitz  <poenitz@gmx.net>
2703
2704         * BufferView.C:
2705         * BufferView_pimpl.C:
2706         * CutAndPaste.C:
2707         * LaTeX.C:
2708         * LaTeXFeatures.C:
2709         * ParagraphParameters.C:
2710         * buffer.C:
2711         * bufferlist.C:
2712         * bufferparams.C:
2713         * bufferview_funcs.C:
2714         * converter.C:
2715         * counters.C:
2716         * debug.C:
2717         * exporter.C:
2718         * format.C:
2719         * importer.C:
2720         * lyx_cb.C:
2721         * lyx_main.C:
2722         * lyxfont.C:
2723         * lyxfunc.C:
2724         * lyxvc.C:
2725         * paragraph.C:
2726         * paragraph_funcs.C:
2727         * tabular.C:
2728         * tabular_funcs.C:
2729         * text2.C:
2730         * text3.C:  boost::format -> bformat  all over the place
2731
2732
2733 2003-05-09  André Pönitz  <poenitz@gmx.net>
2734
2735         * LColor.[Ch]: Pimpl the #include <map> away
2736
2737 2003-05-09  John Levon  <levon@movementarian.org>
2738
2739         * bufferlist.C: never remove emergency saves
2740
2741 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2742
2743         * Makefile.am: better lib building
2744
2745 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2746
2747         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2748         instead.
2749         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2750         (simpleTeXSpecialChars): adjust
2751         (simpleTeXSpecialChars): adjust
2752         * paragraph.C (simpleTeXOnePar): adjust
2753         * buffer.C (makeLaTeXFile): adjust
2754
2755         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2756
2757         * text2.C (changeDepth): parlist cleanup
2758         (getColumnNearX): ditto
2759
2760         * rowpainter.C (getLabelFont): parlist cleanup
2761
2762         * bufferlist.C (newFile): parlist cleanup
2763
2764         * CutAndPaste.C (eraseSelection): parlist cleanup
2765
2766         * BufferView_pimpl.C (trackChanges): parlist cleanup
2767         (dispatch): ditto
2768
2769         * BufferView.C (lockInset): parlist cleanup.
2770         (ChangeInsets): ditto
2771
2772 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2773
2774         * CutAndPaste.h: Update file header.
2775
2776         * CutAndPaste.C: Update file header.
2777         Store the parts cut out of the Document in a limited_stack.
2778         (copySelection): adjust
2779         (pasteSelection): new function, takes the index in the limited stack.
2780         (nrOfParagraphs): adjust
2781         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2782         simplify error inset insertion.
2783         (checkPastePossible): adjust
2784
2785 2003-05-06  John Levon  <levon@movementarian.org>
2786
2787         * text2.C: don't cast wrap inset to float
2788
2789 2003-05-05  André Pönitz  <poenitz@gmx.net>
2790
2791         * iterator.C:
2792         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2793
2794         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2795           few naked Paragraph *.
2796
2797 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2798
2799         * bufferparams.C: Output warning if a document with missing
2800         TeX document class is loaded
2801         * exporter.C: Disable TeX exports if the document class is missing
2802         * lyxtextclass.C:
2803         * lyxtextclass.h:
2804         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2805         isTeXClassAvailable()
2806
2807 2003-05-03  John Levon  <levon@movementarian.org>
2808
2809         * BufferView.h:
2810         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2811         explicit cursor show/hide
2812
2813         * BufferView_pimpl.h:
2814         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2815         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2816
2817         * lyxfunc.C: hide cursor before dispatching.
2818
2819         * lyx_cb.C:
2820         * lyxfind.C:
2821         * text.C:
2822         * text3.C: remove explicit cursor hides
2823
2824 2003-05-02  André Pönitz  <poenitz@gmx.net>
2825
2826         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2827
2828         * undo_funcs.C:
2829         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2830           linked lists
2831
2832         * text2.C: tiny whitespace
2833
2834 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2835
2836         * undo_funcs.C: almost only ws changes.
2837
2838         * ParagraphList.C (splice): just return if pl is empty.
2839
2840 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2841
2842         * ParagraphList.C (splice): new function.
2843
2844         * CutAndPaste.C (pasteSelection): use it
2845
2846 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2847
2848         * CutAndPaste.C (pasteSelection): remove the last next and
2849         previous from this file.
2850
2851 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2852
2853         * CutAndPaste.C (pasteSelection): more clean up, user proper
2854         ParagraphList functions for pasteing.
2855
2856         * ParagraphList.C (insert): new function, three arg insert
2857
2858 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2859
2860         * ParagraphList.C (insert): new function, three arg insert
2861
2862         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2863         not on paragraphs.
2864
2865 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2868
2869 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2870
2871         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2872
2873 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2874
2875         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2876         (copySelection): clean up a bit.
2877         (pasteSelection): use make_pair
2878
2879         * ParagraphList.C (ParagraphList): implement copy constructor
2880         (operator=): implement, base on copy constructor.
2881         (assign): new func
2882
2883         * paragraph.C (erase): return a bool
2884
2885         * paragraph_pimpl.C (erasePos): remove function, move contents...
2886         (erase): ... here. Return a bool.
2887         (erase): call erase instead of erasePos.
2888
2889 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2890
2891         * ParagraphList.h: define PitPosPair
2892         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2893         ParagraphList, fix a bug on pasting multiple pars
2894         * text2.C: change interface to C&P
2895
2896 2003-04-30  André Pönitz  <poenitz@gmx.net>
2897
2898         * undo_func.C: revert part of yesterday's patch 2
2899
2900 2003-04-30  John Levon  <levon@movementarian.org>
2901
2902         * LColor.C: s/tabular/table/
2903
2904 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2905
2906         * text3.C (dispatch): do not convert iterator -> pointer
2907         * undo_funcs.C (setCursorParUndo): ditto
2908         * text_funcs.C (transposeChars): ditto
2909
2910         * text2.C (setLayout): ws changes only
2911
2912         * text.C (breakParagraph): do not convert iterator -> pointer
2913         (insertChar): ditto
2914         (acceptChange): ditto
2915         (rejectChange): ditto
2916         (changeCase): ditto
2917         (Delete): ditto
2918         (backspace): ditto
2919
2920         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2921         pointer
2922
2923 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2924
2925         * text3.C (gotoInset): YABG (yet another bad getChar)
2926
2927 2003-04-29  André Pönitz  <poenitz@gmx.net>
2928
2929         * paragraph.h: make operator= private unimplemented as long as
2930           it is unusable
2931
2932         * ParagraphList.C: whitespace
2933
2934         * paragraph.[Ch]:
2935         * paragraph_pimpl.[Ch]:
2936         * paragraph_funcs.C:
2937         * CutAndPaste.C:
2938         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2939
2940         * text2.C:
2941           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2942
2943 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2944
2945         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2946         * paragraph.[Ch] (erase):
2947         * paragraph_pimpl.[Ch] (erase): change return type and value
2948         * text2.C (cutSelection): some rework
2949
2950 2003-04-28  John Levon  <levon@movementarian.org>
2951
2952         * bufferlist.C: changes for unsaved changes dialog
2953
2954 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2955
2956         * bufferlist.C (newFile): set language (messages_) for new
2957         documents also.
2958
2959         * buffer.C (readFile): ws changes only.
2960
2961 2003-04-28  André Pönitz  <poenitz@gmx.net>
2962
2963         * undo_funcs.C:
2964         * lyxfunc.C:
2965         * buffer.[Ch]:
2966         * BufferView_pimpl.C:
2967         * BufferView.C: getParFromID related ParagraphList::iterator changes
2968
2969 2003-04-28  André Pönitz  <poenitz@gmx.net>
2970
2971         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2972           Changes
2973
2974 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2975
2976         * messages.C: remove one more localedir class variable.
2977
2978 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2979
2980         * messages.C (getLocaleDir): singleton generation function
2981         (Pimpl): use it.
2982         (Messages): add a default constructor.
2983
2984         * main.C (main): do not setup localedir here, do not call
2985         gettext_init.
2986
2987         * gettext.C (_): use it.
2988         (gettext_init): delete funciton
2989
2990 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2991
2992         * gettext.C (getLyXMessages): new singleton generating function.
2993
2994         * buffer.C (updateDocLang): adjust
2995
2996         * Makefile.am (messages.o): add target
2997         (main.o): remove target
2998
2999 2003-04-27  John Levon  <levon@movementarian.org>
3000
3001         * bufferlist.C:
3002         * lyx_cb.C:
3003         * lyxfunc.C:
3004         * lyxvc.C: specify cancel button in Alert::prompt
3005
3006 2003-04-26  John Levon  <levon@movementarian.org>
3007
3008         * text3.C:
3009         * lyxfunc.C:
3010         * lfuns.h:
3011         * LyXAction.C: add LFUN_INSET_SETTINGS
3012
3013         * lyxfunc.C: don't enable tabular-feature when there's
3014         just any locking inset
3015
3016 2003-04-26  John Levon  <levon@movementarian.org>
3017
3018         * bufferlist.C: re-add Cancel to buffer close question
3019
3020         * lyxfunc.C: fix import UI a bit
3021
3022 2003-04-25  John Levon  <levon@movementarian.org>
3023
3024         * gettext.C: remove the broken asserts for now
3025
3026 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3027
3028         * messages.C: make case where setlocale cannot comply work better.
3029
3030         * buffer.C (updateDocLang): new function
3031         (changeLanguage): use it
3032         (readFile): use it
3033
3034         * text2.C (setCounter): use B_ a bit.
3035
3036         * lyxlayout.C (Read): be sure to trim the label strings.
3037
3038         * messages.C (Messages): fix typo in comment
3039
3040         * buffer.C (readFile): set message_ after file is loaded.
3041         (makeDocBookFile): remove double return
3042         (changeLanguage): reset message_ upon language change.
3043         (B_): new func, use this to get translated buffer strings.
3044
3045         * main.C: add myself and Jean Marc as authors.
3046
3047 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3048
3049         * messages.[hC]: pimplify Messages, and three different pimpls to be
3050         used in different circumstances.
3051
3052         * gettext.[Ch]: change for use with new message code.
3053
3054 2003-04-24 André Pönitz <poenitz@gmx.net>
3055
3056         * factory.C: support for eqref
3057
3058 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3059
3060         * messages.[Ch]: add missing char
3061
3062         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3063
3064         * messages.[Ch]: New files
3065
3066 2003-04-18  John Levon  <levon@movementarian.org>
3067
3068         * BufferView.h:
3069         * BufferView.C:
3070         * BufferView_pimpl.C:
3071         * lfuns.h:
3072         * LyXAction.C:
3073         * lyxtext.h:
3074         * text2.C: remove layout-copy/paste (bug 778)
3075
3076 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3077
3078         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3079
3080 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3081
3082         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3083         if they succeed. Act accordingly.
3084
3085 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3086
3087         * text2.C (setCharFont): adjust
3088         (setCounter): adjust
3089         (insertStringAsLines): adjust
3090
3091         * text.C (leftMargin): adjust
3092         (setHeightOfRow): adjust
3093
3094         * rowpainter.C (paintFirst): adjust
3095         (paintLast): adjust
3096
3097         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3098         (outerHook): ditto
3099         (isFirstInSequence): ditto
3100         (getEndLabel): ditto
3101         (outerFont): adjust
3102
3103         * paragraph.C (getParLanguage): comment out some hard stuff.
3104
3105         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3106         (sgmlError): ditto
3107         (simpleDocBookOnePar): ditto
3108         (makeDocBookFile): use ParagraphList::iterator
3109
3110         * CutAndPaste.C (pasteSelection): adjust
3111
3112 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3113
3114         * text2.C (getFont): adjust
3115         (getLayoutFont): adjust
3116         (getLabelFont): adjust
3117
3118         * paragraph_funcs.C (TeXOnePar): adjust
3119
3120         * buffer.C (simpleLinuxDocOnePar): adjust
3121         (simpleDocBookOnePar): adjust
3122
3123         * CutAndPaste.C (pasteSelection): adjust
3124
3125         * BufferView.C (getEncoding): adjust
3126
3127         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3128
3129 2003-04-16  John Levon  <levon@movementarian.org>
3130
3131         * lyxfind.C: use parlist stuff for search/changes
3132
3133 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3134
3135         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3136
3137         * text2.C (deleteEmptyParagraphMechanism): adjust
3138
3139         * text2.[Ch] (ownerParagraph): delete func (both of them
3140
3141 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3142
3143         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3144
3145 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3146
3147         * ParagraphList.C: prepare for NO_NEXT
3148
3149 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3150
3151         * text2.C (getFont): adjust
3152         (getLayoutFont): adjust
3153         (getLabelFont): adjust
3154
3155         * paragraph.C (getFont): adjust
3156         (getLabelFont): adjust
3157         (getLayoutFont): adjust
3158
3159         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3160
3161 2003-04-15  John Levon  <levon@movementarian.org>
3162
3163         From Angus Leeming
3164
3165         * lyx_main.C: handle Include in .ui files
3166
3167 2003-04-15  John Levon  <levon@movementarian.org>
3168
3169         * MenuBackend.C: make the doc files length shorter
3170
3171         * ToolbarBackend.h:
3172         * ToolbarBackend.C: handle toolbar placement flags,
3173         Minibuffer
3174
3175 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3176
3177         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3178         adjust
3179
3180         * paragraph_funcs.C (TeXOnePar): adjust
3181
3182         * paragraph.C (getLabelFont): add outerfont arg, adjust
3183         (getLayoutFont): ditto
3184         (simpleTeXOnePar): adjust
3185
3186         * paragraph_pimpl.C (realizeFont): delete func
3187
3188 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3189
3190         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3191         row argument, constify cur argument.
3192
3193 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3194
3195         * text2.C (getFont): adjust
3196         (getLayoutFont): adjust
3197         (getLabelFont): adjust
3198
3199         * paragraph_funcs.C (TeXOnePar): adjust
3200         (outerFont): new func...
3201         (realizeFont): ...moved out from here, changed this to facilitate
3202         transition
3203
3204         * paragraph.C (getFont): take outerfont as arg, adjust
3205         (simpleTeXOnePar): add outerfont arg, adjust
3206
3207         * buffer.C (simpleLinuxDocOnePar): adjust
3208         (simpleDocBookOnePar): adjust
3209
3210         * CutAndPaste.C (pasteSelection): adjust
3211
3212         * BufferView.C (getEncoding): adjust
3213
3214 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3215
3216         * text2.C (setCharFont): adjust
3217         (setCounter): adjust
3218
3219         * text.C (leftMargin): adjust
3220         (setHeightOfRow): adjust
3221
3222         * rowpainter.C (paintFirst): adjust
3223         (paintLast): adjust
3224
3225         * paragraph_pimpl.C (realizeFont): adjust
3226
3227         * paragraph.C (isFirstInSequence): move from here...
3228         * paragraph_funcs.C (isFirstInSequence): ...to here
3229
3230         * paragraph.C (outerHook): move from here...
3231         * paragraph_funcs.C (outerHook): ...to here
3232
3233         * paragraph.C (depthHook): move from here...
3234         * paragraph_funcs.C (depthHook): ...to here
3235
3236         * paragraph.C (getEndLabel): move from here...
3237         * paragraph_funcs.C (getEndLabel): ...to here
3238
3239         * text2.C (realizeFont): move from here...
3240         * paragraph_funcs.C (realizeFont): ...to here
3241
3242 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3243
3244         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3245
3246 2003-04-14  Angus Leeming  <leeming@lyx.org>
3247
3248         * LColor.[Ch]: scrap LColor mathcursor.
3249
3250 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3251
3252         * lyxlex.[Ch] (text): delete function
3253         * trans.C (Load): adjust
3254         * paragraph_funcs.C (readParToken): adjust
3255
3256 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3257
3258         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3259         vector<char> instead of a char[].
3260
3261         * lyxlex_pimpl.C (getString): adjust
3262         (next): adjust
3263         (lex): use getString
3264         (eatLine): adjust
3265         (nextToken): adjust
3266
3267         * lyxlex.C (text): use pimpl_->getString()
3268         (getBool): ditto
3269         (findToken): ditto
3270
3271 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3272
3273         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3274         (makeFontEntriesLayoutSpecific): temp var for par.size()
3275         (setLayout): temp var for ownerParagraphs().end()
3276         (fullRebreak): temp var for rows().end()
3277         (selectionAsString): temp var for boost::next(startpit), realize
3278         that the while really is a regular for loop.
3279         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3280         setCursor in one place.
3281         (setParagraph): temp vr for ownerParagraphs().end()
3282         (updateCounters): make the while loop a for loop
3283         (cutSelection): temp var for ownerParagraphs().end()
3284         (updateInset): make the do {} while() a regular for loop
3285         (getCursorX): use temp vars
3286         (setCurrentFont): use temp vars
3287         (getColumnNearX): use temp vars
3288
3289 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3290
3291         * text.C (transformChar): use temp var for getChar
3292         (computeBidiTables): use temp var for row->par()
3293         (fill): move temp vars for row->par() and pit->layout() earlier in
3294         the function.
3295         (labelFill): use temp var for row->par()
3296         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3297         asc and desc, realize that pit never changes and that firstpit is
3298         just a duplicate and not needed. Exchange rit->par() with pit in a
3299         lot of places.
3300         (breakAgain): use a temp var for boost::next(rit)
3301         (breakAgainOneRow): ditto
3302         (breakParagraph): use a temp var for rows().begin()
3303         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3304         (cursorRightOneWord): use temp var for cursor.par() and
3305         cursor.pos(), remove usage of tmpcursor.
3306         (cursorLeftOneWord): use temp var for cursor.par() and
3307         cursor.pos() only set cur at end of function.
3308
3309 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3310
3311         * text.C, text2.C: exchange all usage of Paragraph::next with
3312         boost::next(ParagraphList::iterator)
3313
3314         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3315
3316         * text2.C (cursorTop): simplify implementation
3317         (cursorBottom): ditto
3318         (setParagraph): use ParagraphList::iterator
3319         (setCurrentFont): adjust
3320         (getColumnNearX): adjust
3321         (cursorRight): adjust
3322         (cursorLeft): remove usage of Paragraph::previous
3323         (cursorUpParagraph): ditto
3324         (deleteEmptyParagraphMechanism): slight cleanup
3325
3326         * text.C (isBoundary): take a Paragraph const & instead of a
3327         pointer as arg.
3328         (addressBreakPoint): ditto
3329         (leftMargin): remove usage of Paragraph::previous.
3330         (setHeightOfRow): ditto
3331         (cursorLeftOneWord): ditto
3332         (selectNextWordToSpellcheck): ditto
3333         (Delete): ditto
3334         (backspace): ditto
3335         (breakParagraph): remove one usage of Paragraph::next
3336         (redoParagraph): ditto
3337         (acceptChange): ditto
3338         (insertChar): adjust
3339         (rowBreakPoint): adjust
3340
3341         * bufferview_funcs.C (toggleAndShow): adjust
3342
3343 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3344
3345         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3346         methods to access it.
3347         * lyxtext.h:
3348         * text.C: Added updateRowPositions to compute all row positions.
3349         Make top_y and getRowNearY() to use the cached y position
3350
3351 2003-04-11  John Levon  <levon@movementarian.org>
3352
3353         * text.C (rowBreakPoint): reintroduce the labelEnd
3354         checks, code copied from the row fill stuff. Deep voodoo.
3355
3356         * text.C (fill): add a comment and debugging for the
3357         next poor soul.
3358
3359 2003-04-11  John Levon  <levon@movementarian.org>
3360
3361         * text.C: make sure fullrow insets get wrapped to the next line,
3362         even when they're in a manual label
3363
3364 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3365
3366         * text2.C (insertParagraph): make it take ParagraphList::iterator
3367         as arg.
3368         (setLayout): make it return ParagraphList::iterator
3369         (redoParagraphs): ditto
3370         (setCounter): ditto
3371         (checkParagraph): ditto
3372
3373         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3374
3375         * text2.C: adjust several funcs.
3376         (realizeFont): take a ParagraphList::iterator as arg.
3377         (getLayoutFont): ditto
3378         (getLabelFont): ditto
3379         (setCharFont): ditto
3380
3381         * text.C: adjust several funcs.
3382
3383 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3384
3385         * text.C (selectNextWordToSpellcheck): don't accidentally
3386         skip insets
3387
3388 2003-04-10  John Levon  <levon@movementarian.org>
3389
3390         * ToolbarBackend.C (getIcon): special handling for
3391         LFUN_MATH_DELIM
3392
3393 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3394
3395         * text2.C (cursorRight): a getChar assert fixed
3396
3397 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3398
3399         * text2.C (getFont): change to take a ParagraphList::iterator
3400         instead of Paragraph*
3401         Adjust several functions.
3402
3403         * text.C (transformChar): change to take a ParagraphList::iterator
3404         instead of Paragraph*
3405         (singleWidth): ditto
3406         Adjust several functions.
3407
3408         * rowpainter.C: adjust several functions
3409         * rowpainter.h:store a ParagraphList::iterator and not a
3410         Paragraph&.
3411
3412
3413 2003-04-09  John Levon  <levon@movementarian.org>
3414
3415         * lyxfunc.C:
3416         * lfuns.h:
3417         * LyXAction.h:
3418         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3419         and the "help" bits as well
3420
3421 2003-04-09  John Levon  <levon@movementarian.org>
3422
3423         * ToolbarBackend.h:
3424         * ToolbarBackend.C: allow multiple toolbars
3425
3426 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3427
3428         * undo_funcs.C (setCursorParUndo): adjust
3429
3430         * text_funcs.C (transposeChars): adjust
3431
3432         * text3.C (gotoNextInset): adjust
3433         (dispatch): adjust
3434
3435         * text2.C (setLayout): adjust
3436         (changeDepth): adjust
3437         (setFont): adjust
3438         (redoParagraphs): adjust
3439         (selectionAsString): adjust
3440         (setParagraph): adjust
3441         (insertInset): adjust
3442         (cutSelection): adjust
3443         (copySelection): adjust
3444         (pasteSelection): adjust
3445         (insertStringAsLines): adjust
3446         (updateInset): adjust
3447         (setCursor): change to take a ParagraphList::iterator parameter
3448         (setCursorIntern): change to take a ParagraphList::iterator parameter
3449         (setCurrentFont): adjust
3450         (cursorLeft): adjust
3451         (cursorRight): adjust
3452         (deleteEmptyParagraphMechanism): adjust
3453
3454         * text.C (breakParagraph): adjust
3455         (insertChar): adjust
3456         (acceptChange): adjust
3457         (rejectChange): adjust
3458         (selectNextWordToSpellcheck): adjust
3459         (changeCase): adjust
3460         (Delete): adjust
3461         (backspace): adjust
3462
3463         * lyxfind.C (SearchForward): adjust
3464         (SearchBackward): adjust
3465         (nextChange): adjust
3466
3467         * lyxcursor.C (par): adjust
3468
3469         * lyxcursor.h: store a ParagraphList::iterator instead of a
3470         Paragraph*
3471
3472         * lyx_cb.C (getPossibleLabel): adjust
3473
3474         * bufferview_funcs.C (toggleAndShow): adjust
3475
3476         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3477         (dispatch): adjust
3478
3479         * BufferView.C (removeAutoInsets): adjust
3480         (lockedInsetStoreUndo): adjust
3481
3482 2003-04-09  John Levon  <levon@movementarian.org>
3483
3484         * ToolbarBackend.C: try icon without argument
3485         if with argument fails
3486
3487 2003-04-08  John Levon  <levon@movementarian.org>
3488
3489         * ToolbarBackend.h:
3490         * ToolbarBackend.C: add getIcon(), handle tooltip,
3491         and change from "Icon" to "Item".
3492
3493 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3494
3495         * BufferView.C (lockInset): another bad getchar crunched
3496
3497 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3498
3499         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3500         again)
3501
3502 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3503
3504         * lyxfind.C (searchForward, searchBackwards): bug 782
3505
3506 2003-04-07  John Levon  <levon@movementarian.org>
3507
3508         * paragraph.C: remove dead comment
3509
3510         * text.C: remove troublesome depth-fiddling code
3511         in leftMargin() and rightMargin() (bug 1017)
3512
3513         * text.C: fix breaking of rows in nested lists
3514         (bug 1004)
3515
3516         * text2.C (updateCounters): fix up depth values
3517         (bug 1013)
3518
3519 2003-04-07  John Levon  <levon@movementarian.org>
3520
3521         * BufferView_pimpl.C: clear message when doc finishes resizing,
3522         and after a mouse event
3523
3524         * lyxfunc.C: clear message after exiting inset
3525
3526 2003-04-07  John Levon  <levon@movementarian.org>
3527
3528         * bufferview_funcs.C: show math status not outside
3529         status in the statusbar
3530
3531 2003-04-07  John Levon  <levon@movementarian.org>
3532
3533         * lyxfunc.C: note status changed after a depth change
3534
3535 2003-04-04  Angus Leeming  <leeming@lyx.org>
3536
3537         * LaTeX.h: move AuxInfo operator==, != out of line.
3538         Remove LaTeX virtual destructor; nothing derives from it.
3539         Move operator()() out of public area and rename it startscript().
3540         Change protected for private.
3541
3542 2003-04-04  Angus Leeming  <leeming@lyx.org>
3543
3544         * lyxfunc.C:
3545         * text2.C: remove unneeded #includes.
3546
3547 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3548
3549         * text2.C (dEPM): fix the heigth of the next row
3550
3551 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3552
3553         * text.C: squashed an invalid getChar requester + some ws changes
3554
3555 2003-04-03  John Levon  <levon@movementarian.org>
3556
3557         * bufferview_funcs.h:
3558         * bufferview_funcs.C:
3559         * lyxfunc.C:
3560         * lyxtext.h:
3561         * text2.C: make getStatus work for the env depth lfuns
3562
3563 2003-04-03  John Levon  <levon@movementarian.org>
3564
3565         * bufferview_funcs.h:
3566         * bufferview_funcs.C:
3567         * lyxfunc.C:
3568         * lyxtext.h:
3569         * text2.C: parlistize decDepth(), by merging it with incDepth()
3570
3571 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3572
3573         * lyxrow.h: store a ParagraphList::iterator instead of a
3574         Paragraph* and adjust other class functions to suit.
3575
3576         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3577         above.
3578
3579 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3580
3581         * text2.C (setCursor): do not anchor to cursor row for the time being
3582
3583 2003-04-02  John Levon  <levon@movementarian.org>
3584
3585         * LyXAction.C:
3586         * lfuns.h:
3587         * lyx_main.C:
3588         * lyxtext.h:
3589         * text.C:
3590         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3591
3592 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3593
3594         * paragraph.h: make ParagraphList and ParagraphList::iterator
3595         friends of Paragraph.
3596
3597         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3598
3599         * ParagraphList.C: Use the private next_ and previous_ from
3600         Paragraph.
3601
3602 2003-04-01  John Levon  <levon@movementarian.org>
3603
3604         * ToolbarBackend.h:
3605         * ToolbarBackend.C:
3606         * Makefile.am: rename, remove defaults gunk
3607
3608         * MenuBackend.h:
3609         * MenuBackend.C: remove defaults gunk
3610
3611         * Languages.h:
3612         * Languages.C: remove defaults gunk
3613
3614         * lyx_main.h:
3615         * lyx_main.C: error out if files couldn't be found.
3616
3617 2003-04-02  John Levon  <levon@movementarian.org>
3618
3619         * text2.C: make incDepth() use parlist
3620
3621 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3622
3623         * undo_funcs.C (firstUndoParagraph): adjust
3624
3625         * text3.C (gotoInset): adjust
3626         (dispatch): adjust, and rewrite loop.
3627
3628         * text2.C (init): adjust, and rewrite loop.
3629         (redoParagraphs): adjust
3630         (updateInset): adjust, and rewrite loop.
3631         (deleteEmptyParagraphMechanism): adjust
3632
3633         * tabular.C (LyXTabular): adjust
3634         (SetMultiColumn): adjust
3635         (TeXRow): adjust
3636
3637         * lyxtext.[Ch] (ownerParagraph): delete function
3638         (ownerParagraphs): new function returns a ParagraphList.
3639
3640         * BufferView.C (removeAutoInsets): adjust
3641         (insertErrors): adjust
3642         (setCursorFromRow): adjust
3643
3644 2003-04-01  Angus Leeming  <leeming@lyx.org>
3645
3646         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3647         in the frontends.
3648
3649 2003-04-02  John Levon  <levon@movementarian.org>
3650
3651         * lyxtext.h:
3652         * text.C:
3653         * Makefile.am:
3654         * text_funcs.h:
3655         * text_funcs.C: make transposeChars a free function
3656
3657         * lyxrow_funcs.C: remove wrong comment
3658
3659 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3660
3661         * lyxtext.h: adjust
3662         * rowpainter.C: adjust
3663         * text.C: adjust
3664         * text2.C: adjust
3665         * text3.C: adjust
3666
3667         * lyxrow_funcs. [Ch]: new files
3668
3669         * lyxrow.[Ch]: remove next and previous pointers
3670         (next,previous): remove accessor functions
3671         (isParEnd): move to lyxrow_funcs
3672         (lastPos): move to lyxrow_funcs
3673         (nextRowIsAllInset): move to lyxrow_funcs
3674         (lastPrintablePos): move to lyxrow_funcs
3675         (numberOfSeparators): move to lyxrow_funcs
3676         (numberOfHfills): move to lyxrow_funcs
3677         (numberOfLabelHfills): move to lyxrow_funcs
3678         (hfillExpansion): move to lyxrow_funcs
3679
3680         * lyxfunc.C: adjust
3681
3682         * bufferview_funcs.C (toggleAndShow): adjust
3683
3684         * RowList.h: Remove class RowList from file leave just a
3685         std::list<Row>.
3686
3687         * RowList.C: delete file
3688
3689         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3690         and lyxrow_funcs.h
3691
3692 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3693
3694         * text3.C (cursorPrevious): adjust
3695         (cursorNext): adjust
3696         (dispatch): adjust
3697
3698         * text2.C (redoHeightOfParagraph): adjust
3699         (redoDrawingOfParagraph): adjust
3700         (setCursor): adjust
3701
3702         * text.C (breakParagraph): adjust
3703         (insertChar): adjust
3704         (backspace): adjust
3705
3706         * rowpainter.C (RowPainter): adjust
3707         (leftMargin): simplify and adjust
3708         (most rowpainter functions): adjust.
3709
3710         * rowpainter.h: store the row as RowList::iterator not as Row*
3711
3712         * lyxcursor.C (row): taka RowList::iterator as arg
3713         (irow): ditto
3714
3715         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3716         of Row*.
3717
3718 2003-04-01  Angus Leeming  <leeming@lyx.org>
3719
3720         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3721         stuff like bool Bool.
3722
3723 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3724
3725         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3726         rewrite a loop
3727
3728 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3729
3730         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3731         RowList::iterator.
3732
3733         * lyxtext.h (rows): drop one version and leve a const variant that
3734         returns a RowList::iterator.
3735
3736 2003-03-31  Angus Leeming  <leeming@lyx.org>
3737
3738         * text.C (fill): ensure that the signature is the same as that in the
3739         header file.
3740
3741 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3742
3743         * text2.C (redoParagraphs): adjust
3744         (updateCounters): adjust
3745         (checkParagraph): adjust
3746         (getColumnNearX): adjust and reformat a bit.
3747
3748         * text.C (top_y): adjust
3749         (workWidth): adjust
3750         (leftMargin): adjust
3751         (prepareToPrint): adjust
3752         (getRow): adjust
3753         (getRowNearY): adjust
3754
3755         * lyxtext.h: make rowlist_ mutable.
3756
3757         * RowList.h: add const_iterator
3758         * RowList.C: adjust for RowList::const_iterator.
3759
3760         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3761         adjust.
3762
3763 2003-03-31  John Levon  <levon@movementarian.org>
3764
3765         * lyxrc.h:
3766         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3767
3768         * lyx_main.C: set default fonts from using lyx_gui funcs
3769
3770         * exporter.C: pdf_mode moved from lyxrc
3771
3772         * lyx_cb.C:
3773         * lyxfunc.C: changes from above
3774
3775 2003-03-31  John Levon  <levon@movementarian.org>
3776
3777         * lyx_main.C: fix to the last fix
3778
3779 2003-03-31  John Levon  <levon@movementarian.org>
3780
3781         * bufferlist.C: "Load original" -> "Load Original"
3782
3783         * converter.C:
3784         * exporter.C:
3785         * importer.C:
3786         * lyx_main.C:
3787         * format.C: more Alert cleanups
3788
3789 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3790
3791         * text2.C (removeParagraph): make it take a RowList::iterator as
3792         arg, adjust.
3793         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3794         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3795
3796         * text.C (anchor_row): make it take a RowList::iterator as arg,
3797         adjust.
3798         (computeBidiTables): make it take a const reference to Row instead
3799         of Row pointer, adjust.
3800         (leftMargin): make it take a RowList::iterator as arg, adjust.
3801         (rowBreakPoint): adjust
3802         (breakAgainOneRow): make it take a RowList::iterator as arg,
3803         adjust.
3804         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3805
3806         * bufferview_funcs.C (toggleAndShow): adjust
3807
3808 2003-03-30  John Levon  <levon@movementarian.org>
3809
3810         * Makefile.am:
3811         * BoostFormat.h:
3812         * boost-inst.C: moved to support
3813
3814         * several files: changes as a result
3815
3816 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3817
3818         * text2.C (LyXText): adjust.
3819         (init): adjust
3820         (removeRow): make it take a RowList::iterator as arg, adjust.
3821         (fullRebreak): adjust
3822         (deleteEmptyParagraphMechanism): adjust
3823         (clearPaint): adjust
3824         (postPaint): adjust
3825
3826         * text.C (top_y): adjust
3827         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3828         (breakAgain): make it take a RowList::iterator as arg, adjust.
3829         (breakParagraph): adjust
3830         (insertChar): adjust
3831         (backspace): adjust
3832
3833         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3834         need_break_row, and refresh_row.
3835
3836         * text3.C (dispatch): adjust
3837
3838         * text2.C (checkParagraph): adjust
3839         (setCursor): adjust
3840         (setCursorFromCoordinates): adjust
3841
3842         * text.C (top_y): adjust
3843         (workWidth): adjust
3844         (getRow): make it return a RowList::iterator, adjust
3845         (getRowNearY): make it return a RowList::iterator, adjust
3846
3847         * text2.C (init): adjust
3848         (insertRow): remove function
3849         (insertParagraph): adjust
3850         (redoParagraphs): adjust
3851         (fullRebreak): adjust
3852         (updateCounters): adjust
3853
3854         * text.C (top_y): rewrite to use RowList iterators.
3855         (top_y): adjust
3856         (setHeightOfRow): rewrite to sue RowList iterators.
3857         (appendParagraph): adjust
3858         (breakAgain): adjust
3859         (breakAgainOneRow): adjust
3860         (breakParagraph): adjust
3861         (getRow): adjust
3862         (getRowNearY): adjust, and remove commented code.
3863
3864         * lyxtext.h (firstRow): delete function
3865         (lastRow): delete function
3866         (rows): new function (const and non-const versions.)
3867         (insertRow): delete function
3868
3869         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3870
3871 2003-03-29  John Levon  <levon@movementarian.org>
3872
3873         * BufferView_pimpl.C: always update scrollbar top
3874         because pasting text when we're anchored could mean we
3875         miss an update altogether
3876
3877 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3878
3879         * text2.C (init): use rowlist_.end() and not 0.
3880         (insertRow): change to take a RowList::iterator as arg, adjust
3881         for this.
3882         (insertParagraph): change to take a RowList::iterator as arg,
3883         adjust for this.
3884         (redoParagraphs): remove some debug msgs.
3885
3886         * text.C (appendParagraph): change to take a RowList::iterator
3887         arg, adjust for this.
3888         (breakAgain): add an assert
3889         (breakAgainOneRow): ditto
3890
3891 2003-03-29  John Levon  <levon@movementarian.org>
3892
3893         * text2.C: do not clear selection after inc/decDepth
3894         (bug 550)
3895
3896 2003-03-29  John Levon  <levon@movementarian.org>
3897
3898         * BufferView.C:
3899         * buffer.C: fix broken strerrors according to Lars
3900
3901 2003-03-29  John Levon  <levon@movementarian.org>
3902
3903         * converters.C: more Alert cleanups
3904
3905 2003-03-29  John Levon  <levon@movementarian.org>
3906
3907         * bufferview_funcs.C: remove pointless Alert
3908
3909         * buffer.C: fix confusing error message when
3910         a template is chmoded 000
3911
3912 2003-03-29  John Levon  <levon@movementarian.org>
3913
3914         * BufferView.C:
3915         * BufferView.h:
3916         * BufferView_pimpl.C: Alert fixes
3917
3918         * Makefile.am:
3919         * tabular.C:
3920         * tabular-old.C: remove unused table compat reading
3921
3922 2003-03-29  John Levon  <levon@movementarian.org>
3923
3924         * BufferView.C:
3925         * buffer.C:
3926         * lyx_cb.h:
3927         * lyx_cb.C: more Alert cleanups
3928
3929         * lyxfunc.C: don't allow chktex if not latex document
3930
3931 2003-03-29  John Levon  <levon@movementarian.org>
3932
3933         * lyx_cb.C:
3934         * BufferView.C:
3935         * buffer.C: warnings pushed down from support/,
3936         kill err_alert
3937
3938 2003-03-29  John Levon  <levon@movementarian.org>
3939
3940         * lyxfunc.C: safety check for C-r (revert)
3941
3942 2003-03-29  John Levon  <levon@movementarian.org>
3943
3944         * bufferlist.h:
3945         * bufferlist.C: several UI fixes using Alert::prompt.
3946         Fix the pointless looping quit code. Fix stupid revert
3947         behaviour (bug 938)
3948
3949         * lyxvc.h:
3950         * lyxvc.C:
3951         * lyx_cb.C: use Alert::prompt
3952
3953         * lyx_main.C: remove a silly question
3954
3955         * lyxfunc.C: remove a couple of silly questions,
3956         use Alert::prompt
3957
3958 2003-03-28  John Levon  <levon@movementarian.org>
3959
3960         * text2.C: fix bug 974 (End on empty par)
3961
3962 2003-03-28  John Levon  <levon@movementarian.org>
3963
3964         * BufferView_pimpl.C:
3965         * LyXAction.C:
3966         * lfuns.h: remove do-nothing math greek lfuns
3967
3968 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3969
3970         * lyxgluelength.h (isValidGlueLength): add default arg on
3971         parameter 2. Remove default arg from friend in class.
3972
3973         * lyxlength.h (isValidLength): add default arg on parameter 2.
3974         Remove default arg from friend in class.
3975
3976         * text2.C (LyXText): adjust, initialize refresh_row.
3977         (init): adjust
3978         (removeRow): adjust
3979         (insertRow): adjust
3980         (insertParagraph): adjst
3981         (redoParagraphs): adjust
3982         (fullRebreak): adjust
3983         (updateCounters): adjust
3984         (deleteEmptyParagraphMechanism): first attempt at fixing a
3985         crashing bug.
3986
3987         * text.C (top_y): adjust
3988         (setHeightOfRow): adjust
3989         (getRow): adjust
3990         (getRowNearY): adjust
3991
3992         * lyxtext.h: include RowList.h
3993         (~LyXText): not needed anymore, deleted.
3994         (firstRow): modify for RowList
3995         (lastRow): new function
3996         Delete firstrow and lastrow class variables, add a Rowlist
3997         rowlist_ class variable.
3998
3999         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4000         paragraph is empty.
4001
4002         * RowList.C (insert): fix case where it == begin().
4003
4004 2003-03-26  Angus Leeming  <leeming@lyx.org>
4005
4006         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4007         the thesaurus dialog.
4008
4009 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4010
4011         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4012
4013         * RowList.[Ch]: new files
4014
4015         * ParagraphList.C (erase): handle the case where it == begin
4016         correctly.
4017
4018 2003-03-25  John Levon  <levon@movementarian.org>
4019
4020         * Makefile.am:
4021         * aspell_local.h:
4022         * aspell.C: add new aspell support
4023
4024         * lyxrc.h:
4025         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4026         have it accessible.
4027
4028 2003-03-25  Angus Leeming  <leeming@lyx.org>
4029
4030         * lfuns.h:
4031         * LyXAction.C (init): new LFUN_INSET_INSERT.
4032
4033         * BufferView_pimpl.C (dispatch): split out part of the
4034         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4035
4036         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4037         LFUN_INSET_APPLY.
4038
4039 2003-03-25  Angus Leeming  <leeming@lyx.org>
4040
4041         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4042
4043 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4044
4045         * text2.C:
4046         * text3.C: remove useless row->height(0)
4047
4048 2003-03-25  John Levon  <levon@movementarian.org>
4049
4050         * lyxtext.h:
4051         * text2.C:
4052         * text3.C: rename the refreshing stuff to better names
4053
4054 2003-03-24  John Levon  <levon@movementarian.org>
4055
4056         * BufferView_pimpl.h:
4057         * BufferView_pimpl.C: update layout choice on a mouse
4058         press/release
4059
4060 2003-03-23  John Levon  <levon@movementarian.org>
4061
4062         * Makefile.am: fix commandtags.h reference
4063
4064 2003-03-22  John Levon  <levon@movementarian.org>
4065
4066         * BufferView_pimpl.C:
4067         * lyxtext.h:
4068         * rowpainter.C:
4069         * rowpainter.h:
4070         * text.C:
4071         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4072
4073 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4074
4075         * lyxtext.h:
4076         * text.C: take the rtl methods out of line
4077
4078 2003-03-21 André Pönitz <poenitz@gmx.net>
4079
4080         * metricsinfo.[Ch]: new files containing structures to be passed around
4081         during the two-phase-drawing...
4082
4083 2003-03-21 André Pönitz <poenitz@gmx.net>
4084
4085         * lyxtextclass.C: read 'environment' tag.
4086
4087 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4088
4089         * text2.C (removeRow): fix bug 964
4090
4091 2003-03-20  John Levon  <levon@movementarian.org>
4092
4093         * rowpainter.C:
4094         * text.C:
4095         * text2.C: paint cleanups. Inset::update() dropped font
4096         parameter
4097
4098 2003-03-19  John Levon  <levon@movementarian.org>
4099
4100         * lyxfunc.C: only fitcursor/markDirty if available()
4101
4102 2003-03-19  John Levon  <levon@movementarian.org>
4103
4104         * commandtags.h: rename to ...
4105
4106         * lfuns.h: ... this, and renumber / cleanup
4107
4108 2003-03-19  John Levon  <levon@movementarian.org>
4109
4110         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4111         fit the cursor after an lfun
4112
4113         * BufferView.h:
4114         * BufferView.C:
4115         * BufferView_pimpl.h:
4116         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4117
4118         * LyXAction.C: layout-character should have ReadOnly
4119
4120         * ParagraphParameters.C:
4121         * buffer.C:
4122         * bufferview_funcs.C:
4123         * lyx_cb.C:
4124         * lyxfind.C:
4125         * lyxtext.h:
4126         * text.C:
4127         * text2.C:
4128         * text3.C:
4129         * undo_funcs.C: changes from above
4130
4131 2003-03-18  John Levon  <levon@movementarian.org>
4132
4133         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4134         remove it from update()
4135
4136         * lyxfunc.C: update layout choice after an lfun
4137
4138         * text3.C: remove extra updateLayoutChoice()s
4139
4140 2003-03-18  John Levon  <levon@movementarian.org>
4141
4142         * text.C: top_y change means full repaint, fix
4143         a drawing bug with cursor movement
4144
4145 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4146
4147         * lyxtext.h:
4148         * text.C:
4149         * text2.C: anchor row on setCursor
4150
4151 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4152
4153         * lyxtext.h: remove almost all mutable keywords
4154         * text.C:
4155         * text2.C:
4156         * text3.C: remove const keywords accordingly
4157
4158 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4159
4160         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4161         anon namespace
4162         (TeXEnvironment): ditto
4163         (TeXOnePar): ditto
4164
4165 2003-03-17  John Levon  <levon@movementarian.org>
4166
4167         * text.C (rowBreakPoint): remove attempt to fix displayed
4168         math insets inside a manual label
4169
4170 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4171
4172         * lyxtext.h: remove BufferView* as first arg from almost all class
4173         functions.
4174         * other files: adjust.
4175
4176 2003-03-17  John Levon  <levon@movementarian.org>
4177
4178         * lyxtext.h:
4179         * undo_funcs.C:
4180         * text2.C: more paint cleanups
4181
4182         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4183
4184         * rowpainter.h:
4185         * rowpainter.C: remove "smart" background painting code
4186
4187 2003-03-16  John Levon  <levon@movementarian.org>
4188
4189         * lyxtext.h:
4190         * text.C:
4191         * text2.C:
4192         * text3.C: add helper functions for setting refresh_row/y
4193
4194 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4195
4196         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4197         newline inset which *can* get inserted in the pass_thru layouts.
4198         This is primarily for literate documents.
4199
4200 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4201
4202         * buffer.C: increment LYX_FORMAT to 223
4203
4204 2003-03-14 André Pönitz <poenitz@gmx.net>
4205
4206         * textclass.h: prepare for environment handling, ws changes
4207         * lyxlayout.C: read latexheader and latexfooter tags
4208
4209 2003-03-14  John Levon  <levon@movementarian.org>
4210
4211         * text2.C: rewrite ::status() a bit
4212
4213 2003-03-13  John Levon  <levon@movementarian.org>
4214
4215         * lyxtext.h: add some docs
4216
4217 2003-03-13  John Levon  <levon@movementarian.org>
4218
4219         * lyxtext.h:
4220         * text.C:
4221         * text2.C:
4222         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4223
4224 2003-03-13  John Levon  <levon@movementarian.org>
4225
4226         * text3.C: fix appendix redrawing
4227
4228 2003-03-13  John Levon  <levon@movementarian.org>
4229
4230         * text.C (setHeightOfRow):
4231         * rowpainter.h:
4232         * rowpainter.C: make appendix mark have the text
4233           "Appendix" so the user knows what it is
4234
4235         * LColor.h:
4236         * LColor.C: s/appendixline/appendix/ from above
4237
4238 2003-03-13  John Levon  <levon@movementarian.org>
4239
4240         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4241
4242         * text.C: fix a getChar(pos) bug properly
4243
4244 2003-03-13  Angus Leeming  <leeming@lyx.org>
4245
4246         * commandtags.h:
4247         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4248         Probably only temporary. Let's see how things pan out.
4249
4250         * BufferView.C (unlockInset):
4251         * BufferView_pimpl.C (fitCursor):
4252         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4253
4254         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4255         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4256
4257         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4258         new functions that convert ParagraphParameters to and from a string.
4259
4260         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4261         BufferView::Pimpl's dispatch.
4262         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4263
4264 2003-03-13 André Pönitz <poenitz@gmx.net>
4265
4266         * lyxfunc.C:
4267         * text3.C:
4268         * factory.C: make it aware of InsetEnv
4269
4270 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4271
4272         * text2.C (setCursor): never ask for one past last
4273         (setCursor): add some debugging messages.
4274
4275         * text.C (singleWidth): never ask for one past last
4276         (singleWidth): ditto
4277         (leftMargin): ditto
4278         (rightMargin): ditto
4279         (rowBreakPoint): ditto
4280         (setHeightOfRow): ditto
4281         (prepareToPrint): ditto
4282
4283         * rowpainter.C (paintBackground): never ask for one past last
4284         (paintText): never ask for one past last
4285
4286         * paragraph_pimpl.C (getChar): make the assert stricter, never
4287         allow the one past last pos to be taken
4288
4289         * paragraph.C (getChar): ws changes only
4290
4291         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4292         (numberOfSeparators): ditto
4293         (numberOfHfills): ditto
4294
4295 2003-03-12  John Levon  <levon@movementarian.org>
4296
4297         * author.h:
4298         * author.C:
4299         * bufferparams.h:
4300         * bufferparams.C:
4301         * paragraph_funcs.C: fix per-buffer authorlists
4302
4303 2003-03-12  John Levon  <levon@movementarian.org>
4304
4305         * text.C: fix newline in right address
4306
4307 2003-03-12  Angus Leeming  <leeming@lyx.org>
4308
4309         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4310         duplicate those in LyXFunc::dispatch.
4311
4312         * commandtags.h:
4313         * LyXAction.C:
4314         * ToolbarDefaults.C:
4315         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4316         Add LFUN_FONTFREE_UPDATE.
4317
4318         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4319         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4320
4321         * bufferview_func.[Ch]: several new functions to facilliate
4322         transfer of data to and from the character dialog.
4323
4324 2003-03-12  John Levon  <levon@movementarian.org>
4325
4326         * buffer.C:
4327         * paragraph.h:
4328         * paragraph.C:
4329         * paragraph_funcs.C:
4330         * paragraph_pimpl.C:
4331         * sgml.C:
4332         * tabular.C:
4333         * text.C:
4334         * text3.C: remove META_NEWLINE in favour of an inset
4335
4336         * rowpainter.h:
4337         * rowpainter.C: remove paintNewline (done by inset)
4338
4339 2003-03-12  John Levon  <levon@movementarian.org>
4340
4341         * paragraph_pimpl.C: complain about bad getChar()s
4342         for a while at least
4343
4344 2003-03-12  John Levon  <levon@movementarian.org>
4345
4346         * buffer.h:
4347         * buffer.C: move paragraph read into a separate function,
4348         a little renaming to reflect that.
4349
4350         * bufferparams.h:
4351         * bufferparams.C: remove the author_ids map, not necessary now
4352
4353         * factory.h:
4354         * factory.C: moved Buffer::readInset to here
4355
4356         * paragraph_funcs.h:
4357         * paragraph_funcs.C: readParagraph free function moved from
4358         buffer.C
4359
4360         * tabular.C: name change
4361
4362 2003-03-12  John Levon  <levon@movementarian.org>
4363
4364         * buffer.C:
4365         * ParagraphParameters.C: move par params input to
4366         a read() method
4367
4368         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4369         behave like a normal read from the stream wrt reading
4370         a line vs. a \\token
4371
4372 2003-03-12  John Levon  <levon@movementarian.org>
4373
4374         * paragraph.C:
4375         * ParagraphParameters.h:
4376         * ParagraphParameters.C: move output code to a
4377         ::write() method
4378
4379 2003-03-12  John Levon  <levon@movementarian.org>
4380
4381         * BufferView.C (insertLyXFile):
4382         * buffer.h:
4383         * buffer.C:
4384         * tabular.C: use a parlist iterator for creating the
4385           document.
4386
4387 2003-03-12  John Levon  <levon@movementarian.org>
4388
4389         * buffer.C: make current_change static local not
4390           static file-scope
4391
4392 2003-03-12  John Levon  <levon@movementarian.org>
4393
4394         * buffer.C: fix insertStringAsLines for change tracking
4395
4396 2003-03-12  John Levon  <levon@movementarian.org>
4397
4398         * BufferView.C:
4399         * tabular.C:
4400         * buffer.h:
4401         * buffer.C:
4402         * bufferparams.h:
4403         * bufferparams.C: move author list into params. Rename some
4404           functions. Move the header reading into a separate token
4405           loop. Move the header token reading into BufferParams.
4406
4407 2003-03-12  John Levon  <levon@movementarian.org>
4408
4409         * changes.C: put debug inside lyxerr.debugging() checks
4410
4411 2003-03-11 André Pönitz <poenitz@gmx.net>
4412
4413         * factory.C: make it aware of InsetHFill
4414
4415 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4416
4417         * buffer.C (latexParagraphs): move function from here...
4418         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4419         args.
4420
4421 2003-03-10  Angus Leeming  <leeming@lyx.org>
4422
4423         * LyXAction.C (init): fix bug in poplating array with multiple entries
4424         with the same LFUN (spotted by JMarc).
4425
4426 2003-03-10  John Levon  <levon@movementarian.org>
4427
4428         * text.C:
4429         * text2.C: move getColumnNearX() near its
4430         only call site
4431
4432 2003-03-10  John Levon  <levon@movementarian.org>
4433
4434         * text.C: fix break before a minipage
4435
4436 2003-03-10  John Levon  <levon@movementarian.org>
4437
4438         * text.C: fix the last commit
4439
4440 2003-03-09  John Levon  <levon@movementarian.org>
4441
4442         * lyxtext.h:
4443         * text.C:
4444         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4445         bug 365 (don't break before insets unless needed). Don't
4446         return a value > last under any circumstances.
4447
4448 2003-03-09  Angus Leeming  <leeming@lyx.org>
4449
4450         * BufferView_pimpl.C (trackChanges, dispatch): call
4451         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4452
4453 2003-03-09  Angus Leeming  <leeming@lyx.org>
4454
4455         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4456         than Dialogs::showAboutlyx().
4457
4458 2003-03-09  Angus Leeming  <leeming@lyx.org>
4459
4460         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4461         than Dialogs::showTabularCreate().
4462
4463 2003-03-09  John Levon  <levon@movementarian.org>
4464
4465         * lyxtext.h:
4466         * text.C:
4467         * text2.C: 3rd arg to nextBreakPoint was always the same.
4468           Use references.
4469
4470 2003-03-08  John Levon  <levon@movementarian.org>
4471
4472         * lyxrow.C:
4473         * paragraph.C:
4474         * paragraph.h:
4475         * rowpainter.C:
4476         * text.C:
4477         * text2.C: Remove the "main" bit from the "main body"
4478           notion.
4479
4480 2003-03-08  John Levon  <levon@movementarian.org>
4481
4482         * text.C (leftMargin): The left margin of an empty
4483         manual label paragraph should not include the label width
4484         string length.
4485
4486         * text.C (prepareToPrint): don't attempt to measure hfills
4487         for empty manual label paragraphs - the answer should be 0
4488
4489 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4490
4491         * CutAndPaste.C: remove commented code and reindent.
4492
4493 2003-03-08  John Levon  <levon@movementarian.org>
4494
4495         * lyxfunc.h:
4496         * lyxfunc.C: move reloadBuffer()
4497
4498         * BufferView.h:
4499         * BufferView.C: to here
4500
4501         * lyxvc.C: add comment
4502
4503         * vc-backend.h:
4504         * vc-backend.C: call bv->reload() to avoid
4505           getStatus() check on MENURELOAD
4506
4507 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4508
4509         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4510         to an old format .dep file.
4511
4512 2003-03-07  Angus Leeming  <leeming@lyx.org>
4513
4514         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4515         when the LFUN_MOUSE_RELEASE should have been handled by
4516         inset->localDispatch.
4517
4518 2003-03-07  Angus Leeming  <leeming@lyx.org>
4519
4520         * BufferView_pimpl.C (dispatch):
4521         * LyXAction.C (init):
4522         * ToolbarDefaults.C (init):
4523         * commandtags.h:
4524         * lyxfunc.C (getStatus):
4525         remove LFUN_INSET_GRAPHICS.
4526
4527         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4528
4529 2003-03-07  Angus Leeming  <leeming@lyx.org>
4530
4531         * commandtags.h:
4532         * LyXAction.C (init):
4533         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4534
4535         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4536
4537         * commandtags.h:
4538         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4539
4540         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4541         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4542
4543 2003-03-07  Angus Leeming  <leeming@lyx.org>
4544
4545         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4546         remove "ert".
4547
4548 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4549
4550         * ParagraphList.C (front): new function
4551         (back): implement
4552
4553 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4554
4555         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4556         and top_row_offset_. removed var first_y.
4557         * text.C (top_y):
4558         * text2.C (LyXText, removeRow):
4559         * text3.C:
4560         * BufferView_pimpl.C:
4561         use these methods instead of using first_y
4562
4563 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4564
4565         * text2.C (pasteSelection): adjust for checkPastePossible
4566
4567         * CutAndPaste.C: remove Paragraph * buf and replace with
4568         ParagraphList paragraphs.
4569         (DeleteBuffer): delete
4570         (cutSelection): change the tc type to textclass_type
4571         (copySelection): change the tc type to textclass_type
4572         (copySelection): adjust for ParagraphList
4573         (pasteSelection): change the tc type to textclass_type
4574         (pasteSelection): adjust for Paragraphlist
4575         (nrOfParagraphs): simplify for ParagraphList
4576         (checkPastePossible): simplify for ParagraphList
4577         (checkPastePossible): remove unused arg
4578
4579         * ParagraphList.C (insert): handle the case where there are no
4580         paragraphs yet.
4581
4582         * CutAndPaste.h: make CutAndPaste a namespace.
4583
4584         * text3.C (dispatch): adjust
4585
4586         * text.C (breakParagraph): add a ParagraphList as arg
4587
4588         * paragraph_funcs.C (breakParagraph): change to take a
4589         BufferParams and a ParagraphList as args.
4590         (breakParagraphConservative): ditto
4591         (mergeParagraph): ditto
4592         (TeXDeeper): add a ParagraphList arg
4593         (TeXEnvironment): ditto
4594         (TeXOnePar): ditto
4595
4596         * buffer.C (readLyXformat2): adjust
4597         (insertStringAsLines): adjust
4598         (latexParagraphs): adjust
4599
4600         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4601         (cutSelection): adjust
4602         (pasteSelection): adjust
4603
4604         * BufferView_pimpl.C (insertInset): adjust
4605
4606 2003-03-05  Angus Leeming  <leeming@lyx.org>
4607
4608         * commandtags.h:
4609         * LyXAction.C (init):
4610         * BufferView_pimpl.C (dispatch):
4611         * lyxfunc.C (getStatus):
4612         remove LFUN_CHILD_INSERT.
4613
4614         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4615
4616 2003-03-05  Angus Leeming  <leeming@lyx.org>
4617
4618         * commandtags.h:
4619         * LyXAction.C (init):
4620         * src/factory.C (createInset):
4621         * lyxfunc.C (getStatus):
4622         * text3.C (dispatch):
4623         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4624
4625         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4626
4627 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4628
4629         * ParagraphList.C (insert): handle insert right before end()
4630         (erase): fix cases where it can be first or last paragraph.
4631
4632 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4633
4634         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4635         Paragraph::next and Paragraph::previous
4636         (TeXOnePar): ditto
4637
4638         * text.C (breakParagraph): adjust
4639
4640         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4641         BufferParams& as arg.
4642         (breakParagraph): use ParagraphList::insert
4643         (breakParagraphConservative): take a Buffer* instead of a
4644         BufferParams& as arg.
4645         (breakParagraphConservative): use ParagraphList::insert.
4646
4647         * buffer.C (insertStringAsLines): un-const it
4648         (insertStringAsLines): adjust
4649
4650         * ParagraphList.C (insert): new function
4651
4652         * CutAndPaste.C (pasteSelection): adjust
4653
4654         * text.C (backspace): adjust
4655
4656         * tabular.C (SetMultiColumn): adjust
4657
4658         * CutAndPaste.C (cutSelection): adjust
4659         (pasteSelection): adjust
4660
4661         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4662         Buffer const * as arg
4663
4664         * ParagraphList.C (erase): new function
4665         * paragraph_funcs.C (mergeParagraph): use it
4666         (mergeParagraph): make it take a Buffer* instead of a
4667         BufferParams* as arg
4668
4669         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4670         as arg
4671         (breakParagraphConservative): ditto
4672
4673         * paragraph.h: remove the breakParagraph friend
4674
4675         * paragraph.C (eraseIntern): new function
4676         (setChange): new function
4677
4678         * paragraph_funcs.C (mergeParagraph): make it take a
4679         ParagraphList::iterator instead of a Paragraph *, adjust
4680         accordingly.
4681
4682         * paragraph.h: move an #endif so that the change tracking stuff
4683         also works in the NO_NEXT case.
4684
4685 2003-03-04  Angus Leeming  <leeming@lyx.org>
4686
4687         * commandtags.h:
4688         * LyXAction.C: new LFUN_INSET_MODIFY.
4689
4690         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4691         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4692
4693 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4694
4695         * several files: ws changes only
4696
4697         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4698         (TeXEnvironment): ditto
4699         (TeXDeeper): ditto
4700
4701         * buffer.C (makeLaTeXFile): adjust
4702         (latexParagraphs): make it take ParagraphList::iterator as args
4703
4704 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4705
4706         * buffer.C (latexParagraphs): adjust
4707
4708         * paragraph.C (TeXOnePar): move function...
4709         (optArgInset): move function...
4710         (TeXEnvironment): move function...
4711         * paragraph_pimpl.C (TeXDeeper): move function...
4712         * paragraph_funcs.C: ...here
4713
4714         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4715
4716 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4717
4718         * buffer.C (readInset): remove compability code for old Figure and
4719         InsetInfo insets
4720
4721 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4722
4723         * buffer.C: ws changes
4724         (readInset):
4725
4726         * BufferView_pimpl.C: ditto
4727         * author.C: ditto
4728         * buffer.h: ditto
4729         * bufferlist.h: ditto
4730         * changes.h: ditto
4731         * lyxfunc.C: ditto
4732
4733 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4734
4735         * converter.[Ch]: split into itself +
4736         * graph.[Ch]
4737         * format.[Ch]
4738         * Makefile.am: += graph.[Ch] + format.[Ch]
4739         * MenuBackend.C
4740         * buffer.C
4741         * exporter.C
4742         * importer.C
4743         * lyx_main.C
4744         * lyxfunc.C
4745         * lyxrc.C: added #include "format.h"
4746
4747 2003-02-27  Angus Leeming  <leeming@lyx.org>
4748
4749         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4750           a label.
4751
4752         * factory.C (createInset): add "label" to the factory.
4753
4754         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4755           string and do no more.
4756
4757 2003-02-27  Angus Leeming  <leeming@lyx.org>
4758
4759         * commandtags.h:
4760         * LyXAction.C (init):
4761         * factory.C (createInset):
4762         * BufferView_pimpl.C (dispatch):
4763           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4764
4765         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4766
4767         * lyxfunc.C (dispatch):
4768         * text3.C (dispatch): pass name to params2string.
4769
4770 2003-02-26  Angus Leeming  <leeming@lyx.org>
4771
4772         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4773           blocks together.
4774           Rearrange the ~includes. Strip out the unnecessary ones.
4775
4776         * factory.C (createInset): reformat.
4777           create new insets for the various LFUN_XYZ_APPLY lfuns.
4778
4779 2003-02-26  John Levon  <levon@movementarian.org>
4780
4781         * lyxrow.h:
4782         * lyxrow.C: add isParStart,isParEnd helpers
4783
4784         * paragraph.h: make isInserted/DeletedText take refs
4785
4786         * paragraph_funcs.h:
4787         * paragraph_funcs.C: remove #if 0'd code
4788
4789         * lyxtext.h:
4790         * text3.C:
4791         * text2.C:
4792         * text.C: use lyxrow helpers above.
4793           Move draw and paint routines to RowPainter.
4794           Make several methods use refs not pointers.
4795           Make backgroundColor() const.
4796           Add markChangeInDraw(), isInInset().
4797           Merge changeRegionCase into changeCase.
4798           Make workWidth() shouldn't-happen code into an Assert.
4799
4800         * rowpainter.h:
4801         * rowpainter.C: new class for painting a row.
4802
4803         * vspace.h:
4804         * vspace.C: make inPixels take a ref
4805
4806 2003-02-26  Angus Leeming  <leeming@lyx.org>
4807
4808         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4809         LFUN_REF_APPLY.
4810
4811 2003-02-25  John Levon  <levon@movementarian.org>
4812
4813         * ispell.C: give the forked command a more accurate name
4814
4815 2003-02-22  John Levon  <levon@movementarian.org>
4816
4817         * toc.h:
4818         * toc.C: make TocItem store an id not a Paragraph *
4819           (bug #913)
4820
4821 2003-02-21  Angus Leeming  <leeming@lyx.org>
4822
4823         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4824           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4825           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4826           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4827           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4828           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4829
4830         * BufferView_pimpl.C (dispatch):
4831         * LyXAction.C (init):
4832         * factory.C (createInset):
4833         * lyxfunc.C (getStatus, dispatch):
4834         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4835
4836 2003-02-21  Angus Leeming  <leeming@lyx.org>
4837
4838         * BufferView_pimpl.C (MenuInsertLyXFile):
4839         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4840         * lyxfunc.C (menuNew, open, doImport):
4841           no longer pass a LyXView & to fileDlg.
4842
4843 2003-02-21  Angus Leeming  <leeming@lyx.org>
4844
4845         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4846         * LyXAction.C: change, BIBKEY to BIBITEM.
4847         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4848         Change InsetBibKey to InsetBibitem.
4849         Change BIBKEY_CODE to BIBITEM_CODE.
4850         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4851         * factory.C: replace insetbib.h with insetbibitem.h.
4852         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4853         * paragraph.C: replace insetbib.h with insetbibitem.h.
4854         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4855         Change bibkey() to bibitem().
4856         * text.C: remove insetbib.h.
4857         * text2.C: replace insetbib.h with insetbibitem.h.
4858         change bibkey() to bibitem().
4859         * text3.C: remove insetbib.h.
4860         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4861
4862 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4863
4864         * lyxrc.C (output): enclose user email in quotes (in case there are
4865         several words)
4866
4867 2003-02-18  John Levon  <levon@movementarian.org>
4868
4869         * buffer.h: add std::
4870
4871 2003-02-17  John Levon  <levon@movementarian.org>
4872
4873         * SpellBase.h:
4874         * ispell.h:
4875         * ispell.C:
4876         * pspell.h:
4877         * pspell.C: reworking. Especially in ispell, a large
4878           number of clean ups and bug fixes.
4879
4880         * lyxfunc.C: fix revert to behave sensibly
4881
4882 2003-02-17 André Pönitz <poenitz@gmx.net>
4883
4884         * LyXAction.C:
4885         * commandtags.h: new LFUN_INSERT_BIBKEY
4886
4887         * layout.h:
4888         * lyxlayout.C:
4889         * buffer.C:
4890         * factory.C:
4891         * text.C:
4892         * text2.C:
4893         * text3.C:
4894         * paragraph.[Ch]:
4895         * paragraph_func.C: remove special bibkey handling
4896
4897 2003-02-17  John Levon  <levon@movementarian.org>
4898
4899         * text.C (Delete): fix case where delete at the end of
4900           the very first paragraph would not merge the pars
4901
4902 2003-02-17  John Levon  <levon@movementarian.org>
4903
4904         * lyxrow.C: fix lastPrintablePos()
4905
4906 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4907
4908         * bufferparams.C (writeLaTeX): add a std:here
4909
4910         * buffer.C: and remove a using directive there
4911
4912 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4913
4914         * buffer.C (makeLaTeXFile): move the code that generates the
4915           preamble...
4916
4917         * bufferparams.C (writeLaTeX): ... in this new method
4918
4919         * LaTeXFeatures.C (getEncodingSet): make const
4920           (getLanguages): make const
4921
4922         * MenuBackend.C (binding): returns the binding associated to this
4923           action
4924           (add): sets the status of each item by calling getStatus. Adds
4925           some intelligence.
4926           (read): add support for OptSubMenu
4927           (expand): remove extra separator at the end of expanded menu
4928
4929 2003-02-15  John Levon  <levon@movementarian.org>
4930
4931         * BufferView.C:
4932         * BufferView_pimpl.C:
4933         * bufferlist.h:
4934         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4935           inset code that had no actual effect. Remove unneeded status
4936           code.
4937
4938 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4939
4940         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4941           in preamble
4942
4943 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4944
4945         * text.C (drawLengthMarker): also draw an arrow marker for
4946           symbolic lengths (medskip...)
4947
4948 2003-02-14  John Levon  <levon@movementarian.org>
4949
4950         * tabular.h:
4951         * tabular.C: better method names
4952
4953 2003-02-14  John Levon  <levon@movementarian.org>
4954
4955         * BufferView_pimpl.C:
4956         * bufferlist.C:
4957         * buffer.C:
4958         * converter.C:
4959         * lyx_cb.C:
4960         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4961           it's a more accurate name. Remove some pointless uses.
4962
4963 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4964
4965         * text2.C (LyXText): change order of initilizers to shut off
4966           warnings
4967
4968 2003-02-14  John Levon  <levon@movementarian.org>
4969
4970         * buffer.C: use ParIterator for getParFromID()
4971
4972         * paragraph.h:
4973         * paragraph.C:
4974         * paragraph_pimpl.h:
4975         * paragraph_pimpl.C: remove unused getParFromID()
4976
4977 2003-02-14  John Levon  <levon@movementarian.org>
4978
4979         * buffer.C: remove some very old #if 0'd parse code
4980
4981 2003-02-13  John Levon  <levon@movementarian.org>
4982
4983         * text.h:
4984         * text.C:
4985         * text2.C: move hfillExpansion(), numberOfSeparators(),
4986           rowLast(), rowLastPrintable(), numberofHfills(),
4987           numberOfLabelHfills() ...
4988
4989         * lyxrow.h:
4990         * lyxrow.C: ... to member functions here.
4991
4992         * paragraph.h:
4993         * paragraph.C:
4994         * lyxtext.h:
4995         * text.C: remove LyXText::beginningOfMainBody(), and call
4996           p->beginningOfMainBody() directly. Move the check for
4997           LABEL_MANUAL into the latter.
4998
4999         * text.h:
5000         * text.C:
5001         * text2.C:
5002         * vspace.C:
5003         * BufferView.h:
5004         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5005
5006         * text.h:
5007         * text.C:
5008         * text2.C:
5009         * text3.C:
5010         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5011           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5012
5013 2003-02-13  John Levon  <levon@movementarian.org>
5014
5015         * CutAndPaste.C: remove debug
5016
5017 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5018
5019         * paragraph.C (asString): remove two unused variables
5020
5021         * lyxtextclass.C (readTitleType):
5022           (Read):
5023           (LyXTextClass): handle new members titletype_ and titlename_
5024
5025         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5026
5027 2003-02-09  John Levon  <levon@movementarian.org>
5028
5029         * buffer.h:
5030         * buffer.C: replace hand-coded list with a map for the dep clean
5031
5032 2003-02-08  John Levon  <levon@movementarian.org>
5033
5034         * LaTeX.C: consolidate code into showRunMessage() helper
5035
5036 2003-02-08  John Levon  <levon@movementarian.org>
5037
5038         * lyxfind.C:
5039         * lyxtext.h:
5040         * text2.C:
5041         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5042           and pass the size in explicitly
5043
5044         * BufferView_pimpl.h:
5045         * BufferView_pimpl.C:
5046         * BufferView.h:
5047         * BufferView.C: add getCurrentChange()
5048
5049         * BufferView_pimpl.h:
5050         * BufferView_pimpl.C: handle change lfuns
5051
5052         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5053           for changes. Mark pasted paragraphs as new.
5054
5055         * support/lyxtime.h:
5056         * support/lyxtime.C:
5057         * DepTable.C: abstract time_t as lyx::time_type
5058
5059         * LColor.h:
5060         * LColor.C: add colours for new text, deleted text, changebars
5061
5062         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5063           package use "usenames" option.
5064
5065         * commandtags.h:
5066         * lyxfunc.C:
5067         * LyXAction.C: add change lfuns
5068
5069         * Makefile.am:
5070         * author.h:
5071         * author.C: author handling
5072
5073         * buffer.h:
5074         * buffer.C: add a per-buffer author list, with first entry as
5075           current author. Handle new .lyx tokens for change tracking. Output
5076           author list to .lyx file. Output dvipost stuff to .tex preamble.
5077           Bump lyx format to 222.
5078
5079         * bufferlist.h:
5080         * bufferlist.C: add setCurrentAuthor() to reset current author details
5081           in all buffers.
5082
5083         * bufferparams.h:
5084         * bufferparams.C: add param for tracking
5085
5086         * bufferview_funcs.C: output change info in minibuffer
5087
5088         * Makefile.am:
5089         * changes.h:
5090         * changes.C: add change-tracking structure
5091
5092         * debug.h:
5093         * debug.C: add CHANGES debug flag
5094
5095         * lyxfind.h:
5096         * lyxfind.C: add code for finding the next change piece
5097
5098         * lyxrc.h:
5099         * lyxrc.C: add user_name and user_email
5100
5101         * lyxrow.h:
5102         * lyxrow.C: add a metric for the top of the text line
5103
5104         * lyxtext.h:
5105         * text.C: implement accept/rejectChange()
5106
5107         * lyxtext.h:
5108         * text.C: paint changebars. Paint new/deleted text in the chosen
5109         colours. Strike through deleted text.
5110
5111         * paragraph.h:
5112         * paragraph.C:
5113         * paragraph_pimpl.h:
5114         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5115           in the current change to the insert functions. Rework erase to
5116           mark text as deleted, adding an eraseIntern() and a range-based
5117           erase(). Implement per-paragraph change lookup and
5118           accept/reject.
5119
5120         * paragraph_funcs.C: Fixup paste for change tracking.
5121
5122         * tabular.C: mark added row/columns as new.
5123
5124         * text.C: fix rowLast() to never return -1. Don't allow
5125           spellchecking of deleted text. Track transpose changes. Don't
5126           allow paragraph break or merge where appropriate.
5127
5128         * text2.C: leave cursor at end of selection after a cut.
5129
5130 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5131
5132         * text.C (getLengthMarkerHeight):
5133         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5134         visible on screen too.
5135
5136 2003-02-07  John Levon  <levon@movementarian.org>
5137
5138         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5139
5140 2003-02-05  Angus Leeming  <leeming@lyx.org>
5141
5142         * lyxserver.C (read_ready): revert my patch of 11 September last year
5143         as it sends PC cpu through the roof. Presumably this means that
5144         the lyxserver will no longer run on an Alpha...
5145
5146 2003-01-30  Angus Leeming  <leeming@lyx.org>
5147
5148         * factory.C (createInset): create an InsetCommandParam of type "index"
5149         and use it to 'do the right thing'.
5150
5151         * text2.C (getStringToIndex): ensure that cursor position is always
5152         reset to the reset_cursor position.
5153
5154 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5155
5156         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5157         disabled.
5158
5159 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5160
5161         * bufferview.C:
5162         * lyxcb.C:
5163         * lyxfunc.C: Output messages with identical spelling, punctuation,
5164         and spaces
5165
5166 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5167
5168         * MenuBackend.C (expandFormats): List only viewable export formats
5169         in "View" menu
5170
5171         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5172         message
5173
5174         * lyxfunc.C (getStatus): Make sure that formats other than
5175         "fax" can also be disabled
5176
5177 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5178
5179         * text3.C (dispatch): put the lfuns that insert insets in 3
5180         groups, and call doInsertInset with appropriate arguments.
5181         (doInsertInset): new function, that creates an inset and inserts
5182         it according to some boolean parameters.
5183
5184 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5185
5186         * buffer.C (readFile): remember to pass on 'par' when calling
5187         readFile recursively.
5188
5189 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5190
5191         * MenuBackend.C (expandFormats): add "..." to import formats.
5192
5193 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5194
5195         * paragraph.C (asString): Remove XForms RTL hacks.
5196
5197 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5198         * buffer.C: fix typo
5199
5200 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5201
5202         * Makefile.am (LIBS): delete var
5203         (lyx_LDADD): add @LIBS@ here instead.
5204
5205 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5206
5207         * Clarify the meaning of "wheel mouse jump"
5208
5209 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5210
5211         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5212         tabular in a float
5213
5214 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5215
5216         * importer.C (Loaders): do not preallocate 3 elements in the
5217         vector, since one ends up with 6 elements otherwise
5218
5219 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5220
5221         * DepTable.C (write): write the file name as last element of the
5222         .dep file (because it may contain spaces)
5223         (read): read info in the right order
5224
5225 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5226
5227         * paragraph_pimpl.C (simpleTeXBlanks):
5228         (simpleTeXSpecialChars):
5229         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5230
5231         * tabular.C (latex): add some missing case statements. Reindent.
5232
5233         * MenuBackend.C (expandToc): remove unused variable.
5234
5235 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5236
5237         * LColor.C:
5238         * LaTeX.C:
5239         * LyXAction.C:
5240         * MenuBackend.C:
5241         * buffer.C:
5242         * exporter.C:
5243         * lyxfunc.C:
5244         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5245         and the like.
5246
5247 2003-01-05  John Levon  <levon@movementarian.org>
5248
5249         * BufferView.h:
5250         * BufferView.C: add getEncoding()
5251
5252         * kbsequence.h:
5253         * kbsequence.C: do not store last keypress
5254
5255         * lyxfunc.h:
5256         * lyxfunc.C: store last keypress here instead. Pass encoding
5257           to getISOEncoded()
5258
5259 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5260
5261         * lyx_main.C (init): remove annoying error message when following
5262         symbolic links (bug #780)
5263
5264 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5265
5266         * text.C (insertChar):
5267         * lyxrc.C (getDescription): remove extra spaces
5268
5269 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5270
5271         * lyxrc.C (getDescription): remove extra spaces
5272
5273 2002-12-20  John Levon  <levon@movementarian.org>
5274
5275         * text3.C: hack fix for page up/down across tall rows
5276
5277 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5278
5279         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5280         not been invoked
5281
5282 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5283
5284         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5285         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5286         thesaurus is not compiled in
5287
5288 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5289
5290         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5291
5292 2002-12-16  Angus Leeming  <leeming@lyx.org>
5293
5294         * lyxrc.[Ch]:
5295         * lyx_main.C (init): remove override_x_deadkeys stuff.
5296
5297 2002-12-12  John Levon  <levon@movementarian.org>
5298
5299         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5300           insert. Only remove shift modifier under strict
5301           circumstances.
5302
5303 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5304
5305         * MenuBackend.C (expandToc): fix crash.
5306
5307 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5308
5309         * MenuBackend.C (expandToc): gettext on float names.
5310
5311 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5312
5313         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5314         implement bool empty() [bug 490]
5315
5316 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5317
5318         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5319
5320 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5321
5322         * several files: ws changes
5323
5324 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5325
5326         * text2.C (setCounter): clean up a bit, use boost.format.
5327         (updateCounters): initialize par upon declaration.
5328
5329         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5330         if the layout exists. We do not just store the layout any more.
5331         (SwitchLayoutsBetweenClasses): use boost.format
5332
5333 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5334
5335         * converter.C (convert): if from and to files are the same, use a
5336         temporary files as intermediary
5337
5338 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5339
5340         * commandtags.h:
5341         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5342
5343 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5344
5345         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5346
5347 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5348
5349         * tabular.C (asciiPrintCell): use string(size, char) instead of
5350         explicit loop.
5351
5352         * sgml.C (openTag): fix order of arguments to string constructor
5353         (closeTag): ditto
5354
5355         * lyxfunc.C (dispatch): use boost.format
5356
5357         * lots of files: change "c" -> 'c'
5358
5359 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5360
5361         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5362
5363 2002-11-25  Angus Leeming  <leeming@lyx.org>
5364
5365         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5366
5367         * lyx_main.C (init): compile fix.
5368
5369 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5370
5371         * lyx_cb.C (start): boost.formatify
5372         do not include <iostream>
5373
5374         * lengthcommon.C: ws only
5375
5376         * boost-inst.C,BoostFormat.h: add more explict instantations
5377
5378 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * lots of files: handle USE_BOOST_FORMAT
5381
5382 2002-11-21  John Levon  <levon@movementarian.org>
5383
5384         * pspell.C: fix compile
5385
5386 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5387
5388         * lyxfunc.C (dispatch): use boost::format
5389         (open): ditto
5390         (doImport): ditto
5391
5392         * lyxfont.C (stateText): use boost::format
5393
5394         * lyx_main.C (LyX): use boost::format
5395         (init): ditto
5396         (queryUserLyXDir): ditto
5397         (readRcFile): ditto
5398         (parse_dbg): ditto
5399         (typedef boost::function): use the recommened syntax.
5400
5401         * importer.C (Import): use boost::format
5402
5403         * debug.C (showLevel): use boost::format
5404
5405         * converter.C (view): use boost::format
5406         (convert): ditto
5407         (move): ditto
5408         (scanLog): ditto
5409
5410         * bufferview_funcs.C (currentState): use boost::format
5411
5412         * bufferlist.C (emergencyWrite): use boost::format
5413
5414         * buffer.C (readLyXformat2): use boost::format
5415         (parseSingleLyXformat2Token): ditto
5416
5417         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5418
5419         * LaTeX.C (run): use boost::format
5420
5421         * Chktex.C (scanLogFile): use boost::format
5422
5423         * BufferView_pimpl.C (savePosition): use boost::format
5424         (restorePosition): ditto
5425         (MenuInsertLyXFile): ditto
5426
5427         * BoostFormat.h: help file for explicit instation.
5428
5429 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5430
5431         * tabular.C (latex): Support for block alignment in fixed width
5432         columns.
5433
5434 2002-11-17  John Levon  <levon@movementarian.org>
5435
5436         * BufferView_pimpl.C:
5437         * lyx_cb.C:
5438         * lyxfunc.C: split filedialog into open/save
5439
5440 2002-11-08  Juergen Vigna  <jug@sad.it>
5441
5442         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5443         by my last patch (hopefully).
5444
5445 2002-11-08  John Levon  <levon@movementarian.org>
5446
5447         * iterators.h:
5448         * iterators.C:
5449         * buffer.h:
5450         * buffer.C:
5451         * paragraph.h:
5452         * paragraph.C:
5453         * toc.h:
5454         * toc.C: ParConstIterator, and use it (from Lars)
5455
5456 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5457
5458         * lyxtextclass.[Ch]: revise and add doxygen comments
5459
5460 2002-11-07  John Levon  <levon@movementarian.org>
5461
5462         * text.C: fix progress value for spellchecker
5463
5464         * toc.C: fix navigate menu for insetwrap inside minipage
5465
5466         * paragraph_funcs.C: added FIXME for suspect code
5467
5468 2002-11-07  John Levon  <levon@movementarian.org>
5469
5470         * BufferView_pimpl.C: fix redrawing of insets
5471           on buffer switch
5472
5473 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5474
5475         * text2.C (updateCounters): fix bug 668
5476
5477 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5478
5479         * text3.C (dispatch): Do not make the buffer dirty when moving the
5480         cursor.
5481
5482 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5483
5484         * vc-backend.C: STRCONV
5485         (scanMaster): ditto
5486
5487         * text2.C (setCounter): STRCONV
5488
5489         * paragraph.C (asString): STRCONV
5490
5491         * lyxlength.C (asString): STRCONV
5492         (asLatexString): ditto
5493
5494         * lyxgluelength.C (asString): STRCONV
5495         (asLatexString): ditto
5496
5497         * lyxfunc.C (dispatch): STRCONV
5498         (open): ditto
5499
5500         * lyxfont.C (stateText): STRCONV
5501
5502         * importer.C (Import): STRCONV
5503
5504         * counters.C (labelItem): STRCONV
5505         (numberLabel): ditto
5506         (numberLabel): remove unused ostringstream o
5507
5508         * chset.C: STRCONV
5509         (loadFile): ditto
5510
5511         * bufferview_funcs.C (currentState): STRCONV
5512
5513         * buffer.C (readFile): STRCONV
5514         (asciiParagraph): ditto
5515         (makeLaTeXFile): ditto
5516
5517         * Spacing.C (writeEnvirBegin): STRCONV
5518
5519         * LaTeXFeatures.C (getLanguages): STRCONV
5520         (getPackages): ditto
5521         (getMacros): ditto
5522         (getBabelOptions): ditto
5523         (getTClassPreamble): ditto
5524         (getLyXSGMLEntities): ditto
5525         (getIncludedFiles): ditto
5526
5527         * LaTeX.C: STRCONV
5528         (run): ditto
5529         (scanAuxFile): ditto
5530         (deplog): ditto
5531
5532         * LString.h: add the STRCONV macros
5533
5534         * BufferView_pimpl.C (savePosition): STRCONV
5535         (restorePosition): ditto
5536         (MenuInsertLyXFile): ditto
5537
5538         * vc-backend.C (scanMaster): change from submatch[...] to
5539         submatch.str(...)
5540
5541         * funcrequest.C: include config.h
5542
5543         * factory.C: include config.h
5544
5545         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5546
5547         * box.C: include config.h
5548
5549         * LaTeX.C (scanAuxFile): change from submatch[...] to
5550         submatch.str(...)
5551         (deplog): ditto
5552
5553 2002-10-25  Angus Leeming  <leeming@lyx.org>
5554
5555         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5556
5557         * ispell.[Ch] (setError): new method.
5558         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5559         Use setError() insetead of goto END.
5560
5561         * lyx_cb.C (AutoSave): move out child process into new class
5562         AutoSaveBuffer.
5563
5564 2002-10-30  John Levon  <levon@movementarian.org>
5565
5566         * text3.C: make start appendix undoable
5567
5568 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5569
5570         * lyxlength.C (inPixels): Fix returned value.
5571
5572         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5573         environment.
5574
5575 2002-10-24  Angus Leeming  <leeming@lyx.org>
5576
5577         * lyxgluelength.h: no need to forward declare BufferParams
5578         or BufferView, so don't.
5579
5580 2002-10-21  John Levon  <levon@movementarian.org>
5581
5582         * BufferView.C: menuUndo ->undo, redo
5583
5584         * BufferView.h: document, remove dead, make some methods private
5585
5586         * paragraph_funcs.h:
5587         * paragraph_funcs.C:
5588         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5589
5590         * buffer.h:
5591         * buffer.C:
5592         * sgml.h:
5593         * sgml.C: move sgml open/close tag into sgml.C
5594
5595         * bufferview_funcs.h: unused prototype
5596
5597         * lyxfunc.h:
5598         * lyxfunc.C: remove unused
5599
5600         * lyxtext.h:
5601         * text.C: remove unused
5602
5603 2002-10-21  John Levon  <levon@movementarian.org>
5604
5605         * BufferView.h:
5606         * BufferView.C:
5607         * BufferView_pimpl.h:
5608         * BufferView_pimpl.C: fix mouse wheel handling based on
5609           patch from Darren Freeman
5610
5611 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5612
5613         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5614
5615 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5616
5617         * lyxlength.C (inPixels): Fix hanfling of negative length.
5618         Fix LyXLength::MU case.
5619
5620 2002-10-16  John Levon  <levon@movementarian.org>
5621
5622         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5623
5624 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5625
5626         * converter.C (view): add support for $$i (file name) and $$p
5627         (file path) for the viewer command. If $$i is not specified, then
5628         it is appended to the command (for compatibility with old syntax)
5629
5630 2002-10-14  Juergen Vigna  <jug@sad.it>
5631
5632         * undo_funcs.C (textHandleUndo): alter the order in which the
5633         new undopar is added to the LyXText, as we have to set first
5634         the right prev/next and then add it as otherwise the rebuild of
5635         LyXText is not correct. Also reset the cursor to the right paragraph,
5636         with this IMO we could remove the hack in "redoParagraphs()".
5637
5638 2002-10-09  Angus Leeming  <leeming@lyx.org>
5639
5640         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5641         to turn off an optimisation if a new inset is to be inserted.
5642
5643 2002-10-11 André Pönitz <poenitz@gmx.net>
5644
5645         * lyxtext.h: make some functions public to allow access
5646         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5647
5648 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5649
5650         * text3.C (dispatch): when changing layout, avoid an infinite loop
5651         [bug #652]
5652
5653 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5654
5655         * lyxrc.C (read): treat a viewer or converter command of "none" as
5656         if it were empty.
5657
5658         * MenuBackend.C (expandFormats): for an update, also allow the
5659         formats that are not viewable
5660
5661         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5662         script if it is newer than the lyxrc.defaults in user directory
5663
5664 2002-10-07 André Pönitz <poenitz@gmx.net>
5665
5666         * text.C: Vitaly Lipatov's small i18n fix
5667
5668 2002-09-25  Angus Leeming  <leeming@lyx.org>
5669
5670         * ispell.h: doxygen fix.
5671
5672 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5673
5674         * buffer.h (readFile): Add a new argument to the method, to allow
5675         reading of old-format templates.
5676
5677 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5678
5679         * toc.C (getTocList): Get TOC from InsetWrap.
5680
5681 2002-09-16  John Levon  <levon@movementarian.org>
5682
5683         * lyxfunc.C: check tabular for cut/copy too
5684
5685 2002-09-12  John Levon  <levon@movementarian.org>
5686
5687         * LyXAction.C: tidy
5688
5689         * factory.h:
5690         * factory.C: add header
5691
5692         * paragraph_funcs.h:
5693         * paragraph_funcs.C: cleanup
5694
5695 2002-09-11  John Levon  <levon@movementarian.org>
5696
5697         * PrinterParams.h: odd/even default to true
5698
5699 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5700
5701         * PrinterParams.h: update printer parameters for new xforms dialog
5702
5703 2002-09-11  Angus Leeming  <leeming@lyx.org>
5704
5705         * lyxserver.C (read_ready): re-write to make it more transparent
5706         and to make it work in coherent fashion under Tru64 Unix.
5707
5708 2002-09-11  André Pönitz <poenitz@gmx.net>
5709
5710         * commandtags.h:
5711         * LyXAction.C:
5712         * text3.C: implement LFUN_WORDSEL
5713
5714 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5715
5716         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5717         make floatlist_ a boost::shared_ptr<FloatList>
5718
5719         * lyxtextclass.C: include FloatList.h
5720         (LyXTextClass): initialize floatlist_
5721         (TextClassTags): add TC_NOFLOAT
5722         (Read): match "nofloat" to TC_NOFLOAT and use it.
5723         (readFloat): modify call to floatlist_
5724         (floats): ditto
5725         (floats): ditto
5726
5727         * FloatList.[Ch] (FloatList): remove commented out float
5728         initialization.
5729         (erase): new function
5730
5731 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5732
5733         * MenuBackend.C (expandToc): fix crash when there is no document
5734         open
5735
5736 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5737
5738         * many files: Add insetwrap.
5739
5740 2002-09-09  John Levon  <levon@movementarian.org>
5741
5742         * text2.C: remove confusing and awkward depth wraparound
5743
5744 2002-09-09  John Levon  <levon@movementarian.org>
5745
5746         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5747
5748         * buffer.h:
5749         * buffer.C: remove getIncludeonlyList()
5750
5751         * paragraph.C:
5752         * lyxfunc.C: remove headers
5753
5754 2002-09-09  Juergen Vigna  <jug@sad.it>
5755
5756         * text.C (getColumnNearX): fix form Michael this is most
5757         probably a cut&paste bug.
5758
5759 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5760
5761         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5762
5763         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5764         references, ws changes.
5765
5766         * text2.C (init): update counters after init
5767         (insertParagraph): no need to set counter on idividual paragraphs.
5768         (setCounter): access the counters object in the textclass object
5769         on in the buffer object.
5770         (updateCounters): ditto
5771
5772         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5773         shared_ptr<Counters> to avoid loading counters.h in all
5774         compilation units.
5775         (LyXTextClass): initialize ctrs_
5776         (TextClassTags): add TC_COUNTER, and ...
5777         (Read): use it here.
5778         (CounterTags): new tags
5779         (readCounter): new function
5780         (counters): new funtion
5781         (defaultLayoutName): return a const reference
5782
5783         * counters.C (Counters): remove contructor
5784         (newCounter): remove a couple of unneeded statements.
5785         (newCounter): simplify a bit.
5786         (numberLabel): some small formatting changes.
5787
5788         * buffer.[Ch]: remove all traces of counters, move the Counters
5789         object to the LyXTextClass.
5790
5791 2002-09-06  Alain Castera  <castera@in2p3.fr>
5792
5793         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5794         package to set the horizontal alignment on fixed width columns.
5795
5796         * lyx_sty.C:
5797         * lyx_sty.h: added tabularnewline macro def.
5798
5799         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5800
5801 2002-09-06  John Levon  <levon@movementarian.org>
5802
5803         * LyXAction.C: tooltips for sub/superscript
5804
5805         * MenuBackend.C: a bit more verbose
5806
5807         * lyxfunc.C: tiny clean
5808
5809         * undo_funcs.C: document undo_frozen
5810
5811 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5812
5813         * counters.C (Counters): add missing algorithm counter.
5814
5815         * text2.C (setCounter): lookup the counter with layouts latexname
5816         instead of by section number.
5817         (setCounter): use a hackish way to lookup the correct enum
5818         counter.
5819         a float name->type change
5820         reset enum couners with counter name directly instead of depth value.
5821
5822         * counters.C (Counters): remove the push_backs, change to use the
5823         float type not the float name.
5824         (labelItem): remove unused string, float name->type change
5825
5826         * counters.h: don't include vector, loose the enums and sects vectors
5827
5828 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5829
5830         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5831         (Read): add float->TC_FLOAT to textclassTags
5832         (Read): and handle it in the switch
5833         (readFloat): new function
5834
5835         * FloatList.C (FloatList): comment out the hardcoded float
5836         definitions.
5837
5838         * lyxlayout.h: ws change.
5839
5840 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5841
5842         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5843
5844 2002-09-03  Angus Leeming  <leeming@lyx.org>
5845
5846         * BufferView_pimpl.h: qualified name is not allowed in member
5847         declaration: WorkArea & Pimpl::workarea() const;
5848
5849         * factory.C: added using std::endl directive.
5850
5851         * text3.C: added using std::find and std::vector directives.
5852
5853 2002-08-29  André Pönitz <poenitz@gmx.net>
5854
5855         * lyxtext.h:
5856         * text2.C: remove unused member number_of_rows
5857
5858         * Makefile.am:
5859         * BufferView2.C: remove file, move contents to...
5860         * BufferView.C: ... here
5861
5862         * BufferView_pimpl.C:
5863         * factory.C: move more inset creation to factory
5864
5865         * vspace.C: avoid direct usage of LyXText, ws changes
5866
5867         * BufferView.[Ch]:
5868                 don't provide direct access to WorkArea, use two simple
5869                 acessors haveSelction() and workHeight() instead
5870
5871
5872 2002-08-29  John Levon  <levon@movementarian.org>
5873
5874         * BufferView_pimpl.C (dispatch): do not continue when
5875           no buffer
5876
5877 2002-08-28  André Pönitz <poenitz@gmx.net>
5878
5879         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5880
5881         * BufferView.h:
5882         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5883
5884 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5885
5886         * buffer.C: increment LYX_FORMAT to 221
5887
5888         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5889         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5890
5891         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5892
5893         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5894
5895 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5896
5897         * factory.C (createInset): use LyXTextClass::floats
5898
5899         * MenuBackend.C (expandFloatListInsert):
5900         (expandFloatInsert):
5901         (expandToc):
5902
5903         * text2.C (setCounter):
5904
5905         * LaTeXFeatures.C (useFloat):
5906         (getFloatDefinitions):
5907
5908         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5909
5910         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5911         floatlist_, with accessor floats().
5912
5913         * FloatList.h: remove global FloatList
5914
5915 2002-08-26  André Pönitz <poenitz@gmx.net>
5916
5917         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5918
5919         * BufferView.h:
5920         * BufferView2.C:
5921         * BufferView_pimpl.C:
5922         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5923
5924 2002-08-25  John Levon  <levon@movementarian.org>
5925
5926         * LyXAction.C: fix margin note description
5927
5928 2002-08-24  John Levon  <levon@movementarian.org>
5929
5930         * buffer.C:
5931         * bufferlist.C:
5932         * bufferview_funcs.C:
5933         * lyxfont.C:
5934         * undo_funcs.C: cleanups
5935
5936         * lyxfunc.C: disable CUT/COPY when no selection
5937
5938 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5939
5940         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5941         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5942
5943         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5944         Add backward compatibility to "mono", "gray" and "no".
5945
5946 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5947
5948         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5949         (and file_format >= 200).
5950
5951 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5952
5953         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5954
5955 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5956
5957         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5958
5959 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5960
5961         * BufferView_pimpl.C:
5962         * LyXAction.C:
5963         * buffer.C:
5964         * commandtags.h:
5965         * lyxfunc.C:
5966         * paragraph.[Ch]:
5967         * text2.C:
5968         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5969         inset and code to make it  work with the paragraph code. The inset
5970         can be anywhere in the paragraph, but will only do the expected
5971         thing in LaTeX if the layout file contains the parameter line
5972                         OptionalArgs    1
5973         (or more generally, a nonzero value) for that layout.
5974
5975 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5976
5977         * paragraph.h: remove the declaration of undefined counters class
5978         function.
5979
5980 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5981
5982         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5983         Dr. Richard Hawkins.
5984
5985 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5986
5987         * paragraph_funcs.h: remove some unneeded includes
5988
5989         * text.C (backspace): pasteParagraph now in global scipe
5990
5991         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5992         (pasteSelection): ditto
5993
5994         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5995         * paragraph_funcs.C (pasteParagraph): ... here
5996
5997 2002-08-20  André Pönitz <poenitz@gmx.net>
5998
5999         * commandtags.h: new LFUNs for swapping/copying table row/colums
6000
6001         * LyXAction.C:
6002         * lyxfunc.C: support for new lfuns
6003
6004 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6005
6006         * tabular.C:
6007         * buffer.[Ch]: remove NO_COMPABILITY stuff
6008
6009 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6010
6011         * boost.C (throw_exception): new file, with helper function for
6012         boost compiled without exceptions.
6013
6014         * paragraph.h:
6015         * lyxlength.C:
6016         * buffer.C:
6017         * ParameterStruct.h:
6018         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6019
6020         * bufferlist.C (emergencyWriteAll): use boost bind
6021
6022         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6023
6024         * text.C: include paragraph_funcs.h
6025         (breakParagraph): breakParagraph is now in global scope
6026
6027         * paragraph_funcs.[Ch]: new files
6028
6029         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6030         global scope
6031
6032         * buffer.C: include paragraph_funcs.h
6033         (insertStringAsLines): breakParagraph is now in global scope
6034
6035         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6036         paragraph_funcs.C
6037
6038         * CutAndPaste.C: include paragraph_funcs.h
6039         (cutSelection): breakParagraphConservative is now in global scope
6040         (pasteSelection): ditto
6041
6042         * buffer.h: declare oprator== and operator!= for
6043         Buffer::inset_iterator
6044
6045         * bufferlist.C (emergencyWrite): don't use fmt(...)
6046
6047         * text3.C: add using std::endl
6048
6049         * BufferView.C (moveCursorUpdate): remove default arg
6050
6051 2002-08-20  André Pönitz <poenitz@gmx.net>
6052
6053         * buffer.[Ch]: move inline functions to .C
6054
6055         * BufferView2.C:
6056         * BufferView_pimpl.C:
6057         * text.C:
6058         * buffer.[Ch]: use improved inset_iterator
6059
6060         * buffer.C:
6061         * paragraph.[Ch]: write one paragraph at a time
6062
6063 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6064
6065         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6066         style if style is not specified.
6067
6068 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6069
6070         * text2.C (setCounter): when searching for right label for a
6071         caption, make sure to recurse to parent insets (so that a caption
6072         in a minipage in a figure float works) (bug #568)
6073
6074 2002-08-20  André Pönitz <poenitz@gmx.net>
6075
6076         * text3.C: new file for LyXText::dispatch() and helpers
6077
6078         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6079
6080         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6081
6082 2002-08-19  André Pönitz <poenitz@gmx.net>
6083
6084         * lyxtext.h:
6085         * text.C: new LyXText::dispatch()
6086
6087         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6088
6089 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6090
6091         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6092
6093         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6094         Hebrew text.
6095
6096 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6097
6098         * Makefile.am: use $(variables) instead of @substitutions@
6099
6100 2002-08-15  André Pönitz <poenitz@gmx.net>
6101
6102         * lyxfunc.C:
6103         * BufferView_pimpl.C: streamlining mathed <-> outer world
6104         interaction
6105
6106         * commandtags.h:
6107         * LyXAction.C: remove unused LFUN_MATH
6108
6109 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6112
6113 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * paragraph.C (Paragraph): reformat a bit
6116         (cutIntoMinibuffer): use builtin InsetList function instad of
6117         doing it manually.
6118         (getInset): ditto
6119
6120         * buffer.C: include boost/bind.hpp, add using std::for_each
6121         (writeFileAscii): use ParagraphList iterators
6122         (validate): use for_each for validate traversal of paragraphs
6123         (getBibkeyList): use ParagraphList iterators
6124         (resizeInsets): use for_each to resizeInsetsLyXText for all
6125         paragraphs.
6126         (getParFromID): use ParagraphList iterators
6127
6128         * BufferView2.C (lockInset): use paragraph list and iterators
6129
6130 2002-08-14  John Levon  <levon@movementarian.org>
6131
6132         * lyxserver.C: remove spurious xforms include
6133
6134 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6135
6136         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6137
6138 2002-08-13  André Pönitz <poenitz@gmx.net>
6139
6140         * LyXAction.[Ch]:
6141         * lyxfunc.C: further cleaning
6142
6143 2002-08-13  André Pönitz <poenitz@gmx.net>
6144
6145         * funcrequest.h: new constructor
6146
6147         * funcrequest.C: move stuff here from .h
6148
6149         * Makefile.am:
6150         * BufferView_pimpl.C:
6151         * LyXAction.C:
6152         * toc.C:
6153         * lyxfunc.C: subsequent changes
6154
6155         * lyxfunc.h: new view() member function
6156
6157         * lyxfunc.C: subsequent changes
6158
6159 2002-08-13  Angus Leeming  <leeming@lyx.org>
6160
6161         * BufferView2.C:
6162         * BufferView_pimpl.C:
6163         * buffer.C:
6164         * converter.C:
6165         * importer.C:
6166         * lyxfunc.C:
6167         * lyxvc.C:
6168         * toc.C:
6169         * vc-backend.C:
6170         changes due to the changed LyXView interface that now returns references
6171         to member variables not pointers.
6172
6173 2002-08-13  Angus Leeming  <leeming@lyx.org>
6174
6175         * WordLangTuple (word, lang_code): return references to strings,
6176         not strings.
6177
6178         * BufferView.h:
6179         * SpellBase.h:
6180         * lyxtext.h: forward-declare WordLangTuple.
6181
6182         * BufferView2.C:
6183         * ispell.C:
6184         * pspell.C:
6185         * text.C: #include "WordLangTuple.h".
6186
6187         * lyxtext.h:
6188         * text.C: (selectNextWordToSpellcheck): constify return type.
6189
6190 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6191
6192         * buffer.C:
6193         * buffer.h:
6194         * lyxtext.h:
6195         * paragraph.C:
6196         * paragraph_pimpl.h:
6197         * text.C:
6198         * text2.C:
6199         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6200         suggested by Angus.
6201         Made updateCounter always count from start of buffer, and removed
6202         second argument (par).
6203         Reverted floats number display to '#'. Perhaps I'll try again when the
6204         code base is sanitized a bit.
6205
6206 2002-08-12  Angus Leeming  <leeming@lyx.org>
6207
6208         * buffer.[Ch] (getLabelList): constify.
6209
6210 2002-08-07  André Pönitz <poenitz@gmx.net>
6211
6212         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6213
6214         * funcrequest.h: extension to keep mouse (x,y) position
6215
6216 2002-08-12  Juergen Vigna  <jug@sad.it>
6217
6218         * BufferView2.C (insertErrors): forbid undo when inserting error
6219         insets.
6220
6221         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6222
6223 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6224
6225         * ParagraphList.[Ch]: new files
6226
6227         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6228
6229         * BufferView2.C (lockInset): ParagraphList changes
6230         * toc.C: ditto
6231         * text2.C: ditto
6232         * bufferlist.C: ditto
6233         * buffer.h: ditto
6234         * buffer.C: ditto
6235
6236 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6237
6238         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6239         unused class variable counter_,
6240
6241         * paragraph.[Ch] (getFirstCounter): delete unused function
6242
6243         * counters.C: include LAssert.h
6244         (reset): add a new function with no arg, change other version to
6245         not have def. arg and to not allow empty arg.
6246
6247         * text2.C (setCounter): remove empty arg from call to Counters::reset
6248
6249 2002-08-11  John Levon  <levon@movementarian.org>
6250
6251         * Makefile.am: add WordLangTuple.h
6252
6253 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6254
6255         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6256         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6257
6258         * insets/insettext.C: InsetList changes
6259
6260         * graphics/GraphicsSupport.C (operator()): InsetList changes
6261
6262         * toc.C (getTocList): InsetList changes
6263
6264         * paragraph_pimpl.[Ch]: InsetList changes
6265
6266         * paragraph.[Ch]: InsetList changes
6267
6268         * buffer.C (inset_iterator): InsetList changes
6269         (setParagraph): ditto
6270         * buffer.h (inset_iterator): ditto
6271         * iterators.C (operator++): ditto
6272         * iterators.h: ditto
6273
6274         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6275
6276         * InsetList.[Ch]: new files, most InsetList handling moved out of
6277         paragraph.C.
6278
6279         * BufferView2.C (removeAutoInsets): InsetList changes
6280         (lockInset): ditto
6281         (ChangeInsets): ditto
6282
6283 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * paragraph_pimpl.h (empty): new function
6286
6287         * paragraph.[Ch] (empty): new function
6288
6289         * other files: use the new Paragraph::empty function
6290
6291 2002-08-09  John Levon  <levon@movementarian.org>
6292
6293         * lyxtext.h: remove unused refresh_height
6294
6295 2002-08-09  John Levon  <levon@movementarian.org>
6296
6297         * Makefile.am:
6298         * sgml.h:
6299         * sgml.C:
6300         * buffer.C:
6301         * paragraph.h:
6302         * paragraph.C: move sgml char escaping out of paragraph
6303
6304         * paragraph.h:
6305         * paragraph.C: remove id setter
6306
6307         * buffer.C:
6308         * paragraph.C:
6309         * paragraph_pimpl.C: remove dead tex_code_break_column
6310
6311         * bufferview_funcs.C: small cleanup
6312
6313         * lyxfunc.C: remove dead proto
6314
6315         * lyxtext.h: make some stuff private. Remove some dead stuff.
6316
6317         * lyxgluelength.C: make as[LyX]String() readable
6318
6319 2002-08-08  John Levon  <levon@movementarian.org>
6320
6321         * LyXAction.h:
6322         * LyXAction.C:
6323         * MenuBackend.C:
6324         * ToolbarDefaults.C:
6325         * lyxfunc.C:
6326         * lyxrc.C:
6327         * toc.C: lyxaction cleanup
6328
6329 2002-08-08  John Levon  <levon@movementarian.org>
6330
6331         * BufferView2.C: small cleanup
6332
6333         * lyxfind.h:
6334         * lyxfind.C: move unnecessary header into the .C
6335
6336 2002-08-08  John Levon  <levon@movementarian.org>
6337
6338         * funcrequest.h: just tedious nonsense
6339
6340         * lyx_main.h:
6341         * lyx_main.C: cleanups
6342
6343         * buffer.C:
6344         * vspace.C: remove dead header lyx_main.h
6345
6346 2002-08-07  Angus Leeming  <leeming@lyx.org>
6347
6348         * Paragraph.[Ch]:
6349         * paragraph_pimpl.h:
6350         Forward declare class Counters in paragraph.h by moving the ctrs member
6351         variable into Paragraph::Pimpl.
6352         (counters): new method, returning a reference to pimpl_->ctrs.
6353
6354         * text2.C: ensuing changes.
6355
6356 2002-08-07  John Levon  <levon@movementarian.org>
6357
6358         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6359
6360         * BufferView_pimpl.C: announce X selection on double/triple
6361           click
6362
6363         * lyx_main.C: use correct bool in batch dispatch
6364
6365         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6366
6367 2002-08-07  André Pönitz <poenitz@gmx.net>
6368
6369         * funcrequest.h: new class to wrap a kb_action and its argument
6370
6371         * BufferView.[Ch]:
6372         * BufferView_pimpl[Ch]:
6373         * LaTeX.C:
6374         * LyXAction.[Ch]:
6375         * lyxfunc.[Ch]:
6376         * lyxrc.C: subsequent changes
6377
6378
6379 2002-08-07  John Levon  <levon@movementarian.org>
6380
6381         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6382           document options change.
6383
6384 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6385
6386         * counters.[Ch]
6387         * text2.C
6388         * paragraph.[Ch]
6389         * makefile.am: move counters functionality over from
6390         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6391
6392 2002-08-06  John Levon  <levon@movementarian.org>
6393
6394         * WordLangTuple.h: new file for word + language code tuple
6395
6396         * SpellBase.h:
6397         * pspell.h:
6398         * pspell.C:
6399         * ispell.h:
6400         * ispell.C:
6401         * lyxtext.h:
6402         * text.C:
6403         * text2.C:
6404         * BufferView.h:
6405         * BufferView2.C: use WordLangTuple
6406
6407         * layout.h:
6408         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6409
6410 2002-08-06  John Levon  <levon@movementarian.org>
6411
6412         * lyx_main.C: fix cmdline batch handling
6413
6414 2002-08-06  André Pönitz <poenitz@gmx.net>
6415
6416         * lyxrc.C: set default for show_banner to true
6417
6418 2002-08-06  John Levon  <levon@movementarian.org>
6419
6420         * pspell.C: fix a crash, and allow new aspell to work
6421
6422 2002-08-06  John Levon  <levon@movementarian.org>
6423
6424         * lyxfunc.C:
6425         * kbmap.C: small cleanup
6426
6427         * vspace.h:
6428         * vspace.C: add const
6429
6430 2002-08-05  John Levon  <levon@movementarian.org>
6431
6432         * LyXAction.C: back to tabular-insert
6433
6434 2002-08-04  John Levon  <levon@movementarian.org>
6435
6436         * BufferView.h:
6437         * BufferView.C: cosmetic change
6438
6439         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6440
6441         * bufferlist.C:
6442         * buffer.h:
6443         * buffer.C:
6444         * lyxcb.h:
6445         * lyxcb.C:
6446         * lyxserver.C:
6447         * lyxvc.C:
6448         * vc-backend.C:
6449         * BufferView2.C: purge all "Lyx" not "LyX" strings
6450
6451         * lyxcursor.h:
6452         * lyxcursor.C: attempt to add some documentation
6453
6454         * lyxfunc.C:
6455         * commandtags.h:
6456         * LyXAction.C:
6457         * ToolbarDefaults.C:
6458         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6459           merge with LFUN_TABULAR_INSERT
6460
6461         * Makefile.am:
6462         * SpellBase.h:
6463         * ispell.h:
6464         * ispell.C:
6465         * pspell.h:
6466         * pspell.C: split up i/pspell implementations into separate
6467           files, many cleanups
6468
6469         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6470
6471         * text2.C: some cleanup
6472
6473         * lyxfunc.C: don't check for isp_command == "none" any more, it
6474           didn't make any sense
6475
6476 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6477
6478         * counters.[Ch]
6479         * text2.C
6480         * paragraph.[Ch]
6481         * makefile.am: move counters functionality over
6482         from text2.C/paragraph.[Ch] to counters.[Ch], and
6483         make proper C++.
6484 2002-08-02  John Levon  <levon@movementarian.org>
6485
6486         * buffer.C: s/lyxconvert/lyx2lyx/
6487
6488 2002-08-02  Angus Leeming  <leeming@lyx.org>
6489
6490         * lyxlex.C: revert John's change as it breaks reading of the user
6491         preamble.
6492
6493 2002-08-02  Angus Leeming  <leeming@lyx.org>
6494
6495         * importer.C (Import):
6496         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6497         changes due to LyXView::view() now returning a boost::shared_ptr.
6498
6499 2002-08-02  John Levon  <levon@movementarian.org>
6500
6501         * lyxlex.C: small cleanup
6502
6503 2002-08-02  John Levon  <levon@movementarian.org>
6504
6505         * text2.C (status): small cleanup, no logic change
6506
6507 2002-08-01  John Levon  <levon@movementarian.org>
6508
6509         * buffer.h:
6510         * buffer.C (writeFile): don't output alerts, caller
6511           handles this
6512
6513         * bufferlist.C:
6514         * lyx_cb.C: from above
6515
6516         * lyxfunc.C: allow to open non-existent files
6517
6518 2002-07-31  John Levon  <levon@movementarian.org>
6519
6520         * lyxserver.C: don't let incidental errors get
6521           in the way (errno)
6522
6523 2002-07-30  John Levon  <levon@movementarian.org>
6524
6525         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6526
6527 2002-07-30  John Levon  <levon@movementarian.org>
6528
6529         * lyxserver.h:
6530         * lyxserver.C: remove I/O callback too
6531
6532 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6533
6534         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6535         log.
6536
6537 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6538
6539         * many files: strip,frontStrip -> trim,ltrim,rtrim
6540
6541 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6542
6543         * PrinterParams.h: remove extern containsOnly, and include
6544         support/lstrings.h instead.
6545
6546         * LaTeX.C (scanAuxFile): modify because of strip changes
6547         (deplog): ditto
6548         * buffer.C (makeLaTeXFile): ditto
6549         * bufferparams.C (writeFile): ditt
6550         * lyxfont.C (stateText): ditto
6551         * lyxserver.C (read_ready): ditto
6552         * vc-backend.C (scanMaster): ditto
6553
6554         * BufferView_pimpl.h: ws changes
6555
6556         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6557
6558 2002-07-26  André Pönitz <poenitz@gmx.net>
6559
6560         * kb_sequence.C: remove unnedred usings
6561
6562 2002-07-26  Juergen Vigna  <jug@sad.it>
6563
6564         * lyxfind.C (LyXReplace): we have to check better if the returned
6565         text is not of theLockingInset()->getLockingInset().
6566
6567 2002-07-25  Juergen Vigna  <jug@sad.it>
6568
6569         * lyxfind.C (LyXReplace): don't replace if we don't get the
6570         right LyXText.
6571
6572         * undo_funcs.C (createUndo): remove debugging code.
6573
6574 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6575
6576         * buffer.C (parseSingleLyXformat2Token): Use default placement
6577         when reading old floats.
6578
6579         * FloatList.C (FloatList): Change the default placement of figure
6580         and tables to "tbp".
6581
6582 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6583
6584         * MenuBackend.C: using std::max
6585
6586 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6587
6588         * MenuBackend.C (expandToc):
6589         (expandToc2): code moved from xforms menu frontend. It is now
6590         generic and TOCs are transparent to menu frontends.
6591
6592 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6593
6594         * toc.C (getTocList): protect against buf=0
6595
6596         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6597         Menu as first parameter. Now, this calls itself recursively to
6598         expand a whole tree (this will be useful for TOC handling)
6599         (expandFloatInsert): remove 'wide' version of floats
6600
6601         * MenuBackend.h (submenuname): returns the name of the submenu.
6602         (submenu): returns the submenu itself, provided it has been
6603         created by MenuBackend::expand
6604
6605 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6606
6607         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6608         insets which have noFontChange == true. (bug #172)
6609
6610 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6611
6612         * BufferView_pimpl.C: add connection objects and use them...
6613         (Pimpl): here.
6614
6615 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6616
6617         * MenuBackend.C (expandLastfiles):
6618         (expandDocuments):
6619         (expandFormats):
6620         (expandFloatListInsert):
6621         (expandFloatInsert):
6622         (expand): split expand in parts
6623
6624 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6625
6626         * lyx_gui.C: use lyx_gui::exit()
6627
6628 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6629
6630         * LyXAction.C: show the failing pseudo action
6631
6632 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6633
6634         * buffer.C (readFile): Run the lyxconvert script in order to read
6635         old files.
6636
6637 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6638
6639         * LyXAction.C:
6640         * commandtags.h:
6641         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6642
6643 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6644
6645         * LyXAction.C:
6646         * commandtags.h:
6647         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6648
6649 2002-07-22  Herbert Voss  <voss@lyx.org>
6650
6651         * lengthcommon.C:
6652         * lyxlength.[Ch]: add support for the vertical lengths
6653
6654 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6655
6656         * toc.[Ch]: std:: fixes
6657
6658 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6659
6660         * lyxrc.C: do not include lyx_main.h
6661
6662         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6663         for layouts
6664
6665         * lyxrc.C:
6666         * encoding.C:
6667         * bufferlist.C:
6668         * BufferView2.C: include "lyxlex.h"
6669
6670         * tabular.h:
6671         * bufferparams.h: do not #include "lyxlex.h"
6672
6673         * lyxtextclasslist.C (Add): remove method
6674         (classlist): renamed to classlist_
6675
6676         * paragraph_pimpl.C:
6677         * paragraph.C:
6678         * text2.C:
6679         * CutAndPaste.C:
6680         * bufferview_funcs.C:
6681         * bufferlist.C:
6682         * text.C:
6683         * LaTeXFeatures.C:
6684         * buffer.C:
6685         * toc.C (getTocList): use BufferParams::getLyXTextClass
6686
6687         * toc.C (getTocList): use InsetFloat::addToToc
6688
6689         * toc.[Ch]: new files, containing helper functions to handle table
6690         of contents
6691
6692         * lyxfunc.C (dispatch): no need to remove spaces around command
6693         given as a string
6694         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6695         first command of the sequence; it is not very clever, but I do not
6696         have a better idea, actually
6697
6698         * LyXAction.C (LookupFunc): make sure to remove space at the
6699         beginning and end of the command
6700
6701 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6702
6703         * MenuBackend.C (getMenubar): new method: return the menubar of
6704         this menu set
6705         (read): treat differently reading of menu and menubar (in
6706         particular, the menubar has no name now)
6707         (Menu::menubar): remove
6708
6709         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6710         saving is finished
6711
6712 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6713
6714         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6715         a bibitem inset in a RTL paragraph.
6716
6717 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6718
6719         * paragraph_pimpl.C: constify
6720
6721         * BufferView_pimpl.C:
6722         * LaTeX.C:
6723         * lyxfunc.C: fix dispatch in a nicer way
6724
6725 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6726
6727         * lyxfunc.C (dispatch):
6728         * BufferView_pimpl.C:
6729         * BufferView_pimpl.h:
6730         * BufferView.C:
6731         * BufferView.h: rename Dispatch() to dispatch()
6732
6733         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6734
6735         * lyxlayout.C (Read): honor DependsOn tag
6736
6737         * lyxlayout.[Ch] (depends_on): new method
6738
6739         * version.C.in: update lyx_docversion
6740
6741         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6742
6743         * paragraph.C (validate): remove from here...
6744         * paragraph_pimpl.C (validate): ... and move here
6745         (isTextAt): make it const
6746
6747         * buffer.C (getLists): ws cleanup
6748
6749 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6750
6751         * language.C (read): Use iso8859-1 encoding in latex_lang
6752         (this prevents LyX from crashing when using iso10646-1 encoding).
6753
6754 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6755
6756         * text2.C (toggleInset): if cursor is inside an inset, close the
6757         inset and leave cursor _after_ it
6758
6759 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6760
6761         * lyxfunc.C: move minibuffer completion handling out of here
6762
6763 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6764
6765         * BufferView_pimpl.C:
6766         * LaTeX.C: fix dispatch calls
6767
6768 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6769
6770         * text.C (drawChars): Fix Arabic text rendering.
6771
6772 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6773
6774         * LyXAction.C:
6775         * commandtags.h:
6776         * lyxfunc.C: remove message-push/pop
6777
6778         * lyxserver.C:
6779         * lyxfunc.h:
6780         * lyxfunc.C: rationalise some code by removing verboseDispatch
6781           in favour of a bool argument to dispatch()
6782
6783 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6784
6785         * lyx_main.C (init): make sure to read symlinks as absolute paths
6786
6787 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6788
6789         * lyxfunc.h:
6790         * lyxfunc.C: no need for commandshortcut to be a member
6791
6792 2002-07-15  André Pönitz <poenitz@gmx.net>
6793
6794         * converter.C: add support for $$s (scripts from lib/scripts dir)
6795         * lyx_main.C: white space
6796
6797 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6798
6799         * bufferlist.C:
6800         * lyxrc.h:
6801         * lyxrc.C: remove second exit confirmation
6802
6803 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6804
6805         * BufferView.h:
6806         * BufferView.C:
6807         * BufferView2.C:
6808         * BufferView_pimpl.h:
6809         * BufferView_pimpl.C:
6810         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6811
6812 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6813
6814         * MenuBackend.C (expand): add numeric shortcuts to document menu
6815
6816         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6817
6818 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6819
6820         * lyxfont.C (setLyXFamily):
6821         (setLyXSeries):
6822         (setLyXShape):
6823         (setLyXSize):
6824         (setLyXMisc):
6825         (lyxRead):
6826         * debug.C (value):
6827         * buffer.C (asciiParagraph): use ascii_lowercase
6828
6829 2002-07-15  Mike Fabian  <mfabian@suse.de>
6830
6831         * lyxlex_pimpl.C (search_kw):
6832         * lyxlex.C (getLongString):
6833         * converter.h (operator<):
6834         * converter.C (operator<):
6835         * buffer.C (parseSingleLyXformat2Token):
6836         (asciiParagraph):
6837         * ToolbarDefaults.C (read):
6838         * MenuBackend.C (checkShortcuts):
6839         (read):
6840         * LColor.C (getFromGUIName):
6841         (getFromLyXName): use the compare_ascii_no_case instead of
6842         compare_no_case, because in turkish, 'i' is not the lowercase
6843         version of 'I', and thus turkish locale breaks parsing of tags.
6844
6845 2002-07-16  Angus Leeming  <leeming@lyx.org>
6846
6847         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6848         now takes a Buffer const & argument.
6849
6850 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6851
6852         * BufferView.C (resize): check there's a buffer to resize
6853
6854 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6855
6856         * lyxfunc.C: remove dead code
6857
6858         * lyxserver.h:
6859         * lyxserver.C: use lyx_guii::set_read_callback
6860
6861 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6862
6863         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6864         an inset in a RTL paragraph.
6865
6866 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6867
6868         * lyxfunc.C: repaint after a font size update
6869
6870 2002-07-15  André Pönitz <poenitz@gmx.net>
6871
6872         * lyxlength.C: inBP should be able to return negative values
6873
6874 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6875
6876         * lyxfunc.C: use lyx_gui::update_fonts()
6877
6878 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6879
6880         * lyxfunc.C: use lyx_gui::update_color()
6881
6882 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6883
6884         * bufferlist.C:
6885         * lyxfunc.h:
6886         * lyxfunc.C:
6887         * lyxrc.h:
6888         * lyxrc.C: remove file->new asks for name option, and let
6889           buffer-new take an argument
6890
6891 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6892
6893         * BufferView_pimpl.C: remove unneeded extra repaint()
6894
6895 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6896
6897         * LyXAction.C: allow command-sequence with NoBuffer
6898
6899         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6900
6901 2002-07-10  Angus Leeming  <leeming@lyx.org>
6902
6903         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6904
6905 2002-07-09  Angus Leeming  <leeming@lyx.org>
6906
6907         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6908
6909 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6910
6911         * lengthcommon.h: whitespace
6912
6913         * lyxfunc.C: update scrollbar after goto paragraph
6914
6915         * lyxtext.h: factor out page break drawing, and fix it so
6916           page break/added space paints as selected nicely
6917
6918 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6919
6920         * BufferView_pimpl.C: add FIXMEs, clean up a little
6921
6922 2002-07-09  André Pönitz <poenitz@gmx.net>
6923
6924         * lyxfont.[Ch]: support for wasy symbols
6925
6926 2002-07-08  André Pönitz <poenitz@gmx.net>
6927
6928         * BufferView_pimpl.C: apply John's patch for #93.
6929
6930 2002-07-05  Angus Leeming  <leeming@lyx.org>
6931
6932         * BufferView_pimpl.C (buffer): generate previews if desired.
6933
6934         * LColor.h: add "preview" to the color enum.
6935
6936         * LColor.C (LColor): add a corresponding entry to the items array.
6937
6938         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6939         with this buffer.
6940
6941 2002-07-05  Angus Leeming  <leeming@lyx.org>
6942
6943         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6944         The body of the code is now in the method that is passed an ostream &
6945         rather than a file name.
6946         Pass an additional only_preamble parameter, useful for the forthcoming
6947         preview stuff.
6948
6949 2002-07-03  André Pönitz <poenitz@gmx.net>
6950
6951         * lyxfunc.C: simplify getStatus() a bit for math stuff
6952
6953 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6954
6955         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6956
6957 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6958
6959         * text.C (changeRegionCase): do not change case of all the
6960         document when region ends at paragraph end (bug #461)
6961
6962 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6963
6964         * paragraph.C (startTeXParParams):
6965         (endTeXParParams): add \protect when necessary
6966
6967 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6968
6969         * BufferView_pimpl.C (workAreaExpose): remove warning
6970
6971 2002-06-27  Angus Leeming  <leeming@lyx.org>
6972
6973         * Makefile.am: add lyxlayout_ptr_fwd.h.
6974
6975 2002-06-26  André Pönitz <poenitz@gmx.net>
6976
6977         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6978
6979 2002-06-25  Angus Leeming  <leeming@lyx.org>
6980
6981         * lyxfunc.C (dispatch): Comment out the call to
6982         grfx::GCache::changeDisplay. The method no longer exists now that the
6983         pixmap generation part of the graphics loader has been moved into
6984         InsetGraphics.
6985
6986 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6987
6988         * text2.C: layout as layout
6989
6990         * text.C: layout as layout
6991
6992         * tabular.C (OldFormatRead): layout as layout
6993
6994         * paragraph_pimpl.C (TeXDeeper): layout as layout
6995         (realizeFont): layout as layout
6996
6997         * paragraph.C (writeFile): layout as layout
6998         (validate): layout as layout
6999         (getFont): layout as layout
7000         (getLabelFont): layout as layout
7001         (getLayoutFont): layout as layout
7002         (breakParagraph): layout as layout
7003         (stripLeadingSpaces): layout as layout
7004         (getEndLabel): layout as layout
7005         (getMaxDepthAfter): layout as layout
7006         (applyLayout): layout as layout
7007         (TeXOnePar): layout as layout
7008         (simpleTeXOnePar): layout as layout
7009         (TeXEnvironment): layout as layout
7010         (layout): layout as layout
7011         (layout): layout as layout
7012
7013         * lyxtextclass.C (compare_name): new functor to work with
7014         shared_ptr, layout as layout
7015         (Read): layout as layout
7016         (hasLayout): layout as layout
7017         (operator): layout as layout
7018         (delete_layout): layout as layout
7019         (defaultLayout): layout as layout
7020
7021         * lyxlayout_ptr_fwd.h: new file
7022
7023         * lyxlayout.C (Read): layout as layout
7024
7025         * lyx_cb.C (MenuInsertLabel): layout as layout
7026
7027         * bufferlist.C (newFile): layout as layout
7028
7029         * buffer.C (readLyXformat2): layout as layout
7030         (parseSingleLyXformat2Token): layout as layout
7031         (insertStringAsLines): layout as layout
7032         (asciiParagraph): layout as layout
7033         (latexParagraphs): layout as layout
7034         (makeLinuxDocFile): layout as layout
7035         (simpleLinuxDocOnePar): layout as layout
7036         (makeDocBookFile): layout as layout
7037         (simpleDocBookOnePar): layout as layout
7038         (getLists): layout as layout
7039
7040         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7041
7042         * CutAndPaste.C (cutSelection): layout as layout
7043         (pasteSelection): layout as layout
7044         (SwitchLayoutsBetweenClasses): layout as layout
7045
7046         * BufferView_pimpl.C (Dispatch): layout as layout
7047         (smartQuote): layout as layout
7048
7049         * BufferView2.C (unlockInset): layout as layout
7050
7051 2002-06-24  André Pönitz <poenitz@gmx.net>
7052
7053         * lyxfunc.C: fix #487
7054
7055 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7056
7057         * lyxrc.h:
7058         * lyxrc.C:
7059         * lyxfunc.C: remove display_shortcuts, show_banner
7060
7061 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7062
7063         * Buffer_pimpl.C: oops, update on resize
7064
7065 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7066
7067         * buffer.C:
7068         * converter.C:
7069         * exporter.C:
7070         * lyxfunc.C:
7071         * BufferView.h:
7072         * BufferView.C: use repaint()
7073
7074         * BufferView_pimpl.h:
7075         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7076           as it's a clearer description. Remove superfluous
7077           redraws.
7078
7079 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7080
7081         * text.C: fix bug 488. Not ideal, but getting
7082           getWord() to work properly for the insets that
7083           matter is more difficult ...
7084
7085 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7086
7087         * BufferView_pimpl.C:
7088         * LyXAction.C:
7089         * commandtags.h:
7090         * lyxfunc.C: remove the six million index lyxfuncs to just
7091           one, and DTRT (bug 458)
7092
7093 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7094
7095         * BufferView.h:
7096         * BufferView.C:
7097         * BufferView_pimpl.h:
7098         * BufferView_pimpl.C: clean up resize() stuff,
7099           and unnecessary updateScreen()s
7100
7101 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7102
7103         * BufferView.h:
7104         * BufferView.C:
7105         * BufferView_pimpl.h:
7106         * BufferView_pimpl.C:
7107         * lyxfind.h:
7108         * lyxfind.C:
7109         * minibuffer.C: remove focus management of workarea,
7110           not needed. Use screen's greyOut()
7111
7112 2002-06-17  Herbert Voss  <voss@lyx.org>
7113
7114         * converter.C: (convert) do not post a message, when converting
7115         fails, let the calling function decide what to do in this case
7116
7117 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7118
7119         * lyxfunc.C: tidy up a little
7120
7121 2002-06-16    <alstrup@diku.dk>
7122
7123         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7124         Got rid of FORMS_H_LOCATION include. Now we are
7125         GUII.
7126
7127 2002-06-15  LyX Development team  <lyx@rilke>
7128
7129         * buffer.[Ch] (sgmlOpenTag):
7130         (sgmlCloseTag): Added support for avoiding pernicious mixed
7131         content. Return number of lines written.
7132
7133         (makeLinuxDocFile):
7134         (makeDocBookFile): Fixed calls to sgml*Tag.
7135         Simple white space clean.
7136
7137         (simpleDocBookOnePar): Simple white space clean.
7138
7139         * tabular.[Ch] (docBook): Renamed to docbook and got another
7140         argument to related with the pernicious mixed content.
7141
7142         (docbookRow): Fixed calls for docbook inset method.
7143
7144 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7145
7146         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7147         so it's X11 independent.
7148
7149         * kb*.[Ch]: ditto.
7150
7151         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7152
7153 2002-06-15  Lyx Development team  <lyx@electronia>
7154
7155         * intl.h: Renamed getTrans to getTransManager.
7156
7157 2002-06-14  Angus Leeming  <leeming@lyx.org>
7158
7159         * Makefile.am: nuke forgotten stl_string_fwd.h.
7160
7161 2002-06-12  Angus Leeming  <leeming@lyx.org>
7162
7163         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7164
7165 2002-06-13  Angus Leeming  <leeming@lyx.org>
7166
7167         * LaTeX.C:
7168         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7169
7170 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7171
7172         * kbmap.C (getiso): add support for cyrillic and greek
7173
7174 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7175
7176         * BufferView.h:
7177         * BufferView.C:
7178         * BufferView_pimpl.h:
7179         * BufferView_pimpl.C: move bogus scrolling logic
7180           to xforms
7181
7182 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7183
7184         * lyxfunc.C:
7185         * BufferView_pimpl.C: view->resize() change
7186
7187 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7188
7189         * BufferView_pimpl.C: topCursorVisible
7190           prototype change
7191
7192 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7193
7194         * Makefile.am:
7195         * lyx_gui.h:
7196         * lyx_gui.C: move to frontends/
7197
7198         * main.C:
7199         * lyx_main.h:
7200         * lyx_main.C: changes from above
7201
7202 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7203
7204         * intl.C:
7205         * intl.h:
7206         * kbmap.C:
7207         * kbsequence.C:
7208         * lyx_cb.C:
7209         * lyx_main.C: minor tidy
7210
7211 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7212
7213         * BufferView_pimpl.h:
7214         * BufferView_pimpl.C:
7215         * BufferView.h:
7216         * BufferView.C: make painter() const,
7217           remove dead code
7218
7219         * BufferView2.C: use screen() accessor
7220
7221         * lyx_main.h:
7222         * lyx_main.C: some minor cleanup
7223
7224 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7225
7226         * BufferView_pimpl.h:
7227         * BufferView_pimpl.C: remove enter/leaveView,
7228           use workHeight()
7229
7230 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7231
7232         * BufferView.h:
7233         * BufferView.C:
7234         * BufferView2.C:
7235         * BufferView_pimpl.h:
7236         * BufferView_pimpl.C: only construct screen once,
7237           rename
7238
7239         * lyxrc.C: remove pointless comment
7240
7241 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7242
7243         * BufferView.h:
7244         * BufferView.C: remove active() and belowMouse()
7245
7246         * BufferView_pimpl.h:
7247         * BufferView_pimpl.C: use workarea() not workarea_,
7248           and make it use a scoped_ptr instead
7249
7250 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7251
7252         * lyx_gui.C: add debug message on BadWindow
7253
7254 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7255
7256         * sp_spell.C: fdopen is not part of the C++ standard.
7257
7258         * paragraph.C (InsetIterator): use >= instead of ==
7259
7260 2002-06-07  Angus Leeming  <leeming@lyx.org>
7261
7262         Fixes needed to compile with Compaq cxx 6.5.
7263         * BufferView_pimpl.C:
7264         * DepTable.C:
7265         * buffer.C:
7266         * converter.C:
7267         * encoding.C:
7268         * lyx_gui.C:
7269         * lyx_main.C:
7270         * lyxtextclasslist.C:
7271         * minibuffer.C:
7272         * sp_spell.C:
7273         * tabular_funcs.C:
7274         * vc-backend.C:
7275         all c-library variables have been moved into namespace std. Wrap
7276         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7277
7278         * lyxlength.C:
7279         * tabular-old.C:
7280         * tabular.C:
7281         Add a using std::abs declaration.
7282
7283         * kbmap.h (modifier_pair):
7284         * paragraph.h (InsetTable, InsetList):
7285         * lyxfont.h (FontBits):
7286         type definition made public.
7287
7288         * bufferlist.C (emergencyWriteAll): the compiler complains that
7289         there is more than one possible lyx::class_fun template to choose from.
7290         I re-named the void specialisation as lyx::void_class_fun.
7291
7292         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7293
7294         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7295         the compiler is is unable to find tostr in write_attribute.
7296
7297 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7298
7299         * buffer.C (sgmlError): hide #warning
7300
7301 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7302
7303         * xtl/*: get rid of xtl, which is not in use anyway
7304
7305         * LyXAction.C (init):
7306         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7307         were unimplemented xtl experimentation
7308
7309 2002-06-04  André Pönitz <poenitz@gmx.net>
7310
7311         * lyxfunc.C: disable array operation on simple formulae
7312
7313 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7314
7315         * converter.C: constify a bit
7316
7317 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7318
7319         * lyx_gui.C: check xforms version correctly
7320
7321 2002-04-30  Herbert Voss  <voss@lyx.org>
7322
7323         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7324         "keep" option
7325
7326 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7327
7328         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7329           attempt to register it with a VCS)
7330
7331 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7332
7333         * lyx_main.C (init): honor variables LYX_DIR_13x and
7334         LYX_USERDIR_13x
7335
7336 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7337
7338         * buffer.h:
7339         * buffer.C:
7340         * lyx_main.C: fix a crash on bad command line,
7341           and give a useful exit status on error
7342
7343         * lyxfunc.C (doImport): allow -i lyx to work
7344
7345 2002-03-30  André Pönitz <poenitz@gmx.net>
7346
7347         * lyxfunc.C: mathed font changes
7348
7349 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7350
7351         * LaTeX.C:
7352         * importer.h:
7353         * importer.C:
7354         * lyx_sty.h:
7355         * lyx_sty.C:
7356         * lyxlex.C:
7357         * lyxrow.h:
7358         * lyxtext.h:
7359         * paragraph.h:
7360         * paragraph.C:
7361         * texrow.h:
7362         * texrow.C:
7363         * text.C:
7364         * trans_mgr.h: srcdocs, and some minor cleanups
7365
7366 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7367
7368         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7369         call getFont all the time)
7370
7371 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7372
7373         * switch from SigC signals to boost::signals
7374
7375 2002-05-29  André Pönitz <poenitz@gmx.net>
7376
7377         * paragraph_pimpl.C (getChar): don't call size() too often...
7378
7379 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7380
7381         * paragraph_pimpl.C (insertChar): do not try to update tables when
7382         appending (pos == size())
7383
7384         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7385         in order to reduce drastically the number of comparisons needed to
7386         parse a large document
7387
7388 2002-05-29  André Pönitz <poenitz@gmx.net>
7389
7390         * text.C:
7391         * text2.C:
7392         * lyxtextclass.C:
7393         * sp_pspell.h:
7394         * textclasslist.[Ch]:
7395         * sp_ispell.h: whitespace change
7396
7397 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7398
7399         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7400         lyxaction directly now.
7401
7402 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7403
7404         * trans.C:
7405         * lyxfont.C:
7406         * lyxvc.C: remove unused headers
7407
7408 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7409
7410         * Makefile.am:
7411         * buffer.h:
7412         * undostack.h:
7413         * undostack.C:
7414         * undo_funcs.h:
7415         * undo_funcs.C: some cleanups. Use shared_ptr
7416           and a template for the undo stacks.
7417
7418 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7419
7420         * BufferView_pimpl.h:
7421         * BufferView_pimpl.C:
7422         * kbmap.h:
7423         * kbmap.C:
7424         * kbsequence.h:
7425         * kbsequence.C:
7426         * lyxfunc.h:
7427         * lyxfunc.C:
7428         * text2.C: use key_state/mouse_state
7429
7430 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7431
7432         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7433         and LSubstring
7434
7435         * chset.C: change include order
7436         (loadFile): use boost regex and get rid of LRegex and LSubstring
7437
7438         * Makefile.am (BOOST_LIBS): new variable
7439         (lyx_LDADD): use it
7440
7441         * LaTeX.C: change include order.
7442         (scanAuxFile): use boost regex and get rid of LRegex and
7443         LSubstring
7444         (deplog): ditto
7445
7446 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7447
7448         * ColorHandler.h:
7449         * ColorHandler.C:
7450         * FontInfo.h:
7451         * FontInfo.C: moved to frontends/xforms/
7452
7453         * FontLoader.h:
7454         * FontLoader.C: moved into frontends for GUIIzation
7455
7456         * Makefile.am:
7457         * lyx_gui.C:
7458         * lyxfont.C:
7459         * lyxfunc.C: changes from above
7460
7461 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7462
7463         * LColor.C: remove spurious X include
7464
7465         * BufferView_pimpl.C:
7466         * Makefile.am:
7467         * font.h:
7468         * font.C:
7469         * text.C:
7470         * text2.C: move font metrics to frontends/
7471
7472 2002-05-24  Juergen Vigna  <jug@sad.it>
7473
7474         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7475         setting the undo_cursor.
7476
7477         * ParagraphParameters.h: include local includes first.
7478
7479 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7480
7481         * BufferView_pimpl.C:
7482         * BufferView_pimpl.h:
7483         * Makefile.am:
7484         * WorkArea.h:
7485         * WorkArea.C:
7486         * screen.C: move WorkArea into frontends/
7487
7488         * lyxscreen.h:
7489         * screen.C:
7490         * text.C:
7491         * BufferView.C:
7492         * BufferView2.C: move LyXScreen into frontends/
7493
7494         * lyxlookup.h:
7495         * lyxlookup.C:
7496         * lyx_gui.C: move lyxlookup into frontends/xforms/
7497
7498 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7499
7500         * BufferView2.C:
7501         * BufferView_pimpl.C:
7502         * FontLoader.C:
7503         * LyXView.h:
7504         * LyXView.C:
7505         * Makefile.am:
7506         * WorkArea.C:
7507         * XFormsView.h:
7508         * XFormsView.C:
7509         * buffer.C:
7510         * bufferlist.C:
7511         * bufferview_funcs.C:
7512         * converter.C:
7513         * importer.C:
7514         * lyx_cb.C:
7515         * lyx_gui.C:
7516         * lyx_main.C:
7517         * lyx_find.C:
7518         * lyxfunc.C:
7519         * lyxvc.C:
7520         * minibuffer.C:
7521         * text.C:
7522         * text2.C:
7523         * trans.C:
7524         * vc-backend.C: move LyX/XFormsView into frontends/
7525
7526 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7527
7528         * Makefile.am:
7529         * PainterBase.C:
7530         * PainterBase.h:
7531         * Painter.C:
7532         * Painter.h:
7533         * WorkArea.C:
7534         * WorkArea.h:
7535         * screen.C:
7536         * tabular.C:
7537         * text.C:
7538         * text2.C: move Painter to frontends/
7539
7540 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7541
7542         * buffer.C: comment out some some code that depend upon lyx_format
7543         < 220
7544
7545         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7546         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7547
7548         * buffer.h (NO_COMPABILITY): turn off compability
7549
7550         * ColorHandler.C: include scoped_array.hpp
7551
7552         * font.C: Use more specific smart_ptr header.
7553         * Painter.C: ditto
7554         * gettext.C: ditto
7555         * ShareContainer.h: ditto
7556         * lyx_main.h: ditto
7557         * kbmap.h: ditto
7558         * FontInfo.h: ditto
7559         * BufferView_pimpl.h: ditto
7560         * ColorHandler.h: ditto
7561
7562         * kbmap.C (defkey): change call to shared_ptr::reset
7563
7564 2002-05-21  Juergen Vigna  <jug@sad.it>
7565
7566         * buffer.C (insertErtContents): fix to insert ert asis if it is
7567         non empty. Skip it completely if it contains only whitespaces.
7568
7569 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7570
7571         * BufferView_pimpl.C:
7572         * BufferView2.C: clear selection on paste (bug 393)
7573
7574 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7575
7576         * DepTable.C: include ctime
7577
7578 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7579
7580         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7581
7582 2002-05-14  Juergen Vigna  <jug@sad.it>
7583
7584         * text.C (breakParagraph): fixed function to honor the keepempty
7585         layout in the right maner and also to permit the right breaking
7586         algorithm on empty or non empyt keepempty paragraphs.
7587
7588         * paragraph.C (breakParagraph): we have to check also if the par
7589         is really empty (!size()) for isempty otherwise we do the wrong
7590         paragraph break.
7591
7592 2002-05-10  Juergen Vigna  <jug@sad.it>
7593
7594         * buffer.[Ch] : The following are only changes to the ert
7595         compatibility read reading old LaTeX layout and font stuff and
7596         convert it to ERTInsets.
7597
7598         * buffer.h: added isErtInset().
7599
7600         * buffer.C (struct ErtComp): add a fromlayout bool to check
7601         if we're inside a LaTeX layout.
7602         (isErtInset): new helper function.
7603         (insertErtContents): look for other ert insets before this one
7604         and insert the contents there, so that we don't have subsequent
7605         ERT insets with nothing between them. This way we create only one
7606         inset with multiple paragraphs. Also check if we don't insert only
7607         spaces ' ' as they are ignored anyway afterwards in the .tex file
7608         so if we have only spaces we will ignore this latex part in the
7609         new file.
7610         (parseSingleLyXformat2Token \\layout): better compatibility when
7611         reading layout-latex stuff.
7612         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7613         language tag.
7614         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7615         stuff after reading the inset only get the information back from
7616         the stack.
7617
7618 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7619
7620         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7621
7622         * LaTeXFeatures.C (getBabelOptions): New method.
7623
7624 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7625
7626         * BufferView_pimpl.C (Dispatch): work around missing argument for
7627         'layout'
7628
7629 2002-05-08  Juergen Vigna  <jug@sad.it>
7630
7631         * text.C (leftMargin): handle paragraph leftindent.
7632
7633         * paragraph.C (writeFile): write the new \\leftindent tag.
7634         (validate): handle leftindent code.
7635         (TeXEnvironment): handle paragraphleftindent code again.
7636
7637         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7638
7639         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7640         for paragrap_extra indent code and new token \\leftindent.
7641         (latexParagraphs): handle the leftindent as environment.
7642
7643         * ParameterStruct.h: added leftindent support.
7644
7645         * ParagraphParameters.C (leftIndent): added support functions for
7646         the paragraph left indent.
7647
7648         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7649         more appropriate.
7650
7651 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7652
7653         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7654         inside insetERT.
7655
7656         * text.C (computeBidiTables): No bidi in insetERT.
7657
7658         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7659         in RTL documents.
7660
7661 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7662
7663         * version.C.in: pre 5
7664
7665 2002-05-02  José Matos  <jamatos@fep.up.pt>
7666         * buffer.C (makeDocBookFile): white space changes, add newline to
7667         command styles.
7668         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7669
7670         * tabular.C (docBook): fix typo.
7671
7672 2002-05-03  Juergen Vigna  <jug@sad.it>
7673
7674         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7675         change in LyXText as we can not be sure it was not freed.
7676         (drawOneRow): remove unused code.
7677
7678         * text.C (drawInset): redo the calculation of the need_break_row as
7679         it could have a row which was already freed.
7680         (draw): look at the return value of drawInset and return false if
7681         it also returned false.
7682         (paintRowText): look at the return value of draw and return false if
7683         it also returned false.
7684
7685         * lyxtext.h: added bool return type to drawInset() and draw() so that
7686         if we have a change in the row so that the rowbreak has to be redone
7687         we abort drawing as it will be called again.
7688
7689 2002-05-02  Juergen Vigna  <jug@sad.it>
7690
7691         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7692         a change in the maintext also if we're inside an inset.
7693         (Dispatch): set the cursor again after a break line and after the
7694         screen has been updated as it could be we're in a different row.
7695
7696         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7697         to set the cursor behind the pargraph with > size().
7698         (setCursor): check also for the same paragraph when checking where
7699         to put the cursor if we have a NFR inset.
7700
7701         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7702         parts of layout read further up as it still was in the wrong
7703         position.
7704
7705 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7706
7707         * screen.C (drawFromTo): change sine fullRebreak always return
7708         true.
7709
7710         * buffer.C (parseSingleLyXformat2Token): reindent some
7711
7712         * BufferView_pimpl.C (update): change since fullRebreak always
7713         return true.
7714         (Dispatch): git rid of the last hardcoded "Standard"s.
7715
7716 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7717
7718         * text2.[Ch] (fullRebreak): make it return void now that we always
7719         returned true.
7720
7721 2002-04-30  Juergen Vigna  <jug@sad.it>
7722
7723         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7724         ert compatibility check for "latex" layout.
7725
7726 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7727
7728         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7729         minipages: use col% instead of p%, and also use the current font.
7730         (makeLaTeXFile): Fix use babel condition.
7731         (parseSingleLyXformat2Token): Correct font when reading old floats.
7732
7733 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7734
7735         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7736         inserting list of floats.
7737
7738 2002-04-25  Herbert Voss  <voss@lyx.org>
7739
7740         * MenuBackend.C (expand): don't add the graphics extensions to the
7741         export menu
7742
7743 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7744
7745         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7746         non-existing layout, do not complain if it was the default layout
7747         of the original class (bug #342)
7748
7749 2002-04-24  Juergen Vigna  <jug@sad.it>
7750
7751         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7752         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7753
7754 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7755
7756         * buffer.C (getBibkeyList): If using \bibliography, return the
7757         option field with the reference itself. Enables us to provide natbib
7758         support when using \bibliography.
7759
7760 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7761
7762         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7763
7764         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7765         natbib is provided by the LaTeX class.
7766
7767 2002-04-23  Juergen Vigna  <jug@sad.it>
7768
7769         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7770         Wakeup functions.
7771
7772         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7773
7774 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7775
7776         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7777
7778         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7779         ensuremath around textordmasculine, textordfeminine and
7780         textdegree.
7781
7782 2002-04-19  Juergen Vigna  <jug@sad.it>
7783
7784         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7785         reinitializing the buffer otherwise row-dimensions may be wrong.
7786         (update): reset also the selection cursors if they do exits otherwise
7787         their x/y positions may be wrong.
7788
7789         * text2.C (cursorDown): don't enter the inset if we came from a row
7790         above and are one row over the inset.
7791
7792         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7793         really leaving an inset.
7794
7795 2002-04-18  Juergen Vigna  <jug@sad.it>
7796
7797         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7798         of the selected paragraph does not have the selected layout also if
7799         the last one had!
7800
7801         * text2.C (setLayout): fixed bug which did not change last selected
7802         paragraph.
7803
7804         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7805         changed the read and substituted \\end_float with \\end_inset!
7806
7807         * BufferView_pimpl.C (cursorPrevious):
7808         (cursorNext): fixed to make it work with rows heigher than the work
7809         area without moving the cursor only the draw of the row.
7810         (workAreaMotionNotify): fix jumping over high rows.
7811
7812 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7813
7814         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7815         Ressler.
7816
7817 2002-04-16  Juergen Vigna  <jug@sad.it>
7818
7819         * text2.C (setCursor): set also the irow().
7820         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7821         (cursorUp):
7822         (cursorDown): support for locking an inset if the x_fix value goes
7823         inside it. That way I can transverse insets too with cursor up/down.
7824
7825         * lyxrow.h: added irow helper function same as other (i) functions.
7826
7827         * BufferView_pimpl.C (cursorPrevious):
7828         (cursorNext): fixed for insets!
7829
7830 2002-04-15  Juergen Vigna  <jug@sad.it>
7831
7832         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7833         position otherwise it is wrong in some cases.
7834
7835         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7836         inside the inset before the call.
7837
7838 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7839
7840         * buffer.[Ch] (getBibkeyList): make it const.
7841
7842 2002-04-12  Juergen Vigna  <jug@sad.it>
7843
7844         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7845
7846         * text2.C (getCursorX): new helper function
7847         (setCursor): compute also ix_
7848         (setCursorFromCoordinates): set also ix.
7849
7850         * lyxcursor.h: added ix_ and helper functions.
7851
7852         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7853
7854         * buffer.C (insertStringAsLines): dont break paragraph if the this
7855         paragraph is inside an inset which does not permit it!
7856
7857         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7858         also with no chars on this paragraph.
7859         (paintRowText): only paint stuff if it's inside the workarea!
7860
7861         * paragraph.C (breakParagraph): honor keepempty flag and break the
7862         paragraph always below not above.
7863
7864         * BufferView2.C (unlockInset): update the paragraph layout on inset
7865         unlock as we changed paragraph in such a case.
7866
7867         * lyxfind.C (LyXFind): clear the former selection if not found!
7868
7869         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7870         again called in insertChar().
7871
7872         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7873         an inset which uses the whole row!
7874         (rightMargin): ditto.
7875         (insertChar): force a rebreak if we inserted an inset!
7876
7877 2002-03-28  Herbert Voss  <voss@lyx.org>
7878
7879         * lyxlength.[Ch]: add inBP() to get the right PS-point
7880         units (BigPoint). With inPixels we have rounding errors
7881
7882 2002-04-11  Juergen Vigna  <jug@sad.it>
7883
7884         * text2.C (setCursorFromCoordinates): set iy to the right value.
7885         (setCursor): add check if row->previous exists!
7886
7887         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7888         an old float_type as this was the case in the old code!
7889
7890         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7891
7892         * BufferView2.C (showLockedInsetCursor): use iy
7893         (fitLockedInsetCursor): ditto
7894
7895         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7896         locked insets as there we have the right value now.
7897
7898         * lyxcursor.C: added iy_ variable and iy functions to set to the
7899         baseline of cursor-y of the locked inset.
7900
7901         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7902         (setCursor): fixed for insets which need a full row.
7903
7904         * text.C (rowLastPrintable): don't ignore the last space when before
7905         an inset which needs a full row.
7906         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7907         as last character of a row when before a inset which needs a full row.
7908
7909 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7910
7911         * version.C.in: update date
7912
7913         * text2.C (fullRebreak): try to always return true and see what
7914         happens...
7915
7916 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7917
7918         * MenuBackend.C (expand): use Floating::listName
7919
7920         * FloatList.C (FloatList): add listName argument to the built-in
7921         floats
7922
7923         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7924         text associated with the float.
7925
7926 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7927
7928         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7929
7930 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7931
7932         * ShareContainer.h: add a couple of missing typenames.
7933
7934 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7935
7936         * lyxrc.C (getDescription): use _() correctly rather than N_().
7937
7938 2002-03-28  Herbert Voss  <voss@lyx.org>
7939
7940         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7941         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7942
7943 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7944
7945         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7946         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7947
7948 2002-03-29  Juergen Vigna  <jug@sad.it>
7949
7950         * lyxfunc.C (dispatch): add a missing fitCursor call.
7951
7952         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7953         it was scrolled by a cursor move, so return the bool status.
7954
7955         * BufferView.C (fitCursor): return the bool flag also to the outside
7956         world as this is needed.
7957
7958         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7959
7960         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7961         call the edit() as it is not needed (and wrong) IMO.
7962         (workAreaButtonPress): set the screen_first variable before evt.
7963         unlock the inset as this may change screen_first and then we have
7964         a wrong y position for the click!
7965
7966 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7967
7968         * MenuBackend.C (expand): another translation that I missed
7969
7970 2002-03-28  Juergen Vigna  <jug@sad.it>
7971
7972         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7973
7974         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7975
7976 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7977
7978         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7979
7980         * MenuBackend.C (expand): fix export/view/update when there is no
7981         document open.
7982
7983 2002-03-27  Herbert Voss  <voss@lyx.org>
7984
7985         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7986         and text%
7987
7988 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7989
7990         * bufferview_funcs.C (currentState): only show paragraph number
7991         for is DEVEL_VERSION is set.
7992
7993         * lyxfunc.C (dispatch): put warning in INFO channel
7994
7995         * MenuBackend.C (expand): translate the name of floats
7996
7997         * FloatList.C (FloatList): mark the float names for translation
7998
7999         * converter.C (convert): use LibScriptSearch
8000
8001 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8002
8003         * MenuBackend.C (defaults): fix default menu (we might as well get
8004         rid of it...)
8005
8006 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8007
8008         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8009         directory.
8010
8011 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8012
8013         * lyxvc.C: reorder includes.
8014
8015 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8016
8017         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8018           properly
8019
8020 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8021
8022         * CutAndPaste.C: change layouts earlier on paste
8023           to avoid crashing when calling getFont()
8024
8025 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8026
8027         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8028         irritating #error.
8029
8030 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8031
8032         * WorkArea.C: remove 'Pending' debug message.
8033
8034         * most files: ws cleanup
8035
8036         * buffer.[Ch]: ws changes
8037
8038         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8039
8040 2002-03-21  Juergen Vigna  <jug@sad.it>
8041
8042         * tabular.C (SetMultiColumn): collapse also the contents of the
8043         cells and set the last border right. Added a Buffer const * param.
8044
8045 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8046
8047         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8048         linking or not.
8049
8050 2002-03-19  Juergen Vigna  <jug@sad.it>
8051
8052         * text2.C (clearSelection): reset also xsel_cache.
8053
8054         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8055         where it needs to be called (John tells us to do so too :)
8056         (selectionLost): reset sel_cache.
8057
8058         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8059
8060 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8061
8062         * text2.C (setCursorIntern): put debuging code in INSETS channel
8063
8064 2002-03-19  André Pönitz <poenitz@gmx.net>
8065
8066         * lyxfunc.C: tiny whitespace change
8067
8068 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8069
8070         * ToolbarDefaults.C (init):
8071         * LyXAction.C (init):
8072         * commandtags.h:
8073         * BufferView_pimpl.C (Dispatch):
8074         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8075
8076 2002-03-19  Allan Rae  <rae@lyx.org>
8077
8078         * exporter.C (Export): removeAutoInsets before doing anything else.
8079         While I've just introduced a dependency on BufferView this really is
8080         the best place to clean the buffer otherwise you need to cleanup in
8081         a dozen places before calling export or cleanup in a dozen functions
8082         that export calls.
8083
8084         * converter.C (runLaTeX):
8085         (scanLog): Better handling of removeAutoInsets and screen updates.
8086
8087         * lyxfunc.C (dispatch): small whitespace changes
8088
8089 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8090
8091         * WorkArea.C (C_WorkAreaEvent): return a value.
8092         (event_cb): return 1 if we handled the event, 0 otherwise.
8093
8094         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8095
8096 2002-03-18  Juergen Vigna  <jug@sad.it>
8097
8098         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8099         (GetAdditionalWidth): ditto.
8100         (RightLine): ditto.
8101         (LeftLine): ditto.
8102
8103         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8104         inset if we're there actually (probably not used right now but this
8105         is the direction to go for unifying code).
8106         (paste): disable code to clear the selection.
8107
8108         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8109         inside an InsetText and move the check further up as it is in the
8110         wrong place.
8111
8112         * text2.C (pasteSelection): set a selection over the pasted text.
8113
8114 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8115
8116         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8117         and libgraphics to build on Cygwin.
8118
8119 2002-03-15  Juergen Vigna  <jug@sad.it>
8120
8121         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8122         inserting an Inset into the paragraph. I know this is not the best
8123         fix but we already use current_view in CutAndPaste so we will remove
8124         all of it's using at the same time.
8125
8126         * buffer.C (sgmlError): deactivated function till it is rewritten in
8127         the right mode, now it can create problems.
8128
8129         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8130         before accessing it.
8131
8132 2002-03-14  Juergen Vigna  <jug@sad.it>
8133
8134         * undo_funcs.C (textHandleUndo): do the right thing when updating
8135         the inset after the undo/redo.
8136
8137         * text2.C (setCursor): just some testcode for #44 not ready yet.
8138
8139         * undo_funcs.C (textHandleUndo): set the next() and previous()
8140         pointers of the paragraph to 0 before deleting otherwise we have
8141         problems with the Paragraph::[destructor].
8142
8143         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8144         on a paragraph insertion.
8145
8146 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8147
8148         * buffer.C (asciiParagraph): use += operator for char append to
8149         string.
8150
8151         * paragraph.C (getFontSettings): compare >= not just >
8152         (highestFontInRange): ditto
8153         (setFont): ditto
8154
8155 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8156
8157         * paragraph.C: change several algorithm to be more appripriate for
8158         the problem domain. This is lookip in FontList and in the InsetList.
8159
8160 2002-03-13  André Pönitz <poenitz@gmx.net>
8161
8162         * commandtags.h:
8163         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8164
8165 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8166
8167         * commandtags.h:
8168         * LyXAction.C:
8169         * lyxfunc.C:
8170         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8171
8172 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8173
8174         * Painter.C (display): anon helper function, adjust code for this
8175         change.
8176         (pixmap): remove function.
8177
8178         * Painter.h: remove private display variable.
8179
8180         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8181
8182 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8183
8184         * WorkArea.[Ch]: remove figinset_canvas cruft.
8185
8186 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8187
8188         * lyxtextclass.C (operator): add one item cache optimization.
8189
8190         * bufferlist.h: doxy changes
8191
8192         * bufferlist.C: ws changes
8193
8194         * DepTable.[Ch] (ext_exist): place const in the right spot.
8195
8196         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8197         call resizeInsets.
8198         (workAreaExpose): call resizeInsets when the with BufferView changes.
8199         (Dispatch): adjust for protectedBlank removal
8200         (specialChar): call updateInset if the insert went ok.
8201
8202         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8203         specialChar instead.
8204
8205         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8206
8207         * BufferView.h: doxy change
8208
8209         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8210
8211         * lyxtextclass.C (operator[]): remove non-const version
8212         (defaultLayout): remove non-const version
8213
8214 2002-03-12  Juergen Vigna  <jug@sad.it>
8215
8216         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8217         did resize the LyXText too.
8218
8219         * buffer.C (readLyXformat2): set layout information on newly allocated
8220         paragraphs.
8221
8222         * tabular.C (OldFormatRead): set layout information on the paragraph.
8223
8224 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8225
8226         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8227
8228 2002-03-11  Juergen Vigna  <jug@sad.it>
8229
8230         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8231         plainly wrong.
8232         (resizeCurrentBuffer): force also the insets to resize themselfes.
8233         (moveCursorUpdate): fixed up for InsetText.
8234
8235 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8236
8237         * commandtags.h:
8238         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8239         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8240         value of Dialogs::tooltipsEnabled().
8241         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8242
8243 2002-03-08  Juergen Vigna  <jug@sad.it>
8244
8245         * BufferView_pimpl.C (updateInset): update inset inside inset also
8246         if it isn't inside theLockingInset().
8247
8248 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8249
8250         * buffer.C (asciiParagraph): redo some of the word and line length
8251         handling.
8252         (getLists): look for Caption instead of caption.
8253
8254 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8255
8256         * buffer.C (Buffer): initialize niceFile to true
8257         (makeLaTeXFile):
8258         (makeLinuxDocFile):
8259         (makeDocBookFile): make sure niceFile is true on exit
8260
8261 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8262
8263         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8264
8265 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8266
8267         * LyXSendto.C: remove.
8268         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8269         * lyx_gui.C: remove now-redundant comment.
8270         * ColorHandler.h: remove forward declaration of class WorkArea.
8271         * lyxfunc.C: remove #include "WorkArea.h".
8272
8273 2002-03-07  Juergen Vigna  <jug@sad.it>
8274
8275         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8276         got moved away with the DEPM and also set the inset_owner always
8277         right which before could have been omitted.
8278
8279 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8280
8281         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8282         wanted layout is not found.
8283
8284 2002-03-07  Juergen Vigna  <jug@sad.it>
8285
8286         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8287
8288 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8289
8290         * paragraph.C (breakParagraph): use default layout not layout of
8291         prev paragraph.
8292         (Paragraph): clear ParagraphParameters.
8293
8294 2002-03-06  Juergen Vigna  <jug@sad.it>
8295
8296         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8297         otherwise it would not be a valid lenght. Fixed a special case in
8298         the minipage compatibility read where we end the document with a
8299         minipage.
8300
8301         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8302         was set as it could be 0 for InsetTexts first entry.
8303
8304 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8305
8306         * paragraph.C (writeFile): if layout is empty write out
8307         defaultLayoutName().
8308
8309         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8310         file without named layout we set layout to defaultLayoutName().
8311
8312 2002-03-06  Juergen Vigna  <jug@sad.it>
8313
8314         * CutAndPaste.C (copySelection): set layout for new paragraph.
8315
8316         * text.C (prepareToPrint): leave ERT inset left aligned
8317         (leftMargin): don't indent paragraphs inside ERT insets
8318
8319 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8320
8321         * paragraph.C (breakParagraph): dont call clear do the work manually
8322
8323         * paragraph.[Ch] (clear): remove function
8324
8325 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8326
8327         * paragraph.C (Paragraph): dont call clear, the work has already
8328         been done.
8329
8330         * lyxtextclass.C (operator): assert if n is empty
8331
8332         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8333         work manually instead.
8334
8335 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8336
8337         * BufferView_pimpl.C: protect selectionLost against text == 0
8338
8339 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8340
8341         * text.C (breakParagraph): fix a setting layout to '0' problem.
8342
8343 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8344
8345         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8346         final location of file, for the included files, and graphics.
8347
8348 2002-03-05  Juergen Vigna  <jug@sad.it>
8349
8350         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8351
8352 2002-03-04  Juergen Vigna  <jug@sad.it>
8353
8354         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8355
8356         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8357         last column of multicolumn cells.
8358         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8359
8360 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8361
8362         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8363         file if it doesn't go to a temporary file.
8364
8365         * buffer.C (sgmlOpenTag):
8366         (sgmlCloseTag):  remove extra newline insertion.
8367
8368 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8369
8370         * text.C (getRowNearY): comment out debug msg
8371
8372 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8373
8374         * text2.C: first -> first_y
8375
8376         * text.C (getRowNearY): add some attemts at a possible
8377         optimization, not working.
8378
8379         * tabular.[Ch]: add BufferParams to several function so that newly
8380         created paragraph can be initialized to he default layotu for the
8381         buffers textclass.
8382
8383         * tabular-old.C (ReadOld): add buf->params to call of Init
8384
8385         * screen.C: rename text->first to text->first_y
8386
8387         * paragraph.C (breakParagraph): always set layout in the broken
8388         paragraph
8389
8390         * lyxtextclass.C (Read): remove lowercase
8391         (hasLayout): ditto
8392         (operator): ditto
8393         (delete_layout): ditto
8394
8395         * lyxtext.h: rename first -> first_y
8396
8397         * lyxlayout.C (Read): remove lowercase
8398         (name): ditto
8399         (setName): ditto
8400         (obsoleted_by): ditto
8401
8402         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8403
8404         * buffer.C (insertErtContents): add params are to InsetERT
8405         (parseSingleLyXformat2Token): add code to check if a paragraphs
8406         layout really exist.
8407         (parseSingleLyXformat2Token): add params to several inset
8408         constructors
8409         (asciiParagraph): remove lowercase, do the layout comparisons with
8410         no_case
8411
8412         * BufferView_pimpl.C (cursorNext): first -> first_y
8413         (resizeCurrentBuffer): first -> first_y
8414         (updateScrollbar): first -> first_y
8415         (scrollCB): first -> first_y
8416         (workAreaMotionNotify): first -> first_y
8417         (workAreaButtonPress): first -> first_y
8418         (checkInsetHit): first -> first_y
8419         (cursorPrevious): first -> first_y
8420         (cursorNext): first -> first_y
8421         (Dispatch): add buffer_->params to severl inset contructors
8422
8423 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8424
8425         * lyxlayout.C (Read): remove some debug info that I forgot.
8426
8427         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8428         clean up the code slightly.
8429         (makeLinuxDocFile): ditto
8430         (makeDocBookFile): ditto
8431
8432         * text2.C: layout as string
8433
8434         * text.C: layout as string
8435
8436         * paragraph_pimpl.C: layout as string
8437
8438         * paragraph.[Ch]: layout as string
8439
8440         * lyxtextclasslist.[Ch]: layout as string
8441
8442         * lyxtextclass.[Ch]: layout as string
8443
8444         * lyxtext.h: layout as string
8445
8446         * lyxlayout.[Ch]: layout as string
8447
8448         * lyx_cb.C: layout as string
8449
8450         * bufferview_funcs.C: layout as string
8451
8452         * bufferparams.C: layout as string
8453
8454         * buffer.C: layout as string
8455
8456         * LyXView.[Ch]: layout as string
8457
8458         * LaTeXFeatures.[Ch]: layout as string
8459
8460         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8461
8462         * BufferView_pimpl.C: change current_layout to string, remove
8463         lyx::layout_type.
8464         (Dispatch):
8465         (smartQuote):
8466         (insertInset):
8467         (workAreaButtonRelease): layout as string
8468
8469         * BufferView2.C (unlockInset): adjust
8470
8471         * vspace.C (asLatexCommand): use an explict temp variable.
8472
8473 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8474
8475         * Makefile.am: use FRONTEND_*
8476
8477 2002-03-01  Juergen Vigna  <jug@sad.it>
8478
8479         * tabular.C (SetWidthOfMulticolCell): changed to something better
8480         I hope but still work in progress.
8481         (recalculateMulticolumnsOfColumn): renamed function from
8482         recalculateMulticolCells as it is more appropriate now.
8483         (SetWidthOfCell): calculate multicols better.
8484
8485 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8486
8487         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8488
8489         * lyxfunc.C (processKeySym): print sequence also if it is
8490         `deleted' (complete)
8491
8492         * kbsequence.C (print): print sequence even if it is deleted
8493         (complete would be a better word, actually).
8494
8495         * lyxfunc.C (dispatch): print complete options after a prefix key
8496
8497         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8498
8499 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8500
8501         * text2.C (setCharFont): eliminate setCharFont code duplication.
8502
8503 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8504
8505         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8506         LFUN_TABULAR_FEATURE (bug #177)
8507
8508 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8509
8510         * Makefile.am: remove figure.h
8511
8512 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8513
8514         * Bufferview_pimpl.C:
8515         * CutAndPasteC:
8516         * LaTeX.C:
8517         * LyXSendto.C:
8518         * buffer.C:
8519         * bufferlist.C:
8520         * converter.C:
8521         * language.C:
8522         * lyxfunc.C:
8523         * lyxvc.C:
8524         * paragraph.C:
8525         * text.C:
8526         * text2.C: remove #include "lyx_gui_misc.h".
8527
8528         * LaTeX.C: added #include <cstdio>
8529
8530 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8531
8532         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8533         that the paragraph following this one can have.
8534
8535         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8536
8537         * vspace.C (asLatexCommand): fix bogus gcc warning
8538
8539         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8540
8541 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8542
8543         * text2.C (setLayout): get rid of redundant code
8544
8545 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8546
8547         * text2.C (incDepth): make sure depth cannot be increased beyond
8548         reasonable values.
8549
8550 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8551
8552         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8553         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8554
8555         * PainterBase.h (image):
8556         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8557         a LyXImage const *.
8558
8559 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8560
8561         * BufferView.C:
8562         * BufferView.h:
8563         * BufferView_pimpl.C:
8564         * BufferView_pimpl.h:
8565         * LaTeXFeatures.C:
8566         * LyXAction.C:
8567         * LyXView.C:
8568         * Makefile.am:
8569         * UpdateList.h:
8570         * UpdateList.C:
8571         * buffer.C:
8572         * figure.h:
8573         * figureForm.C:
8574         * figureForm.h:
8575         * figure_form.C:
8576         * figure_form.h:
8577         * lyx_cb.C:
8578         * lyx_gui.C:
8579         * lyx_gui_misc.C:
8580         * lyxfunc.C:
8581         * sp_base.h:
8582         * sp_ispell.h:
8583         * sp_pspell.h:
8584         * sp_spell.C: remove fig inset, and the crap house of
8585           cards that follows it
8586
8587 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8588
8589         * Makefile.am:
8590         * lyxserver.C:
8591         * os2_defines.h:
8592         * os2_errortable.h:
8593         * nt_defines.h: move .h into support/
8594
8595         * vms_defines.h: remove
8596
8597         * WorkArea.C: add space in debug output
8598
8599         * text2.C:
8600         * paragraph.C:
8601         * buffer.C: add WITH_WARNINGS
8602
8603         * vc-backend.h:
8604         * vc-backend.C:
8605         * bufferlist.C: s/retrive/retrieve/, add docs
8606
8607         * vspace.h:
8608         * vspace.C:
8609         * kbmap.h:
8610         * lyxlength.h:
8611         * lyxgluelength.h:
8612         * length_common.h:
8613         * chset.h:
8614         * chset.C: add docs
8615
8616         * lyxgui.C: add ID to X error handler
8617
8618         * lyxtestclass.c: fix typo
8619
8620 2002-02-26  Juergen Vigna  <jug@sad.it>
8621
8622         * tabular_funcs.C (write_attribute): changed so that some default
8623         attributes are not written at all.
8624         (getTokenValue): set default values before trying to read the
8625         value so we have the return value always set as default if we don't
8626         find the token we search for.
8627
8628         * tabular.C (Write): write bools as bools not as strings!
8629
8630 2002-02-22  Juergen Vigna  <jug@sad.it>
8631
8632         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8633         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8634
8635         * text.C (leftMargin): don't add an indent for paragraphs inside
8636         tabular cells (fix #208).
8637
8638 2002-02-21  José Matos  <jamatos@fep.up.pt>
8639
8640         * tabular.C (docBook): fixed support for long tables.
8641
8642 2002-02-20  Juergen Vigna  <jug@sad.it>
8643
8644         * text2.C (getFont): get the drawing font of the Inset if this
8645         paragraph is inside an inset (only important for InsetERT for now).
8646
8647         * buffer.C (insertErtContents): use new lanugage params in ERT
8648         constructor.
8649
8650         * CutAndPaste.C: commenting out seemingly uneeded code.
8651
8652 2002-02-19  Allan Rae  <rae@lyx.org>
8653
8654         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8655         Iterators might be simple to use but they also get invalidated.
8656         (removeAutoInsets): renamed saved cursor tracking variables and added
8657         some comments to clarify what everything does.
8658
8659 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8660
8661         * Chktex.C:
8662         * LaTeX.C:
8663         * LyXSendto.C:
8664         * converter.C:
8665         * lyx_cb.C:
8666         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8667         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8668
8669         * lyxfunc.C:
8670         * vc-backend.h: remove #include "support/syscall.h"
8671
8672         * LaTeX.C:
8673         * LyXSendto.C:
8674         * converter.C: rearrange #includes in Lars' approved fashion.
8675
8676         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8677         forward declare class Timeout in the header file.
8678
8679         * XFormsView.C: changes due to the above.
8680
8681         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8682         similar to LyXView.
8683
8684         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8685         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8686
8687 2002-02-18  José Matos  <jamatos@fep.up.pt>
8688
8689         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8690         insets contents.
8691
8692 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8693
8694         * a lot of small ws changes
8695         * add a lot of using std::XXX
8696         * use std construcs some places where approp.
8697         * use some exisint stuff from lyxfunctional where approp.
8698         * Make file changes to use partial linking (lets test this now...)
8699
8700 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8701
8702         * Chktex.C:
8703         * buffer.C:
8704         remove #include "support/syscontr.h" as it's redundant. Always has been.
8705
8706         * Chktex.C:
8707         * LaTeX.C:
8708         * LyXSendto.C:
8709         * converter.C:
8710         * lyx_cb.C:
8711         * vc-backend.C:
8712         change Systemcalls::System to Systemcalls::Wait and
8713         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8714         No change of functionality, just reflects the stripped down Systemcalls
8715         class.
8716
8717 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8718
8719         * debug.[Ch]: add a GRAPHICS type to the enum.
8720
8721 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8722
8723         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8724
8725         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8726         there is an inset.
8727
8728 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8729
8730         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8731         match the changes below.
8732
8733         * text2.C (toggleInset): if there is not editable inset at cursor
8734         position, try to see if cursor is _inside_ a collapsable inset
8735         and close it.
8736
8737 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8738
8739         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8740         document menu has a nice checkbox
8741
8742 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8743
8744         * lyxlength.C (asLatexString): change PW to output as percent of
8745         \textwidth.
8746
8747         * lengthcommon.C: change '%' to 't%'
8748
8749         * lyxfunc.C (dispatch): a few comments from Martin
8750
8751 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8752
8753         * WorkArea.h:
8754         * WorkArea.C:
8755         * BufferView_pimpl.h:
8756         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8757           the X selection.
8758
8759 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8760
8761         * vspace.C (inPixels): fix compiler warning
8762
8763 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8764
8765         * lyxfunc.C (getStatus): fix status message for disabled commands.
8766
8767 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8768
8769         * BufferView_pimpl.C: fix crash on close buffer
8770         during selection (#227)
8771
8772 2002-01-27  Herbert Voss  <voss@lyx.org>
8773
8774         * buffer.C: link old Figure to new graphic inset
8775
8776 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8777
8778         * FontLoader.C (getFontinfo): Change the latex font names in order
8779         to match the names of type1inst.
8780
8781 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8782
8783         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8784
8785         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8786         (extchanged): ditto
8787         (ext_exist): ditto
8788         (remove_files_with_extension): ditto
8789         (remove_file): ditto
8790         (write): ditto
8791
8792         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8793         document is smaller than the work area height. Do not initialize
8794         static variables to 0.
8795
8796 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8797
8798         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8799
8800         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8801         LFUN_LAYOUT_PARAGRAPHS.
8802
8803         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8804         tabular. It is possible to provide a possible cell, which will
8805         typically be the actcell from the corresponding insettabular
8806
8807         * lyxfunc.C (getStatus): small cleanup; disable
8808         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8809         true
8810
8811 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8812
8813         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8814
8815         * paragraph.C (startTeXParParams):
8816         (endTeXParParams): new methods. The LaTeX code to
8817         start/end paragraph formatting
8818         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8819         empty (fixes bug #200)
8820
8821         * vspace.C (inPixels): adapt to the change below
8822         (inPixels): [later] more cleanups (remove unused variables)
8823
8824         * lyxlength.C (inPixels): change to use a width and a height as
8825         parameter.
8826
8827 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8828
8829         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8830         Replaced with \paperwidth
8831
8832         * DepTable.C (insert): add std:: qualifier
8833
8834 2002-01-18  Allan Rae  <rae@lyx.org>
8835
8836         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8837         updated also?
8838
8839         * text.C (drawInset): Turned out I didn't know enough about how
8840         rebreaking worked.  This fixes most of the redraw problems.  I see
8841         an occasional cursor trail when a line is broken now and the cursor
8842         placement can seem out by a few pixels also after a rebreak.
8843
8844 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8845
8846         * buffer.C (parseSingleLyXformat2Token): update because minipage
8847         width is now a LyXLength
8848
8849         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8850
8851         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8852         math insets
8853
8854 2002-01-17  Juergen Vigna  <jug@sad.it>
8855
8856         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8857
8858         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8859         is set correctly and the inset is updated correctly.
8860
8861 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8862
8863         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8864         the beginning of the loop.
8865
8866 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8867
8868         * lyxrc.C: improve help for use_scalable_fonts
8869
8870 2002-01-17  Allan Rae  <rae@lyx.org>
8871
8872         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8873
8874 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8875
8876         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8877         make sure to set their inset_owner to the right value (bug #171)
8878
8879 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8880
8881         * DepTable.h
8882         * DepTable.C: Implement mtime checking to reduce time spent doing
8883         CRCs.
8884
8885 2002-01-16  Juergen Vigna  <jug@sad.it>
8886
8887         * tabular.C (GetAdditionalHeight): one of error fixed.
8888
8889         * lyxrc.C (output): small fix in writing use_pspell.
8890
8891 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8892
8893         * sp_base.h: #include LString.h
8894
8895 2002-01-16  Allan Rae  <rae@lyx.org>
8896
8897         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8898         Can someone check this please?
8899
8900         * text.C (drawInset): It was possible that p.row would be removed by
8901         breakAgainOneRow upsetting a few other settings.  There may be another
8902         small tweak possible by setting need_break_row = 0 when p.row has been
8903         removed but I don't know enough about the logic here.
8904
8905 2002-01-15  Allan Rae  <rae@lyx.org>
8906
8907         * text.C (insertChar): removed conditional truism.
8908
8909         * BufferView2.C (removeAutoInsets): More tweaks.
8910         cur_par_prev could be a stray pointer.  Check for trailing empty line
8911         in case last line was cur_par and only had an error inset on it.
8912
8913 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8914
8915         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8916         absolute
8917
8918         * vc-backend.C (most methods):
8919         * exporter.C (Export):
8920         * converter.C (convert):
8921         (runLaTeX):
8922         * LyXSendto.C (SendtoApplyCB):
8923         * lyxfunc.C (dispatch):
8924         (menuNew):
8925         (open):
8926         (doImport):
8927         * lyx_cb.C (AutoSave):
8928         (InsertAsciiFile):
8929         * BufferView_pimpl.C (MenuInsertLyXFile):
8930         * buffer.C (runChktex): use Buffer::filePath().
8931
8932         * buffer.h: rename filename to filename_; rename filepath to
8933         filepath_ and make it private
8934         (filePath): new method
8935
8936         * buffer.C (writeFile): use fileName()
8937         (getLatexName):
8938
8939         * lyx_main.C (init): fix starting  of LyX when the binary is a
8940         link from so,ewhere else.
8941
8942         * minibuffer.C: include <cctype> for isprint
8943
8944 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8945
8946         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8947         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8948         name clash with InsetCollapsable's width function.
8949
8950 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8951
8952         * lastfiles.C: include <iterator>
8953
8954 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8955
8956         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8957         std::count.
8958
8959         * buffer.C (makeLaTeXFile): ditto.
8960         Also make loop operation more transparent.
8961
8962 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8963
8964         * ToolbarDefaults.C: remove trailing comma closing namespace.
8965
8966         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8967
8968         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8969         as in WorkArea.
8970
8971         * trans.C (Load): comment out unused variable, allowed.
8972
8973 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8974
8975         * minibuffer.[Ch] (append_char): new method to recieve input from the
8976         drop-down completion browser. If a key was pressed, then recieve this
8977         char and append it to the existing string.
8978         (peek_event): modify the positioning data passed to the completion
8979         browser so that it can be placed above the minibuffer rather than below.
8980 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8981
8982         * LyXAction.C (init): alloe error-next for readonly documents.
8983
8984         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8985         count.
8986
8987 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8988
8989         * bufferlist.C (readFile): create the buffer _after_ checking that
8990         the file exists.
8991
8992         * lyxfunc.C (verboseDispatch): fix handling of arguments
8993
8994         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8995
8996         * lyxrc.C: use string::erase() instead of initializing to "".
8997
8998
8999 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9000
9001         * BufferView_pimpl.h:
9002         * BufferView_pimpl.C:
9003         * WorkArea.h:
9004         * WorkArea.C:
9005         * text2.C: tell X when we have made a selection for copying
9006
9007 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9008
9009         * BufferView_pimpl.C (MenuInsertLyXFile):
9010         * lyxfunc.C (menuNew):
9011         (open):
9012         (doImport): add shortcuts to directory buttons
9013
9014         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9015         open a float)
9016
9017         * lyxfunc.C (setStatusMessage):
9018         (getStatusMessage): new methods
9019         (getStatus):use setStatusMessage instead of setErrorMessage
9020         (dispatch): when function is disabled, set error message here
9021         [instead of in getStatus previously]
9022
9023         * BufferView_pimpl.C (workAreaButtonRelease): update
9024         toolbar/menubar here too.
9025
9026 2002-01-13  Allan Rae  <rae@lyx.org>
9027
9028         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9029         Now seems indestructible.  Remaining task is to audit all other
9030         code affected by deleteEmptyParagraphMechanism.  One small quirk
9031         left is that an empty document with an error in the preamble can
9032         be made to report an error but no error box appears.  I don't know
9033         where it goes.
9034         (removeAutoInsets): Improved comments.
9035
9036 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9037
9038         * Thesaurus.h:
9039         * Thesaurus.C: update for Aiksaurus 0.14
9040
9041 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9042
9043         * text2.C (firstParagraph): removed member function, all uses
9044         replaces with ownerParagraph
9045         (redoParagraphs): here
9046         (updateInset): here
9047         (toggleAppendix): here
9048         * BufferView2.C (insertErrors): here
9049         (setCursorFromRow): here
9050
9051 2002-01-13  Allan Rae  <rae@lyx.org>
9052
9053         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9054         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9055         There is still a way to segfault this although you may have to do this
9056         multiple times: Have an InsetERT with an unknown command in it.
9057         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9058         <down-arrow>, <Enter> again, View->DVI, BANG!
9059
9060         * text2.C (setCursor):
9061         (deleteEmptyParagraphMechanism):
9062         * lyxtext.h (setCursor):
9063         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9064         Making use of the return value may help fix other bugs.
9065
9066 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9067
9068         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9069
9070         * LyXView.C (updateMenubar): call MenuBar::update here
9071         (updateToolbar): but not here
9072         (showState): do not update toolbar/menubar
9073
9074         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9075         should need to care about that.
9076
9077         * lyxfunc.C (verboseDispatch): simplify a bit
9078         (getStatus): have a version which takes a pseudoaction, and
9079         another which requires a (kb_action,string).
9080
9081         * LyXAction.C (retrieveActionArg): make it work also when action
9082         is not a pseudo-action.
9083         (getActionName): simplify a bit
9084         (helpText):
9085
9086 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9087
9088         * lyxfunc.C (verboseDispatch): new families of methods with
9089         several ways to specify a command and a bool to indicate whether
9090         the command name and shortcut should be displayed in minibuffer
9091         (eventually, we could extend that to a finer bitmask like
9092         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9093         (dispatch): the pristine dispatch command which just, well,
9094         dispatchs! Note it still sets its result to minibuffer; I'm not
9095         sure we want that.
9096
9097         * lyxfunc.h: remove setHintMessage
9098
9099         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9100
9101 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9102
9103         * BufferView_pimpl.C (specialChar): delete new inset if we have
9104         not been able to insert it.
9105
9106         * kbmap.C: revert to using int instead of kb_action, since all we
9107         are dealing with is pseudo-actions.
9108
9109         * LyXAction.C (searchActionArg): change to return int instead of
9110         kb_action, since the result is a pseudoaction.
9111
9112 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9113
9114         * buffer.C (insertErtContents): Fix (partially) the font bug.
9115
9116 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9117
9118         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9119         as the other one is broken on my machine!
9120
9121 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9122
9123         * commandtags.h:
9124         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9125
9126 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9127
9128         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9129         reflect their actual use. Provide compatibility code for older lyxrc
9130         files.
9131
9132         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9133         FL_NORMAL_STYLE.
9134         change names of popup font variables in line with the changes to lyxrc.C
9135
9136 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9137
9138         * buffer.C (asciiParagraph): avoid outputing a word twice after
9139         an inset.
9140
9141         * lyxrc.C (getDescription): document that document_path and
9142         template_path can be empty.
9143
9144 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9145
9146         * LaTeXFeatures.C (getMacros):
9147         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9148
9149         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9150
9151         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9152         getPackages.
9153         (getPackages): rename feature "floats" to "float". Use an array to
9154         iterate over 'simple' features (i.e. just a \usepackage). Add
9155         handling of "amsmath" (renamed from "amsstyle").
9156
9157 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9158
9159         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9160         features list.
9161
9162 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9163
9164         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9165         FuncStaus::FuncStatus & FuncStaus::some_method().
9166
9167 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9168
9169         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9170         of the func_satus stuff. Edited and massaged in various ways by
9171         JMarc.
9172
9173         * lyxfunc.C (getStatus): use FuncStatus
9174
9175 2002-01-08  Juergen Vigna  <jug@sad.it>
9176
9177         * text.C (nextBreakPoint): use function Inset::isChar().
9178
9179         * paragraph.C (TeXOnePar): use function
9180         Inset::forceDefaultParagraphs.
9181
9182         * buffer.C (latexParagraphs): use function
9183         Inset::forceDefaultParagraphs.
9184
9185 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9186
9187         * lyx_gui.C (init): set the style of the menu popups to
9188         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9189
9190 2002-01-07  Juergen Vigna  <jug@sad.it>
9191
9192         * text.C (setHeightOfRow): small fix
9193         (prepareToPrint): don't look at alignment if we don't have the place
9194         for doing it.
9195
9196 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9197
9198         * box.C: New file. Move the Box methods and functions out of box.h,
9199         following Lars' suggestion.
9200
9201 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9202
9203         * box.h: #include "support/LOstream.h", needed for inlined function.
9204
9205         * lyxtextclass.C:
9206         * lyxtextclasslist.C: added some using std declarations.
9207
9208 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9209
9210         * box.h: make signed dimensions to allow insets wider than
9211           the screen (bug #162)
9212
9213         * BufferView_pimpl.C: add some insetHit debug
9214
9215 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9216
9217         * vc-backend.C: add FIXME
9218
9219 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9220
9221         * lyxfunc.C (getStatus): enable code for showing math font status
9222         in toolbar/menu.
9223
9224 2002-01-07  Juergen Vigna  <jug@sad.it>
9225
9226         * text.C (nextBreakPoint): removed debug output not needed anymore.
9227
9228 2002-01-06  Juergen Vigna  <jug@sad.it>
9229
9230         * text.C (nextBreakPoint): fixed up this function we had this bug
9231         since ever but now hopefully we break row better.
9232         (insertChar): we have to check if an inset is the next char as it
9233         could now happen that a large inset is causing a break.
9234
9235 2002-01-05  Juergen Vigna  <jug@sad.it>
9236
9237         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9238         if it doesn't like to be drawed.
9239
9240 2002-01-04  Juergen Vigna  <jug@sad.it>
9241
9242         * BufferView2.C (lockInset): forgot to set a cursor.
9243
9244         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9245
9246 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9247
9248         * FormMathsPanel.C:
9249         * FormMathsPanel.h
9250         * MathsSymbols.C:
9251         * form_maths_panel.C:
9252         * form_maths_panel.h:
9253         * form_maths_panel.fd: implemented sub- and super- buttons in math
9254         panel.
9255
9256         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9257         (or ^ space) to be used as in TeX (req'd by André).
9258
9259         * lyxfunc.C: Allow ^ and _ again to be used both as
9260         super/subscript (mathed) and as themselves (in text).
9261
9262 2002-01-03  Allan Rae  <rae@lyx.org>
9263
9264         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9265         "LyX" or the filename of the current buffer if it has one.  This is a
9266         modified form of John Levon's patch.
9267
9268         * XFormsView.C (setWindowTitle): also set icon title.
9269
9270         * LyXView.h (setWindowTitle): signature changed.
9271         * XFormsView.h (setWindowTitle): ditto.
9272
9273 2002-01-02  Juergen Vigna  <jug@sad.it>
9274
9275         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9276
9277 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9278
9279         * screen.C (topCursorVisible): introduce a temp var for
9280         text->cursor.row(), handle the case where this row is null. (kindo
9281         hachish)
9282
9283         * text2.C (setCursor): add a couple of asserts.
9284
9285         * paragraph.h (inset_iterator): add -> operator
9286
9287         * paragraph.[Ch] (autoDeleteInsets): remove member function
9288
9289         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9290         cursor pos correctly and handle inset deletion by itself.
9291         (insertErrors): move iterator declaration out of for expression
9292
9293         * lyxtextclass.C: add <algorithm>
9294
9295         * Makefile.am: added the new files to sources, removed layout.C
9296
9297         * layout.C: removed file
9298
9299         * layout.h: remove LYX_DUMMY_LAYOUT
9300
9301         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9302         layout.
9303
9304         * lyxlayout.[Ch]:
9305         * lyxtextclass.[Ch]:
9306         * lyxtextclasslist.[Ch]: new files
9307
9308         * include order changes to a lot of files, also changes because of
9309         the six new files.
9310
9311 2001-12-27  Juergen Vigna  <jug@sad.it>
9312
9313         * buffer.C (asciiParagraph): more fixes.
9314
9315         * tabular.C (ascii): make ascii export support export of only the
9316         data separated by a column-delimiter.
9317         (ascii): better support for ascii export.
9318
9319         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9320
9321 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9322
9323         * tabular_funcs.C: use a "using std::getline" instead of the
9324         previous fix from Angus (necessary for cxx + lyxstring)
9325
9326 2001-12-24  Juergen Vigna  <jug@sad.it>
9327
9328         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9329
9330         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9331         problems. First check a minipage also if we have some ert-contents
9332         (not only on par->size(), second set the right depth of the paragraph
9333         on the relink to the root-paragraph-list!
9334
9335         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9336         which then did not anymore update the main paragraphs on undo/redo!
9337
9338 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9339
9340         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9341         code. Support all font-changing funcs (even those which are not in
9342         menu currently). Support for reporting font settings in
9343         mathed (disabled until Andre provides a function on mathed's side).
9344
9345         * func_status.h (toggle): small helper function to set toggle
9346         state on a flag.
9347
9348 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9349
9350         * tabular_funcs.C: getline -> std::getline
9351
9352 2001-12-21  Juergen Vigna  <jug@sad.it>
9353
9354         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9355         accessed and could be 0 (I couldn't generate this but it seems
9356         Michael could!).
9357
9358 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9359
9360         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9361         * tabular_funcs.h: here and include iosfwd
9362
9363 2001-12-20  Juergen Vigna  <jug@sad.it>
9364
9365         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9366         inside inset but undo_par was.
9367
9368 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9369
9370         * Thesaurus.C: always include <config.h> in sources.
9371
9372         * Painter.h:
9373         * lyxlookup.h:
9374         * box.h: do not include <config.h> in header files
9375
9376         * text.C (paintLastRow): remove unused variable
9377
9378         * text.C (transformChar):
9379         (insertChar):
9380         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9381
9382         * Painter.C (text):
9383         * font.C (width): rewrite to use uppercase() instead of
9384         islower/toupper.
9385
9386         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9387
9388 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9389
9390         * lyxfind.C: clean up of find failure position change
9391
9392 2001-12-20  Juergen Vigna  <jug@sad.it>
9393
9394         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9395
9396         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9397         (TeXRow): added to LaTeX a single tabular row.
9398         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9399         (Latex): simplified and finally good LT-h/f support.
9400         (various_functions): just small adaptions for LT-h/f support.
9401
9402         * tabular_funcs.[hC]: added and moved here all not classfunctions
9403         of LyXTabular.
9404
9405 2001-12-19  Juergen Vigna  <jug@sad.it>
9406
9407         * tabular.[Ch]: better support for longtabular options (not finished
9408         yet!)
9409
9410 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9411
9412         * text.C (paintLastRow): use the label font instead of the font of
9413         the last character to compute the size of *_BOX. This makes more
9414         sense and avoids a crash with empty paragraphs.
9415         Use Painter::rectangle to draw EMPTY_BOX.
9416
9417 2001-12-19  Juergen Vigna  <jug@sad.it>
9418
9419         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9420         the paragraphs if the replaced paragraph is not the first one!
9421         Tried to delete not used paragraphs but does not work yet so for
9422         now it's inside #ifdef's and by default off!
9423
9424 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9425
9426         * MenuBackend.C: include "lyx_main.h" instead of declaring
9427         lastfiles (actually was declared as LastFiles* instead of a
9428         scoped_ptr).
9429
9430 2001-12-17  Juergen Vigna  <jug@sad.it>
9431
9432         * tabular.C (AppendColumn): applied John's fix
9433
9434 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9435
9436         * BufferView.h:
9437         * BufferView.C:
9438         * BufferView_pimpl.h:
9439         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9440
9441         * Makefile.am:
9442         * box.h: new start of class for above
9443
9444         * lyxfunc.C: ignore space-only minibuffer dispatches.
9445           Show the command name when it doesn't exist
9446
9447         * minibuffer.C: don't add empty lines to the history
9448
9449         * minibuffer.C: add a space on dropdown completion
9450
9451 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9452
9453         * text.C: fix line above/below drawing in insets
9454
9455 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9456
9457         * lyxlength.C (LyXLength): Initialize private variables.
9458
9459 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9460
9461         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9462         when inserting error insets.
9463
9464 2001-12-13  Juergen Vigna  <jug@sad.it>
9465
9466         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9467         actually sometimes the before-paragraph.
9468         (setUndo): don't clear the redostack if we're not actually undoing!
9469
9470 2001-12-06  Juergen Vigna  <jug@sad.it>
9471
9472         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9473         and fixed redoing of main paragraph, so we can use it now ;)
9474
9475         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9476
9477 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9478
9479         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9480         Juergen's request
9481
9482 2001-12-13  André Pönitz <poenitz@gmx.net>
9483
9484         * undostack.[Ch]:
9485         * undo_func.C: minor cleanup
9486
9487 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9488
9489         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9490         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9491         font in urw-fonts package which is marked as -urw-fontspecific and
9492         does not work (incidentally, changing the encoding in the
9493         fonts.dir of this package to -adobe-fontspecific fixes the
9494         problem).
9495
9496         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9497         is a crash when undoing first paragraph (Juergen, please take a
9498         look). THis does not mean the undo fix is wrong, just that it
9499         uncovers problems.
9500
9501         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9502         the (Paragraph*) version when needed instead of duplicating the
9503         code.
9504
9505         * text.C (workWidth): use Inset::parOwner to find out where the
9506         inset has been inserted. This is a huge performance gain for large
9507         documents with lots of insets. If Inset::parOwner is not set, fall
9508         back on the brute force method
9509
9510         * paragraph_pimpl.C (insertInset):
9511         * paragraph.C (Paragraph):
9512         (cutIntoMinibuffer): set parOwner of insets when
9513         inserting/removing them
9514
9515         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9516
9517 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9518
9519         * commandtags.h:
9520         * LyXAction.C:
9521         * lyx_main.C:
9522         * lyxfunc.C:
9523         * mathed/formulabase.C:
9524         * mathed/math_cursor.[Ch]:
9525         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9526
9527
9528 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9529
9530         * lyxlength.[Ch] (operator!=): new function
9531
9532 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9533
9534         * text.C (workWidth): use Inset::parOwner to find out where the
9535         inset has been inserted. This is a huge performance gain for large
9536         documents with lots of insets. If Inset::parOwner is not set, fall
9537         back on the brute force method
9538
9539         * paragraph_pimpl.C (insertInset):
9540         * paragraph.C (Paragraph):
9541         (cutIntoMinibuffer): set parOwner of insets when
9542         inserting/removing them
9543
9544         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9545
9546 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9547
9548         * tabular-old.C (getTokenValue):
9549         * tabular.C (getTokenValue):
9550         (write_attribute): new versions for LyXLength
9551         (everywhere): adjust the use of widths
9552
9553         * tabular.h: change the type of widths from string to LyXLength
9554
9555 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9556
9557         * paragraph.C: fixed missing line number count when exporting
9558         Environments to LaTeX file
9559
9560         * buffer.C: added informational message for checking line numbers.
9561
9562 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9563
9564         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9565         paragraph, do the 'double space' part, but not the 'empty
9566         paragraph' one.
9567
9568         * text.C (workWidth): small optimization
9569         (getLengthMarkerHeight): use minimal size for negative lengths.
9570
9571 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9572
9573         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9574
9575         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9576
9577 2001-12-11  André Pönitz <poenitz@gmx.net>
9578
9579         * FontLoader.C:
9580         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9581
9582 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9583
9584         * text2.C: keep selection on a setFont()
9585
9586 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9587
9588         * lyx_cb.C: another bv->text misuse, from insert label
9589
9590 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9591
9592         * kbsequence.h:
9593         * kbsequence.C: re-instate nmodifier mask
9594
9595 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9596
9597         * lyx_main.h: make lyxGUI private.
9598
9599 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9600
9601         * lyxfind.C: place the cursor correctly on failed search
9602
9603 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9604
9605         * text.C (getLengthMarkerHeight): for small heights, the arrows
9606         are not always on top/bottom of the text
9607         (drawLengthMarker): smaller arrows; take the left margin in
9608         account; draw also vfills.
9609         (paintFirstRow):
9610         (paintLastRow): remove special code for vfill and standard spaces,
9611         since everything is handled in drawLengthMarker now.
9612
9613 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9614
9615         * buffer.C (insertErtContents): try to handle font and language
9616         interaction a bit better.g
9617
9618         * ColorHandler.C (updateColor): change the hash to cover the whole
9619         LColor enum, ws cleanup
9620         (getGCLinepars): ditto
9621         (getGCLinepars): only lookup in the linecache once.
9622
9623 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9624
9625         * iterators.C (operator++): Make the iterator more robust
9626
9627         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9628         (John's patch)
9629         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9630
9631 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9632
9633         * lyxtext.h:
9634         * text.C: better added space drawing
9635
9636 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9637
9638         * LyXView.C:
9639         * BufferView2.C: fix layout combo update on inset unlock
9640
9641 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9642
9643         * Makefile.am: don't compile unused files
9644
9645 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9646
9647         * lyxfunc.C:
9648         * commandtags.h:
9649         * LyXAction.C: remove old LFUN_LAYOUTNO
9650
9651 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9652
9653         * paragraph_pimpl.h:
9654         * paragraph_pimpl.C: isTextAt() doesn't need font param
9655
9656 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9657
9658         * lyxlex.h:
9659         * lyxlex.C: little cleanup
9660
9661 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9662
9663         * BufferView_pimpl.C: fix insertAscii for insets
9664
9665 2001-12-05  Juergen Vigna  <jug@sad.it>
9666
9667         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9668         set the right font on the "multi" paragraph paste!
9669
9670 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9671
9672         * trans_decl.h:
9673         * trans_mgr.[Ch]:
9674         * trans.[Ch]:
9675         * lyxgluelength.C:
9676         * lyxlength.C: remove out-commented code.
9677
9678         * BufferView_pimpl:
9679         * CutAndPaste.C:
9680         * DepTable.C:
9681         * buffer.C:
9682         * chset.C:
9683         * lastfiles.C:
9684         * lyxlex.C:
9685         * lyxlex_pimpl.C:
9686         * lyxserver.C:
9687         * screen.C:
9688         * tabular-old.C:
9689         * tabular.C:
9690         * text.C:
9691         * trans_mgr.C:
9692         * vc-backend.C: change "while(" to "while ("
9693
9694         * lyxlength.[Ch]: add zero function to check if length is zero or
9695         not
9696         * lyxgluelength.C: use it
9697
9698 2001-12-05  Allan Rae  <rae@lyx.org>
9699
9700         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9701         Works for 2.95.3, from what I understand of Garst's reports this should
9702         work for other g++ versions.  We're screwed if the abs(int) definition
9703         changed between bugfix releases of gcc.
9704
9705 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9706
9707         * text.C: fix chapter label offset !
9708
9709 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9710
9711         * lyxtext.h:
9712         * text.C: fix hfill at end of line, clean up
9713
9714 2001-12-04  Juergen Vigna  <jug@sad.it>
9715
9716         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9717         that we force an update of the inset and it's owners if neccessary.
9718
9719 2001-12-03  Juergen Vigna  <jug@sad.it>
9720
9721         * text.C (rowLast): simplified code
9722
9723 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9724
9725         * lyxfunc.C: fix show options on timeout
9726
9727 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9728
9729         * screen.C (topCursorVisible): scroll half a page when the cursor
9730         reached top of bottom of screen
9731
9732 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9733
9734         * minibuffer.C: deactivate on loss of focus
9735
9736 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9737
9738         * vspace.[Ch] (operator!=): add operator.
9739
9740 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9741
9742         * BufferView_pimpl.C: refuse to open an inset when
9743         there's a selection.
9744
9745 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9746
9747         * BufferView_pimpl.C: allow to click on RHS of full row insets
9748
9749 2001-11-30  Juergen Vigna  <jug@sad.it>
9750
9751         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9752         insets for undo reasons.
9753
9754 2001-11-28  André Pönitz <poenitz@gmx.net>
9755
9756         * vspace.[Ch]: cosmetical changes
9757
9758 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9759
9760         * LyXAction.h:
9761         * LyXAction.C:
9762         * lyxfunc.h:
9763         * lyxfunc.C:
9764         * kbmap.h:
9765         * kbmap.C:
9766         * lyxrc.C:
9767         * kbsequence.h:
9768         * kbsequence.C: part re-write of old kb code
9769
9770         * Painter.C:
9771         * WorkArea.C: remove Lgb_bug_find_hack
9772
9773 2001-11-30  José Matos <jamatos@fep.up.pt>
9774
9775         * buffer.C (makeDocBookFile): add a comment to point a hack.
9776         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9777         Fixed a double write of labels.
9778
9779 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9780
9781         * LaTeX.C:
9782         * LaTeX.h Fixed bug in LaTeX class where it would not
9783         re-run latex if no depfiles were changed, but the .dvi was removed.
9784
9785 2001-11-28  André Pönitz <poenitz@gmx.net>
9786
9787         * all the files from the change on 2001/11/26:
9788         use lyx::layout_type instead of LyXTextClass::size_type
9789         use lyx::textclass_type instead of LyXTextClassList::size_type
9790
9791 2001-11-29  Juergen Vigna  <jug@sad.it>
9792
9793         * text.C: added support for paragraph::isFreeSpacing()
9794
9795         * buffer.C: same as above
9796
9797         * paragraph.h: inserted isFreeSpacing() function to enable
9798         FreeSpacing inside InsetERT.
9799
9800         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9801         of the paragraph's in the cut/copy buffer to 0!
9802
9803         * text2.C (removeRow): remove the assert as it can!
9804
9805         * lyxtext.h: added helper function firstRow returning firstrow and
9806         made firstrow private again.
9807
9808         * BufferView2.C (lockInset): don't relock if we're already locked!
9809
9810         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9811         the only paragraph.
9812         (removeRow): added Assert::(firstrow)
9813
9814         * debug.C: forgot to add INSETTEXT here.
9815
9816 2001-11-28  Juergen Vigna  <jug@sad.it>
9817
9818         * sp_spell.C (initialize): changed error text to more general
9819         spellchecker command use (not only ispell!)
9820
9821         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9822
9823         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9824
9825 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9826
9827         * vspace.C: initialise lyxgluelength on failure
9828
9829 2001-11-28  Allan Rae  <rae@lyx.org>
9830
9831         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9832         declaration & definition that looks like a function declaration.
9833
9834 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9835
9836         * BufferView2.C (copy):
9837         (copyEnvironment): do not clear the selection when doing a copy.
9838
9839         * text.C (paintFirstRow): compilation fix
9840
9841 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9842
9843         * tabular.C (Latex): correct line count when writing latex.
9844
9845 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9846
9847         * paragraph_pimpl.h:
9848         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9849           bug a bit
9850
9851 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9852
9853         * text.C:
9854         * LColor.h:
9855         * LColor.C: change vfillline->added_space
9856
9857         * text.C: add markers and text for added space
9858
9859         * vspace.C: fix comment
9860
9861 2001-11-28  André Pönitz <poenitz@gmx.net>
9862
9863         * paragraph.C: whitespace changes
9864         * all the other files from the change on 2001/11/26:
9865         change *::pos_type into lyx::pos_type
9866
9867 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9868
9869         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9870         language of the document when inserting error insets.
9871
9872 2001-11-26  André Pönitz <poenitz@gmx.net>
9873
9874         * BufferView_pimpl.[Ch]:
9875         *       CutAndPaste.C:
9876         * buffer.[Ch]:
9877         * lyxcursor.[Ch]:
9878         * lyxfind.C:
9879         * lyxfunc.C:
9880         * lyxrow.[Ch]:
9881         * paragraph.[Ch]:
9882         * paragraph_pimpl.[Ch]:
9883         * sp_spell.C:
9884         * text.C:
9885         * text2.C: reduce header dependencies, introduce type for positions
9886
9887 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9888
9889         * <various>: change to use Alert.h
9890
9891 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9892
9893         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9894         when encountering an unknown token.
9895         (readLyXformat2): Show an error message if there were unknown tokens.
9896
9897 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9898
9899         * BufferView2.C:
9900         * BufferView_pimpl.C:
9901         * buffer.C:
9902         * paragraph.h:
9903         * text.C:
9904         * text2.C: use par->isInset()
9905
9906 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9907
9908         * paragraph_pimpl.h:
9909         * paragraph_pimpl.C: cleanup
9910
9911 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9912
9913         * text2.C (removeRow):
9914         * text.C (setHeightOfRow): remove useless (and costly) call to
9915         getRow.
9916
9917 2001-11-20  Allan Rae  <rae@lyx.org>
9918
9919         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9920         Now need Inset*::checkInsertChar() to return true for appropriate
9921         cases so that the characters in the minibuffer will actually be
9922         inserted.
9923
9924 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9925
9926         * text.C: change the order of the includes.
9927         (workWidth): initialize it at once.
9928         (workWidth): make maxw unsigned
9929         (setHeightOfRow): remove unused variable (inset)
9930         (selectSelectedWord): remove unused variable (inset)
9931         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9932
9933 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9934
9935         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9936         server is not running.
9937         (openConnection):
9938         (closeConnection): add debug info when server is disabled.
9939
9940         * ColorHandler.C (getGCForeground): send debug message to GUI
9941         channel.
9942
9943         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9944
9945         * kbmap.C (bind): modify because return conventions of
9946         kb_sequence::parse have changed.
9947
9948         * kbsequence.C (parse): only ignore spaces and not any stupid
9949         control character. This avoids tests like s[i] <= ' ', which are
9950         guaranteed to fail with 8bit characters and signed chars.
9951         Change return code to string::npos when there have been no error
9952         (0 was a bad idea when error is at first character)
9953
9954 2001-11-14  José Matos  <jamatos@fep.up.pt>
9955
9956         * buffer.h:
9957         * buffer.C (simpleDocBookOnePar): removed unused argument.
9958
9959 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9960
9961         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9962         insets which are part of a word. Paragraph::isLetter takes care of
9963         that now. Use Paragraph::isInset to identify insets.
9964         (selectSelectedWord): do not test for hyphenation break.
9965
9966         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9967         that protected spaces are considered as spaces.
9968
9969         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9970         Inset::isLetter.
9971
9972 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9973
9974         * lyxserver.h:
9975         * lyxserver.C: fix it. and small cleanup.
9976
9977 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9978
9979         * BufferView_pimpl.C: use inline helpers
9980
9981         * LaTeXFeatures.h:
9982         * LaTeXFeatures.C: fix typos
9983
9984         * Spacing.h:
9985         * Spacing.C: move spacing_string into class
9986
9987         * ToolbarDefaults.C: move stuff into namespace anon
9988
9989         * layout.h: update enum
9990
9991         * lyxfunc.C: use better debug
9992
9993         * minibuffer.h: fix typo
9994
9995         * debug.h:
9996         * debug.C:
9997         * WorkArea.C: add and use Debug::WORKAREA
9998
9999         * lyxtext.h:
10000         * text.C:
10001         * text2.C: code re-organisation, inline helpers
10002
10003 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10004
10005         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10006         std::vector.empty().
10007
10008 2001-11-09  Allan Rae  <rae@lyx.org>
10009
10010         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10011         '\n's after tables.  Tabular and ERT inset work now makes this no
10012         longer necessary.
10013
10014 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10015
10016         * minibuffer.h:
10017         * minibuffer.C: fix crash, improve drop-down completion
10018
10019 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * lyxserver.h:
10022         * lyxserver.C: invalidate fd's when doing endPipe()
10023
10024 2001-11-08  José Matos  <jamatos@fep.up.pt>
10025
10026         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10027         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10028
10029         * paragraph.h:
10030         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10031
10032 2001-11-07  José Matos  <jamatos@fep.up.pt>
10033
10034         * buffer.h:
10035         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10036         const qualifier.
10037
10038         * buffer.C (sgmlOpenTag):
10039         * buffer.C (sgmlCloseTag): removed debug info.
10040
10041         * buffer.h (sgmlOpenTag):
10042         * buffer.h (sgmlCloseTag): made public.
10043
10044 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10045
10046         * buffer.C (saveParamsAsDefaults):
10047         * lyx_cb.C (MenuLayoutSave): remove
10048
10049         * LyXAction.C (init):
10050         * commandtags.h:
10051         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10052
10053 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10054
10055         * buffer.C (setPaperStuff): removed from here...
10056
10057         * bufferparams.C (setPaperStuff): ... and moved there.
10058
10059 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10060
10061         * minibuffer.h:
10062         * minibuffer.C:
10063         * XFormsView.C: add support for drop-down completion
10064
10065 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10066
10067         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10068         commands.
10069
10070 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10071
10072         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10073         disabled.
10074
10075 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10076
10077         * lyx_main.C: change ref to known bugs
10078
10079 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10080
10081         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10082         to work around older babel problems.
10083
10084 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10085
10086         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10087
10088 2001-10-24  Juergen Vigna  <jug@sad.it>
10089
10090         * tabular-old.C (ReadOld): below variable changes reflected.
10091
10092         * tabular.[Ch]: added ltType struct for longtable header/footer
10093         defines and changed all instances where they are used. Added
10094         future support for double top/bottom rows.
10095
10096 2001-10-24  José Matos  <jamatos@fep.up.pt>
10097
10098         * buffer.h (docbookHandleCaption):
10099         * buffer.C (docbookHandleCaption): removed unused function.
10100         (makeDocBookFile): moved docbook supported version to v4.1.
10101
10102 2001-10-24  José Matos  <jamatos@fep.up.pt>
10103
10104         * tabular.h:
10105         * tabular.C (docbookRow): new function to export docbook code of a row.
10106         (DocBook): now honors the longtable flags.
10107
10108 2001-10-23  José Matos  <jamatos@fep.up.pt>
10109
10110         * LaTeXFeatures.h:
10111         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10112         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10113
10114         * buffer.C (makeLinuxDocFile):
10115         (makeDocBookFile): reworked the preamble, more clean, and with
10116         support for lyx defined entities. Changed the document declaration
10117         to be more XML friendly.
10118
10119         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10120         if we need to output XML that should be done with a filter.
10121
10122 2001-10-22  Juergen Vigna  <jug@sad.it>
10123
10124         * sp_pspell.h (class PSpell): add alive function needed in the
10125         controller to see if the spellchecker could be started.
10126
10127 2001-10-22  Juergen Vigna  <jug@sad.it>
10128
10129         * buffer.C (insertStringAsLines): modify the font for inserting
10130         chars in certain conditions by calling checkInsertChar(font).
10131
10132 2001-10-19  Juergen Vigna  <jug@sad.it>
10133
10134         * text.C (workWidth): use getRow instead of wrong algorithm.
10135         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10136
10137 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10138
10139         * lyxserver.h:
10140         * lyxserver.C:
10141         * lyx_main.h:
10142         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10143
10144 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10145
10146         * text.C (workWidth): do not search for the exact row when
10147         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10148         optimization for big documents.
10149
10150 2001-10-18  Juergen Vigna  <jug@sad.it>
10151
10152         * text.C (workWidth): new function with added Inset * parameter.
10153
10154 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10155
10156         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10157
10158         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10159         change return type of getColumnNearX.
10160
10161
10162         * text.C (changeRegionCase): use uppercase/lowercase instead of
10163         toupper/tolower.
10164         (leftMargin):
10165         (rightMargin): simplify code by factoring out the uses of
10166         textclasslist.
10167         (labelFill):
10168         (numberOfHfills):
10169         (setHeightOfRow):
10170         (appendParagraph): use Paragraph::size_type
10171
10172 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10173
10174         * vspace.C (asLatexString): add a missing break
10175
10176 2001-10-15  Herbert Voss  <voss@perce.de>
10177
10178         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10179
10180 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10181
10182         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10183         is not available.
10184
10185 2001-10-10  André Pönitz <poenitz@gmx.net>
10186
10187         * lyxfunc.C: removed greek_kb_flag.
10188
10189 2001-10-10  Herbert Voss  <voss@perce.de>
10190
10191         * lyx_main.C: delete global string help_lyxdir.
10192
10193 2001-10-09  Herbert Voss  <voss@perce.de>
10194
10195         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10196
10197         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10198
10199         * lyx_main.C: added global string help_lyxdir.
10200
10201         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10202
10203 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10204
10205         * lyxrc.C (set_font_norm_type): support iso8859-4
10206
10207 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10208
10209         * LaTeX.C (deplog): add another regex for MikTeX
10210
10211 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10212
10213         * lyxrc.C (set_font_norm_type): support iso8859-3
10214
10215 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10216
10217         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10218
10219         * LaTeXFeatures.C: remove special case of french and index
10220
10221         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10222         before \begin{document}). This solves several incompatibilities.
10223
10224 2001-10-03  Garst Reese  <reese@isn.net>
10225
10226         * lyx_cb.C: change CheckTex error msg.
10227
10228 2001-10-03  José Matos  <jamatos@fep.up.pt>
10229
10230         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10231
10232 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10233
10234         * .cvsignore: update
10235
10236         * lyx_main.C (commandLineVersionInfo): use new style version info.
10237
10238         * buffer.C (writeFile):
10239         (makeLaTeXFile):
10240         (makeLinuxDocFile):
10241         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10242
10243         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10244
10245         * version.h: update to use stuff in version.C
10246
10247         * version.C.in: new file. Contains version information determined
10248         at compile time. This is a merging of version.h and
10249         version_info.h.in.
10250
10251 2001-10-03  Juergen Vigna  <jug@sad.it>
10252
10253         * BufferView_pimpl.C (update): don't change "dirty" status in
10254         updateInset call.
10255
10256 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10257
10258         * WorkArea.C (c-tor): re-position version string slightly.
10259
10260 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10261
10262         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10263         revert to previous code.
10264
10265         WorkArea.[Ch]: (show, destroySplash): methods removed.
10266
10267         WorkArea.C: rework code so that it's an amalgam of the codes before and
10268         after the splash screen was moved to WorkArea.
10269
10270 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10271
10272         * lyxrc.C (read):
10273         * vspace.C (inPixels):
10274         (lyx_advance):
10275         * kbmap.C (bind):
10276         * buffer.C (insertStringAsLines):
10277         (asciiParagraph): fix types to be large enough
10278
10279         * lyxlex_pimpl.h: change member status from short to int
10280
10281         * layout.h: fix type of endlabeltype
10282
10283         * kbmap.C (bind):
10284         * kbsequence.C (parse): change return type to string::size_type
10285
10286         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10287         variable
10288
10289         * Bullet.C (bulletSize):
10290         (bulletEntry): do not use short ints as parameters
10291
10292         * BufferView2.C (insertLyXFile): change a char to an int.
10293
10294         * WorkArea.C (WorkArea): remove unneeded floats in computation
10295
10296 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10297
10298         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10299
10300         * paragraph.C (asString): Do not ignore newline/hfill chars when
10301         copying to the clipboard.
10302
10303 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10304
10305         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10306         after a multi-line inset.
10307
10308 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10309
10310         * paragraph.C (validate): Set NeedLyXFootnoteCode
10311
10312 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10313
10314         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10315         and decrease-error to decrease.
10316
10317 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10318
10319         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10320         it more readable (should be equivalent)
10321
10322 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10323
10324         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10325
10326 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10327
10328         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10329         of a cursor (row, etc.) after a character has been deleted
10330         (deleteEmptyParagraphMechanism): call the method above on _all_
10331         cursors held by the LyXText when a double space has been
10332         detected/deleted.
10333
10334 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10335
10336         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10337         pixmap.
10338         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10339
10340         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10341         background. Use greyOut() and the new show() methods to toggle between
10342         the foreground and background. Add code to remove the splash after
10343         its initial showing.
10344
10345         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10346         (create_forms): no longer call Dialogs::showSplash.
10347
10348 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10349
10350         * .cvsignore: add version_info.h
10351
10352 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10353
10354         * version_info.h.in: new file
10355
10356         * Makefile.am: add version_info.h.in
10357
10358         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10359         version_info.h instead of VERSION_INFO
10360
10361 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10362
10363         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10364         The ERT inset now returns string().
10365
10366 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10367
10368         * lyxtext.h, text.C (selectNextWord): renamed as
10369         selectNextWordToSpellcheck.
10370
10371         * text.C (selectNextWordToSpellcheck): Modified to not select
10372         words inside an ERT inset.
10373
10374 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10375
10376         * lyx_cb.C (MenuLayoutSave): change a bit the question
10377
10378         * sp_base.h: include <sys/types.h>
10379
10380 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10381
10382         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10383
10384 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10385
10386         * several files: fix typos in user-visible strings
10387
10388 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10389
10390         * text2.C (pasteSelection): do not set the selection, since it
10391         will be cleared later. Actually, the intent was to fix the way the
10392         selection was set, but I figured rmoving the code was just as good.
10393
10394 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10395
10396         * FontLoader.C (available): Check if font is available without
10397         loading the font.
10398
10399 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10400
10401         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10402
10403 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10404
10405         * lyxrc.[Ch]: added display_graphics variable and associated code.
10406
10407 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10408
10409         * bufferparams.C (hasClassDefaults): new method. Returns true if
10410         the buffer parameters correspond to known class defaults
10411
10412 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10413
10414         * XFormsView.C (show): set minimum size to the main window.
10415
10416 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10417
10418         * text2.C (copySelection):
10419         (cutSelection):
10420         * lyxfind.C (LyXReplace):
10421         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10422         LyXText::selectionAsString.
10423
10424         * paragraph.C (asString): add "label" argument to the second form
10425
10426         * text2.C (selectionAsString): add "label" argument and pass it to
10427         Paragraph::asString.
10428
10429 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10430
10431         * lyx_main.C (commandLineHelp): remove version information
10432
10433 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10434
10435         * lyx_main.C: add -version commandline option
10436
10437 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10438
10439         * paragraph.h: make the optional constructor arg required instead.
10440         some modifications to other files because of this.
10441
10442         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10443
10444         * lyxserver.C (C_LyXComm_callback): make it static
10445
10446         * lyx_main.C (error_handler): make it static
10447
10448         * lyx_gui.C (LyX_XErrHandler): make it static
10449
10450         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10451
10452         * WorkArea.C: make the extern "C" methods static.
10453
10454         * Makefile.am (lyx_LDADD): simplify
10455
10456 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10457
10458         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10459         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10460
10461         * LyXAction.C (init):
10462         * lyxfunc.C (dispatch): associated code removal.
10463
10464 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10465
10466         * lyxfont.h (isSymbolFont): shut off warning
10467
10468         * text.C (setHeightOfRow):
10469         (getVisibleRow): fix crash with empty paragraphs which have a
10470         bottom line
10471
10472 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10473
10474         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10475         code.
10476
10477 2001-09-04  José Matos  <jamatos@fep.up.pt>
10478         * buffer.C
10479         * buffer.h
10480         * tabular.C (docbook): rename docBook method to docbook.
10481
10482 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10483
10484         * Makefile.am: add dependencies to main.o.
10485
10486 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10487
10488         * FontLoader.C (available): Return false if !lyxrc.use_gui
10489
10490 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10491
10492         * FontInfo.C (query):
10493         * converter.C (view):
10494         * importer.C (Import):
10495         * exporter.C (Export): Can not -> cannot.
10496
10497 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10498
10499         * BufferView_pimpl.C: allow to create index inset even if
10500           string is empty
10501
10502 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10503
10504         * buffer.C (getLists): replace boost::tie code with an explicit pair
10505         as boost::tie can break some compilers.
10506
10507         * iterators.h: Added a std:: declaration to the return type of
10508         ParIterator::size.
10509
10510 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10511
10512         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10513           case.
10514
10515 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10516
10517         * iterators.[Ch]: New files. Provide paragraph iterators.
10518
10519         * buffer.C (changeLanguage): Use paragraph iterators.
10520         (isMultiLingual): ditto
10521
10522         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10523
10524 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10525
10526         * FontLoader.C: Support for cmr font.
10527
10528 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10529
10530         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10531         (available): New method.
10532
10533         * FontInfo.C (getFontname): Use scalable fonts even when
10534         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10535         found.
10536
10537 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10538
10539         * converter.C (Formats::view): reverted! Incorrect fix.
10540
10541 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10542
10543         * converter.C (Formats::view): only output the -paper option
10544         if the dvi viewer is xdvi, thereby fixing bug #233429.
10545
10546 2001-08-23  Herbert Voss  <voss@perce>
10547
10548         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10549
10550 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10551
10552         * Spacing.h (Spacing): Set space to Default on in the default
10553         constructor.
10554
10555 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10556
10557         * vc-backend.h (RCS::versionString): add RCS to version
10558         (CVS::versionString): add CVS to version
10559
10560         * vc-backend.C (scanMaster): do not add CVS to version.
10561         (scanMaster): do not add RCS to version
10562
10563         * lyxvc.C (versionString): new method
10564
10565         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10566
10567 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10568
10569         * Spacing.C (set): initialize fval
10570
10571 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10572
10573         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10574         " or \.
10575
10576 2001-08-16  Juergen Vigna  <jug@sad.it>
10577
10578         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10579
10580 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * BufferView_pimpl.C:
10583         * figureForm.C:
10584         * lyxtext.h:
10585         * text2.C: setParagraph takes linespacing now
10586
10587 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10588
10589         * LyxAction.C: add internal LFUN_CITATION_INSERT
10590
10591         * LyXView.C: actually apply fix
10592
10593         * bufferlist.C: fix open non-existent file
10594
10595         * lyxfind.C: fix indentation
10596
10597         * lyxfunc.C: remove unneeded assert, fix typo
10598
10599 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * MenuBackend.C: use "Floatname List"
10602
10603 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10604
10605         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10606         when converting LaTeX layout to insetERT.
10607         Generate a non-collapsed float when reading old float
10608
10609 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10610
10611         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10612         ERT insets.
10613
10614 2001-08-13  Juergen Vigna  <jug@sad.it>
10615
10616         * text.C (fill): return 0 instead of 20 as this seems to be the more
10617         correct value.
10618
10619 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10620
10621         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10622         lyxrc.font_norm.
10623
10624 2001-08-13  Juergen Vigna  <jug@sad.it>
10625
10626         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10627         casesensitive off.
10628         (SearchBackward): comment out the unlocking of the inset_owner this
10629         should not be needed!
10630
10631 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10632
10633         * Many files: Remove inherit_language, and add latex_language
10634
10635         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10636         collapsible insets.
10637
10638 2001-08-10  Juergen Vigna  <jug@sad.it>
10639
10640         * text.C (prepareToPrint): fixed hfill-width in draw!
10641
10642         * BufferView2.C (selectLastWord): save the selection cursor as this
10643         now is cleared in the function LyXText::clearSelection!
10644
10645 2001-08-08  Juergen Vigna  <jug@sad.it>
10646
10647         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10648         BACKSPACE type functions.
10649
10650         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10651         is only cutted from the document but not put in the cut-buffer, where
10652         still the old stuff should be.
10653
10654         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10655
10656         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10657
10658         * tabular.C (SetWidthOfCell): fixed special case where the width
10659         was not updated!
10660         (LeftLine): handle '|' in align_special.
10661         (RightLine): ditto
10662         (LeftAlreadyDrawed): ditto
10663         (SetWidthOfCell): ditto
10664
10665 2001-08-07  Juergen Vigna  <jug@sad.it>
10666
10667         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10668
10669 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10670
10671         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10672         * lyxlex.[hC]: ditto
10673
10674 2001-08-06  Juergen Vigna  <jug@sad.it>
10675
10676         * text.C (getVisibleRow): fix up row clearing a bit.
10677
10678 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10679
10680         * minibuffer.C: make sure the X server sees the changes in the input.
10681
10682 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10683
10684         * paragraph.C (getFont): split into...
10685         (getLabelFont): this
10686         (getLayoutFont): and this
10687         * paragraph_pimpl.C (realizeFont): calling this
10688
10689         * text2.C (getFont): split into...
10690         (getLayoutFont): this
10691         (getLabelFont): and this
10692         (realizeFont): all three calling this
10693
10694         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10695         files where used.
10696
10697 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10698
10699         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10700
10701 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10702
10703         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10704         layouts from the Quote inset insertion.
10705
10706 2001-08-03  Juergen Vigna  <jug@sad.it>
10707
10708         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10709
10710         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10711         only if status not is already CHANGED_IN_DRAW (second level).
10712
10713         * text.C (draw): don't set the need_break_row when inside an
10714         InsetText LyXText.
10715
10716 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10717
10718         * buffer.C (parseSingleLyXformat2Token): handle more latex
10719         conversion cases.
10720
10721         * bufferview_funcs.[hC]: change function names to
10722         begin with small char, adjust other files.
10723
10724 2001-08-02  André Pönitz <poenitz@gmx.net>
10725
10726         * lyxfunc.C:
10727         BufferView_pimpl.C: remove broken special code for math-greek
10728
10729 2001-08-02  Juergen Vigna  <jug@sad.it>
10730
10731         * BufferView_pimpl.C (update): redone this function so that we
10732         update the text again if there was a CHANGE_IN_DRAW.
10733
10734         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10735         (drawFromTo): added a new internal bool which is used by draw() and
10736         redraw() function.
10737         (general): some cursor drawing problems fixed.
10738
10739 2001-08-01  Juergen Vigna  <jug@sad.it>
10740
10741         * lyxfind.C (LyXFind): fixed
10742         (SearchForward): ditto
10743         (SearchBackward): ditto
10744
10745         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10746         spurius drawing of the cursor in the main area.
10747
10748         * text2.C (status): small fix which could lead to a segfault!
10749         (clearSelection): remove unneeded BufferView param.
10750
10751 2001-08-01  André Pönitz <poenitz@gmx.net>
10752
10753         * lyxfunc.C: small change due to changed mathed interface
10754
10755 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10756
10757         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10758
10759 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10760
10761         * lyxfunc.c: fail gracefully if file doesn't exist
10762
10763         * LyXSendto.C:
10764         * buffer.C:
10765         * lyxfunc.C:
10766         * BufferView_pimpl.C: IsDirWriteable() proto changed
10767
10768         * LyXView.C: fix updateWindowTitle() to store the last title
10769
10770 2001-07-31  Juergen Vigna  <jug@sad.it>
10771
10772         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10773         the font (wrong since using of Paragraph::highestFontInRange).
10774
10775         * paragraph.C (highestFontInRange): added a default_size parameter.
10776
10777         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10778         (setHeightOfRow): reformat
10779
10780 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10781
10782         * converter.[hC] + affected files: move to (inital-char)lowercase
10783         function names.
10784
10785         * ParagraphParameters.C (ParagraphParameters): remove commented code
10786
10787         * PainterBase.[Ch]: remove commented code
10788
10789         * LaTeXFeatures.h: add "bool floats" for float.sty
10790
10791         * LaTeXFeatures.C (LaTeXFeatures): init floats
10792         (require): handle float
10793         (getPackages): do it with floats
10794
10795 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10796
10797         * BufferView_pimpl.C (Dispatch): improve handling of
10798         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10799
10800         * commandtags.h: #include lyxfont.h here temporarily to avoid
10801         keybinding bug.
10802
10803         * bufferlist.h: include LString.h here.
10804
10805 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10806
10807         * text2.C (getStringToIndex): new method.
10808
10809 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10810
10811         * *: Reduced header file dependencies all over.
10812
10813 2001-07-30  Baruch Even  <baruch@lyx.org>
10814
10815         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10816
10817 2001-07-29  Baruch Even  <baruch@lyx.org>
10818
10819         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10820
10821 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10822
10823         * ParameterStruct.h (endif): add a default constructor to make
10824         sure that all variables is initialized.
10825
10826         * ParagraphParameters.C (ParagraphParameters): adjust
10827
10828 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10829
10830         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10831         index; also, check that there is something to index, and that it
10832         does not span over several paragraphs.
10833         (doubleClick): use WHOLE_WORD_STRICT for double click.
10834
10835         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10836
10837         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10838         scheme.
10839
10840 2001-07-26  Baruch Even  <baruch@lyx.org>
10841
10842         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10843         an InsetFig figure, backwards compatible reading of old figure code.
10844
10845 2001-07-27  Juergen Vigna  <jug@sad.it>
10846
10847         * text2.C: font.realize function adaption.
10848
10849         * text.C (draw): add a warnings lyxerr text if needed.
10850
10851         * layout.C: font.realize function adaption.
10852
10853         * language.C: add inherit_language and implement it's handlings
10854
10855         * bufferview_funcs.C (StyleReset): remove language parameter from
10856         font creation (should be language_inherit now).
10857
10858         * bufferparams.C (writeFile): handle ignore_language.
10859
10860         * paragraph.C (getFontSettings): the language has to be resolved
10861         otherwise we have problems in LyXFont!
10862
10863         * lyxfont.C (lyxWriteChanges): added document_language parameter
10864         (update): removed unneeded language parameter
10865
10866         * paragraph.C (validate): fixed wrong output of color-package when
10867         using interface colors for certain fonts in certain environments,
10868         which should not seen as that on the final output.
10869
10870 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10871
10872         * BufferView_pimpl.C:
10873         * Thesaurus.h:
10874         * Thesaurus.C:
10875         * Makefile.am:
10876         * commandtags.h:
10877         * LyXAction.C: add thesaurus support
10878
10879         * lyxfind.h:
10880         * lyxfind.C: add "once" parameter, for thesaurus, to not
10881           move to the next match
10882
10883 2001-07-26  Juergen Vigna  <jug@sad.it>
10884
10885         * lyxfont.C (realize): honor ignore_language too!
10886         (resolved): ditto.
10887
10888         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10889
10890         * text.C (draw): one place more for ignore_language to not draw
10891         itself!
10892
10893 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10894
10895         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10896
10897 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10898
10899         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10900         the minipage conversion problem.
10901
10902 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10903
10904         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10905         insert an inset.
10906
10907 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10908
10909         * BufferView.h: don't forward declare WorkArea
10910
10911         * BufferView.C: don't include WorkArea.h
10912
10913 2001-07-25  André Pönitz <poenitz@gmx.net>
10914
10915         * commandtags.h:
10916         * LyXAction.C:
10917         * lyxfunc.C:  new LFUN 'math-space'
10918
10919         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10920
10921 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10922
10923         * text2.C (toggleInset): call open/close
10924
10925 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10926
10927         * lyxfunc.C (dispatch): add debug for the disabled case
10928
10929         * font.C (buttonText): make similar to rectText
10930
10931         * buffer.C (readInset): comment out parsing of insetlist and
10932         insttheorem
10933
10934         * PainterBase.C (rectText): small correction
10935
10936         * BufferView_pimpl.C: comment out insettheorem and insetlist
10937         * LyXAction.C: ditto
10938         * commandtags.h: ditto
10939
10940 2001-07-24  Juergen Vigna  <jug@sad.it>
10941
10942         * text.C (draw): honor the ignore_language.
10943
10944         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10945
10946 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10947
10948         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10949         char inset.
10950
10951 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10952
10953         * lyxtext.h: remove unused (and unimplemented) methods
10954
10955 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10956
10957         * text.C (getVisibleRow): honor background color
10958
10959         * PainterBase.h:
10960         * Painter.h: remove default color argument for fillRectangle
10961
10962         * text.C (backgroundColor): new method
10963
10964 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10965
10966         * text.C (getVisibleRow): adjust
10967
10968         * font.[Ch] (rectText): new method, metrics
10969         (buttonText): new method, metrics
10970
10971         * PainterBase.[hC]: make rectText and buttonText always draw and take
10972         fewer paramteres.
10973
10974 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10975
10976         * ToolbarDefaults.C (read):
10977         * MenuBackend.C (read): allow escaping in all strings
10978
10979         * BufferView_pimpl.C (insertAndEditInset): new method.
10980         (Dispatch): use insertAndEditInset whenever appropriate.
10981
10982         * BufferView_pimpl.C (insertNote): removed
10983
10984         * BufferView_pimpl.C (smartQuote): new method, moved from
10985         BufferView; if an insetquote cannot be inserted, insert a '"'
10986         character instead.
10987
10988         * BufferView2.C: remove insertCorrectQuote();
10989
10990         * lyxfunc.C (getStatus): Add support for all remaingin
10991         inset-insert lfuns.
10992
10993         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10994
10995         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10996         command (necessary to pass " as parameter of self-insert.
10997
10998         * text.C (selectWordWhenUnderCursor):
10999         (selectWord): add word_location parameter
11000         (selectWordWhenUnderCursor): same + remove special code for word
11001         boundary.
11002         (selectNextWord): use kind() to guess type of insetspecialchar,
11003         not latex().
11004
11005         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11006         (insertErtContents): create ert insets as collapsed.
11007         (readInset): better compatibility code for Info inset.
11008
11009 2001-07-20  Juergen Vigna  <jug@sad.it>
11010
11011         * lyxfunc.C (dispatch): use always LyXFind now!
11012
11013         * text2.C (init): add a reinit flag so that the LyXText can be
11014         reinited instead of deleted and reallocated (used in InsetText).
11015
11016         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11017
11018         * text.C: ditto
11019
11020         * text2.C: ditto
11021
11022 2001-07-18  Juergen Vigna  <jug@sad.it>
11023
11024         * text.C (selectNextWord): handle insets inside inset by calling
11025         always the bv->text functions so that we can go up the_locking_inset!
11026
11027         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11028         in strange locations when inside an inset!
11029
11030         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11031         handling to include insets.
11032
11033         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11034
11035 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11036
11037         * LyXAction.C (init):
11038         * commandtags.h:
11039         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11040         LIGATURE_BREAK, since the name is so stupid.
11041
11042 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11043
11044         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11045         InsetInfos.
11046
11047         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11048
11049         * sp_form.[Ch]: remove.
11050
11051         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11052
11053         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11054         InsetInfo.
11055
11056         * src/buffer.C (readInset): ditto.
11057
11058 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11059
11060         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11061         menuSeparator(), endOfSentenceDot(), ldots() and
11062         hyphenationPoint(), which are therefore removed.
11063         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11064
11065         * LyXAction.C (init):
11066         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11067
11068         * paragraph.C (getWord): removed.
11069
11070         * BufferView_pimpl.C (Dispatch): use last word or selection for
11071         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11072
11073         * lyx_main.C (queryUserLyXDir): do not ask before creating
11074         user_dir, except if it has been named explicitely.
11075
11076 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11077
11078         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11079         a document of zero size.
11080
11081 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11082
11083         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11084         approriately in the c-tor and in require().
11085         (getPackages): output the appropriate LaTeX for natbib support.
11086
11087         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11088         variables "use_natbib" and "use_numerical_citations" when reading the
11089         LyX file.
11090         (readInset): read the various natbib cite commands.
11091         (validate): white-space change.
11092
11093         * bufferparams.[Ch]: new variables "bool use_natbib" and
11094         "bool use_numerical_citations".
11095         (writeFile): output them in the LyX file.
11096
11097 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11098
11099         * lyxfunc.C (getStatus): add support for all the inset insertion
11100         commands.
11101
11102         * text2.C (insertInset):
11103         * paragraph.C (insetAllowed):
11104         * BufferView_pimpl.C (insertInset): update to take in account the
11105         renaming of insertInsetAllowed
11106
11107         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11108
11109         * text2.C (getInset): new method. returns inset at cursor position.
11110
11111         * BufferView_pimpl.C (Dispatch): changes because of this.
11112
11113         * LyXAction.C (init): rename open-stuff to inset-toggle.
11114
11115         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11116
11117         * text2.C (toggleInset): renamed from openStuff; use
11118         Inset::open().
11119
11120 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11121
11122         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11123
11124         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11125
11126 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11127
11128         * buffer.C (readLyXformat2): Add filename to the error dialog
11129
11130 2001-07-18  Juergen Vigna  <jug@sad.it>
11131
11132         * tabular.C (GetCellNumber): put an assert here instead of the check!
11133
11134 2001-07-17  Juergen Vigna  <jug@sad.it>
11135
11136         * BufferView_pimpl.C (toggleSelection): adapted too.
11137
11138         * text.C (selectNextWord): adapted for use with insets.
11139         (selectSelectedWord): ditto
11140
11141 2001-07-17  Juergen Vigna  <jug@sad.it>
11142
11143         * sp_spell.C (PSpell): fix initialitation order.
11144
11145 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11146
11147         * paragraph.C: spacing
11148
11149 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11150
11151         * sp_spell.C: repair language selection for pspell
11152
11153 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11154
11155         * lyxfunc.h: change more methods to begin with lower char.
11156
11157 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11158
11159         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11160         for unknown layouts.
11161
11162 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11163
11164         * buffer.C (readLyXformat2): Generate an error dialog if there are
11165         unknown layouts.
11166
11167 2001-07-16  Juergen Vigna  <jug@sad.it>
11168
11169         * sp_spell.C: always compile ISpell part.
11170
11171         * lyxrc.C: added use_pspell entry and it's handling.
11172
11173 2001-07-13  Juergen Vigna  <jug@sad.it>
11174
11175         * sp_spell.C: removed double includes.
11176
11177 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11178
11179         Consistent use of Lsstream.h:
11180         * Lsstream.h: added using std::stringstream for consistencies sake.
11181
11182         * buffer.C: removed using std::stringstream
11183
11184         * lyxfont.C (stateText):
11185         * paragraph.C (asString):
11186         * text.C (selectNextWord, selectSelectedWord):
11187         * text2.C (setCounter):
11188         * vspace.C (asString, asLatexString):
11189         std::ostringstream -> ostringstream.
11190
11191 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11192
11193         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11194         * commandtags.h: add LFUN_HELP_ABOUTLYX
11195         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11196
11197 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11198
11199         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11200         cursorToggle()
11201         * lyx_gui_misc.C: remove spellchecker
11202         * lyxfunc.C: showSpellchecker
11203         * sp_base.h: added
11204         * sp_ispell.h: added
11205         * sp_pspell.h: added
11206         * sp_spell.C: added
11207         * sp_form.[Ch]: removed
11208         * spellchecker.[Ch]: removed
11209
11210 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11211
11212         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11213         is set.
11214         (simpleTeXSpecialChars): Simply print the input character without
11215         any special translation if pass_thru is set.
11216
11217         * layout.h: Added bool pass_thru to layout class for being able to
11218         implement pass through of a paragraph for Literate Programming.
11219
11220         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11221         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11222         * layout.C (Read): add "passthru" to list of layout tags and add
11223         code to set the pass_thru boolean when it is read.
11224
11225 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11226
11227         * trans_decl.h: remove allowed from KmodInfo
11228
11229         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11230         remove allowed code
11231         (Load): adjust
11232
11233         * paragraph_pimpl.C (erase): use boost::prior
11234
11235         * Painter.C (text): use data() instead of c_str() when length is
11236         also provided.
11237         * WorkArea.C (putClipboard): ditto
11238         * font.h (width): ditto
11239
11240         * BufferView2.C: use it-> instead of (*it). for iterators
11241         * texrow.C: ditto
11242         * paragraph_pimpl.C: ditto
11243         * paragraph.C: ditto
11244         * minibuffer.C: ditto
11245         * language.C: ditto
11246         * kbmap.C: ditto
11247         * encoding.C: ditto
11248         * counters.C: ditto
11249         * converter.C: ditto
11250         * chset.C: ditto
11251         * Variables.C: ditto
11252         * TextCache.C: ditto
11253         * MenuBackend.C: ditto
11254         * LyXAction.C: ditto
11255         * LColor.C: ditto
11256         * FloatList.C: ditto
11257         * DepTable.C: ditto
11258         * ColorHandler.C (LyXColorHandler): ditto
11259
11260 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11261
11262         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11263
11264         * text2.C (openStuff): reintroduce this method (which had been
11265         nuked in NEW_INSETS frenzy).
11266
11267         * lyxfunc.C (Dispatch): when an action has not been handled, use
11268         its name in the error message, not its number.
11269
11270         * paragraph.C (inInset): change method name to begin with lowercase.
11271
11272         * undo_funcs.C:
11273         * text2.C: updates because of this.
11274
11275 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11276
11277         * ToolbarDefaults.C (add): add spaces in error message
11278
11279 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11280
11281         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11282         (readLyXformat2): rename return_par to first_par, use lyxlex's
11283         pushToken and remove the manual push handling.
11284         (parseSingleLyXformat2Token): add another ert comp. variable:
11285         in_tabular, rename return_par to first_par. handle newlines better
11286
11287 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11288
11289         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11290
11291 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11292
11293         * text2.C (getParFromID): removed
11294
11295         * buffer.C (getParFromID): new method moved form lyxtext.
11296         * BufferView2.C (insertErrors): adjust
11297         (setCursorFromRow): adjust
11298         * BufferView_pimpl.C (restorePosition): adjust
11299         * lyxfunc.C (Dispatch): adjust
11300         * undo_funcs.C (textUndo): adjust
11301         (textRedo): adjust
11302         (textHandleUndo): adjust
11303         (textHandleUndo): adjust
11304
11305 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11306
11307         * buffer.C: up' the LYX_FORMAT
11308
11309         * lyxfont.h: turn NO_LATEX on as default
11310
11311         * buffer.C (insertErtContents): new methods of tex style compability.
11312         (parseSingleLyXformat2Token): use it several places.
11313         * tabular.C (OldFormatRead): and here
11314
11315 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11316
11317         * text2.C: remove some commented code.
11318         reindent file.
11319
11320         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11321         * trans.C: changes because of the above.
11322
11323 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11324
11325         * text2.C (setCounter): Fix counters bug with bibliography layout.
11326
11327 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11328
11329         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11330         own member functions
11331         (simpleTeXSpecialChars): ditto
11332
11333 2001-07-06  Juergen Vigna  <jug@sad.it>
11334
11335         * a lot of files: changed the access to LyXText::status and the
11336         call of undo-functions.
11337
11338         * undo.[Ch]: added a inset_id to the undo informations.
11339
11340         * undo_funcs.[Ch]: added and moved here all undo functions.
11341
11342         * lyxtext.h: give the status enum a weight, made status_ a private
11343         variable and made accessor functions for it, removed the whole bunch
11344         of undo-functions as they are now in their own file, make some
11345         functions publically available. Added function ownerParagraph with
11346         int parameter.
11347
11348         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11349         made InInset() a const function, added getParFromID() function.
11350
11351         * buffer.[Ch]: added const version for inset_iterator functions,
11352         added getInsetFromID() function.
11353
11354         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11355         changed undo functions for new version.
11356
11357 2001-07-05  Juergen Vigna  <jug@sad.it>
11358
11359         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11360         unknow mechanism does not call the proper constructor but only this
11361         one also if I request the other!?
11362
11363 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11364
11365         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11366
11367         * text2.C (LyXText): use initialization lists.
11368
11369         * lyxtext.h (Selection): initialize set_ and mark_
11370         (init): remove method
11371
11372 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11373
11374         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11375
11376 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11377
11378         * screen.[Ch]: change method names to begin with lowercase
11379
11380         * BufferView_pimpl.C (updateScrollbar): simplify further and
11381         hopefully make it a bit faster.
11382
11383 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11384
11385         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11386         calling directly xforms functions.
11387
11388         * Painter.C (Painter):
11389         * lyx_cb.C (MenuWrite):
11390         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11391         fl_display.
11392
11393         * lyx_gui.C: remove bogus guiruntime extern declaration.
11394
11395 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11396
11397         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11398         in NEW_INSETS
11399         (redoDrawingOfParagraph): ditto
11400         (redoParagraphs): ditto
11401         (cutSelection): don't create a object for CutAndPaste use the
11402         static method directly
11403         (pasteSelection): ditto
11404
11405         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11406         LyXview (+ rename)
11407
11408 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11409
11410         * modifications to some other files because of this.
11411
11412         * Makefile.am (lyx_SOURCES): add XFormsView
11413
11414         * XFormsView.[Ch]: new files
11415
11416         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11417         the main window. Move the gui dependent stuff to XFormsView
11418
11419 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11420
11421         * tabular.C (GetCellInset): update cur_cell also in the row/col
11422         version of this function.
11423
11424         * lyxfunc.C: no need to include figure_form.h here.
11425
11426         * FontLoader.h:
11427         * lyxfunc.h:
11428         * lyxscreen.h:
11429         * text2.C:
11430         * lyxvc.C: no need to include forms.h here.
11431
11432 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11433
11434         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11435
11436         * lyxfunc.C (Dispatch):
11437         * Spacing.C (set):
11438         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11439         constructor argument.
11440
11441 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11442
11443         * paragraph.C (Paragraph): dont't clear, and just set layout.
11444         (makeSameLayout): use params's copy contructor.
11445
11446         * ParagraphParameters.[Ch] (makeSame): delete method
11447
11448 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11449
11450         * Variables.[Ch]: fix indentation, rename set to isSet
11451
11452 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11453
11454         * lyxfunc.C (Dispatch): fix typo
11455
11456 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11457
11458         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11459         upper_bound.
11460
11461         * bufferlist.C: include assert.h for emergencyWrite().
11462
11463 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11464
11465         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11466           give up at last (bug #425202) !
11467
11468 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11469
11470         * lyx_gui_misc.C:
11471         * sp_form.h:
11472         * sp_form.C:
11473         * spellchecker.h:
11474         * spellchecker.C: strip spellchecker options and bring up
11475           preferences tab instead
11476
11477 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11478
11479         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11480         the istringstream constructor
11481
11482 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11483
11484         * paragraph.C (getLayout): fix return value
11485
11486         * paragraph.h: do not declare getLayout as inline.
11487
11488         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11489
11490 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11491
11492         * lyxcursor.h (operator<): new func
11493         (operator>): new func
11494         (operator>=): new func
11495         (operator<=): new func
11496
11497         * text.C (changeCase): use selection.start and selection.end
11498         (changeRegionCase): require from to be <= to. Require par to be a
11499         valid paragraph.
11500
11501         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11502
11503 2001-06-27  Juergen Vigna  <jug@sad.it>
11504
11505         * text.C (cursorLeftOneWord): changed to return the cursor and added
11506         overlay with BufferView * parameter which calls this one.
11507         (getWord): added
11508         (selectWord): use new getWord function.
11509         (changeCase): renamed from changeWordCase as and extended to work
11510         also on selections.
11511
11512         * lyxtext.h: added enum word_location
11513
11514         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11515         changeCase as this operates now also on selections.
11516
11517 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11518
11519         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11520
11521         * many files: send debug output to Debug::INFO instead of
11522         Debug::ANY.
11523
11524         * converter.C (View):
11525         (Convert):
11526         (Move): send debug output to Debug::FILES instead of console.
11527
11528 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11529
11530         * lyxfunc.C (getStatus): use func_status
11531
11532         * func_status.h: new header, describing the results of
11533         LyXFunc::getStatus;
11534
11535         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11536         LFUN_MATH_HALIGN.
11537
11538 2001-06-25  The LyX Project  <jug@sad.it>
11539
11540         * buffer.C (sgmlOpenTag):
11541         (sgmlCloseTag):
11542         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11543
11544 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11545
11546         * text2.C: remove some dead code
11547
11548         * tabular.C (GetCellInset): store the last cell checked (gotten)
11549
11550         * tabular.h: add the helper for the speedup
11551
11552         * lyxtext.h: remove some dead code
11553
11554 2001-06-26  The LyX Project  <Asger>
11555
11556         * paragraph.C: Change export to LaTeX of alignment to
11557         \begin{center} and family for better roundtrip work with reLyX.
11558
11559         * Tune the math drawing a bit.
11560
11561 2001-06-25  The LyX Project  <Asger>
11562
11563         * LColor.C (LColor): New color for math background. New color
11564         for buttons.
11565
11566 2001-06-25  The LyX Project  <jug@sad.it>
11567
11568         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11569
11570         * lyxfunc.C (Open):
11571         * bufferlist.C (newFile): do not restrict to files ending with
11572         .lyx
11573
11574         * BufferView_pimpl.C (MenuInsertLyXFile):
11575
11576 2001-06-24  The LyX Project  <jug@sad.it>
11577
11578         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11579         of compare_no_case
11580
11581 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11582
11583         * lyxtext.h: rename most methods to begin with a small char.
11584         Lots of changes because of this.
11585
11586         * paragraph.C (Paragraph): do not call fitToSize
11587         (erase): call Pimpl::erase
11588         (insertChar): call Pimpl::insertChar
11589         (insertInset): call Pipl::insertInset
11590         (breakParagraph): do not call fitToSize
11591         (breakParagraphConservative): do not call fitToSize
11592         (fitToSize): remove method
11593
11594         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11595
11596 2001-06-24  The LyX Project  <Asger>
11597
11598         * Fix Qt compilation^2
11599
11600 2001-06-24  The LyX Project  <jug@sad.it>
11601
11602         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11603         depthHook(getDepth()-1).
11604
11605         * paragraph.h:
11606         * ParagraphParameters.h:
11607         * ParameterStruct.h: change type of depth to unsigned int ==
11608         depth_type. Many adaptations to other files before of that.
11609
11610 2001-06-24  The LyX Project  <Asger>
11611
11612         * Fix Qt compilation.
11613
11614 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11615
11616         * paragraph.h: renamed several methods to begin with small letter.
11617         several changes to many parts of the code because of this.
11618
11619 2001-06-23  The LyX Project  <jug@sad.it>
11620
11621         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11622         rewritten to discard all double spaces when KeepEmpty is off
11623         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11624         to only handle newlines but not fiddle with spaces and friends.
11625
11626         * lyxfunc.C (MenuNew): when doing 'new from template', use
11627         template_path as default directory
11628
11629 2001-06-23  The LyX Project  <Asger>
11630
11631         * Clean-up of header file includes all over
11632         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11633
11634 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11635
11636         * paragraph.h: renamed from lyxparagraph.h
11637
11638 2001-06-23  Asger  <lyx@violet.home.sad.it>
11639
11640         * Buffer.h: Removed Buffer::resize
11641         * BufferList.h: Removed BufferList::resize
11642         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11643         the document lazily when we change the width, or the font settings.
11644
11645 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11646
11647         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11648
11649 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11650
11651         * buffer.h: remove out of date comment
11652
11653 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11654
11655         * lyxscreen.h:
11656         * screen.C: fix "theoretical" GC leak
11657
11658 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11659
11660         * LaTeX.C (scanAuxFile):
11661         (deplog): remove trailing \r when reading stream (useful under
11662         win32)
11663
11664 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11665
11666         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11667         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11668         and BufferView::theLockingInset(Inset*), so should use them and not
11669         access bv_->text->the_locking_inset directly.
11670
11671         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11672
11673 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11674
11675         * Makefile.am:
11676         * tex-defs.h: remove old unused file
11677
11678 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11679
11680         * BufferView_pimpl.C: fix typo, remove minibuffer message
11681           when buffer has loaded
11682
11683 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11684
11685         * lyxfunc.C (Dispatch): use stringstream
11686         (MenuNew): use stringstream
11687         (Open): use stringstream
11688
11689         * importer.C (Import): use stringstream
11690
11691         * bufferview_funcs.C (CurrentState): use stringstream
11692
11693         * LaTeX.C (run): use stringstream
11694
11695         * BufferView_pimpl.C (savePosition): use stringstream
11696         (restorePosition): use stringstream
11697         (MenuInsertLyXFile): use stringstream
11698
11699 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11700
11701         * BufferView.C:
11702         * Bullet.C:
11703         * ColorHandler.C:
11704         * FontInfo.C:
11705         * FontLoader.C:
11706         * LColor.C:
11707         * LaTeXFeatures.C:
11708         * Painter.C:
11709         * gettext.C:
11710         * lyx_gui_misc.C:
11711         * lyxserver.C:
11712         * vspace.C: removed // -*- C++ -*- as first line.
11713
11714         * lyxfind.h:
11715         * version.h: added // -*- C++ -*- as first line.
11716
11717 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11718
11719         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11720
11721         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11722         of string
11723
11724 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11725
11726         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11727         of floats.
11728
11729 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11730
11731         * gettext.C: include LString.h even when --disable-nls is on.
11732
11733 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11734
11735         * converter.h (Get): changed argument type from int to
11736         FormatList::size_type to avoid unnecessary conversion.
11737
11738         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11739         before using it.
11740
11741 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11742
11743         * gettext.h: include LString.h even when --disable-nls is on.
11744
11745 2001-06-07  Juergen Vigna  <jug@sad.it>
11746
11747         * text.C (BreakAgain): subst spaces with tabs.
11748
11749         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11750         (resizeInsetsLyXText): set force on resizeLyXText.
11751
11752 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11753
11754         * gettext.h (gettext_init):
11755         (locale_init): use a real definition instead of a macro
11756
11757 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11758
11759         * Bufferview_pimpl.C:
11760         * LColor.h:
11761         * LColor.C: further lcolor tidies
11762
11763 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11764
11765         * BufferView_pimpl.C (updateScrollbar): simplify.
11766
11767         * BufferView2.C: don't include insets/insetinfo.h, change
11768         prototype for insertInset and call the Pimpl version. let
11769         updateInset call Pimpl version.
11770
11771         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11772         gotoInset to BufferView::Pimpl
11773
11774 2001-06-01  Juergen Vigna  <jug@sad.it>
11775
11776         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11777         inside a LockingInset (is the update needed at all?).
11778
11779 2001-05-31  Juergen Vigna  <jug@sad.it>
11780
11781         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11782         here not the old one otherwise how should we compare it afterwards
11783         if it's the same!
11784
11785 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11786
11787         * lyxfont.C:
11788         * tabular.C:
11789         * tabular-old.C:
11790         * FontInfo.C: bring C functions into global namespace when
11791         necessary
11792
11793 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11794
11795         * LString.h: make sure config.h has been loaded before LString.h.
11796
11797         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11798         (one for each char read by EatLine!).
11799
11800         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11801         variables.
11802
11803 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11804
11805         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11806         to the same as the par we break from
11807
11808 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11809
11810         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11811
11812         * MenuBackend.C (expand): also create menu entries for wide
11813         versions of the floats.
11814
11815         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11816
11817         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11818
11819         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11820         frontends/Makefile.am
11821
11822         * text2.C: adjust
11823         * text.C: adjust
11824
11825
11826         * tabular.C (getTokenValue): add std::
11827
11828         * tabular-old.C (getTokenValue): add std::
11829         (getTokenValue): ditto
11830         (getTokenValue): ditto
11831
11832         * screen.C (ToggleSelection): adjust
11833
11834         * lyxtext.h: put selection cursors inside a Selection struct.
11835
11836         * lyxfunc.C (moveCursorUpdate): adjust
11837
11838         * lyxfont.C (latexWriteStartChanges): add std::
11839
11840         * lyxfind.C: adjust
11841
11842         * font.h: delete with(char const *, LyXFont const &)
11843
11844         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11845
11846         * FontInfo.C (getFontname): add std::
11847
11848         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11849         (workAreaButtonPress): adjust
11850         (tripleClick): adjust
11851         (update): adjust
11852         (moveCursorUpdate): adjust
11853         (Dispatch): adjust
11854
11855         * BufferView2.C (gotoInset): adjust
11856
11857 2001-05-30  Juergen Vigna  <jug@sad.it>
11858
11859         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11860         to check pspell I add this as default as I now have new pspell
11861         libraries and they seem to use this.
11862
11863 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11864
11865         * text2.C (CutSelection): make the cursor valid before the call to
11866         ClearSelection.
11867
11868 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11869
11870         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11871         relied on 0 terminated strings and other horrors. Bug found due to
11872         the new assert in lyxstring!
11873
11874         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11875         KP_ keys.
11876
11877 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11878
11879         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11880         to latinkeys.bind.
11881
11882         * lyxfunc.C (processKeySym): change method of getting to the
11883         self-insert char.
11884
11885         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11886         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11887         * BufferView_pimpl.[Ch]: here as private methods.
11888
11889 2001-05-28  Juergen Vigna  <jug@sad.it>
11890
11891         * text.C (SetHeightOfRow): added the update() call again as it is
11892         needed to initialize inset dimensions!
11893
11894 2001-05-16  Juergen Vigna  <jug@sad.it>
11895
11896         * text2.C (SetCharFont): Add new function with BufferView * and
11897         bool toggleall parameters for setting insets internal fonts.
11898         (SetFont): Freeze the undo as we may change fonts in Insets and
11899         all this change should be inside only one Undo!
11900
11901         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11902         setting font's in insets as for them we have the SetFont function!
11903
11904 2001-05-15  Juergen Vigna  <jug@sad.it>
11905
11906         * text2.C (ClearSelection): to be sure we REALLY don't have any
11907         selection anymore!
11908
11909         * tabular.C (TeXCellPreamble): fixed the left border problem for
11910         multicolumn cells.
11911
11912 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11913
11914         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11915         dependancy file
11916
11917 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11918
11919         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11920         LFUN_BREAKPARAGRAPH.
11921
11922         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11923         help test to "internal only", similar for LFUN_INSERT_URL
11924
11925         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11926         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11927         auto_region_delete and deadkeys.
11928
11929 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11930
11931         * LColor.h:
11932         * LColor.C: remove some dead entries, tidy a little
11933
11934 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11935
11936         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11937         commented code.
11938         (Dispatch): implement LFUN_ESCAPE
11939
11940         * commandtags.h: add LFUN_ESCAPE
11941
11942         * LyXAction.C (init): add entry for LFUN_ESCAPE
11943
11944         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11945         Remove commented code.
11946         (insertNote): moved here
11947         (open_new_inset): moved here
11948
11949         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11950         BufferView_pimpl
11951
11952 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11953
11954         * kbmap.C (findbinding): clean it up and make it work correctly.
11955
11956         * lyx_main.C (init): do not pass argc and argv as parameters
11957
11958 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11959
11960         * buffer.C: fix path for OS/2 & Win32
11961
11962         * lyx_gui.C:
11963         * lyx_main:
11964         * lyx_main.C: Added os:: class.
11965
11966         * os2_defines.h: update
11967
11968 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11969
11970         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11971         better by trying again with reduced state.
11972
11973 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11974
11975         * lyxrc.C (read): print error about invalid key sequence only when
11976         debugging (because not all latinX keysyms are known to some X
11977         servers)
11978
11979         * kbsequence.C (getiso): add a few std:: qualifiers
11980         (getiso): comment out extra return statement.
11981
11982 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11983
11984         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11985         handling.
11986         (Dispatch): enhance the accent inset a bit. (not perfect)
11987
11988 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11989
11990         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11991
11992 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11993
11994         * bufferlist.C (emergencyWrite): fix assert() call
11995
11996 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11997
11998         * text.C (InsertChar): Added trivial patch to only send the "you
11999         can not do multiple spaces this way" message once during a
12000         session.
12001
12002 2001-05-08  Baruch Even  <baruch@lyx.org>
12003
12004         * Makefile.am: Changed order of libraries to get LyX to link properly
12005         with the gnome frontend.
12006
12007 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12008
12009         * LaTeXFeatures.h: add a std:: qualifier
12010
12011 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12012
12013         * paragraph.C (String): use stringstream
12014
12015 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12016
12017         * paragraph.C (writeFile): remove footflag arg
12018
12019         * buffer.C (makeLaTeXFile): use stringstream
12020         (latexParagraphs): remove footnot gurba
12021
12022         * LaTeXFeatures.C (getPackages): use stringstream
12023         (getMacros): likewise
12024         (getTClassPreamble): likewise
12025         (getFloatDefinitions): new method
12026
12027         * paragraph.C (writeFile): reindent
12028         (Erase): reindent
12029
12030         * WorkArea.h: revert the xpos + etc changes.
12031
12032         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12033
12034         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12035
12036         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12037         (pasteSelection): likewise
12038         * text2.C (CreateUndo): likewise
12039
12040 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12041
12042         * minibuffer.C (peek_event): temporarily reduce the functionality
12043         of the minibuffer (to allow args on lfuns)
12044
12045         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12046         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12047
12048         * buffer.C (readInset): add compability reading of old float
12049         lists, add reading of new style float list.
12050         (readInset): avoid reevaluation of inscmd.getCmdName()
12051         (getLists): reindent
12052
12053         * MenuBackend.C (MenuItem): implement parsing of
12054         md_floatlistinsert and md_floatinsert.
12055         (expand::LastFiles): move initalizaton of iterators out of loop,
12056         avoid reevaluation.
12057         (expand::Documents): introduce typdedef vector<string> Strings,
12058         and use it.
12059         (expand::ExportFormats): introduce typedef vector<Format const *>
12060         Formats, and use it.
12061         (expand): implement FloatListInsert and FloatInsert.
12062
12063         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12064         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12065         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12066
12067         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12068         handling.
12069         (Dispatch::LFUN_FLOAT_LIST): implement
12070
12071 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12072
12073         * LaTeX.C (run): Fix problem with --export code.
12074
12075 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12076
12077         * BufferView.[Ch] (workarea): removed.
12078         (getClipboard) new method; wrapper for workarea()->getClipboard()
12079
12080         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12081         bug.
12082
12083         * WorkArea.h (width, height, xpos, ypos): These methods all
12084         returned the dimensions of the work_area sub-area of WorkArea,
12085         resulting in a position error if the WorkArea were resized. Now
12086         return the dimensions of the entire WorkArea.
12087
12088         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12089
12090 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12091
12092         * LaTeX.C (deplog): correct the syntax of regex reg1
12093
12094 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12095
12096         * undo.C: remove !NEW_INSETS cruft
12097
12098 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12099
12100         * text2.C: remove !NEW_INSETS cruft
12101
12102         * text.C: remove !NEW_INSETS cruft
12103
12104         * tabular.C: remove !NEW_INSETS cruft
12105
12106         * spellchecker.C: remove !NEW_INSETS cruft
12107
12108         * lyxtext.h: remove !NEW_INSETS cruft
12109
12110         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12111
12112         * lyxfunc.C: remove !NEW_INSETS cruft
12113
12114         * lyxfind.C: remove !NEW_INSETS cruft
12115
12116         * lyx_cb.C: remove !NEW_INSETS cruft
12117
12118         * figureForm.C: remove  !NEW_INSETS cruft
12119
12120         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12121
12122         * buffer.[Ch]: remove !NEW_INSETS cruft
12123
12124         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12125
12126         * CutAndPaste.C: remove !NEW_INSETS cruft
12127
12128         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12129
12130         * BufferView2.C: remove !NEW_INSETS cruft
12131
12132         * BufferView.h: remove !NEW_INSETS cruft
12133
12134 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12135
12136         * Lsstream.h: include LString.h before the sstream headers to
12137         fix problem with gcc 2.95.3 and lyxstring
12138
12139 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12140
12141         * lyx_main.C: add using directives when needed for C functions
12142         declared in std:: namespace.
12143
12144 2001-04-27  Juergen Vigna  <jug@sad.it>
12145
12146         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12147         (SetHeightOfRow): comment out the update call should not be needed!
12148
12149 2001-04-13  Juergen Vigna  <jug@sad.it>
12150
12151         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12152         (LyXTabular): tried to minimize operator= operations (and realized
12153         hopfully Lars wish).
12154
12155 2001-04-27  Juergen Vigna  <jug@sad.it>
12156
12157         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12158
12159 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12160
12161         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12162
12163         * buffer.C (readInset): hack to make listof algorithm work
12164
12165         * BufferView_pimpl.C: hack to make listof algorithm work
12166
12167 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12168
12169         * LyXAction.C: removed all !NEW_INSETS cruft
12170         (init): moved lfun_item in method
12171
12172         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12173
12174 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12175
12176         * BufferView2.C (theLockingInset): white space.
12177
12178 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12179
12180         * minibuffer.C: include <iostream>
12181
12182         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12183
12184         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12185
12186         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12187
12188         * text.[Ch] (TransposeChars): new method
12189
12190 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12191
12192         * call message directly through LyXView instead of through LyXFunc
12193         * BufferView2.C: adjust
12194         * BufferView_pimpl.C: adjust
12195         * FontLoader.C: adjust
12196         * buffer.C: adjust
12197         * bufferview_funcs.C: adjust
12198         * converter.C: adjust
12199         * figureForm.C: adjust
12200         * importer.C: adjust
12201         * lyx_cb.C: adjust
12202         * lyx_gui_misc.C: adjust
12203         * lyxfunc.C: adjust
12204         * lyxvc.C: adjust
12205         * text2.C: adjust
12206         + more files in subdirs
12207
12208         * lyxparagraph.h (size): move up int file
12209         (GetLayout): ditto
12210
12211         * adjust all uses of Assert to lyx::Assert.
12212
12213         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12214         lyxfunctional in namespace lyx
12215         * layout.C (hasLayout): ditto
12216         (GetLayout): ditto
12217         (GetLayout): ditto
12218         (delete_layout): ditto
12219         (NumberOfClass): ditto
12220         * converter.C (GetFormat): ditto
12221         (GetNumber): ditto
12222         (Add): ditto
12223         (Delete): ditto
12224         (SetViewer): ditto
12225         * bufferlist.C (getFileNames): ditto
12226         (emergencyWriteAll): ditto
12227         (exists): ditto
12228         (getBuffer): ditto
12229         * MenuBackend.C (hasSubmenu): ditto
12230         (hasMenu): ditto
12231         (getMenu): ditto
12232         * BufferView_pimpl.C (getInsetByCode): ditto
12233
12234 2001-04-18  Juergen Vigna  <jug@sad.it>
12235
12236         * vspace.C (asLatexString): fixed the 100% problem.
12237
12238 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12239
12240         * lyxfunc.C (Dispatch):
12241         * minibuffer.C:
12242         * minibuffer.h: add a few std:: qualifiers
12243
12244 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12245
12246         * minibuffer.[Ch]: reimplement so that commands is initiated and
12247         run from lyxfunc, simplified som handling, and made the completion
12248         and history code for complete. wip.
12249
12250         * lyxfunc.C (processKeySym): call message
12251         (miniDispatch): new temporary method
12252         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12253         (LFUN_MESSAGE): implement
12254         (LFUN_MESSAGE_PUSH): implement
12255         (LFUN_MESSAGE_POP): implement
12256         (initMiniBuffer): the initial/defualt minibuffer message.
12257
12258         * lyxfont.[Ch]: inline some more getters
12259
12260         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12261
12262         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12263
12264         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12265         (AutoSave): use LFUN_MESSAGE
12266         (Reconfigure): ditto
12267
12268         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12269
12270         * figureForm.C: use LFUN_MESSAGE
12271
12272         * converter.C (runLaTeX): use LFUN_MESSAGE
12273
12274         * bufferview_funcs.C: use LFUN_MESSAGE
12275         (Melt): ditto
12276         (changeDepth): ditto
12277
12278         * bufferparams.h: use boost::
12279
12280         * bufferlist.h: inherit privately from noncopyable
12281
12282         * bufferlist.C (loadLyXFile): remove some commented code.
12283
12284         * buffer.C (runChktex): use LFUN_MESSAGE
12285
12286         * ShareContainer.h: inherit privately from noncopyable
12287
12288         * ParagraphParameters.[hC] (depth): inline it.
12289
12290         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12291         methods.
12292         (message): new method
12293         (messagePush): ditto
12294         (messagePop): ditto
12295         (show): init minibuffer
12296         (showState): direct call
12297
12298         * LaTeX.[Ch]: inherit privately from noncopyable
12299         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12300         instead of WriteStatus.
12301
12302         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12303
12304         * BufferView_pimpl.C (buffer): don't init minibuffer
12305         (workAreaButtonPress): use LFUN_MESSAGE
12306         (workAreaButtonRelease): ditto
12307         (savePosition): ditto
12308         (restorePosition): ditto
12309         (MenuInsertLyXFile): ditto
12310         (workAreaExpose): don't init minibuffer
12311         (update): remove commented code, simplify
12312
12313         * BufferView2.C (openStuff): use LFUN_MESSAGE
12314         (toggleFloat): ditto
12315         (menuUndo): ditto
12316         (menuRedo): ditto
12317         (copyEnvironment): ditto
12318         (pasteEnvironment): ditto
12319         (copy): ditto
12320         (cut): ditto
12321         (paste): ditto
12322         (gotoInset): ditto
12323         (updateInset): remove some commented code
12324
12325         * lastfiles.h: inherit privately from noncopyable
12326         * layout.h: ditto
12327         * lyx_gui.h: ditto
12328         * lyx_main.h: ditto
12329         * lyxlex.h: ditto
12330         * lyxlex_pimpl.h: ditto
12331
12332         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12333         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12334         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12335
12336         * LyXAction.h: inherit privately from noncopyable, add methods
12337         func_begin, func_end, returning iterators to the func map.
12338
12339         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12340         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12341         (func_begin): new method
12342         (func_end): new method
12343
12344         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12345         and not)
12346         (copySelection): ditto
12347         (pasteSelection): ditto
12348
12349         * BufferView.C: whitespace change
12350         * BufferView.h: inherit privately from noncopyable
12351
12352 2001-04-16  Allan Rae  <rae@lyx.org>
12353
12354         * tabular-old.C (l_getline):
12355         * spellchecker.C (sc_check_word):
12356         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12357         an unrecognised preprocessor directive.  So ensure they're wrapped.
12358
12359 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12360
12361         * src/exporter.C (Export): Give an error message when path to file
12362         contains spaces.
12363
12364 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12365
12366         * LaTeX.C (deplog): Always check that foundfile exists.
12367
12368 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12369
12370         * lyx_main.h:
12371         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12372
12373 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12374
12375         * tabular.[Ch] (getLabelList): implement new method
12376
12377         * minibuffer.h: comment ouf setTiimer
12378
12379         * minibuffer.C (ExecutingCB): constify res
12380         (peek_event): constify s
12381         (Set): constify ntext
12382         (Init): constify nicename
12383
12384         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12385
12386         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12387         (savePosition): use two params to Minibuffer::Set
12388         (restorePosition): ditto
12389
12390 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12391
12392         * lyx_main.C: include language.h
12393
12394         * Makefile.am (lyx_main.o): add language.h
12395
12396 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12397
12398         * exporter.C:
12399         * paragraph.C:
12400         * screen.C:
12401         * tabular.C:
12402         * CutAndPaste.C: include gettext.h
12403
12404         * lyxfont.h: remove old hack with ON and OFF.
12405
12406         * lyxparagraph.h:
12407         * lyxfont.h: do not include language.h...
12408
12409         * BufferView2.C:
12410         * LaTeXFeatures.C:
12411         * Painter.C:
12412         * bufferview_funcs.C:
12413         * font.C:
12414         * lyxfont.C:
12415         * text.C:
12416         * text2.C:
12417         * trans_mgr.C:
12418         * paragraph.C: ... but do it here instead
12419
12420 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12423
12424         * tabular.C: small reformat
12425
12426         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12427         NEW_INSETS version
12428         (GetChar): ditto
12429         (BreakParagraph): ditto
12430         (SetOnlyLayout): ditto
12431         (SetLayout): ditto
12432
12433         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12434         with one arg less.
12435
12436         * lastfiles.C: removed most using decl, add std:: where needed
12437
12438         * buffer.C: ws changes
12439
12440         * MenuBackend.C (class compare_format): put into anon namespace
12441         (expand): constify label, names, action, action2
12442         (expand):
12443
12444         * text.C (SingleWidth): constify font
12445         (IsBoundary): constify rtl2
12446         (GetVisibleRow): constify ww
12447
12448         * LaTeX.C (deplog): constify logfile
12449
12450         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12451         start_x, end_x
12452         (workAreaExpose): constify widthChange, heightChange
12453
12454         * lyxrow.C (par): moved
12455         (height): moved
12456         (next): moved
12457         * lyxrow.h: as inlines here
12458
12459         * lyxfont.h (shape): moved from lyxfont.C
12460         (emph): moved from lyxfont.C
12461
12462         * lyxfont.C (LyXFont): use initialization list for all
12463         constructors
12464         (shape): move to lyxfont.h as inline
12465         (emph): move to lyxfont.h as inline
12466
12467
12468 2001-04-04  Juergen Vigna  <jug@sad.it>
12469
12470         * vspace.C: had to include stdio.h for use of sscanf
12471
12472 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12473
12474         * BufferView.h:
12475         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12476         independent of xforms.
12477
12478 2001-04-02  Juergen Vigna  <jug@sad.it>
12479
12480         * spellchecker.C: fixed namespace placing!
12481
12482 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12483
12484         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12485         the LyXParagraph * is 0.
12486
12487 2001-03-29  Juergen Vigna  <jug@sad.it>
12488
12489         * vspace.C: added support for %, c%, p%, l%.
12490         (stringFromUnit): added helper function.
12491         (asLatexString): changed to give right results for the %-values.
12492
12493         * buffer.C: convert the widthp in a width%.
12494
12495 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12496
12497         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12498         figureForm.[Ch].
12499
12500         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12501         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12502
12503         * lyx_cb.[Ch]: see above.
12504
12505         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12506         form1.[Ch].
12507
12508         * form1.[Ch]:
12509         * lyx.[Ch]: replaced by figure_form.[Ch].
12510
12511         * lyx_gui.C:
12512         * lyx_gui_misc.C:
12513         * lyxfunc.C: changed headers associated with above changes.
12514
12515 2001-03-27  Juergen Vigna  <jug@sad.it>
12516
12517         * BufferView_pimpl.C: set the temporary cursor right!
12518
12519 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12520
12521         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12522
12523 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12524
12525         * LString.h: removed "using std::getline"!
12526
12527         * BufferView_pimpl.C (Dispatch): changes due to changes in
12528         InsetInclude::Params.
12529
12530         * buffer.C (tag_name): removed redundant break statements as they were
12531         producing lots of warnings with my compiler.
12532
12533 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12534
12535         * LString.h: add "using std::getline" when using the real <string>.
12536
12537 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12538
12539         * buffer.C: removed bitset usage.
12540         PAR_TAG moved to an anonymous name space.
12541         (tag_name): new funtion, also in the anonymous namespace.
12542         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12543         (makeDocBookFile): clean code. Completed transition from string arrays
12544         to string vectors.
12545         (SimpleDocBookOnePar): code clean.
12546
12547 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12548
12549         * tabular.C: add some comments.
12550
12551 2001-03-22  Juergen Vigna  <jug@sad.it>
12552
12553         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12554         compatibility read a bit and fixed bug with minipage in different
12555         depth.
12556
12557 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12558
12559         * buffer.C (pop_tag): removed.
12560         (push_tag): removed.
12561         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12562         array replaced with vector. Added support for CDATA sections.
12563         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12564         at any nest level.
12565         (makeDocBookFile): XML conformant declaration of CDATA section,
12566         fixed bug related to <emphasis> in the first paragraph char.
12567         (sgmlOpenTag): exclude empty tags.
12568         (sgmlCloseTag): ditto.
12569
12570         * buffer.h (pop_tag): removed.
12571         (push_tag): removed.
12572
12573 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12574
12575         * language.h (Languages): added size_type and size().
12576
12577 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12578
12579         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12580         response on compability reading of minipages. One probliem is that
12581         the old usage of minipages was «flertydig»
12582
12583         * several files here and in subdirs: don't use static at file
12584         scope use anon namespaces instead.
12585
12586 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12587
12588         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12589         LaTeX output. This is necessary for Literate document
12590         processing.
12591
12592 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12593
12594         * buffer.C: insert hfill when needed.
12595
12596         * tabular.C (l_getline): use string::erase, small whitespace change.
12597
12598         * BufferView_pimpl.C: try the anon namespace.
12599         * WorkArea.C: ditto
12600
12601 2001-03-16  Juergen Vigna  <jug@sad.it>
12602
12603         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12604         otherwise it won't open options-dialogs.
12605
12606         * buffer.C: honor pextraWidth(p) on converting minipages.
12607
12608         * tabular.C (l_getline): changed the functions to strip trailing \r.
12609
12610 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12611
12612         * BufferView_pimpl.C:
12613         * minibuffer..C: added "using SigC::slot" declaration.
12614
12615 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12616
12617         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12618
12619         * text2.C: ditto
12620
12621         * text.C: ditto
12622
12623         * paragraph.C: ditto
12624
12625         * lyxtext.h: NO_PEXTRA
12626
12627         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12628
12629         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12630         * ParameterStruct.h: ditto
12631         * ParagraphParameters.h: ditto
12632         * lyxparagraph.h: ditto
12633
12634 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12635
12636         * buffer.C: add compability for minipage alignment.
12637         (latexParagraphs): remove unwanted pextra check.
12638
12639         * several files: remove CXX_WORKING_NAMESPACES
12640
12641         * buffer.C (pop_tag): tie is in namespace boost
12642
12643         * BufferView.h: noncopyable is in namespace boost
12644         * lyxlex.h: ditto
12645         * lyx_main.h: ditto
12646         * lyx_gui.h: ditto
12647         * layout.h: ditto
12648         * lastfiles.h: ditto
12649         * bufferlist.h: ditto
12650         * ShareContainer.h: ditto
12651         * LyXView.h: ditto
12652         * LyXAction.h: ditto
12653         * LaTeX.h: ditto
12654
12655 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12656
12657         * Merging changes from BRANCH_MVC back into HEAD.
12658
12659         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12660
12661 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12662
12663         * BufferView_pimpl.C: change from intl.C
12664
12665         * combox.h:
12666         * combox.C:
12667         * Makefile.am: move combox.*
12668
12669         * form1.h:
12670         * form1.C:
12671         * lyx_gui.C:
12672         * intl.h:
12673         * intl.C: remove dialog (covered by prefs)
12674
12675 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12676
12677         * lyxfunc.C (Dispatch): removed redundant break statement.
12678
12679 2001-03-14  Juergen Vigna  <jug@sad.it>
12680
12681         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12682
12683 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12684
12685         * buffer.C: add hack to fix compability reading of minipages.
12686
12687 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12688
12689         * buffer.C (getLists): Cleanup.
12690
12691 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12692
12693         * lyxfont.C (update): don't honor toggleall on font size.
12694
12695 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12696
12697         * bmtable.c:
12698         * bmtable.h:
12699         * Makefile.am: moved to frontends/xforms/
12700
12701         * lyx_gui_misc.C:
12702         * lyxfunc.C:
12703         * BufferView_pimpl.C: changes for moved mathpanel
12704
12705 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12706
12707         * gettext.h: fix gettext_init() in --disable-nls
12708
12709 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12710
12711         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12712
12713 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12714
12715         * lyx.C:
12716         * lyx.h: strip external form
12717
12718 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12719
12720         * BufferView_pimpl.C: add comment, destroySplash()
12721
12722 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * BufferView_pimpl.C:
12725         * LyXAction.C:
12726         * buffer.C:
12727         * commandtags.h:
12728         * lyxfunc.C: use re-worked insetinclude
12729
12730 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12731
12732         * buffer.C: add using std::stringstream.
12733
12734         * lyx_cb.C: readd using std::ios.
12735
12736         * buffer.C: add using std::map.
12737
12738         * BufferView_pimpl.C: add using std::vector.
12739
12740         * ShareContainer.h: add std:: to swap.
12741
12742         * buffer.h: add some typedefs
12743         * buffer.C (getLists): use them
12744         (getLists): renamed from getTocList.
12745         add a counter for the different float types and use it in the
12746         generated string.
12747         (getLists): use the same counter for the NEW_INSETS and the "non"
12748         NEW_INSETS
12749
12750         * lyx_cb.h: remove unused items, includes, using etc.
12751
12752         * ShareContainer.h: remove some commented code, add more comments
12753         and "documentation".
12754
12755 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12756
12757         * buffer.C (getTocList): make the list also when NEW_INSETS is
12758         defined.
12759
12760         * buffer.h: remove TocType
12761
12762         * buffer.C (getTocList): change to return a map<string,
12763         vector<TocItem> >, implement for dynamic number of list.
12764
12765         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12766         * text2.C (PasteSelection): adjust
12767         * CutAndPaste.C (pasteSelection): adjust
12768
12769         * FloatList.C (FloatList): update from the new_insets branch.
12770         * Floating.[Ch]: ditto
12771         * LaTeXFeatures.C: ditto
12772         * buffer.C: ditto
12773         * lyxlex_pimpl.C: ditto
12774
12775         * paragraph.C (Last): remove when NEW_INSETS is defined.
12776
12777         * other file: changes because of the above.
12778
12779 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12780
12781         * lyxparagraph.h: rename next to next_, previous to previous_,
12782         make them private for NEW_INSETS. Rename Next() to next(),
12783         Previous() to previous().
12784
12785         * other files: changes because of the above.
12786
12787 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12788
12789         * BufferView.h:
12790         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12791         problem.
12792
12793 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12794
12795         * main.C (main): pass lyx_localedir to gettext_init().
12796
12797         * gettext.h: remove locale_init and gettext_init macros
12798
12799         * gettext.C (locale_init): new function
12800         (gettext_init): new function
12801
12802         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12803         setlocale().
12804
12805 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12806
12807         * Moved credits to frontends:
12808         * credits.[Ch]: removed
12809         * credits_form.[Ch]: removed
12810         * lyx_gui_misc.C: remove credits stuff
12811         * Makefile.am:
12812
12813 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12814
12815         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12816
12817         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12818         unneeded destructor.
12819
12820         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12821         a standalone pointer again.
12822
12823         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12824
12825 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12826
12827         * Makefile.am:
12828         * filedlg.h:
12829         * filedlg.C:
12830         * LyXAction.C:
12831         * ToolbarDefaults.C:
12832         * bufferlist.C:
12833         * commandtags.h:
12834         * form1.C:
12835         * form1.h:
12836         * lyx_cb.C:
12837         * lyx_cb.h:
12838         * lyxfunc.h:
12839         * lyxfunc.C:
12840         * BufferView_pimpl.C: use new file dialog in GUII
12841
12842         * lyx_cb.h:
12843         * lyx_cb.C: remove LayoutsCB to Toolbar
12844
12845 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12846
12847         * ShareContainer.h (get): add std:: qualifier
12848
12849 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12850
12851         * ShareContainer.h: define a proper ShareContainer::value_type
12852         type (and use typename to please compaq cxx)
12853
12854 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12855
12856         * lyxparagraph.h: move serveral local vars to
12857         ParameterStruct/ParagraphParameters., use ShareContainer in
12858         FontTable., make vars in FontTable private and add getter and
12859         setter.
12860
12861         * paragraph.C: changes because of the above.
12862
12863         * lyxfont.h: remove copy constructor and copy assignment. (the
12864         default ones is ok), move number inside FontBits. move inlines to
12865         lyxfont.C
12866
12867         * lyxfont.C: add number to initializaton of statics, move several
12868         inlines here. constify several local vars. some whitespace
12869         cleanup. Dont hide outerscope variables.
12870
12871         * Spacing.h: add two new constructors to match the set methods.
12872
12873         * ShareContainer.h: new file, will perhaps be moved to support
12874
12875         * ParameterStruct.h: new file
12876
12877         * ParagraphParameters.h: new file
12878
12879         * ParagraphParameters.C: new file
12880
12881         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12882         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12883
12884         * BufferView_pimpl.C: ParagraphParameter changes.
12885         * buffer.C: Likewise.
12886         * bufferview_funcs.C: Likewise.
12887         * text.C: Likewise.
12888         * text2.C: Likewise.
12889
12890 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12891
12892         * lyxfind.C (LyXReplace): do not redefine default argument in
12893         implementation.
12894         (IsStringInText): ditto
12895         (SearchForward): ditto
12896         (SearchBackward): ditto
12897
12898 2001-03-06  Juergen Vigna  <jug@sad.it>
12899
12900         * lyxfind.C (IsStringInText): put parentes around expressions.
12901
12902 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12903
12904         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12905
12906 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12907
12908         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12909
12910         * stl_string_fwd.h: add comment
12911
12912         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12913
12914         * tabular.h:
12915         * tabular.C: remove unused DocBook methods
12916
12917         * intl.C:
12918         * language.C:
12919         * paragraph.C:
12920         * buffer.C:
12921         killed DO_USE_DEFAULT_LANGUAGE
12922
12923 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12924
12925         * lyx_gui.C: do not include language.h.
12926
12927         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12928         arguments in function implementation.
12929
12930 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12931
12932         * BufferView_pimpl.C: add <ctime>
12933
12934 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12935
12936         * BufferView_pimpl.C: add using std::find_if
12937
12938 2001-02-27  José Matos  <jamatos@fep.up.pt>
12939
12940         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12941         by OnlyPath.
12942
12943 2001-02-11  José Matos  <jamatos@fep.up.pt>
12944
12945         * buffer.C (makeDocBookFile): command styles now have a parameter as
12946         "title" by default.
12947
12948 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12949
12950         * layout_forms.[Ch]: removed
12951         * lyx_cb.[Ch]: out character
12952         * lyx_gui.C: out character
12953         * lyx_gui_misc.C: out character
12954         * bufferview_funcs.C: : out character,
12955         added toggleall as parameter in ToggleAndShow
12956
12957 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12958
12959         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12960
12961         * text2.C (SetCurrentFont): Disable number property at boundary.
12962
12963 2001-02-26  Juergen Vigna  <jug@sad.it>
12964
12965         * lyxfunc.C (getStatus): added a string argument override function so
12966         that this is correctly called from LyXFunc::Dispatch if it contains a
12967         do_not_use_argument which is used!
12968         (Dispatch): added check for "custom" export and call appropriate func.
12969
12970 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12971
12972         * lyxrc.C: Add language_command_local, language_use_babel and
12973         language_global_options.
12974
12975         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12976
12977         * buffer.C (makeLaTeXFile): Use language_use_babel and
12978         language_global_options.
12979
12980 2001-02-23  Juergen Vigna  <jug@sad.it>
12981
12982         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12983         which works with LyXText and putted it inside BufferView. Here now we
12984         only call for that part the BufferView::Dispatch() function.
12985
12986         * BufferView.C (Dispatch): added.
12987
12988         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12989         functions which needs to use a LyXText over from LyXFunc.
12990         (MenuInsertLyXFile): added
12991         (getInsetByCode): added
12992         (moveCursorUpdate): added
12993         (static TEXT): added
12994
12995 2001-02-22  Juergen Vigna  <jug@sad.it>
12996
12997         * BufferView_pimpl.C (update): call a status update to see if LyXText
12998         needs it.
12999
13000 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13001
13002         * vc-backend.C (revert): implement for CVS
13003         (getLog): implement for CVS
13004
13005 2001-02-20  Juergen Vigna  <jug@sad.it>
13006
13007         * text2.C (ClearSelection): added BufferView param for inset_owner call
13008
13009         * lyxfunc.C (TEXT): added this function and use it instead of
13010         directly owner->view()-text of getLyXText().
13011
13012 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13013
13014         * src/layout_forms.C: out preamble
13015         * src/layout_forms.h: out preamble
13016         * src/lyx_cb.C: out preamble
13017         * src/lyx_cb.h: out preamble
13018         * src/lyx_gui.C: out preamble
13019         * src/lyx_gui_misc.C: out preamble
13020         * src/lyxfunc.C: connect with guii preamble
13021
13022 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13023
13024         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13025
13026 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13027
13028         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13029         whether to run bibtex.
13030
13031 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13032
13033         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13034
13035 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13036
13037         * Makefile.am (lyx_SOURCES): removed bibforms.h
13038
13039         * vspace.h: doxygen
13040
13041         * text.C (GetVisibleRow): make several local vars const
13042
13043         * tabular.C: small cleanup.
13044
13045         * lyxserver.C (callback): use compare instead of strncmp
13046
13047         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13048         inlines to after class or to paragraph.C
13049
13050         * lyxfont.h: remove friend operator!=
13051
13052         * converter.h: move friend bool operator< to non friend and after
13053         class def.
13054
13055         * combox.h: small cleanup
13056
13057         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13058         to inlines after class def.
13059
13060         * buffer.C (pop_tag): use string operations instead of strcmp
13061
13062         * bmtable.c: doxygen, small cleanup
13063
13064         * LaTeX.h: remove friend operator==
13065
13066 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13067
13068         * screen.C:
13069         * lyxrc.[Ch]:
13070         * lyxfunc.C:
13071         * lyxfont.[Ch]:
13072         * lyx_cb.C:
13073         * intl.[Ch]:
13074         * commandtags.h:
13075         * buffer.C:
13076         * WorkArea.[Ch]:
13077         * LyXAction.C:
13078         * BufferView_pimpl.C:
13079         * BufferView.[Ch]: remove cruft
13080
13081 2001-02-14  Juergen Vigna  <jug@sad.it>
13082
13083         * lyxfunc.C: removed #if 0 unused code
13084
13085         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13086
13087         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13088
13089         * text2.C (SetSelection): added a BufferView * parameter
13090
13091 2001-02-13  Juergen Vigna  <jug@sad.it>
13092
13093         * lyxfunc.C (Dispatch): fixed protected blank problem.
13094         * BufferView2.C (protectedBlank): added LyxText * parameter.
13095
13096         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13097         (AppendColumn): same as above for column_info.
13098
13099         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13100         (moveCursorUpdate): use a LyXText param for support of InsetText.
13101
13102         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13103         (tripleClick): ditto
13104
13105         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13106
13107         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13108
13109         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13110
13111         * text2.C (SetSelection): set correct update status if inset_owner
13112         (ToggleFree): ditto
13113
13114 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13115
13116         * tabular.C: remove some commented code.
13117
13118 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13119
13120         * BufferView_pimpl.C: call hideSplash()
13121
13122         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13123
13124         * include_form.h:
13125         * bibforms.h: remove
13126
13127         * lyxfunc.C:
13128         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13129           add LFUN_CHILD_CREATE
13130
13131         * counters.h: fix tiny typo
13132
13133         * lyx_cb.C:
13134         * lyx.h:
13135         * lyx_gui.C:
13136         * lyx.C: move splash to frontends/xforms/
13137
13138         * lyx_gui_misc.C: move Include and Bibform to frontends
13139
13140         * lyxvc.h: clarify comment
13141
13142         * vspace.C: tiny housekeeping
13143
13144 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13145
13146         * text.C (PrepareToPrint): RTL Fix.
13147
13148         * paragraph.C (GetUChar): New method.
13149         (String):  Use GetUChar.
13150
13151         * buffer.C (asciiParagraph): Use GetUChar.
13152
13153 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13154
13155         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13156
13157 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13158
13159         * buffer.h:
13160         * buffer.C: rename to getLogName(), handle
13161           build log / latex log nicely
13162
13163 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13164
13165         * MenuBackend.C:
13166         * MenuBackend.h: remove support for reference menuitem type.
13167
13168 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13169
13170         * BufferView_pimpl.C: housekeeping
13171         * BufferView_pimpl.h:
13172         * LyXView.h:
13173         * Makefile.am:
13174         * Timeout.C:
13175         * Timeout.h:
13176         * minibuffer.h: move Timeout GUI-I
13177
13178 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13179
13180         * lyxrc.C (read): Update converters data-structures.
13181
13182 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13183
13184         * LaTeX.h (operator!=): add operator != for Aux_Info
13185
13186 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13187
13188         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13189
13190         * LaTeXLog.C: deleted, useful code moved to Buffer
13191
13192         * buffer.h:
13193         * buffer.C: new function getLatexLogName()
13194
13195         * lyx_gui_misc.C:
13196         * lyx_gui.C:
13197         * lyxvc.C:
13198         * lyxvc.h:
13199         * lyxfunc.C: use frontends for LaTeX and VC logs
13200
13201 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13202
13203         * LaTeX.h: yet another std:: that Allan forgot.
13204
13205         * Variables.C (set): renamed from isset(), because this clashes
13206         with some HP-UX macros (grr).
13207
13208 2001-02-06  Allan Rae  <rae@lyx.org>
13209
13210         * LaTeX.h: Another bug fix.  Missing std:: this time.
13211
13212 2001-02-04  Allan Rae  <rae@lyx.org>
13213
13214         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13215         floats problem. I've left it commented out because it's not quite
13216         correct.  It should also test that the current object is a table or
13217         figure inset.  But I haven't gotten around to figuring out how to do
13218         that.  I *think* it'll be something like: "table" == inset.type()
13219
13220         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13221         bool.
13222
13223 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13224
13225         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13226         all the citation/databases/styles in the auxilary file.
13227         (run): Rerun latex if there was a babel language error.
13228
13229 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13230
13231         * text.C (Backspace): Preserve the font when changing newline char
13232         with a space.
13233         (BreakParagraph): If the cursor is before a space, delete the space.
13234
13235         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13236
13237 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13238
13239         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13240         new argument (code).
13241         (ChangeCitationsIfUnique): New method.
13242
13243         * paragraph.C (GetPositionOfInset): Handle bibkey.
13244
13245 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13246
13247         * BufferView_pimpl.h: change type of Position::par_pos to
13248         LyXParagraph::size_type.
13249
13250 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13251
13252         * BufferView_pimpl.C (savePosition, restorePosition): Write
13253         messages to minibuffer.
13254
13255 2001-01-28  José Matos  <jamatos@fep.up.pt>
13256
13257         * buffer.C (makeDocBookFile): adds support for document language.
13258         A silly restriction on the name of LatexCommand types where removed.
13259         Added support for CDATA sections, allows to chars unescaped, used
13260         among others in code, to avoid escape < and >.
13261
13262 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13263
13264         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13265         saved positions instrad of a stack. Furthermore, a position is
13266         stored using paragraph id/paragraph position.
13267
13268         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13269         Remove LFUN_REF_BACK.
13270
13271 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13272
13273         * converter.C (dvipdfm_options): New method.
13274
13275 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13276
13277         * vspace.C (isValidLength): Fix for empty input string.
13278
13279 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13280
13281         * LyXAction.C (init): change description of LFUN_FIGURE to
13282         "Insert Graphics"
13283
13284 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13285
13286         * LaTeX.C: add using directive
13287
13288 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13289
13290         * MenuBackend.C (expand): Fix the sorting of the formats.
13291
13292 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13293
13294         * lyx_main.C: tiny error message fix
13295
13296 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13297
13298         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13299         calling fl_initialize(). This fixes the problem with ',' as
13300         decimal separator in text files.
13301
13302 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13303
13304         * trans.C (process): Fix the keymap bug.
13305
13306 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13307
13308         * LaTeX.C (scanAuxFiles): New method. Provides support for
13309         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13310         (scanLogFile) Scan for "run BibTeX" messages.
13311
13312         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13313         OT1 font encoding. Also, load the aecompl package if the ae
13314         package is loaded.
13315
13316         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13317
13318 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13319
13320         * texrow.C (increasePos): turn two error messages into debug
13321         messages.
13322
13323 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13324
13325         * LaTeX.C (scanAux): Handle the \@input macro.
13326         (runBibTeX): Use scanAux().
13327
13328         * language.C (latex_options_): New field.
13329
13330         * LaTeXFeatures.C (getMacros): Add language macros.
13331
13332         * buffer.C (makeLaTeXFile): Small fix.
13333
13334 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13335
13336         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13337
13338         * text2.C: add a using directive.
13339
13340 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13341
13342         * BufferView2.C:
13343         * lyx_gui_misc.h:
13344         * lyxfr1.C:
13345         * lyxfunc.C: kill LyXBell.
13346
13347 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13348
13349         * text.C (IsBoundary): Remove the error message
13350
13351         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13352
13353         * lyxrc.C (setDefaults): Correct initialization value for
13354         font_norm_type.
13355
13356 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13357
13358         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13359         gotoError().
13360
13361         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13362         and GotoNextNote().
13363
13364         * src/LyXAction.C: Added reference-next.
13365
13366         * text.C (InsertChar): Use contains instead of strchr.
13367
13368         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13369
13370 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13371
13372         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13373         alignment commands (when needed).
13374
13375         * text.C (InsertChar): Add ':' to number separator chars.