]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
refrain from computing width in setHeightOfRow as this happens already
[lyx.git] / src / ChangeLog
1
2 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3
4         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5
6 2003-10-23  André Pönitz  <poenitz@gmx.net>
7         
8         * RowList_fwd.h: change list<> to vector<> to gain speed
9         after suggestion from Alfredo
10
11 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
12
13         * lyxtext.h: move the bidi stuff from here...
14         * text.C: and here
15         * text2.C: and here
16         * Bidi.[Ch]: ... to here
17
18 2003-10-23  André Pönitz  <poenitz@gmx.net>
19
20         * lyxtext.h:
21         * text.C (isLastRow, isFirstRow): new functions
22
23         * paragraph.h: new width cache member
24
25         * rowpainter.C: replace RowList::iterator with Row & where possible
26
27         * lyxfunc.C: replace several view()->text with a single call
28
29         * toc.C: fix 'unused' warning
30
31 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
32
33         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
34         when woring with stream::pos_type
35         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
36
37 2003-10-22  André Pönitz  <poenitz@gmx.net>
38
39         * lyxtext.h:
40         * text.C: use Row & instead of RowList::iterator
41
42         * lyxrow.h: rename end() to endpos()
43
44         * rowpainter.C:
45         * text.C:
46         * text2.C: adjust
47
48 2003-10-22  Angus Leeming  <leeming@lyx.org>
49
50         * buffer.[Ch] (fully_loaded): new member function, returning true
51         only when the file has been loaded fully.
52         Used to prevent the premature generation of previews and by the
53         citation inset to prevent computation of the natbib-style label.
54
55         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
56         templates are all set up.
57
58         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
59
60 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
61
62         * text.C: fixed an "oops" in the "is a bit silly"
63         bug fix
64
65 2003-10-21  André Pönitz  <poenitz@gmx.net>
66
67         * FuncStatus.[Ch]: small stuff, whitespace
68
69         * lyxfont.[Ch]: operator<<() for debug reasons
70
71         * lyxfunc.C:
72         * lyxrow_funcs.C:
73         * lyxtext.h: whitespace, spelling
74
75         * paragraph.C: naming of variables
76
77         * text.C:
78         * text2.C: small stuff
79
80
81 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
82
83         * text.C: (1) finish off the inset display() work;
84         (2) fix the "is a bit silly" bug (accessing char
85         past end of par).
86
87 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
88
89         * text.C: re-introduce display() for insets, fixing the
90         various bugs (stretch of line above, math inset
91         positioning, ...)
92
93 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
94
95         * text.C (rightMargin): remove spurious semicolon
96
97         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
98         1415)
99
100 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
101
102         * text3.C: fix one crash due to wrong cursor def
103
104 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
105
106         * vc-backend.C (scanMaster): make the regex static
107
108         * LaTeX.C (scanAuxFile): make the regexs static
109
110         * text3.C (doInsertInset, dispatch, dispatch):
111         * text2.C (cursorUp, cursorDown):
112         * text.C (selectNextWordToSpellcheck):
113         * BufferView_pimpl.C (dispatch):
114         * lyxfunc.C (dispatch):  localDispatch -> dispatch
115
116 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
117
118         * lyxsocket.C: include <cerrno>
119
120 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
121
122         * lyxfunc.C (dispatch): remove textcache stuff
123
124         * bufferlist.C (release): remove textcache stuff
125         (closeAll): ditto
126
127         * TextCache.C: delete file
128         * TextCache.h: delete file
129
130         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
131
132         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
133         delete of the bv_->text.
134         (resizeCurrentBuffer): remove texcache stuff
135         (workAreaResize): ditto
136
137 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
138
139         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
140         action.
141
142 2003-10-16  André Pönitz  <poenitz@gmx.net>
143
144         * lyxrow.[Ch]:
145         * paragraph.h:
146         * rowpainter.C:
147         * text.C:
148         * text2.C:
149         * text3.C: speed up by storing y positions per paragraph plus per-row
150         offset instead of having a 'full' y position in the row.
151
152 2003-10-15  André Pönitz  <poenitz@gmx.net>
153
154         * iterators.[Ch]:
155         * iterators.[Ch]:
156         * undo.[Ch]: make undo aware of inner insets
157
158 2003-10-14  Angus Leeming  <leeming@lyx.org>
159
160         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
161         static member functions LyX::ref() and LyX::cref.
162         (lastfiles): new accessor functions for the new lastfiles_ member var.
163         (addLyXView, views_): add a new LyXView to the list of views_.
164         (updateInset): loop over all LyXViews to call their own updateInset
165         member function, returning a pointer to the Buffer owning the inset.
166
167         * BufferView_pimpl.C (loadLyXFile):
168         * MenuBackend.C (expandLastfiles):
169         * bufferlist.C (MenuWrite, QuitLyX):
170         lastfiles is no longer a global variable.
171         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
172
173         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
174         static function. Access through LyX::cref().emergencyCleanup().
175
176 2003-10-14  André Pönitz  <poenitz@gmx.net>
177
178         * iterators.[Ch]: new direct access to innermost LyXText and Inset
179
180         * undo.[Ch]: restoring part of 'undo in insets'
181
182         * Makefile.am:
183         * undo_funcs.[Ch]: merge with undo.[Ch]
184
185         * tabular.C: small cleansing stuff
186
187 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
188
189         * paragraph_funcs.C (readParToken): report unknown insets as error
190         boxes. Use the outer paragraph as location (also for unknown
191         tokens).
192
193         * factory.C (readInset): do not abort on reading an unknown inset.
194         Eat it and return 0.
195
196 2003-10-13  Angus Leeming  <leeming@lyx.org>
197
198         * lyx_main.C (LyX): remove call to setDisplayTranslator().
199
200         * lyxrc.C: displayTranslator is now a function,
201         declared in GraphicsTypes.h.
202
203 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
204
205         * format.C: new placeholder $$a to pass the socket address.
206
207         * bufferlist.[Ch]: new function getBufferFromTmp.
208
209         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
210           files in the temporary dir.
211
212 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
213
214         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
215
216         * Makefile.am: add lyxsocket.[Ch].
217
218         * lyx_main.C (error_handler): handle SIGPIPE.
219
220 2003-10-13  André Pönitz  <poenitz@gmx.net>
221
222         * BufferView_pimpl.C:
223         * lyxtext.h:
224         * text.C:
225         * text2.C:
226         * text3.C:
227         * undo_funcs.[Ch]: use paroffset_type instead of
228           ParagraphList::iterators to prevent multiple conversion
229           (and get a more robust interface)
230
231 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
232
233         * lyxfunc.C (dispatch): RESULT -> dispatch_result
234         * lyxtext.h: ditto
235         * text3.C (dispatch): ditto
236
237 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
238
239         * LaTeX.C (handleFoundFile): move the static to smaller scope,
240         move the onlyfile, use onlyfile instead of foundfile in a couple
241         of places.
242
243         * DepTable.C (update): flush the error stream a bit more
244
245 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
246
247         * lyxserver.C (callback): adjust
248
249         * lyxfunc.C (getStatus): add a missing brace in commented code
250         (ensureBufferClean): reindent
251         (dispatch): delete version taking a string
252
253 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
254
255         * LaTeX.C (deplog): move found file handlig from here...
256         (handleFoundFile): .. to new function here.
257         (deplog): make sure to discover several files mentioned on the
258         same log line.
259
260 2003-10-10  André Pönitz  <poenitz@gmx.net>
261
262         * lyxfunc.C:
263         * lyxtext.h:
264         * tabular.C:
265         * text.C:
266         * text2.C:
267         * text3.C: fix some of the tabular crashes
268
269 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
270
271         * MenuBackend.C (binding): put debug message into Debug::KBMAP
272
273         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
274
275 2003-10-09  André Pönitz  <poenitz@gmx.net>
276
277         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
278
279         * BufferView.C:
280         * BufferView_pimpl.C:
281         * bufferview_funcs.C:
282         * lyx_cb.C:
283         * lyxcursor.C:
284         * lyxfind.C:
285         * lyxfunc.C:
286         * lyxtext.h:
287         * text.C:
288         * text2.C:
289         * text3.C:
290         * text_funcs.[Ch]:
291         * textcursor.[Ch]:
292         * undo_funcs.C: adjust
293
294 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
295
296         * text2.C (incrementItemDepth): new function, use a backtracking
297         algorithm to discover the correct item depth.
298         (resetEnumCounterIfNeeded): new function, use a backtracking
299         algorithm to discover if counter reset is needed.
300         (setCounter): use them. Simplify a bit. Add different labels for
301         different item depths for itemize.
302
303         * paragraph.C (Paragraph): remove initialization of enumdepth
304         (operator=): ditto
305
306         * paragraph.h: get rid of enumdepth, and use itemdepth both for
307         enumerate and itemize. Change the type of itemdepth to signed char.
308
309 2003-10-08  André Pönitz  <poenitz@gmx.net>
310
311         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
312           thing assignable.
313         * text.C:
314         * text2.C: adjust
315
316         * tabular.[Ch]: fix crash after 'row-insert'
317
318 2003-10-08  Angus Leeming  <leeming@lyx.org>
319
320         Fix doxygen warnings.
321
322         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
323         Remove CutAndPaste:: prefix from header file declaration.
324
325         * LColor.h (fill): remove LColor:: prefix from declaration.
326
327         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
328         use lyx::depth_type rather than Paragraph::depth_type so that
329         header file and .C file match.
330
331         * converter.h (intToFormat): remove Converters:: prefix from declaration.
332
333         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
334         * aspell.C: \file aspell_local.C -> \file aspell.C
335         * gettext.C: \file gettext.C -> \file src/gettext.C
336         * gettext.h: \file gettext.h -> \file src/gettext.h
337         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
338         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
339         * text.C: \file text.C -> \file src/text.C
340
341         * toc.C: move comment so that doxygen is not confused.
342
343 2003-10-07  Angus Leeming  <leeming@lyx.org>
344
345         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
346
347 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
348
349         * aspell.C:
350         * aspell_local.h: add forgotten std::string's.
351
352 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
353
354         * LaTeXFeatures.C:
355         * LyXAction.C:
356         * factory.C:
357         * lfuns.h:
358         * lyxfunc.C:
359         * text3.C: The Box patch. Fancybox support, minipage, parbox
360
361 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
362
363         * CutAndPaste.h:
364         * DepTable.h:
365         * FloatList.h:
366         * LaTeXFeatures.h:
367         * ParagraphParameters.h:
368         * TextCache.h:
369         * Thesaurus.h:
370         * bufferlist.h:
371         * exporter.h:
372         * importer.h:
373         * lastfiles.h:
374         * lyxfind.h:
375         * lyxfont.h:
376         * lyxlex.h:
377         * lyxtextclasslist.h:
378         * messages.h:
379         * paragraph.h:
380         * paragraph_pimpl.C:
381         * textcursor.h: add <string> and other small fixes to make Lars'
382         std::string patch compile with STLport.
383
384 2003-10-06  Angus Leeming  <leeming@lyx.org>
385
386         * LColor.h: Add missing #include <string>.
387
388 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
389
390         * All most all file in all subdirs: Make <string> be the prefered
391         way of getting to std::string, add using declarations.
392
393 2003-10-06  André Pönitz  <poenitz@gmx.net>
394
395         * metricsinfo.C: initialize LyXFont before changing attribute.
396         (fixes the 'math in \emph is upright' bug)
397
398 2003-10-06  André Pönitz  <poenitz@gmx.net>
399
400         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
401
402 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
403
404         * graph.C:
405         * paragraph_pimpl.C: Small fixes to build using STLport
406
407 2003-10-02  André Pönitz  <poenitz@gmx.net>
408
409         * lyxfunc.C:
410         * text3.C: move handling of LFUN_DEPTH *; fix #1360
411
412 2003-10-01  André Pönitz  <poenitz@gmx.net>
413
414         * factory.C: assert early
415
416 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
417
418         * lyx_main.C: remove the global debug object
419
420         * debug.h: adjust for new debugstream
421
422         * debug.C: adjust for new debugstream and keep the global debug
423         object here.
424
425 2003-09-22  Angus Leeming  <leeming@lyx.org>
426
427         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
428         of g++ which otherwise complain that the scoped_ptr destructor can't delete
429         an incomplete class LyXFont.
430
431 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
432
433         * factory.C: bug fix in branches
434
435 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
436
437         * lyxfunc.C (processKeySym): adjust
438         (dispatch): adjust
439         (dispatch): change arg name from ev to func, adjust
440         (sendDispatchMessage): ditto
441
442         * lyx_main.C (defaultKeyBindings): adjust keybindings
443         (deadKeyBindings): ditto
444
445         * kbsequence.C (addkey): return a FuncRequest
446
447         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
448
449         * kbmap.C (bind): take a FuncRequest as arg, adjust
450         (read): adjust
451         (lookup): adjust
452         (defkey): change to take a FuncRequest as arg, adjust
453         (findbinding): take a FuncRequest as arg, adjust.
454
455         * funcrequest.h (operator=): added
456
457         * funcrequest.C (FuncRequest): default kb_action changed from
458         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
459
460         * buffer.C (dispatch): simplify
461         (dispatch): adjust to take a FuncRequest as arg, adjust
462
463         * boost.C (assertion_failed): change assertion message slightly
464
465         * ToolbarBackend.C (read): simplify
466
467         * MenuBackend.C (binding): adjust call to findbinding, add a
468         message if no binding is found.
469         (read): simplify
470         (expandToc): correct by adding a empty FuncRequest
471
472         * LyXAction.C: include <boost/assert.hpp>
473         (isPseudoAction): delete function
474         (LookupFunc): change name to...
475         (lookupFunc): this. change return type to FuncRequest.
476         (getActionName): take kb_action as arg, simplify
477         (funcHasFlag): add an assert, simplify.
478
479 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
480
481         * toc.C (action): return a FuncRequest, simplify
482
483         * lyxfunc.C (processKeySym): adjust
484         (getStatus): delete version that takes an int.
485         (getStatus): adjust
486         (dispatch): delete version that takes action as int
487         (dispatch): adjust
488         (sendDispatchMessage): simplify and adjust
489
490         * funcrequest.C (getArg): take unsigned int as arg
491
492         * ToolbarBackend.C (read): adjust
493         (add): delete version that takes func as a string.
494         (getIton): take a FuncRequest as arg
495
496         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
497         action.
498
499         * MenuBackend.C (MenuItem): add a new construct that only takes a
500         Kind, simplify the constructor use for submenus.
501         (add): adjust
502         (expandLastfiles): adjust
503         (expandDocuments): adjust
504         (expandFormats): adjust
505         (expandFloatListInsert): adjust
506         (expandFloatInsert): adjust
507         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
508
509         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
510         Remove class variables lyx_pseudo_map and lyx_arg_map
511
512         * LyXAction.C (searchActionArg): delete function
513         (getPseudoAction): delete function
514         (retrieveActionArg): delete function
515         (LookupFunc): make it return kb_action, simplify.
516         (getActionName): simplify
517
518         * factory.C (createInset): fix new bug
519
520 2003-09-19  Angus Leeming  <leeming@lyx.org>
521
522         * CutAndPaste.C (pasteSelection): remove fudge used to set the
523         masterFilename_ parameter in the include inset.
524
525         * factory.C (createInset): changes due to the changes to InsetInclude.
526
527 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
528
529         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
530
531 2003-09-18  Angus Leeming  <leeming@lyx.org>
532
533         * buffer.C:
534         * BufferView.C: pass the buffer when calling Inset::getLabelList,
535         Inset::fillWithBibKeys.
536         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
537
538 2003-09-18  Angus Leeming  <leeming@lyx.org>
539
540         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
541         variables.
542         (ctor): pass and store a 'Buffer const &'
543         (buffer): new member function.
544
545         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
546         '*this' to the LaTeXFeatures ctor.
547
548 2003-09-18  Angus Leeming  <leeming@lyx.org>
549
550         * LColor.h:
551         * lyxfont.C:
552         * lyxfont.h:
553         * lyxtext.h:
554         * text.C: rename EnumLColor as LColor_color.
555
556 2003-09-18  Angus Leeming  <leeming@lyx.org>
557
558         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
559         remove #include "insets/insetbase.h" from cursor.h.
560
561 2003-09-18  Angus Leeming  <leeming@lyx.org>
562
563         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
564         InsetOld_code to remove #include "inset.h".
565
566         * iterators.C: add #include "insets/inset.h"
567
568 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
569
570         * BufferView.C: remove more locking stuff that apparently doesn't
571         do anything sensible.
572
573 2003-09-16  André Pönitz  <poenitz@gmx.net>
574
575         * paragraph.[Ch]:
576         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
577           performance boost.
578
579 2003-09-16  Angus Leeming  <leeming@lyx.org>
580
581         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
582
583         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
584         arg/return type.
585
586         * paragraph.h: remove #include "lyxfont.h". Forward declare
587         LyXFont_size.
588
589 2003-09-16  Angus Leeming  <leeming@lyx.org>
590
591         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
592         of support/textutils.h.
593         (isWord): move the contents of support/textutils.h's IsWordChar here.
594
595         * buffer.C:
596         * lyxfind.C:
597         * rowpainter.C:
598         * text.C:
599         * text2.C: add #include "paragraph.h".
600
601         * rowpainter.C:
602         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
603
604 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
605
606         * main.C:
607         * lyx_main.C:
608         * lyx_cb.C:
609         * buffer.C:
610         * LaTeX.C: use namespace alias for lyx::support::os
611
612 2003-09-16  Angus Leeming  <leeming@lyx.org>
613
614         * bufferparams.C:
615         * bufferview_funcs.C:
616         * factory.C:
617         * lyxfunc.C:
618         * paragraph_pimpl.C:
619         * rowpainter.C:
620         * text.C: add #include "LColor.h".
621
622 2003-09-16  Angus Leeming  <leeming@lyx.org>
623
624         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
625         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
626         return LyXFont &.
627         Store the FontBits::color variable as an int rather than as an
628         LColor::colorso that we can move LColor.h out of the lyxfont.h header
629         file.
630
631         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
632         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
633         string calls together.
634
635         * lyxrc.C: add #include "LColor.h".
636
637 2003-09-15  Angus Leeming  <leeming@lyx.org>
638
639         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
640         a cow_ptr.
641
642 2003-09-15  Angus Leeming  <leeming@lyx.org>
643
644         * LColor.h: add an EnumLColor wrapper for LColor::color.
645
646         * lyxfont.[Ch] (color, setColor, realColor):
647         * lyxtext.h, text.C (backgroundColor):
648         pass EnumLColor args to/from the functions, rather than LColor::color
649         ones.
650
651         * lyxfont.h:
652         * lyxtext.h: forward declare EnumLColor.
653
654         * lyx_main.C: add #include "LColor.h".
655
656 2003-09-15  Angus Leeming  <leeming@lyx.org>
657
658         * .cvsignore: add lyx-gtk.
659
660 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
661
662         * Chktex.C
663         * LaTeX.C
664         * LaTeXFeatures.C
665         * ParagraphParameters.C
666         * Spacing.C
667         * buffer.C
668         * bufferparams.C
669         * bufferview_funcs.C
670         * chset.C
671         * counters.C
672         * funcrequest.C
673         * lyxfont.C
674         * lyxgluelength.C
675         * lyxlength.C
676         * paragraph.C
677         * paragraph_funcs.C
678         * text3.C
679         * vc-backend.C: remove usage of STRCONV
680
681 2003-09-15  Angus Leeming  <leeming@lyx.org>
682
683         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
684         explicitly define the color passed to the painter.
685
686 2003-09-15  Angus Leeming  <leeming@lyx.org>
687
688         * bufferparams.C (BufferParams): reorder member initializers to avoid
689         compiler warning.
690
691 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
692
693         * CutAndPaste.C (pasteSelection): remove an outdated #warning
694         * text.C (updateRowPositions): remove an unusual nop
695
696 2003-09-12  André Pönitz  <poenitz@gmx.net>
697
698         * BufferView_pimpl.C:
699         * Bullet.C:
700         * layout.h:
701         * lyxfunc.C:
702         * lyxlayout.[Ch]:
703         * lyxtextclass.C:
704         * rowpainter.C:
705         * text.C:
706         * text2.C:
707         * Counters.[Ch]: finish the 'automatic counters' job
708
709 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
710
711         * aspell.C: include <boost/assert.cpp> (compile fix)
712
713 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
714
715         * boost.C (assertion_failed): use lyx::support::abort instead of
716         assert.
717
718 2003-09-10  Angus Leeming  <leeming@lyx.org>
719
720         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
721         with their _fwd progeny.
722
723 2003-09-09  Angus Leeming  <leeming@lyx.org>
724
725         134 files throughtout the source tree: replace 'using namespace abc;'
726         directives with the appropriate 'using abc::xyz;' declarations.
727
728 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
729
730         * boost.C (emergencyCleanup): moved here from LAssert.c
731         (assertion_failed): new function, called by BOOST_ASSERT
732
733         * several files: change Assert to BOOST_ASSERT
734
735 2003-09-09  Angus Leeming  <leeming@lyx.org>
736
737         * buffer.[Ch]: Add an Impl class and move Buffer's member
738         variables into it. As a result move several header files out of
739         buffer.h.
740
741         Add header files to lots of .C files all over the tree as a result.
742
743 2003-09-09  Angus Leeming  <leeming@lyx.org>
744
745         * buffer.[Ch]: make Buffer's member variables private. Add
746         accessor functions.
747
748         Lots of changes all over the tree as a result.
749
750 2003-09-08  Angus Leeming  <leeming@lyx.org>
751
752         * graph.C: #include <config.h>.
753
754 2003-09-08  Angus Leeming  <leeming@lyx.org>
755
756         * BranchList.C:
757         * BufferView.C:
758         * BufferView_pimpl.C:
759         * CutAndPaste.C:
760         * DepTable.C:
761         * LaTeX.C:
762         * LaTeXFeatures.C:
763         * LyXAction.C:
764         * MenuBackend.C:
765         * TextCache.C:
766         * aspell.C:
767         * buffer.C:
768         * bufferlist.C:
769         * changes.C:
770         * chset.C:
771         * converter.C:
772         * counters.C:
773         * debug.C:
774         * graph.C:
775         * ispell.C:
776         * lyx_cb.C:
777         * lyxfind.C:
778         * lyxfunc.C:
779         * lyxlex_pimpl.C:
780         * lyxrc.C:
781         * lyxrow.C:
782         * paragraph.C:
783         * rowpainter.C:
784         * texrow.C:
785         * text.C:
786         * text2.C:
787         * toc.C: remove redundant using directives.
788
789 2003-09-07  Angus Leeming  <leeming@lyx.org>
790
791         * LaTeXFeatures.h: remove #include "support/types.h".
792         * ToolbarBackend.h: remove #include <algorithm>.
793         * changes.h: remove #include <ctime>.
794         * debug.h: remove #include <iosfwd>.
795         * graph.h: remove #include "support/std_string.h".
796         * lyx_main.h: remove #include <csignal>.
797         * lyxlex_pimpl.h: remove #include <fstream>.
798         * sgml.h: remove #include <algorithm>, <utility>.
799         * toc.h: remove #include "support/std_ostream.h".
800         Add #include <iosfwd>.
801
802 2003-09-07  Angus Leeming  <leeming@lyx.org>
803
804         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
805
806         * converter.h: forward declare LatexRunParams.
807         * encoding.h: remove #include "lyxrc.h".
808         * lyxtext.h: remove #include "LColor.h".
809         * lyxtextclass.h: remove #include "support/types.h".
810         * trans.h: remove #include "tex-accent.h".
811         * trans_mgr.h: remove #include "tex-accent.h".
812         * insets/inset.h: remove #include "support/types.h", <vector>.
813         * insets/insetcollapsable.h: remove #include "LColor.h".
814         * insets/insetinclude.h: remove #include "dimension.h".
815         * insets/insetlatexaccent.h: remove #include "dimension.h".
816         * insets/insetoptarg.h:: remove #include "insettext.h".
817         * insets/insettext.h: remove #include "dimension.h",
818         <boost/shared_ptr.hpp>
819
820         * insets/renderers.h: add #include "dimension.h".
821         * insets/updatableinset.h: add #include "support/types.h".
822
823         * many .C files: Associated changes.
824
825 2003-09-06  Angus Leeming  <leeming@lyx.org>
826
827         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
828         one, inside testInvariant.
829
830         * PrinterParams.C: new file.
831         * PrinterParams.[Ch]: move the function bodies out of line.
832
833 2003-09-06  Angus Leeming  <leeming@lyx.org>
834
835         * ParagraphParameters.h: forward declare ParameterStruct rather than
836         including its header file.
837         (depth): moved out-of-line.
838
839 2003-09-06  Angus Leeming  <leeming@lyx.org>
840
841         * BufferView_pimpl.h:
842         * kbmap.h:
843         * kbsequence.h:
844         * lyxfunc.h: forward declare LyXKeySym rather than
845         #include "frontends/LyXKeySym.h".
846
847         * BufferView_pimpl.C:
848         * kbmap.C:
849         * kbsequence.C:
850         * lyxfunc.C: associated changes.
851
852 2003-09-06  Angus Leeming  <leeming@lyx.org>
853
854         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
855         As a result, can remove the #include "insets/inset.h" from BufferView.h
856
857 2003-09-06  Angus Leeming  <leeming@lyx.org>
858
859         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
860         As a result, can remove the #include "insets/inset.h" from BufferView.h
861
862 2003-09-06  Angus Leeming  <leeming@lyx.org>
863
864         * buffer_funcs.C:
865         * buffer.h:
866         * bufferlist.C:
867         * BufferView.C:
868         * bufferview_funcs.C:
869         * BufferView_pimpl.C:
870         * CutAndPaste.C:
871         * lyx_cb.C:
872         * lyxfunc.C:
873         * paragraph.h:
874         * ParagraphParameters.C:
875         * tabular.C:
876         * text3.C:
877         * toc.C:
878         * undo_funcs.C:
879         * frontends/controllers/ControlDocument.C:
880         * insets/insetcaption.C: rearrange the #includes into some sort of
881         coherent order.
882
883         * buffer.h: remove #includes ErrorList.h, undo.h
884
885 2003-09-06  Angus Leeming  <leeming@lyx.org>
886
887         * support/types.h: add a 'depth_type' typedef, used to store the
888         nesting depth of a paragraph.
889
890         * paragraph.h:
891         * ParameterStruct.h: use this lyx::depth_type typedef rather than
892         defining explicitly.
893
894         * buffer.h:
895         * paragraph_funcs.h:
896         * ParagraphParameters.h:
897         * sgml.h: use lyx::depth_type rather than Paragraph or
898         ParameterStruct's depth_type.
899
900         * buffer.h
901         * paragraph_funcs.h: no need to #include paragraph.h anymore.
902
903         * BufferView.C:
904         * BufferView_pimpl.C:
905         * CutAndPaste.C:
906         * ParagraphParameters.C:
907         * buffer_funcs.C:
908         * bufferlist.C:
909         * bufferview_funcs.C:
910         * lyx_cb.C:
911         * lyxfunc.C:
912         * tabular.C:
913         * text3.C:
914         * toc.C:
915         * undo_funcs.C:
916         * frontends/LyXView.C:
917         * frontends/controllers/ControlDocument.C:
918         * frontends/controllers/ControlErrorList.C:
919         * insets/insetbibitem.C:
920         * insets/insetbranch.C:
921         * insets/insetcaption.C:
922         * insets/insetcollapsable.C:
923         * insets/insetenv.C:
924         * insets/insetert.C:
925         * insets/insetfloat.C:
926         * insets/insetfoot.C:
927         * insets/insetfootlike.C:
928         * insets/insetnewline.C:
929         * insets/insetquotes.C:
930         * insets/insettabular.C:
931         * insets/insettext.C:
932         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
933
934         * frontends/controllers/ControlChanges.C: #include "changes.h".
935
936 2003-09-06  Angus Leeming  <leeming@lyx.org>
937
938         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
939         than #including paragraph.h.
940
941         * ParagraphList.h:
942         * RowList.h: deleted. Superfluous.
943
944         * CutAndPaste.h:
945         * iterators.h:
946         * lyxcursor.h:
947         * lyxtext.h:
948         * text_funcs.h:
949         * undo.h:
950         * undo_funcs.h:
951         * insets/inset.h:
952         * insets/insettext.h: use ParagraphList_fwd.h rather than
953         ParagraphList.h.
954
955         * paragraph.h: don't forward declare ParagraphList.
956
957         * buffer.h:
958         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
959         rather than ParagraphList.h. paragraph.h is still needed for the
960         Paragraph::depth_type parameters.
961
962         * textcursor.h: enable it to compile stand-alone in light of the
963         above changes.
964
965         * bufferview_funcs.C:
966         * iterators.C:
967         * lyxfunc.C:
968         * lyxrow_funcs.C:
969         * paragraph.C:
970         * rowpainter.C:
971         * text.C:
972         * text2.C:
973         * text3.C:
974         * text_funcs.C:
975         * textcursor.C:
976         * undo.C:
977         * frontends/controllers/ControlParagraph.C:
978         * frontends/controllers/ControlTabular.C:
979         * insets/insetmarginal.C:
980         * insets/insetminipage.C:
981         * insets/insetnote.C:
982         * insets/insetoptarg.C: add header files needed to compile again.
983
984 2003-09-06  Angus Leeming  <leeming@lyx.org>
985
986         * RowList_fwd.h: new file, forward-declaring Row rather than
987         #including lyxrow.h.
988
989         * lyxrow_funcs.h:
990         * lyxtext.h:
991         * paragraph.h:
992         * insets/insettext.h: use it instead of RowList.h
993
994         * bufferview_funcs.C:
995         * lyxfunc.C:
996         * lyxrow_funcs.C:
997         * paragraph.C:
998         * rowpainter.C:
999         * text.C:
1000         * text2.C:
1001         * text3.C: #include "RowList.h".
1002
1003 2003-09-05  Angus Leeming  <leeming@lyx.org>
1004
1005         * factory.C (createInset):
1006         * vspace.C (c-tor): replace sscanf call with an istringstream.
1007         * ispell.C: re-add missing HP/UX headers.
1008         * lyxserver.C: re-add missing  os2 headers.
1009
1010 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
1011
1012         * BranchList.C:
1013         * graph.C:
1014         * ispell.C:
1015         * lastfiles.C:
1016         * lyx_cb.C:
1017         * lyxserver.C:
1018         * texrow.C:
1019         * text3.C: re-add missing system headers, needed for 2.95.2.
1020
1021 2003-09-05  Angus Leeming  <leeming@lyx.org>
1022
1023         Changes most place everywhere due to the removal of using directives
1024         from support/std_sstream.h.
1025
1026 2003-09-05  Angus Leeming  <leeming@lyx.org>
1027
1028         Replace LString.h with support/std_string.h,
1029         Lsstream.h with support/std_sstream.h,
1030         support/LIstream.h with support/std_istream.h,
1031         support/LOstream.h with support/std_ostream.h.
1032
1033         Changes resulting throughout the tree.
1034
1035 2003-09-05  Angus Leeming  <leeming@lyx.org>
1036
1037         * sgml.h: ensure that the header file can be compiled stand-alone.
1038         * *.C: strip out redundant #includes. (320 in total.)
1039
1040 2003-09-04  Angus Leeming  <leeming@lyx.org>
1041
1042         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
1043         here (from getPackages).
1044
1045         * debug.[Ch]: add a new EXTERNAL tag.
1046
1047 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1048
1049         * text2.C (cursorEnd): simplify
1050         (setCursor): adjust
1051         (getColumnNearX): adjust
1052
1053         * text.C (computeBidiTables): adjust
1054         (fill): adjust
1055
1056         * rowpainter.C (paintChars): adjust
1057         (paintSelection): adjust
1058         (paintChangeBar): adjust
1059         (paintText): adjust
1060
1061         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
1062         lastPos instead.
1063         (numberOfSeparators): adjust
1064
1065 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1066
1067         * LyXAction.C:
1068         * box.[Ch]:
1069         * lfuns.h:
1070         * lyxfunc.C:
1071         * text3.C: Restricts the mouse click functionality
1072         of insets like bibtex, include, toc and floatlist to the visible
1073         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
1074         up the dialogs. Cursor has to be in front of the inset (i.e.
1075         start of row) for this to function.
1076
1077 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1078
1079         * bufferview_funcs.C (currentState): output row information
1080
1081 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1082
1083         * bufferview_funcs.C (currentState): output paragraph position
1084
1085 2003-09-04  Angus Leeming  <leeming@lyx.org>
1086
1087         * FloatList.h: move out #include "Floating.h".
1088         * LaTeX.h: move out #include "DepTable.h".
1089         * LyXAction.h: move out #include "funcrequest.h".
1090         * buffer.h: move out #include "author.h", "iterators.h".
1091         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
1092         * lyx_main.h: move out #include "errorlist.h".
1093         * lyxfunc.h: move out #include "FuncStatus.h".
1094         * lyxtext: move out #include "lyxcursor.h".
1095         * paragraph_pimpl.h: move out #include "counters.h".
1096
1097 2003-09-03  Angus Leeming  <leeming@lyx.org>
1098
1099         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
1100         preamble_snippets list, enabling us to add snippets to the preamble
1101         only if the snippet was not there already.
1102
1103 2003-09-04  Angus Leeming  <leeming@lyx.org>
1104
1105         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
1106
1107 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1108
1109         * lyxfunc.C (dispatch): if fitCursor did something be sure to
1110         update
1111
1112 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
1113
1114         * BranchList.C: point fix, earlier forgotten
1115
1116 2003-09-02  Angus Leeming  <leeming@lyx.org>
1117
1118         * box.C (contains): renamed from 'contained' after a fantastic
1119         amount of hot air.
1120
1121 2003-09-02  John Levon  <levon@movementarian.org>
1122
1123         * BufferView.C:
1124         * lyxcursor.h:
1125         * lyxcursor.C:
1126         * lyxfunc.C:
1127         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
1128
1129 2003-09-02  John Levon  <levon@movementarian.org>
1130
1131         * text2.C: simplification of cursorEnd(), including partial
1132         fix for bug 1376
1133
1134 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1135
1136         * buffer.C (readFile): add a space
1137
1138 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
1139
1140         * BufferView_pimpl.C (update): remove bogus fitCursor() call
1141
1142 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1143
1144         * buffer.C (readFile): new function, take a filename and a
1145         ParagraphList::iterator
1146         (readFile): adjust
1147         (readFile): adjust, make it private. don't use setStream, make
1148         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
1149         always contain the filename.
1150
1151         * BufferView.C (insertLyXFile): simplify and make it work for
1152         gzipped files.
1153
1154 2003-08-30  John Levon  <levon@movementarian.org>
1155
1156         * Makefile.am: fix dist (from Kayvan)
1157
1158 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1159
1160         * most files: change to use const Buffer refs
1161
1162 2003-08-27  André Pönitz  <poenitz@gmx.net>
1163
1164         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
1165         on top of ownerPar().
1166
1167 2003-08-27  John Levon  <levon@movementarian.org>
1168
1169         * funcrequest.C: properly initialise POD members
1170
1171 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1172
1173         * lyxtext.h (top_y): move top_y from here
1174         * text.C:
1175         * text2.C:
1176         * text3.C:
1177         * BufferView.[Ch]:
1178         * BufferView_pimpl.[Ch]: to here
1179         * frontends/screen.C:
1180         * insets/insettabular.C:
1181         * insets/insettext.C: adjust
1182         * rowpainter.[Ch] (paintRows): remove LyXText & argument
1183
1184 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
1185
1186         * BufferView.[Ch]:
1187         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
1188
1189 2003-08-26  André Pönitz  <poenitz@gmx.net>
1190
1191         * paragraph_func.[Ch] (outerPar): new function
1192
1193         * paragraph.C:
1194         * paragraph_funcs.C:
1195         * paragraph_funcs.h:
1196         * paragraph_pimpl.C:
1197         * text2.C: remove Inset::par_owner
1198
1199 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
1200
1201         * lyxrow_funcs.C:
1202         * lyxtext.h:
1203         * text.C:
1204         * text2.C: eliminates the needFullRow/display() stuff
1205         altogether, putting the logic in metrics/draw in the insets.
1206
1207 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
1208
1209         * text2.C (redoParagraphInternal, redoParagraphs):
1210         * text.C (redoParagraph): add a call to updateRowPositions at the
1211         end of each 'metrics-like' call. Remove all others.
1212         (getRow): remove the 'y-computing' version.
1213         (getRowNearY): do not compute nor return the real y. Solve the
1214         'y < 0' problem and simplify.
1215
1216 2003-08-22  Angus Leeming  <leeming@lyx.org>
1217
1218         * *.[Ch]: clean-up of licence and author blurbs.
1219         Also move config.h out of a few .h files and into a few .C files.
1220
1221 2003-08-22  André Pönitz  <poenitz@gmx.net>
1222
1223         * lyxrow.[Ch]: add x_ and *fill_ members
1224
1225         * lyxtext.h:
1226         * text.C:
1227         * rowpainter.C:
1228         * text2.C: adjust/remove prepareToPrint() calls
1229
1230 2003-08-22  André Pönitz  <poenitz@gmx.net>
1231
1232         * lyxrow.[Ch]: add  end_ member
1233
1234         * lyxrow_funcs.C: use LyXRow::end_
1235
1236         * lyxtext.h (singleWidth): add LyXFont parameter
1237
1238         * rowpainter.C:
1239         * text2.C: adjust LyXText::singleWidth() calls
1240
1241         * text.C (redoParagraph): simplify row breaking logic
1242
1243
1244 2003-08-19  André Pönitz  <poenitz@gmx.net>
1245
1246         * funcrequest.C: initialize button_ member
1247
1248         * text3.C:
1249         * rowpainter.[Ch]: interface consolidation
1250
1251 2003-08-18  André Pönitz  <poenitz@gmx.net>
1252
1253         * BufferView.C:
1254         * BufferView_pimpl.C:
1255         * lyxfind.C:
1256         * paragraph_funcs.C:
1257         * rowpainter.C:
1258         * text3.C: remove LyXScreen::draw() and fitCursor calls
1259
1260         * BranchList.h: remove spurious semicolons
1261
1262         * MenuBackend.C: fix branchlist related crash
1263
1264 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
1265
1266         * BranchList.[Ch]:
1267         * InsetList.[Ch]:
1268         * LColor.[Ch]:
1269         * LyXAction.C:
1270         * Makefile.am:
1271         * MenuBackend.[Ch]:
1272         * bufferparams.[Ch]:
1273         * factory.C:
1274         * lfuns.h:
1275         * lyxfunc.C:
1276         * text3.C: implements the 'branch inset'
1277         idea. This allows the output of various versions of a document
1278         from a single source version, selectively outputing or suppressing
1279         output of parts of the text.
1280         This implementation contains a 'branch list editor' in a separate
1281         tab of the document settings dialog. Branches are user definable
1282         and have a "display colour" to distinguish them on-screen.
1283
1284         ColorHandler was somewhat cleaned up.
1285         (1) make possible a dynamically growing LColor list by allowing
1286         the graphic context cache to grow along (vector);
1287         (2) eliminate an IMHO unnecessary step in colour allocation.
1288
1289 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
1290
1291         * BufferView_pimpl.C: compile fix
1292
1293 2003-08-15  André Pönitz  <poenitz@gmx.net>
1294
1295         * rowpainter.C: remove extra metrics calls
1296
1297         * lyxtext.h: merge the two constructors into a single one,
1298           pass reference to owner's par list
1299
1300         * BufferView_pimpl.C:
1301         * text.C:
1302         * text2.C: adjust
1303
1304 2003-08-15  André Pönitz  <poenitz@gmx.net>
1305
1306         * lyxrow_funcs.[Ch]:
1307         * lyxtext.h:
1308         * paragraph.h:
1309         * paragraph_funcs.C:
1310         * rowpainter.C:
1311         * text.C:
1312         * text2.C:
1313         * text3.C:
1314         * text_funcs.C: split LyXText::rowlist_ into individual
1315         Paragraph::rows_ chunks
1316
1317         * BufferView.[Ch]:
1318         * BufferView_pimpl.[Ch]:
1319         * lyxfind.C:
1320         * lyxtext.h:
1321         * text3.C: remove toggleSelection()
1322
1323 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
1324
1325         * bufferlist.C: beautify two alerts (shorter text of buttons)
1326         * buffer.C: Remove redundant ' ' from message
1327         * tabular.h:
1328         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
1329         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
1330         rename VALIGN_CENTER to VALIGN_MIDDLE
1331
1332 2003-08-11  André Pönitz  <poenitz@gmx.net>
1333
1334         * lyxtext.h (getPar):
1335         * text.C: new function
1336
1337 2003-08-11  André Pönitz  <poenitz@gmx.net>
1338
1339         * Makefile.am:
1340         * tracer.[Ch]: remove unneeded files
1341
1342         * InsetList.[Ch]: remove resizeInsetsLyXText()
1343
1344         * lyxtext.h:
1345         * text.C:
1346         * text2.C:
1347         * text3.C: merge insertParagraphs() and appendParagraph()
1348         remove breakAgain(), update()
1349
1350         * BufferView_pimpl.[Ch]:
1351         * bufferview_funcs.[Ch]:
1352         * lyxfunc.C:
1353         * paragraph.[Ch]:
1354         * rowpainter.C:
1355         * tabular.C: adjust after text & InsetList changes.
1356
1357 2003-08-08  André Pönitz  <poenitz@gmx.net>
1358
1359         * text.C (insertChar, backspace): replace rowlist fiddling
1360         with rebreak of full par
1361
1362         * lyxtext.h:
1363         * text.C (breakAgainOneRow, redoHeightOfParagraph,
1364         checkParagraph, updateInset): removed
1365
1366 2003-08-07  André Pönitz  <poenitz@gmx.net>
1367
1368         * paragraph.C:
1369         * text3.C: merge some LFUN handlers, remove dead code
1370
1371 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1372
1373         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
1374
1375 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
1376
1377         * text2.C (DEPM): fix part of bug 1255 and 1256
1378
1379 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1380
1381         * BufferView_pimpl.C (workAreaDispatch): change to use
1382         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
1383         that are no mouse related.
1384
1385 2003-08-05  André Pönitz  <poenitz@gmx.net>
1386
1387         * BufferView.[Ch]:
1388         * BufferView_pimpl.[Ch]:
1389         * bufferview_funcs.C:
1390         * text2.C:
1391         * text3.C: rip out "deep update"
1392
1393         * textcursor.[Ch] (last_sel_cursor): remove unused member
1394
1395 2003-08-04  André Pönitz  <poenitz@gmx.net>
1396
1397         * BufferView.[Ch]:
1398         * BufferView_pimpl.[Ch]:
1399         * ParagraphParameters.C:
1400         * bufferview_funcs.C:
1401         * lyx_cb.C:
1402         * lyxfind.C:
1403         * lyxfunc.C:
1404         * text.C:
1405         * text2.C:
1406         * text3.C: replace "complicated" BufferView::update(...) calls with
1407         simpler ones.
1408
1409         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
1410
1411 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
1412
1413         * Makefile.am (lyx_SOURCES): add paper.h
1414
1415 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1416
1417         * Makefile.am: move things around so that both lyx-qt and
1418         lyx-xforms can be built (according to --with-frontend). Then lyx
1419         is a symbolic link to lyx-[firstfrontend]
1420
1421 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
1422
1423         * Always use std::endl with lyxerr
1424
1425 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
1426
1427         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
1428
1429 2003-08-01  André Pönitz  <poenitz@gmx.net>
1430
1431         * BufferView.[Ch]:
1432         * BufferView_pimpl.[Ch]:
1433         * lyxfunc.C:
1434         * text3.C: merge BufferView::repaint() and BufferView::update()
1435
1436 2003-08-01  José Matos  <jamatos@lyx.org>
1437
1438         * buffer.[Ch]: file_format is no longer a buffer data element.
1439
1440 2003-08-01  André Pönitz  <poenitz@gmx.net>
1441
1442         * BufferView.C:
1443         * lyxtext.h:
1444         * text.C:
1445         * text2.C: make redoParagraph more independent of current cursor
1446
1447         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
1448         * text.C:
1449         * text2.C: remove unneeded members
1450
1451 2003-07-30  André Pönitz  <poenitz@gmx.net>
1452
1453         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
1454
1455         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
1456           create a single function...
1457
1458         * paragraph_funcs.C (moveItem): ... here.
1459
1460         * text.C:
1461           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
1462
1463 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
1464
1465         * LColor.[Ch]: Add comment and greyedout logical colors.
1466
1467 2003-07-30  André Pönitz  <poenitz@gmx.net>
1468
1469         * tabular.C: don't use Assert too heavily. This crashes where it
1470           shouldn't
1471
1472 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
1473
1474         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
1475         is disabled (bug 1232)
1476
1477 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1478
1479         * factory.C: limited 'arg' scope
1480
1481 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1482
1483         * factory.C: fixed Note submenu issues
1484
1485 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
1486
1487         * factory.C: submenu for Note/Comment/Greyedout
1488
1489 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
1490
1491         * lyx_main.C (LyX):
1492         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
1493
1494 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
1495
1496         * LaTeXFeatures.C:
1497         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
1498         greyedout. Patch provided by Jürgen Spitzmüller.
1499
1500 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1501
1502         * kbmap.C (read): fix error message when reading bind files
1503
1504 2003-07-29  Angus Leeming  <leeming@lyx.org>
1505
1506         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
1507         certainly does not do what it purports to do. I am doing it, and
1508         us, a favour by killing it.
1509
1510 2003-07-28  José Matos  <jamatos@lyx.org>
1511
1512         * buffer.C (readBody, do_writeFile):
1513         * paragraph.C(readParagraph): \end_document replaces \the_end.
1514
1515 2003-07-29  André Pönitz  <poenitz@gmx.net>
1516
1517         * BufferView.[Ch]:
1518         * BufferView_pimpl.[Ch]:
1519         * lyxfunc.C:
1520         * text2.C:
1521         * text3.C:
1522         * textcursor.[Ch]: remove toggleToggle & Co
1523
1524 2003-07-28  José Matos  <jamatos@fep.up.pt>
1525
1526         * buffer.C (readParagraph):
1527         * params_func (readParToken, readParagraph):
1528         * paragraph.C (write): \layout -> \begin_layout.
1529
1530 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1531
1532         * lyxlex_pimpl.C (setFile): clean up slightly.
1533
1534         * bufferparams.h: add compressed var
1535
1536         * buffer_funcs.C (readFile): adjust for LyXLex change
1537         (newFile): ditto + simplify
1538
1539         * buffer.C (writeFile): handle writing of compressed files
1540
1541         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1542         Check if the file is compressed and set a bufferparm if so.
1543
1544         * Makefile.am (lyx_LDADD): remove explicit -lz
1545
1546 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1547
1548         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1549         makeDocBookFile): put the real LyX version in the first line of
1550         the file
1551
1552         * version.h:
1553         * version.C.in: remove lyx_docversion
1554
1555         * tabular.C (write_attribute): add a template-based version to
1556         write enums properly
1557
1558 2003-07-28  André Pönitz  <poenitz@gmx.net>
1559
1560         * lyxtext.h:
1561         * text.C:
1562         * text2.C:
1563         * text3.C: use doubles again for x-coordinates. They are needed.
1564
1565 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1566
1567         * messages.C (getLocaleDir): use lyx_localedir()
1568
1569         * lyxlex_pimpl.C (setFile): compress stuff
1570
1571         * buffer.C (writeFile): add some compression stuff
1572         (do_writeFile): new func, dont call expliti close... will this
1573         breake anything?
1574
1575         * Makefile.am (lyx_LDADD): add -lz
1576
1577 2003-07-28  José Matos  <jamatos@fep.up.pt>
1578
1579         * buffer.C: increment file format.
1580         * paragraph_funcs (readParagraph, readParToken):
1581         * paragraph.C (readParagraph): add \end_layout.
1582
1583 2003-07-27  Angus Leeming  <leeming@lyx.org>
1584
1585         * Makefile.am: remove special casing for configure-time setting of
1586         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1587
1588         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1589         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1590
1591 2003-07-26  André Pönitz  <poenitz@gmx.net>
1592
1593         * paragraph_func.[Ch]:
1594         * paragraph.C (realizeFont): inline it whereever it is used
1595
1596         * rowpainter.C:
1597         * text.C:
1598         * text2.C:
1599         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1600
1601
1602 2003-07-26  André Pönitz  <poenitz@gmx.net>
1603
1604         *       lyxtext.h:
1605         * text.C:
1606         * text2.C: get rid of LyXText::need_break_row
1607
1608 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1609
1610         * toc.[Ch]: put namespace toc inside namespace lyx
1611
1612         * MenuBackend.C (expandToc2): adjust for lyx::toc
1613         (expandToc): ditto
1614
1615         * lyxfunc.C (dispatch): adjust for lyx::find
1616
1617         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1618         lyx::find instead. Reorganize a bit.
1619         (LyXReplace): rename to replace
1620         (LyXFind): rename to find
1621
1622         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1623         (dispatch): ditto
1624
1625 2003-07-26  André Pönitz  <poenitz@gmx.net>
1626
1627         * text.C (setHeightOfRow): restrict scope of temporary variable
1628
1629         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1630           code (never has been used?)
1631
1632 2003-07-27  Asger Alstrup  <alstrup@local>
1633
1634         * text.C (fill): Optimise algorithm to exploit that we can reuse
1635         the LyXFont for many characters.
1636         (setHeightOfRow): Same thing.
1637         (rowBreakPoint): Same thing.
1638
1639 2003-07-26  Asger Alstrup  <alstrup@local>
1640
1641         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1642
1643         * text.C (singleWidth): Spurious font copying in hot-spot
1644         singleWidth avoided. Reorder tests for arabic for efficiency.
1645
1646         * text.C (fill): handle empty paragraphs better.
1647
1648 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1649
1650         * ispell.C:
1651         * encoding.h: add includes
1652
1653         * lyxrc.C: remove reading of bind files
1654
1655         * lyx_main.C (init): setup bindings and menus only if we have a
1656         gui.
1657
1658         * kbmap.C (read): new method. Do the actual reading of bind
1659         files.
1660
1661         * converter.C (dvipdfm_options):
1662         * bufferparams.C:
1663         * lyxrc.C (read):
1664         (output): adapt PAPER_* enums.
1665
1666         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1667
1668         * bufferparams.h: remove paper-related enums from there
1669
1670         * paper.h: New file. A trivial header file to hold paper-related
1671         enums. It should later expand to contain many paper-related
1672         horrors access.
1673
1674         * lyxrc.C: declare extern displayTranslator
1675
1676 2003-07-27  José Matos  <jamatos@fep.up.pt>
1677
1678         * tabular.[Ch] (linuxdoc): add support for tables and figures
1679         (linuxdoc).
1680
1681 2003-07-27  José Matos  <jamatos@fep.up.pt>
1682
1683         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1684         consistency in both functions.
1685         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1686
1687 2003-07-26  Asger Alstrup  <alstrup@local>
1688
1689         * rowpainter.C (paintRows): Change algorithm to work directly on
1690         the insets rather than asking every character in the document
1691         whether its an inset.
1692
1693 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1694
1695         * buffer.C (openFileWrite): factorize some code
1696
1697 2003-07-26  Angus Leeming  <leeming@lyx.org>
1698
1699         * lyx_cb.C:
1700         * lyx_main.[Ch]: replace occurances of system_tempdir with
1701         os::getTmpDir().
1702
1703 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1704
1705         * rename Inset to InsetOld
1706
1707 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1708
1709         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1710         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1711         which I think is a bit clearer. EDIT is gone, since it was
1712         premature optimisation, and broken for mathed anyway.
1713         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1714         with cursor positioning in insets as well (math insets still do not
1715         work, but that's a different story anyway.) It mysteriously
1716         crashes sometimes with undo in the first paragraph, but I'm fairly
1717         confident that this is a compiler bug.
1718
1719 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1720
1721         * paragraph.C (Paragraph): adjust for new clone return type
1722         (operator==): ditto
1723         (copyIntoMinibuffer): ditto
1724
1725 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1726
1727         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1728         by not having a special case, and always doing a full rebreak of
1729         the document after undo.
1730
1731 2003-07-23  Angus Leeming  <leeming@lyx.org>
1732
1733         * factory.C (createInset): InsetExternal::setParams now takes a
1734         Buffer const * arg.
1735
1736 2003-07-23  Angus Leeming  <leeming@lyx.org>
1737
1738         * factory.C (createInset): changed interface to the external and
1739         graphics mailers' string2params functions.
1740
1741 2003-07-23  Angus Leeming  <leeming@lyx.org>
1742
1743         * factory.C (createInset): pass a
1744         Buffer const * parameter to InsetExternalMailer's string2params.
1745
1746 2003-07-22  John Levon  <levon@movementarian.org>
1747
1748         * Thesaurus.h: include the right aiksaurus header
1749
1750 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1751
1752         * MenuBackend.C (expand): check menu shortcuts unconditionally
1753
1754 2003-07-21  Angus Leeming  <leeming@lyx.org>
1755
1756         * factory.C (createInset): pass a
1757         buffer_path parameter to InsetGraphicsMailer's string2params.
1758
1759 2003-07-21  Angus Leeming  <leeming@lyx.org>
1760
1761         * BufferView_pimpl.C (buffer):
1762         * buffer.C (d-tor):
1763         * lyx_main.C (LyX):
1764         * lyxfunc.C (dispatch):
1765         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1766         rather than the grfx shortcut.
1767
1768 2003-07-21  André Pönitz  <poenitz@gmx.net>
1769
1770         * rowpainter.C: remove unused variables
1771
1772         * tabular_funcs.C:
1773         * tabular_funcs.h: move to tabular.C
1774         * Makefile.am: adjust
1775
1776         * tabular.[Ch]: basic optical cleaning
1777
1778         * author.h: pass references, not values
1779
1780 2003-07-18  André Pönitz  <poenitz@gmx.net>
1781
1782         * lyxtext.h:
1783         * metricsinfo.C:
1784         * metricsinfo.h:
1785         * rowpainter.C:
1786         * text.C:
1787         * text2.C:
1788         * text3.C: two-phase drawing for InsetText and InsetTabular
1789         some float -> int changes.
1790
1791 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1792
1793         * lyx_main.C: fix the fix
1794
1795 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1796
1797         * lyx_main.C: fix a crash in batch mode if no files specified
1798         * converter.C: ws
1799
1800 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1801
1802         * format.[Ch] (papersize): moved to BufferParams
1803         * converter.[Ch] (dvips_options): moved to BufferParams
1804         (dvipdfm_options): moved to anon namespace
1805         * bufferparams.[Ch]: added above functions.
1806
1807 2003-07-17  André Pönitz  <poenitz@gmx.net>
1808
1809         * lyxtext.h:
1810         * rowpainter.C:
1811         * text2.C: don't call inset->update() anymore
1812
1813         * metricsinfo.[Ch]: add convenience constructor
1814
1815 2003-07-16  André Pönitz  <poenitz@gmx.net>
1816
1817         * lyxcursor.[Ch]:
1818         * lyxfunc.[Ch]:
1819         * text.C:
1820         * text2.C: replace the LyXCursor::irow_ member with
1821          on-demand computation of the value
1822
1823 2003-07-16  John Levon  <levon@movementarian.org>
1824
1825         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1826
1827 2003-07-15  André Pönitz  <poenitz@gmx.net>
1828
1829         * text.C:
1830         * text2.C: remove no more needed refresh_row
1831
1832 2003-07-15  André Pönitz  <poenitz@gmx.net>
1833
1834         * lyxtext.h:
1835         * rowpainter.C:
1836         * text2.C:
1837         * text3.C: refresh_status tristate -> need_update bool
1838
1839 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1840
1841         * lyxtext.h (init): remove reinit argument (act as if always true)
1842         * text2.C: adjust to that
1843
1844 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1845
1846         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1847         * text3.C: use it to delete selections in some cases
1848         (bugs 441, 673, 702, 954).
1849
1850 2003-07-14  André Pönitz  <poenitz@gmx.net>
1851
1852         * rowpainter.[Ch]: reduce interface
1853
1854 2003-07-14  André Pönitz  <poenitz@gmx.net>
1855
1856         * BufferView_pimpl.C:
1857         * text2.C: adjust after removing unused BufferView * argument
1858
1859 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1860
1861         * text2.C (init): fix a crash fired on resize
1862
1863 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1864
1865         * buffer.[Ch]: added new closing signal
1866         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1867         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1868         BufferView::Pimpl via the closing the signal
1869
1870 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1871
1872         * buffer.[Ch]: take out all bv-related from buffer
1873         * BufferView.C:
1874         * BufferView_pimpl.[Ch]: connect to new signals
1875         * CutAndPaste.C: removed useless asserts
1876         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1877         * lyxvc.[Ch]:
1878         * vc-backend.[Ch]:
1879         * lyxfunc.C: moved view-related funciontality from vc here
1880         * paragraph.C: removed outdated comments
1881         * text.C: ws
1882
1883 2003-07-10  André Pönitz  <poenitz@gmx.net>
1884
1885         * BufferView_pimpl.C:
1886         * tabular.h:
1887         * tabular_funcs.C:
1888         * text.C:
1889         * text2.C: remove InsetText::InnerCache, clean up consequences
1890
1891 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1892
1893         * ispell.C: fix two typos in error messages
1894
1895 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1896
1897         * Extend Note inset to other forms of annotation like Comment
1898         and Greyedout. Right button click gives dialog.
1899
1900         Files modified or added (+):
1901
1902         * insetnote.[Ch]
1903         * FormNote.[Ch]      +
1904         * ControlNote.[Ch]   +
1905         * form_note.fd       +
1906         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1907         frontends/controllers
1908         * xforms/Dialogs.C
1909         * factory.C
1910
1911 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1912
1913         * aspell.C: add missing namespace lyx::support
1914
1915 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1916
1917         * BufferView.[Ch] (newFile): Add
1918         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1919         * LaTeX.[Ch] (message): added this signal and use it
1920         * buffer.[Ch] (busy, message): added these signals and use them
1921         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1922         * converter.C:
1923         * exporter.C:
1924         * format.C:
1925         * importer.C: use buffer signals instead of direct bv calling
1926         * lyx_cb.[Ch] (ShowMessage): removed
1927         * lyx_main.C:
1928         * lyxfunc.C:
1929         * paragraph_funcs.C:
1930         * text2.C: use buffer signals
1931
1932 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1933
1934         * introduce namespace lyx::graphics
1935
1936 2003-07-02  André Pönitz  <poenitz@gmx.net>
1937
1938         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1939
1940 2003-07-01  André Pönitz  <poenitz@gmx.net>
1941
1942         * text.C:
1943         * text2.C:
1944         * text3.C:
1945         * text_funcs.[Ch]:
1946         * textcursor.h:
1947         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1948           text*.C to text_func.C
1949
1950 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1951
1952         * introduce namespace lyx::support
1953
1954 2003-06-30  André Pönitz  <poenitz@gmx.net>
1955
1956         * Chktex.C:
1957         * funcrequest.C:
1958         * lyxtext.h:
1959         * text.C: re-enable --with-included-string
1960
1961 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1962
1963         * textcursor.C: add <config.h>
1964
1965         * text.C (getWord): remove const from word_location arg
1966
1967         * lyxvc.C (getLogFile): fix const type order
1968
1969         * lyxtext.h: remove const from word_location arg, add arg name
1970
1971         * lyxlayout.h: currect type on labeltype.
1972
1973         * importer.C: correct \file
1974
1975         * converter.C (intToFormat): use std:: on ret val, ws changes
1976
1977         * bufferlist.h: correct \file
1978
1979         * buffer.C (makeLinuxDocFile): fix const type order
1980         (makeDocBookFile): ditto
1981         (fillWithBibKeys): use std:: on stdlib args.
1982
1983         * CutAndPaste.C: fix authors.
1984         (availableSelections): use std:: on return vector
1985
1986 2003-06-27  André Pönitz  <poenitz@gmx.net>
1987
1988         * BufferView_pimpl.C:
1989         * bufferview_funcs.C:
1990         * lyxcursor.C:
1991         * lyxcursor.h:
1992         * lyxfunc.C:
1993         * lyxtext.h:
1994         * rowpainter.C:
1995         * text.C:
1996         * text2.C:
1997         * text3.C: remove LyXCursor::row_ member
1998
1999         * lyxtext.h:
2000         * text.C: rename fullRebreak() to partialRebreak() and implement
2001           a fullRebreak() that really bereks fully
2002
2003         * textcursor.h: new struct for cursor-related data
2004
2005 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
2006
2007         * lyx_main.C (LyX): get full path of document loaded on the
2008         command line
2009
2010 2003-06-26  André Pönitz  <poenitz@gmx.net>
2011
2012         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
2013           remove unused/broken operator>,<,>=.
2014
2015         *       text.C: remove only use of broken operator<= in an Assert().
2016
2017 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2018
2019         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
2020         moved errorlist_.clear to showErrorList
2021
2022 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
2023
2024         * converter.C (scanLog, runLaTeX):
2025         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
2026         move the bv->showErrorList call to the callers
2027         * lyxfunc.C: i.e. here...
2028         * text2.C: and here
2029         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
2030         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
2031         namespace, the second to...
2032         * buffer_funcs (BufferFormat, parseErrors): added
2033         * errorlist.C (ErrorList(TeXErrors const &)): removed
2034
2035 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2036
2037         * ToolbarBackend.C (getIcon): complain when icon cannot be found
2038
2039 2003-06-24  "Garst R. Reese" <reese@isn.net>
2040
2041         * debug.C: fix typo
2042
2043 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2044
2045         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
2046
2047         * version.C.in: change docversion to 1.4
2048
2049 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2050
2051         * buffer.C: fix a bug just introduced
2052
2053 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
2054
2055         * buffer.[Ch]: added the parseError signal and use it, removed
2056         sgmlError
2057         * BufferView.[Ch] (addError): moved to ...
2058         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
2059         to the Buffer::parseError signal to catch (guess what) parse errors
2060         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
2061
2062 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
2063
2064         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
2065         ability to create a buffer and to return an existing one from
2066         the list. Moved these functions to...
2067         * buffer_funcs.[Ch]: added
2068         * BufferView.[Ch] (loadLyXFile): added
2069         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
2070         job removed from bufferlist::loadLyXFile.
2071         * buffer.C (setReadOnly): make it work without view
2072         (i.e added an if (users))
2073
2074 2003-06-19  Angus Leeming  <leeming@lyx.org>
2075
2076         * lfuns.h:
2077         * LyXAction.C (init):
2078         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
2079         with LFUN_DIALOG_SHOW <name> <data>.
2080
2081 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2082
2083         * CutAndPaste.C (availableSelections): small compilation fix for
2084         ancient (gcc 2.9x) compilers
2085
2086 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2087
2088         * text3.C (cursorNext): add tmp var
2089
2090         * text2.C (updateCounters): for function calling out of for clause
2091         (replaceSelectionWithString): ditto
2092         (insertStringAsParagraphs): ditto
2093         (getColumnNearX): add tmp var
2094         (setCursorFromCoordinates): add tmp var
2095         (cursorDownParagraph): add tmp var
2096         (deleteEmptyParagraphMechanism): add tmp var
2097
2098         * text.C (insertChar): add tmp var
2099
2100         * rowpainter.C (paintDepthBar): add tmp var
2101
2102         * CutAndPaste.C (availableSelections): potentially check all
2103         paragraphs in a cut to fill the shown strings.
2104
2105 2003-06-18  André Pönitz  <poenitz@gmx.net>
2106
2107         * kbmap.[Ch]: use vector<> instead of list<>
2108
2109 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
2110
2111         * text3.C (dispatch): handle arg to LFUN_PASTE, call
2112         pasteSelection with index
2113
2114         * text2.C (pasteSelection): modify, call pasteSelection with index
2115
2116         * paragraph.C (asString): reimplement version with no interval to
2117         call the one with interval.
2118
2119         * lyxtext.h: add index arg to pasteSelection
2120
2121         * MenuBackend.C (MenuItem): handle PasteRecent
2122         (Menu::read::Menutags): add md_pasterecent
2123         (read): handle it
2124         (expandPasteRecent): new function
2125         (expand): use it
2126
2127         * MenuBackend.h: add PasteRecent to MenuItem::Kind
2128
2129         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
2130         the limited stack
2131         (availableSelections): new function
2132
2133 2003-06-17  Angus Leeming  <leeming@lyx.org>
2134
2135         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
2136
2137 2003-06-17  Angus Leeming  <leeming@lyx.org>
2138
2139         * lfuns.h:
2140         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
2141
2142         * lyxfunc.C (dispatch): invoke it.
2143
2144 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2145
2146         * iterators.C (operator++, ParPosition): reintroduce some
2147         const_cast for the benefit of older compilers.
2148
2149 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2150
2151         * text3.C (dispatch): do not modify clipboard when doing
2152         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
2153         LFUN_DELETE_SKIP on a selection selection
2154
2155 2003-06-16  André Pönitz  <poenitz@gmx.net>
2156
2157         * BufferView.C:
2158         * buffer.C:
2159         * buffer.h:
2160         * paragraph.C:
2161         * tabular.[Ch]: IU of clone() and getLabelList();
2162
2163 2003-06-13  André Pönitz  <poenitz@gmx.net>
2164
2165         * tabular.h: compactification
2166
2167 2003-06-12  André Pönitz  <poenitz@gmx.net>
2168
2169         * tabular.C:
2170         * tabular.h:
2171         * tabular_funcs.h: some renaming plus whitespace
2172
2173 2003-06-12  André Pönitz  <poenitz@gmx.net>
2174
2175         * BufferView.C:
2176         * BufferView_pimpl.C:
2177         * CutAndPaste.C:
2178         * buffer.C:
2179         * iterators.[Ch]:
2180         * lyxfunc.C:
2181         * text.C:
2182         * toc.C: Return a Paragraph & for ParIterator::operator*()
2183
2184 2003-06-11  John Levon  <levon@movementarian.org>
2185
2186         * lyx_main.C:
2187         * ToolbarBackend.h:
2188         * ToolbarBackend.C: add "Toolbars" section and
2189         put the flags there
2190
2191 2003-06-10  Angus Leeming  <leeming@lyx.org>
2192
2193         * lfuns.h:
2194         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
2195
2196         * lyxfunc.C (dispatch): invoke it.
2197
2198 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
2199
2200         * main.C: protect <ios> with HAVE_IOS
2201         (main): protect sync_with_stdio with HAVE_IOS
2202
2203 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
2204
2205         * text2.C (cutSelection): adjust
2206         (pasteSelection): adjust
2207
2208         * messages.C: handle get of empty string
2209
2210         * main.C (main): use sync_with_stdio(false)
2211
2212         * lyxfunc.C (dispatch): adjust
2213
2214         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
2215         (WriteAs): remove unneeded BufferView arg.
2216
2217         * bufferparams.h: use correct types on papersize, papersize2 and
2218         paperpackage.
2219
2220         * bufferparams.C (readToken): adjust for type
2221         (writeLaTeX): add missing cases to switch.
2222
2223         * bufferlist.C (quitWriteBuffer): adjust
2224         (close): adjust
2225
2226         * buffer.C (asciiParagraph): remove some commented code.
2227
2228         * CutAndPaste.C: remove current_view extern variable.
2229         (cutSelection): add BufferParams arg.
2230         (eraseSelection): add BufferParams arg.
2231         (pasteSelection): add Buffer const & arg
2232
2233 2003-06-07  John Levon  <levon@movementarian.org>
2234
2235         * buffer.C:
2236         * paragraph_funcs.C:
2237         * paragraph_pimpl.C:
2238         * text.C:
2239         * text2.C:
2240         * paragraph.h:
2241         * paragraph.C: allow InsetERT to freely space lines,
2242         and some consolidation of code
2243
2244 2003-06-06  José Matos  <jamatos@fep.up.pt>
2245
2246         * buffer.C (makeDocBookFile): fix bug #821
2247
2248 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
2249
2250         * BufferView_pimpl.C (dispatch): use Dialogs::visible
2251
2252 2003-06-04  Angus Leeming  <leeming@lyx.org>
2253
2254         * buffer.C: bump format to 224.
2255
2256 2003-06-05  André Pönitz  <poenitz@gmx.net>
2257
2258         * text2.C (redoParagraphs): remove two const_cast<>
2259
2260 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
2261
2262         * ParagraphList.h: remove last remnants of NO_STD_LIST
2263
2264 2003-06-03  Angus Leeming  <leeming@lyx.org>
2265
2266         * factory.C (createInset): small change to the way InsetExternal's params
2267         are set.
2268
2269 2003-06-04  André Pönitz  <poenitz@gmx.net>
2270
2271         * buffer.h: use Undo directly instead of shared_ptr<Undo>
2272
2273         * paragraph_pimpl.h:
2274         * paragraph.[Ch]: some Inset -> UpdatableInset changes
2275
2276         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
2277
2278         * undo_funcs.C: make some simple cases of undo work again
2279
2280 2003-06-03  John Levon  <levon@movementarian.org>
2281
2282         * ispell.C: HPUX doesn't have sys/select.h
2283         (from Albert Chin)
2284
2285 2003-06-03  John Levon  <levon@movementarian.org>
2286
2287         * CutAndPaste.C: update tabular and include inset
2288         buffer references
2289
2290         * buffer.h:
2291         * paragraph.h:
2292         * paragraph.C: remove owningBuffer(), don't pass Buffer
2293         to clone()
2294
2295         * factory.C: insetGraphicsParams changed
2296
2297 2003-06-02  John Levon  <levon@movementarian.org>
2298
2299         * LyXAction.C:
2300         * factory.C:
2301         * lfuns.h:
2302         * lyxfunc.C:
2303         * text3.C: remove insetparent
2304
2305 2003-06-02  John Levon  <levon@movementarian.org>
2306
2307         * buffer.h:
2308         * buffer.C: fix inset_iterator.end(), move out of line
2309         (bug 1149)
2310
2311 2003-06-01  John Levon  <levon@movementarian.org>
2312
2313         * text3.C: use a proper cut/paste when doing inset
2314         insert (from Jürgen Spitzmüller)
2315
2316 2003-06-01  John Levon  <levon@movementarian.org>
2317
2318         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
2319
2320 2003-05-30  André Pönitz  <poenitz@gmx.net>
2321
2322         * rowpainter.C: unify second drawing phase
2323
2324 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
2325
2326         * trans_mgr.C: remove one case of current_view
2327
2328         * text2.C (cursorBottom): delete NO_STD_LIST stuff
2329
2330         * paragraph_funcs.h: remove paragraph.h include
2331
2332         * paragraph.h: delete NO_STD_LIST stuff
2333
2334         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
2335
2336         * buffer.h: remove paragraph.h include
2337
2338         * ParagraphList.C: delete file
2339
2340         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
2341
2342         * toc.C (getTocList): adjust
2343
2344         * paragraph_pimpl.C (validate): adjust
2345
2346         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
2347
2348         * paragraph.C (Paragraph): adjust
2349         (getPositionOfInset): use const_iterator, adjust
2350         (bibitem): use const_iterator, adjust
2351         (setInsetOwner): adjust
2352
2353         * iterators.C (operator++): adjust
2354
2355         * InsetList.[Ch]: Replace selfmade iterator with standard
2356         vector::iterator also introduce const_iterator. Remove getPos,
2357         getInset and setInset from InsetTable. Adjust accordingly.
2358
2359         * BufferView.C (lockInset): adjust
2360         (ChangeInsets): adjust
2361
2362         * tabular.[Ch]: delete commented same_id functions
2363
2364 2003-05-28  John Levon  <levon@movementarian.org>
2365
2366         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
2367
2368 2003-05-28  André Pönitz  <poenitz@gmx.net>
2369
2370         * metricsinfo.[Ch]: remove 'fullredraw' member
2371
2372 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
2373
2374         * lyxtextclass.C (operator): remove caching.
2375
2376 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2377
2378         * text3.C: adjust
2379
2380         * text2.C (cursorBottom): adjust
2381         (setCounter): use ParagraphList::find, adjust
2382
2383         * text.C (workWidth): use ParagraphList::find, adjust
2384
2385         * lyxcursor.C (LyXCursor): adjust
2386
2387         * buffer.C (inset_iterator): adjust
2388
2389         * ParagraphList.h: make iterator(value_type) private, make
2390         ParagraphList a friend of iterator.
2391
2392         * ParagraphList.C (find): new function
2393
2394         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2395
2396 2003-05-27  André Pönitz  <poenitz@gmx.net>
2397
2398         * dimension.[Ch]: a -> asc, d -> des, w -> wid
2399
2400 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2401
2402         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
2403
2404 2003-05-26  John Levon  <levon@movementarian.org>
2405
2406         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
2407
2408 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2409
2410         * remove same_id from function signatures, adjust.
2411
2412 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2413
2414         * undo_funcs.C (createUndo): use the id functions directly, adjust.
2415
2416         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
2417
2418         * paragraph.C (Paragraph): get rid of same_ids parameter
2419
2420         * ParagraphList.C (insert): adjust
2421         (push_back): adjust
2422
2423 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2424
2425         * paragraph_funcs.C (breakParagraph): adjust
2426         (breakParagraphConservative): adjust
2427
2428         * buffer.C (readParagraph): adjust
2429
2430         * ParagraphList.C (insert): take a reference instead of a pointer
2431         (insert): adjust
2432
2433         * paragraph.[Ch] (id): new function
2434
2435         * bufferlist.C (newFile): adjust
2436
2437         * ParagraphList.C (ParagraphList): adjust
2438         (assign): adjust
2439         (push_back): take a reference instead of a pointer.
2440
2441         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
2442
2443         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
2444         instead.
2445
2446         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
2447         set else use old code.
2448
2449         * ParagraphList.C: remove all NO_NEXT code and only compile this
2450         code of NO_STD_LIST is set.
2451
2452 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2453
2454         * BufferView_pimpl.C:
2455         * TextCache.C:
2456         * TextCache.h:
2457         * bufferlist.C:
2458         * errorlist.h:
2459         * format.C:
2460         * format.h:
2461         * graph.C:
2462         * lyxfunc.C:
2463         * lyxrc.C:
2464         * graphics/GraphicsConverter.C:
2465         * graphics/PreviewLoader.C: header adjustment
2466
2467 2003-05-23  Angus Leeming  <leeming@lyx.org>
2468
2469         * LaTeXFeatures.[Ch] (useBabel): new method.
2470         * bufferparams.C (writeLaTeX): use it.
2471
2472 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2473
2474         * ParagraphList.h (set): remove unused function.
2475
2476 2003-05-23  André Pönitz  <poenitz@gmx.net>
2477
2478         * BufferView.C:
2479         * BufferView_pimpl.C:
2480         * buffer.C:
2481         * buffer.h:
2482         * lyxfunc.C:
2483         * undo_funcs.C: setUndo reworked
2484
2485         * iterators.[Ch]: add access to topmost ParagraphList
2486
2487         * lyxtext.[Ch] (workWidth): add a const
2488
2489 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
2490
2491         * texrow.[Ch] (increasePos): remove function
2492         * exporter.C (export): removed unused var and outdated comment
2493
2494 2003-05-23  Angus Leeming  <leeming@lyx.org>
2495
2496         * latexrunparams.h: rename fragile as moving_arg.
2497         * paragraph.C (simpleTeXOnePar): ditto.
2498         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
2499
2500 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2501
2502         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
2503         (createUndo): ditto
2504         (textUndoOrRedo): comment out a currently unused var.
2505
2506         * paragraph.h (NO_NEXT): enable NO_NEXT
2507
2508         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
2509
2510         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
2511
2512         * exporter.C (Export): adjust for removeAutoInsets removal.
2513
2514         * buffer.C (runChktex): adjust for removeAutoInsets removal.
2515
2516         * LyXAction.C (init): remove LFUN_REMOVEERRORS
2517
2518         * BufferView.[Ch] (removeAutoInsets): delete function
2519
2520 2003-05-22  Angus Leeming  <leeming@lyx.org>
2521
2522         * latexrunparams.h: add a free_spacing variable.
2523
2524         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
2525         to pass moving_arg, as the data is stored in runparams.fragile.
2526
2527         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2528         to Inset::latexOptional or to simpleTeXOnePar.
2529
2530         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2531         free_spacing arg to Inset::latexOptional.
2532
2533         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2534         free_spacing arg.
2535
2536 2003-05-22  Angus Leeming  <leeming@lyx.org>
2537
2538         * latexrunparams.h: add fragile and use_babel variables.
2539
2540         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2541         * buffer.C (makeLaTeXFile): store this returned value in
2542         runparams.use_babel, thus passing it to the inset::latex methods.
2543
2544         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2545         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2546
2547         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2548         longer has a fragile arg, as it is stored in runparams.fragile.
2549
2550         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2551         moving_arg parameter as the data is stored in runparams.fragile.
2552
2553         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2554         a fragile parameter as the data is stored in runparams.fragile.
2555
2556 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2557
2558         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2559
2560 2003-05-22  Angus Leeming  <leeming@lyx.org>
2561
2562         * latexrunparams.h: add a 'bool nice' which defaults to false.
2563
2564         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2565         now encapsulated within runparams.
2566
2567         * bufferlist.C (updateIncludedTeXfiles):
2568         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2569
2570 2003-05-22  Angus Leeming  <leeming@lyx.org>
2571
2572         * latexrunparams.h: new file containing struct LatexRunParams.
2573         * Makefile.am: add new file.
2574
2575         * LaTeX.[Ch] (c-tor, run):
2576         * buffer.[Ch] (makeLaTeXFile):
2577         * bufferlist.[Ch] (updateIncludedTeXfiles):
2578         * converter.C (convert, scanLog):
2579         * converter.[Ch] (runLaTeX):
2580         * exporter.C (Export):
2581         * paragraph.[Ch] (simpleTeXOnePar):
2582         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2583         * paragraph_funcs.[Ch] (latexParagraphs):
2584         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2585         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2586         pass around a LatexRunParams parameter.
2587
2588 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2589
2590         * paragraph.[Ch]: remove unused constructor
2591
2592         * ParagraphList.C (erase): new function, taking two iterators
2593
2594 2003-05-22  André Pönitz  <poenitz@gmx.net>
2595
2596         * undo_funcs.C: remove duplicated code
2597
2598         * iterator.[Ch]: operator=
2599
2600 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2601
2602         * tabular.C (SetMultiColumn): ws changes
2603
2604         * rowpainter.C (paintFirst): get rid of a ->previous
2605
2606         * lyx_cb.C (getPossibleLabel): parlist simplification
2607
2608         * BufferView.C (ChangeInsets): simplify slightly.
2609
2610 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2611
2612         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2613         * lfuns.h: new LFUN_SPACE
2614         * lyxfunc.C: protected space has a new lfun
2615         * paragraph_funcs.C: read new space insets
2616         * text3.C:
2617         * factory.C: handle new space insets
2618
2619 2003-05-22  André Pönitz  <poenitz@gmx.net>
2620
2621         * BufferView.C:
2622         * BufferView_pimpl.C:
2623         * buffer.[Ch]:
2624         * lyxfunc.C:
2625         * undo_funcs.C: return a ParIterator from getParFromID.
2626
2627         * iterators.[Ch]: add two const's
2628
2629 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2630
2631         * toc.C (getTocList): adjust
2632
2633         * iterators.[Ch]: rework for parlist
2634
2635         * buffer.C (par_iterator_begin): adjust
2636         (par_iterator_end): adjust
2637
2638         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2639
2640         * BufferView.C (removeAutoInsets): adjust
2641         (ChangeInsets): adjust
2642
2643 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2644
2645         * text.C (top_y): fix bug 1110
2646
2647 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2648
2649         * errorlist.[Ch]: added
2650         * buffer.C:
2651         * BufferView.[Ch]:
2652         * BufferView_pimpl.C:
2653         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2654         instead
2655
2656 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2657
2658         * Makefile.am: ensure that lyx is relinked upon changes to the
2659         various "convenience" libs.
2660
2661 2003-05-20  Angus Leeming  <leeming@lyx.org>
2662
2663         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2664         files are compiled in alphabetical order again.
2665
2666         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2667
2668 2003-05-19  Angus Leeming  <leeming@lyx.org>
2669
2670         * gettext.[Ch]: remove "char const * _(char const *)".
2671
2672 2003-05-19  André Pönitz  <poenitz@gmx.net>
2673
2674         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2675
2676         * Makefile.am:
2677         * BufferView.C:
2678         * DepTable.h:
2679         * LaTeXFeatures.C:
2680         * buffer.C:
2681         * lyxfont.C:
2682         * lyxlex.h:
2683         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2684
2685 2003-05-19  André Pönitz  <poenitz@gmx.net>
2686
2687         * buffer.C:
2688         * lyxlayout.[Ch]:
2689         * lyxtextclass.[Ch]:
2690         * paragraph.C:
2691         * paragraph_funcs.[Ch]:
2692         * text2.C:
2693         * text3.C: more insetenv work
2694
2695 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2696
2697         * ParagraphParameters.C (params2string): small bug fixed
2698
2699 2003-05-16  André Pönitz  <poenitz@gmx.net>
2700
2701         * debug.C:
2702         * bufferview_funcs.C: patch from Kornel Benko to prevent
2703           crash when _(...) is called twice in a statement
2704
2705 2003-05-16  André Pönitz  <poenitz@gmx.net>
2706
2707         * BufferView.C:
2708         * lyxfunc.C:
2709         * text.C:
2710         * text2.C:
2711         * text3.C:
2712         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2713
2714 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2715
2716         * lyx_main.C (init): remove spurious static_cast
2717
2718 2003-05-14  André Pönitz  <poenitz@gmx.net>
2719
2720         * BufferView.C: fix format string
2721
2722 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2723
2724         * BufferView.[Ch] (insertErrors): removed
2725         * BufferView.[Ch] (showErrorList): added
2726         * buffer.C (runChkTeX):
2727         * converter.C (scanLog): call showErrorList instead of inserterrors
2728
2729 2003-05-13  André Pönitz  <poenitz@gmx.net>
2730
2731         * BufferView_pimpl.C:
2732         * buffer.C:
2733         * bufferview_func.C:
2734         * MenuBackend.C:
2735         * lyxfunc.C:
2736         * lyxrc.C:
2737         * tex-accent.C:
2738         * text3.C:
2739         * toc.C:
2740         * tabular_funcs.h: tostr() from its own header
2741
2742         * ParagraphParameters.C:
2743         * ToolbarBackend.C:
2744         * bufferparams.C:
2745         * format.C:
2746         * lyxlex_pimpl.C:
2747         * text3.C: STRCONV()
2748
2749 2003-05-12  André Pönitz  <poenitz@gmx.net>
2750
2751         * BufferView.C:
2752         * BufferView_pimpl.C:
2753         * CutAndPaste.C:
2754         * LaTeX.C:
2755         * LaTeXFeatures.C:
2756         * ParagraphParameters.C:
2757         * buffer.C:
2758         * bufferlist.C:
2759         * bufferparams.C:
2760         * bufferview_funcs.C:
2761         * converter.C:
2762         * counters.C:
2763         * debug.C:
2764         * exporter.C:
2765         * format.C:
2766         * importer.C:
2767         * lyx_cb.C:
2768         * lyx_main.C:
2769         * lyxfont.C:
2770         * lyxfunc.C:
2771         * lyxvc.C:
2772         * paragraph.C:
2773         * paragraph_funcs.C:
2774         * tabular.C:
2775         * tabular_funcs.C:
2776         * text2.C:
2777         * text3.C:  boost::format -> bformat  all over the place
2778
2779
2780 2003-05-09  André Pönitz  <poenitz@gmx.net>
2781
2782         * LColor.[Ch]: Pimpl the #include <map> away
2783
2784 2003-05-09  John Levon  <levon@movementarian.org>
2785
2786         * bufferlist.C: never remove emergency saves
2787
2788 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2789
2790         * Makefile.am: better lib building
2791
2792 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2793
2794         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2795         instead.
2796         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2797         (simpleTeXSpecialChars): adjust
2798         (simpleTeXSpecialChars): adjust
2799         * paragraph.C (simpleTeXOnePar): adjust
2800         * buffer.C (makeLaTeXFile): adjust
2801
2802         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2803
2804         * text2.C (changeDepth): parlist cleanup
2805         (getColumnNearX): ditto
2806
2807         * rowpainter.C (getLabelFont): parlist cleanup
2808
2809         * bufferlist.C (newFile): parlist cleanup
2810
2811         * CutAndPaste.C (eraseSelection): parlist cleanup
2812
2813         * BufferView_pimpl.C (trackChanges): parlist cleanup
2814         (dispatch): ditto
2815
2816         * BufferView.C (lockInset): parlist cleanup.
2817         (ChangeInsets): ditto
2818
2819 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2820
2821         * CutAndPaste.h: Update file header.
2822
2823         * CutAndPaste.C: Update file header.
2824         Store the parts cut out of the Document in a limited_stack.
2825         (copySelection): adjust
2826         (pasteSelection): new function, takes the index in the limited stack.
2827         (nrOfParagraphs): adjust
2828         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2829         simplify error inset insertion.
2830         (checkPastePossible): adjust
2831
2832 2003-05-06  John Levon  <levon@movementarian.org>
2833
2834         * text2.C: don't cast wrap inset to float
2835
2836 2003-05-05  André Pönitz  <poenitz@gmx.net>
2837
2838         * iterator.C:
2839         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2840
2841         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2842           few naked Paragraph *.
2843
2844 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2845
2846         * bufferparams.C: Output warning if a document with missing
2847         TeX document class is loaded
2848         * exporter.C: Disable TeX exports if the document class is missing
2849         * lyxtextclass.C:
2850         * lyxtextclass.h:
2851         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2852         isTeXClassAvailable()
2853
2854 2003-05-03  John Levon  <levon@movementarian.org>
2855
2856         * BufferView.h:
2857         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2858         explicit cursor show/hide
2859
2860         * BufferView_pimpl.h:
2861         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2862         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2863
2864         * lyxfunc.C: hide cursor before dispatching.
2865
2866         * lyx_cb.C:
2867         * lyxfind.C:
2868         * text.C:
2869         * text3.C: remove explicit cursor hides
2870
2871 2003-05-02  André Pönitz  <poenitz@gmx.net>
2872
2873         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2874
2875         * undo_funcs.C:
2876         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2877           linked lists
2878
2879         * text2.C: tiny whitespace
2880
2881 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2882
2883         * undo_funcs.C: almost only ws changes.
2884
2885         * ParagraphList.C (splice): just return if pl is empty.
2886
2887 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2888
2889         * ParagraphList.C (splice): new function.
2890
2891         * CutAndPaste.C (pasteSelection): use it
2892
2893 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2894
2895         * CutAndPaste.C (pasteSelection): remove the last next and
2896         previous from this file.
2897
2898 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2899
2900         * CutAndPaste.C (pasteSelection): more clean up, user proper
2901         ParagraphList functions for pasteing.
2902
2903         * ParagraphList.C (insert): new function, three arg insert
2904
2905 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2906
2907         * ParagraphList.C (insert): new function, three arg insert
2908
2909         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2910         not on paragraphs.
2911
2912 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2913
2914         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2915
2916 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2917
2918         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2919
2920 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2921
2922         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2923         (copySelection): clean up a bit.
2924         (pasteSelection): use make_pair
2925
2926         * ParagraphList.C (ParagraphList): implement copy constructor
2927         (operator=): implement, base on copy constructor.
2928         (assign): new func
2929
2930         * paragraph.C (erase): return a bool
2931
2932         * paragraph_pimpl.C (erasePos): remove function, move contents...
2933         (erase): ... here. Return a bool.
2934         (erase): call erase instead of erasePos.
2935
2936 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2937
2938         * ParagraphList.h: define PitPosPair
2939         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2940         ParagraphList, fix a bug on pasting multiple pars
2941         * text2.C: change interface to C&P
2942
2943 2003-04-30  André Pönitz  <poenitz@gmx.net>
2944
2945         * undo_func.C: revert part of yesterday's patch 2
2946
2947 2003-04-30  John Levon  <levon@movementarian.org>
2948
2949         * LColor.C: s/tabular/table/
2950
2951 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2952
2953         * text3.C (dispatch): do not convert iterator -> pointer
2954         * undo_funcs.C (setCursorParUndo): ditto
2955         * text_funcs.C (transposeChars): ditto
2956
2957         * text2.C (setLayout): ws changes only
2958
2959         * text.C (breakParagraph): do not convert iterator -> pointer
2960         (insertChar): ditto
2961         (acceptChange): ditto
2962         (rejectChange): ditto
2963         (changeCase): ditto
2964         (Delete): ditto
2965         (backspace): ditto
2966
2967         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2968         pointer
2969
2970 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2971
2972         * text3.C (gotoInset): YABG (yet another bad getChar)
2973
2974 2003-04-29  André Pönitz  <poenitz@gmx.net>
2975
2976         * paragraph.h: make operator= private unimplemented as long as
2977           it is unusable
2978
2979         * ParagraphList.C: whitespace
2980
2981         * paragraph.[Ch]:
2982         * paragraph_pimpl.[Ch]:
2983         * paragraph_funcs.C:
2984         * CutAndPaste.C:
2985         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2986
2987         * text2.C:
2988           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2989
2990 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2991
2992         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2993         * paragraph.[Ch] (erase):
2994         * paragraph_pimpl.[Ch] (erase): change return type and value
2995         * text2.C (cutSelection): some rework
2996
2997 2003-04-28  John Levon  <levon@movementarian.org>
2998
2999         * bufferlist.C: changes for unsaved changes dialog
3000
3001 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3002
3003         * bufferlist.C (newFile): set language (messages_) for new
3004         documents also.
3005
3006         * buffer.C (readFile): ws changes only.
3007
3008 2003-04-28  André Pönitz  <poenitz@gmx.net>
3009
3010         * undo_funcs.C:
3011         * lyxfunc.C:
3012         * buffer.[Ch]:
3013         * BufferView_pimpl.C:
3014         * BufferView.C: getParFromID related ParagraphList::iterator changes
3015
3016 2003-04-28  André Pönitz  <poenitz@gmx.net>
3017
3018         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
3019           Changes
3020
3021 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3022
3023         * messages.C: remove one more localedir class variable.
3024
3025 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3026
3027         * messages.C (getLocaleDir): singleton generation function
3028         (Pimpl): use it.
3029         (Messages): add a default constructor.
3030
3031         * main.C (main): do not setup localedir here, do not call
3032         gettext_init.
3033
3034         * gettext.C (_): use it.
3035         (gettext_init): delete funciton
3036
3037 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3038
3039         * gettext.C (getLyXMessages): new singleton generating function.
3040
3041         * buffer.C (updateDocLang): adjust
3042
3043         * Makefile.am (messages.o): add target
3044         (main.o): remove target
3045
3046 2003-04-27  John Levon  <levon@movementarian.org>
3047
3048         * bufferlist.C:
3049         * lyx_cb.C:
3050         * lyxfunc.C:
3051         * lyxvc.C: specify cancel button in Alert::prompt
3052
3053 2003-04-26  John Levon  <levon@movementarian.org>
3054
3055         * text3.C:
3056         * lyxfunc.C:
3057         * lfuns.h:
3058         * LyXAction.C: add LFUN_INSET_SETTINGS
3059
3060         * lyxfunc.C: don't enable tabular-feature when there's
3061         just any locking inset
3062
3063 2003-04-26  John Levon  <levon@movementarian.org>
3064
3065         * bufferlist.C: re-add Cancel to buffer close question
3066
3067         * lyxfunc.C: fix import UI a bit
3068
3069 2003-04-25  John Levon  <levon@movementarian.org>
3070
3071         * gettext.C: remove the broken asserts for now
3072
3073 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3074
3075         * messages.C: make case where setlocale cannot comply work better.
3076
3077         * buffer.C (updateDocLang): new function
3078         (changeLanguage): use it
3079         (readFile): use it
3080
3081         * text2.C (setCounter): use B_ a bit.
3082
3083         * lyxlayout.C (Read): be sure to trim the label strings.
3084
3085         * messages.C (Messages): fix typo in comment
3086
3087         * buffer.C (readFile): set message_ after file is loaded.
3088         (makeDocBookFile): remove double return
3089         (changeLanguage): reset message_ upon language change.
3090         (B_): new func, use this to get translated buffer strings.
3091
3092         * main.C: add myself and Jean Marc as authors.
3093
3094 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3095
3096         * messages.[hC]: pimplify Messages, and three different pimpls to be
3097         used in different circumstances.
3098
3099         * gettext.[Ch]: change for use with new message code.
3100
3101 2003-04-24 André Pönitz <poenitz@gmx.net>
3102
3103         * factory.C: support for eqref
3104
3105 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3106
3107         * messages.[Ch]: add missing char
3108
3109         * Makefile.am (lyx_SOURCES): add messages.[Ch]
3110
3111         * messages.[Ch]: New files
3112
3113 2003-04-18  John Levon  <levon@movementarian.org>
3114
3115         * BufferView.h:
3116         * BufferView.C:
3117         * BufferView_pimpl.C:
3118         * lfuns.h:
3119         * LyXAction.C:
3120         * lyxtext.h:
3121         * text2.C: remove layout-copy/paste (bug 778)
3122
3123 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3124
3125         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
3126
3127 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
3128
3129         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
3130         if they succeed. Act accordingly.
3131
3132 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3133
3134         * text2.C (setCharFont): adjust
3135         (setCounter): adjust
3136         (insertStringAsLines): adjust
3137
3138         * text.C (leftMargin): adjust
3139         (setHeightOfRow): adjust
3140
3141         * rowpainter.C (paintFirst): adjust
3142         (paintLast): adjust
3143
3144         * paragraph_funcs.C (depthHook): ParagraphList::iterators
3145         (outerHook): ditto
3146         (isFirstInSequence): ditto
3147         (getEndLabel): ditto
3148         (outerFont): adjust
3149
3150         * paragraph.C (getParLanguage): comment out some hard stuff.
3151
3152         * buffer.C (insertStringAsLines): take a ParagraphList as arg
3153         (sgmlError): ditto
3154         (simpleDocBookOnePar): ditto
3155         (makeDocBookFile): use ParagraphList::iterator
3156
3157         * CutAndPaste.C (pasteSelection): adjust
3158
3159 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3160
3161         * text2.C (getFont): adjust
3162         (getLayoutFont): adjust
3163         (getLabelFont): adjust
3164
3165         * paragraph_funcs.C (TeXOnePar): adjust
3166
3167         * buffer.C (simpleLinuxDocOnePar): adjust
3168         (simpleDocBookOnePar): adjust
3169
3170         * CutAndPaste.C (pasteSelection): adjust
3171
3172         * BufferView.C (getEncoding): adjust
3173
3174         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
3175
3176 2003-04-16  John Levon  <levon@movementarian.org>
3177
3178         * lyxfind.C: use parlist stuff for search/changes
3179
3180 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
3183
3184         * text2.C (deleteEmptyParagraphMechanism): adjust
3185
3186         * text2.[Ch] (ownerParagraph): delete func (both of them
3187
3188 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3189
3190         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
3191
3192 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3193
3194         * ParagraphList.C: prepare for NO_NEXT
3195
3196 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3197
3198         * text2.C (getFont): adjust
3199         (getLayoutFont): adjust
3200         (getLabelFont): adjust
3201
3202         * paragraph.C (getFont): adjust
3203         (getLabelFont): adjust
3204         (getLayoutFont): adjust
3205
3206         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
3207
3208 2003-04-15  John Levon  <levon@movementarian.org>
3209
3210         From Angus Leeming
3211
3212         * lyx_main.C: handle Include in .ui files
3213
3214 2003-04-15  John Levon  <levon@movementarian.org>
3215
3216         * MenuBackend.C: make the doc files length shorter
3217
3218         * ToolbarBackend.h:
3219         * ToolbarBackend.C: handle toolbar placement flags,
3220         Minibuffer
3221
3222 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3223
3224         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
3225         adjust
3226
3227         * paragraph_funcs.C (TeXOnePar): adjust
3228
3229         * paragraph.C (getLabelFont): add outerfont arg, adjust
3230         (getLayoutFont): ditto
3231         (simpleTeXOnePar): adjust
3232
3233         * paragraph_pimpl.C (realizeFont): delete func
3234
3235 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
3236
3237         * text2.C (beforeFullRowInset): added a bad getchar check, removed
3238         row argument, constify cur argument.
3239
3240 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3241
3242         * text2.C (getFont): adjust
3243         (getLayoutFont): adjust
3244         (getLabelFont): adjust
3245
3246         * paragraph_funcs.C (TeXOnePar): adjust
3247         (outerFont): new func...
3248         (realizeFont): ...moved out from here, changed this to facilitate
3249         transition
3250
3251         * paragraph.C (getFont): take outerfont as arg, adjust
3252         (simpleTeXOnePar): add outerfont arg, adjust
3253
3254         * buffer.C (simpleLinuxDocOnePar): adjust
3255         (simpleDocBookOnePar): adjust
3256
3257         * CutAndPaste.C (pasteSelection): adjust
3258
3259         * BufferView.C (getEncoding): adjust
3260
3261 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3262
3263         * text2.C (setCharFont): adjust
3264         (setCounter): adjust
3265
3266         * text.C (leftMargin): adjust
3267         (setHeightOfRow): adjust
3268
3269         * rowpainter.C (paintFirst): adjust
3270         (paintLast): adjust
3271
3272         * paragraph_pimpl.C (realizeFont): adjust
3273
3274         * paragraph.C (isFirstInSequence): move from here...
3275         * paragraph_funcs.C (isFirstInSequence): ...to here
3276
3277         * paragraph.C (outerHook): move from here...
3278         * paragraph_funcs.C (outerHook): ...to here
3279
3280         * paragraph.C (depthHook): move from here...
3281         * paragraph_funcs.C (depthHook): ...to here
3282
3283         * paragraph.C (getEndLabel): move from here...
3284         * paragraph_funcs.C (getEndLabel): ...to here
3285
3286         * text2.C (realizeFont): move from here...
3287         * paragraph_funcs.C (realizeFont): ...to here
3288
3289 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3290
3291         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
3292
3293 2003-04-14  Angus Leeming  <leeming@lyx.org>
3294
3295         * LColor.[Ch]: scrap LColor mathcursor.
3296
3297 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * lyxlex.[Ch] (text): delete function
3300         * trans.C (Load): adjust
3301         * paragraph_funcs.C (readParToken): adjust
3302
3303 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3304
3305         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
3306         vector<char> instead of a char[].
3307
3308         * lyxlex_pimpl.C (getString): adjust
3309         (next): adjust
3310         (lex): use getString
3311         (eatLine): adjust
3312         (nextToken): adjust
3313
3314         * lyxlex.C (text): use pimpl_->getString()
3315         (getBool): ditto
3316         (findToken): ditto
3317
3318 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
3319
3320         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
3321         (makeFontEntriesLayoutSpecific): temp var for par.size()
3322         (setLayout): temp var for ownerParagraphs().end()
3323         (fullRebreak): temp var for rows().end()
3324         (selectionAsString): temp var for boost::next(startpit), realize
3325         that the while really is a regular for loop.
3326         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
3327         setCursor in one place.
3328         (setParagraph): temp vr for ownerParagraphs().end()
3329         (updateCounters): make the while loop a for loop
3330         (cutSelection): temp var for ownerParagraphs().end()
3331         (updateInset): make the do {} while() a regular for loop
3332         (getCursorX): use temp vars
3333         (setCurrentFont): use temp vars
3334         (getColumnNearX): use temp vars
3335
3336 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3337
3338         * text.C (transformChar): use temp var for getChar
3339         (computeBidiTables): use temp var for row->par()
3340         (fill): move temp vars for row->par() and pit->layout() earlier in
3341         the function.
3342         (labelFill): use temp var for row->par()
3343         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
3344         asc and desc, realize that pit never changes and that firstpit is
3345         just a duplicate and not needed. Exchange rit->par() with pit in a
3346         lot of places.
3347         (breakAgain): use a temp var for boost::next(rit)
3348         (breakAgainOneRow): ditto
3349         (breakParagraph): use a temp var for rows().begin()
3350         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
3351         (cursorRightOneWord): use temp var for cursor.par() and
3352         cursor.pos(), remove usage of tmpcursor.
3353         (cursorLeftOneWord): use temp var for cursor.par() and
3354         cursor.pos() only set cur at end of function.
3355
3356 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * text.C, text2.C: exchange all usage of Paragraph::next with
3359         boost::next(ParagraphList::iterator)
3360
3361         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
3362
3363         * text2.C (cursorTop): simplify implementation
3364         (cursorBottom): ditto
3365         (setParagraph): use ParagraphList::iterator
3366         (setCurrentFont): adjust
3367         (getColumnNearX): adjust
3368         (cursorRight): adjust
3369         (cursorLeft): remove usage of Paragraph::previous
3370         (cursorUpParagraph): ditto
3371         (deleteEmptyParagraphMechanism): slight cleanup
3372
3373         * text.C (isBoundary): take a Paragraph const & instead of a
3374         pointer as arg.
3375         (addressBreakPoint): ditto
3376         (leftMargin): remove usage of Paragraph::previous.
3377         (setHeightOfRow): ditto
3378         (cursorLeftOneWord): ditto
3379         (selectNextWordToSpellcheck): ditto
3380         (Delete): ditto
3381         (backspace): ditto
3382         (breakParagraph): remove one usage of Paragraph::next
3383         (redoParagraph): ditto
3384         (acceptChange): ditto
3385         (insertChar): adjust
3386         (rowBreakPoint): adjust
3387
3388         * bufferview_funcs.C (toggleAndShow): adjust
3389
3390 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
3391
3392         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
3393         methods to access it.
3394         * lyxtext.h:
3395         * text.C: Added updateRowPositions to compute all row positions.
3396         Make top_y and getRowNearY() to use the cached y position
3397
3398 2003-04-11  John Levon  <levon@movementarian.org>
3399
3400         * text.C (rowBreakPoint): reintroduce the labelEnd
3401         checks, code copied from the row fill stuff. Deep voodoo.
3402
3403         * text.C (fill): add a comment and debugging for the
3404         next poor soul.
3405
3406 2003-04-11  John Levon  <levon@movementarian.org>
3407
3408         * text.C: make sure fullrow insets get wrapped to the next line,
3409         even when they're in a manual label
3410
3411 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
3412
3413         * text2.C (insertParagraph): make it take ParagraphList::iterator
3414         as arg.
3415         (setLayout): make it return ParagraphList::iterator
3416         (redoParagraphs): ditto
3417         (setCounter): ditto
3418         (checkParagraph): ditto
3419
3420         * text.C (getRow): make getrow take ParagraphList::iterator as arg
3421
3422         * text2.C: adjust several funcs.
3423         (realizeFont): take a ParagraphList::iterator as arg.
3424         (getLayoutFont): ditto
3425         (getLabelFont): ditto
3426         (setCharFont): ditto
3427
3428         * text.C: adjust several funcs.
3429
3430 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3431
3432         * text.C (selectNextWordToSpellcheck): don't accidentally
3433         skip insets
3434
3435 2003-04-10  John Levon  <levon@movementarian.org>
3436
3437         * ToolbarBackend.C (getIcon): special handling for
3438         LFUN_MATH_DELIM
3439
3440 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
3441
3442         * text2.C (cursorRight): a getChar assert fixed
3443
3444 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3445
3446         * text2.C (getFont): change to take a ParagraphList::iterator
3447         instead of Paragraph*
3448         Adjust several functions.
3449
3450         * text.C (transformChar): change to take a ParagraphList::iterator
3451         instead of Paragraph*
3452         (singleWidth): ditto
3453         Adjust several functions.
3454
3455         * rowpainter.C: adjust several functions
3456         * rowpainter.h:store a ParagraphList::iterator and not a
3457         Paragraph&.
3458
3459
3460 2003-04-09  John Levon  <levon@movementarian.org>
3461
3462         * lyxfunc.C:
3463         * lfuns.h:
3464         * LyXAction.h:
3465         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
3466         and the "help" bits as well
3467
3468 2003-04-09  John Levon  <levon@movementarian.org>
3469
3470         * ToolbarBackend.h:
3471         * ToolbarBackend.C: allow multiple toolbars
3472
3473 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3474
3475         * undo_funcs.C (setCursorParUndo): adjust
3476
3477         * text_funcs.C (transposeChars): adjust
3478
3479         * text3.C (gotoNextInset): adjust
3480         (dispatch): adjust
3481
3482         * text2.C (setLayout): adjust
3483         (changeDepth): adjust
3484         (setFont): adjust
3485         (redoParagraphs): adjust
3486         (selectionAsString): adjust
3487         (setParagraph): adjust
3488         (insertInset): adjust
3489         (cutSelection): adjust
3490         (copySelection): adjust
3491         (pasteSelection): adjust
3492         (insertStringAsLines): adjust
3493         (updateInset): adjust
3494         (setCursor): change to take a ParagraphList::iterator parameter
3495         (setCursorIntern): change to take a ParagraphList::iterator parameter
3496         (setCurrentFont): adjust
3497         (cursorLeft): adjust
3498         (cursorRight): adjust
3499         (deleteEmptyParagraphMechanism): adjust
3500
3501         * text.C (breakParagraph): adjust
3502         (insertChar): adjust
3503         (acceptChange): adjust
3504         (rejectChange): adjust
3505         (selectNextWordToSpellcheck): adjust
3506         (changeCase): adjust
3507         (Delete): adjust
3508         (backspace): adjust
3509
3510         * lyxfind.C (SearchForward): adjust
3511         (SearchBackward): adjust
3512         (nextChange): adjust
3513
3514         * lyxcursor.C (par): adjust
3515
3516         * lyxcursor.h: store a ParagraphList::iterator instead of a
3517         Paragraph*
3518
3519         * lyx_cb.C (getPossibleLabel): adjust
3520
3521         * bufferview_funcs.C (toggleAndShow): adjust
3522
3523         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
3524         (dispatch): adjust
3525
3526         * BufferView.C (removeAutoInsets): adjust
3527         (lockedInsetStoreUndo): adjust
3528
3529 2003-04-09  John Levon  <levon@movementarian.org>
3530
3531         * ToolbarBackend.C: try icon without argument
3532         if with argument fails
3533
3534 2003-04-08  John Levon  <levon@movementarian.org>
3535
3536         * ToolbarBackend.h:
3537         * ToolbarBackend.C: add getIcon(), handle tooltip,
3538         and change from "Icon" to "Item".
3539
3540 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3541
3542         * BufferView.C (lockInset): another bad getchar crunched
3543
3544 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3545
3546         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3547         again)
3548
3549 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3550
3551         * lyxfind.C (searchForward, searchBackwards): bug 782
3552
3553 2003-04-07  John Levon  <levon@movementarian.org>
3554
3555         * paragraph.C: remove dead comment
3556
3557         * text.C: remove troublesome depth-fiddling code
3558         in leftMargin() and rightMargin() (bug 1017)
3559
3560         * text.C: fix breaking of rows in nested lists
3561         (bug 1004)
3562
3563         * text2.C (updateCounters): fix up depth values
3564         (bug 1013)
3565
3566 2003-04-07  John Levon  <levon@movementarian.org>
3567
3568         * BufferView_pimpl.C: clear message when doc finishes resizing,
3569         and after a mouse event
3570
3571         * lyxfunc.C: clear message after exiting inset
3572
3573 2003-04-07  John Levon  <levon@movementarian.org>
3574
3575         * bufferview_funcs.C: show math status not outside
3576         status in the statusbar
3577
3578 2003-04-07  John Levon  <levon@movementarian.org>
3579
3580         * lyxfunc.C: note status changed after a depth change
3581
3582 2003-04-04  Angus Leeming  <leeming@lyx.org>
3583
3584         * LaTeX.h: move AuxInfo operator==, != out of line.
3585         Remove LaTeX virtual destructor; nothing derives from it.
3586         Move operator()() out of public area and rename it startscript().
3587         Change protected for private.
3588
3589 2003-04-04  Angus Leeming  <leeming@lyx.org>
3590
3591         * lyxfunc.C:
3592         * text2.C: remove unneeded #includes.
3593
3594 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3595
3596         * text2.C (dEPM): fix the heigth of the next row
3597
3598 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3599
3600         * text.C: squashed an invalid getChar requester + some ws changes
3601
3602 2003-04-03  John Levon  <levon@movementarian.org>
3603
3604         * bufferview_funcs.h:
3605         * bufferview_funcs.C:
3606         * lyxfunc.C:
3607         * lyxtext.h:
3608         * text2.C: make getStatus work for the env depth lfuns
3609
3610 2003-04-03  John Levon  <levon@movementarian.org>
3611
3612         * bufferview_funcs.h:
3613         * bufferview_funcs.C:
3614         * lyxfunc.C:
3615         * lyxtext.h:
3616         * text2.C: parlistize decDepth(), by merging it with incDepth()
3617
3618 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3619
3620         * lyxrow.h: store a ParagraphList::iterator instead of a
3621         Paragraph* and adjust other class functions to suit.
3622
3623         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3624         above.
3625
3626 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3627
3628         * text2.C (setCursor): do not anchor to cursor row for the time being
3629
3630 2003-04-02  John Levon  <levon@movementarian.org>
3631
3632         * LyXAction.C:
3633         * lfuns.h:
3634         * lyx_main.C:
3635         * lyxtext.h:
3636         * text.C:
3637         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3638
3639 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3640
3641         * paragraph.h: make ParagraphList and ParagraphList::iterator
3642         friends of Paragraph.
3643
3644         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3645
3646         * ParagraphList.C: Use the private next_ and previous_ from
3647         Paragraph.
3648
3649 2003-04-01  John Levon  <levon@movementarian.org>
3650
3651         * ToolbarBackend.h:
3652         * ToolbarBackend.C:
3653         * Makefile.am: rename, remove defaults gunk
3654
3655         * MenuBackend.h:
3656         * MenuBackend.C: remove defaults gunk
3657
3658         * Languages.h:
3659         * Languages.C: remove defaults gunk
3660
3661         * lyx_main.h:
3662         * lyx_main.C: error out if files couldn't be found.
3663
3664 2003-04-02  John Levon  <levon@movementarian.org>
3665
3666         * text2.C: make incDepth() use parlist
3667
3668 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3669
3670         * undo_funcs.C (firstUndoParagraph): adjust
3671
3672         * text3.C (gotoInset): adjust
3673         (dispatch): adjust, and rewrite loop.
3674
3675         * text2.C (init): adjust, and rewrite loop.
3676         (redoParagraphs): adjust
3677         (updateInset): adjust, and rewrite loop.
3678         (deleteEmptyParagraphMechanism): adjust
3679
3680         * tabular.C (LyXTabular): adjust
3681         (SetMultiColumn): adjust
3682         (TeXRow): adjust
3683
3684         * lyxtext.[Ch] (ownerParagraph): delete function
3685         (ownerParagraphs): new function returns a ParagraphList.
3686
3687         * BufferView.C (removeAutoInsets): adjust
3688         (insertErrors): adjust
3689         (setCursorFromRow): adjust
3690
3691 2003-04-01  Angus Leeming  <leeming@lyx.org>
3692
3693         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3694         in the frontends.
3695
3696 2003-04-02  John Levon  <levon@movementarian.org>
3697
3698         * lyxtext.h:
3699         * text.C:
3700         * Makefile.am:
3701         * text_funcs.h:
3702         * text_funcs.C: make transposeChars a free function
3703
3704         * lyxrow_funcs.C: remove wrong comment
3705
3706 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3707
3708         * lyxtext.h: adjust
3709         * rowpainter.C: adjust
3710         * text.C: adjust
3711         * text2.C: adjust
3712         * text3.C: adjust
3713
3714         * lyxrow_funcs. [Ch]: new files
3715
3716         * lyxrow.[Ch]: remove next and previous pointers
3717         (next,previous): remove accessor functions
3718         (isParEnd): move to lyxrow_funcs
3719         (lastPos): move to lyxrow_funcs
3720         (nextRowIsAllInset): move to lyxrow_funcs
3721         (lastPrintablePos): move to lyxrow_funcs
3722         (numberOfSeparators): move to lyxrow_funcs
3723         (numberOfHfills): move to lyxrow_funcs
3724         (numberOfLabelHfills): move to lyxrow_funcs
3725         (hfillExpansion): move to lyxrow_funcs
3726
3727         * lyxfunc.C: adjust
3728
3729         * bufferview_funcs.C (toggleAndShow): adjust
3730
3731         * RowList.h: Remove class RowList from file leave just a
3732         std::list<Row>.
3733
3734         * RowList.C: delete file
3735
3736         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3737         and lyxrow_funcs.h
3738
3739 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3740
3741         * text3.C (cursorPrevious): adjust
3742         (cursorNext): adjust
3743         (dispatch): adjust
3744
3745         * text2.C (redoHeightOfParagraph): adjust
3746         (redoDrawingOfParagraph): adjust
3747         (setCursor): adjust
3748
3749         * text.C (breakParagraph): adjust
3750         (insertChar): adjust
3751         (backspace): adjust
3752
3753         * rowpainter.C (RowPainter): adjust
3754         (leftMargin): simplify and adjust
3755         (most rowpainter functions): adjust.
3756
3757         * rowpainter.h: store the row as RowList::iterator not as Row*
3758
3759         * lyxcursor.C (row): taka RowList::iterator as arg
3760         (irow): ditto
3761
3762         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3763         of Row*.
3764
3765 2003-04-01  Angus Leeming  <leeming@lyx.org>
3766
3767         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3768         stuff like bool Bool.
3769
3770 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3771
3772         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3773         rewrite a loop
3774
3775 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3776
3777         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3778         RowList::iterator.
3779
3780         * lyxtext.h (rows): drop one version and leve a const variant that
3781         returns a RowList::iterator.
3782
3783 2003-03-31  Angus Leeming  <leeming@lyx.org>
3784
3785         * text.C (fill): ensure that the signature is the same as that in the
3786         header file.
3787
3788 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3789
3790         * text2.C (redoParagraphs): adjust
3791         (updateCounters): adjust
3792         (checkParagraph): adjust
3793         (getColumnNearX): adjust and reformat a bit.
3794
3795         * text.C (top_y): adjust
3796         (workWidth): adjust
3797         (leftMargin): adjust
3798         (prepareToPrint): adjust
3799         (getRow): adjust
3800         (getRowNearY): adjust
3801
3802         * lyxtext.h: make rowlist_ mutable.
3803
3804         * RowList.h: add const_iterator
3805         * RowList.C: adjust for RowList::const_iterator.
3806
3807         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3808         adjust.
3809
3810 2003-03-31  John Levon  <levon@movementarian.org>
3811
3812         * lyxrc.h:
3813         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3814
3815         * lyx_main.C: set default fonts from using lyx_gui funcs
3816
3817         * exporter.C: pdf_mode moved from lyxrc
3818
3819         * lyx_cb.C:
3820         * lyxfunc.C: changes from above
3821
3822 2003-03-31  John Levon  <levon@movementarian.org>
3823
3824         * lyx_main.C: fix to the last fix
3825
3826 2003-03-31  John Levon  <levon@movementarian.org>
3827
3828         * bufferlist.C: "Load original" -> "Load Original"
3829
3830         * converter.C:
3831         * exporter.C:
3832         * importer.C:
3833         * lyx_main.C:
3834         * format.C: more Alert cleanups
3835
3836 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3837
3838         * text2.C (removeParagraph): make it take a RowList::iterator as
3839         arg, adjust.
3840         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3841         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3842
3843         * text.C (anchor_row): make it take a RowList::iterator as arg,
3844         adjust.
3845         (computeBidiTables): make it take a const reference to Row instead
3846         of Row pointer, adjust.
3847         (leftMargin): make it take a RowList::iterator as arg, adjust.
3848         (rowBreakPoint): adjust
3849         (breakAgainOneRow): make it take a RowList::iterator as arg,
3850         adjust.
3851         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3852
3853         * bufferview_funcs.C (toggleAndShow): adjust
3854
3855 2003-03-30  John Levon  <levon@movementarian.org>
3856
3857         * Makefile.am:
3858         * BoostFormat.h:
3859         * boost-inst.C: moved to support
3860
3861         * several files: changes as a result
3862
3863 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3864
3865         * text2.C (LyXText): adjust.
3866         (init): adjust
3867         (removeRow): make it take a RowList::iterator as arg, adjust.
3868         (fullRebreak): adjust
3869         (deleteEmptyParagraphMechanism): adjust
3870         (clearPaint): adjust
3871         (postPaint): adjust
3872
3873         * text.C (top_y): adjust
3874         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3875         (breakAgain): make it take a RowList::iterator as arg, adjust.
3876         (breakParagraph): adjust
3877         (insertChar): adjust
3878         (backspace): adjust
3879
3880         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3881         need_break_row, and refresh_row.
3882
3883         * text3.C (dispatch): adjust
3884
3885         * text2.C (checkParagraph): adjust
3886         (setCursor): adjust
3887         (setCursorFromCoordinates): adjust
3888
3889         * text.C (top_y): adjust
3890         (workWidth): adjust
3891         (getRow): make it return a RowList::iterator, adjust
3892         (getRowNearY): make it return a RowList::iterator, adjust
3893
3894         * text2.C (init): adjust
3895         (insertRow): remove function
3896         (insertParagraph): adjust
3897         (redoParagraphs): adjust
3898         (fullRebreak): adjust
3899         (updateCounters): adjust
3900
3901         * text.C (top_y): rewrite to use RowList iterators.
3902         (top_y): adjust
3903         (setHeightOfRow): rewrite to sue RowList iterators.
3904         (appendParagraph): adjust
3905         (breakAgain): adjust
3906         (breakAgainOneRow): adjust
3907         (breakParagraph): adjust
3908         (getRow): adjust
3909         (getRowNearY): adjust, and remove commented code.
3910
3911         * lyxtext.h (firstRow): delete function
3912         (lastRow): delete function
3913         (rows): new function (const and non-const versions.)
3914         (insertRow): delete function
3915
3916         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3917
3918 2003-03-29  John Levon  <levon@movementarian.org>
3919
3920         * BufferView_pimpl.C: always update scrollbar top
3921         because pasting text when we're anchored could mean we
3922         miss an update altogether
3923
3924 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3925
3926         * text2.C (init): use rowlist_.end() and not 0.
3927         (insertRow): change to take a RowList::iterator as arg, adjust
3928         for this.
3929         (insertParagraph): change to take a RowList::iterator as arg,
3930         adjust for this.
3931         (redoParagraphs): remove some debug msgs.
3932
3933         * text.C (appendParagraph): change to take a RowList::iterator
3934         arg, adjust for this.
3935         (breakAgain): add an assert
3936         (breakAgainOneRow): ditto
3937
3938 2003-03-29  John Levon  <levon@movementarian.org>
3939
3940         * text2.C: do not clear selection after inc/decDepth
3941         (bug 550)
3942
3943 2003-03-29  John Levon  <levon@movementarian.org>
3944
3945         * BufferView.C:
3946         * buffer.C: fix broken strerrors according to Lars
3947
3948 2003-03-29  John Levon  <levon@movementarian.org>
3949
3950         * converters.C: more Alert cleanups
3951
3952 2003-03-29  John Levon  <levon@movementarian.org>
3953
3954         * bufferview_funcs.C: remove pointless Alert
3955
3956         * buffer.C: fix confusing error message when
3957         a template is chmoded 000
3958
3959 2003-03-29  John Levon  <levon@movementarian.org>
3960
3961         * BufferView.C:
3962         * BufferView.h:
3963         * BufferView_pimpl.C: Alert fixes
3964
3965         * Makefile.am:
3966         * tabular.C:
3967         * tabular-old.C: remove unused table compat reading
3968
3969 2003-03-29  John Levon  <levon@movementarian.org>
3970
3971         * BufferView.C:
3972         * buffer.C:
3973         * lyx_cb.h:
3974         * lyx_cb.C: more Alert cleanups
3975
3976         * lyxfunc.C: don't allow chktex if not latex document
3977
3978 2003-03-29  John Levon  <levon@movementarian.org>
3979
3980         * lyx_cb.C:
3981         * BufferView.C:
3982         * buffer.C: warnings pushed down from support/,
3983         kill err_alert
3984
3985 2003-03-29  John Levon  <levon@movementarian.org>
3986
3987         * lyxfunc.C: safety check for C-r (revert)
3988
3989 2003-03-29  John Levon  <levon@movementarian.org>
3990
3991         * bufferlist.h:
3992         * bufferlist.C: several UI fixes using Alert::prompt.
3993         Fix the pointless looping quit code. Fix stupid revert
3994         behaviour (bug 938)
3995
3996         * lyxvc.h:
3997         * lyxvc.C:
3998         * lyx_cb.C: use Alert::prompt
3999
4000         * lyx_main.C: remove a silly question
4001
4002         * lyxfunc.C: remove a couple of silly questions,
4003         use Alert::prompt
4004
4005 2003-03-28  John Levon  <levon@movementarian.org>
4006
4007         * text2.C: fix bug 974 (End on empty par)
4008
4009 2003-03-28  John Levon  <levon@movementarian.org>
4010
4011         * BufferView_pimpl.C:
4012         * LyXAction.C:
4013         * lfuns.h: remove do-nothing math greek lfuns
4014
4015 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4016
4017         * lyxgluelength.h (isValidGlueLength): add default arg on
4018         parameter 2. Remove default arg from friend in class.
4019
4020         * lyxlength.h (isValidLength): add default arg on parameter 2.
4021         Remove default arg from friend in class.
4022
4023         * text2.C (LyXText): adjust, initialize refresh_row.
4024         (init): adjust
4025         (removeRow): adjust
4026         (insertRow): adjust
4027         (insertParagraph): adjst
4028         (redoParagraphs): adjust
4029         (fullRebreak): adjust
4030         (updateCounters): adjust
4031         (deleteEmptyParagraphMechanism): first attempt at fixing a
4032         crashing bug.
4033
4034         * text.C (top_y): adjust
4035         (setHeightOfRow): adjust
4036         (getRow): adjust
4037         (getRowNearY): adjust
4038
4039         * lyxtext.h: include RowList.h
4040         (~LyXText): not needed anymore, deleted.
4041         (firstRow): modify for RowList
4042         (lastRow): new function
4043         Delete firstrow and lastrow class variables, add a Rowlist
4044         rowlist_ class variable.
4045
4046         * lyxrow.C (lastPos): use empty() and not !size() to check if a
4047         paragraph is empty.
4048
4049         * RowList.C (insert): fix case where it == begin().
4050
4051 2003-03-26  Angus Leeming  <leeming@lyx.org>
4052
4053         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
4054         the thesaurus dialog.
4055
4056 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
4059
4060         * RowList.[Ch]: new files
4061
4062         * ParagraphList.C (erase): handle the case where it == begin
4063         correctly.
4064
4065 2003-03-25  John Levon  <levon@movementarian.org>
4066
4067         * Makefile.am:
4068         * aspell_local.h:
4069         * aspell.C: add new aspell support
4070
4071         * lyxrc.h:
4072         * lyxrc.C: Make use_pspell be use_spell_lib. Always
4073         have it accessible.
4074
4075 2003-03-25  Angus Leeming  <leeming@lyx.org>
4076
4077         * lfuns.h:
4078         * LyXAction.C (init): new LFUN_INSET_INSERT.
4079
4080         * BufferView_pimpl.C (dispatch): split out part of the
4081         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
4082
4083         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
4084         LFUN_INSET_APPLY.
4085
4086 2003-03-25  Angus Leeming  <leeming@lyx.org>
4087
4088         * lyxfunc.C (dispatch): changes to the Dialogs interface.
4089
4090 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
4091
4092         * text2.C:
4093         * text3.C: remove useless row->height(0)
4094
4095 2003-03-25  John Levon  <levon@movementarian.org>
4096
4097         * lyxtext.h:
4098         * text2.C:
4099         * text3.C: rename the refreshing stuff to better names
4100
4101 2003-03-24  John Levon  <levon@movementarian.org>
4102
4103         * BufferView_pimpl.h:
4104         * BufferView_pimpl.C: update layout choice on a mouse
4105         press/release
4106
4107 2003-03-23  John Levon  <levon@movementarian.org>
4108
4109         * Makefile.am: fix commandtags.h reference
4110
4111 2003-03-22  John Levon  <levon@movementarian.org>
4112
4113         * BufferView_pimpl.C:
4114         * lyxtext.h:
4115         * rowpainter.C:
4116         * rowpainter.h:
4117         * text.C:
4118         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
4119
4120 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
4121
4122         * lyxtext.h:
4123         * text.C: take the rtl methods out of line
4124
4125 2003-03-21 André Pönitz <poenitz@gmx.net>
4126
4127         * metricsinfo.[Ch]: new files containing structures to be passed around
4128         during the two-phase-drawing...
4129
4130 2003-03-21 André Pönitz <poenitz@gmx.net>
4131
4132         * lyxtextclass.C: read 'environment' tag.
4133
4134 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
4135
4136         * text2.C (removeRow): fix bug 964
4137
4138 2003-03-20  John Levon  <levon@movementarian.org>
4139
4140         * rowpainter.C:
4141         * text.C:
4142         * text2.C: paint cleanups. Inset::update() dropped font
4143         parameter
4144
4145 2003-03-19  John Levon  <levon@movementarian.org>
4146
4147         * lyxfunc.C: only fitcursor/markDirty if available()
4148
4149 2003-03-19  John Levon  <levon@movementarian.org>
4150
4151         * commandtags.h: rename to ...
4152
4153         * lfuns.h: ... this, and renumber / cleanup
4154
4155 2003-03-19  John Levon  <levon@movementarian.org>
4156
4157         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
4158         fit the cursor after an lfun
4159
4160         * BufferView.h:
4161         * BufferView.C:
4162         * BufferView_pimpl.h:
4163         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
4164
4165         * LyXAction.C: layout-character should have ReadOnly
4166
4167         * ParagraphParameters.C:
4168         * buffer.C:
4169         * bufferview_funcs.C:
4170         * lyx_cb.C:
4171         * lyxfind.C:
4172         * lyxtext.h:
4173         * text.C:
4174         * text2.C:
4175         * text3.C:
4176         * undo_funcs.C: changes from above
4177
4178 2003-03-18  John Levon  <levon@movementarian.org>
4179
4180         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
4181         remove it from update()
4182
4183         * lyxfunc.C: update layout choice after an lfun
4184
4185         * text3.C: remove extra updateLayoutChoice()s
4186
4187 2003-03-18  John Levon  <levon@movementarian.org>
4188
4189         * text.C: top_y change means full repaint, fix
4190         a drawing bug with cursor movement
4191
4192 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4193
4194         * lyxtext.h:
4195         * text.C:
4196         * text2.C: anchor row on setCursor
4197
4198 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
4199
4200         * lyxtext.h: remove almost all mutable keywords
4201         * text.C:
4202         * text2.C:
4203         * text3.C: remove const keywords accordingly
4204
4205 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4206
4207         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
4208         anon namespace
4209         (TeXEnvironment): ditto
4210         (TeXOnePar): ditto
4211
4212 2003-03-17  John Levon  <levon@movementarian.org>
4213
4214         * text.C (rowBreakPoint): remove attempt to fix displayed
4215         math insets inside a manual label
4216
4217 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * lyxtext.h: remove BufferView* as first arg from almost all class
4220         functions.
4221         * other files: adjust.
4222
4223 2003-03-17  John Levon  <levon@movementarian.org>
4224
4225         * lyxtext.h:
4226         * undo_funcs.C:
4227         * text2.C: more paint cleanups
4228
4229         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
4230
4231         * rowpainter.h:
4232         * rowpainter.C: remove "smart" background painting code
4233
4234 2003-03-16  John Levon  <levon@movementarian.org>
4235
4236         * lyxtext.h:
4237         * text.C:
4238         * text2.C:
4239         * text3.C: add helper functions for setting refresh_row/y
4240
4241 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
4242
4243         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
4244         newline inset which *can* get inserted in the pass_thru layouts.
4245         This is primarily for literate documents.
4246
4247 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
4248
4249         * buffer.C: increment LYX_FORMAT to 223
4250
4251 2003-03-14 André Pönitz <poenitz@gmx.net>
4252
4253         * textclass.h: prepare for environment handling, ws changes
4254         * lyxlayout.C: read latexheader and latexfooter tags
4255
4256 2003-03-14  John Levon  <levon@movementarian.org>
4257
4258         * text2.C: rewrite ::status() a bit
4259
4260 2003-03-13  John Levon  <levon@movementarian.org>
4261
4262         * lyxtext.h: add some docs
4263
4264 2003-03-13  John Levon  <levon@movementarian.org>
4265
4266         * lyxtext.h:
4267         * text.C:
4268         * text2.C:
4269         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
4270
4271 2003-03-13  John Levon  <levon@movementarian.org>
4272
4273         * text3.C: fix appendix redrawing
4274
4275 2003-03-13  John Levon  <levon@movementarian.org>
4276
4277         * text.C (setHeightOfRow):
4278         * rowpainter.h:
4279         * rowpainter.C: make appendix mark have the text
4280           "Appendix" so the user knows what it is
4281
4282         * LColor.h:
4283         * LColor.C: s/appendixline/appendix/ from above
4284
4285 2003-03-13  John Levon  <levon@movementarian.org>
4286
4287         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
4288
4289         * text.C: fix a getChar(pos) bug properly
4290
4291 2003-03-13  Angus Leeming  <leeming@lyx.org>
4292
4293         * commandtags.h:
4294         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
4295         Probably only temporary. Let's see how things pan out.
4296
4297         * BufferView.C (unlockInset):
4298         * BufferView_pimpl.C (fitCursor):
4299         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
4300
4301         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
4302         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
4303
4304         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
4305         new functions that convert ParagraphParameters to and from a string.
4306
4307         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
4308         BufferView::Pimpl's dispatch.
4309         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
4310
4311 2003-03-13 André Pönitz <poenitz@gmx.net>
4312
4313         * lyxfunc.C:
4314         * text3.C:
4315         * factory.C: make it aware of InsetEnv
4316
4317 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
4318
4319         * text2.C (setCursor): never ask for one past last
4320         (setCursor): add some debugging messages.
4321
4322         * text.C (singleWidth): never ask for one past last
4323         (singleWidth): ditto
4324         (leftMargin): ditto
4325         (rightMargin): ditto
4326         (rowBreakPoint): ditto
4327         (setHeightOfRow): ditto
4328         (prepareToPrint): ditto
4329
4330         * rowpainter.C (paintBackground): never ask for one past last
4331         (paintText): never ask for one past last
4332
4333         * paragraph_pimpl.C (getChar): make the assert stricter, never
4334         allow the one past last pos to be taken
4335
4336         * paragraph.C (getChar): ws changes only
4337
4338         * lyxrow.C (nextRowIsAllInset): never ask for one past last
4339         (numberOfSeparators): ditto
4340         (numberOfHfills): ditto
4341
4342 2003-03-12  John Levon  <levon@movementarian.org>
4343
4344         * author.h:
4345         * author.C:
4346         * bufferparams.h:
4347         * bufferparams.C:
4348         * paragraph_funcs.C: fix per-buffer authorlists
4349
4350 2003-03-12  John Levon  <levon@movementarian.org>
4351
4352         * text.C: fix newline in right address
4353
4354 2003-03-12  Angus Leeming  <leeming@lyx.org>
4355
4356         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
4357         duplicate those in LyXFunc::dispatch.
4358
4359         * commandtags.h:
4360         * LyXAction.C:
4361         * ToolbarDefaults.C:
4362         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
4363         Add LFUN_FONTFREE_UPDATE.
4364
4365         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
4366         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
4367
4368         * bufferview_func.[Ch]: several new functions to facilliate
4369         transfer of data to and from the character dialog.
4370
4371 2003-03-12  John Levon  <levon@movementarian.org>
4372
4373         * buffer.C:
4374         * paragraph.h:
4375         * paragraph.C:
4376         * paragraph_funcs.C:
4377         * paragraph_pimpl.C:
4378         * sgml.C:
4379         * tabular.C:
4380         * text.C:
4381         * text3.C: remove META_NEWLINE in favour of an inset
4382
4383         * rowpainter.h:
4384         * rowpainter.C: remove paintNewline (done by inset)
4385
4386 2003-03-12  John Levon  <levon@movementarian.org>
4387
4388         * paragraph_pimpl.C: complain about bad getChar()s
4389         for a while at least
4390
4391 2003-03-12  John Levon  <levon@movementarian.org>
4392
4393         * buffer.h:
4394         * buffer.C: move paragraph read into a separate function,
4395         a little renaming to reflect that.
4396
4397         * bufferparams.h:
4398         * bufferparams.C: remove the author_ids map, not necessary now
4399
4400         * factory.h:
4401         * factory.C: moved Buffer::readInset to here
4402
4403         * paragraph_funcs.h:
4404         * paragraph_funcs.C: readParagraph free function moved from
4405         buffer.C
4406
4407         * tabular.C: name change
4408
4409 2003-03-12  John Levon  <levon@movementarian.org>
4410
4411         * buffer.C:
4412         * ParagraphParameters.C: move par params input to
4413         a read() method
4414
4415         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
4416         behave like a normal read from the stream wrt reading
4417         a line vs. a \\token
4418
4419 2003-03-12  John Levon  <levon@movementarian.org>
4420
4421         * paragraph.C:
4422         * ParagraphParameters.h:
4423         * ParagraphParameters.C: move output code to a
4424         ::write() method
4425
4426 2003-03-12  John Levon  <levon@movementarian.org>
4427
4428         * BufferView.C (insertLyXFile):
4429         * buffer.h:
4430         * buffer.C:
4431         * tabular.C: use a parlist iterator for creating the
4432           document.
4433
4434 2003-03-12  John Levon  <levon@movementarian.org>
4435
4436         * buffer.C: make current_change static local not
4437           static file-scope
4438
4439 2003-03-12  John Levon  <levon@movementarian.org>
4440
4441         * buffer.C: fix insertStringAsLines for change tracking
4442
4443 2003-03-12  John Levon  <levon@movementarian.org>
4444
4445         * BufferView.C:
4446         * tabular.C:
4447         * buffer.h:
4448         * buffer.C:
4449         * bufferparams.h:
4450         * bufferparams.C: move author list into params. Rename some
4451           functions. Move the header reading into a separate token
4452           loop. Move the header token reading into BufferParams.
4453
4454 2003-03-12  John Levon  <levon@movementarian.org>
4455
4456         * changes.C: put debug inside lyxerr.debugging() checks
4457
4458 2003-03-11 André Pönitz <poenitz@gmx.net>
4459
4460         * factory.C: make it aware of InsetHFill
4461
4462 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4463
4464         * buffer.C (latexParagraphs): move function from here...
4465         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
4466         args.
4467
4468 2003-03-10  Angus Leeming  <leeming@lyx.org>
4469
4470         * LyXAction.C (init): fix bug in poplating array with multiple entries
4471         with the same LFUN (spotted by JMarc).
4472
4473 2003-03-10  John Levon  <levon@movementarian.org>
4474
4475         * text.C:
4476         * text2.C: move getColumnNearX() near its
4477         only call site
4478
4479 2003-03-10  John Levon  <levon@movementarian.org>
4480
4481         * text.C: fix break before a minipage
4482
4483 2003-03-10  John Levon  <levon@movementarian.org>
4484
4485         * text.C: fix the last commit
4486
4487 2003-03-09  John Levon  <levon@movementarian.org>
4488
4489         * lyxtext.h:
4490         * text.C:
4491         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
4492         bug 365 (don't break before insets unless needed). Don't
4493         return a value > last under any circumstances.
4494
4495 2003-03-09  Angus Leeming  <leeming@lyx.org>
4496
4497         * BufferView_pimpl.C (trackChanges, dispatch): call
4498         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
4499
4500 2003-03-09  Angus Leeming  <leeming@lyx.org>
4501
4502         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
4503         than Dialogs::showAboutlyx().
4504
4505 2003-03-09  Angus Leeming  <leeming@lyx.org>
4506
4507         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
4508         than Dialogs::showTabularCreate().
4509
4510 2003-03-09  John Levon  <levon@movementarian.org>
4511
4512         * lyxtext.h:
4513         * text.C:
4514         * text2.C: 3rd arg to nextBreakPoint was always the same.
4515           Use references.
4516
4517 2003-03-08  John Levon  <levon@movementarian.org>
4518
4519         * lyxrow.C:
4520         * paragraph.C:
4521         * paragraph.h:
4522         * rowpainter.C:
4523         * text.C:
4524         * text2.C: Remove the "main" bit from the "main body"
4525           notion.
4526
4527 2003-03-08  John Levon  <levon@movementarian.org>
4528
4529         * text.C (leftMargin): The left margin of an empty
4530         manual label paragraph should not include the label width
4531         string length.
4532
4533         * text.C (prepareToPrint): don't attempt to measure hfills
4534         for empty manual label paragraphs - the answer should be 0
4535
4536 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4537
4538         * CutAndPaste.C: remove commented code and reindent.
4539
4540 2003-03-08  John Levon  <levon@movementarian.org>
4541
4542         * lyxfunc.h:
4543         * lyxfunc.C: move reloadBuffer()
4544
4545         * BufferView.h:
4546         * BufferView.C: to here
4547
4548         * lyxvc.C: add comment
4549
4550         * vc-backend.h:
4551         * vc-backend.C: call bv->reload() to avoid
4552           getStatus() check on MENURELOAD
4553
4554 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4555
4556         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4557         to an old format .dep file.
4558
4559 2003-03-07  Angus Leeming  <leeming@lyx.org>
4560
4561         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4562         when the LFUN_MOUSE_RELEASE should have been handled by
4563         inset->localDispatch.
4564
4565 2003-03-07  Angus Leeming  <leeming@lyx.org>
4566
4567         * BufferView_pimpl.C (dispatch):
4568         * LyXAction.C (init):
4569         * ToolbarDefaults.C (init):
4570         * commandtags.h:
4571         * lyxfunc.C (getStatus):
4572         remove LFUN_INSET_GRAPHICS.
4573
4574         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4575
4576 2003-03-07  Angus Leeming  <leeming@lyx.org>
4577
4578         * commandtags.h:
4579         * LyXAction.C (init):
4580         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4581
4582         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4583
4584         * commandtags.h:
4585         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4586
4587         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4588         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4589
4590 2003-03-07  Angus Leeming  <leeming@lyx.org>
4591
4592         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4593         remove "ert".
4594
4595 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4596
4597         * ParagraphList.C (front): new function
4598         (back): implement
4599
4600 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4601
4602         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4603         and top_row_offset_. removed var first_y.
4604         * text.C (top_y):
4605         * text2.C (LyXText, removeRow):
4606         * text3.C:
4607         * BufferView_pimpl.C:
4608         use these methods instead of using first_y
4609
4610 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4611
4612         * text2.C (pasteSelection): adjust for checkPastePossible
4613
4614         * CutAndPaste.C: remove Paragraph * buf and replace with
4615         ParagraphList paragraphs.
4616         (DeleteBuffer): delete
4617         (cutSelection): change the tc type to textclass_type
4618         (copySelection): change the tc type to textclass_type
4619         (copySelection): adjust for ParagraphList
4620         (pasteSelection): change the tc type to textclass_type
4621         (pasteSelection): adjust for Paragraphlist
4622         (nrOfParagraphs): simplify for ParagraphList
4623         (checkPastePossible): simplify for ParagraphList
4624         (checkPastePossible): remove unused arg
4625
4626         * ParagraphList.C (insert): handle the case where there are no
4627         paragraphs yet.
4628
4629         * CutAndPaste.h: make CutAndPaste a namespace.
4630
4631         * text3.C (dispatch): adjust
4632
4633         * text.C (breakParagraph): add a ParagraphList as arg
4634
4635         * paragraph_funcs.C (breakParagraph): change to take a
4636         BufferParams and a ParagraphList as args.
4637         (breakParagraphConservative): ditto
4638         (mergeParagraph): ditto
4639         (TeXDeeper): add a ParagraphList arg
4640         (TeXEnvironment): ditto
4641         (TeXOnePar): ditto
4642
4643         * buffer.C (readLyXformat2): adjust
4644         (insertStringAsLines): adjust
4645         (latexParagraphs): adjust
4646
4647         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4648         (cutSelection): adjust
4649         (pasteSelection): adjust
4650
4651         * BufferView_pimpl.C (insertInset): adjust
4652
4653 2003-03-05  Angus Leeming  <leeming@lyx.org>
4654
4655         * commandtags.h:
4656         * LyXAction.C (init):
4657         * BufferView_pimpl.C (dispatch):
4658         * lyxfunc.C (getStatus):
4659         remove LFUN_CHILD_INSERT.
4660
4661         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4662
4663 2003-03-05  Angus Leeming  <leeming@lyx.org>
4664
4665         * commandtags.h:
4666         * LyXAction.C (init):
4667         * src/factory.C (createInset):
4668         * lyxfunc.C (getStatus):
4669         * text3.C (dispatch):
4670         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4671
4672         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4673
4674 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4675
4676         * ParagraphList.C (insert): handle insert right before end()
4677         (erase): fix cases where it can be first or last paragraph.
4678
4679 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4682         Paragraph::next and Paragraph::previous
4683         (TeXOnePar): ditto
4684
4685         * text.C (breakParagraph): adjust
4686
4687         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4688         BufferParams& as arg.
4689         (breakParagraph): use ParagraphList::insert
4690         (breakParagraphConservative): take a Buffer* instead of a
4691         BufferParams& as arg.
4692         (breakParagraphConservative): use ParagraphList::insert.
4693
4694         * buffer.C (insertStringAsLines): un-const it
4695         (insertStringAsLines): adjust
4696
4697         * ParagraphList.C (insert): new function
4698
4699         * CutAndPaste.C (pasteSelection): adjust
4700
4701         * text.C (backspace): adjust
4702
4703         * tabular.C (SetMultiColumn): adjust
4704
4705         * CutAndPaste.C (cutSelection): adjust
4706         (pasteSelection): adjust
4707
4708         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4709         Buffer const * as arg
4710
4711         * ParagraphList.C (erase): new function
4712         * paragraph_funcs.C (mergeParagraph): use it
4713         (mergeParagraph): make it take a Buffer* instead of a
4714         BufferParams* as arg
4715
4716         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4717         as arg
4718         (breakParagraphConservative): ditto
4719
4720         * paragraph.h: remove the breakParagraph friend
4721
4722         * paragraph.C (eraseIntern): new function
4723         (setChange): new function
4724
4725         * paragraph_funcs.C (mergeParagraph): make it take a
4726         ParagraphList::iterator instead of a Paragraph *, adjust
4727         accordingly.
4728
4729         * paragraph.h: move an #endif so that the change tracking stuff
4730         also works in the NO_NEXT case.
4731
4732 2003-03-04  Angus Leeming  <leeming@lyx.org>
4733
4734         * commandtags.h:
4735         * LyXAction.C: new LFUN_INSET_MODIFY.
4736
4737         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4738         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4739
4740 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4741
4742         * several files: ws changes only
4743
4744         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4745         (TeXEnvironment): ditto
4746         (TeXDeeper): ditto
4747
4748         * buffer.C (makeLaTeXFile): adjust
4749         (latexParagraphs): make it take ParagraphList::iterator as args
4750
4751 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4752
4753         * buffer.C (latexParagraphs): adjust
4754
4755         * paragraph.C (TeXOnePar): move function...
4756         (optArgInset): move function...
4757         (TeXEnvironment): move function...
4758         * paragraph_pimpl.C (TeXDeeper): move function...
4759         * paragraph_funcs.C: ...here
4760
4761         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4762
4763 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4764
4765         * buffer.C (readInset): remove compability code for old Figure and
4766         InsetInfo insets
4767
4768 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * buffer.C: ws changes
4771         (readInset):
4772
4773         * BufferView_pimpl.C: ditto
4774         * author.C: ditto
4775         * buffer.h: ditto
4776         * bufferlist.h: ditto
4777         * changes.h: ditto
4778         * lyxfunc.C: ditto
4779
4780 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4781
4782         * converter.[Ch]: split into itself +
4783         * graph.[Ch]
4784         * format.[Ch]
4785         * Makefile.am: += graph.[Ch] + format.[Ch]
4786         * MenuBackend.C
4787         * buffer.C
4788         * exporter.C
4789         * importer.C
4790         * lyx_main.C
4791         * lyxfunc.C
4792         * lyxrc.C: added #include "format.h"
4793
4794 2003-02-27  Angus Leeming  <leeming@lyx.org>
4795
4796         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4797           a label.
4798
4799         * factory.C (createInset): add "label" to the factory.
4800
4801         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4802           string and do no more.
4803
4804 2003-02-27  Angus Leeming  <leeming@lyx.org>
4805
4806         * commandtags.h:
4807         * LyXAction.C (init):
4808         * factory.C (createInset):
4809         * BufferView_pimpl.C (dispatch):
4810           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4811
4812         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4813
4814         * lyxfunc.C (dispatch):
4815         * text3.C (dispatch): pass name to params2string.
4816
4817 2003-02-26  Angus Leeming  <leeming@lyx.org>
4818
4819         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4820           blocks together.
4821           Rearrange the ~includes. Strip out the unnecessary ones.
4822
4823         * factory.C (createInset): reformat.
4824           create new insets for the various LFUN_XYZ_APPLY lfuns.
4825
4826 2003-02-26  John Levon  <levon@movementarian.org>
4827
4828         * lyxrow.h:
4829         * lyxrow.C: add isParStart,isParEnd helpers
4830
4831         * paragraph.h: make isInserted/DeletedText take refs
4832
4833         * paragraph_funcs.h:
4834         * paragraph_funcs.C: remove #if 0'd code
4835
4836         * lyxtext.h:
4837         * text3.C:
4838         * text2.C:
4839         * text.C: use lyxrow helpers above.
4840           Move draw and paint routines to RowPainter.
4841           Make several methods use refs not pointers.
4842           Make backgroundColor() const.
4843           Add markChangeInDraw(), isInInset().
4844           Merge changeRegionCase into changeCase.
4845           Make workWidth() shouldn't-happen code into an Assert.
4846
4847         * rowpainter.h:
4848         * rowpainter.C: new class for painting a row.
4849
4850         * vspace.h:
4851         * vspace.C: make inPixels take a ref
4852
4853 2003-02-26  Angus Leeming  <leeming@lyx.org>
4854
4855         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4856         LFUN_REF_APPLY.
4857
4858 2003-02-25  John Levon  <levon@movementarian.org>
4859
4860         * ispell.C: give the forked command a more accurate name
4861
4862 2003-02-22  John Levon  <levon@movementarian.org>
4863
4864         * toc.h:
4865         * toc.C: make TocItem store an id not a Paragraph *
4866           (bug #913)
4867
4868 2003-02-21  Angus Leeming  <leeming@lyx.org>
4869
4870         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4871           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4872           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4873           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4874           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4875           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4876
4877         * BufferView_pimpl.C (dispatch):
4878         * LyXAction.C (init):
4879         * factory.C (createInset):
4880         * lyxfunc.C (getStatus, dispatch):
4881         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4882
4883 2003-02-21  Angus Leeming  <leeming@lyx.org>
4884
4885         * BufferView_pimpl.C (MenuInsertLyXFile):
4886         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4887         * lyxfunc.C (menuNew, open, doImport):
4888           no longer pass a LyXView & to fileDlg.
4889
4890 2003-02-21  Angus Leeming  <leeming@lyx.org>
4891
4892         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4893         * LyXAction.C: change, BIBKEY to BIBITEM.
4894         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4895         Change InsetBibKey to InsetBibitem.
4896         Change BIBKEY_CODE to BIBITEM_CODE.
4897         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4898         * factory.C: replace insetbib.h with insetbibitem.h.
4899         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4900         * paragraph.C: replace insetbib.h with insetbibitem.h.
4901         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4902         Change bibkey() to bibitem().
4903         * text.C: remove insetbib.h.
4904         * text2.C: replace insetbib.h with insetbibitem.h.
4905         change bibkey() to bibitem().
4906         * text3.C: remove insetbib.h.
4907         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4908
4909 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4910
4911         * lyxrc.C (output): enclose user email in quotes (in case there are
4912         several words)
4913
4914 2003-02-18  John Levon  <levon@movementarian.org>
4915
4916         * buffer.h: add std::
4917
4918 2003-02-17  John Levon  <levon@movementarian.org>
4919
4920         * SpellBase.h:
4921         * ispell.h:
4922         * ispell.C:
4923         * pspell.h:
4924         * pspell.C: reworking. Especially in ispell, a large
4925           number of clean ups and bug fixes.
4926
4927         * lyxfunc.C: fix revert to behave sensibly
4928
4929 2003-02-17 André Pönitz <poenitz@gmx.net>
4930
4931         * LyXAction.C:
4932         * commandtags.h: new LFUN_INSERT_BIBKEY
4933
4934         * layout.h:
4935         * lyxlayout.C:
4936         * buffer.C:
4937         * factory.C:
4938         * text.C:
4939         * text2.C:
4940         * text3.C:
4941         * paragraph.[Ch]:
4942         * paragraph_func.C: remove special bibkey handling
4943
4944 2003-02-17  John Levon  <levon@movementarian.org>
4945
4946         * text.C (Delete): fix case where delete at the end of
4947           the very first paragraph would not merge the pars
4948
4949 2003-02-17  John Levon  <levon@movementarian.org>
4950
4951         * lyxrow.C: fix lastPrintablePos()
4952
4953 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4954
4955         * bufferparams.C (writeLaTeX): add a std:here
4956
4957         * buffer.C: and remove a using directive there
4958
4959 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4960
4961         * buffer.C (makeLaTeXFile): move the code that generates the
4962           preamble...
4963
4964         * bufferparams.C (writeLaTeX): ... in this new method
4965
4966         * LaTeXFeatures.C (getEncodingSet): make const
4967           (getLanguages): make const
4968
4969         * MenuBackend.C (binding): returns the binding associated to this
4970           action
4971           (add): sets the status of each item by calling getStatus. Adds
4972           some intelligence.
4973           (read): add support for OptSubMenu
4974           (expand): remove extra separator at the end of expanded menu
4975
4976 2003-02-15  John Levon  <levon@movementarian.org>
4977
4978         * BufferView.C:
4979         * BufferView_pimpl.C:
4980         * bufferlist.h:
4981         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4982           inset code that had no actual effect. Remove unneeded status
4983           code.
4984
4985 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4986
4987         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4988           in preamble
4989
4990 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4991
4992         * text.C (drawLengthMarker): also draw an arrow marker for
4993           symbolic lengths (medskip...)
4994
4995 2003-02-14  John Levon  <levon@movementarian.org>
4996
4997         * tabular.h:
4998         * tabular.C: better method names
4999
5000 2003-02-14  John Levon  <levon@movementarian.org>
5001
5002         * BufferView_pimpl.C:
5003         * bufferlist.C:
5004         * buffer.C:
5005         * converter.C:
5006         * lyx_cb.C:
5007         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
5008           it's a more accurate name. Remove some pointless uses.
5009
5010 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5011
5012         * text2.C (LyXText): change order of initilizers to shut off
5013           warnings
5014
5015 2003-02-14  John Levon  <levon@movementarian.org>
5016
5017         * buffer.C: use ParIterator for getParFromID()
5018
5019         * paragraph.h:
5020         * paragraph.C:
5021         * paragraph_pimpl.h:
5022         * paragraph_pimpl.C: remove unused getParFromID()
5023
5024 2003-02-14  John Levon  <levon@movementarian.org>
5025
5026         * buffer.C: remove some very old #if 0'd parse code
5027
5028 2003-02-13  John Levon  <levon@movementarian.org>
5029
5030         * text.h:
5031         * text.C:
5032         * text2.C: move hfillExpansion(), numberOfSeparators(),
5033           rowLast(), rowLastPrintable(), numberofHfills(),
5034           numberOfLabelHfills() ...
5035
5036         * lyxrow.h:
5037         * lyxrow.C: ... to member functions here.
5038
5039         * paragraph.h:
5040         * paragraph.C:
5041         * lyxtext.h:
5042         * text.C: remove LyXText::beginningOfMainBody(), and call
5043           p->beginningOfMainBody() directly. Move the check for
5044           LABEL_MANUAL into the latter.
5045
5046         * text.h:
5047         * text.C:
5048         * text2.C:
5049         * vspace.C:
5050         * BufferView.h:
5051         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
5052
5053         * text.h:
5054         * text.C:
5055         * text2.C:
5056         * text3.C:
5057         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
5058           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
5059
5060 2003-02-13  John Levon  <levon@movementarian.org>
5061
5062         * CutAndPaste.C: remove debug
5063
5064 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5065
5066         * paragraph.C (asString): remove two unused variables
5067
5068         * lyxtextclass.C (readTitleType):
5069           (Read):
5070           (LyXTextClass): handle new members titletype_ and titlename_
5071
5072         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
5073
5074 2003-02-09  John Levon  <levon@movementarian.org>
5075
5076         * buffer.h:
5077         * buffer.C: replace hand-coded list with a map for the dep clean
5078
5079 2003-02-08  John Levon  <levon@movementarian.org>
5080
5081         * LaTeX.C: consolidate code into showRunMessage() helper
5082
5083 2003-02-08  John Levon  <levon@movementarian.org>
5084
5085         * lyxfind.C:
5086         * lyxtext.h:
5087         * text2.C:
5088         * BufferView.C: change setSelectionOverString() to setSelectionRange()
5089           and pass the size in explicitly
5090
5091         * BufferView_pimpl.h:
5092         * BufferView_pimpl.C:
5093         * BufferView.h:
5094         * BufferView.C: add getCurrentChange()
5095
5096         * BufferView_pimpl.h:
5097         * BufferView_pimpl.C: handle change lfuns
5098
5099         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
5100           for changes. Mark pasted paragraphs as new.
5101
5102         * support/lyxtime.h:
5103         * support/lyxtime.C:
5104         * DepTable.C: abstract time_t as lyx::time_type
5105
5106         * LColor.h:
5107         * LColor.C: add colours for new text, deleted text, changebars
5108
5109         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
5110           package use "usenames" option.
5111
5112         * commandtags.h:
5113         * lyxfunc.C:
5114         * LyXAction.C: add change lfuns
5115
5116         * Makefile.am:
5117         * author.h:
5118         * author.C: author handling
5119
5120         * buffer.h:
5121         * buffer.C: add a per-buffer author list, with first entry as
5122           current author. Handle new .lyx tokens for change tracking. Output
5123           author list to .lyx file. Output dvipost stuff to .tex preamble.
5124           Bump lyx format to 222.
5125
5126         * bufferlist.h:
5127         * bufferlist.C: add setCurrentAuthor() to reset current author details
5128           in all buffers.
5129
5130         * bufferparams.h:
5131         * bufferparams.C: add param for tracking
5132
5133         * bufferview_funcs.C: output change info in minibuffer
5134
5135         * Makefile.am:
5136         * changes.h:
5137         * changes.C: add change-tracking structure
5138
5139         * debug.h:
5140         * debug.C: add CHANGES debug flag
5141
5142         * lyxfind.h:
5143         * lyxfind.C: add code for finding the next change piece
5144
5145         * lyxrc.h:
5146         * lyxrc.C: add user_name and user_email
5147
5148         * lyxrow.h:
5149         * lyxrow.C: add a metric for the top of the text line
5150
5151         * lyxtext.h:
5152         * text.C: implement accept/rejectChange()
5153
5154         * lyxtext.h:
5155         * text.C: paint changebars. Paint new/deleted text in the chosen
5156         colours. Strike through deleted text.
5157
5158         * paragraph.h:
5159         * paragraph.C:
5160         * paragraph_pimpl.h:
5161         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
5162           in the current change to the insert functions. Rework erase to
5163           mark text as deleted, adding an eraseIntern() and a range-based
5164           erase(). Implement per-paragraph change lookup and
5165           accept/reject.
5166
5167         * paragraph_funcs.C: Fixup paste for change tracking.
5168
5169         * tabular.C: mark added row/columns as new.
5170
5171         * text.C: fix rowLast() to never return -1. Don't allow
5172           spellchecking of deleted text. Track transpose changes. Don't
5173           allow paragraph break or merge where appropriate.
5174
5175         * text2.C: leave cursor at end of selection after a cut.
5176
5177 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5178
5179         * text.C (getLengthMarkerHeight):
5180         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
5181         visible on screen too.
5182
5183 2003-02-07  John Levon  <levon@movementarian.org>
5184
5185         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
5186
5187 2003-02-05  Angus Leeming  <leeming@lyx.org>
5188
5189         * lyxserver.C (read_ready): revert my patch of 11 September last year
5190         as it sends PC cpu through the roof. Presumably this means that
5191         the lyxserver will no longer run on an Alpha...
5192
5193 2003-01-30  Angus Leeming  <leeming@lyx.org>
5194
5195         * factory.C (createInset): create an InsetCommandParam of type "index"
5196         and use it to 'do the right thing'.
5197
5198         * text2.C (getStringToIndex): ensure that cursor position is always
5199         reset to the reset_cursor position.
5200
5201 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5202
5203         * lyxfunc.C (getStatus): "buffer-export custom" should never be
5204         disabled.
5205
5206 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
5207
5208         * bufferview.C:
5209         * lyxcb.C:
5210         * lyxfunc.C: Output messages with identical spelling, punctuation,
5211         and spaces
5212
5213 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
5214
5215         * MenuBackend.C (expandFormats): List only viewable export formats
5216         in "View" menu
5217
5218         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
5219         message
5220
5221         * lyxfunc.C (getStatus): Make sure that formats other than
5222         "fax" can also be disabled
5223
5224 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5225
5226         * text3.C (dispatch): put the lfuns that insert insets in 3
5227         groups, and call doInsertInset with appropriate arguments.
5228         (doInsertInset): new function, that creates an inset and inserts
5229         it according to some boolean parameters.
5230
5231 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5232
5233         * buffer.C (readFile): remember to pass on 'par' when calling
5234         readFile recursively.
5235
5236 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5237
5238         * MenuBackend.C (expandFormats): add "..." to import formats.
5239
5240 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
5241
5242         * paragraph.C (asString): Remove XForms RTL hacks.
5243
5244 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
5245         * buffer.C: fix typo
5246
5247 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5248
5249         * Makefile.am (LIBS): delete var
5250         (lyx_LDADD): add @LIBS@ here instead.
5251
5252 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
5253
5254         * Clarify the meaning of "wheel mouse jump"
5255
5256 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5257
5258         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
5259         tabular in a float
5260
5261 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5262
5263         * importer.C (Loaders): do not preallocate 3 elements in the
5264         vector, since one ends up with 6 elements otherwise
5265
5266 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5267
5268         * DepTable.C (write): write the file name as last element of the
5269         .dep file (because it may contain spaces)
5270         (read): read info in the right order
5271
5272 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5273
5274         * paragraph_pimpl.C (simpleTeXBlanks):
5275         (simpleTeXSpecialChars):
5276         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
5277
5278         * tabular.C (latex): add some missing case statements. Reindent.
5279
5280         * MenuBackend.C (expandToc): remove unused variable.
5281
5282 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
5283
5284         * LColor.C:
5285         * LaTeX.C:
5286         * LyXAction.C:
5287         * MenuBackend.C:
5288         * buffer.C:
5289         * exporter.C:
5290         * lyxfunc.C:
5291         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
5292         and the like.
5293
5294 2003-01-05  John Levon  <levon@movementarian.org>
5295
5296         * BufferView.h:
5297         * BufferView.C: add getEncoding()
5298
5299         * kbsequence.h:
5300         * kbsequence.C: do not store last keypress
5301
5302         * lyxfunc.h:
5303         * lyxfunc.C: store last keypress here instead. Pass encoding
5304           to getISOEncoded()
5305
5306 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5307
5308         * lyx_main.C (init): remove annoying error message when following
5309         symbolic links (bug #780)
5310
5311 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5312
5313         * text.C (insertChar):
5314         * lyxrc.C (getDescription): remove extra spaces
5315
5316 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5317
5318         * lyxrc.C (getDescription): remove extra spaces
5319
5320 2002-12-20  John Levon  <levon@movementarian.org>
5321
5322         * text3.C: hack fix for page up/down across tall rows
5323
5324 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5325
5326         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
5327         not been invoked
5328
5329 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5330
5331         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
5332         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
5333         thesaurus is not compiled in
5334
5335 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
5336
5337         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
5338
5339 2002-12-16  Angus Leeming  <leeming@lyx.org>
5340
5341         * lyxrc.[Ch]:
5342         * lyx_main.C (init): remove override_x_deadkeys stuff.
5343
5344 2002-12-12  John Levon  <levon@movementarian.org>
5345
5346         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
5347           insert. Only remove shift modifier under strict
5348           circumstances.
5349
5350 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
5351
5352         * MenuBackend.C (expandToc): fix crash.
5353
5354 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5355
5356         * MenuBackend.C (expandToc): gettext on float names.
5357
5358 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5359
5360         * lyxlength.[Ch]: set default unit to UNIT_NONE,
5361         implement bool empty() [bug 490]
5362
5363 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
5364
5365         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
5366
5367 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5368
5369         * several files: ws changes
5370
5371 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5372
5373         * text2.C (setCounter): clean up a bit, use boost.format.
5374         (updateCounters): initialize par upon declaration.
5375
5376         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
5377         if the layout exists. We do not just store the layout any more.
5378         (SwitchLayoutsBetweenClasses): use boost.format
5379
5380 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5381
5382         * converter.C (convert): if from and to files are the same, use a
5383         temporary files as intermediary
5384
5385 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5386
5387         * commandtags.h:
5388         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
5389
5390 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
5391
5392         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
5393
5394 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5395
5396         * tabular.C (asciiPrintCell): use string(size, char) instead of
5397         explicit loop.
5398
5399         * sgml.C (openTag): fix order of arguments to string constructor
5400         (closeTag): ditto
5401
5402         * lyxfunc.C (dispatch): use boost.format
5403
5404         * lots of files: change "c" -> 'c'
5405
5406 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
5407
5408         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
5409
5410 2002-11-25  Angus Leeming  <leeming@lyx.org>
5411
5412         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
5413
5414         * lyx_main.C (init): compile fix.
5415
5416 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5417
5418         * lyx_cb.C (start): boost.formatify
5419         do not include <iostream>
5420
5421         * lengthcommon.C: ws only
5422
5423         * boost-inst.C,BoostFormat.h: add more explict instantations
5424
5425 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5426
5427         * lots of files: handle USE_BOOST_FORMAT
5428
5429 2002-11-21  John Levon  <levon@movementarian.org>
5430
5431         * pspell.C: fix compile
5432
5433 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5434
5435         * lyxfunc.C (dispatch): use boost::format
5436         (open): ditto
5437         (doImport): ditto
5438
5439         * lyxfont.C (stateText): use boost::format
5440
5441         * lyx_main.C (LyX): use boost::format
5442         (init): ditto
5443         (queryUserLyXDir): ditto
5444         (readRcFile): ditto
5445         (parse_dbg): ditto
5446         (typedef boost::function): use the recommened syntax.
5447
5448         * importer.C (Import): use boost::format
5449
5450         * debug.C (showLevel): use boost::format
5451
5452         * converter.C (view): use boost::format
5453         (convert): ditto
5454         (move): ditto
5455         (scanLog): ditto
5456
5457         * bufferview_funcs.C (currentState): use boost::format
5458
5459         * bufferlist.C (emergencyWrite): use boost::format
5460
5461         * buffer.C (readLyXformat2): use boost::format
5462         (parseSingleLyXformat2Token): ditto
5463
5464         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
5465
5466         * LaTeX.C (run): use boost::format
5467
5468         * Chktex.C (scanLogFile): use boost::format
5469
5470         * BufferView_pimpl.C (savePosition): use boost::format
5471         (restorePosition): ditto
5472         (MenuInsertLyXFile): ditto
5473
5474         * BoostFormat.h: help file for explicit instation.
5475
5476 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
5477
5478         * tabular.C (latex): Support for block alignment in fixed width
5479         columns.
5480
5481 2002-11-17  John Levon  <levon@movementarian.org>
5482
5483         * BufferView_pimpl.C:
5484         * lyx_cb.C:
5485         * lyxfunc.C: split filedialog into open/save
5486
5487 2002-11-08  Juergen Vigna  <jug@sad.it>
5488
5489         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
5490         by my last patch (hopefully).
5491
5492 2002-11-08  John Levon  <levon@movementarian.org>
5493
5494         * iterators.h:
5495         * iterators.C:
5496         * buffer.h:
5497         * buffer.C:
5498         * paragraph.h:
5499         * paragraph.C:
5500         * toc.h:
5501         * toc.C: ParConstIterator, and use it (from Lars)
5502
5503 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
5504
5505         * lyxtextclass.[Ch]: revise and add doxygen comments
5506
5507 2002-11-07  John Levon  <levon@movementarian.org>
5508
5509         * text.C: fix progress value for spellchecker
5510
5511         * toc.C: fix navigate menu for insetwrap inside minipage
5512
5513         * paragraph_funcs.C: added FIXME for suspect code
5514
5515 2002-11-07  John Levon  <levon@movementarian.org>
5516
5517         * BufferView_pimpl.C: fix redrawing of insets
5518           on buffer switch
5519
5520 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5521
5522         * text2.C (updateCounters): fix bug 668
5523
5524 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
5525
5526         * text3.C (dispatch): Do not make the buffer dirty when moving the
5527         cursor.
5528
5529 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5530
5531         * vc-backend.C: STRCONV
5532         (scanMaster): ditto
5533
5534         * text2.C (setCounter): STRCONV
5535
5536         * paragraph.C (asString): STRCONV
5537
5538         * lyxlength.C (asString): STRCONV
5539         (asLatexString): ditto
5540
5541         * lyxgluelength.C (asString): STRCONV
5542         (asLatexString): ditto
5543
5544         * lyxfunc.C (dispatch): STRCONV
5545         (open): ditto
5546
5547         * lyxfont.C (stateText): STRCONV
5548
5549         * importer.C (Import): STRCONV
5550
5551         * counters.C (labelItem): STRCONV
5552         (numberLabel): ditto
5553         (numberLabel): remove unused ostringstream o
5554
5555         * chset.C: STRCONV
5556         (loadFile): ditto
5557
5558         * bufferview_funcs.C (currentState): STRCONV
5559
5560         * buffer.C (readFile): STRCONV
5561         (asciiParagraph): ditto
5562         (makeLaTeXFile): ditto
5563
5564         * Spacing.C (writeEnvirBegin): STRCONV
5565
5566         * LaTeXFeatures.C (getLanguages): STRCONV
5567         (getPackages): ditto
5568         (getMacros): ditto
5569         (getBabelOptions): ditto
5570         (getTClassPreamble): ditto
5571         (getLyXSGMLEntities): ditto
5572         (getIncludedFiles): ditto
5573
5574         * LaTeX.C: STRCONV
5575         (run): ditto
5576         (scanAuxFile): ditto
5577         (deplog): ditto
5578
5579         * LString.h: add the STRCONV macros
5580
5581         * BufferView_pimpl.C (savePosition): STRCONV
5582         (restorePosition): ditto
5583         (MenuInsertLyXFile): ditto
5584
5585         * vc-backend.C (scanMaster): change from submatch[...] to
5586         submatch.str(...)
5587
5588         * funcrequest.C: include config.h
5589
5590         * factory.C: include config.h
5591
5592         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5593
5594         * box.C: include config.h
5595
5596         * LaTeX.C (scanAuxFile): change from submatch[...] to
5597         submatch.str(...)
5598         (deplog): ditto
5599
5600 2002-10-25  Angus Leeming  <leeming@lyx.org>
5601
5602         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5603
5604         * ispell.[Ch] (setError): new method.
5605         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5606         Use setError() insetead of goto END.
5607
5608         * lyx_cb.C (AutoSave): move out child process into new class
5609         AutoSaveBuffer.
5610
5611 2002-10-30  John Levon  <levon@movementarian.org>
5612
5613         * text3.C: make start appendix undoable
5614
5615 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5616
5617         * lyxlength.C (inPixels): Fix returned value.
5618
5619         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5620         environment.
5621
5622 2002-10-24  Angus Leeming  <leeming@lyx.org>
5623
5624         * lyxgluelength.h: no need to forward declare BufferParams
5625         or BufferView, so don't.
5626
5627 2002-10-21  John Levon  <levon@movementarian.org>
5628
5629         * BufferView.C: menuUndo ->undo, redo
5630
5631         * BufferView.h: document, remove dead, make some methods private
5632
5633         * paragraph_funcs.h:
5634         * paragraph_funcs.C:
5635         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5636
5637         * buffer.h:
5638         * buffer.C:
5639         * sgml.h:
5640         * sgml.C: move sgml open/close tag into sgml.C
5641
5642         * bufferview_funcs.h: unused prototype
5643
5644         * lyxfunc.h:
5645         * lyxfunc.C: remove unused
5646
5647         * lyxtext.h:
5648         * text.C: remove unused
5649
5650 2002-10-21  John Levon  <levon@movementarian.org>
5651
5652         * BufferView.h:
5653         * BufferView.C:
5654         * BufferView_pimpl.h:
5655         * BufferView_pimpl.C: fix mouse wheel handling based on
5656           patch from Darren Freeman
5657
5658 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5659
5660         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5661
5662 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5663
5664         * lyxlength.C (inPixels): Fix hanfling of negative length.
5665         Fix LyXLength::MU case.
5666
5667 2002-10-16  John Levon  <levon@movementarian.org>
5668
5669         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5670
5671 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5672
5673         * converter.C (view): add support for $$i (file name) and $$p
5674         (file path) for the viewer command. If $$i is not specified, then
5675         it is appended to the command (for compatibility with old syntax)
5676
5677 2002-10-14  Juergen Vigna  <jug@sad.it>
5678
5679         * undo_funcs.C (textHandleUndo): alter the order in which the
5680         new undopar is added to the LyXText, as we have to set first
5681         the right prev/next and then add it as otherwise the rebuild of
5682         LyXText is not correct. Also reset the cursor to the right paragraph,
5683         with this IMO we could remove the hack in "redoParagraphs()".
5684
5685 2002-10-09  Angus Leeming  <leeming@lyx.org>
5686
5687         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5688         to turn off an optimisation if a new inset is to be inserted.
5689
5690 2002-10-11 André Pönitz <poenitz@gmx.net>
5691
5692         * lyxtext.h: make some functions public to allow access
5693         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5694
5695 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5696
5697         * text3.C (dispatch): when changing layout, avoid an infinite loop
5698         [bug #652]
5699
5700 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5701
5702         * lyxrc.C (read): treat a viewer or converter command of "none" as
5703         if it were empty.
5704
5705         * MenuBackend.C (expandFormats): for an update, also allow the
5706         formats that are not viewable
5707
5708         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5709         script if it is newer than the lyxrc.defaults in user directory
5710
5711 2002-10-07 André Pönitz <poenitz@gmx.net>
5712
5713         * text.C: Vitaly Lipatov's small i18n fix
5714
5715 2002-09-25  Angus Leeming  <leeming@lyx.org>
5716
5717         * ispell.h: doxygen fix.
5718
5719 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5720
5721         * buffer.h (readFile): Add a new argument to the method, to allow
5722         reading of old-format templates.
5723
5724 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5725
5726         * toc.C (getTocList): Get TOC from InsetWrap.
5727
5728 2002-09-16  John Levon  <levon@movementarian.org>
5729
5730         * lyxfunc.C: check tabular for cut/copy too
5731
5732 2002-09-12  John Levon  <levon@movementarian.org>
5733
5734         * LyXAction.C: tidy
5735
5736         * factory.h:
5737         * factory.C: add header
5738
5739         * paragraph_funcs.h:
5740         * paragraph_funcs.C: cleanup
5741
5742 2002-09-11  John Levon  <levon@movementarian.org>
5743
5744         * PrinterParams.h: odd/even default to true
5745
5746 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5747
5748         * PrinterParams.h: update printer parameters for new xforms dialog
5749
5750 2002-09-11  Angus Leeming  <leeming@lyx.org>
5751
5752         * lyxserver.C (read_ready): re-write to make it more transparent
5753         and to make it work in coherent fashion under Tru64 Unix.
5754
5755 2002-09-11  André Pönitz <poenitz@gmx.net>
5756
5757         * commandtags.h:
5758         * LyXAction.C:
5759         * text3.C: implement LFUN_WORDSEL
5760
5761 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5762
5763         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5764         make floatlist_ a boost::shared_ptr<FloatList>
5765
5766         * lyxtextclass.C: include FloatList.h
5767         (LyXTextClass): initialize floatlist_
5768         (TextClassTags): add TC_NOFLOAT
5769         (Read): match "nofloat" to TC_NOFLOAT and use it.
5770         (readFloat): modify call to floatlist_
5771         (floats): ditto
5772         (floats): ditto
5773
5774         * FloatList.[Ch] (FloatList): remove commented out float
5775         initialization.
5776         (erase): new function
5777
5778 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5779
5780         * MenuBackend.C (expandToc): fix crash when there is no document
5781         open
5782
5783 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5784
5785         * many files: Add insetwrap.
5786
5787 2002-09-09  John Levon  <levon@movementarian.org>
5788
5789         * text2.C: remove confusing and awkward depth wraparound
5790
5791 2002-09-09  John Levon  <levon@movementarian.org>
5792
5793         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5794
5795         * buffer.h:
5796         * buffer.C: remove getIncludeonlyList()
5797
5798         * paragraph.C:
5799         * lyxfunc.C: remove headers
5800
5801 2002-09-09  Juergen Vigna  <jug@sad.it>
5802
5803         * text.C (getColumnNearX): fix form Michael this is most
5804         probably a cut&paste bug.
5805
5806 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5807
5808         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5809
5810         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5811         references, ws changes.
5812
5813         * text2.C (init): update counters after init
5814         (insertParagraph): no need to set counter on idividual paragraphs.
5815         (setCounter): access the counters object in the textclass object
5816         on in the buffer object.
5817         (updateCounters): ditto
5818
5819         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5820         shared_ptr<Counters> to avoid loading counters.h in all
5821         compilation units.
5822         (LyXTextClass): initialize ctrs_
5823         (TextClassTags): add TC_COUNTER, and ...
5824         (Read): use it here.
5825         (CounterTags): new tags
5826         (readCounter): new function
5827         (counters): new funtion
5828         (defaultLayoutName): return a const reference
5829
5830         * counters.C (Counters): remove contructor
5831         (newCounter): remove a couple of unneeded statements.
5832         (newCounter): simplify a bit.
5833         (numberLabel): some small formatting changes.
5834
5835         * buffer.[Ch]: remove all traces of counters, move the Counters
5836         object to the LyXTextClass.
5837
5838 2002-09-06  Alain Castera  <castera@in2p3.fr>
5839
5840         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5841         package to set the horizontal alignment on fixed width columns.
5842
5843         * lyx_sty.C:
5844         * lyx_sty.h: added tabularnewline macro def.
5845
5846         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5847
5848 2002-09-06  John Levon  <levon@movementarian.org>
5849
5850         * LyXAction.C: tooltips for sub/superscript
5851
5852         * MenuBackend.C: a bit more verbose
5853
5854         * lyxfunc.C: tiny clean
5855
5856         * undo_funcs.C: document undo_frozen
5857
5858 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5859
5860         * counters.C (Counters): add missing algorithm counter.
5861
5862         * text2.C (setCounter): lookup the counter with layouts latexname
5863         instead of by section number.
5864         (setCounter): use a hackish way to lookup the correct enum
5865         counter.
5866         a float name->type change
5867         reset enum couners with counter name directly instead of depth value.
5868
5869         * counters.C (Counters): remove the push_backs, change to use the
5870         float type not the float name.
5871         (labelItem): remove unused string, float name->type change
5872
5873         * counters.h: don't include vector, loose the enums and sects vectors
5874
5875 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5876
5877         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5878         (Read): add float->TC_FLOAT to textclassTags
5879         (Read): and handle it in the switch
5880         (readFloat): new function
5881
5882         * FloatList.C (FloatList): comment out the hardcoded float
5883         definitions.
5884
5885         * lyxlayout.h: ws change.
5886
5887 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5888
5889         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5890
5891 2002-09-03  Angus Leeming  <leeming@lyx.org>
5892
5893         * BufferView_pimpl.h: qualified name is not allowed in member
5894         declaration: WorkArea & Pimpl::workarea() const;
5895
5896         * factory.C: added using std::endl directive.
5897
5898         * text3.C: added using std::find and std::vector directives.
5899
5900 2002-08-29  André Pönitz <poenitz@gmx.net>
5901
5902         * lyxtext.h:
5903         * text2.C: remove unused member number_of_rows
5904
5905         * Makefile.am:
5906         * BufferView2.C: remove file, move contents to...
5907         * BufferView.C: ... here
5908
5909         * BufferView_pimpl.C:
5910         * factory.C: move more inset creation to factory
5911
5912         * vspace.C: avoid direct usage of LyXText, ws changes
5913
5914         * BufferView.[Ch]:
5915                 don't provide direct access to WorkArea, use two simple
5916                 acessors haveSelction() and workHeight() instead
5917
5918
5919 2002-08-29  John Levon  <levon@movementarian.org>
5920
5921         * BufferView_pimpl.C (dispatch): do not continue when
5922           no buffer
5923
5924 2002-08-28  André Pönitz <poenitz@gmx.net>
5925
5926         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5927
5928         * BufferView.h:
5929         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5930
5931 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5932
5933         * buffer.C: increment LYX_FORMAT to 221
5934
5935         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5936         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5937
5938         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5939
5940         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5941
5942 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5943
5944         * factory.C (createInset): use LyXTextClass::floats
5945
5946         * MenuBackend.C (expandFloatListInsert):
5947         (expandFloatInsert):
5948         (expandToc):
5949
5950         * text2.C (setCounter):
5951
5952         * LaTeXFeatures.C (useFloat):
5953         (getFloatDefinitions):
5954
5955         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5956
5957         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5958         floatlist_, with accessor floats().
5959
5960         * FloatList.h: remove global FloatList
5961
5962 2002-08-26  André Pönitz <poenitz@gmx.net>
5963
5964         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5965
5966         * BufferView.h:
5967         * BufferView2.C:
5968         * BufferView_pimpl.C:
5969         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5970
5971 2002-08-25  John Levon  <levon@movementarian.org>
5972
5973         * LyXAction.C: fix margin note description
5974
5975 2002-08-24  John Levon  <levon@movementarian.org>
5976
5977         * buffer.C:
5978         * bufferlist.C:
5979         * bufferview_funcs.C:
5980         * lyxfont.C:
5981         * undo_funcs.C: cleanups
5982
5983         * lyxfunc.C: disable CUT/COPY when no selection
5984
5985 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5986
5987         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5988         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5989
5990         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5991         Add backward compatibility to "mono", "gray" and "no".
5992
5993 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5994
5995         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5996         (and file_format >= 200).
5997
5998 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5999
6000         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
6001
6002 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6003
6004         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
6005
6006 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
6007
6008         * BufferView_pimpl.C:
6009         * LyXAction.C:
6010         * buffer.C:
6011         * commandtags.h:
6012         * lyxfunc.C:
6013         * paragraph.[Ch]:
6014         * text2.C:
6015         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
6016         inset and code to make it  work with the paragraph code. The inset
6017         can be anywhere in the paragraph, but will only do the expected
6018         thing in LaTeX if the layout file contains the parameter line
6019                         OptionalArgs    1
6020         (or more generally, a nonzero value) for that layout.
6021
6022 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
6023
6024         * paragraph.h: remove the declaration of undefined counters class
6025         function.
6026
6027 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
6028
6029         * text2.C (setCounter):  fixed enumeration mis-count as reported by
6030         Dr. Richard Hawkins.
6031
6032 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6033
6034         * paragraph_funcs.h: remove some unneeded includes
6035
6036         * text.C (backspace): pasteParagraph now in global scipe
6037
6038         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
6039         (pasteSelection): ditto
6040
6041         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
6042         * paragraph_funcs.C (pasteParagraph): ... here
6043
6044 2002-08-20  André Pönitz <poenitz@gmx.net>
6045
6046         * commandtags.h: new LFUNs for swapping/copying table row/colums
6047
6048         * LyXAction.C:
6049         * lyxfunc.C: support for new lfuns
6050
6051 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
6052
6053         * tabular.C:
6054         * buffer.[Ch]: remove NO_COMPABILITY stuff
6055
6056 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
6057
6058         * boost.C (throw_exception): new file, with helper function for
6059         boost compiled without exceptions.
6060
6061         * paragraph.h:
6062         * lyxlength.C:
6063         * buffer.C:
6064         * ParameterStruct.h:
6065         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
6066
6067         * bufferlist.C (emergencyWriteAll): use boost bind
6068
6069         * BufferView_pimpl.C (moveCursorUpdate): remove inline
6070
6071         * text.C: include paragraph_funcs.h
6072         (breakParagraph): breakParagraph is now in global scope
6073
6074         * paragraph_funcs.[Ch]: new files
6075
6076         * paragraph.C (breakParagraph,breakParagraphConservative): move to
6077         global scope
6078
6079         * buffer.C: include paragraph_funcs.h
6080         (insertStringAsLines): breakParagraph is now in global scope
6081
6082         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
6083         paragraph_funcs.C
6084
6085         * CutAndPaste.C: include paragraph_funcs.h
6086         (cutSelection): breakParagraphConservative is now in global scope
6087         (pasteSelection): ditto
6088
6089         * buffer.h: declare oprator== and operator!= for
6090         Buffer::inset_iterator
6091
6092         * bufferlist.C (emergencyWrite): don't use fmt(...)
6093
6094         * text3.C: add using std::endl
6095
6096         * BufferView.C (moveCursorUpdate): remove default arg
6097
6098 2002-08-20  André Pönitz <poenitz@gmx.net>
6099
6100         * buffer.[Ch]: move inline functions to .C
6101
6102         * BufferView2.C:
6103         * BufferView_pimpl.C:
6104         * text.C:
6105         * buffer.[Ch]: use improved inset_iterator
6106
6107         * buffer.C:
6108         * paragraph.[Ch]: write one paragraph at a time
6109
6110 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
6111
6112         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
6113         style if style is not specified.
6114
6115 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6116
6117         * text2.C (setCounter): when searching for right label for a
6118         caption, make sure to recurse to parent insets (so that a caption
6119         in a minipage in a figure float works) (bug #568)
6120
6121 2002-08-20  André Pönitz <poenitz@gmx.net>
6122
6123         * text3.C: new file for LyXText::dispatch() and helpers
6124
6125         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
6126
6127         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
6128
6129 2002-08-19  André Pönitz <poenitz@gmx.net>
6130
6131         * lyxtext.h:
6132         * text.C: new LyXText::dispatch()
6133
6134         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
6135
6136 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
6137
6138         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
6139
6140         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
6141         Hebrew text.
6142
6143 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6144
6145         * Makefile.am: use $(variables) instead of @substitutions@
6146
6147 2002-08-15  André Pönitz <poenitz@gmx.net>
6148
6149         * lyxfunc.C:
6150         * BufferView_pimpl.C: streamlining mathed <-> outer world
6151         interaction
6152
6153         * commandtags.h:
6154         * LyXAction.C: remove unused LFUN_MATH
6155
6156 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6157
6158         * paragraph.[Ch]: add some NO_NEXT ifdefs.
6159
6160 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6161
6162         * paragraph.C (Paragraph): reformat a bit
6163         (cutIntoMinibuffer): use builtin InsetList function instad of
6164         doing it manually.
6165         (getInset): ditto
6166
6167         * buffer.C: include boost/bind.hpp, add using std::for_each
6168         (writeFileAscii): use ParagraphList iterators
6169         (validate): use for_each for validate traversal of paragraphs
6170         (getBibkeyList): use ParagraphList iterators
6171         (resizeInsets): use for_each to resizeInsetsLyXText for all
6172         paragraphs.
6173         (getParFromID): use ParagraphList iterators
6174
6175         * BufferView2.C (lockInset): use paragraph list and iterators
6176
6177 2002-08-14  John Levon  <levon@movementarian.org>
6178
6179         * lyxserver.C: remove spurious xforms include
6180
6181 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6182
6183         * lyxfunc.C (getStatus): disable math-extern outside of math mode
6184
6185 2002-08-13  André Pönitz <poenitz@gmx.net>
6186
6187         * LyXAction.[Ch]:
6188         * lyxfunc.C: further cleaning
6189
6190 2002-08-13  André Pönitz <poenitz@gmx.net>
6191
6192         * funcrequest.h: new constructor
6193
6194         * funcrequest.C: move stuff here from .h
6195
6196         * Makefile.am:
6197         * BufferView_pimpl.C:
6198         * LyXAction.C:
6199         * toc.C:
6200         * lyxfunc.C: subsequent changes
6201
6202         * lyxfunc.h: new view() member function
6203
6204         * lyxfunc.C: subsequent changes
6205
6206 2002-08-13  Angus Leeming  <leeming@lyx.org>
6207
6208         * BufferView2.C:
6209         * BufferView_pimpl.C:
6210         * buffer.C:
6211         * converter.C:
6212         * importer.C:
6213         * lyxfunc.C:
6214         * lyxvc.C:
6215         * toc.C:
6216         * vc-backend.C:
6217         changes due to the changed LyXView interface that now returns references
6218         to member variables not pointers.
6219
6220 2002-08-13  Angus Leeming  <leeming@lyx.org>
6221
6222         * WordLangTuple (word, lang_code): return references to strings,
6223         not strings.
6224
6225         * BufferView.h:
6226         * SpellBase.h:
6227         * lyxtext.h: forward-declare WordLangTuple.
6228
6229         * BufferView2.C:
6230         * ispell.C:
6231         * pspell.C:
6232         * text.C: #include "WordLangTuple.h".
6233
6234         * lyxtext.h:
6235         * text.C: (selectNextWordToSpellcheck): constify return type.
6236
6237 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
6238
6239         * buffer.C:
6240         * buffer.h:
6241         * lyxtext.h:
6242         * paragraph.C:
6243         * paragraph_pimpl.h:
6244         * text.C:
6245         * text2.C:
6246         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
6247         suggested by Angus.
6248         Made updateCounter always count from start of buffer, and removed
6249         second argument (par).
6250         Reverted floats number display to '#'. Perhaps I'll try again when the
6251         code base is sanitized a bit.
6252
6253 2002-08-12  Angus Leeming  <leeming@lyx.org>
6254
6255         * buffer.[Ch] (getLabelList): constify.
6256
6257 2002-08-07  André Pönitz <poenitz@gmx.net>
6258
6259         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
6260
6261         * funcrequest.h: extension to keep mouse (x,y) position
6262
6263 2002-08-12  Juergen Vigna  <jug@sad.it>
6264
6265         * BufferView2.C (insertErrors): forbid undo when inserting error
6266         insets.
6267
6268         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
6269
6270 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
6271
6272         * ParagraphList.[Ch]: new files
6273
6274         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
6275
6276         * BufferView2.C (lockInset): ParagraphList changes
6277         * toc.C: ditto
6278         * text2.C: ditto
6279         * bufferlist.C: ditto
6280         * buffer.h: ditto
6281         * buffer.C: ditto
6282
6283 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
6286         unused class variable counter_,
6287
6288         * paragraph.[Ch] (getFirstCounter): delete unused function
6289
6290         * counters.C: include LAssert.h
6291         (reset): add a new function with no arg, change other version to
6292         not have def. arg and to not allow empty arg.
6293
6294         * text2.C (setCounter): remove empty arg from call to Counters::reset
6295
6296 2002-08-11  John Levon  <levon@movementarian.org>
6297
6298         * Makefile.am: add WordLangTuple.h
6299
6300 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
6301
6302         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
6303         lyxfunc.C lyxlex_pimpl.C: ws changes only.
6304
6305         * insets/insettext.C: InsetList changes
6306
6307         * graphics/GraphicsSupport.C (operator()): InsetList changes
6308
6309         * toc.C (getTocList): InsetList changes
6310
6311         * paragraph_pimpl.[Ch]: InsetList changes
6312
6313         * paragraph.[Ch]: InsetList changes
6314
6315         * buffer.C (inset_iterator): InsetList changes
6316         (setParagraph): ditto
6317         * buffer.h (inset_iterator): ditto
6318         * iterators.C (operator++): ditto
6319         * iterators.h: ditto
6320
6321         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
6322
6323         * InsetList.[Ch]: new files, most InsetList handling moved out of
6324         paragraph.C.
6325
6326         * BufferView2.C (removeAutoInsets): InsetList changes
6327         (lockInset): ditto
6328         (ChangeInsets): ditto
6329
6330 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * paragraph_pimpl.h (empty): new function
6333
6334         * paragraph.[Ch] (empty): new function
6335
6336         * other files: use the new Paragraph::empty function
6337
6338 2002-08-09  John Levon  <levon@movementarian.org>
6339
6340         * lyxtext.h: remove unused refresh_height
6341
6342 2002-08-09  John Levon  <levon@movementarian.org>
6343
6344         * Makefile.am:
6345         * sgml.h:
6346         * sgml.C:
6347         * buffer.C:
6348         * paragraph.h:
6349         * paragraph.C: move sgml char escaping out of paragraph
6350
6351         * paragraph.h:
6352         * paragraph.C: remove id setter
6353
6354         * buffer.C:
6355         * paragraph.C:
6356         * paragraph_pimpl.C: remove dead tex_code_break_column
6357
6358         * bufferview_funcs.C: small cleanup
6359
6360         * lyxfunc.C: remove dead proto
6361
6362         * lyxtext.h: make some stuff private. Remove some dead stuff.
6363
6364         * lyxgluelength.C: make as[LyX]String() readable
6365
6366 2002-08-08  John Levon  <levon@movementarian.org>
6367
6368         * LyXAction.h:
6369         * LyXAction.C:
6370         * MenuBackend.C:
6371         * ToolbarDefaults.C:
6372         * lyxfunc.C:
6373         * lyxrc.C:
6374         * toc.C: lyxaction cleanup
6375
6376 2002-08-08  John Levon  <levon@movementarian.org>
6377
6378         * BufferView2.C: small cleanup
6379
6380         * lyxfind.h:
6381         * lyxfind.C: move unnecessary header into the .C
6382
6383 2002-08-08  John Levon  <levon@movementarian.org>
6384
6385         * funcrequest.h: just tedious nonsense
6386
6387         * lyx_main.h:
6388         * lyx_main.C: cleanups
6389
6390         * buffer.C:
6391         * vspace.C: remove dead header lyx_main.h
6392
6393 2002-08-07  Angus Leeming  <leeming@lyx.org>
6394
6395         * Paragraph.[Ch]:
6396         * paragraph_pimpl.h:
6397         Forward declare class Counters in paragraph.h by moving the ctrs member
6398         variable into Paragraph::Pimpl.
6399         (counters): new method, returning a reference to pimpl_->ctrs.
6400
6401         * text2.C: ensuing changes.
6402
6403 2002-08-07  John Levon  <levon@movementarian.org>
6404
6405         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
6406
6407         * BufferView_pimpl.C: announce X selection on double/triple
6408           click
6409
6410         * lyx_main.C: use correct bool in batch dispatch
6411
6412         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
6413
6414 2002-08-07  André Pönitz <poenitz@gmx.net>
6415
6416         * funcrequest.h: new class to wrap a kb_action and its argument
6417
6418         * BufferView.[Ch]:
6419         * BufferView_pimpl[Ch]:
6420         * LaTeX.C:
6421         * LyXAction.[Ch]:
6422         * lyxfunc.[Ch]:
6423         * lyxrc.C: subsequent changes
6424
6425
6426 2002-08-07  John Levon  <levon@movementarian.org>
6427
6428         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
6429           document options change.
6430
6431 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
6432
6433         * counters.[Ch]
6434         * text2.C
6435         * paragraph.[Ch]
6436         * makefile.am: move counters functionality over from
6437         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
6438
6439 2002-08-06  John Levon  <levon@movementarian.org>
6440
6441         * WordLangTuple.h: new file for word + language code tuple
6442
6443         * SpellBase.h:
6444         * pspell.h:
6445         * pspell.C:
6446         * ispell.h:
6447         * ispell.C:
6448         * lyxtext.h:
6449         * text.C:
6450         * text2.C:
6451         * BufferView.h:
6452         * BufferView2.C: use WordLangTuple
6453
6454         * layout.h:
6455         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
6456
6457 2002-08-06  John Levon  <levon@movementarian.org>
6458
6459         * lyx_main.C: fix cmdline batch handling
6460
6461 2002-08-06  André Pönitz <poenitz@gmx.net>
6462
6463         * lyxrc.C: set default for show_banner to true
6464
6465 2002-08-06  John Levon  <levon@movementarian.org>
6466
6467         * pspell.C: fix a crash, and allow new aspell to work
6468
6469 2002-08-06  John Levon  <levon@movementarian.org>
6470
6471         * lyxfunc.C:
6472         * kbmap.C: small cleanup
6473
6474         * vspace.h:
6475         * vspace.C: add const
6476
6477 2002-08-05  John Levon  <levon@movementarian.org>
6478
6479         * LyXAction.C: back to tabular-insert
6480
6481 2002-08-04  John Levon  <levon@movementarian.org>
6482
6483         * BufferView.h:
6484         * BufferView.C: cosmetic change
6485
6486         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
6487
6488         * bufferlist.C:
6489         * buffer.h:
6490         * buffer.C:
6491         * lyxcb.h:
6492         * lyxcb.C:
6493         * lyxserver.C:
6494         * lyxvc.C:
6495         * vc-backend.C:
6496         * BufferView2.C: purge all "Lyx" not "LyX" strings
6497
6498         * lyxcursor.h:
6499         * lyxcursor.C: attempt to add some documentation
6500
6501         * lyxfunc.C:
6502         * commandtags.h:
6503         * LyXAction.C:
6504         * ToolbarDefaults.C:
6505         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
6506           merge with LFUN_TABULAR_INSERT
6507
6508         * Makefile.am:
6509         * SpellBase.h:
6510         * ispell.h:
6511         * ispell.C:
6512         * pspell.h:
6513         * pspell.C: split up i/pspell implementations into separate
6514           files, many cleanups
6515
6516         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
6517
6518         * text2.C: some cleanup
6519
6520         * lyxfunc.C: don't check for isp_command == "none" any more, it
6521           didn't make any sense
6522
6523 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
6524
6525         * counters.[Ch]
6526         * text2.C
6527         * paragraph.[Ch]
6528         * makefile.am: move counters functionality over
6529         from text2.C/paragraph.[Ch] to counters.[Ch], and
6530         make proper C++.
6531 2002-08-02  John Levon  <levon@movementarian.org>
6532
6533         * buffer.C: s/lyxconvert/lyx2lyx/
6534
6535 2002-08-02  Angus Leeming  <leeming@lyx.org>
6536
6537         * lyxlex.C: revert John's change as it breaks reading of the user
6538         preamble.
6539
6540 2002-08-02  Angus Leeming  <leeming@lyx.org>
6541
6542         * importer.C (Import):
6543         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6544         changes due to LyXView::view() now returning a boost::shared_ptr.
6545
6546 2002-08-02  John Levon  <levon@movementarian.org>
6547
6548         * lyxlex.C: small cleanup
6549
6550 2002-08-02  John Levon  <levon@movementarian.org>
6551
6552         * text2.C (status): small cleanup, no logic change
6553
6554 2002-08-01  John Levon  <levon@movementarian.org>
6555
6556         * buffer.h:
6557         * buffer.C (writeFile): don't output alerts, caller
6558           handles this
6559
6560         * bufferlist.C:
6561         * lyx_cb.C: from above
6562
6563         * lyxfunc.C: allow to open non-existent files
6564
6565 2002-07-31  John Levon  <levon@movementarian.org>
6566
6567         * lyxserver.C: don't let incidental errors get
6568           in the way (errno)
6569
6570 2002-07-30  John Levon  <levon@movementarian.org>
6571
6572         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6573
6574 2002-07-30  John Levon  <levon@movementarian.org>
6575
6576         * lyxserver.h:
6577         * lyxserver.C: remove I/O callback too
6578
6579 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6580
6581         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6582         log.
6583
6584 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6585
6586         * many files: strip,frontStrip -> trim,ltrim,rtrim
6587
6588 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6589
6590         * PrinterParams.h: remove extern containsOnly, and include
6591         support/lstrings.h instead.
6592
6593         * LaTeX.C (scanAuxFile): modify because of strip changes
6594         (deplog): ditto
6595         * buffer.C (makeLaTeXFile): ditto
6596         * bufferparams.C (writeFile): ditt
6597         * lyxfont.C (stateText): ditto
6598         * lyxserver.C (read_ready): ditto
6599         * vc-backend.C (scanMaster): ditto
6600
6601         * BufferView_pimpl.h: ws changes
6602
6603         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6604
6605 2002-07-26  André Pönitz <poenitz@gmx.net>
6606
6607         * kb_sequence.C: remove unnedred usings
6608
6609 2002-07-26  Juergen Vigna  <jug@sad.it>
6610
6611         * lyxfind.C (LyXReplace): we have to check better if the returned
6612         text is not of theLockingInset()->getLockingInset().
6613
6614 2002-07-25  Juergen Vigna  <jug@sad.it>
6615
6616         * lyxfind.C (LyXReplace): don't replace if we don't get the
6617         right LyXText.
6618
6619         * undo_funcs.C (createUndo): remove debugging code.
6620
6621 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6622
6623         * buffer.C (parseSingleLyXformat2Token): Use default placement
6624         when reading old floats.
6625
6626         * FloatList.C (FloatList): Change the default placement of figure
6627         and tables to "tbp".
6628
6629 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6630
6631         * MenuBackend.C: using std::max
6632
6633 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6634
6635         * MenuBackend.C (expandToc):
6636         (expandToc2): code moved from xforms menu frontend. It is now
6637         generic and TOCs are transparent to menu frontends.
6638
6639 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6640
6641         * toc.C (getTocList): protect against buf=0
6642
6643         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6644         Menu as first parameter. Now, this calls itself recursively to
6645         expand a whole tree (this will be useful for TOC handling)
6646         (expandFloatInsert): remove 'wide' version of floats
6647
6648         * MenuBackend.h (submenuname): returns the name of the submenu.
6649         (submenu): returns the submenu itself, provided it has been
6650         created by MenuBackend::expand
6651
6652 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6653
6654         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6655         insets which have noFontChange == true. (bug #172)
6656
6657 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6658
6659         * BufferView_pimpl.C: add connection objects and use them...
6660         (Pimpl): here.
6661
6662 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6663
6664         * MenuBackend.C (expandLastfiles):
6665         (expandDocuments):
6666         (expandFormats):
6667         (expandFloatListInsert):
6668         (expandFloatInsert):
6669         (expand): split expand in parts
6670
6671 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6672
6673         * lyx_gui.C: use lyx_gui::exit()
6674
6675 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6676
6677         * LyXAction.C: show the failing pseudo action
6678
6679 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6680
6681         * buffer.C (readFile): Run the lyxconvert script in order to read
6682         old files.
6683
6684 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6685
6686         * LyXAction.C:
6687         * commandtags.h:
6688         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6689
6690 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6691
6692         * LyXAction.C:
6693         * commandtags.h:
6694         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6695
6696 2002-07-22  Herbert Voss  <voss@lyx.org>
6697
6698         * lengthcommon.C:
6699         * lyxlength.[Ch]: add support for the vertical lengths
6700
6701 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6702
6703         * toc.[Ch]: std:: fixes
6704
6705 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6706
6707         * lyxrc.C: do not include lyx_main.h
6708
6709         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6710         for layouts
6711
6712         * lyxrc.C:
6713         * encoding.C:
6714         * bufferlist.C:
6715         * BufferView2.C: include "lyxlex.h"
6716
6717         * tabular.h:
6718         * bufferparams.h: do not #include "lyxlex.h"
6719
6720         * lyxtextclasslist.C (Add): remove method
6721         (classlist): renamed to classlist_
6722
6723         * paragraph_pimpl.C:
6724         * paragraph.C:
6725         * text2.C:
6726         * CutAndPaste.C:
6727         * bufferview_funcs.C:
6728         * bufferlist.C:
6729         * text.C:
6730         * LaTeXFeatures.C:
6731         * buffer.C:
6732         * toc.C (getTocList): use BufferParams::getLyXTextClass
6733
6734         * toc.C (getTocList): use InsetFloat::addToToc
6735
6736         * toc.[Ch]: new files, containing helper functions to handle table
6737         of contents
6738
6739         * lyxfunc.C (dispatch): no need to remove spaces around command
6740         given as a string
6741         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6742         first command of the sequence; it is not very clever, but I do not
6743         have a better idea, actually
6744
6745         * LyXAction.C (LookupFunc): make sure to remove space at the
6746         beginning and end of the command
6747
6748 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6749
6750         * MenuBackend.C (getMenubar): new method: return the menubar of
6751         this menu set
6752         (read): treat differently reading of menu and menubar (in
6753         particular, the menubar has no name now)
6754         (Menu::menubar): remove
6755
6756         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6757         saving is finished
6758
6759 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6760
6761         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6762         a bibitem inset in a RTL paragraph.
6763
6764 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6765
6766         * paragraph_pimpl.C: constify
6767
6768         * BufferView_pimpl.C:
6769         * LaTeX.C:
6770         * lyxfunc.C: fix dispatch in a nicer way
6771
6772 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6773
6774         * lyxfunc.C (dispatch):
6775         * BufferView_pimpl.C:
6776         * BufferView_pimpl.h:
6777         * BufferView.C:
6778         * BufferView.h: rename Dispatch() to dispatch()
6779
6780         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6781
6782         * lyxlayout.C (Read): honor DependsOn tag
6783
6784         * lyxlayout.[Ch] (depends_on): new method
6785
6786         * version.C.in: update lyx_docversion
6787
6788         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6789
6790         * paragraph.C (validate): remove from here...
6791         * paragraph_pimpl.C (validate): ... and move here
6792         (isTextAt): make it const
6793
6794         * buffer.C (getLists): ws cleanup
6795
6796 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6797
6798         * language.C (read): Use iso8859-1 encoding in latex_lang
6799         (this prevents LyX from crashing when using iso10646-1 encoding).
6800
6801 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6802
6803         * text2.C (toggleInset): if cursor is inside an inset, close the
6804         inset and leave cursor _after_ it
6805
6806 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6807
6808         * lyxfunc.C: move minibuffer completion handling out of here
6809
6810 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6811
6812         * BufferView_pimpl.C:
6813         * LaTeX.C: fix dispatch calls
6814
6815 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6816
6817         * text.C (drawChars): Fix Arabic text rendering.
6818
6819 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6820
6821         * LyXAction.C:
6822         * commandtags.h:
6823         * lyxfunc.C: remove message-push/pop
6824
6825         * lyxserver.C:
6826         * lyxfunc.h:
6827         * lyxfunc.C: rationalise some code by removing verboseDispatch
6828           in favour of a bool argument to dispatch()
6829
6830 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6831
6832         * lyx_main.C (init): make sure to read symlinks as absolute paths
6833
6834 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6835
6836         * lyxfunc.h:
6837         * lyxfunc.C: no need for commandshortcut to be a member
6838
6839 2002-07-15  André Pönitz <poenitz@gmx.net>
6840
6841         * converter.C: add support for $$s (scripts from lib/scripts dir)
6842         * lyx_main.C: white space
6843
6844 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6845
6846         * bufferlist.C:
6847         * lyxrc.h:
6848         * lyxrc.C: remove second exit confirmation
6849
6850 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6851
6852         * BufferView.h:
6853         * BufferView.C:
6854         * BufferView2.C:
6855         * BufferView_pimpl.h:
6856         * BufferView_pimpl.C:
6857         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6858
6859 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6860
6861         * MenuBackend.C (expand): add numeric shortcuts to document menu
6862
6863         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6864
6865 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6866
6867         * lyxfont.C (setLyXFamily):
6868         (setLyXSeries):
6869         (setLyXShape):
6870         (setLyXSize):
6871         (setLyXMisc):
6872         (lyxRead):
6873         * debug.C (value):
6874         * buffer.C (asciiParagraph): use ascii_lowercase
6875
6876 2002-07-15  Mike Fabian  <mfabian@suse.de>
6877
6878         * lyxlex_pimpl.C (search_kw):
6879         * lyxlex.C (getLongString):
6880         * converter.h (operator<):
6881         * converter.C (operator<):
6882         * buffer.C (parseSingleLyXformat2Token):
6883         (asciiParagraph):
6884         * ToolbarDefaults.C (read):
6885         * MenuBackend.C (checkShortcuts):
6886         (read):
6887         * LColor.C (getFromGUIName):
6888         (getFromLyXName): use the compare_ascii_no_case instead of
6889         compare_no_case, because in turkish, 'i' is not the lowercase
6890         version of 'I', and thus turkish locale breaks parsing of tags.
6891
6892 2002-07-16  Angus Leeming  <leeming@lyx.org>
6893
6894         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6895         now takes a Buffer const & argument.
6896
6897 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6898
6899         * BufferView.C (resize): check there's a buffer to resize
6900
6901 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6902
6903         * lyxfunc.C: remove dead code
6904
6905         * lyxserver.h:
6906         * lyxserver.C: use lyx_guii::set_read_callback
6907
6908 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6909
6910         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6911         an inset in a RTL paragraph.
6912
6913 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6914
6915         * lyxfunc.C: repaint after a font size update
6916
6917 2002-07-15  André Pönitz <poenitz@gmx.net>
6918
6919         * lyxlength.C: inBP should be able to return negative values
6920
6921 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6922
6923         * lyxfunc.C: use lyx_gui::update_fonts()
6924
6925 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6926
6927         * lyxfunc.C: use lyx_gui::update_color()
6928
6929 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6930
6931         * bufferlist.C:
6932         * lyxfunc.h:
6933         * lyxfunc.C:
6934         * lyxrc.h:
6935         * lyxrc.C: remove file->new asks for name option, and let
6936           buffer-new take an argument
6937
6938 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6939
6940         * BufferView_pimpl.C: remove unneeded extra repaint()
6941
6942 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6943
6944         * LyXAction.C: allow command-sequence with NoBuffer
6945
6946         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6947
6948 2002-07-10  Angus Leeming  <leeming@lyx.org>
6949
6950         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6951
6952 2002-07-09  Angus Leeming  <leeming@lyx.org>
6953
6954         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6955
6956 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6957
6958         * lengthcommon.h: whitespace
6959
6960         * lyxfunc.C: update scrollbar after goto paragraph
6961
6962         * lyxtext.h: factor out page break drawing, and fix it so
6963           page break/added space paints as selected nicely
6964
6965 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6966
6967         * BufferView_pimpl.C: add FIXMEs, clean up a little
6968
6969 2002-07-09  André Pönitz <poenitz@gmx.net>
6970
6971         * lyxfont.[Ch]: support for wasy symbols
6972
6973 2002-07-08  André Pönitz <poenitz@gmx.net>
6974
6975         * BufferView_pimpl.C: apply John's patch for #93.
6976
6977 2002-07-05  Angus Leeming  <leeming@lyx.org>
6978
6979         * BufferView_pimpl.C (buffer): generate previews if desired.
6980
6981         * LColor.h: add "preview" to the color enum.
6982
6983         * LColor.C (LColor): add a corresponding entry to the items array.
6984
6985         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6986         with this buffer.
6987
6988 2002-07-05  Angus Leeming  <leeming@lyx.org>
6989
6990         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6991         The body of the code is now in the method that is passed an ostream &
6992         rather than a file name.
6993         Pass an additional only_preamble parameter, useful for the forthcoming
6994         preview stuff.
6995
6996 2002-07-03  André Pönitz <poenitz@gmx.net>
6997
6998         * lyxfunc.C: simplify getStatus() a bit for math stuff
6999
7000 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7001
7002         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
7003
7004 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7005
7006         * text.C (changeRegionCase): do not change case of all the
7007         document when region ends at paragraph end (bug #461)
7008
7009 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7010
7011         * paragraph.C (startTeXParParams):
7012         (endTeXParParams): add \protect when necessary
7013
7014 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7015
7016         * BufferView_pimpl.C (workAreaExpose): remove warning
7017
7018 2002-06-27  Angus Leeming  <leeming@lyx.org>
7019
7020         * Makefile.am: add lyxlayout_ptr_fwd.h.
7021
7022 2002-06-26  André Pönitz <poenitz@gmx.net>
7023
7024         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
7025
7026 2002-06-25  Angus Leeming  <leeming@lyx.org>
7027
7028         * lyxfunc.C (dispatch): Comment out the call to
7029         grfx::GCache::changeDisplay. The method no longer exists now that the
7030         pixmap generation part of the graphics loader has been moved into
7031         InsetGraphics.
7032
7033 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7034
7035         * text2.C: layout as layout
7036
7037         * text.C: layout as layout
7038
7039         * tabular.C (OldFormatRead): layout as layout
7040
7041         * paragraph_pimpl.C (TeXDeeper): layout as layout
7042         (realizeFont): layout as layout
7043
7044         * paragraph.C (writeFile): layout as layout
7045         (validate): layout as layout
7046         (getFont): layout as layout
7047         (getLabelFont): layout as layout
7048         (getLayoutFont): layout as layout
7049         (breakParagraph): layout as layout
7050         (stripLeadingSpaces): layout as layout
7051         (getEndLabel): layout as layout
7052         (getMaxDepthAfter): layout as layout
7053         (applyLayout): layout as layout
7054         (TeXOnePar): layout as layout
7055         (simpleTeXOnePar): layout as layout
7056         (TeXEnvironment): layout as layout
7057         (layout): layout as layout
7058         (layout): layout as layout
7059
7060         * lyxtextclass.C (compare_name): new functor to work with
7061         shared_ptr, layout as layout
7062         (Read): layout as layout
7063         (hasLayout): layout as layout
7064         (operator): layout as layout
7065         (delete_layout): layout as layout
7066         (defaultLayout): layout as layout
7067
7068         * lyxlayout_ptr_fwd.h: new file
7069
7070         * lyxlayout.C (Read): layout as layout
7071
7072         * lyx_cb.C (MenuInsertLabel): layout as layout
7073
7074         * bufferlist.C (newFile): layout as layout
7075
7076         * buffer.C (readLyXformat2): layout as layout
7077         (parseSingleLyXformat2Token): layout as layout
7078         (insertStringAsLines): layout as layout
7079         (asciiParagraph): layout as layout
7080         (latexParagraphs): layout as layout
7081         (makeLinuxDocFile): layout as layout
7082         (simpleLinuxDocOnePar): layout as layout
7083         (makeDocBookFile): layout as layout
7084         (simpleDocBookOnePar): layout as layout
7085         (getLists): layout as layout
7086
7087         * LaTeXFeatures.C (getTClassPreamble): layout as layout
7088
7089         * CutAndPaste.C (cutSelection): layout as layout
7090         (pasteSelection): layout as layout
7091         (SwitchLayoutsBetweenClasses): layout as layout
7092
7093         * BufferView_pimpl.C (Dispatch): layout as layout
7094         (smartQuote): layout as layout
7095
7096         * BufferView2.C (unlockInset): layout as layout
7097
7098 2002-06-24  André Pönitz <poenitz@gmx.net>
7099
7100         * lyxfunc.C: fix #487
7101
7102 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7103
7104         * lyxrc.h:
7105         * lyxrc.C:
7106         * lyxfunc.C: remove display_shortcuts, show_banner
7107
7108 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7109
7110         * Buffer_pimpl.C: oops, update on resize
7111
7112 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7113
7114         * buffer.C:
7115         * converter.C:
7116         * exporter.C:
7117         * lyxfunc.C:
7118         * BufferView.h:
7119         * BufferView.C: use repaint()
7120
7121         * BufferView_pimpl.h:
7122         * BufferView_pimpl.C: s/updateScreen()/repaint()/
7123           as it's a clearer description. Remove superfluous
7124           redraws.
7125
7126 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
7127
7128         * text.C: fix bug 488. Not ideal, but getting
7129           getWord() to work properly for the insets that
7130           matter is more difficult ...
7131
7132 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7133
7134         * BufferView_pimpl.C:
7135         * LyXAction.C:
7136         * commandtags.h:
7137         * lyxfunc.C: remove the six million index lyxfuncs to just
7138           one, and DTRT (bug 458)
7139
7140 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7141
7142         * BufferView.h:
7143         * BufferView.C:
7144         * BufferView_pimpl.h:
7145         * BufferView_pimpl.C: clean up resize() stuff,
7146           and unnecessary updateScreen()s
7147
7148 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
7149
7150         * BufferView.h:
7151         * BufferView.C:
7152         * BufferView_pimpl.h:
7153         * BufferView_pimpl.C:
7154         * lyxfind.h:
7155         * lyxfind.C:
7156         * minibuffer.C: remove focus management of workarea,
7157           not needed. Use screen's greyOut()
7158
7159 2002-06-17  Herbert Voss  <voss@lyx.org>
7160
7161         * converter.C: (convert) do not post a message, when converting
7162         fails, let the calling function decide what to do in this case
7163
7164 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
7165
7166         * lyxfunc.C: tidy up a little
7167
7168 2002-06-16    <alstrup@diku.dk>
7169
7170         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
7171         Got rid of FORMS_H_LOCATION include. Now we are
7172         GUII.
7173
7174 2002-06-15  LyX Development team  <lyx@rilke>
7175
7176         * buffer.[Ch] (sgmlOpenTag):
7177         (sgmlCloseTag): Added support for avoiding pernicious mixed
7178         content. Return number of lines written.
7179
7180         (makeLinuxDocFile):
7181         (makeDocBookFile): Fixed calls to sgml*Tag.
7182         Simple white space clean.
7183
7184         (simpleDocBookOnePar): Simple white space clean.
7185
7186         * tabular.[Ch] (docBook): Renamed to docbook and got another
7187         argument to related with the pernicious mixed content.
7188
7189         (docbookRow): Fixed calls for docbook inset method.
7190
7191 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
7192
7193         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
7194         so it's X11 independent.
7195
7196         * kb*.[Ch]: ditto.
7197
7198         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
7199
7200 2002-06-15  Lyx Development team  <lyx@electronia>
7201
7202         * intl.h: Renamed getTrans to getTransManager.
7203
7204 2002-06-14  Angus Leeming  <leeming@lyx.org>
7205
7206         * Makefile.am: nuke forgotten stl_string_fwd.h.
7207
7208 2002-06-12  Angus Leeming  <leeming@lyx.org>
7209
7210         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
7211
7212 2002-06-13  Angus Leeming  <leeming@lyx.org>
7213
7214         * LaTeX.C:
7215         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
7216
7217 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
7218
7219         * kbmap.C (getiso): add support for cyrillic and greek
7220
7221 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7222
7223         * BufferView.h:
7224         * BufferView.C:
7225         * BufferView_pimpl.h:
7226         * BufferView_pimpl.C: move bogus scrolling logic
7227           to xforms
7228
7229 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7230
7231         * lyxfunc.C:
7232         * BufferView_pimpl.C: view->resize() change
7233
7234 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7235
7236         * BufferView_pimpl.C: topCursorVisible
7237           prototype change
7238
7239 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7240
7241         * Makefile.am:
7242         * lyx_gui.h:
7243         * lyx_gui.C: move to frontends/
7244
7245         * main.C:
7246         * lyx_main.h:
7247         * lyx_main.C: changes from above
7248
7249 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7250
7251         * intl.C:
7252         * intl.h:
7253         * kbmap.C:
7254         * kbsequence.C:
7255         * lyx_cb.C:
7256         * lyx_main.C: minor tidy
7257
7258 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7259
7260         * BufferView_pimpl.h:
7261         * BufferView_pimpl.C:
7262         * BufferView.h:
7263         * BufferView.C: make painter() const,
7264           remove dead code
7265
7266         * BufferView2.C: use screen() accessor
7267
7268         * lyx_main.h:
7269         * lyx_main.C: some minor cleanup
7270
7271 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7272
7273         * BufferView_pimpl.h:
7274         * BufferView_pimpl.C: remove enter/leaveView,
7275           use workHeight()
7276
7277 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
7278
7279         * BufferView.h:
7280         * BufferView.C:
7281         * BufferView2.C:
7282         * BufferView_pimpl.h:
7283         * BufferView_pimpl.C: only construct screen once,
7284           rename
7285
7286         * lyxrc.C: remove pointless comment
7287
7288 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7289
7290         * BufferView.h:
7291         * BufferView.C: remove active() and belowMouse()
7292
7293         * BufferView_pimpl.h:
7294         * BufferView_pimpl.C: use workarea() not workarea_,
7295           and make it use a scoped_ptr instead
7296
7297 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
7298
7299         * lyx_gui.C: add debug message on BadWindow
7300
7301 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7302
7303         * sp_spell.C: fdopen is not part of the C++ standard.
7304
7305         * paragraph.C (InsetIterator): use >= instead of ==
7306
7307 2002-06-07  Angus Leeming  <leeming@lyx.org>
7308
7309         Fixes needed to compile with Compaq cxx 6.5.
7310         * BufferView_pimpl.C:
7311         * DepTable.C:
7312         * buffer.C:
7313         * converter.C:
7314         * encoding.C:
7315         * lyx_gui.C:
7316         * lyx_main.C:
7317         * lyxtextclasslist.C:
7318         * minibuffer.C:
7319         * sp_spell.C:
7320         * tabular_funcs.C:
7321         * vc-backend.C:
7322         all c-library variables have been moved into namespace std. Wrap
7323         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
7324
7325         * lyxlength.C:
7326         * tabular-old.C:
7327         * tabular.C:
7328         Add a using std::abs declaration.
7329
7330         * kbmap.h (modifier_pair):
7331         * paragraph.h (InsetTable, InsetList):
7332         * lyxfont.h (FontBits):
7333         type definition made public.
7334
7335         * bufferlist.C (emergencyWriteAll): the compiler complains that
7336         there is more than one possible lyx::class_fun template to choose from.
7337         I re-named the void specialisation as lyx::void_class_fun.
7338
7339         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
7340
7341         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
7342         the compiler is is unable to find tostr in write_attribute.
7343
7344 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7345
7346         * buffer.C (sgmlError): hide #warning
7347
7348 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7349
7350         * xtl/*: get rid of xtl, which is not in use anyway
7351
7352         * LyXAction.C (init):
7353         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
7354         were unimplemented xtl experimentation
7355
7356 2002-06-04  André Pönitz <poenitz@gmx.net>
7357
7358         * lyxfunc.C: disable array operation on simple formulae
7359
7360 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
7361
7362         * converter.C: constify a bit
7363
7364 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
7365
7366         * lyx_gui.C: check xforms version correctly
7367
7368 2002-04-30  Herbert Voss  <voss@lyx.org>
7369
7370         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
7371         "keep" option
7372
7373 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
7374
7375         * lyxvc.C: fix bug 416 (make sure buffer is saved before
7376           attempt to register it with a VCS)
7377
7378 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7379
7380         * lyx_main.C (init): honor variables LYX_DIR_13x and
7381         LYX_USERDIR_13x
7382
7383 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7384
7385         * buffer.h:
7386         * buffer.C:
7387         * lyx_main.C: fix a crash on bad command line,
7388           and give a useful exit status on error
7389
7390         * lyxfunc.C (doImport): allow -i lyx to work
7391
7392 2002-03-30  André Pönitz <poenitz@gmx.net>
7393
7394         * lyxfunc.C: mathed font changes
7395
7396 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
7397
7398         * LaTeX.C:
7399         * importer.h:
7400         * importer.C:
7401         * lyx_sty.h:
7402         * lyx_sty.C:
7403         * lyxlex.C:
7404         * lyxrow.h:
7405         * lyxtext.h:
7406         * paragraph.h:
7407         * paragraph.C:
7408         * texrow.h:
7409         * texrow.C:
7410         * text.C:
7411         * trans_mgr.h: srcdocs, and some minor cleanups
7412
7413 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7414
7415         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
7416         call getFont all the time)
7417
7418 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7419
7420         * switch from SigC signals to boost::signals
7421
7422 2002-05-29  André Pönitz <poenitz@gmx.net>
7423
7424         * paragraph_pimpl.C (getChar): don't call size() too often...
7425
7426 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7427
7428         * paragraph_pimpl.C (insertChar): do not try to update tables when
7429         appending (pos == size())
7430
7431         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
7432         in order to reduce drastically the number of comparisons needed to
7433         parse a large document
7434
7435 2002-05-29  André Pönitz <poenitz@gmx.net>
7436
7437         * text.C:
7438         * text2.C:
7439         * lyxtextclass.C:
7440         * sp_pspell.h:
7441         * textclasslist.[Ch]:
7442         * sp_ispell.h: whitespace change
7443
7444 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7445
7446         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
7447         lyxaction directly now.
7448
7449 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
7450
7451         * trans.C:
7452         * lyxfont.C:
7453         * lyxvc.C: remove unused headers
7454
7455 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7456
7457         * Makefile.am:
7458         * buffer.h:
7459         * undostack.h:
7460         * undostack.C:
7461         * undo_funcs.h:
7462         * undo_funcs.C: some cleanups. Use shared_ptr
7463           and a template for the undo stacks.
7464
7465 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
7466
7467         * BufferView_pimpl.h:
7468         * BufferView_pimpl.C:
7469         * kbmap.h:
7470         * kbmap.C:
7471         * kbsequence.h:
7472         * kbsequence.C:
7473         * lyxfunc.h:
7474         * lyxfunc.C:
7475         * text2.C: use key_state/mouse_state
7476
7477 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7478
7479         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
7480         and LSubstring
7481
7482         * chset.C: change include order
7483         (loadFile): use boost regex and get rid of LRegex and LSubstring
7484
7485         * Makefile.am (BOOST_LIBS): new variable
7486         (lyx_LDADD): use it
7487
7488         * LaTeX.C: change include order.
7489         (scanAuxFile): use boost regex and get rid of LRegex and
7490         LSubstring
7491         (deplog): ditto
7492
7493 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7494
7495         * ColorHandler.h:
7496         * ColorHandler.C:
7497         * FontInfo.h:
7498         * FontInfo.C: moved to frontends/xforms/
7499
7500         * FontLoader.h:
7501         * FontLoader.C: moved into frontends for GUIIzation
7502
7503         * Makefile.am:
7504         * lyx_gui.C:
7505         * lyxfont.C:
7506         * lyxfunc.C: changes from above
7507
7508 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
7509
7510         * LColor.C: remove spurious X include
7511
7512         * BufferView_pimpl.C:
7513         * Makefile.am:
7514         * font.h:
7515         * font.C:
7516         * text.C:
7517         * text2.C: move font metrics to frontends/
7518
7519 2002-05-24  Juergen Vigna  <jug@sad.it>
7520
7521         * undo_funcs.C (textHandleUndo): fix the cursor selection after
7522         setting the undo_cursor.
7523
7524         * ParagraphParameters.h: include local includes first.
7525
7526 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7527
7528         * BufferView_pimpl.C:
7529         * BufferView_pimpl.h:
7530         * Makefile.am:
7531         * WorkArea.h:
7532         * WorkArea.C:
7533         * screen.C: move WorkArea into frontends/
7534
7535         * lyxscreen.h:
7536         * screen.C:
7537         * text.C:
7538         * BufferView.C:
7539         * BufferView2.C: move LyXScreen into frontends/
7540
7541         * lyxlookup.h:
7542         * lyxlookup.C:
7543         * lyx_gui.C: move lyxlookup into frontends/xforms/
7544
7545 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7546
7547         * BufferView2.C:
7548         * BufferView_pimpl.C:
7549         * FontLoader.C:
7550         * LyXView.h:
7551         * LyXView.C:
7552         * Makefile.am:
7553         * WorkArea.C:
7554         * XFormsView.h:
7555         * XFormsView.C:
7556         * buffer.C:
7557         * bufferlist.C:
7558         * bufferview_funcs.C:
7559         * converter.C:
7560         * importer.C:
7561         * lyx_cb.C:
7562         * lyx_gui.C:
7563         * lyx_main.C:
7564         * lyx_find.C:
7565         * lyxfunc.C:
7566         * lyxvc.C:
7567         * minibuffer.C:
7568         * text.C:
7569         * text2.C:
7570         * trans.C:
7571         * vc-backend.C: move LyX/XFormsView into frontends/
7572
7573 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7574
7575         * Makefile.am:
7576         * PainterBase.C:
7577         * PainterBase.h:
7578         * Painter.C:
7579         * Painter.h:
7580         * WorkArea.C:
7581         * WorkArea.h:
7582         * screen.C:
7583         * tabular.C:
7584         * text.C:
7585         * text2.C: move Painter to frontends/
7586
7587 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7588
7589         * buffer.C: comment out some some code that depend upon lyx_format
7590         < 220
7591
7592         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7593         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7594
7595         * buffer.h (NO_COMPABILITY): turn off compability
7596
7597         * ColorHandler.C: include scoped_array.hpp
7598
7599         * font.C: Use more specific smart_ptr header.
7600         * Painter.C: ditto
7601         * gettext.C: ditto
7602         * ShareContainer.h: ditto
7603         * lyx_main.h: ditto
7604         * kbmap.h: ditto
7605         * FontInfo.h: ditto
7606         * BufferView_pimpl.h: ditto
7607         * ColorHandler.h: ditto
7608
7609         * kbmap.C (defkey): change call to shared_ptr::reset
7610
7611 2002-05-21  Juergen Vigna  <jug@sad.it>
7612
7613         * buffer.C (insertErtContents): fix to insert ert asis if it is
7614         non empty. Skip it completely if it contains only whitespaces.
7615
7616 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7617
7618         * BufferView_pimpl.C:
7619         * BufferView2.C: clear selection on paste (bug 393)
7620
7621 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7622
7623         * DepTable.C: include ctime
7624
7625 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7626
7627         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7628
7629 2002-05-14  Juergen Vigna  <jug@sad.it>
7630
7631         * text.C (breakParagraph): fixed function to honor the keepempty
7632         layout in the right maner and also to permit the right breaking
7633         algorithm on empty or non empyt keepempty paragraphs.
7634
7635         * paragraph.C (breakParagraph): we have to check also if the par
7636         is really empty (!size()) for isempty otherwise we do the wrong
7637         paragraph break.
7638
7639 2002-05-10  Juergen Vigna  <jug@sad.it>
7640
7641         * buffer.[Ch] : The following are only changes to the ert
7642         compatibility read reading old LaTeX layout and font stuff and
7643         convert it to ERTInsets.
7644
7645         * buffer.h: added isErtInset().
7646
7647         * buffer.C (struct ErtComp): add a fromlayout bool to check
7648         if we're inside a LaTeX layout.
7649         (isErtInset): new helper function.
7650         (insertErtContents): look for other ert insets before this one
7651         and insert the contents there, so that we don't have subsequent
7652         ERT insets with nothing between them. This way we create only one
7653         inset with multiple paragraphs. Also check if we don't insert only
7654         spaces ' ' as they are ignored anyway afterwards in the .tex file
7655         so if we have only spaces we will ignore this latex part in the
7656         new file.
7657         (parseSingleLyXformat2Token \\layout): better compatibility when
7658         reading layout-latex stuff.
7659         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7660         language tag.
7661         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7662         stuff after reading the inset only get the information back from
7663         the stack.
7664
7665 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7666
7667         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7668
7669         * LaTeXFeatures.C (getBabelOptions): New method.
7670
7671 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7672
7673         * BufferView_pimpl.C (Dispatch): work around missing argument for
7674         'layout'
7675
7676 2002-05-08  Juergen Vigna  <jug@sad.it>
7677
7678         * text.C (leftMargin): handle paragraph leftindent.
7679
7680         * paragraph.C (writeFile): write the new \\leftindent tag.
7681         (validate): handle leftindent code.
7682         (TeXEnvironment): handle paragraphleftindent code again.
7683
7684         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7685
7686         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7687         for paragrap_extra indent code and new token \\leftindent.
7688         (latexParagraphs): handle the leftindent as environment.
7689
7690         * ParameterStruct.h: added leftindent support.
7691
7692         * ParagraphParameters.C (leftIndent): added support functions for
7693         the paragraph left indent.
7694
7695         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7696         more appropriate.
7697
7698 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7699
7700         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7701         inside insetERT.
7702
7703         * text.C (computeBidiTables): No bidi in insetERT.
7704
7705         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7706         in RTL documents.
7707
7708 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7709
7710         * version.C.in: pre 5
7711
7712 2002-05-02  José Matos  <jamatos@fep.up.pt>
7713         * buffer.C (makeDocBookFile): white space changes, add newline to
7714         command styles.
7715         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7716
7717         * tabular.C (docBook): fix typo.
7718
7719 2002-05-03  Juergen Vigna  <jug@sad.it>
7720
7721         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7722         change in LyXText as we can not be sure it was not freed.
7723         (drawOneRow): remove unused code.
7724
7725         * text.C (drawInset): redo the calculation of the need_break_row as
7726         it could have a row which was already freed.
7727         (draw): look at the return value of drawInset and return false if
7728         it also returned false.
7729         (paintRowText): look at the return value of draw and return false if
7730         it also returned false.
7731
7732         * lyxtext.h: added bool return type to drawInset() and draw() so that
7733         if we have a change in the row so that the rowbreak has to be redone
7734         we abort drawing as it will be called again.
7735
7736 2002-05-02  Juergen Vigna  <jug@sad.it>
7737
7738         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7739         a change in the maintext also if we're inside an inset.
7740         (Dispatch): set the cursor again after a break line and after the
7741         screen has been updated as it could be we're in a different row.
7742
7743         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7744         to set the cursor behind the pargraph with > size().
7745         (setCursor): check also for the same paragraph when checking where
7746         to put the cursor if we have a NFR inset.
7747
7748         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7749         parts of layout read further up as it still was in the wrong
7750         position.
7751
7752 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7753
7754         * screen.C (drawFromTo): change sine fullRebreak always return
7755         true.
7756
7757         * buffer.C (parseSingleLyXformat2Token): reindent some
7758
7759         * BufferView_pimpl.C (update): change since fullRebreak always
7760         return true.
7761         (Dispatch): git rid of the last hardcoded "Standard"s.
7762
7763 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7764
7765         * text2.[Ch] (fullRebreak): make it return void now that we always
7766         returned true.
7767
7768 2002-04-30  Juergen Vigna  <jug@sad.it>
7769
7770         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7771         ert compatibility check for "latex" layout.
7772
7773 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7774
7775         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7776         minipages: use col% instead of p%, and also use the current font.
7777         (makeLaTeXFile): Fix use babel condition.
7778         (parseSingleLyXformat2Token): Correct font when reading old floats.
7779
7780 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7781
7782         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7783         inserting list of floats.
7784
7785 2002-04-25  Herbert Voss  <voss@lyx.org>
7786
7787         * MenuBackend.C (expand): don't add the graphics extensions to the
7788         export menu
7789
7790 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7791
7792         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7793         non-existing layout, do not complain if it was the default layout
7794         of the original class (bug #342)
7795
7796 2002-04-24  Juergen Vigna  <jug@sad.it>
7797
7798         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7799         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7800
7801 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7802
7803         * buffer.C (getBibkeyList): If using \bibliography, return the
7804         option field with the reference itself. Enables us to provide natbib
7805         support when using \bibliography.
7806
7807 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7808
7809         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7810
7811         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7812         natbib is provided by the LaTeX class.
7813
7814 2002-04-23  Juergen Vigna  <jug@sad.it>
7815
7816         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7817         Wakeup functions.
7818
7819         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7820
7821 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7822
7823         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7824
7825         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7826         ensuremath around textordmasculine, textordfeminine and
7827         textdegree.
7828
7829 2002-04-19  Juergen Vigna  <jug@sad.it>
7830
7831         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7832         reinitializing the buffer otherwise row-dimensions may be wrong.
7833         (update): reset also the selection cursors if they do exits otherwise
7834         their x/y positions may be wrong.
7835
7836         * text2.C (cursorDown): don't enter the inset if we came from a row
7837         above and are one row over the inset.
7838
7839         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7840         really leaving an inset.
7841
7842 2002-04-18  Juergen Vigna  <jug@sad.it>
7843
7844         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7845         of the selected paragraph does not have the selected layout also if
7846         the last one had!
7847
7848         * text2.C (setLayout): fixed bug which did not change last selected
7849         paragraph.
7850
7851         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7852         changed the read and substituted \\end_float with \\end_inset!
7853
7854         * BufferView_pimpl.C (cursorPrevious):
7855         (cursorNext): fixed to make it work with rows heigher than the work
7856         area without moving the cursor only the draw of the row.
7857         (workAreaMotionNotify): fix jumping over high rows.
7858
7859 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7860
7861         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7862         Ressler.
7863
7864 2002-04-16  Juergen Vigna  <jug@sad.it>
7865
7866         * text2.C (setCursor): set also the irow().
7867         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7868         (cursorUp):
7869         (cursorDown): support for locking an inset if the x_fix value goes
7870         inside it. That way I can transverse insets too with cursor up/down.
7871
7872         * lyxrow.h: added irow helper function same as other (i) functions.
7873
7874         * BufferView_pimpl.C (cursorPrevious):
7875         (cursorNext): fixed for insets!
7876
7877 2002-04-15  Juergen Vigna  <jug@sad.it>
7878
7879         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7880         position otherwise it is wrong in some cases.
7881
7882         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7883         inside the inset before the call.
7884
7885 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7886
7887         * buffer.[Ch] (getBibkeyList): make it const.
7888
7889 2002-04-12  Juergen Vigna  <jug@sad.it>
7890
7891         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7892
7893         * text2.C (getCursorX): new helper function
7894         (setCursor): compute also ix_
7895         (setCursorFromCoordinates): set also ix.
7896
7897         * lyxcursor.h: added ix_ and helper functions.
7898
7899         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7900
7901         * buffer.C (insertStringAsLines): dont break paragraph if the this
7902         paragraph is inside an inset which does not permit it!
7903
7904         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7905         also with no chars on this paragraph.
7906         (paintRowText): only paint stuff if it's inside the workarea!
7907
7908         * paragraph.C (breakParagraph): honor keepempty flag and break the
7909         paragraph always below not above.
7910
7911         * BufferView2.C (unlockInset): update the paragraph layout on inset
7912         unlock as we changed paragraph in such a case.
7913
7914         * lyxfind.C (LyXFind): clear the former selection if not found!
7915
7916         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7917         again called in insertChar().
7918
7919         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7920         an inset which uses the whole row!
7921         (rightMargin): ditto.
7922         (insertChar): force a rebreak if we inserted an inset!
7923
7924 2002-03-28  Herbert Voss  <voss@lyx.org>
7925
7926         * lyxlength.[Ch]: add inBP() to get the right PS-point
7927         units (BigPoint). With inPixels we have rounding errors
7928
7929 2002-04-11  Juergen Vigna  <jug@sad.it>
7930
7931         * text2.C (setCursorFromCoordinates): set iy to the right value.
7932         (setCursor): add check if row->previous exists!
7933
7934         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7935         an old float_type as this was the case in the old code!
7936
7937         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7938
7939         * BufferView2.C (showLockedInsetCursor): use iy
7940         (fitLockedInsetCursor): ditto
7941
7942         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7943         locked insets as there we have the right value now.
7944
7945         * lyxcursor.C: added iy_ variable and iy functions to set to the
7946         baseline of cursor-y of the locked inset.
7947
7948         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7949         (setCursor): fixed for insets which need a full row.
7950
7951         * text.C (rowLastPrintable): don't ignore the last space when before
7952         an inset which needs a full row.
7953         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7954         as last character of a row when before a inset which needs a full row.
7955
7956 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7957
7958         * version.C.in: update date
7959
7960         * text2.C (fullRebreak): try to always return true and see what
7961         happens...
7962
7963 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7964
7965         * MenuBackend.C (expand): use Floating::listName
7966
7967         * FloatList.C (FloatList): add listName argument to the built-in
7968         floats
7969
7970         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7971         text associated with the float.
7972
7973 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7974
7975         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7976
7977 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7978
7979         * ShareContainer.h: add a couple of missing typenames.
7980
7981 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7982
7983         * lyxrc.C (getDescription): use _() correctly rather than N_().
7984
7985 2002-03-28  Herbert Voss  <voss@lyx.org>
7986
7987         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7988         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7989
7990 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7991
7992         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7993         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7994
7995 2002-03-29  Juergen Vigna  <jug@sad.it>
7996
7997         * lyxfunc.C (dispatch): add a missing fitCursor call.
7998
7999         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
8000         it was scrolled by a cursor move, so return the bool status.
8001
8002         * BufferView.C (fitCursor): return the bool flag also to the outside
8003         world as this is needed.
8004
8005         * screen.C (toggleToggle): don't subtract the offset if it's positive.
8006
8007         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
8008         call the edit() as it is not needed (and wrong) IMO.
8009         (workAreaButtonPress): set the screen_first variable before evt.
8010         unlock the inset as this may change screen_first and then we have
8011         a wrong y position for the click!
8012
8013 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8014
8015         * MenuBackend.C (expand): another translation that I missed
8016
8017 2002-03-28  Juergen Vigna  <jug@sad.it>
8018
8019         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
8020
8021         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
8022
8023 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8024
8025         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
8026
8027         * MenuBackend.C (expand): fix export/view/update when there is no
8028         document open.
8029
8030 2002-03-27  Herbert Voss  <voss@lyx.org>
8031
8032         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
8033         and text%
8034
8035 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8036
8037         * bufferview_funcs.C (currentState): only show paragraph number
8038         for is DEVEL_VERSION is set.
8039
8040         * lyxfunc.C (dispatch): put warning in INFO channel
8041
8042         * MenuBackend.C (expand): translate the name of floats
8043
8044         * FloatList.C (FloatList): mark the float names for translation
8045
8046         * converter.C (convert): use LibScriptSearch
8047
8048 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8049
8050         * MenuBackend.C (defaults): fix default menu (we might as well get
8051         rid of it...)
8052
8053 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8054
8055         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
8056         directory.
8057
8058 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8059
8060         * lyxvc.C: reorder includes.
8061
8062 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
8063
8064         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
8065           properly
8066
8067 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
8068
8069         * CutAndPaste.C: change layouts earlier on paste
8070           to avoid crashing when calling getFont()
8071
8072 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
8073
8074         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
8075         irritating #error.
8076
8077 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8078
8079         * WorkArea.C: remove 'Pending' debug message.
8080
8081         * most files: ws cleanup
8082
8083         * buffer.[Ch]: ws changes
8084
8085         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
8086
8087 2002-03-21  Juergen Vigna  <jug@sad.it>
8088
8089         * tabular.C (SetMultiColumn): collapse also the contents of the
8090         cells and set the last border right. Added a Buffer const * param.
8091
8092 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8093
8094         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
8095         linking or not.
8096
8097 2002-03-19  Juergen Vigna  <jug@sad.it>
8098
8099         * text2.C (clearSelection): reset also xsel_cache.
8100
8101         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
8102         where it needs to be called (John tells us to do so too :)
8103         (selectionLost): reset sel_cache.
8104
8105         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
8106
8107 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8108
8109         * text2.C (setCursorIntern): put debuging code in INSETS channel
8110
8111 2002-03-19  André Pönitz <poenitz@gmx.net>
8112
8113         * lyxfunc.C: tiny whitespace change
8114
8115 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8116
8117         * ToolbarDefaults.C (init):
8118         * LyXAction.C (init):
8119         * commandtags.h:
8120         * BufferView_pimpl.C (Dispatch):
8121         * lyxfunc.C (dispatch): remove LFUN_DEPTH
8122
8123 2002-03-19  Allan Rae  <rae@lyx.org>
8124
8125         * exporter.C (Export): removeAutoInsets before doing anything else.
8126         While I've just introduced a dependency on BufferView this really is
8127         the best place to clean the buffer otherwise you need to cleanup in
8128         a dozen places before calling export or cleanup in a dozen functions
8129         that export calls.
8130
8131         * converter.C (runLaTeX):
8132         (scanLog): Better handling of removeAutoInsets and screen updates.
8133
8134         * lyxfunc.C (dispatch): small whitespace changes
8135
8136 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8137
8138         * WorkArea.C (C_WorkAreaEvent): return a value.
8139         (event_cb): return 1 if we handled the event, 0 otherwise.
8140
8141         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
8142
8143 2002-03-18  Juergen Vigna  <jug@sad.it>
8144
8145         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
8146         (GetAdditionalWidth): ditto.
8147         (RightLine): ditto.
8148         (LeftLine): ditto.
8149
8150         * BufferView2.C (copy): use getLyXText() so that we do it inside an
8151         inset if we're there actually (probably not used right now but this
8152         is the direction to go for unifying code).
8153         (paste): disable code to clear the selection.
8154
8155         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
8156         inside an InsetText and move the check further up as it is in the
8157         wrong place.
8158
8159         * text2.C (pasteSelection): set a selection over the pasted text.
8160
8161 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
8162
8163         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
8164         and libgraphics to build on Cygwin.
8165
8166 2002-03-15  Juergen Vigna  <jug@sad.it>
8167
8168         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
8169         inserting an Inset into the paragraph. I know this is not the best
8170         fix but we already use current_view in CutAndPaste so we will remove
8171         all of it's using at the same time.
8172
8173         * buffer.C (sgmlError): deactivated function till it is rewritten in
8174         the right mode, now it can create problems.
8175
8176         * paragraph.C (isLineSeparator): check if getInset returns != 0,
8177         before accessing it.
8178
8179 2002-03-14  Juergen Vigna  <jug@sad.it>
8180
8181         * undo_funcs.C (textHandleUndo): do the right thing when updating
8182         the inset after the undo/redo.
8183
8184         * text2.C (setCursor): just some testcode for #44 not ready yet.
8185
8186         * undo_funcs.C (textHandleUndo): set the next() and previous()
8187         pointers of the paragraph to 0 before deleting otherwise we have
8188         problems with the Paragraph::[destructor].
8189
8190         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
8191         on a paragraph insertion.
8192
8193 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8194
8195         * buffer.C (asciiParagraph): use += operator for char append to
8196         string.
8197
8198         * paragraph.C (getFontSettings): compare >= not just >
8199         (highestFontInRange): ditto
8200         (setFont): ditto
8201
8202 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8203
8204         * paragraph.C: change several algorithm to be more appripriate for
8205         the problem domain. This is lookip in FontList and in the InsetList.
8206
8207 2002-03-13  André Pönitz <poenitz@gmx.net>
8208
8209         * commandtags.h:
8210         * LyXAction.C: remove unused LFUN_MATH_MACROARG
8211
8212 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
8213
8214         * commandtags.h:
8215         * LyXAction.C:
8216         * lyxfunc.C:
8217         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
8218
8219 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8220
8221         * Painter.C (display): anon helper function, adjust code for this
8222         change.
8223         (pixmap): remove function.
8224
8225         * Painter.h: remove private display variable.
8226
8227         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
8228
8229 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
8230
8231         * WorkArea.[Ch]: remove figinset_canvas cruft.
8232
8233 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8234
8235         * lyxtextclass.C (operator): add one item cache optimization.
8236
8237         * bufferlist.h: doxy changes
8238
8239         * bufferlist.C: ws changes
8240
8241         * DepTable.[Ch] (ext_exist): place const in the right spot.
8242
8243         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
8244         call resizeInsets.
8245         (workAreaExpose): call resizeInsets when the with BufferView changes.
8246         (Dispatch): adjust for protectedBlank removal
8247         (specialChar): call updateInset if the insert went ok.
8248
8249         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
8250         specialChar instead.
8251
8252         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
8253
8254         * BufferView.h: doxy change
8255
8256         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
8257
8258         * lyxtextclass.C (operator[]): remove non-const version
8259         (defaultLayout): remove non-const version
8260
8261 2002-03-12  Juergen Vigna  <jug@sad.it>
8262
8263         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
8264         did resize the LyXText too.
8265
8266         * buffer.C (readLyXformat2): set layout information on newly allocated
8267         paragraphs.
8268
8269         * tabular.C (OldFormatRead): set layout information on the paragraph.
8270
8271 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8272
8273         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
8274
8275 2002-03-11  Juergen Vigna  <jug@sad.it>
8276
8277         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
8278         plainly wrong.
8279         (resizeCurrentBuffer): force also the insets to resize themselfes.
8280         (moveCursorUpdate): fixed up for InsetText.
8281
8282 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
8283
8284         * commandtags.h:
8285         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
8286         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
8287         value of Dialogs::tooltipsEnabled().
8288         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
8289
8290 2002-03-08  Juergen Vigna  <jug@sad.it>
8291
8292         * BufferView_pimpl.C (updateInset): update inset inside inset also
8293         if it isn't inside theLockingInset().
8294
8295 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8296
8297         * buffer.C (asciiParagraph): redo some of the word and line length
8298         handling.
8299         (getLists): look for Caption instead of caption.
8300
8301 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8302
8303         * buffer.C (Buffer): initialize niceFile to true
8304         (makeLaTeXFile):
8305         (makeLinuxDocFile):
8306         (makeDocBookFile): make sure niceFile is true on exit
8307
8308 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8309
8310         * buffer.C (makeLaTeXFile): escape ~ in \input@path
8311
8312 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
8313
8314         * LyXSendto.C: remove.
8315         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
8316         * lyx_gui.C: remove now-redundant comment.
8317         * ColorHandler.h: remove forward declaration of class WorkArea.
8318         * lyxfunc.C: remove #include "WorkArea.h".
8319
8320 2002-03-07  Juergen Vigna  <jug@sad.it>
8321
8322         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
8323         got moved away with the DEPM and also set the inset_owner always
8324         right which before could have been omitted.
8325
8326 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8327
8328         * buffer.C (parseSingleLyXformat2Token): use default layout is the
8329         wanted layout is not found.
8330
8331 2002-03-07  Juergen Vigna  <jug@sad.it>
8332
8333         * CutAndPaste.C (cutSelection): another layout settings forgotten.
8334
8335 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8336
8337         * paragraph.C (breakParagraph): use default layout not layout of
8338         prev paragraph.
8339         (Paragraph): clear ParagraphParameters.
8340
8341 2002-03-06  Juergen Vigna  <jug@sad.it>
8342
8343         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
8344         otherwise it would not be a valid lenght. Fixed a special case in
8345         the minipage compatibility read where we end the document with a
8346         minipage.
8347
8348         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
8349         was set as it could be 0 for InsetTexts first entry.
8350
8351 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8352
8353         * paragraph.C (writeFile): if layout is empty write out
8354         defaultLayoutName().
8355
8356         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
8357         file without named layout we set layout to defaultLayoutName().
8358
8359 2002-03-06  Juergen Vigna  <jug@sad.it>
8360
8361         * CutAndPaste.C (copySelection): set layout for new paragraph.
8362
8363         * text.C (prepareToPrint): leave ERT inset left aligned
8364         (leftMargin): don't indent paragraphs inside ERT insets
8365
8366 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8367
8368         * paragraph.C (breakParagraph): dont call clear do the work manually
8369
8370         * paragraph.[Ch] (clear): remove function
8371
8372 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8373
8374         * paragraph.C (Paragraph): dont call clear, the work has already
8375         been done.
8376
8377         * lyxtextclass.C (operator): assert if n is empty
8378
8379         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
8380         work manually instead.
8381
8382 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8383
8384         * BufferView_pimpl.C: protect selectionLost against text == 0
8385
8386 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8387
8388         * text.C (breakParagraph): fix a setting layout to '0' problem.
8389
8390 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8391
8392         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
8393         final location of file, for the included files, and graphics.
8394
8395 2002-03-05  Juergen Vigna  <jug@sad.it>
8396
8397         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
8398
8399 2002-03-04  Juergen Vigna  <jug@sad.it>
8400
8401         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
8402
8403         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
8404         last column of multicolumn cells.
8405         (SetWidthOfMulticolCell): recalculate NMC and real columns.
8406
8407 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
8408
8409         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
8410         file if it doesn't go to a temporary file.
8411
8412         * buffer.C (sgmlOpenTag):
8413         (sgmlCloseTag):  remove extra newline insertion.
8414
8415 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8416
8417         * text.C (getRowNearY): comment out debug msg
8418
8419 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8420
8421         * text2.C: first -> first_y
8422
8423         * text.C (getRowNearY): add some attemts at a possible
8424         optimization, not working.
8425
8426         * tabular.[Ch]: add BufferParams to several function so that newly
8427         created paragraph can be initialized to he default layotu for the
8428         buffers textclass.
8429
8430         * tabular-old.C (ReadOld): add buf->params to call of Init
8431
8432         * screen.C: rename text->first to text->first_y
8433
8434         * paragraph.C (breakParagraph): always set layout in the broken
8435         paragraph
8436
8437         * lyxtextclass.C (Read): remove lowercase
8438         (hasLayout): ditto
8439         (operator): ditto
8440         (delete_layout): ditto
8441
8442         * lyxtext.h: rename first -> first_y
8443
8444         * lyxlayout.C (Read): remove lowercase
8445         (name): ditto
8446         (setName): ditto
8447         (obsoleted_by): ditto
8448
8449         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
8450
8451         * buffer.C (insertErtContents): add params are to InsetERT
8452         (parseSingleLyXformat2Token): add code to check if a paragraphs
8453         layout really exist.
8454         (parseSingleLyXformat2Token): add params to several inset
8455         constructors
8456         (asciiParagraph): remove lowercase, do the layout comparisons with
8457         no_case
8458
8459         * BufferView_pimpl.C (cursorNext): first -> first_y
8460         (resizeCurrentBuffer): first -> first_y
8461         (updateScrollbar): first -> first_y
8462         (scrollCB): first -> first_y
8463         (workAreaMotionNotify): first -> first_y
8464         (workAreaButtonPress): first -> first_y
8465         (checkInsetHit): first -> first_y
8466         (cursorPrevious): first -> first_y
8467         (cursorNext): first -> first_y
8468         (Dispatch): add buffer_->params to severl inset contructors
8469
8470 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8471
8472         * lyxlayout.C (Read): remove some debug info that I forgot.
8473
8474         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
8475         clean up the code slightly.
8476         (makeLinuxDocFile): ditto
8477         (makeDocBookFile): ditto
8478
8479         * text2.C: layout as string
8480
8481         * text.C: layout as string
8482
8483         * paragraph_pimpl.C: layout as string
8484
8485         * paragraph.[Ch]: layout as string
8486
8487         * lyxtextclasslist.[Ch]: layout as string
8488
8489         * lyxtextclass.[Ch]: layout as string
8490
8491         * lyxtext.h: layout as string
8492
8493         * lyxlayout.[Ch]: layout as string
8494
8495         * lyx_cb.C: layout as string
8496
8497         * bufferview_funcs.C: layout as string
8498
8499         * bufferparams.C: layout as string
8500
8501         * buffer.C: layout as string
8502
8503         * LyXView.[Ch]: layout as string
8504
8505         * LaTeXFeatures.[Ch]: layout as string
8506
8507         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
8508
8509         * BufferView_pimpl.C: change current_layout to string, remove
8510         lyx::layout_type.
8511         (Dispatch):
8512         (smartQuote):
8513         (insertInset):
8514         (workAreaButtonRelease): layout as string
8515
8516         * BufferView2.C (unlockInset): adjust
8517
8518         * vspace.C (asLatexCommand): use an explict temp variable.
8519
8520 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
8521
8522         * Makefile.am: use FRONTEND_*
8523
8524 2002-03-01  Juergen Vigna  <jug@sad.it>
8525
8526         * tabular.C (SetWidthOfMulticolCell): changed to something better
8527         I hope but still work in progress.
8528         (recalculateMulticolumnsOfColumn): renamed function from
8529         recalculateMulticolCells as it is more appropriate now.
8530         (SetWidthOfCell): calculate multicols better.
8531
8532 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8533
8534         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8535
8536         * lyxfunc.C (processKeySym): print sequence also if it is
8537         `deleted' (complete)
8538
8539         * kbsequence.C (print): print sequence even if it is deleted
8540         (complete would be a better word, actually).
8541
8542         * lyxfunc.C (dispatch): print complete options after a prefix key
8543
8544         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8545
8546 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8547
8548         * text2.C (setCharFont): eliminate setCharFont code duplication.
8549
8550 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8551
8552         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8553         LFUN_TABULAR_FEATURE (bug #177)
8554
8555 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8556
8557         * Makefile.am: remove figure.h
8558
8559 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8560
8561         * Bufferview_pimpl.C:
8562         * CutAndPasteC:
8563         * LaTeX.C:
8564         * LyXSendto.C:
8565         * buffer.C:
8566         * bufferlist.C:
8567         * converter.C:
8568         * language.C:
8569         * lyxfunc.C:
8570         * lyxvc.C:
8571         * paragraph.C:
8572         * text.C:
8573         * text2.C: remove #include "lyx_gui_misc.h".
8574
8575         * LaTeX.C: added #include <cstdio>
8576
8577 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8578
8579         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8580         that the paragraph following this one can have.
8581
8582         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8583
8584         * vspace.C (asLatexCommand): fix bogus gcc warning
8585
8586         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8587
8588 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8589
8590         * text2.C (setLayout): get rid of redundant code
8591
8592 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8593
8594         * text2.C (incDepth): make sure depth cannot be increased beyond
8595         reasonable values.
8596
8597 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8598
8599         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8600         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8601
8602         * PainterBase.h (image):
8603         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8604         a LyXImage const *.
8605
8606 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8607
8608         * BufferView.C:
8609         * BufferView.h:
8610         * BufferView_pimpl.C:
8611         * BufferView_pimpl.h:
8612         * LaTeXFeatures.C:
8613         * LyXAction.C:
8614         * LyXView.C:
8615         * Makefile.am:
8616         * UpdateList.h:
8617         * UpdateList.C:
8618         * buffer.C:
8619         * figure.h:
8620         * figureForm.C:
8621         * figureForm.h:
8622         * figure_form.C:
8623         * figure_form.h:
8624         * lyx_cb.C:
8625         * lyx_gui.C:
8626         * lyx_gui_misc.C:
8627         * lyxfunc.C:
8628         * sp_base.h:
8629         * sp_ispell.h:
8630         * sp_pspell.h:
8631         * sp_spell.C: remove fig inset, and the crap house of
8632           cards that follows it
8633
8634 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8635
8636         * Makefile.am:
8637         * lyxserver.C:
8638         * os2_defines.h:
8639         * os2_errortable.h:
8640         * nt_defines.h: move .h into support/
8641
8642         * vms_defines.h: remove
8643
8644         * WorkArea.C: add space in debug output
8645
8646         * text2.C:
8647         * paragraph.C:
8648         * buffer.C: add WITH_WARNINGS
8649
8650         * vc-backend.h:
8651         * vc-backend.C:
8652         * bufferlist.C: s/retrive/retrieve/, add docs
8653
8654         * vspace.h:
8655         * vspace.C:
8656         * kbmap.h:
8657         * lyxlength.h:
8658         * lyxgluelength.h:
8659         * length_common.h:
8660         * chset.h:
8661         * chset.C: add docs
8662
8663         * lyxgui.C: add ID to X error handler
8664
8665         * lyxtestclass.c: fix typo
8666
8667 2002-02-26  Juergen Vigna  <jug@sad.it>
8668
8669         * tabular_funcs.C (write_attribute): changed so that some default
8670         attributes are not written at all.
8671         (getTokenValue): set default values before trying to read the
8672         value so we have the return value always set as default if we don't
8673         find the token we search for.
8674
8675         * tabular.C (Write): write bools as bools not as strings!
8676
8677 2002-02-22  Juergen Vigna  <jug@sad.it>
8678
8679         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8680         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8681
8682         * text.C (leftMargin): don't add an indent for paragraphs inside
8683         tabular cells (fix #208).
8684
8685 2002-02-21  José Matos  <jamatos@fep.up.pt>
8686
8687         * tabular.C (docBook): fixed support for long tables.
8688
8689 2002-02-20  Juergen Vigna  <jug@sad.it>
8690
8691         * text2.C (getFont): get the drawing font of the Inset if this
8692         paragraph is inside an inset (only important for InsetERT for now).
8693
8694         * buffer.C (insertErtContents): use new lanugage params in ERT
8695         constructor.
8696
8697         * CutAndPaste.C: commenting out seemingly uneeded code.
8698
8699 2002-02-19  Allan Rae  <rae@lyx.org>
8700
8701         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8702         Iterators might be simple to use but they also get invalidated.
8703         (removeAutoInsets): renamed saved cursor tracking variables and added
8704         some comments to clarify what everything does.
8705
8706 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8707
8708         * Chktex.C:
8709         * LaTeX.C:
8710         * LyXSendto.C:
8711         * converter.C:
8712         * lyx_cb.C:
8713         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8714         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8715
8716         * lyxfunc.C:
8717         * vc-backend.h: remove #include "support/syscall.h"
8718
8719         * LaTeX.C:
8720         * LyXSendto.C:
8721         * converter.C: rearrange #includes in Lars' approved fashion.
8722
8723         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8724         forward declare class Timeout in the header file.
8725
8726         * XFormsView.C: changes due to the above.
8727
8728         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8729         similar to LyXView.
8730
8731         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8732         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8733
8734 2002-02-18  José Matos  <jamatos@fep.up.pt>
8735
8736         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8737         insets contents.
8738
8739 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8740
8741         * a lot of small ws changes
8742         * add a lot of using std::XXX
8743         * use std construcs some places where approp.
8744         * use some exisint stuff from lyxfunctional where approp.
8745         * Make file changes to use partial linking (lets test this now...)
8746
8747 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8748
8749         * Chktex.C:
8750         * buffer.C:
8751         remove #include "support/syscontr.h" as it's redundant. Always has been.
8752
8753         * Chktex.C:
8754         * LaTeX.C:
8755         * LyXSendto.C:
8756         * converter.C:
8757         * lyx_cb.C:
8758         * vc-backend.C:
8759         change Systemcalls::System to Systemcalls::Wait and
8760         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8761         No change of functionality, just reflects the stripped down Systemcalls
8762         class.
8763
8764 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8765
8766         * debug.[Ch]: add a GRAPHICS type to the enum.
8767
8768 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8769
8770         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8771
8772         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8773         there is an inset.
8774
8775 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8776
8777         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8778         match the changes below.
8779
8780         * text2.C (toggleInset): if there is not editable inset at cursor
8781         position, try to see if cursor is _inside_ a collapsable inset
8782         and close it.
8783
8784 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8785
8786         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8787         document menu has a nice checkbox
8788
8789 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8790
8791         * lyxlength.C (asLatexString): change PW to output as percent of
8792         \textwidth.
8793
8794         * lengthcommon.C: change '%' to 't%'
8795
8796         * lyxfunc.C (dispatch): a few comments from Martin
8797
8798 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8799
8800         * WorkArea.h:
8801         * WorkArea.C:
8802         * BufferView_pimpl.h:
8803         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8804           the X selection.
8805
8806 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8807
8808         * vspace.C (inPixels): fix compiler warning
8809
8810 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8811
8812         * lyxfunc.C (getStatus): fix status message for disabled commands.
8813
8814 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8815
8816         * BufferView_pimpl.C: fix crash on close buffer
8817         during selection (#227)
8818
8819 2002-01-27  Herbert Voss  <voss@lyx.org>
8820
8821         * buffer.C: link old Figure to new graphic inset
8822
8823 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8824
8825         * FontLoader.C (getFontinfo): Change the latex font names in order
8826         to match the names of type1inst.
8827
8828 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8829
8830         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8831
8832         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8833         (extchanged): ditto
8834         (ext_exist): ditto
8835         (remove_files_with_extension): ditto
8836         (remove_file): ditto
8837         (write): ditto
8838
8839         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8840         document is smaller than the work area height. Do not initialize
8841         static variables to 0.
8842
8843 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8844
8845         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8846
8847         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8848         LFUN_LAYOUT_PARAGRAPHS.
8849
8850         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8851         tabular. It is possible to provide a possible cell, which will
8852         typically be the actcell from the corresponding insettabular
8853
8854         * lyxfunc.C (getStatus): small cleanup; disable
8855         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8856         true
8857
8858 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8859
8860         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8861
8862         * paragraph.C (startTeXParParams):
8863         (endTeXParParams): new methods. The LaTeX code to
8864         start/end paragraph formatting
8865         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8866         empty (fixes bug #200)
8867
8868         * vspace.C (inPixels): adapt to the change below
8869         (inPixels): [later] more cleanups (remove unused variables)
8870
8871         * lyxlength.C (inPixels): change to use a width and a height as
8872         parameter.
8873
8874 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8875
8876         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8877         Replaced with \paperwidth
8878
8879         * DepTable.C (insert): add std:: qualifier
8880
8881 2002-01-18  Allan Rae  <rae@lyx.org>
8882
8883         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8884         updated also?
8885
8886         * text.C (drawInset): Turned out I didn't know enough about how
8887         rebreaking worked.  This fixes most of the redraw problems.  I see
8888         an occasional cursor trail when a line is broken now and the cursor
8889         placement can seem out by a few pixels also after a rebreak.
8890
8891 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8892
8893         * buffer.C (parseSingleLyXformat2Token): update because minipage
8894         width is now a LyXLength
8895
8896         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8897
8898         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8899         math insets
8900
8901 2002-01-17  Juergen Vigna  <jug@sad.it>
8902
8903         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8904
8905         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8906         is set correctly and the inset is updated correctly.
8907
8908 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8909
8910         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8911         the beginning of the loop.
8912
8913 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8914
8915         * lyxrc.C: improve help for use_scalable_fonts
8916
8917 2002-01-17  Allan Rae  <rae@lyx.org>
8918
8919         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8920
8921 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8922
8923         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8924         make sure to set their inset_owner to the right value (bug #171)
8925
8926 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8927
8928         * DepTable.h
8929         * DepTable.C: Implement mtime checking to reduce time spent doing
8930         CRCs.
8931
8932 2002-01-16  Juergen Vigna  <jug@sad.it>
8933
8934         * tabular.C (GetAdditionalHeight): one of error fixed.
8935
8936         * lyxrc.C (output): small fix in writing use_pspell.
8937
8938 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8939
8940         * sp_base.h: #include LString.h
8941
8942 2002-01-16  Allan Rae  <rae@lyx.org>
8943
8944         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8945         Can someone check this please?
8946
8947         * text.C (drawInset): It was possible that p.row would be removed by
8948         breakAgainOneRow upsetting a few other settings.  There may be another
8949         small tweak possible by setting need_break_row = 0 when p.row has been
8950         removed but I don't know enough about the logic here.
8951
8952 2002-01-15  Allan Rae  <rae@lyx.org>
8953
8954         * text.C (insertChar): removed conditional truism.
8955
8956         * BufferView2.C (removeAutoInsets): More tweaks.
8957         cur_par_prev could be a stray pointer.  Check for trailing empty line
8958         in case last line was cur_par and only had an error inset on it.
8959
8960 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8961
8962         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8963         absolute
8964
8965         * vc-backend.C (most methods):
8966         * exporter.C (Export):
8967         * converter.C (convert):
8968         (runLaTeX):
8969         * LyXSendto.C (SendtoApplyCB):
8970         * lyxfunc.C (dispatch):
8971         (menuNew):
8972         (open):
8973         (doImport):
8974         * lyx_cb.C (AutoSave):
8975         (InsertAsciiFile):
8976         * BufferView_pimpl.C (MenuInsertLyXFile):
8977         * buffer.C (runChktex): use Buffer::filePath().
8978
8979         * buffer.h: rename filename to filename_; rename filepath to
8980         filepath_ and make it private
8981         (filePath): new method
8982
8983         * buffer.C (writeFile): use fileName()
8984         (getLatexName):
8985
8986         * lyx_main.C (init): fix starting  of LyX when the binary is a
8987         link from so,ewhere else.
8988
8989         * minibuffer.C: include <cctype> for isprint
8990
8991 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8992
8993         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8994         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8995         name clash with InsetCollapsable's width function.
8996
8997 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8998
8999         * lastfiles.C: include <iterator>
9000
9001 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9002
9003         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
9004         std::count.
9005
9006         * buffer.C (makeLaTeXFile): ditto.
9007         Also make loop operation more transparent.
9008
9009 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
9010
9011         * ToolbarDefaults.C: remove trailing comma closing namespace.
9012
9013         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
9014
9015         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
9016         as in WorkArea.
9017
9018         * trans.C (Load): comment out unused variable, allowed.
9019
9020 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9021
9022         * minibuffer.[Ch] (append_char): new method to recieve input from the
9023         drop-down completion browser. If a key was pressed, then recieve this
9024         char and append it to the existing string.
9025         (peek_event): modify the positioning data passed to the completion
9026         browser so that it can be placed above the minibuffer rather than below.
9027 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9028
9029         * LyXAction.C (init): alloe error-next for readonly documents.
9030
9031         * BufferView2.C (ChangeRefsIfUnique): use standard version of
9032         count.
9033
9034 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9035
9036         * bufferlist.C (readFile): create the buffer _after_ checking that
9037         the file exists.
9038
9039         * lyxfunc.C (verboseDispatch): fix handling of arguments
9040
9041         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
9042
9043         * lyxrc.C: use string::erase() instead of initializing to "".
9044
9045
9046 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9047
9048         * BufferView_pimpl.h:
9049         * BufferView_pimpl.C:
9050         * WorkArea.h:
9051         * WorkArea.C:
9052         * text2.C: tell X when we have made a selection for copying
9053
9054 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9055
9056         * BufferView_pimpl.C (MenuInsertLyXFile):
9057         * lyxfunc.C (menuNew):
9058         (open):
9059         (doImport): add shortcuts to directory buttons
9060
9061         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
9062         open a float)
9063
9064         * lyxfunc.C (setStatusMessage):
9065         (getStatusMessage): new methods
9066         (getStatus):use setStatusMessage instead of setErrorMessage
9067         (dispatch): when function is disabled, set error message here
9068         [instead of in getStatus previously]
9069
9070         * BufferView_pimpl.C (workAreaButtonRelease): update
9071         toolbar/menubar here too.
9072
9073 2002-01-13  Allan Rae  <rae@lyx.org>
9074
9075         * BufferView2.C (removeAutoInsets): finished off earlier fix.
9076         Now seems indestructible.  Remaining task is to audit all other
9077         code affected by deleteEmptyParagraphMechanism.  One small quirk
9078         left is that an empty document with an error in the preamble can
9079         be made to report an error but no error box appears.  I don't know
9080         where it goes.
9081         (removeAutoInsets): Improved comments.
9082
9083 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
9084
9085         * Thesaurus.h:
9086         * Thesaurus.C: update for Aiksaurus 0.14
9087
9088 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9089
9090         * text2.C (firstParagraph): removed member function, all uses
9091         replaces with ownerParagraph
9092         (redoParagraphs): here
9093         (updateInset): here
9094         (toggleAppendix): here
9095         * BufferView2.C (insertErrors): here
9096         (setCursorFromRow): here
9097
9098 2002-01-13  Allan Rae  <rae@lyx.org>
9099
9100         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
9101         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
9102         There is still a way to segfault this although you may have to do this
9103         multiple times: Have an InsetERT with an unknown command in it.
9104         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
9105         <down-arrow>, <Enter> again, View->DVI, BANG!
9106
9107         * text2.C (setCursor):
9108         (deleteEmptyParagraphMechanism):
9109         * lyxtext.h (setCursor):
9110         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
9111         Making use of the return value may help fix other bugs.
9112
9113 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9114
9115         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
9116
9117         * LyXView.C (updateMenubar): call MenuBar::update here
9118         (updateToolbar): but not here
9119         (showState): do not update toolbar/menubar
9120
9121         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
9122         should need to care about that.
9123
9124         * lyxfunc.C (verboseDispatch): simplify a bit
9125         (getStatus): have a version which takes a pseudoaction, and
9126         another which requires a (kb_action,string).
9127
9128         * LyXAction.C (retrieveActionArg): make it work also when action
9129         is not a pseudo-action.
9130         (getActionName): simplify a bit
9131         (helpText):
9132
9133 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9134
9135         * lyxfunc.C (verboseDispatch): new families of methods with
9136         several ways to specify a command and a bool to indicate whether
9137         the command name and shortcut should be displayed in minibuffer
9138         (eventually, we could extend that to a finer bitmask like
9139         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
9140         (dispatch): the pristine dispatch command which just, well,
9141         dispatchs! Note it still sets its result to minibuffer; I'm not
9142         sure we want that.
9143
9144         * lyxfunc.h: remove setHintMessage
9145
9146         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
9147
9148 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9149
9150         * BufferView_pimpl.C (specialChar): delete new inset if we have
9151         not been able to insert it.
9152
9153         * kbmap.C: revert to using int instead of kb_action, since all we
9154         are dealing with is pseudo-actions.
9155
9156         * LyXAction.C (searchActionArg): change to return int instead of
9157         kb_action, since the result is a pseudoaction.
9158
9159 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
9160
9161         * buffer.C (insertErtContents): Fix (partially) the font bug.
9162
9163 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
9164
9165         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
9166         as the other one is broken on my machine!
9167
9168 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
9169
9170         * commandtags.h:
9171         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
9172
9173 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
9174
9175         * lyxrc.[Ch]: change names and descriptions of popup font variables to
9176         reflect their actual use. Provide compatibility code for older lyxrc
9177         files.
9178
9179         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
9180         FL_NORMAL_STYLE.
9181         change names of popup font variables in line with the changes to lyxrc.C
9182
9183 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9184
9185         * buffer.C (asciiParagraph): avoid outputing a word twice after
9186         an inset.
9187
9188         * lyxrc.C (getDescription): document that document_path and
9189         template_path can be empty.
9190
9191 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9192
9193         * LaTeXFeatures.C (getMacros):
9194         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
9195
9196         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
9197
9198         * LaTeXFeatures.C (useFloat): require "float" here instead of in
9199         getPackages.
9200         (getPackages): rename feature "floats" to "float". Use an array to
9201         iterate over 'simple' features (i.e. just a \usepackage). Add
9202         handling of "amsmath" (renamed from "amsstyle").
9203
9204 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
9205
9206         * LaTeXFeatures.C (require): Prevent duplicate entries in the
9207         features list.
9208
9209 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
9210
9211         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
9212         FuncStaus::FuncStatus & FuncStaus::some_method().
9213
9214 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
9215
9216         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
9217         of the func_satus stuff. Edited and massaged in various ways by
9218         JMarc.
9219
9220         * lyxfunc.C (getStatus): use FuncStatus
9221
9222 2002-01-08  Juergen Vigna  <jug@sad.it>
9223
9224         * text.C (nextBreakPoint): use function Inset::isChar().
9225
9226         * paragraph.C (TeXOnePar): use function
9227         Inset::forceDefaultParagraphs.
9228
9229         * buffer.C (latexParagraphs): use function
9230         Inset::forceDefaultParagraphs.
9231
9232 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9233
9234         * lyx_gui.C (init): set the style of the menu popups to
9235         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
9236
9237 2002-01-07  Juergen Vigna  <jug@sad.it>
9238
9239         * text.C (setHeightOfRow): small fix
9240         (prepareToPrint): don't look at alignment if we don't have the place
9241         for doing it.
9242
9243 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9244
9245         * box.C: New file. Move the Box methods and functions out of box.h,
9246         following Lars' suggestion.
9247
9248 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
9249
9250         * box.h: #include "support/LOstream.h", needed for inlined function.
9251
9252         * lyxtextclass.C:
9253         * lyxtextclasslist.C: added some using std declarations.
9254
9255 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
9256
9257         * box.h: make signed dimensions to allow insets wider than
9258           the screen (bug #162)
9259
9260         * BufferView_pimpl.C: add some insetHit debug
9261
9262 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9263
9264         * vc-backend.C: add FIXME
9265
9266 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9267
9268         * lyxfunc.C (getStatus): enable code for showing math font status
9269         in toolbar/menu.
9270
9271 2002-01-07  Juergen Vigna  <jug@sad.it>
9272
9273         * text.C (nextBreakPoint): removed debug output not needed anymore.
9274
9275 2002-01-06  Juergen Vigna  <jug@sad.it>
9276
9277         * text.C (nextBreakPoint): fixed up this function we had this bug
9278         since ever but now hopefully we break row better.
9279         (insertChar): we have to check if an inset is the next char as it
9280         could now happen that a large inset is causing a break.
9281
9282 2002-01-05  Juergen Vigna  <jug@sad.it>
9283
9284         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
9285         if it doesn't like to be drawed.
9286
9287 2002-01-04  Juergen Vigna  <jug@sad.it>
9288
9289         * BufferView2.C (lockInset): forgot to set a cursor.
9290
9291         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
9292
9293 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
9294
9295         * FormMathsPanel.C:
9296         * FormMathsPanel.h
9297         * MathsSymbols.C:
9298         * form_maths_panel.C:
9299         * form_maths_panel.h:
9300         * form_maths_panel.fd: implemented sub- and super- buttons in math
9301         panel.
9302
9303         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
9304         (or ^ space) to be used as in TeX (req'd by André).
9305
9306         * lyxfunc.C: Allow ^ and _ again to be used both as
9307         super/subscript (mathed) and as themselves (in text).
9308
9309 2002-01-03  Allan Rae  <rae@lyx.org>
9310
9311         * LyXView.C (updateWindowTitle): Setup a short icon title of either
9312         "LyX" or the filename of the current buffer if it has one.  This is a
9313         modified form of John Levon's patch.
9314
9315         * XFormsView.C (setWindowTitle): also set icon title.
9316
9317         * LyXView.h (setWindowTitle): signature changed.
9318         * XFormsView.h (setWindowTitle): ditto.
9319
9320 2002-01-02  Juergen Vigna  <jug@sad.it>
9321
9322         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
9323
9324 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9325
9326         * screen.C (topCursorVisible): introduce a temp var for
9327         text->cursor.row(), handle the case where this row is null. (kindo
9328         hachish)
9329
9330         * text2.C (setCursor): add a couple of asserts.
9331
9332         * paragraph.h (inset_iterator): add -> operator
9333
9334         * paragraph.[Ch] (autoDeleteInsets): remove member function
9335
9336         * BufferView2.C (removeAutoInsets): rewrite to handle the old
9337         cursor pos correctly and handle inset deletion by itself.
9338         (insertErrors): move iterator declaration out of for expression
9339
9340         * lyxtextclass.C: add <algorithm>
9341
9342         * Makefile.am: added the new files to sources, removed layout.C
9343
9344         * layout.C: removed file
9345
9346         * layout.h: remove LYX_DUMMY_LAYOUT
9347
9348         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
9349         layout.
9350
9351         * lyxlayout.[Ch]:
9352         * lyxtextclass.[Ch]:
9353         * lyxtextclasslist.[Ch]: new files
9354
9355         * include order changes to a lot of files, also changes because of
9356         the six new files.
9357
9358 2001-12-27  Juergen Vigna  <jug@sad.it>
9359
9360         * buffer.C (asciiParagraph): more fixes.
9361
9362         * tabular.C (ascii): make ascii export support export of only the
9363         data separated by a column-delimiter.
9364         (ascii): better support for ascii export.
9365
9366         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
9367
9368 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9369
9370         * tabular_funcs.C: use a "using std::getline" instead of the
9371         previous fix from Angus (necessary for cxx + lyxstring)
9372
9373 2001-12-24  Juergen Vigna  <jug@sad.it>
9374
9375         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
9376
9377         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
9378         problems. First check a minipage also if we have some ert-contents
9379         (not only on par->size(), second set the right depth of the paragraph
9380         on the relink to the root-paragraph-list!
9381
9382         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
9383         which then did not anymore update the main paragraphs on undo/redo!
9384
9385 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9386
9387         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
9388         code. Support all font-changing funcs (even those which are not in
9389         menu currently). Support for reporting font settings in
9390         mathed (disabled until Andre provides a function on mathed's side).
9391
9392         * func_status.h (toggle): small helper function to set toggle
9393         state on a flag.
9394
9395 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
9396
9397         * tabular_funcs.C: getline -> std::getline
9398
9399 2001-12-21  Juergen Vigna  <jug@sad.it>
9400
9401         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
9402         accessed and could be 0 (I couldn't generate this but it seems
9403         Michael could!).
9404
9405 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9406
9407         * tabular_funcs.C: add LIstream.h, move write_attribute to..
9408         * tabular_funcs.h: here and include iosfwd
9409
9410 2001-12-20  Juergen Vigna  <jug@sad.it>
9411
9412         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
9413         inside inset but undo_par was.
9414
9415 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9416
9417         * Thesaurus.C: always include <config.h> in sources.
9418
9419         * Painter.h:
9420         * lyxlookup.h:
9421         * box.h: do not include <config.h> in header files
9422
9423         * text.C (paintLastRow): remove unused variable
9424
9425         * text.C (transformChar):
9426         (insertChar):
9427         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
9428
9429         * Painter.C (text):
9430         * font.C (width): rewrite to use uppercase() instead of
9431         islower/toupper.
9432
9433         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
9434
9435 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
9436
9437         * lyxfind.C: clean up of find failure position change
9438
9439 2001-12-20  Juergen Vigna  <jug@sad.it>
9440
9441         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
9442
9443         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
9444         (TeXRow): added to LaTeX a single tabular row.
9445         (TeXLongtableHeaderFooter): added to output LT-h/f data.
9446         (Latex): simplified and finally good LT-h/f support.
9447         (various_functions): just small adaptions for LT-h/f support.
9448
9449         * tabular_funcs.[hC]: added and moved here all not classfunctions
9450         of LyXTabular.
9451
9452 2001-12-19  Juergen Vigna  <jug@sad.it>
9453
9454         * tabular.[Ch]: better support for longtabular options (not finished
9455         yet!)
9456
9457 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9458
9459         * text.C (paintLastRow): use the label font instead of the font of
9460         the last character to compute the size of *_BOX. This makes more
9461         sense and avoids a crash with empty paragraphs.
9462         Use Painter::rectangle to draw EMPTY_BOX.
9463
9464 2001-12-19  Juergen Vigna  <jug@sad.it>
9465
9466         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
9467         the paragraphs if the replaced paragraph is not the first one!
9468         Tried to delete not used paragraphs but does not work yet so for
9469         now it's inside #ifdef's and by default off!
9470
9471 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9472
9473         * MenuBackend.C: include "lyx_main.h" instead of declaring
9474         lastfiles (actually was declared as LastFiles* instead of a
9475         scoped_ptr).
9476
9477 2001-12-17  Juergen Vigna  <jug@sad.it>
9478
9479         * tabular.C (AppendColumn): applied John's fix
9480
9481 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
9482
9483         * BufferView.h:
9484         * BufferView.C:
9485         * BufferView_pimpl.h:
9486         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
9487
9488         * Makefile.am:
9489         * box.h: new start of class for above
9490
9491         * lyxfunc.C: ignore space-only minibuffer dispatches.
9492           Show the command name when it doesn't exist
9493
9494         * minibuffer.C: don't add empty lines to the history
9495
9496         * minibuffer.C: add a space on dropdown completion
9497
9498 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
9499
9500         * text.C: fix line above/below drawing in insets
9501
9502 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9503
9504         * lyxlength.C (LyXLength): Initialize private variables.
9505
9506 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
9507
9508         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
9509         when inserting error insets.
9510
9511 2001-12-13  Juergen Vigna  <jug@sad.it>
9512
9513         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
9514         actually sometimes the before-paragraph.
9515         (setUndo): don't clear the redostack if we're not actually undoing!
9516
9517 2001-12-06  Juergen Vigna  <jug@sad.it>
9518
9519         * undo_funcs.C (textHandleUndo): well after John's hint I got here
9520         and fixed redoing of main paragraph, so we can use it now ;)
9521
9522         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
9523
9524 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9525
9526         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9527         Juergen's request
9528
9529 2001-12-13  André Pönitz <poenitz@gmx.net>
9530
9531         * undostack.[Ch]:
9532         * undo_func.C: minor cleanup
9533
9534 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9535
9536         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9537         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9538         font in urw-fonts package which is marked as -urw-fontspecific and
9539         does not work (incidentally, changing the encoding in the
9540         fonts.dir of this package to -adobe-fontspecific fixes the
9541         problem).
9542
9543         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9544         is a crash when undoing first paragraph (Juergen, please take a
9545         look). THis does not mean the undo fix is wrong, just that it
9546         uncovers problems.
9547
9548         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9549         the (Paragraph*) version when needed instead of duplicating the
9550         code.
9551
9552         * text.C (workWidth): use Inset::parOwner to find out where the
9553         inset has been inserted. This is a huge performance gain for large
9554         documents with lots of insets. If Inset::parOwner is not set, fall
9555         back on the brute force method
9556
9557         * paragraph_pimpl.C (insertInset):
9558         * paragraph.C (Paragraph):
9559         (cutIntoMinibuffer): set parOwner of insets when
9560         inserting/removing them
9561
9562         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9563
9564 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9565
9566         * commandtags.h:
9567         * LyXAction.C:
9568         * lyx_main.C:
9569         * lyxfunc.C:
9570         * mathed/formulabase.C:
9571         * mathed/math_cursor.[Ch]:
9572         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9573
9574
9575 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9576
9577         * lyxlength.[Ch] (operator!=): new function
9578
9579 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9580
9581         * text.C (workWidth): use Inset::parOwner to find out where the
9582         inset has been inserted. This is a huge performance gain for large
9583         documents with lots of insets. If Inset::parOwner is not set, fall
9584         back on the brute force method
9585
9586         * paragraph_pimpl.C (insertInset):
9587         * paragraph.C (Paragraph):
9588         (cutIntoMinibuffer): set parOwner of insets when
9589         inserting/removing them
9590
9591         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9592
9593 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9594
9595         * tabular-old.C (getTokenValue):
9596         * tabular.C (getTokenValue):
9597         (write_attribute): new versions for LyXLength
9598         (everywhere): adjust the use of widths
9599
9600         * tabular.h: change the type of widths from string to LyXLength
9601
9602 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9603
9604         * paragraph.C: fixed missing line number count when exporting
9605         Environments to LaTeX file
9606
9607         * buffer.C: added informational message for checking line numbers.
9608
9609 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9610
9611         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9612         paragraph, do the 'double space' part, but not the 'empty
9613         paragraph' one.
9614
9615         * text.C (workWidth): small optimization
9616         (getLengthMarkerHeight): use minimal size for negative lengths.
9617
9618 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9619
9620         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9621
9622         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9623
9624 2001-12-11  André Pönitz <poenitz@gmx.net>
9625
9626         * FontLoader.C:
9627         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9628
9629 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9630
9631         * text2.C: keep selection on a setFont()
9632
9633 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9634
9635         * lyx_cb.C: another bv->text misuse, from insert label
9636
9637 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9638
9639         * kbsequence.h:
9640         * kbsequence.C: re-instate nmodifier mask
9641
9642 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9643
9644         * lyx_main.h: make lyxGUI private.
9645
9646 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9647
9648         * lyxfind.C: place the cursor correctly on failed search
9649
9650 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9651
9652         * text.C (getLengthMarkerHeight): for small heights, the arrows
9653         are not always on top/bottom of the text
9654         (drawLengthMarker): smaller arrows; take the left margin in
9655         account; draw also vfills.
9656         (paintFirstRow):
9657         (paintLastRow): remove special code for vfill and standard spaces,
9658         since everything is handled in drawLengthMarker now.
9659
9660 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9661
9662         * buffer.C (insertErtContents): try to handle font and language
9663         interaction a bit better.g
9664
9665         * ColorHandler.C (updateColor): change the hash to cover the whole
9666         LColor enum, ws cleanup
9667         (getGCLinepars): ditto
9668         (getGCLinepars): only lookup in the linecache once.
9669
9670 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9671
9672         * iterators.C (operator++): Make the iterator more robust
9673
9674         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9675         (John's patch)
9676         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9677
9678 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9679
9680         * lyxtext.h:
9681         * text.C: better added space drawing
9682
9683 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9684
9685         * LyXView.C:
9686         * BufferView2.C: fix layout combo update on inset unlock
9687
9688 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9689
9690         * Makefile.am: don't compile unused files
9691
9692 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9693
9694         * lyxfunc.C:
9695         * commandtags.h:
9696         * LyXAction.C: remove old LFUN_LAYOUTNO
9697
9698 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9699
9700         * paragraph_pimpl.h:
9701         * paragraph_pimpl.C: isTextAt() doesn't need font param
9702
9703 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9704
9705         * lyxlex.h:
9706         * lyxlex.C: little cleanup
9707
9708 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9709
9710         * BufferView_pimpl.C: fix insertAscii for insets
9711
9712 2001-12-05  Juergen Vigna  <jug@sad.it>
9713
9714         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9715         set the right font on the "multi" paragraph paste!
9716
9717 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9718
9719         * trans_decl.h:
9720         * trans_mgr.[Ch]:
9721         * trans.[Ch]:
9722         * lyxgluelength.C:
9723         * lyxlength.C: remove out-commented code.
9724
9725         * BufferView_pimpl:
9726         * CutAndPaste.C:
9727         * DepTable.C:
9728         * buffer.C:
9729         * chset.C:
9730         * lastfiles.C:
9731         * lyxlex.C:
9732         * lyxlex_pimpl.C:
9733         * lyxserver.C:
9734         * screen.C:
9735         * tabular-old.C:
9736         * tabular.C:
9737         * text.C:
9738         * trans_mgr.C:
9739         * vc-backend.C: change "while(" to "while ("
9740
9741         * lyxlength.[Ch]: add zero function to check if length is zero or
9742         not
9743         * lyxgluelength.C: use it
9744
9745 2001-12-05  Allan Rae  <rae@lyx.org>
9746
9747         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9748         Works for 2.95.3, from what I understand of Garst's reports this should
9749         work for other g++ versions.  We're screwed if the abs(int) definition
9750         changed between bugfix releases of gcc.
9751
9752 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9753
9754         * text.C: fix chapter label offset !
9755
9756 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9757
9758         * lyxtext.h:
9759         * text.C: fix hfill at end of line, clean up
9760
9761 2001-12-04  Juergen Vigna  <jug@sad.it>
9762
9763         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9764         that we force an update of the inset and it's owners if neccessary.
9765
9766 2001-12-03  Juergen Vigna  <jug@sad.it>
9767
9768         * text.C (rowLast): simplified code
9769
9770 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9771
9772         * lyxfunc.C: fix show options on timeout
9773
9774 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9775
9776         * screen.C (topCursorVisible): scroll half a page when the cursor
9777         reached top of bottom of screen
9778
9779 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9780
9781         * minibuffer.C: deactivate on loss of focus
9782
9783 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9784
9785         * vspace.[Ch] (operator!=): add operator.
9786
9787 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9788
9789         * BufferView_pimpl.C: refuse to open an inset when
9790         there's a selection.
9791
9792 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9793
9794         * BufferView_pimpl.C: allow to click on RHS of full row insets
9795
9796 2001-11-30  Juergen Vigna  <jug@sad.it>
9797
9798         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9799         insets for undo reasons.
9800
9801 2001-11-28  André Pönitz <poenitz@gmx.net>
9802
9803         * vspace.[Ch]: cosmetical changes
9804
9805 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9806
9807         * LyXAction.h:
9808         * LyXAction.C:
9809         * lyxfunc.h:
9810         * lyxfunc.C:
9811         * kbmap.h:
9812         * kbmap.C:
9813         * lyxrc.C:
9814         * kbsequence.h:
9815         * kbsequence.C: part re-write of old kb code
9816
9817         * Painter.C:
9818         * WorkArea.C: remove Lgb_bug_find_hack
9819
9820 2001-11-30  José Matos <jamatos@fep.up.pt>
9821
9822         * buffer.C (makeDocBookFile): add a comment to point a hack.
9823         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9824         Fixed a double write of labels.
9825
9826 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9827
9828         * LaTeX.C:
9829         * LaTeX.h Fixed bug in LaTeX class where it would not
9830         re-run latex if no depfiles were changed, but the .dvi was removed.
9831
9832 2001-11-28  André Pönitz <poenitz@gmx.net>
9833
9834         * all the files from the change on 2001/11/26:
9835         use lyx::layout_type instead of LyXTextClass::size_type
9836         use lyx::textclass_type instead of LyXTextClassList::size_type
9837
9838 2001-11-29  Juergen Vigna  <jug@sad.it>
9839
9840         * text.C: added support for paragraph::isFreeSpacing()
9841
9842         * buffer.C: same as above
9843
9844         * paragraph.h: inserted isFreeSpacing() function to enable
9845         FreeSpacing inside InsetERT.
9846
9847         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9848         of the paragraph's in the cut/copy buffer to 0!
9849
9850         * text2.C (removeRow): remove the assert as it can!
9851
9852         * lyxtext.h: added helper function firstRow returning firstrow and
9853         made firstrow private again.
9854
9855         * BufferView2.C (lockInset): don't relock if we're already locked!
9856
9857         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9858         the only paragraph.
9859         (removeRow): added Assert::(firstrow)
9860
9861         * debug.C: forgot to add INSETTEXT here.
9862
9863 2001-11-28  Juergen Vigna  <jug@sad.it>
9864
9865         * sp_spell.C (initialize): changed error text to more general
9866         spellchecker command use (not only ispell!)
9867
9868         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9869
9870         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9871
9872 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9873
9874         * vspace.C: initialise lyxgluelength on failure
9875
9876 2001-11-28  Allan Rae  <rae@lyx.org>
9877
9878         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9879         declaration & definition that looks like a function declaration.
9880
9881 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9882
9883         * BufferView2.C (copy):
9884         (copyEnvironment): do not clear the selection when doing a copy.
9885
9886         * text.C (paintFirstRow): compilation fix
9887
9888 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9889
9890         * tabular.C (Latex): correct line count when writing latex.
9891
9892 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9893
9894         * paragraph_pimpl.h:
9895         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9896           bug a bit
9897
9898 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9899
9900         * text.C:
9901         * LColor.h:
9902         * LColor.C: change vfillline->added_space
9903
9904         * text.C: add markers and text for added space
9905
9906         * vspace.C: fix comment
9907
9908 2001-11-28  André Pönitz <poenitz@gmx.net>
9909
9910         * paragraph.C: whitespace changes
9911         * all the other files from the change on 2001/11/26:
9912         change *::pos_type into lyx::pos_type
9913
9914 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9915
9916         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9917         language of the document when inserting error insets.
9918
9919 2001-11-26  André Pönitz <poenitz@gmx.net>
9920
9921         * BufferView_pimpl.[Ch]:
9922         *       CutAndPaste.C:
9923         * buffer.[Ch]:
9924         * lyxcursor.[Ch]:
9925         * lyxfind.C:
9926         * lyxfunc.C:
9927         * lyxrow.[Ch]:
9928         * paragraph.[Ch]:
9929         * paragraph_pimpl.[Ch]:
9930         * sp_spell.C:
9931         * text.C:
9932         * text2.C: reduce header dependencies, introduce type for positions
9933
9934 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9935
9936         * <various>: change to use Alert.h
9937
9938 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9939
9940         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9941         when encountering an unknown token.
9942         (readLyXformat2): Show an error message if there were unknown tokens.
9943
9944 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9945
9946         * BufferView2.C:
9947         * BufferView_pimpl.C:
9948         * buffer.C:
9949         * paragraph.h:
9950         * text.C:
9951         * text2.C: use par->isInset()
9952
9953 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9954
9955         * paragraph_pimpl.h:
9956         * paragraph_pimpl.C: cleanup
9957
9958 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9959
9960         * text2.C (removeRow):
9961         * text.C (setHeightOfRow): remove useless (and costly) call to
9962         getRow.
9963
9964 2001-11-20  Allan Rae  <rae@lyx.org>
9965
9966         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9967         Now need Inset*::checkInsertChar() to return true for appropriate
9968         cases so that the characters in the minibuffer will actually be
9969         inserted.
9970
9971 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9972
9973         * text.C: change the order of the includes.
9974         (workWidth): initialize it at once.
9975         (workWidth): make maxw unsigned
9976         (setHeightOfRow): remove unused variable (inset)
9977         (selectSelectedWord): remove unused variable (inset)
9978         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9979
9980 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9981
9982         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9983         server is not running.
9984         (openConnection):
9985         (closeConnection): add debug info when server is disabled.
9986
9987         * ColorHandler.C (getGCForeground): send debug message to GUI
9988         channel.
9989
9990         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9991
9992         * kbmap.C (bind): modify because return conventions of
9993         kb_sequence::parse have changed.
9994
9995         * kbsequence.C (parse): only ignore spaces and not any stupid
9996         control character. This avoids tests like s[i] <= ' ', which are
9997         guaranteed to fail with 8bit characters and signed chars.
9998         Change return code to string::npos when there have been no error
9999         (0 was a bad idea when error is at first character)
10000
10001 2001-11-14  José Matos  <jamatos@fep.up.pt>
10002
10003         * buffer.h:
10004         * buffer.C (simpleDocBookOnePar): removed unused argument.
10005
10006 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10007
10008         * text.C (selectNextWordToSpellcheck): do not test explicitely for
10009         insets which are part of a word. Paragraph::isLetter takes care of
10010         that now. Use Paragraph::isInset to identify insets.
10011         (selectSelectedWord): do not test for hyphenation break.
10012
10013         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
10014         that protected spaces are considered as spaces.
10015
10016         * paragraph.C (isLetter): cleanup the code for ispell extras; use
10017         Inset::isLetter.
10018
10019 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
10020
10021         * lyxserver.h:
10022         * lyxserver.C: fix it. and small cleanup.
10023
10024 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10025
10026         * BufferView_pimpl.C: use inline helpers
10027
10028         * LaTeXFeatures.h:
10029         * LaTeXFeatures.C: fix typos
10030
10031         * Spacing.h:
10032         * Spacing.C: move spacing_string into class
10033
10034         * ToolbarDefaults.C: move stuff into namespace anon
10035
10036         * layout.h: update enum
10037
10038         * lyxfunc.C: use better debug
10039
10040         * minibuffer.h: fix typo
10041
10042         * debug.h:
10043         * debug.C:
10044         * WorkArea.C: add and use Debug::WORKAREA
10045
10046         * lyxtext.h:
10047         * text.C:
10048         * text2.C: code re-organisation, inline helpers
10049
10050 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
10051
10052         * Layout.C: replaced a few cases of std::vector.size() == 0 with
10053         std::vector.empty().
10054
10055 2001-11-09  Allan Rae  <rae@lyx.org>
10056
10057         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
10058         '\n's after tables.  Tabular and ERT inset work now makes this no
10059         longer necessary.
10060
10061 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
10062
10063         * minibuffer.h:
10064         * minibuffer.C: fix crash, improve drop-down completion
10065
10066 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
10067
10068         * lyxserver.h:
10069         * lyxserver.C: invalidate fd's when doing endPipe()
10070
10071 2001-11-08  José Matos  <jamatos@fep.up.pt>
10072
10073         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
10074         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
10075
10076         * paragraph.h:
10077         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
10078
10079 2001-11-07  José Matos  <jamatos@fep.up.pt>
10080
10081         * buffer.h:
10082         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
10083         const qualifier.
10084
10085         * buffer.C (sgmlOpenTag):
10086         * buffer.C (sgmlCloseTag): removed debug info.
10087
10088         * buffer.h (sgmlOpenTag):
10089         * buffer.h (sgmlCloseTag): made public.
10090
10091 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10092
10093         * buffer.C (saveParamsAsDefaults):
10094         * lyx_cb.C (MenuLayoutSave): remove
10095
10096         * LyXAction.C (init):
10097         * commandtags.h:
10098         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
10099
10100 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10101
10102         * buffer.C (setPaperStuff): removed from here...
10103
10104         * bufferparams.C (setPaperStuff): ... and moved there.
10105
10106 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * minibuffer.h:
10109         * minibuffer.C:
10110         * XFormsView.C: add support for drop-down completion
10111
10112 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
10113
10114         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
10115         commands.
10116
10117 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10118
10119         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
10120         disabled.
10121
10122 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * lyx_main.C: change ref to known bugs
10125
10126 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
10127
10128         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
10129         to work around older babel problems.
10130
10131 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10132
10133         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
10134
10135 2001-10-24  Juergen Vigna  <jug@sad.it>
10136
10137         * tabular-old.C (ReadOld): below variable changes reflected.
10138
10139         * tabular.[Ch]: added ltType struct for longtable header/footer
10140         defines and changed all instances where they are used. Added
10141         future support for double top/bottom rows.
10142
10143 2001-10-24  José Matos  <jamatos@fep.up.pt>
10144
10145         * buffer.h (docbookHandleCaption):
10146         * buffer.C (docbookHandleCaption): removed unused function.
10147         (makeDocBookFile): moved docbook supported version to v4.1.
10148
10149 2001-10-24  José Matos  <jamatos@fep.up.pt>
10150
10151         * tabular.h:
10152         * tabular.C (docbookRow): new function to export docbook code of a row.
10153         (DocBook): now honors the longtable flags.
10154
10155 2001-10-23  José Matos  <jamatos@fep.up.pt>
10156
10157         * LaTeXFeatures.h:
10158         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
10159         of the lyx defined sgml entities used in a docbook/linuxdoc document.
10160
10161         * buffer.C (makeLinuxDocFile):
10162         (makeDocBookFile): reworked the preamble, more clean, and with
10163         support for lyx defined entities. Changed the document declaration
10164         to be more XML friendly.
10165
10166         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
10167         if we need to output XML that should be done with a filter.
10168
10169 2001-10-22  Juergen Vigna  <jug@sad.it>
10170
10171         * sp_pspell.h (class PSpell): add alive function needed in the
10172         controller to see if the spellchecker could be started.
10173
10174 2001-10-22  Juergen Vigna  <jug@sad.it>
10175
10176         * buffer.C (insertStringAsLines): modify the font for inserting
10177         chars in certain conditions by calling checkInsertChar(font).
10178
10179 2001-10-19  Juergen Vigna  <jug@sad.it>
10180
10181         * text.C (workWidth): use getRow instead of wrong algorithm.
10182         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
10183
10184 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
10185
10186         * lyxserver.h:
10187         * lyxserver.C:
10188         * lyx_main.h:
10189         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
10190
10191 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10192
10193         * text.C (workWidth): do not search for the exact row when
10194         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
10195         optimization for big documents.
10196
10197 2001-10-18  Juergen Vigna  <jug@sad.it>
10198
10199         * text.C (workWidth): new function with added Inset * parameter.
10200
10201 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10202
10203         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
10204
10205         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
10206         change return type of getColumnNearX.
10207
10208
10209         * text.C (changeRegionCase): use uppercase/lowercase instead of
10210         toupper/tolower.
10211         (leftMargin):
10212         (rightMargin): simplify code by factoring out the uses of
10213         textclasslist.
10214         (labelFill):
10215         (numberOfHfills):
10216         (setHeightOfRow):
10217         (appendParagraph): use Paragraph::size_type
10218
10219 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10220
10221         * vspace.C (asLatexString): add a missing break
10222
10223 2001-10-15  Herbert Voss  <voss@perce.de>
10224
10225         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
10226
10227 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10228
10229         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
10230         is not available.
10231
10232 2001-10-10  André Pönitz <poenitz@gmx.net>
10233
10234         * lyxfunc.C: removed greek_kb_flag.
10235
10236 2001-10-10  Herbert Voss  <voss@perce.de>
10237
10238         * lyx_main.C: delete global string help_lyxdir.
10239
10240 2001-10-09  Herbert Voss  <voss@perce.de>
10241
10242         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
10243
10244         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
10245
10246         * lyx_main.C: added global string help_lyxdir.
10247
10248         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
10249
10250 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10251
10252         * lyxrc.C (set_font_norm_type): support iso8859-4
10253
10254 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
10255
10256         * LaTeX.C (deplog): add another regex for MikTeX
10257
10258 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10259
10260         * lyxrc.C (set_font_norm_type): support iso8859-3
10261
10262 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10263
10264         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
10265
10266         * LaTeXFeatures.C: remove special case of french and index
10267
10268         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
10269         before \begin{document}). This solves several incompatibilities.
10270
10271 2001-10-03  Garst Reese  <reese@isn.net>
10272
10273         * lyx_cb.C: change CheckTex error msg.
10274
10275 2001-10-03  José Matos  <jamatos@fep.up.pt>
10276
10277         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
10278
10279 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10280
10281         * .cvsignore: update
10282
10283         * lyx_main.C (commandLineVersionInfo): use new style version info.
10284
10285         * buffer.C (writeFile):
10286         (makeLaTeXFile):
10287         (makeLinuxDocFile):
10288         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
10289
10290         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
10291
10292         * version.h: update to use stuff in version.C
10293
10294         * version.C.in: new file. Contains version information determined
10295         at compile time. This is a merging of version.h and
10296         version_info.h.in.
10297
10298 2001-10-03  Juergen Vigna  <jug@sad.it>
10299
10300         * BufferView_pimpl.C (update): don't change "dirty" status in
10301         updateInset call.
10302
10303 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
10304
10305         * WorkArea.C (c-tor): re-position version string slightly.
10306
10307 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
10308
10309         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
10310         revert to previous code.
10311
10312         WorkArea.[Ch]: (show, destroySplash): methods removed.
10313
10314         WorkArea.C: rework code so that it's an amalgam of the codes before and
10315         after the splash screen was moved to WorkArea.
10316
10317 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10318
10319         * lyxrc.C (read):
10320         * vspace.C (inPixels):
10321         (lyx_advance):
10322         * kbmap.C (bind):
10323         * buffer.C (insertStringAsLines):
10324         (asciiParagraph): fix types to be large enough
10325
10326         * lyxlex_pimpl.h: change member status from short to int
10327
10328         * layout.h: fix type of endlabeltype
10329
10330         * kbmap.C (bind):
10331         * kbsequence.C (parse): change return type to string::size_type
10332
10333         * LaTeX.C (updateBibtexDependencies): comment out unneeded
10334         variable
10335
10336         * Bullet.C (bulletSize):
10337         (bulletEntry): do not use short ints as parameters
10338
10339         * BufferView2.C (insertLyXFile): change a char to an int.
10340
10341         * WorkArea.C (WorkArea): remove unneeded floats in computation
10342
10343 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
10344
10345         * buffer.C (asciiParagraph): Treat '\\' as other chars.
10346
10347         * paragraph.C (asString): Do not ignore newline/hfill chars when
10348         copying to the clipboard.
10349
10350 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
10351
10352         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
10353         after a multi-line inset.
10354
10355 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
10356
10357         * paragraph.C (validate): Set NeedLyXFootnoteCode
10358
10359 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10360
10361         * lyxfont.C (LyXSizeNames): changed increase-error to increase
10362         and decrease-error to decrease.
10363
10364 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10365
10366         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
10367         it more readable (should be equivalent)
10368
10369 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
10370
10371         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
10372
10373 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10374
10375         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
10376         of a cursor (row, etc.) after a character has been deleted
10377         (deleteEmptyParagraphMechanism): call the method above on _all_
10378         cursors held by the LyXText when a double space has been
10379         detected/deleted.
10380
10381 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
10382
10383         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
10384         pixmap.
10385         (resizeCurrentBuff): remove code to destroy the old splash dialog.
10386
10387         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
10388         background. Use greyOut() and the new show() methods to toggle between
10389         the foreground and background. Add code to remove the splash after
10390         its initial showing.
10391
10392         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
10393         (create_forms): no longer call Dialogs::showSplash.
10394
10395 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10396
10397         * .cvsignore: add version_info.h
10398
10399 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10400
10401         * version_info.h.in: new file
10402
10403         * Makefile.am: add version_info.h.in
10404
10405         * lyx_main.C (commandLineVersionInfo): use version_info defined in
10406         version_info.h instead of VERSION_INFO
10407
10408 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
10409
10410         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
10411         The ERT inset now returns string().
10412
10413 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
10414
10415         * lyxtext.h, text.C (selectNextWord): renamed as
10416         selectNextWordToSpellcheck.
10417
10418         * text.C (selectNextWordToSpellcheck): Modified to not select
10419         words inside an ERT inset.
10420
10421 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10422
10423         * lyx_cb.C (MenuLayoutSave): change a bit the question
10424
10425         * sp_base.h: include <sys/types.h>
10426
10427 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
10428
10429         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
10430
10431 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
10432
10433         * several files: fix typos in user-visible strings
10434
10435 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10436
10437         * text2.C (pasteSelection): do not set the selection, since it
10438         will be cleared later. Actually, the intent was to fix the way the
10439         selection was set, but I figured rmoving the code was just as good.
10440
10441 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
10442
10443         * FontLoader.C (available): Check if font is available without
10444         loading the font.
10445
10446 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
10447
10448         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
10449
10450 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
10451
10452         * lyxrc.[Ch]: added display_graphics variable and associated code.
10453
10454 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10455
10456         * bufferparams.C (hasClassDefaults): new method. Returns true if
10457         the buffer parameters correspond to known class defaults
10458
10459 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
10460
10461         * XFormsView.C (show): set minimum size to the main window.
10462
10463 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10464
10465         * text2.C (copySelection):
10466         (cutSelection):
10467         * lyxfind.C (LyXReplace):
10468         * BufferView_pimpl.C (Dispatch): pass the correct flag to
10469         LyXText::selectionAsString.
10470
10471         * paragraph.C (asString): add "label" argument to the second form
10472
10473         * text2.C (selectionAsString): add "label" argument and pass it to
10474         Paragraph::asString.
10475
10476 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10477
10478         * lyx_main.C (commandLineHelp): remove version information
10479
10480 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
10481
10482         * lyx_main.C: add -version commandline option
10483
10484 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10485
10486         * paragraph.h: make the optional constructor arg required instead.
10487         some modifications to other files because of this.
10488
10489         * minibuffer.C (C_MiniBuffer_peek_event): make it static
10490
10491         * lyxserver.C (C_LyXComm_callback): make it static
10492
10493         * lyx_main.C (error_handler): make it static
10494
10495         * lyx_gui.C (LyX_XErrHandler): make it static
10496
10497         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
10498
10499         * WorkArea.C: make the extern "C" methods static.
10500
10501         * Makefile.am (lyx_LDADD): simplify
10502
10503 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10504
10505         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
10506         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
10507
10508         * LyXAction.C (init):
10509         * lyxfunc.C (dispatch): associated code removal.
10510
10511 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10512
10513         * lyxfont.h (isSymbolFont): shut off warning
10514
10515         * text.C (setHeightOfRow):
10516         (getVisibleRow): fix crash with empty paragraphs which have a
10517         bottom line
10518
10519 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
10520
10521         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
10522         code.
10523
10524 2001-09-04  José Matos  <jamatos@fep.up.pt>
10525         * buffer.C
10526         * buffer.h
10527         * tabular.C (docbook): rename docBook method to docbook.
10528
10529 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10530
10531         * Makefile.am: add dependencies to main.o.
10532
10533 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10534
10535         * FontLoader.C (available): Return false if !lyxrc.use_gui
10536
10537 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10538
10539         * FontInfo.C (query):
10540         * converter.C (view):
10541         * importer.C (Import):
10542         * exporter.C (Export): Can not -> cannot.
10543
10544 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10545
10546         * BufferView_pimpl.C: allow to create index inset even if
10547           string is empty
10548
10549 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10550
10551         * buffer.C (getLists): replace boost::tie code with an explicit pair
10552         as boost::tie can break some compilers.
10553
10554         * iterators.h: Added a std:: declaration to the return type of
10555         ParIterator::size.
10556
10557 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10558
10559         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10560           case.
10561
10562 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10563
10564         * iterators.[Ch]: New files. Provide paragraph iterators.
10565
10566         * buffer.C (changeLanguage): Use paragraph iterators.
10567         (isMultiLingual): ditto
10568
10569         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10570
10571 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10572
10573         * FontLoader.C: Support for cmr font.
10574
10575 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10576
10577         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10578         (available): New method.
10579
10580         * FontInfo.C (getFontname): Use scalable fonts even when
10581         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10582         found.
10583
10584 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10585
10586         * converter.C (Formats::view): reverted! Incorrect fix.
10587
10588 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10589
10590         * converter.C (Formats::view): only output the -paper option
10591         if the dvi viewer is xdvi, thereby fixing bug #233429.
10592
10593 2001-08-23  Herbert Voss  <voss@perce>
10594
10595         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10596
10597 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10598
10599         * Spacing.h (Spacing): Set space to Default on in the default
10600         constructor.
10601
10602 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10603
10604         * vc-backend.h (RCS::versionString): add RCS to version
10605         (CVS::versionString): add CVS to version
10606
10607         * vc-backend.C (scanMaster): do not add CVS to version.
10608         (scanMaster): do not add RCS to version
10609
10610         * lyxvc.C (versionString): new method
10611
10612         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10613
10614 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10615
10616         * Spacing.C (set): initialize fval
10617
10618 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10619
10620         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10621         " or \.
10622
10623 2001-08-16  Juergen Vigna  <jug@sad.it>
10624
10625         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10626
10627 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * BufferView_pimpl.C:
10630         * figureForm.C:
10631         * lyxtext.h:
10632         * text2.C: setParagraph takes linespacing now
10633
10634 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10635
10636         * LyxAction.C: add internal LFUN_CITATION_INSERT
10637
10638         * LyXView.C: actually apply fix
10639
10640         * bufferlist.C: fix open non-existent file
10641
10642         * lyxfind.C: fix indentation
10643
10644         * lyxfunc.C: remove unneeded assert, fix typo
10645
10646 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10647
10648         * MenuBackend.C: use "Floatname List"
10649
10650 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10651
10652         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10653         when converting LaTeX layout to insetERT.
10654         Generate a non-collapsed float when reading old float
10655
10656 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10657
10658         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10659         ERT insets.
10660
10661 2001-08-13  Juergen Vigna  <jug@sad.it>
10662
10663         * text.C (fill): return 0 instead of 20 as this seems to be the more
10664         correct value.
10665
10666 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10667
10668         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10669         lyxrc.font_norm.
10670
10671 2001-08-13  Juergen Vigna  <jug@sad.it>
10672
10673         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10674         casesensitive off.
10675         (SearchBackward): comment out the unlocking of the inset_owner this
10676         should not be needed!
10677
10678 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10679
10680         * Many files: Remove inherit_language, and add latex_language
10681
10682         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10683         collapsible insets.
10684
10685 2001-08-10  Juergen Vigna  <jug@sad.it>
10686
10687         * text.C (prepareToPrint): fixed hfill-width in draw!
10688
10689         * BufferView2.C (selectLastWord): save the selection cursor as this
10690         now is cleared in the function LyXText::clearSelection!
10691
10692 2001-08-08  Juergen Vigna  <jug@sad.it>
10693
10694         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10695         BACKSPACE type functions.
10696
10697         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10698         is only cutted from the document but not put in the cut-buffer, where
10699         still the old stuff should be.
10700
10701         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10702
10703         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10704
10705         * tabular.C (SetWidthOfCell): fixed special case where the width
10706         was not updated!
10707         (LeftLine): handle '|' in align_special.
10708         (RightLine): ditto
10709         (LeftAlreadyDrawed): ditto
10710         (SetWidthOfCell): ditto
10711
10712 2001-08-07  Juergen Vigna  <jug@sad.it>
10713
10714         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10715
10716 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10717
10718         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10719         * lyxlex.[hC]: ditto
10720
10721 2001-08-06  Juergen Vigna  <jug@sad.it>
10722
10723         * text.C (getVisibleRow): fix up row clearing a bit.
10724
10725 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10726
10727         * minibuffer.C: make sure the X server sees the changes in the input.
10728
10729 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10730
10731         * paragraph.C (getFont): split into...
10732         (getLabelFont): this
10733         (getLayoutFont): and this
10734         * paragraph_pimpl.C (realizeFont): calling this
10735
10736         * text2.C (getFont): split into...
10737         (getLayoutFont): this
10738         (getLabelFont): and this
10739         (realizeFont): all three calling this
10740
10741         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10742         files where used.
10743
10744 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10745
10746         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10747
10748 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10749
10750         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10751         layouts from the Quote inset insertion.
10752
10753 2001-08-03  Juergen Vigna  <jug@sad.it>
10754
10755         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10756
10757         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10758         only if status not is already CHANGED_IN_DRAW (second level).
10759
10760         * text.C (draw): don't set the need_break_row when inside an
10761         InsetText LyXText.
10762
10763 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10764
10765         * buffer.C (parseSingleLyXformat2Token): handle more latex
10766         conversion cases.
10767
10768         * bufferview_funcs.[hC]: change function names to
10769         begin with small char, adjust other files.
10770
10771 2001-08-02  André Pönitz <poenitz@gmx.net>
10772
10773         * lyxfunc.C:
10774         BufferView_pimpl.C: remove broken special code for math-greek
10775
10776 2001-08-02  Juergen Vigna  <jug@sad.it>
10777
10778         * BufferView_pimpl.C (update): redone this function so that we
10779         update the text again if there was a CHANGE_IN_DRAW.
10780
10781         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10782         (drawFromTo): added a new internal bool which is used by draw() and
10783         redraw() function.
10784         (general): some cursor drawing problems fixed.
10785
10786 2001-08-01  Juergen Vigna  <jug@sad.it>
10787
10788         * lyxfind.C (LyXFind): fixed
10789         (SearchForward): ditto
10790         (SearchBackward): ditto
10791
10792         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10793         spurius drawing of the cursor in the main area.
10794
10795         * text2.C (status): small fix which could lead to a segfault!
10796         (clearSelection): remove unneeded BufferView param.
10797
10798 2001-08-01  André Pönitz <poenitz@gmx.net>
10799
10800         * lyxfunc.C: small change due to changed mathed interface
10801
10802 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10803
10804         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10805
10806 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10807
10808         * lyxfunc.c: fail gracefully if file doesn't exist
10809
10810         * LyXSendto.C:
10811         * buffer.C:
10812         * lyxfunc.C:
10813         * BufferView_pimpl.C: IsDirWriteable() proto changed
10814
10815         * LyXView.C: fix updateWindowTitle() to store the last title
10816
10817 2001-07-31  Juergen Vigna  <jug@sad.it>
10818
10819         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10820         the font (wrong since using of Paragraph::highestFontInRange).
10821
10822         * paragraph.C (highestFontInRange): added a default_size parameter.
10823
10824         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10825         (setHeightOfRow): reformat
10826
10827 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10828
10829         * converter.[hC] + affected files: move to (inital-char)lowercase
10830         function names.
10831
10832         * ParagraphParameters.C (ParagraphParameters): remove commented code
10833
10834         * PainterBase.[Ch]: remove commented code
10835
10836         * LaTeXFeatures.h: add "bool floats" for float.sty
10837
10838         * LaTeXFeatures.C (LaTeXFeatures): init floats
10839         (require): handle float
10840         (getPackages): do it with floats
10841
10842 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10843
10844         * BufferView_pimpl.C (Dispatch): improve handling of
10845         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10846
10847         * commandtags.h: #include lyxfont.h here temporarily to avoid
10848         keybinding bug.
10849
10850         * bufferlist.h: include LString.h here.
10851
10852 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10853
10854         * text2.C (getStringToIndex): new method.
10855
10856 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10857
10858         * *: Reduced header file dependencies all over.
10859
10860 2001-07-30  Baruch Even  <baruch@lyx.org>
10861
10862         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10863
10864 2001-07-29  Baruch Even  <baruch@lyx.org>
10865
10866         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10867
10868 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10869
10870         * ParameterStruct.h (endif): add a default constructor to make
10871         sure that all variables is initialized.
10872
10873         * ParagraphParameters.C (ParagraphParameters): adjust
10874
10875 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10876
10877         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10878         index; also, check that there is something to index, and that it
10879         does not span over several paragraphs.
10880         (doubleClick): use WHOLE_WORD_STRICT for double click.
10881
10882         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10883
10884         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10885         scheme.
10886
10887 2001-07-26  Baruch Even  <baruch@lyx.org>
10888
10889         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10890         an InsetFig figure, backwards compatible reading of old figure code.
10891
10892 2001-07-27  Juergen Vigna  <jug@sad.it>
10893
10894         * text2.C: font.realize function adaption.
10895
10896         * text.C (draw): add a warnings lyxerr text if needed.
10897
10898         * layout.C: font.realize function adaption.
10899
10900         * language.C: add inherit_language and implement it's handlings
10901
10902         * bufferview_funcs.C (StyleReset): remove language parameter from
10903         font creation (should be language_inherit now).
10904
10905         * bufferparams.C (writeFile): handle ignore_language.
10906
10907         * paragraph.C (getFontSettings): the language has to be resolved
10908         otherwise we have problems in LyXFont!
10909
10910         * lyxfont.C (lyxWriteChanges): added document_language parameter
10911         (update): removed unneeded language parameter
10912
10913         * paragraph.C (validate): fixed wrong output of color-package when
10914         using interface colors for certain fonts in certain environments,
10915         which should not seen as that on the final output.
10916
10917 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10918
10919         * BufferView_pimpl.C:
10920         * Thesaurus.h:
10921         * Thesaurus.C:
10922         * Makefile.am:
10923         * commandtags.h:
10924         * LyXAction.C: add thesaurus support
10925
10926         * lyxfind.h:
10927         * lyxfind.C: add "once" parameter, for thesaurus, to not
10928           move to the next match
10929
10930 2001-07-26  Juergen Vigna  <jug@sad.it>
10931
10932         * lyxfont.C (realize): honor ignore_language too!
10933         (resolved): ditto.
10934
10935         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10936
10937         * text.C (draw): one place more for ignore_language to not draw
10938         itself!
10939
10940 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10941
10942         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10943
10944 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10945
10946         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10947         the minipage conversion problem.
10948
10949 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10950
10951         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10952         insert an inset.
10953
10954 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10955
10956         * BufferView.h: don't forward declare WorkArea
10957
10958         * BufferView.C: don't include WorkArea.h
10959
10960 2001-07-25  André Pönitz <poenitz@gmx.net>
10961
10962         * commandtags.h:
10963         * LyXAction.C:
10964         * lyxfunc.C:  new LFUN 'math-space'
10965
10966         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10967
10968 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10969
10970         * text2.C (toggleInset): call open/close
10971
10972 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10973
10974         * lyxfunc.C (dispatch): add debug for the disabled case
10975
10976         * font.C (buttonText): make similar to rectText
10977
10978         * buffer.C (readInset): comment out parsing of insetlist and
10979         insttheorem
10980
10981         * PainterBase.C (rectText): small correction
10982
10983         * BufferView_pimpl.C: comment out insettheorem and insetlist
10984         * LyXAction.C: ditto
10985         * commandtags.h: ditto
10986
10987 2001-07-24  Juergen Vigna  <jug@sad.it>
10988
10989         * text.C (draw): honor the ignore_language.
10990
10991         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10992
10993 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10994
10995         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10996         char inset.
10997
10998 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10999
11000         * lyxtext.h: remove unused (and unimplemented) methods
11001
11002 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11003
11004         * text.C (getVisibleRow): honor background color
11005
11006         * PainterBase.h:
11007         * Painter.h: remove default color argument for fillRectangle
11008
11009         * text.C (backgroundColor): new method
11010
11011 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11012
11013         * text.C (getVisibleRow): adjust
11014
11015         * font.[Ch] (rectText): new method, metrics
11016         (buttonText): new method, metrics
11017
11018         * PainterBase.[hC]: make rectText and buttonText always draw and take
11019         fewer paramteres.
11020
11021 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11022
11023         * ToolbarDefaults.C (read):
11024         * MenuBackend.C (read): allow escaping in all strings
11025
11026         * BufferView_pimpl.C (insertAndEditInset): new method.
11027         (Dispatch): use insertAndEditInset whenever appropriate.
11028
11029         * BufferView_pimpl.C (insertNote): removed
11030
11031         * BufferView_pimpl.C (smartQuote): new method, moved from
11032         BufferView; if an insetquote cannot be inserted, insert a '"'
11033         character instead.
11034
11035         * BufferView2.C: remove insertCorrectQuote();
11036
11037         * lyxfunc.C (getStatus): Add support for all remaingin
11038         inset-insert lfuns.
11039
11040         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
11041
11042         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
11043         command (necessary to pass " as parameter of self-insert.
11044
11045         * text.C (selectWordWhenUnderCursor):
11046         (selectWord): add word_location parameter
11047         (selectWordWhenUnderCursor): same + remove special code for word
11048         boundary.
11049         (selectNextWord): use kind() to guess type of insetspecialchar,
11050         not latex().
11051
11052         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
11053         (insertErtContents): create ert insets as collapsed.
11054         (readInset): better compatibility code for Info inset.
11055
11056 2001-07-20  Juergen Vigna  <jug@sad.it>
11057
11058         * lyxfunc.C (dispatch): use always LyXFind now!
11059
11060         * text2.C (init): add a reinit flag so that the LyXText can be
11061         reinited instead of deleted and reallocated (used in InsetText).
11062
11063         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
11064
11065         * text.C: ditto
11066
11067         * text2.C: ditto
11068
11069 2001-07-18  Juergen Vigna  <jug@sad.it>
11070
11071         * text.C (selectNextWord): handle insets inside inset by calling
11072         always the bv->text functions so that we can go up the_locking_inset!
11073
11074         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
11075         in strange locations when inside an inset!
11076
11077         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
11078         handling to include insets.
11079
11080         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
11081
11082 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11083
11084         * LyXAction.C (init):
11085         * commandtags.h:
11086         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
11087         LIGATURE_BREAK, since the name is so stupid.
11088
11089 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11090
11091         * buffer.C (readInset): enable reading of new InsetNotes as well as old
11092         InsetInfos.
11093
11094         * FontLoader.C: remove FORMS_H_LOCATION cruft.
11095
11096         * sp_form.[Ch]: remove.
11097
11098         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
11099
11100         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
11101         InsetInfo.
11102
11103         * src/buffer.C (readInset): ditto.
11104
11105 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11106
11107         * BufferView_pimpl.C (specialChar): new method. Obsoletes
11108         menuSeparator(), endOfSentenceDot(), ldots() and
11109         hyphenationPoint(), which are therefore removed.
11110         (Dispatch): handle LFUN_HYPHENATION_BREAK.
11111
11112         * LyXAction.C (init):
11113         * commandtags.h: add LFUN_HYPHENATION_BREAK.
11114
11115         * paragraph.C (getWord): removed.
11116
11117         * BufferView_pimpl.C (Dispatch): use last word or selection for
11118         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
11119
11120         * lyx_main.C (queryUserLyXDir): do not ask before creating
11121         user_dir, except if it has been named explicitely.
11122
11123 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
11124
11125         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
11126         a document of zero size.
11127
11128 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
11129
11130         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
11131         approriately in the c-tor and in require().
11132         (getPackages): output the appropriate LaTeX for natbib support.
11133
11134         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
11135         variables "use_natbib" and "use_numerical_citations" when reading the
11136         LyX file.
11137         (readInset): read the various natbib cite commands.
11138         (validate): white-space change.
11139
11140         * bufferparams.[Ch]: new variables "bool use_natbib" and
11141         "bool use_numerical_citations".
11142         (writeFile): output them in the LyX file.
11143
11144 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
11145
11146         * lyxfunc.C (getStatus): add support for all the inset insertion
11147         commands.
11148
11149         * text2.C (insertInset):
11150         * paragraph.C (insetAllowed):
11151         * BufferView_pimpl.C (insertInset): update to take in account the
11152         renaming of insertInsetAllowed
11153
11154         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
11155
11156         * text2.C (getInset): new method. returns inset at cursor position.
11157
11158         * BufferView_pimpl.C (Dispatch): changes because of this.
11159
11160         * LyXAction.C (init): rename open-stuff to inset-toggle.
11161
11162         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
11163
11164         * text2.C (toggleInset): renamed from openStuff; use
11165         Inset::open().
11166
11167 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
11168
11169         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
11170
11171         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
11172
11173 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
11174
11175         * buffer.C (readLyXformat2): Add filename to the error dialog
11176
11177 2001-07-18  Juergen Vigna  <jug@sad.it>
11178
11179         * tabular.C (GetCellNumber): put an assert here instead of the check!
11180
11181 2001-07-17  Juergen Vigna  <jug@sad.it>
11182
11183         * BufferView_pimpl.C (toggleSelection): adapted too.
11184
11185         * text.C (selectNextWord): adapted for use with insets.
11186         (selectSelectedWord): ditto
11187
11188 2001-07-17  Juergen Vigna  <jug@sad.it>
11189
11190         * sp_spell.C (PSpell): fix initialitation order.
11191
11192 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11193
11194         * paragraph.C: spacing
11195
11196 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
11197
11198         * sp_spell.C: repair language selection for pspell
11199
11200 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11201
11202         * lyxfunc.h: change more methods to begin with lower char.
11203
11204 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
11205
11206         * buffer.C (parseSingleLyXformat2Token): Generate error insets
11207         for unknown layouts.
11208
11209 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
11210
11211         * buffer.C (readLyXformat2): Generate an error dialog if there are
11212         unknown layouts.
11213
11214 2001-07-16  Juergen Vigna  <jug@sad.it>
11215
11216         * sp_spell.C: always compile ISpell part.
11217
11218         * lyxrc.C: added use_pspell entry and it's handling.
11219
11220 2001-07-13  Juergen Vigna  <jug@sad.it>
11221
11222         * sp_spell.C: removed double includes.
11223
11224 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
11225
11226         Consistent use of Lsstream.h:
11227         * Lsstream.h: added using std::stringstream for consistencies sake.
11228
11229         * buffer.C: removed using std::stringstream
11230
11231         * lyxfont.C (stateText):
11232         * paragraph.C (asString):
11233         * text.C (selectNextWord, selectSelectedWord):
11234         * text2.C (setCounter):
11235         * vspace.C (asString, asLatexString):
11236         std::ostringstream -> ostringstream.
11237
11238 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11239
11240         * LyXAction.C: add LFUN_HELP_ABOUTLYX
11241         * commandtags.h: add LFUN_HELP_ABOUTLYX
11242         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
11243
11244 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
11245
11246         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
11247         cursorToggle()
11248         * lyx_gui_misc.C: remove spellchecker
11249         * lyxfunc.C: showSpellchecker
11250         * sp_base.h: added
11251         * sp_ispell.h: added
11252         * sp_pspell.h: added
11253         * sp_spell.C: added
11254         * sp_form.[Ch]: removed
11255         * spellchecker.[Ch]: removed
11256
11257 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
11258
11259         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
11260         is set.
11261         (simpleTeXSpecialChars): Simply print the input character without
11262         any special translation if pass_thru is set.
11263
11264         * layout.h: Added bool pass_thru to layout class for being able to
11265         implement pass through of a paragraph for Literate Programming.
11266
11267         * layout.C: add LT_PASS_THRU to LayoutTags enum.
11268         * layout.C (LyXLayout): set pass_thru to flase in constructor.
11269         * layout.C (Read): add "passthru" to list of layout tags and add
11270         code to set the pass_thru boolean when it is read.
11271
11272 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11273
11274         * trans_decl.h: remove allowed from KmodInfo
11275
11276         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
11277         remove allowed code
11278         (Load): adjust
11279
11280         * paragraph_pimpl.C (erase): use boost::prior
11281
11282         * Painter.C (text): use data() instead of c_str() when length is
11283         also provided.
11284         * WorkArea.C (putClipboard): ditto
11285         * font.h (width): ditto
11286
11287         * BufferView2.C: use it-> instead of (*it). for iterators
11288         * texrow.C: ditto
11289         * paragraph_pimpl.C: ditto
11290         * paragraph.C: ditto
11291         * minibuffer.C: ditto
11292         * language.C: ditto
11293         * kbmap.C: ditto
11294         * encoding.C: ditto
11295         * counters.C: ditto
11296         * converter.C: ditto
11297         * chset.C: ditto
11298         * Variables.C: ditto
11299         * TextCache.C: ditto
11300         * MenuBackend.C: ditto
11301         * LyXAction.C: ditto
11302         * LColor.C: ditto
11303         * FloatList.C: ditto
11304         * DepTable.C: ditto
11305         * ColorHandler.C (LyXColorHandler): ditto
11306
11307 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11308
11309         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
11310
11311         * text2.C (openStuff): reintroduce this method (which had been
11312         nuked in NEW_INSETS frenzy).
11313
11314         * lyxfunc.C (Dispatch): when an action has not been handled, use
11315         its name in the error message, not its number.
11316
11317         * paragraph.C (inInset): change method name to begin with lowercase.
11318
11319         * undo_funcs.C:
11320         * text2.C: updates because of this.
11321
11322 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11323
11324         * ToolbarDefaults.C (add): add spaces in error message
11325
11326 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11327
11328         * buffer.C (readLyXformat2): initialize the ert comp. variables.
11329         (readLyXformat2): rename return_par to first_par, use lyxlex's
11330         pushToken and remove the manual push handling.
11331         (parseSingleLyXformat2Token): add another ert comp. variable:
11332         in_tabular, rename return_par to first_par. handle newlines better
11333
11334 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11335
11336         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
11337
11338 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11339
11340         * text2.C (getParFromID): removed
11341
11342         * buffer.C (getParFromID): new method moved form lyxtext.
11343         * BufferView2.C (insertErrors): adjust
11344         (setCursorFromRow): adjust
11345         * BufferView_pimpl.C (restorePosition): adjust
11346         * lyxfunc.C (Dispatch): adjust
11347         * undo_funcs.C (textUndo): adjust
11348         (textRedo): adjust
11349         (textHandleUndo): adjust
11350         (textHandleUndo): adjust
11351
11352 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11353
11354         * buffer.C: up' the LYX_FORMAT
11355
11356         * lyxfont.h: turn NO_LATEX on as default
11357
11358         * buffer.C (insertErtContents): new methods of tex style compability.
11359         (parseSingleLyXformat2Token): use it several places.
11360         * tabular.C (OldFormatRead): and here
11361
11362 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11363
11364         * text2.C: remove some commented code.
11365         reindent file.
11366
11367         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
11368         * trans.C: changes because of the above.
11369
11370 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
11371
11372         * text2.C (setCounter): Fix counters bug with bibliography layout.
11373
11374 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11375
11376         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
11377         own member functions
11378         (simpleTeXSpecialChars): ditto
11379
11380 2001-07-06  Juergen Vigna  <jug@sad.it>
11381
11382         * a lot of files: changed the access to LyXText::status and the
11383         call of undo-functions.
11384
11385         * undo.[Ch]: added a inset_id to the undo informations.
11386
11387         * undo_funcs.[Ch]: added and moved here all undo functions.
11388
11389         * lyxtext.h: give the status enum a weight, made status_ a private
11390         variable and made accessor functions for it, removed the whole bunch
11391         of undo-functions as they are now in their own file, make some
11392         functions publically available. Added function ownerParagraph with
11393         int parameter.
11394
11395         * paragraph.[Ch]: added "bool same_ids" to the constructor,
11396         made InInset() a const function, added getParFromID() function.
11397
11398         * buffer.[Ch]: added const version for inset_iterator functions,
11399         added getInsetFromID() function.
11400
11401         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
11402         changed undo functions for new version.
11403
11404 2001-07-05  Juergen Vigna  <jug@sad.it>
11405
11406         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
11407         unknow mechanism does not call the proper constructor but only this
11408         one also if I request the other!?
11409
11410 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11411
11412         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
11413
11414         * text2.C (LyXText): use initialization lists.
11415
11416         * lyxtext.h (Selection): initialize set_ and mark_
11417         (init): remove method
11418
11419 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
11420
11421         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
11422
11423 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11424
11425         * screen.[Ch]: change method names to begin with lowercase
11426
11427         * BufferView_pimpl.C (updateScrollbar): simplify further and
11428         hopefully make it a bit faster.
11429
11430 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11431
11432         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
11433         calling directly xforms functions.
11434
11435         * Painter.C (Painter):
11436         * lyx_cb.C (MenuWrite):
11437         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
11438         fl_display.
11439
11440         * lyx_gui.C: remove bogus guiruntime extern declaration.
11441
11442 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11443
11444         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
11445         in NEW_INSETS
11446         (redoDrawingOfParagraph): ditto
11447         (redoParagraphs): ditto
11448         (cutSelection): don't create a object for CutAndPaste use the
11449         static method directly
11450         (pasteSelection): ditto
11451
11452         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
11453         LyXview (+ rename)
11454
11455 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11456
11457         * modifications to some other files because of this.
11458
11459         * Makefile.am (lyx_SOURCES): add XFormsView
11460
11461         * XFormsView.[Ch]: new files
11462
11463         * LyXView.[Ch]: make LyXView a base class for the gui handling for
11464         the main window. Move the gui dependent stuff to XFormsView
11465
11466 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11467
11468         * tabular.C (GetCellInset): update cur_cell also in the row/col
11469         version of this function.
11470
11471         * lyxfunc.C: no need to include figure_form.h here.
11472
11473         * FontLoader.h:
11474         * lyxfunc.h:
11475         * lyxscreen.h:
11476         * text2.C:
11477         * lyxvc.C: no need to include forms.h here.
11478
11479 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11480
11481         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
11482
11483         * lyxfunc.C (Dispatch):
11484         * Spacing.C (set):
11485         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
11486         constructor argument.
11487
11488 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11489
11490         * paragraph.C (Paragraph): dont't clear, and just set layout.
11491         (makeSameLayout): use params's copy contructor.
11492
11493         * ParagraphParameters.[Ch] (makeSame): delete method
11494
11495 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
11496
11497         * Variables.[Ch]: fix indentation, rename set to isSet
11498
11499 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11500
11501         * lyxfunc.C (Dispatch): fix typo
11502
11503 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11504
11505         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
11506         upper_bound.
11507
11508         * bufferlist.C: include assert.h for emergencyWrite().
11509
11510 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11511
11512         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
11513           give up at last (bug #425202) !
11514
11515 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
11516
11517         * lyx_gui_misc.C:
11518         * sp_form.h:
11519         * sp_form.C:
11520         * spellchecker.h:
11521         * spellchecker.C: strip spellchecker options and bring up
11522           preferences tab instead
11523
11524 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11525
11526         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11527         the istringstream constructor
11528
11529 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11530
11531         * paragraph.C (getLayout): fix return value
11532
11533         * paragraph.h: do not declare getLayout as inline.
11534
11535         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11536
11537 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11538
11539         * lyxcursor.h (operator<): new func
11540         (operator>): new func
11541         (operator>=): new func
11542         (operator<=): new func
11543
11544         * text.C (changeCase): use selection.start and selection.end
11545         (changeRegionCase): require from to be <= to. Require par to be a
11546         valid paragraph.
11547
11548         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11549
11550 2001-06-27  Juergen Vigna  <jug@sad.it>
11551
11552         * text.C (cursorLeftOneWord): changed to return the cursor and added
11553         overlay with BufferView * parameter which calls this one.
11554         (getWord): added
11555         (selectWord): use new getWord function.
11556         (changeCase): renamed from changeWordCase as and extended to work
11557         also on selections.
11558
11559         * lyxtext.h: added enum word_location
11560
11561         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11562         changeCase as this operates now also on selections.
11563
11564 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11565
11566         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11567
11568         * many files: send debug output to Debug::INFO instead of
11569         Debug::ANY.
11570
11571         * converter.C (View):
11572         (Convert):
11573         (Move): send debug output to Debug::FILES instead of console.
11574
11575 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11576
11577         * lyxfunc.C (getStatus): use func_status
11578
11579         * func_status.h: new header, describing the results of
11580         LyXFunc::getStatus;
11581
11582         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11583         LFUN_MATH_HALIGN.
11584
11585 2001-06-25  The LyX Project  <jug@sad.it>
11586
11587         * buffer.C (sgmlOpenTag):
11588         (sgmlCloseTag):
11589         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11590
11591 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11592
11593         * text2.C: remove some dead code
11594
11595         * tabular.C (GetCellInset): store the last cell checked (gotten)
11596
11597         * tabular.h: add the helper for the speedup
11598
11599         * lyxtext.h: remove some dead code
11600
11601 2001-06-26  The LyX Project  <Asger>
11602
11603         * paragraph.C: Change export to LaTeX of alignment to
11604         \begin{center} and family for better roundtrip work with reLyX.
11605
11606         * Tune the math drawing a bit.
11607
11608 2001-06-25  The LyX Project  <Asger>
11609
11610         * LColor.C (LColor): New color for math background. New color
11611         for buttons.
11612
11613 2001-06-25  The LyX Project  <jug@sad.it>
11614
11615         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11616
11617         * lyxfunc.C (Open):
11618         * bufferlist.C (newFile): do not restrict to files ending with
11619         .lyx
11620
11621         * BufferView_pimpl.C (MenuInsertLyXFile):
11622
11623 2001-06-24  The LyX Project  <jug@sad.it>
11624
11625         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11626         of compare_no_case
11627
11628 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11629
11630         * lyxtext.h: rename most methods to begin with a small char.
11631         Lots of changes because of this.
11632
11633         * paragraph.C (Paragraph): do not call fitToSize
11634         (erase): call Pimpl::erase
11635         (insertChar): call Pimpl::insertChar
11636         (insertInset): call Pipl::insertInset
11637         (breakParagraph): do not call fitToSize
11638         (breakParagraphConservative): do not call fitToSize
11639         (fitToSize): remove method
11640
11641         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11642
11643 2001-06-24  The LyX Project  <Asger>
11644
11645         * Fix Qt compilation^2
11646
11647 2001-06-24  The LyX Project  <jug@sad.it>
11648
11649         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11650         depthHook(getDepth()-1).
11651
11652         * paragraph.h:
11653         * ParagraphParameters.h:
11654         * ParameterStruct.h: change type of depth to unsigned int ==
11655         depth_type. Many adaptations to other files before of that.
11656
11657 2001-06-24  The LyX Project  <Asger>
11658
11659         * Fix Qt compilation.
11660
11661 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11662
11663         * paragraph.h: renamed several methods to begin with small letter.
11664         several changes to many parts of the code because of this.
11665
11666 2001-06-23  The LyX Project  <jug@sad.it>
11667
11668         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11669         rewritten to discard all double spaces when KeepEmpty is off
11670         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11671         to only handle newlines but not fiddle with spaces and friends.
11672
11673         * lyxfunc.C (MenuNew): when doing 'new from template', use
11674         template_path as default directory
11675
11676 2001-06-23  The LyX Project  <Asger>
11677
11678         * Clean-up of header file includes all over
11679         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11680
11681 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11682
11683         * paragraph.h: renamed from lyxparagraph.h
11684
11685 2001-06-23  Asger  <lyx@violet.home.sad.it>
11686
11687         * Buffer.h: Removed Buffer::resize
11688         * BufferList.h: Removed BufferList::resize
11689         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11690         the document lazily when we change the width, or the font settings.
11691
11692 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11693
11694         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11695
11696 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11697
11698         * buffer.h: remove out of date comment
11699
11700 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11701
11702         * lyxscreen.h:
11703         * screen.C: fix "theoretical" GC leak
11704
11705 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11706
11707         * LaTeX.C (scanAuxFile):
11708         (deplog): remove trailing \r when reading stream (useful under
11709         win32)
11710
11711 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11712
11713         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11714         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11715         and BufferView::theLockingInset(Inset*), so should use them and not
11716         access bv_->text->the_locking_inset directly.
11717
11718         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11719
11720 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11721
11722         * Makefile.am:
11723         * tex-defs.h: remove old unused file
11724
11725 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11726
11727         * BufferView_pimpl.C: fix typo, remove minibuffer message
11728           when buffer has loaded
11729
11730 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11731
11732         * lyxfunc.C (Dispatch): use stringstream
11733         (MenuNew): use stringstream
11734         (Open): use stringstream
11735
11736         * importer.C (Import): use stringstream
11737
11738         * bufferview_funcs.C (CurrentState): use stringstream
11739
11740         * LaTeX.C (run): use stringstream
11741
11742         * BufferView_pimpl.C (savePosition): use stringstream
11743         (restorePosition): use stringstream
11744         (MenuInsertLyXFile): use stringstream
11745
11746 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11747
11748         * BufferView.C:
11749         * Bullet.C:
11750         * ColorHandler.C:
11751         * FontInfo.C:
11752         * FontLoader.C:
11753         * LColor.C:
11754         * LaTeXFeatures.C:
11755         * Painter.C:
11756         * gettext.C:
11757         * lyx_gui_misc.C:
11758         * lyxserver.C:
11759         * vspace.C: removed // -*- C++ -*- as first line.
11760
11761         * lyxfind.h:
11762         * version.h: added // -*- C++ -*- as first line.
11763
11764 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11765
11766         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11767
11768         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11769         of string
11770
11771 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11772
11773         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11774         of floats.
11775
11776 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11777
11778         * gettext.C: include LString.h even when --disable-nls is on.
11779
11780 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11781
11782         * converter.h (Get): changed argument type from int to
11783         FormatList::size_type to avoid unnecessary conversion.
11784
11785         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11786         before using it.
11787
11788 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11789
11790         * gettext.h: include LString.h even when --disable-nls is on.
11791
11792 2001-06-07  Juergen Vigna  <jug@sad.it>
11793
11794         * text.C (BreakAgain): subst spaces with tabs.
11795
11796         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11797         (resizeInsetsLyXText): set force on resizeLyXText.
11798
11799 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11800
11801         * gettext.h (gettext_init):
11802         (locale_init): use a real definition instead of a macro
11803
11804 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11805
11806         * Bufferview_pimpl.C:
11807         * LColor.h:
11808         * LColor.C: further lcolor tidies
11809
11810 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11811
11812         * BufferView_pimpl.C (updateScrollbar): simplify.
11813
11814         * BufferView2.C: don't include insets/insetinfo.h, change
11815         prototype for insertInset and call the Pimpl version. let
11816         updateInset call Pimpl version.
11817
11818         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11819         gotoInset to BufferView::Pimpl
11820
11821 2001-06-01  Juergen Vigna  <jug@sad.it>
11822
11823         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11824         inside a LockingInset (is the update needed at all?).
11825
11826 2001-05-31  Juergen Vigna  <jug@sad.it>
11827
11828         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11829         here not the old one otherwise how should we compare it afterwards
11830         if it's the same!
11831
11832 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11833
11834         * lyxfont.C:
11835         * tabular.C:
11836         * tabular-old.C:
11837         * FontInfo.C: bring C functions into global namespace when
11838         necessary
11839
11840 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11841
11842         * LString.h: make sure config.h has been loaded before LString.h.
11843
11844         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11845         (one for each char read by EatLine!).
11846
11847         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11848         variables.
11849
11850 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11851
11852         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11853         to the same as the par we break from
11854
11855 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11856
11857         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11858
11859         * MenuBackend.C (expand): also create menu entries for wide
11860         versions of the floats.
11861
11862         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11863
11864         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11865
11866         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11867         frontends/Makefile.am
11868
11869         * text2.C: adjust
11870         * text.C: adjust
11871
11872
11873         * tabular.C (getTokenValue): add std::
11874
11875         * tabular-old.C (getTokenValue): add std::
11876         (getTokenValue): ditto
11877         (getTokenValue): ditto
11878
11879         * screen.C (ToggleSelection): adjust
11880
11881         * lyxtext.h: put selection cursors inside a Selection struct.
11882
11883         * lyxfunc.C (moveCursorUpdate): adjust
11884
11885         * lyxfont.C (latexWriteStartChanges): add std::
11886
11887         * lyxfind.C: adjust
11888
11889         * font.h: delete with(char const *, LyXFont const &)
11890
11891         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11892
11893         * FontInfo.C (getFontname): add std::
11894
11895         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11896         (workAreaButtonPress): adjust
11897         (tripleClick): adjust
11898         (update): adjust
11899         (moveCursorUpdate): adjust
11900         (Dispatch): adjust
11901
11902         * BufferView2.C (gotoInset): adjust
11903
11904 2001-05-30  Juergen Vigna  <jug@sad.it>
11905
11906         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11907         to check pspell I add this as default as I now have new pspell
11908         libraries and they seem to use this.
11909
11910 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11911
11912         * text2.C (CutSelection): make the cursor valid before the call to
11913         ClearSelection.
11914
11915 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11916
11917         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11918         relied on 0 terminated strings and other horrors. Bug found due to
11919         the new assert in lyxstring!
11920
11921         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11922         KP_ keys.
11923
11924 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11925
11926         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11927         to latinkeys.bind.
11928
11929         * lyxfunc.C (processKeySym): change method of getting to the
11930         self-insert char.
11931
11932         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11933         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11934         * BufferView_pimpl.[Ch]: here as private methods.
11935
11936 2001-05-28  Juergen Vigna  <jug@sad.it>
11937
11938         * text.C (SetHeightOfRow): added the update() call again as it is
11939         needed to initialize inset dimensions!
11940
11941 2001-05-16  Juergen Vigna  <jug@sad.it>
11942
11943         * text2.C (SetCharFont): Add new function with BufferView * and
11944         bool toggleall parameters for setting insets internal fonts.
11945         (SetFont): Freeze the undo as we may change fonts in Insets and
11946         all this change should be inside only one Undo!
11947
11948         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11949         setting font's in insets as for them we have the SetFont function!
11950
11951 2001-05-15  Juergen Vigna  <jug@sad.it>
11952
11953         * text2.C (ClearSelection): to be sure we REALLY don't have any
11954         selection anymore!
11955
11956         * tabular.C (TeXCellPreamble): fixed the left border problem for
11957         multicolumn cells.
11958
11959 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11960
11961         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11962         dependancy file
11963
11964 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11965
11966         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11967         LFUN_BREAKPARAGRAPH.
11968
11969         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11970         help test to "internal only", similar for LFUN_INSERT_URL
11971
11972         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11973         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11974         auto_region_delete and deadkeys.
11975
11976 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11977
11978         * LColor.h:
11979         * LColor.C: remove some dead entries, tidy a little
11980
11981 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11982
11983         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11984         commented code.
11985         (Dispatch): implement LFUN_ESCAPE
11986
11987         * commandtags.h: add LFUN_ESCAPE
11988
11989         * LyXAction.C (init): add entry for LFUN_ESCAPE
11990
11991         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11992         Remove commented code.
11993         (insertNote): moved here
11994         (open_new_inset): moved here
11995
11996         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11997         BufferView_pimpl
11998
11999 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12000
12001         * kbmap.C (findbinding): clean it up and make it work correctly.
12002
12003         * lyx_main.C (init): do not pass argc and argv as parameters
12004
12005 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
12006
12007         * buffer.C: fix path for OS/2 & Win32
12008
12009         * lyx_gui.C:
12010         * lyx_main:
12011         * lyx_main.C: Added os:: class.
12012
12013         * os2_defines.h: update
12014
12015 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12016
12017         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
12018         better by trying again with reduced state.
12019
12020 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12021
12022         * lyxrc.C (read): print error about invalid key sequence only when
12023         debugging (because not all latinX keysyms are known to some X
12024         servers)
12025
12026         * kbsequence.C (getiso): add a few std:: qualifiers
12027         (getiso): comment out extra return statement.
12028
12029 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12030
12031         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
12032         handling.
12033         (Dispatch): enhance the accent inset a bit. (not perfect)
12034
12035 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12036
12037         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
12038
12039 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12040
12041         * bufferlist.C (emergencyWrite): fix assert() call
12042
12043 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
12044
12045         * text.C (InsertChar): Added trivial patch to only send the "you
12046         can not do multiple spaces this way" message once during a
12047         session.
12048
12049 2001-05-08  Baruch Even  <baruch@lyx.org>
12050
12051         * Makefile.am: Changed order of libraries to get LyX to link properly
12052         with the gnome frontend.
12053
12054 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12055
12056         * LaTeXFeatures.h: add a std:: qualifier
12057
12058 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12059
12060         * paragraph.C (String): use stringstream
12061
12062 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12063
12064         * paragraph.C (writeFile): remove footflag arg
12065
12066         * buffer.C (makeLaTeXFile): use stringstream
12067         (latexParagraphs): remove footnot gurba
12068
12069         * LaTeXFeatures.C (getPackages): use stringstream
12070         (getMacros): likewise
12071         (getTClassPreamble): likewise
12072         (getFloatDefinitions): new method
12073
12074         * paragraph.C (writeFile): reindent
12075         (Erase): reindent
12076
12077         * WorkArea.h: revert the xpos + etc changes.
12078
12079         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
12080
12081         * lyxparagraph.[Ch]: add copy constructor, remove Clone
12082
12083         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
12084         (pasteSelection): likewise
12085         * text2.C (CreateUndo): likewise
12086
12087 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12088
12089         * minibuffer.C (peek_event): temporarily reduce the functionality
12090         of the minibuffer (to allow args on lfuns)
12091
12092         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
12093         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
12094
12095         * buffer.C (readInset): add compability reading of old float
12096         lists, add reading of new style float list.
12097         (readInset): avoid reevaluation of inscmd.getCmdName()
12098         (getLists): reindent
12099
12100         * MenuBackend.C (MenuItem): implement parsing of
12101         md_floatlistinsert and md_floatinsert.
12102         (expand::LastFiles): move initalizaton of iterators out of loop,
12103         avoid reevaluation.
12104         (expand::Documents): introduce typdedef vector<string> Strings,
12105         and use it.
12106         (expand::ExportFormats): introduce typedef vector<Format const *>
12107         Formats, and use it.
12108         (expand): implement FloatListInsert and FloatInsert.
12109
12110         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
12111         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
12112         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
12113
12114         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
12115         handling.
12116         (Dispatch::LFUN_FLOAT_LIST): implement
12117
12118 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
12119
12120         * LaTeX.C (run): Fix problem with --export code.
12121
12122 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12123
12124         * BufferView.[Ch] (workarea): removed.
12125         (getClipboard) new method; wrapper for workarea()->getClipboard()
12126
12127         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
12128         bug.
12129
12130         * WorkArea.h (width, height, xpos, ypos): These methods all
12131         returned the dimensions of the work_area sub-area of WorkArea,
12132         resulting in a position error if the WorkArea were resized. Now
12133         return the dimensions of the entire WorkArea.
12134
12135         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
12136
12137 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12138
12139         * LaTeX.C (deplog): correct the syntax of regex reg1
12140
12141 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12142
12143         * undo.C: remove !NEW_INSETS cruft
12144
12145 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12146
12147         * text2.C: remove !NEW_INSETS cruft
12148
12149         * text.C: remove !NEW_INSETS cruft
12150
12151         * tabular.C: remove !NEW_INSETS cruft
12152
12153         * spellchecker.C: remove !NEW_INSETS cruft
12154
12155         * lyxtext.h: remove !NEW_INSETS cruft
12156
12157         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
12158
12159         * lyxfunc.C: remove !NEW_INSETS cruft
12160
12161         * lyxfind.C: remove !NEW_INSETS cruft
12162
12163         * lyx_cb.C: remove !NEW_INSETS cruft
12164
12165         * figureForm.C: remove  !NEW_INSETS cruft
12166
12167         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
12168
12169         * buffer.[Ch]: remove !NEW_INSETS cruft
12170
12171         * ToolbarDefaults.C: remove !NEW_INSETS cruft
12172
12173         * CutAndPaste.C: remove !NEW_INSETS cruft
12174
12175         * BufferView_pimpl.C: remove !NEW_INSETS cruft
12176
12177         * BufferView2.C: remove !NEW_INSETS cruft
12178
12179         * BufferView.h: remove !NEW_INSETS cruft
12180
12181 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12182
12183         * Lsstream.h: include LString.h before the sstream headers to
12184         fix problem with gcc 2.95.3 and lyxstring
12185
12186 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12187
12188         * lyx_main.C: add using directives when needed for C functions
12189         declared in std:: namespace.
12190
12191 2001-04-27  Juergen Vigna  <jug@sad.it>
12192
12193         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
12194         (SetHeightOfRow): comment out the update call should not be needed!
12195
12196 2001-04-13  Juergen Vigna  <jug@sad.it>
12197
12198         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
12199         (LyXTabular): tried to minimize operator= operations (and realized
12200         hopfully Lars wish).
12201
12202 2001-04-27  Juergen Vigna  <jug@sad.it>
12203
12204         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
12205
12206 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12207
12208         * lyxfunc.C (Dispatch): hack to make listof algorithm work
12209
12210         * buffer.C (readInset): hack to make listof algorithm work
12211
12212         * BufferView_pimpl.C: hack to make listof algorithm work
12213
12214 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12215
12216         * LyXAction.C: removed all !NEW_INSETS cruft
12217         (init): moved lfun_item in method
12218
12219         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
12220
12221 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
12222
12223         * BufferView2.C (theLockingInset): white space.
12224
12225 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12226
12227         * minibuffer.C: include <iostream>
12228
12229         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
12230
12231         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
12232
12233         * commandtags.h: add LFUN_TRANSPOSE_CHARS
12234
12235         * text.[Ch] (TransposeChars): new method
12236
12237 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12238
12239         * call message directly through LyXView instead of through LyXFunc
12240         * BufferView2.C: adjust
12241         * BufferView_pimpl.C: adjust
12242         * FontLoader.C: adjust
12243         * buffer.C: adjust
12244         * bufferview_funcs.C: adjust
12245         * converter.C: adjust
12246         * figureForm.C: adjust
12247         * importer.C: adjust
12248         * lyx_cb.C: adjust
12249         * lyx_gui_misc.C: adjust
12250         * lyxfunc.C: adjust
12251         * lyxvc.C: adjust
12252         * text2.C: adjust
12253         + more files in subdirs
12254
12255         * lyxparagraph.h (size): move up int file
12256         (GetLayout): ditto
12257
12258         * adjust all uses of Assert to lyx::Assert.
12259
12260         * BufferView2.C (ChangeCitationsIfUnique): adjust for
12261         lyxfunctional in namespace lyx
12262         * layout.C (hasLayout): ditto
12263         (GetLayout): ditto
12264         (GetLayout): ditto
12265         (delete_layout): ditto
12266         (NumberOfClass): ditto
12267         * converter.C (GetFormat): ditto
12268         (GetNumber): ditto
12269         (Add): ditto
12270         (Delete): ditto
12271         (SetViewer): ditto
12272         * bufferlist.C (getFileNames): ditto
12273         (emergencyWriteAll): ditto
12274         (exists): ditto
12275         (getBuffer): ditto
12276         * MenuBackend.C (hasSubmenu): ditto
12277         (hasMenu): ditto
12278         (getMenu): ditto
12279         * BufferView_pimpl.C (getInsetByCode): ditto
12280
12281 2001-04-18  Juergen Vigna  <jug@sad.it>
12282
12283         * vspace.C (asLatexString): fixed the 100% problem.
12284
12285 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12286
12287         * lyxfunc.C (Dispatch):
12288         * minibuffer.C:
12289         * minibuffer.h: add a few std:: qualifiers
12290
12291 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12292
12293         * minibuffer.[Ch]: reimplement so that commands is initiated and
12294         run from lyxfunc, simplified som handling, and made the completion
12295         and history code for complete. wip.
12296
12297         * lyxfunc.C (processKeySym): call message
12298         (miniDispatch): new temporary method
12299         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
12300         (LFUN_MESSAGE): implement
12301         (LFUN_MESSAGE_PUSH): implement
12302         (LFUN_MESSAGE_POP): implement
12303         (initMiniBuffer): the initial/defualt minibuffer message.
12304
12305         * lyxfont.[Ch]: inline some more getters
12306
12307         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
12308
12309         * lyx_gui_misc.[Ch] (WriteStatus): remove method
12310
12311         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
12312         (AutoSave): use LFUN_MESSAGE
12313         (Reconfigure): ditto
12314
12315         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
12316
12317         * figureForm.C: use LFUN_MESSAGE
12318
12319         * converter.C (runLaTeX): use LFUN_MESSAGE
12320
12321         * bufferview_funcs.C: use LFUN_MESSAGE
12322         (Melt): ditto
12323         (changeDepth): ditto
12324
12325         * bufferparams.h: use boost::
12326
12327         * bufferlist.h: inherit privately from noncopyable
12328
12329         * bufferlist.C (loadLyXFile): remove some commented code.
12330
12331         * buffer.C (runChktex): use LFUN_MESSAGE
12332
12333         * ShareContainer.h: inherit privately from noncopyable
12334
12335         * ParagraphParameters.[hC] (depth): inline it.
12336
12337         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
12338         methods.
12339         (message): new method
12340         (messagePush): ditto
12341         (messagePop): ditto
12342         (show): init minibuffer
12343         (showState): direct call
12344
12345         * LaTeX.[Ch]: inherit privately from noncopyable
12346         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
12347         instead of WriteStatus.
12348
12349         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
12350
12351         * BufferView_pimpl.C (buffer): don't init minibuffer
12352         (workAreaButtonPress): use LFUN_MESSAGE
12353         (workAreaButtonRelease): ditto
12354         (savePosition): ditto
12355         (restorePosition): ditto
12356         (MenuInsertLyXFile): ditto
12357         (workAreaExpose): don't init minibuffer
12358         (update): remove commented code, simplify
12359
12360         * BufferView2.C (openStuff): use LFUN_MESSAGE
12361         (toggleFloat): ditto
12362         (menuUndo): ditto
12363         (menuRedo): ditto
12364         (copyEnvironment): ditto
12365         (pasteEnvironment): ditto
12366         (copy): ditto
12367         (cut): ditto
12368         (paste): ditto
12369         (gotoInset): ditto
12370         (updateInset): remove some commented code
12371
12372         * lastfiles.h: inherit privately from noncopyable
12373         * layout.h: ditto
12374         * lyx_gui.h: ditto
12375         * lyx_main.h: ditto
12376         * lyxlex.h: ditto
12377         * lyxlex_pimpl.h: ditto
12378
12379         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
12380         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
12381         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12382
12383         * LyXAction.h: inherit privately from noncopyable, add methods
12384         func_begin, func_end, returning iterators to the func map.
12385
12386         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
12387         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
12388         (func_begin): new method
12389         (func_end): new method
12390
12391         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
12392         and not)
12393         (copySelection): ditto
12394         (pasteSelection): ditto
12395
12396         * BufferView.C: whitespace change
12397         * BufferView.h: inherit privately from noncopyable
12398
12399 2001-04-16  Allan Rae  <rae@lyx.org>
12400
12401         * tabular-old.C (l_getline):
12402         * spellchecker.C (sc_check_word):
12403         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
12404         an unrecognised preprocessor directive.  So ensure they're wrapped.
12405
12406 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
12407
12408         * src/exporter.C (Export): Give an error message when path to file
12409         contains spaces.
12410
12411 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
12412
12413         * LaTeX.C (deplog): Always check that foundfile exists.
12414
12415 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12416
12417         * lyx_main.h:
12418         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
12419
12420 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12421
12422         * tabular.[Ch] (getLabelList): implement new method
12423
12424         * minibuffer.h: comment ouf setTiimer
12425
12426         * minibuffer.C (ExecutingCB): constify res
12427         (peek_event): constify s
12428         (Set): constify ntext
12429         (Init): constify nicename
12430
12431         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
12432
12433         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
12434         (savePosition): use two params to Minibuffer::Set
12435         (restorePosition): ditto
12436
12437 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12438
12439         * lyx_main.C: include language.h
12440
12441         * Makefile.am (lyx_main.o): add language.h
12442
12443 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12444
12445         * exporter.C:
12446         * paragraph.C:
12447         * screen.C:
12448         * tabular.C:
12449         * CutAndPaste.C: include gettext.h
12450
12451         * lyxfont.h: remove old hack with ON and OFF.
12452
12453         * lyxparagraph.h:
12454         * lyxfont.h: do not include language.h...
12455
12456         * BufferView2.C:
12457         * LaTeXFeatures.C:
12458         * Painter.C:
12459         * bufferview_funcs.C:
12460         * font.C:
12461         * lyxfont.C:
12462         * text.C:
12463         * text2.C:
12464         * trans_mgr.C:
12465         * paragraph.C: ... but do it here instead
12466
12467 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12468
12469         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
12470
12471         * tabular.C: small reformat
12472
12473         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
12474         NEW_INSETS version
12475         (GetChar): ditto
12476         (BreakParagraph): ditto
12477         (SetOnlyLayout): ditto
12478         (SetLayout): ditto
12479
12480         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
12481         with one arg less.
12482
12483         * lastfiles.C: removed most using decl, add std:: where needed
12484
12485         * buffer.C: ws changes
12486
12487         * MenuBackend.C (class compare_format): put into anon namespace
12488         (expand): constify label, names, action, action2
12489         (expand):
12490
12491         * text.C (SingleWidth): constify font
12492         (IsBoundary): constify rtl2
12493         (GetVisibleRow): constify ww
12494
12495         * LaTeX.C (deplog): constify logfile
12496
12497         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
12498         start_x, end_x
12499         (workAreaExpose): constify widthChange, heightChange
12500
12501         * lyxrow.C (par): moved
12502         (height): moved
12503         (next): moved
12504         * lyxrow.h: as inlines here
12505
12506         * lyxfont.h (shape): moved from lyxfont.C
12507         (emph): moved from lyxfont.C
12508
12509         * lyxfont.C (LyXFont): use initialization list for all
12510         constructors
12511         (shape): move to lyxfont.h as inline
12512         (emph): move to lyxfont.h as inline
12513
12514
12515 2001-04-04  Juergen Vigna  <jug@sad.it>
12516
12517         * vspace.C: had to include stdio.h for use of sscanf
12518
12519 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
12520
12521         * BufferView.h:
12522         * BufferView_pimpl.h: remove xforms cruft. Both classes are
12523         independent of xforms.
12524
12525 2001-04-02  Juergen Vigna  <jug@sad.it>
12526
12527         * spellchecker.C: fixed namespace placing!
12528
12529 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12530
12531         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12532         the LyXParagraph * is 0.
12533
12534 2001-03-29  Juergen Vigna  <jug@sad.it>
12535
12536         * vspace.C: added support for %, c%, p%, l%.
12537         (stringFromUnit): added helper function.
12538         (asLatexString): changed to give right results for the %-values.
12539
12540         * buffer.C: convert the widthp in a width%.
12541
12542 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12543
12544         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12545         figureForm.[Ch].
12546
12547         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12548         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12549
12550         * lyx_cb.[Ch]: see above.
12551
12552         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12553         form1.[Ch].
12554
12555         * form1.[Ch]:
12556         * lyx.[Ch]: replaced by figure_form.[Ch].
12557
12558         * lyx_gui.C:
12559         * lyx_gui_misc.C:
12560         * lyxfunc.C: changed headers associated with above changes.
12561
12562 2001-03-27  Juergen Vigna  <jug@sad.it>
12563
12564         * BufferView_pimpl.C: set the temporary cursor right!
12565
12566 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12567
12568         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12569
12570 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12571
12572         * LString.h: removed "using std::getline"!
12573
12574         * BufferView_pimpl.C (Dispatch): changes due to changes in
12575         InsetInclude::Params.
12576
12577         * buffer.C (tag_name): removed redundant break statements as they were
12578         producing lots of warnings with my compiler.
12579
12580 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12581
12582         * LString.h: add "using std::getline" when using the real <string>.
12583
12584 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12585
12586         * buffer.C: removed bitset usage.
12587         PAR_TAG moved to an anonymous name space.
12588         (tag_name): new funtion, also in the anonymous namespace.
12589         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12590         (makeDocBookFile): clean code. Completed transition from string arrays
12591         to string vectors.
12592         (SimpleDocBookOnePar): code clean.
12593
12594 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12595
12596         * tabular.C: add some comments.
12597
12598 2001-03-22  Juergen Vigna  <jug@sad.it>
12599
12600         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12601         compatibility read a bit and fixed bug with minipage in different
12602         depth.
12603
12604 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12605
12606         * buffer.C (pop_tag): removed.
12607         (push_tag): removed.
12608         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12609         array replaced with vector. Added support for CDATA sections.
12610         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12611         at any nest level.
12612         (makeDocBookFile): XML conformant declaration of CDATA section,
12613         fixed bug related to <emphasis> in the first paragraph char.
12614         (sgmlOpenTag): exclude empty tags.
12615         (sgmlCloseTag): ditto.
12616
12617         * buffer.h (pop_tag): removed.
12618         (push_tag): removed.
12619
12620 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12621
12622         * language.h (Languages): added size_type and size().
12623
12624 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12625
12626         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12627         response on compability reading of minipages. One probliem is that
12628         the old usage of minipages was «flertydig»
12629
12630         * several files here and in subdirs: don't use static at file
12631         scope use anon namespaces instead.
12632
12633 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12634
12635         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12636         LaTeX output. This is necessary for Literate document
12637         processing.
12638
12639 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12640
12641         * buffer.C: insert hfill when needed.
12642
12643         * tabular.C (l_getline): use string::erase, small whitespace change.
12644
12645         * BufferView_pimpl.C: try the anon namespace.
12646         * WorkArea.C: ditto
12647
12648 2001-03-16  Juergen Vigna  <jug@sad.it>
12649
12650         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12651         otherwise it won't open options-dialogs.
12652
12653         * buffer.C: honor pextraWidth(p) on converting minipages.
12654
12655         * tabular.C (l_getline): changed the functions to strip trailing \r.
12656
12657 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12658
12659         * BufferView_pimpl.C:
12660         * minibuffer..C: added "using SigC::slot" declaration.
12661
12662 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12663
12664         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12665
12666         * text2.C: ditto
12667
12668         * text.C: ditto
12669
12670         * paragraph.C: ditto
12671
12672         * lyxtext.h: NO_PEXTRA
12673
12674         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12675
12676         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12677         * ParameterStruct.h: ditto
12678         * ParagraphParameters.h: ditto
12679         * lyxparagraph.h: ditto
12680
12681 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12682
12683         * buffer.C: add compability for minipage alignment.
12684         (latexParagraphs): remove unwanted pextra check.
12685
12686         * several files: remove CXX_WORKING_NAMESPACES
12687
12688         * buffer.C (pop_tag): tie is in namespace boost
12689
12690         * BufferView.h: noncopyable is in namespace boost
12691         * lyxlex.h: ditto
12692         * lyx_main.h: ditto
12693         * lyx_gui.h: ditto
12694         * layout.h: ditto
12695         * lastfiles.h: ditto
12696         * bufferlist.h: ditto
12697         * ShareContainer.h: ditto
12698         * LyXView.h: ditto
12699         * LyXAction.h: ditto
12700         * LaTeX.h: ditto
12701
12702 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12703
12704         * Merging changes from BRANCH_MVC back into HEAD.
12705
12706         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12707
12708 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12709
12710         * BufferView_pimpl.C: change from intl.C
12711
12712         * combox.h:
12713         * combox.C:
12714         * Makefile.am: move combox.*
12715
12716         * form1.h:
12717         * form1.C:
12718         * lyx_gui.C:
12719         * intl.h:
12720         * intl.C: remove dialog (covered by prefs)
12721
12722 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12723
12724         * lyxfunc.C (Dispatch): removed redundant break statement.
12725
12726 2001-03-14  Juergen Vigna  <jug@sad.it>
12727
12728         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12729
12730 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12731
12732         * buffer.C: add hack to fix compability reading of minipages.
12733
12734 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12735
12736         * buffer.C (getLists): Cleanup.
12737
12738 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12739
12740         * lyxfont.C (update): don't honor toggleall on font size.
12741
12742 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12743
12744         * bmtable.c:
12745         * bmtable.h:
12746         * Makefile.am: moved to frontends/xforms/
12747
12748         * lyx_gui_misc.C:
12749         * lyxfunc.C:
12750         * BufferView_pimpl.C: changes for moved mathpanel
12751
12752 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12753
12754         * gettext.h: fix gettext_init() in --disable-nls
12755
12756 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12757
12758         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12759
12760 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12761
12762         * lyx.C:
12763         * lyx.h: strip external form
12764
12765 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12766
12767         * BufferView_pimpl.C: add comment, destroySplash()
12768
12769 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12770
12771         * BufferView_pimpl.C:
12772         * LyXAction.C:
12773         * buffer.C:
12774         * commandtags.h:
12775         * lyxfunc.C: use re-worked insetinclude
12776
12777 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12778
12779         * buffer.C: add using std::stringstream.
12780
12781         * lyx_cb.C: readd using std::ios.
12782
12783         * buffer.C: add using std::map.
12784
12785         * BufferView_pimpl.C: add using std::vector.
12786
12787         * ShareContainer.h: add std:: to swap.
12788
12789         * buffer.h: add some typedefs
12790         * buffer.C (getLists): use them
12791         (getLists): renamed from getTocList.
12792         add a counter for the different float types and use it in the
12793         generated string.
12794         (getLists): use the same counter for the NEW_INSETS and the "non"
12795         NEW_INSETS
12796
12797         * lyx_cb.h: remove unused items, includes, using etc.
12798
12799         * ShareContainer.h: remove some commented code, add more comments
12800         and "documentation".
12801
12802 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12803
12804         * buffer.C (getTocList): make the list also when NEW_INSETS is
12805         defined.
12806
12807         * buffer.h: remove TocType
12808
12809         * buffer.C (getTocList): change to return a map<string,
12810         vector<TocItem> >, implement for dynamic number of list.
12811
12812         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12813         * text2.C (PasteSelection): adjust
12814         * CutAndPaste.C (pasteSelection): adjust
12815
12816         * FloatList.C (FloatList): update from the new_insets branch.
12817         * Floating.[Ch]: ditto
12818         * LaTeXFeatures.C: ditto
12819         * buffer.C: ditto
12820         * lyxlex_pimpl.C: ditto
12821
12822         * paragraph.C (Last): remove when NEW_INSETS is defined.
12823
12824         * other file: changes because of the above.
12825
12826 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12827
12828         * lyxparagraph.h: rename next to next_, previous to previous_,
12829         make them private for NEW_INSETS. Rename Next() to next(),
12830         Previous() to previous().
12831
12832         * other files: changes because of the above.
12833
12834 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12835
12836         * BufferView.h:
12837         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12838         problem.
12839
12840 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12841
12842         * main.C (main): pass lyx_localedir to gettext_init().
12843
12844         * gettext.h: remove locale_init and gettext_init macros
12845
12846         * gettext.C (locale_init): new function
12847         (gettext_init): new function
12848
12849         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12850         setlocale().
12851
12852 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12853
12854         * Moved credits to frontends:
12855         * credits.[Ch]: removed
12856         * credits_form.[Ch]: removed
12857         * lyx_gui_misc.C: remove credits stuff
12858         * Makefile.am:
12859
12860 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12861
12862         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12863
12864         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12865         unneeded destructor.
12866
12867         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12868         a standalone pointer again.
12869
12870         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12871
12872 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12873
12874         * Makefile.am:
12875         * filedlg.h:
12876         * filedlg.C:
12877         * LyXAction.C:
12878         * ToolbarDefaults.C:
12879         * bufferlist.C:
12880         * commandtags.h:
12881         * form1.C:
12882         * form1.h:
12883         * lyx_cb.C:
12884         * lyx_cb.h:
12885         * lyxfunc.h:
12886         * lyxfunc.C:
12887         * BufferView_pimpl.C: use new file dialog in GUII
12888
12889         * lyx_cb.h:
12890         * lyx_cb.C: remove LayoutsCB to Toolbar
12891
12892 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12893
12894         * ShareContainer.h (get): add std:: qualifier
12895
12896 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12897
12898         * ShareContainer.h: define a proper ShareContainer::value_type
12899         type (and use typename to please compaq cxx)
12900
12901 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12902
12903         * lyxparagraph.h: move serveral local vars to
12904         ParameterStruct/ParagraphParameters., use ShareContainer in
12905         FontTable., make vars in FontTable private and add getter and
12906         setter.
12907
12908         * paragraph.C: changes because of the above.
12909
12910         * lyxfont.h: remove copy constructor and copy assignment. (the
12911         default ones is ok), move number inside FontBits. move inlines to
12912         lyxfont.C
12913
12914         * lyxfont.C: add number to initializaton of statics, move several
12915         inlines here. constify several local vars. some whitespace
12916         cleanup. Dont hide outerscope variables.
12917
12918         * Spacing.h: add two new constructors to match the set methods.
12919
12920         * ShareContainer.h: new file, will perhaps be moved to support
12921
12922         * ParameterStruct.h: new file
12923
12924         * ParagraphParameters.h: new file
12925
12926         * ParagraphParameters.C: new file
12927
12928         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12929         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12930
12931         * BufferView_pimpl.C: ParagraphParameter changes.
12932         * buffer.C: Likewise.
12933         * bufferview_funcs.C: Likewise.
12934         * text.C: Likewise.
12935         * text2.C: Likewise.
12936
12937 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12938
12939         * lyxfind.C (LyXReplace): do not redefine default argument in
12940         implementation.
12941         (IsStringInText): ditto
12942         (SearchForward): ditto
12943         (SearchBackward): ditto
12944
12945 2001-03-06  Juergen Vigna  <jug@sad.it>
12946
12947         * lyxfind.C (IsStringInText): put parentes around expressions.
12948
12949 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12950
12951         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12952
12953 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12954
12955         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12956
12957         * stl_string_fwd.h: add comment
12958
12959         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12960
12961         * tabular.h:
12962         * tabular.C: remove unused DocBook methods
12963
12964         * intl.C:
12965         * language.C:
12966         * paragraph.C:
12967         * buffer.C:
12968         killed DO_USE_DEFAULT_LANGUAGE
12969
12970 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12971
12972         * lyx_gui.C: do not include language.h.
12973
12974         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12975         arguments in function implementation.
12976
12977 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12978
12979         * BufferView_pimpl.C: add <ctime>
12980
12981 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12982
12983         * BufferView_pimpl.C: add using std::find_if
12984
12985 2001-02-27  José Matos  <jamatos@fep.up.pt>
12986
12987         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12988         by OnlyPath.
12989
12990 2001-02-11  José Matos  <jamatos@fep.up.pt>
12991
12992         * buffer.C (makeDocBookFile): command styles now have a parameter as
12993         "title" by default.
12994
12995 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12996
12997         * layout_forms.[Ch]: removed
12998         * lyx_cb.[Ch]: out character
12999         * lyx_gui.C: out character
13000         * lyx_gui_misc.C: out character
13001         * bufferview_funcs.C: : out character,
13002         added toggleall as parameter in ToggleAndShow
13003
13004 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
13005
13006         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
13007
13008         * text2.C (SetCurrentFont): Disable number property at boundary.
13009
13010 2001-02-26  Juergen Vigna  <jug@sad.it>
13011
13012         * lyxfunc.C (getStatus): added a string argument override function so
13013         that this is correctly called from LyXFunc::Dispatch if it contains a
13014         do_not_use_argument which is used!
13015         (Dispatch): added check for "custom" export and call appropriate func.
13016
13017 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
13018
13019         * lyxrc.C: Add language_command_local, language_use_babel and
13020         language_global_options.
13021
13022         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
13023
13024         * buffer.C (makeLaTeXFile): Use language_use_babel and
13025         language_global_options.
13026
13027 2001-02-23  Juergen Vigna  <jug@sad.it>
13028
13029         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
13030         which works with LyXText and putted it inside BufferView. Here now we
13031         only call for that part the BufferView::Dispatch() function.
13032
13033         * BufferView.C (Dispatch): added.
13034
13035         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
13036         functions which needs to use a LyXText over from LyXFunc.
13037         (MenuInsertLyXFile): added
13038         (getInsetByCode): added
13039         (moveCursorUpdate): added
13040         (static TEXT): added
13041
13042 2001-02-22  Juergen Vigna  <jug@sad.it>
13043
13044         * BufferView_pimpl.C (update): call a status update to see if LyXText
13045         needs it.
13046
13047 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
13048
13049         * vc-backend.C (revert): implement for CVS
13050         (getLog): implement for CVS
13051
13052 2001-02-20  Juergen Vigna  <jug@sad.it>
13053
13054         * text2.C (ClearSelection): added BufferView param for inset_owner call
13055
13056         * lyxfunc.C (TEXT): added this function and use it instead of
13057         directly owner->view()-text of getLyXText().
13058
13059 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
13060
13061         * src/layout_forms.C: out preamble
13062         * src/layout_forms.h: out preamble
13063         * src/lyx_cb.C: out preamble
13064         * src/lyx_cb.h: out preamble
13065         * src/lyx_gui.C: out preamble
13066         * src/lyx_gui_misc.C: out preamble
13067         * src/lyxfunc.C: connect with guii preamble
13068
13069 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
13070
13071         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
13072
13073 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
13074
13075         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
13076         whether to run bibtex.
13077
13078 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
13079
13080         * Makefile.am (lyx_SOURCES): Remove BackStack.h
13081
13082 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13083
13084         * Makefile.am (lyx_SOURCES): removed bibforms.h
13085
13086         * vspace.h: doxygen
13087
13088         * text.C (GetVisibleRow): make several local vars const
13089
13090         * tabular.C: small cleanup.
13091
13092         * lyxserver.C (callback): use compare instead of strncmp
13093
13094         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
13095         inlines to after class or to paragraph.C
13096
13097         * lyxfont.h: remove friend operator!=
13098
13099         * converter.h: move friend bool operator< to non friend and after
13100         class def.
13101
13102         * combox.h: small cleanup
13103
13104         * buffer.h: doxygen, remove unused constructor, move inclas inlies
13105         to inlines after class def.
13106
13107         * buffer.C (pop_tag): use string operations instead of strcmp
13108
13109         * bmtable.c: doxygen, small cleanup
13110
13111         * LaTeX.h: remove friend operator==
13112
13113 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
13114
13115         * screen.C:
13116         * lyxrc.[Ch]:
13117         * lyxfunc.C:
13118         * lyxfont.[Ch]:
13119         * lyx_cb.C:
13120         * intl.[Ch]:
13121         * commandtags.h:
13122         * buffer.C:
13123         * WorkArea.[Ch]:
13124         * LyXAction.C:
13125         * BufferView_pimpl.C:
13126         * BufferView.[Ch]: remove cruft
13127
13128 2001-02-14  Juergen Vigna  <jug@sad.it>
13129
13130         * lyxfunc.C: removed #if 0 unused code
13131
13132         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
13133
13134         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
13135
13136         * text2.C (SetSelection): added a BufferView * parameter
13137
13138 2001-02-13  Juergen Vigna  <jug@sad.it>
13139
13140         * lyxfunc.C (Dispatch): fixed protected blank problem.
13141         * BufferView2.C (protectedBlank): added LyxText * parameter.
13142
13143         * tabular.C (AppendRow): forgot to set row_info of newly added row.
13144         (AppendColumn): same as above for column_info.
13145
13146         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
13147         (moveCursorUpdate): use a LyXText param for support of InsetText.
13148
13149         * BufferView_pimpl.C (doubleClick): added support for InsetText.
13150         (tripleClick): ditto
13151
13152         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
13153
13154         * BufferView_pimpl.C (update): added LyXText param to honor insets.
13155
13156         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
13157
13158         * text2.C (SetSelection): set correct update status if inset_owner
13159         (ToggleFree): ditto
13160
13161 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
13162
13163         * tabular.C: remove some commented code.
13164
13165 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
13166
13167         * BufferView_pimpl.C: call hideSplash()
13168
13169         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
13170
13171         * include_form.h:
13172         * bibforms.h: remove
13173
13174         * lyxfunc.C:
13175         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
13176           add LFUN_CHILD_CREATE
13177
13178         * counters.h: fix tiny typo
13179
13180         * lyx_cb.C:
13181         * lyx.h:
13182         * lyx_gui.C:
13183         * lyx.C: move splash to frontends/xforms/
13184
13185         * lyx_gui_misc.C: move Include and Bibform to frontends
13186
13187         * lyxvc.h: clarify comment
13188
13189         * vspace.C: tiny housekeeping
13190
13191 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
13192
13193         * text.C (PrepareToPrint): RTL Fix.
13194
13195         * paragraph.C (GetUChar): New method.
13196         (String):  Use GetUChar.
13197
13198         * buffer.C (asciiParagraph): Use GetUChar.
13199
13200 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
13201
13202         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
13203
13204 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
13205
13206         * buffer.h:
13207         * buffer.C: rename to getLogName(), handle
13208           build log / latex log nicely
13209
13210 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13211
13212         * MenuBackend.C:
13213         * MenuBackend.h: remove support for reference menuitem type.
13214
13215 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
13216
13217         * BufferView_pimpl.C: housekeeping
13218         * BufferView_pimpl.h:
13219         * LyXView.h:
13220         * Makefile.am:
13221         * Timeout.C:
13222         * Timeout.h:
13223         * minibuffer.h: move Timeout GUI-I
13224
13225 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
13226
13227         * lyxrc.C (read): Update converters data-structures.
13228
13229 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
13230
13231         * LaTeX.h (operator!=): add operator != for Aux_Info
13232
13233 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
13234
13235         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
13236
13237         * LaTeXLog.C: deleted, useful code moved to Buffer
13238
13239         * buffer.h:
13240         * buffer.C: new function getLatexLogName()
13241
13242         * lyx_gui_misc.C:
13243         * lyx_gui.C:
13244         * lyxvc.C:
13245         * lyxvc.h:
13246         * lyxfunc.C: use frontends for LaTeX and VC logs
13247
13248 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13249
13250         * LaTeX.h: yet another std:: that Allan forgot.
13251
13252         * Variables.C (set): renamed from isset(), because this clashes
13253         with some HP-UX macros (grr).
13254
13255 2001-02-06  Allan Rae  <rae@lyx.org>
13256
13257         * LaTeX.h: Another bug fix.  Missing std:: this time.
13258
13259 2001-02-04  Allan Rae  <rae@lyx.org>
13260
13261         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
13262         floats problem. I've left it commented out because it's not quite
13263         correct.  It should also test that the current object is a table or
13264         figure inset.  But I haven't gotten around to figuring out how to do
13265         that.  I *think* it'll be something like: "table" == inset.type()
13266
13267         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
13268         bool.
13269
13270 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
13271
13272         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
13273         all the citation/databases/styles in the auxilary file.
13274         (run): Rerun latex if there was a babel language error.
13275
13276 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
13277
13278         * text.C (Backspace): Preserve the font when changing newline char
13279         with a space.
13280         (BreakParagraph): If the cursor is before a space, delete the space.
13281
13282         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
13283
13284 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
13285
13286         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
13287         new argument (code).
13288         (ChangeCitationsIfUnique): New method.
13289
13290         * paragraph.C (GetPositionOfInset): Handle bibkey.
13291
13292 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13293
13294         * BufferView_pimpl.h: change type of Position::par_pos to
13295         LyXParagraph::size_type.
13296
13297 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
13298
13299         * BufferView_pimpl.C (savePosition, restorePosition): Write
13300         messages to minibuffer.
13301
13302 2001-01-28  José Matos  <jamatos@fep.up.pt>
13303
13304         * buffer.C (makeDocBookFile): adds support for document language.
13305         A silly restriction on the name of LatexCommand types where removed.
13306         Added support for CDATA sections, allows to chars unescaped, used
13307         among others in code, to avoid escape < and >.
13308
13309 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13310
13311         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
13312         saved positions instrad of a stack. Furthermore, a position is
13313         stored using paragraph id/paragraph position.
13314
13315         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
13316         Remove LFUN_REF_BACK.
13317
13318 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
13319
13320         * converter.C (dvipdfm_options): New method.
13321
13322 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13323
13324         * vspace.C (isValidLength): Fix for empty input string.
13325
13326 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13327
13328         * LyXAction.C (init): change description of LFUN_FIGURE to
13329         "Insert Graphics"
13330
13331 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13332
13333         * LaTeX.C: add using directive
13334
13335 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13336
13337         * MenuBackend.C (expand): Fix the sorting of the formats.
13338
13339 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
13340
13341         * lyx_main.C: tiny error message fix
13342
13343 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13344
13345         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
13346         calling fl_initialize(). This fixes the problem with ',' as
13347         decimal separator in text files.
13348
13349 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
13350
13351         * trans.C (process): Fix the keymap bug.
13352
13353 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
13354
13355         * LaTeX.C (scanAuxFiles): New method. Provides support for
13356         multiple bibliographies (when using the bibtopic/bibunits pacakges).
13357         (scanLogFile) Scan for "run BibTeX" messages.
13358
13359         * buffer.C (makeLaTeXFile): Do not load the ae package when using
13360         OT1 font encoding. Also, load the aecompl package if the ae
13361         package is loaded.
13362
13363         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
13364
13365 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13366
13367         * texrow.C (increasePos): turn two error messages into debug
13368         messages.
13369
13370 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
13371
13372         * LaTeX.C (scanAux): Handle the \@input macro.
13373         (runBibTeX): Use scanAux().
13374
13375         * language.C (latex_options_): New field.
13376
13377         * LaTeXFeatures.C (getMacros): Add language macros.
13378
13379         * buffer.C (makeLaTeXFile): Small fix.
13380
13381 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13382
13383         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
13384
13385         * text2.C: add a using directive.
13386
13387 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
13388
13389         * BufferView2.C:
13390         * lyx_gui_misc.h:
13391         * lyxfr1.C:
13392         * lyxfunc.C: kill LyXBell.
13393
13394 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
13395
13396         * text.C (IsBoundary): Remove the error message
13397
13398         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
13399
13400         * lyxrc.C (setDefaults): Correct initialization value for
13401         font_norm_type.
13402
13403 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
13404
13405         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
13406         gotoError().
13407
13408         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
13409         and GotoNextNote().
13410
13411         * src/LyXAction.C: Added reference-next.
13412
13413         * text.C (InsertChar): Use contains instead of strchr.
13414
13415         * lyx_cb.C (MenuInsertLabel): Enable default value code.
13416
13417 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
13418
13419         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
13420         alignment commands (when needed).
13421
13422         * text.C (InsertChar): Add ':' to number separator chars.